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("console.memory === console.memory", step1); | 9 InspectorTest.evaluateInConsole("console.memory === console.memory", step1); |
10 | 10 |
11 function step1() { | 11 function step1() { |
12 InspectorTest.dumpConsoleMessages(); | 12 InspectorTest.dumpConsoleMessages(); |
13 InspectorTest.completeTest(); | 13 InspectorTest.completeTest(); |
14 } | 14 } |
15 } | 15 } |
16 </script> | 16 </script> |
17 </head> | 17 </head> |
18 | 18 |
19 <body onload="runTest()"> | 19 <body onload="runTest()"> |
20 <p> | 20 <p> |
21 Tests that console.memory is strictly equal to itself. | 21 Tests that console.memory returns fresh instance/samples. |
22 </p> | 22 </p> |
23 | 23 |
24 </body> | 24 </body> |
25 </html> | 25 </html> |
OLD | NEW |