Bug 277948

Summary: WebKit can fire the load event before JS module starts executing
Product: WebKit Reporter: Rob Buis <rbuis>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: basuke, beidson, d, pgriffis, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Rob Buis
Reported 2024-08-12 05:17:05 PDT
I am not sure how often it happens, but for example the WPT test navigation-api/ordering-and-transition/anchor-download-intercept.html, and many more in that subdir, shows the problem where the load event has been fired before the JS module starts executing.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-19 05:18:14 PDT
Patrick Griffis
Comment 2 2024-10-18 11:23:26 PDT
To add context this was migrated from here: https://github.com/web-platform-tests/wpt/pull/47323 Where you can see various tests under `navigation-api/ordering-and-transition/` depend on this behavior.
Basuke Suzuki
Comment 3 2025-08-04 07:30:04 PDT
*** This bug has been marked as a duplicate of bug 296649 ***
Note You need to log in before you can comment on or make changes to this bug.