| Index: LayoutTests/dart/inspector/evaluate-in-console.html
|
| diff --git a/LayoutTests/dart/inspector/evaluate-in-console.html b/LayoutTests/dart/inspector/evaluate-in-console.html
|
| index 4c259c2980a2cacae4e9aacbd844f0ff8c498af7..b2f2c4ccf0a1e68f2c6ce4d1ec69c31a55586d2c 100644
|
| --- a/LayoutTests/dart/inspector/evaluate-in-console.html
|
| +++ b/LayoutTests/dart/inspector/evaluate-in-console.html
|
| @@ -10,8 +10,13 @@ function postMessageToDart()
|
| window.postMessage('fromJS', '*');
|
| }
|
|
|
| +function testFunction() {
|
| + postMessageToDart();
|
| +}
|
| +
|
| function test()
|
| {
|
| + var panel = WebInspector.inspectorView.showPanel("sources");
|
| InspectorTest.runDebuggerTestSuite([
|
| function testScopeChain(next)
|
| {
|
| @@ -26,8 +31,7 @@ function test()
|
| function didAddBreakpoint(lineNumber)
|
| {
|
| InspectorTest.addResult("Breakpoint added to source frame at line " + lineNumber);
|
| - InspectorTest.waitUntilPaused(didPauseInDart);
|
| - InspectorTest.evaluateInPage('postMessageToDart()');
|
| + InspectorTest.runTestFunctionAndWaitUntilPaused(didPauseInDart);
|
| }
|
|
|
| function didPauseInDart(callFrames)
|
|
|