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

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

Issue 2446483002: Import wpt@c5a14f553cba5f197743b9af605a84eddd8692a2 (Closed)
Patch Set: Created 4 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/wpt/html/browsers/history/the-location-interface/security_location_0.sub.htm
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/security_location_0.sub.htm b/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/security_location_0.sub.htm
deleted file mode 100644
index f509c23b18c55bbd6f1a180d1dfc2f0706b2e38f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/security_location_0.sub.htm
+++ /dev/null
@@ -1,27 +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 src="/common/get-host-info.sub.js"></script>
- <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 = get_host_info().HTTP_REMOTE_ORIGIN + "/";
- });
- </script>
- <iframe id='testframe' onload="runTest()">Test Frame</iframe>
- <script>
- document.getElementById('testframe').setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + '/');
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698