| 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("{a:1, b:2}", step2); | 9 InspectorTest.evaluateInConsole("{a:1, b:2}", step2); |
| 10 function step2() | 10 function step2() |
| 11 { | 11 { |
| 12 var consoleView = WebInspector.ConsoleView.instance(); | 12 var consoleView = Console.ConsoleView.instance(); |
| 13 InspectorTest.addResult(consoleView._prompt.history().previous()); | 13 InspectorTest.addResult(consoleView._prompt.history().previous()); |
| 14 InspectorTest.completeTest(); | 14 InspectorTest.completeTest(); |
| 15 } | 15 } |
| 16 } | 16 } |
| 17 </script> | 17 </script> |
| 18 </head> | 18 </head> |
| 19 <body onload="runTest()"> | 19 <body onload="runTest()"> |
| 20 <p>Tests that expression which is evaluated as Object Literal, is correctly stor
ed in console history. (crbug.com/584881)</p> | 20 <p>Tests that expression which is evaluated as Object Literal, is correctly stor
ed in console history. (crbug.com/584881)</p> |
| 21 </body> | 21 </body> |
| 22 </html> | 22 </html> |
| OLD | NEW |