WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
39002
alert() in a beforeunload handler leaks into the dump for the following test
https://bugs.webkit.org/show_bug.cgi?id=39002
Summary
alert() in a beforeunload handler leaks into the dump for the following test
Brady Eidson
Reported
2010-05-12 09:58:17 PDT
alert() in a beforeunload handler leaks into the dump for the following test 1 - Have a test with a beforeunload handler that does an alert 2 - Have at least one test after that 3 - `run-webkit-tests` on the directory containing those tests The alert() in test #1 leaks into the dump for test #2, throwing off the results. Note that it is valid to want an alert in onbeforeunload because it doesn't actually mean the test is over. There are ways to guard the test with the alert from spilling into the next test, but the tool shouldn't allow it.
Attachments
Straight forward proof of concept.
(226 bytes, text/html)
2010-05-12 09:59 PDT
,
Brady Eidson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2010-05-12 09:59:34 PDT
Created
attachment 55863
[details]
Straight forward proof of concept. Straight forward proof of concept. Run this test with a test after it.
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