| OLD | NEW |
| 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> |
| OLD | NEW |