1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland
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
..
Applets AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Applications Help: Add "Help" menu and move the about action there 2021-05-07 20:37:28 +01:00
Demos WidgetGallery: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
DevTools Profiler: Don't iterate all events when filtering timeline view 2021-05-07 15:35:23 +02:00
DynamicLoader DynamicLoader: Remove math functionality in favor of -lgcc 2021-05-07 15:35:50 +02:00
Games Chess+Help: Remove erroneous ampersand from app name 2021-05-07 20:37:28 +01:00
Libraries LibWeb: Make frames nesting-aware and disallow deep nesting 2021-05-07 22:34:34 +02:00
Services Services: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Shell Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Utilities Userland: Fix some weird syntax in find 2021-05-07 22:29:19 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00