| 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()
|
| + {
|
| + InspectorTest.sendCommand("Runtime.evaluate", { "expression": "confirm('confirm')" }, onDoneConfirm);
|
| + }
|
| +
|
| + function onDoneConfirm()
|
| + {
|
| + InspectorTest.sendCommand("Runtime.evaluate", { "expression": "prompt('prompt')" }, onDone);
|
| + }
|
|
|
| function onDone()
|
| {
|
|
|