Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: LayoutTests/dart/inspector/debugger-eval-on-call-frame.html

Issue 300393002: Merge DevTools Refactor CL to Blink36 (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: PTAL Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698