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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/dnd/resources/crossorigin.sub.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/editing/dnd/resources/crossorigin.sub.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/dnd/resources/crossorigin.sub.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/dnd/resources/crossorigin.sub.js
deleted file mode 100644
index d6aaa18ad76a540e019a5c6eb2b8a9868a785c51..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/editing/dnd/resources/crossorigin.sub.js
+++ /dev/null
@@ -1,13 +0,0 @@
-var httpHostMain = '{{domains[]}}'; //name of the server that this page must accessed over port 80
-var httpHostAlias = '{{domains[www]}}'; //another hostname (must be a subdomain so document.domain can be set to a higher domain) that accesses the same content, over HTTP
-var httpsHostAlias = httpHostAlias; //another hostname (can be same as httpHostAlias) that accesses the same content, over HTTPS port
-var httpPortAlias = {{ports[http][0]}}; //another port that accesses the same content on the current hostname, over HTTP
-//XXX HTTPS
-//var httpsPortAlias = ports[https][0]; //another port that accesses the same content on the httpsHostAlias, over HTTPS
-var httpsPortAlias = 8443;
-
-function crossOriginUrl(subdomain, relative_url) {
- var a = document.createElement("a");
- a.href = relative_url;
- return a.href.replace(location.href.replace("://", "://" + subdomain + "."));
-}

Powered by Google App Engine
This is Rietveld 408576698