Bug 260377

Summary: Async Script Execution Order should be fixed
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, annevk, cdumez, rniwa, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
URL: https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/defer-script/async-script-2.html

Description Karl Dubost 2023-08-17 21:55:21 PDT
See the result of 
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/defer-script/async-script-2.html
http://wpt.live/html/semantics/scripting-1/the-script-element/defer-script/async-script-2.html


Firefox, Chrome
Expected: ["Inline1", "Sync1", "Async1", "Sync2", "EndOfBody", "DOMContentLoaded"] 
Actual:   ["Inline1", "Sync1", "Async1", "Sync2", "EndOfBody", "DOMContentLoaded"]


Safari:
Expected: ["Inline1", "Sync1", "Async1", "Sync2", "EndOfBody", "DOMContentLoaded"] 
Actual:   ["Inline1", "Sync1", "Sync2", "EndOfBody", "DOMContentLoaded", "Async1"]
Comment 1 Radar WebKit Bug Importer 2023-08-17 21:55:30 PDT
<rdar://problem/114064973>