Index: chrome/test/data/extensions/api_test/tabs/on_updated/internalAnchorNavigated/a.html |
diff --git a/chrome/test/data/extensions/api_test/tabs/on_updated/internalAnchorNavigated/a.html b/chrome/test/data/extensions/api_test/tabs/on_updated/internalAnchorNavigated/a.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ef2b1eff8380325e5a61133391de3cb43fc95db7 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/tabs/on_updated/internalAnchorNavigated/a.html |
@@ -0,0 +1,14 @@ |
+<h1>Internal Anchor</h1> |
+ |
+<a href="#b">b</a> |
+<div style="height: 1600px">---SPACE---</div> |
+<h2 id="b">B Content</h2> |
+ |
+<script> |
+window.onload = function() { |
+ // Navigate after the onload, so the 'complete' status will fire. |
+ setTimeout(function() { |
+ location.href = "#b"; |
+ }, 0); |
+} |
+</script> |