Forráskód Böngészése

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.
Luke Wilde 2 éve
szülő
commit
72098d2699

+ 1 - 0
Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.cpp

@@ -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.