blob: 0749a79b09257612cbe676653eb7957998ff3a95 [file] [log] [blame]
<html>
<head>
<script>
var n = document.location.search.substring(1);
if (!n) {
// page just opened
testRunner.dumpBackForwardList();
testRunner.dumpAsText();
testRunner.waitUntilDone();
document.location = "?1"
} else {
// loaded the ?1 navigation
testRunner.notifyDone();
}
</script>
</head>
<body>
This tests that assigning to document.location from a script tag doesn't add a back/forward item.
</body>
</html>