window.hashchange
events are unthrottled
#32118
Labels
C-untriaged
New issues that haven't been triaged yet
window.hashchange
events are unthrottled
#32118
Describe the bug:
It's possible to prevent Servo from shutting down cleanly by defining an infinite loop in javascript based on event listeners.
Example:
When executing this in Servo, the events are processed until attempting to exit, then there is a period where
notify_history_changed
errors are logged (with warnings on).Chromium doesn't appear to log anything when this file is opened.
Firefox presents a throttle warning, via rate limiting:
Servo example:
output.mp4
To Reproduce:
Copy the above code to a html file and execute it with Servo with LOG_LEVEL warn.
Platform:
OSX/Sonoma 13.4.1
WPT Test
As an aside, this technique is used in a WPT test,.
The text was updated successfully, but these errors were encountered: