"Abort" Event Doesn't Fire on Window When Aborting Document Load
Reported by
ch...@anthum.com,
Mar 5 2018
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Steps to reproduce the problem: 1. Bind test function to window.onabort 2. Load a page that takes a few seconds to load (https://fetch-progress.anthum.com/test/abort-event.html) 3. call window.stop(), press ESC, or click browser stop button What is the expected behavior? An event named "abort" should fire on the Window document and possibly the underlying <img> tag that did not finish loading. According to HTML Living Standard "7.8.12 Aborting a document load", the abort event should fire: https://html.spec.whatwg.org/multipage/browsing-the-web.html#aborting-a-document-load What went wrong? The "abort" event is not fired on Window, Document, or the underlying <img> tag loading Did this work before? N/A Does this work in other browsers? N/A Chrome version: 64.0.3282.186 Channel: stable OS Version: OS X 10.11.6 Flash Version: I'm hoping to update the MDN documentation to inform users whether this is a bug or outdated specification: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onabort I also opened up an issue in whatwg/html GitHub: https://github.com/whatwg/html/issues/3525
,
Mar 6 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by ch...@anthum.com
, Mar 5 2018