-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
removal/deprecationRemoving or deprecating a featureRemoving or deprecating a featuretopic: document lifecycletopic: events
Description
Is firing an "abort" event still a valid HTML specification?
According to 7.8.12 Aborting a document load, "the user agent should...fire an event named abort at that Document's Window object". I've been testing with this abort event detection page and cannot capture the "abort" event anywhere from any browser.
Detecting the "abort" event in Service Workers would also be extremely useful, as we could effectively manage our Streams, FetchEvents, etc, and react accordingly. For example, this Service Worker Progress Indicator has no way to detect when the user signaled an abort/cancel on the page load. Firefox effectively cancels the download (without firing an "abort" event that SW can intercept, but Chrome does not)
Metadata
Metadata
Assignees
Labels
removal/deprecationRemoving or deprecating a featureRemoving or deprecating a featuretopic: document lifecycletopic: events