| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="inspector-protocol-test.js"></script> | 3 <script type="text/javascript" src="resources/inspector-protocol-test.js"></scri
pt> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function test() | 10 function test() |
| 11 { | 11 { |
| 12 InspectorTest.sendCommand("DOM.getDocument", {}, didGetDocument); | 12 InspectorTest.sendCommand("DOM.getDocument", {}, didGetDocument); |
| 13 | 13 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 | 67 |
| 68 </script> | 68 </script> |
| 69 </head> | 69 </head> |
| 70 <body> | 70 <body> |
| 71 <p>Test that code evaluated in the main frame cannot access $0 that resolves int
o a node in a frame from a different domain. <a href="https://bugs.webkit.org/sh
ow_bug.cgi?id=105423">Bug 105423.</p> | 71 <p>Test that code evaluated in the main frame cannot access $0 that resolves int
o a node in a frame from a different domain. <a href="https://bugs.webkit.org/sh
ow_bug.cgi?id=105423">Bug 105423.</p> |
| 72 <iframe id="myframe" src="http://localhost:8000/inspector-protocol/resources/tes
t-page.html" onload="runTest()"></iframe> | 72 <iframe id="myframe" src="http://localhost:8000/inspector-protocol/resources/tes
t-page.html" onload="runTest()"></iframe> |
| 73 </body> | 73 </body> |
| 74 </html> | 74 </html> |
| OLD | NEW |