Bug 15288
Summary: | Layout test http/tests/navigation/javascriptlink-frames.html is timing dependent | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Perry <mpComplete> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | Keywords: | LayoutTestFailure |
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | All | ||
OS: | All |
Matt Perry
This test loads 2 different pages in subframes, one of which emulates a mouse-click to load another page in the onload handler. Then it dumps the back/forward list, expecting the mouse-click to have generated a new page.
The problem with this is that the 2nd subframe might not have finished loading by the time the 1st subframe's onload handler fires. If that happens, a back/forward entry is not created for the mouse-click because it's seen as occurring during a load.
To force this to happen, edit http/tests/navigation/resources/frameset.pl, and change the "footer" frame URL from "otherpage.html" to "slow-resource.pl".
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |