| Index: LayoutTests/dart/inspector/debugger-eval-on-call-frame.html
|
| diff --git a/LayoutTests/dart/inspector/debugger-eval-on-call-frame.html b/LayoutTests/dart/inspector/debugger-eval-on-call-frame.html
|
| index ece49457de250fd24c4d75eaecdbcb480394a31a..d411a58b011573eb7ce8eb2fd8ab74156cabadbb 100644
|
| --- a/LayoutTests/dart/inspector/debugger-eval-on-call-frame.html
|
| +++ b/LayoutTests/dart/inspector/debugger-eval-on-call-frame.html
|
| @@ -5,13 +5,19 @@
|
| <script type="application/dart" src="debugger-eval-on-call-frame.dart"></script>
|
|
|
| <script>
|
| +
|
| function postMessageToDart()
|
| {
|
| window.postMessage('fromJS', '*');
|
| }
|
|
|
| +function testFunction() {
|
| + postMessageToDart();
|
| +}
|
| +
|
| function test()
|
| {
|
| + var panel = WebInspector.inspectorView.showPanel("sources");
|
| InspectorTest.runDebuggerTestSuite([
|
| function testScopeChain(next)
|
| {
|
| @@ -27,9 +33,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)
|
|
|