[Webkit-unassigned] [Bug 193512] New: <link> load/error event should fire before pending parsing-blocking script is "unblocked"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 16 15:16:57 PST 2019


            Bug ID: 193512
           Summary: <link> load/error event should fire before pending
                    parsing-blocking script is "unblocked"
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: domfarolino at gmail.com

As per the large https://github.com/whatwg/html/pull/4031, it is now well-specified that the load event should be fire before the Document's script-blocking style sheet counter [1] is decremented, and scripting is unblocked.

Currently Safari and Chrome fire load/error events sometime after the pending parsing-blocking script is run, which is confusing and now against the spec. Note: Firefox behaves correctly here. Also note: The task source for the <link> load/error events has changed from the DOM manipulation task source to the networking task source too.

WPTs for this are available at: https://github.com/web-platform-tests/wpt/pull/14899.


[1]: http://html.spec.whatwg.org/multipage/semantics.html#script-blocking-style-sheet-counter.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190116/d6ce3142/attachment.html>

More information about the webkit-unassigned mailing list