ladybird/Userland/Libraries
Tobias Christiansen 1b6824d296 LibWeb: Make frames nesting-aware and disallow deep nesting
A Frame now knows about its nesting-level.

The FrameLoader checks whether the recursion level of the current
frame allows it to be displayed and if not doesn't even load the
requested resource.

The nesting-check is done on a per-URL-basis, so there can be many many
nested Frames as long as they have different URLs.
If there are however Frames with the same URL nested inside each other
we only allow this to happen 3 times.

This mitigates infinetely recursing <iframe>s in an HTML-document
crashing the browser with an OOM.
2021-05-07 22:34:34 +02:00
..
LibArchive Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibAudio Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
LibC LibC: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibChess Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
LibCompress Tests: Move LibCompress tests to Tests/LibCompress 2021-05-06 17:54:28 +02:00
LibCore LibCore: Remove Core::IODevice::printf() 2021-05-07 22:11:50 +02:00
LibCoreDump Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
LibCpp Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
LibCrypt LibC: Move crypt() and crypt_r() to the right header file 2021-05-01 12:40:12 +02:00
LibCrypto LibCrypto: Fix a mistake in appendff() conversion 2021-05-07 21:57:29 +02:00
LibDebug LibDebug: add DW_LNS_set_basic_block support 2021-05-03 09:01:14 +02:00
LibDesktop Userland: Add try_* IPC handlers 2021-05-03 21:14:40 +02:00
LibDiff LibDiff: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibDl Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibELF LibELF: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibGemini LibGemini: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibGfx LibGfx: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibGUI LibGUI: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibHTTP Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
LibImageDecoderClient Userland: Add try_* IPC handlers 2021-05-03 21:14:40 +02:00
LibIPC Userland: Add try_* IPC handlers 2021-05-03 21:14:40 +02:00
LibJS LibJS: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibKeyboard Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibLine LibLine: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibM LibM: Fix INFITITY to float 2021-04-27 23:06:16 +02:00
LibMarkdown LibMarkdown: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibPCIDB Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibProtocol Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
LibPthread LibPthread: Implement pthread_spinlock_t API. 2021-05-02 20:59:38 +02:00
LibRegex LibRegex: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibSQL Tests: Move LibSQL tests to Tests/LibSQL 2021-05-06 17:54:28 +02:00
LibSymbolClient Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
LibSyntax Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LibSystem Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LibTest LibTest: Add EXPECT_NE(..) test assertion. 2021-04-29 10:37:26 +02:00
LibTextCodec LibTextCodec: Implement a Windows-1251 decoder 2021-05-01 17:59:08 +02:00
LibThread LibThread: Fix int to pointer conversion 2021-04-27 23:06:16 +02:00
LibTLS Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
LibTTF AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
LibVT Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
LibWeb LibWeb: Make frames nesting-aware and disallow deep nesting 2021-05-07 22:34:34 +02:00
LibWebSocket Services: Add a WebSocket service 2021-04-25 19:04:34 +02:00
LibX86 LibX86: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
CMakeLists.txt LibC+LibELF: Implement more fully-features dlfcn functionality 2021-04-25 10:14:50 +02:00