1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00
ladybird/Userland
Shannon Booth 30377e6e35 LibWeb: Do not spin the event loop on processing iframe attributes
Partially reverting a3149c1ce9

Spinning the event loop was causing a crash on:

https://wpt.live/url/percent-encoding.window.html

As it was turning what is meant to be a synchronous operation into an
asynchronous one.

The sequence demonstrated by the reproducing test is as follows:
  * A src attribute is changed for the iframe
  * process_the_iframe_attributes entered with valid content navigable
  * Event loop is spun, allowing the queued iframe removal to execute
  * process_the_iframe_attributes continues with null content navigable
  * 💥
2024-10-07 15:10:41 +02:00
..
Libraries LibWeb: Do not spin the event loop on processing iframe attributes 2024-10-07 15:10:41 +02:00
Services Revert "WebContent+WebDriver: Inform WebDriver when a window is closed" 2024-10-07 07:40:22 -04:00
Utilities headless-browser: Support running LibWeb tests concurrently 2024-10-06 19:24:25 +02:00