1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

LibWeb: Implement more spec-compliant iframe/frame attribute processing

We're still missing the lazy loading attribute handling, and once we hit
the navigation step, we fall back to totally ad-hoc behavior instead of
going all the way with a Fetch Request.
This commit is contained in:
Andreas Kling 2022-09-19 13:34:36 +02:00
parent 0810e77d77
commit 03375a3dc9
4 changed files with 168 additions and 1 deletions

View file

@ -29,6 +29,12 @@ public:
protected:
BrowsingContextContainer(DOM::Document&, DOM::QualifiedName);
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#shared-attribute-processing-steps-for-iframe-and-frame-elements
void shared_attribute_processing_steps_for_iframe_and_frame(bool initial_insertion);
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#navigate-an-iframe-or-frame
void navigate_an_iframe_or_frame(Fetch::Infrastructure::Request);
void create_new_nested_browsing_context();
void discard_nested_browsing_context();