| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../../http/tests/inspector/console-test.js"></script> |
| 5 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 5 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function dirxml() { return "overridden dirxml() in top frame"; } | 8 function dirxml() { return "overridden dirxml() in top frame"; } |
| 9 | 9 |
| 10 function onload() | 10 function onload() |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 runTest(); | 27 runTest(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 function testFunction() | 30 function testFunction() |
| 31 { | 31 { |
| 32 var clear = "local in top frame"; | 32 var clear = "local in top frame"; |
| 33 var iframe = document.getElementById("iframe"); | 33 var iframe = document.getElementById("iframe"); |
| 34 iframe.contentWindow.pauseInsideIframe.call({foo: 42}); | 34 iframe.contentWindow.pauseInsideIframe.call({foo: 42}); |
| 35 } | 35 } |
| 36 | 36 |
| 37 var test = function() | 37 function test() |
| 38 { | 38 { |
| 39 var expressions = [ | 39 var expressions = [ |
| 40 "dir()", | 40 "dir()", |
| 41 "dirxml()", | 41 "dirxml()", |
| 42 "table", | 42 "table", |
| 43 "clear", | 43 "clear", |
| 44 "x:", // print correct syntax error: crbug.com/110163 | 44 "x:", // print correct syntax error: crbug.com/110163 |
| 45 ]; | 45 ]; |
| 46 | 46 |
| 47 function evaluateInConsoleAndDump(callback) | 47 function evaluateInConsoleAndDump(callback) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 </head> | 96 </head> |
| 97 | 97 |
| 98 <body onload="onload()"> | 98 <body onload="onload()"> |
| 99 <iframe id="iframe"></iframe> | 99 <iframe id="iframe"></iframe> |
| 100 <p> | 100 <p> |
| 101 Test that evaluation on call frame works across all inspected windows in the cal
l stack. | 101 Test that evaluation on call frame works across all inspected windows in the cal
l stack. |
| 102 </p> | 102 </p> |
| 103 | 103 |
| 104 </body> | 104 </body> |
| 105 </html> | 105 </html> |
| OLD | NEW |