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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm

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/browsers/history/the-location-interface/security_location_0.sub.htm
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm
deleted file mode 100644
index d4708c853c84d6eaa1599fba1881b89946ad44b3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Location interface Security</title>
- <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
- <link rel="help" href="https://html.spec.whatwg.org/multipage/#security-location" />
- <meta name="assert" content="access location object from different origins doesn't raise SECURITY_ERR exception" />
- <script src="../../../../../../resources/testharness.js"></script>
- <script src="../../../../../../resources/testharnessreport.js"></script>
- </head>
- <body>
- <p>Access location object from different origins doesn't raise SECURITY_ERR exception</p>
- <div id=log></div>
- <script>
- var runTest = async_test("Accessing location object from different origins doesn't raise SECURITY_ERR exception").step_func_done(function() {
- var frame = document.getElementById('testframe');
- frame.setAttribute('onload', '');
- frame.contentWindow.location = 'http://{{domains[www1]}}:{{ports[http][0]}}/'
- });
- </script>
- <iframe id='testframe' src="http://{{domains[www]}}:{{ports[http][0]}}/" onload="runTest()">Test Frame</iframe>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698