WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
296199
fast/events/onunload-not-on-body.html is a flakey text failure
https://bugs.webkit.org/show_bug.cgi?id=296199
Summary
fast/events/onunload-not-on-body.html is a flakey text failure
Bryan Medina
Reported
2025-07-18 11:39:34 PDT
fast/events/onunload-not-on-body.html is a flakey text failure observed on iOS. HISTORY:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fevents%2Fonunload-not-on-body.html
TEXT DIFF: --- /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/build/layout-test-results/fast/events/onunload-not-on-body-expected.txt +++ /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/build/layout-test-results/fast/events/onunload-not-on-body-actual.txt @@ -1,3 +1,3 @@ -frame "<!--frame3-->" - has 1 onunload handler(s) +frame "<!--frame4-->" - has 1 onunload handler(s) CONSOLE MESSAGE: Use of window.alert is not allowed while unloading a page. you should only see one unload alert appear. TEXT DIFF URL:
https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Debug-WK2-Tests/297545@main%20(1345)/fast/events/onunload-not-on-body-diff.txt
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-07-18 11:39:50 PDT
<
rdar://problem/156163033
>
Bryan Medina
Comment 2
2025-07-18 11:54:30 PDT
I was able to reproduce this text failure locally on my device using macOS Sequoia Release ToT with the following command: run-webkit-tests fast/events/onunload-not-on-body.html --ios-simulator --iterations=50
EWS
Comment 3
2025-07-18 12:00:50 PDT
Test gardening commit
297609@main
(4159c17922f9): <
https://commits.webkit.org/297609@main
> Reviewed commits have been landed. Closing PR #48258 and removing active labels.
Ryosuke Niwa
Comment 4
2026-03-09 16:17:54 PDT
***
Bug 307385
has been marked as a duplicate of this bug. ***
Ryosuke Niwa
Comment 5
2026-03-09 19:27:40 PDT
This is a race between <object> in the 2nd frame loading vs. 3rd outer iframe loading.
Ryosuke Niwa
Comment 6
2026-03-09 19:35:15 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/60241
EWS
Comment 7
2026-03-09 23:11:59 PDT
Committed
308959@main
(a0a371a941a6): <
https://commits.webkit.org/308959@main
> Reviewed commits have been landed. Closing PR #60241 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug