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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/frame-ancestors/frame-ancestors-nested-cross-in-sandboxed-cross-url-block.html

Issue 2798353002: Un-skipped wpt frame-ancestors tests (Closed)
Patch Set: Rebase-update Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="../../resources/frame-ancestors-test.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <script src="support/frame-ancestors-test.sub.js"></script>
6 </head> 7 </head>
7 <body> 8 <body>
8 <script> 9 <script>
9 description("A 'frame-ancestors' CSP directive with a URL value should c ompare against each frame's origin rather than URL, " + 10 test = async_test("A 'frame-ancestors' CSP directive with a URL value sh ould compare against each frame's origin rather than URL, " +
10 "so a nested frame with a sandboxed parent frame should be b locked due to the parent having a unique origin."); 11 "so a nested frame with a sandboxed parent frame should be b locked due to the parent having a unique origin.");
11 12
12 testNestedSandboxedIFrame(SAMEORIGIN_ORIGIN + " " + CROSSORIGIN_ORIGIN, CROSS_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK); 13 testNestedSandboxedIFrame(SAMEORIGIN_ORIGIN + " " + CROSSORIGIN_ORIGIN, CROSS_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK);
13 </script> 14 </script>
14 </body> 15 </body>
15 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698