[Webkit-unassigned] [Bug 39002] New: alert() in a beforeunload handler leaks into the dump for the following test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 12 09:58:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39002

           Summary: alert() in a beforeunload handler leaks into the dump
                    for the following test
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list