ladybird/Userland/Libraries/LibWeb/Page
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
..
EditEventHandler.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EditEventHandler.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventHandler.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventHandler.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Frame.cpp LibWeb: Make frames nesting-aware and disallow deep nesting 2021-05-07 22:34:34 +02:00
Frame.h LibWeb: Make frames nesting-aware and disallow deep nesting 2021-05-07 22:34:34 +02:00
Page.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00