| Index: LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html
|
| diff --git a/LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html b/LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..32f2f28ff8d7c12ebd98397af99e285d72e99c6e
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html
|
| @@ -0,0 +1,24 @@
|
| +<html>
|
| +<head>
|
| +<script>
|
| +
|
| +// Attempts a hash navigation while "about:blank" is being committed
|
| +// to the frame. The hash navigation should be ignored.
|
| +function doIt() {
|
| + var VERY_SLOW_URL = "../xmlhttprequest/resources/endless.php?"
|
| + + window.randomNumber;
|
| + var xhr = new XMLHttpRequest();
|
| + xhr.open("GET", VERY_SLOW_URL, true);
|
| + xhr.onabort = function() {
|
| + window.location.hash = "hashnav";
|
| + };
|
| + xhr.send();
|
| + window.location = "about:blank";
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +<body onload="doIt()">
|
| +Thinking...
|
| +</body>
|
| +</html>
|
|
|