Bug 15288 - Layout test http/tests/navigation/javascriptlink-frames.html is timing dependent
Summary: Layout test http/tests/navigation/javascriptlink-frames.html is timing dependent
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2007-09-26 13:49 PDT by Matt Perry
Modified: 2007-09-27 09:29 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Perry 2007-09-26 13:49:14 PDT
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".