1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:18:12 +00:00

LibWeb: Return after firing the iframe load event for about:blank

This was a missing spec step. This prevents it navigating to
about:blank, which will blow away the document and thus any setup that
was done in the iframe load event.
This commit is contained in:
Luke Wilde 2022-11-05 15:11:59 +00:00 committed by Andreas Kling
parent a268026e4e
commit 72098d2699

View file

@ -164,6 +164,7 @@ void BrowsingContextContainer::shared_attribute_processing_steps_for_iframe_and_
}
// 3. Return.
return;
}
// 5. Let resource be a new request whose URL is url and whose referrer policy is the current state of element's referrerpolicy content attribute.