Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-xfo.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html |
similarity index 83% |
rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-xfo.html |
rename to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html |
index 2205b5a1900a8678d5e54fb4c904b3a38e839d0f..83654660331ffc8c75478d53ea55ed879ca27384 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-xfo.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html |
@@ -8,7 +8,7 @@ |
<script> |
async_test(function (t) { |
var i = document.createElement('iframe'); |
- i.src = "../../resources/frame-ancestors-and-x-frame-options.pl?policy='self'&xfo=DENY"; |
+ i.src = "support/frame-ancestors-and-x-frame-options.sub.html?policy='self'&xfo=DENY"; |
i.onload = t.step_func_done(function () { |
assert_equals(i.contentDocument.origin, document.origin, "The same-origin page loaded."); |
}); |
@@ -17,7 +17,7 @@ |
async_test(function (t) { |
var i = document.createElement('iframe'); |
- i.src = "../../resources/frame-ancestors-and-x-frame-options.pl?policy=other-origin.com&xfo=SAMEORIGIN"; |
+ i.src = "support/frame-ancestors-and-x-frame-options.sub.html?policy=other-origin.com&xfo=SAMEORIGIN"; |
i.onload = t.step_func_done(function () { |
assert_throws( |
"SecurityError", |