# HG changeset patch # User Ryo HIKOSAKA # Date 1392759215 -32400 # Wed Feb 19 06:33:35 2014 +0900 # Node ID ac8b0a19779d0889bbd667723013bd77fd445932 # Parent 7f1e136c7451881b5e3233f47d46b822b257d23b Part21: mochitests - iframe sandbox navigation diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if1.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if1.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if10.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if10.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if11.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if11.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,26 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + CLICK ME + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if12.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if12.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,16 @@ + + + + + Test for Bug 949435 + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if13.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if13.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,35 @@ + + + + + Test for Bug 949435 + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if14.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if14.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,35 @@ + + + + + Tests for Bug 949435 + + + + + + + + I am sandboxed but with "allow-scripts allow-same-origin allow-top-navigation". + + navigate window + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if15.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if15.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,14 @@ + + + + + Test for Bug 949435 + + + + + I am an unsandboxed iframe. + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if16.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if16.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,22 @@ + + + + + Test for Bug 949435 + + + + + + + + I am sandboxed with 'allow-same-origin allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if17.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if17.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,24 @@ + + + + + Test for Bug 949435 + + + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if18.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if18.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,33 @@ + + + + + Test for Bug 949435 + + + + + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if19.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if19.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,13 @@ + + + + + Test for Bug 949435 + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if2.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if2.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,28 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if20.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if20.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,25 @@ + + + + + Test for Bug 949435 + + + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if21.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if21.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,14 @@ + + + + + Test for Bug 949435 + + + + + I am an unsandboxed iframe. + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if22.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if22.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,25 @@ + + + + + Test for Bug 949435 + + + + + + + I am sandboxed with 'allow-same-origin allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if23.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if23.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,61 @@ + + + + + Test for Bug 949435 + + + + + + + + I am sandboxed with 'allow-scripts allow-popups' + + Test 27 anchor + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if3.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if3.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,13 @@ + + + + + Test for Bug 949435 + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if4.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if4.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,20 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if5.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if5.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,20 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts allow-same-origin' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if6.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if6.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if7.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if7.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,20 @@ + + + + + Test for Bug 949435 + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if8.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if8.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,18 @@ + + + + + Test for Bug 949435 + + + + + + + I am sandboxed with 'allow-scripts' and 'allow-same-origin' the first time I am loaded, and with 'allow-scripts' the second time + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_d_if9.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_d_if9.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + + + I am sandboxed with 'allow-scripts' and 'allow-same-origin' the first time I am loaded, and with 'allow-same-origin' the second time + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if1.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if1.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,20 @@ + + + + + Test for Bug 949435 + + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if10.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if10.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if11.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if11.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,24 @@ + + + + + Test for Bug 949435 + + + + + I am sandboxed with 'allow-scripts and allow-top-navigation' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if12.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if12.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if13.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if13.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if14.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if14.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,24 @@ + + + + + Test for Bug 949435 + + + + + I am sandboxed with 'allow-scripts' + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if15.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if15.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if16.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if16.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,27 @@ + + + + + Tests for Bug 949435 + + + + + + + I am sandboxed but with "allow-scripts" + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if2.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if2.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,12 @@ + + + + + Test for Bug 949435 + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if3.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if3.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,11 @@ + + + + + Test for Bug 949435 + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if4.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if4.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,11 @@ + + + + + Test for Bug 949435 + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if5.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if5.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed with 'allow-scripts and allow-top-navigation' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if6.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if6.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,22 @@ + + + + + Test for Bug 949435 + + + + + + + I am sandboxed with 'allow-scripts' + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if7.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if7.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if8.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if8.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,23 @@ + + + + + Tests for Bug 949435 + + + + + + + + I am sandboxed but with "allow-scripts" + + navigate top + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_e_if9.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_e_if9.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,19 @@ + + + + + Test for Bug 949435 + + + + + + + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_navigation_fail.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_navigation_fail.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + +FAIL + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_navigation_pass.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_navigation_pass.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,17 @@ + + + + + Test for Bug 949435 + + + + +PASS + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_navigation_start.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_navigation_start.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,11 @@ + + + + + Test for Bug 949435 + + + +I am just a normal HTML document, probably contained in a sandboxed iframe + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_top_navigation_fail.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_top_navigation_fail.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,18 @@ + + + + + Test for Bug 949435 + + + + +FAIL\ + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/file_iframe_sandbox_top_navigation_pass.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_top_navigation_pass.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,18 @@ + + + + + Test for Bug 949435 + + + + +PASS + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/test_iframe_sandbox_navigation.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/test_iframe_sandbox_navigation.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,288 @@ + + + + + + Test for Bug 949435 - navigation + + + + + + +Mozilla Bug 949435 - Implementation Proposal for SVG iframe element +

+
+ + + + + + + + + + + +
+ + + + diff -r 7f1e136c7451 -r ac8b0a19779d content/svg/content/test/test_iframe_sandbox_navigation2.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/test_iframe_sandbox_navigation2.html Wed Feb 19 06:33:35 2014 +0900 @@ -0,0 +1,212 @@ + + + + + + Test for Bug 949435 - navigation + + + + + + +Mozilla Bug 949435 - Implementation Proposal for SVG iframe element +

+
+ + + + + + + + + +
+ +