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

Unified Diff: LayoutTests/dart/inspector/scope-variables.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
« no previous file with comments | « LayoutTests/dart/inspector/sample_library.dart ('k') | LayoutTests/dart/inspector/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/inspector/scope-variables.html
diff --git a/LayoutTests/dart/inspector/scope-variables.html b/LayoutTests/dart/inspector/scope-variables.html
index 8e225b289c644a66dbf272d28852c82113ece1c0..7e5d8de814aacaf3bc812788ba0b9e7b1c3aee92 100644
--- a/LayoutTests/dart/inspector/scope-variables.html
+++ b/LayoutTests/dart/inspector/scope-variables.html
@@ -11,8 +11,13 @@ function postMessageToDart()
window.postMessage('fromJS', '*');
}
+function testFunction() {
+ postMessageToDart();
+}
+
function test()
{
+ var panel = WebInspector.inspectorView.showPanel("sources");
InspectorTest.runDebuggerTestSuite([
function testScopeChain(next)
{
@@ -27,8 +32,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/sample_library.dart ('k') | LayoutTests/dart/inspector/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698