diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js')
-rw-r--r-- | third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js index 1db48cd..a0ab4d8 100644 --- a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js +++ b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/document-location.js @@ -7,7 +7,8 @@ function start() { layoutTestController.dumpAsText(); layoutTestController.waitUntilDone(); - runTest(); + // Location changes need to happen outside the onload handler to generate history entries. + setTimeout(runTest, 0); } else { // loaded the ?1 navigation layoutTestController.notifyDone(); |