# HG changeset patch # User Ryo HIKOSAKA # Date 1392757797 -32400 # Wed Feb 19 06:09:57 2014 +0900 # Node ID 07c97d2a1fbea7b47329574208c73db93876ae09 # Parent 64071bbe3f419d26d64771d5f95ae17b62a0b529 Part19: mochitests - iframe sandbox workers diff -r 64071bbe3f41 -r 07c97d2a1fbe content/svg/content/test/file_iframe_sandbox_g_if1.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_g_if1.html Wed Feb 19 06:09:57 2014 +0900 @@ -0,0 +1,65 @@ + + + + + Test for Bug 949435 + + + + + + I am sandboxed but with "allow-scripts" + + diff -r 64071bbe3f41 -r 07c97d2a1fbe content/svg/content/test/file_iframe_sandbox_worker.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/file_iframe_sandbox_worker.js Wed Feb 19 06:09:57 2014 +0900 @@ -0,0 +1,3 @@ +self.onmessage = function(event) { + self.postMessage('make it so'); +}; \ No newline at end of file diff -r 64071bbe3f41 -r 07c97d2a1fbe content/svg/content/test/test_iframe_sandbox_workers.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/svg/content/test/test_iframe_sandbox_workers.html Wed Feb 19 06:09:57 2014 +0900 @@ -0,0 +1,75 @@ + + + + + + Test for Bug 949435 + + + + + + +Mozilla Bug 949435 - Implementation Proposal for SVG iframe element : sandbox tests for workers +

+
+ + + +
+ +