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
commit 72098d2699
Notes: sideshowbarker 2024-07-17 04:42:20 +09:00

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.