Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: sky/engine/web/tests/data/push_state.html

Issue 1210153009: Remove (almost all of) //sky/engine/web (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/web/tests/data/print_with_xhr_inflight.html ('k') | sky/engine/web/tests/data/radient.gif » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/tests/data/push_state.html
diff --git a/sky/engine/web/tests/data/push_state.html b/sky/engine/web/tests/data/push_state.html
deleted file mode 100644
index 3e0e985172d712a3b299ea94d0fd6185fccaf2eb..0000000000000000000000000000000000000000
--- a/sky/engine/web/tests/data/push_state.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<body onload="sendXHR()">
-<script>
-// We need to test pushState after the load event has finished.
-// Do so on an XHR callback to ensure that it's after the load event,
-// but WebFrameTest has a pending task to wait for.
-function sendXHR() {
- var xhr = new XMLHttpRequest();
- xhr.onreadystatechange = function() {
- if (xhr.readyState == 4)
- history.pushState("test", "", "#1");
- }
- xhr.open("GET", "push_state.html", true);
- xhr.send();
-}
-</script>
-</body>
« no previous file with comments | « sky/engine/web/tests/data/print_with_xhr_inflight.html ('k') | sky/engine/web/tests/data/radient.gif » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698