| Index: LayoutTests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html
|
| diff --git a/LayoutTests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html b/LayoutTests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html
|
| index 643f8bc0d338605a86b547818433d17b4b47eed0..7015adfd306d10b285b98772154e75f626d7a936 100644
|
| --- a/LayoutTests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html
|
| +++ b/LayoutTests/http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe.html
|
| @@ -16,9 +16,11 @@
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| });
|
| +
|
| + document.getElementById('testFrame').src="http://localhost:8000/security/javascriptURL/resources/foreign-domain-javascript-url-accessee-iframe.html"
|
| }
|
|
|
| - runTest = function()
|
| + function runTest()
|
| {
|
| try {
|
| window[0][0].document.getElementById('accessMe').innerHTML = "FAIL: Cross frame access to a javascript: URL embed in a frame on a foreign domain allowed.";
|
| @@ -35,7 +37,7 @@
|
| <p>The scenario for this test is that you have an iframe with content from a foreign domain. In that foreign content
|
| is an iframe which loads a javascript: URL. This tests that this main document does not have access to that
|
| javascript: URL loaded iframe.</p>
|
| - <iframe src="http://localhost:8000/security/javascriptURL/resources/foreign-domain-javascript-url-accessee-iframe.html" style="width: 400px; height:200px;"></iframe>
|
| + <iframe id="testFrame" style="width: 400px; height:200px;"></iframe>
|
| <pre id="console"></pre>
|
| </body>
|
| </html>
|
|
|