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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js

Issue 1392983004: update-w3c-deps import using blink ab93f8119a85211acb0f4846b3357889719f5250: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js
deleted file mode 100644
index bb5ee6dde03d009499cf513d44fceae408209364..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js
+++ /dev/null
@@ -1,35 +0,0 @@
-function parse_query() {
- var query = location.search.slice(1);
- var vars = query.split("&");
- var fields = {};
- vars.forEach(
- function (x) {
- var split = x.split("=");
- return fields[split[0]] = split.slice(1).join("=");
- });
- return fields;
-}
-
-var query_parts = parse_query();
-var id = "id" in query_parts ? parseInt(query_parts.id) : 1;
-var urls_to_load = query_parts.urls.split(",");
-
-document.write(id);
-
-onunload = function() {};
-
-function queue_next() {
- t = opener.t;
- setTimeout(t.step_func(
- function() {
-// opener.assert_equals(history.length, id);
- if (urls_to_load[0]) {
- var next_page = urls_to_load[0];
- (next_page.indexOf("?") > -1) ? (next_page += "&") : (next_page += "?");
- next_page += "urls=" + urls_to_load.slice(1).join(",");
- next_page += "&id=" + ++id;
- location = next_page;
- }
- }
- ), 100);
-}

Powered by Google App Engine
This is Rietveld 408576698