From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../Microsoft/sandbox/sandbox_021-manual.htm | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm (limited to 'testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm') diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm new file mode 100644 index 000000000..bbdc21f93 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm @@ -0,0 +1,44 @@ + + + + HTML5 Sandbox: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe. + + + + + + + +
Description: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe.
+
This test is to verify script is allowed inside nested iframes if any of the conditions below are true
+
1. both parent sandbox and child sandbox have 'allow-scripts' token.
+
2. parent sandbox has 'allow-scripts' token and nested child iframe has no sandbox attribute.
+
3. parent iframe has no sandbox attribute and child iframe has sandbox='allow-scripts' token.
+
4. both parent and child iframes have no sandbox attribute.
+
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if there is no red on the page.
+
+
+
+
Top-most iframe with sandbox="allow-scripts"
+ +
+
+
Top-most iframe without sandbox attribute
+ +
+
+ + + -- cgit v1.2.3