Chromium Code Reviews| Index: LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
| diff --git a/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html b/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
| index a9494a7f495dcb5bd88ba8764057e26470dc5b5f..6af69b3ba5d32bdf59815e34e8e91df4ef6f56aa 100644 |
| --- a/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
| +++ b/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
| @@ -27,9 +27,17 @@ function test() |
| } |
| InspectorTest.sendCommand("Page.navigate", { "url": "nosuchurl" }); |
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "alert('alert')" }); |
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "confirm('confirm')" }); |
| - InspectorTest.sendCommand("Runtime.evaluate", { "expression": "prompt('prompt')" }, onDone); |
| + InspectorTest.sendCommand("Runtime.evaluate", { "expression": "alert('alert')" }, onDoneAlert); |
| + |
| + function onDoneAlert() |
|
Peter.Rybin
2013/07/10 23:33:58
With a new message loop runner, dialogs starts to
|
| + { |
| + InspectorTest.sendCommand("Runtime.evaluate", { "expression": "confirm('confirm')" }, onDoneConfirm); |
| + } |
| + |
| + function onDoneConfirm() |
| + { |
| + InspectorTest.sendCommand("Runtime.evaluate", { "expression": "prompt('prompt')" }, onDone); |
| + } |
| function onDone() |
| { |