Bug 219469
Summary: | window load events will be triggered multiple times when a site is loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | xiehaiyan_xhy |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | beidson, cdumez, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 14 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=219038 https://bugs.webkit.org/show_bug.cgi?id=15484 |
xiehaiyan_xhy
Repro:
On some websites such as msn news, fox news websites, window load events will be triggered multiple times.
This won't happen on Android webview or other browsers
sample website: https://www.foxnews.com/politics/trump-says-he-will-leave-office-electoral-college-votes-biden
Code
window.addEventListener("load", (event) => {
console.log("load event triggered");
});
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/72440629>