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

Unified Diff: LayoutTests/dart/inspector/evaluate-in-console.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/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)
« no previous file with comments | « LayoutTests/dart/inspector/debugger-expected.txt ('k') | LayoutTests/dart/inspector/evaluate-in-console-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698