| <html> |
| <head> |
| <script src="../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../http/tests/inspector/console-test.js"></script> |
| <script> |
| |
| function dumpMessages() |
| { |
| for (var i = 0; i < 5; ++i) |
| console.log("Same message"); |
| } |
| |
| function test() |
| { |
| InspectorTest.evaluateInPage("dumpMessages()", step1); |
| |
| function step1() |
| { |
| InspectorTest.evaluateInConsole("\"Different message\"", step2); |
| } |
| |
| function step2() |
| { |
| InspectorTest.evaluateInPage("dumpMessages()", step3); |
| } |
| |
| function step3() |
| { |
| InspectorTest.dumpConsoleMessages(); |
| InspectorTest.completeTest(); |
| } |
| } |
| </script> |
| </head> |
| <body onload="runTest()"> |
| <p> |
| Tests that repeat count is properly updated. |
| </p> |
| </body> |
| </html> |