| Index: LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html
|
| diff --git a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html
|
| index db529f73996a88f954af26436179d78360d96593..70aaaac62d3db5fa36c5a30e33fd4a02a1eb49fc 100644
|
| --- a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html
|
| +++ b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html
|
| @@ -4,15 +4,7 @@
|
| <iframe id="aFrame" name="aFrame"></iframe>
|
| <script>
|
| var url = "data:text/html,<html>"
|
| - + "<head>"
|
| - + "<scr" + "ipt>"
|
| - + "function loaded() {"
|
| - + "if (window.testRunner)"
|
| - + "testRunner.globalFlag = true;"
|
| - + "}"
|
| - + "</scri" + "pt>"
|
| - + "</head>"
|
| - + "<body onload='loaded();'>"
|
| + + "<body>"
|
| + "<p id='accessMe'>PASS: Cross frame access from a frame on a foreign domain denied!</p>"
|
| + "<p>Inner-inner iframe. This iframe (which is data: URL and whose parent is on a foreign domain) is the frame that the"
|
| + " main frame is trying to access. It should not have access to it.</p>"
|
| @@ -20,6 +12,7 @@
|
| + "</html>";
|
|
|
| var frame = document.getElementById('aFrame');
|
| + frame.onload = function () { window.parent.postMessage('run test', '*'); };
|
| frame.src = url;
|
| </script>
|
| </body>
|
|
|