[Webkit-unassigned] [Bug 21576] New: Fix a race in fast/history/history_reload.html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 13 12:34:49 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21576
Summary: Fix a race in fast/history/history_reload.html
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pam at chromium.org
The fast/history/history_reload.html test has a potential race condition caused
by higher-resolution timers. I don't know exactly what threshold it takes to
expose the problem, but it's worth removing anyway.
Each time the subframe loads, the onclose handler calls
layoutTestController.notifyDone via setTimeout(0). If that gets fired before
the history.go() completes, the test appears to have failed.
One solution is to always use two passes in the test, and not complete until
the second one.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list