| 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> | 5 <script> |
| 6 | 6 |
| 7 function test() | 7 function test() |
| 8 { | 8 { |
| 9 InspectorTest.evaluateInConsole("1+2", step2); | 9 InspectorTest.evaluateInConsole("console.memory === console.memory", step1); |
| 10 | 10 |
| 11 function step2() | 11 function step1() { |
| 12 { | |
| 13 InspectorTest.dumpConsoleMessages(); | 12 InspectorTest.dumpConsoleMessages(); |
| 14 InspectorTest.completeTest(); | 13 InspectorTest.completeTest(); |
| 15 } | 14 } |
| 16 } | 15 } |
| 17 | |
| 18 </script> | 16 </script> |
| 19 </head> | 17 </head> |
| 20 | 18 |
| 21 <body onload="runTest()"> | 19 <body onload="runTest()"> |
| 22 <p> | 20 <p> |
| 23 Tests that simple evaluations may be performed in the console. | 21 Tests that console.memory is strictly equal to itself. |
| 24 </p> | 22 </p> |
| 25 | 23 |
| 26 </body> | 24 </body> |
| 27 </html> | 25 </html> |
| OLD | NEW |