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

Unified Diff: LayoutTests/dart/inspector/deferred-import.html

Issue 1689873002: Enable inspector tests disabled when dart:html was switched to JS interop. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 10 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/deferred-import.html
diff --git a/LayoutTests/dart/inspector/deferred-import.html b/LayoutTests/dart/inspector/deferred-import.html
index 8777ea8ef8a3a0eb73030dd0e8a0ff7e81c8670d..e67e3bb91110235b9054542311b4173831c9644a 100644
--- a/LayoutTests/dart/inspector/deferred-import.html
+++ b/LayoutTests/dart/inspector/deferred-import.html
@@ -30,8 +30,6 @@ function test()
{
// Break within the body of the closure method.
setBreakpointAndWaitUntilPaused('deferred-import-library.dart', 4, didPauseInDart);
- InspectorTest.runTestFunction();
- InspectorTest.waitUntilPaused(didPauseInDart);
}
function didPauseInDart(callFrames)
@@ -44,8 +42,12 @@ function test()
function setBreakpointAndWaitUntilPaused(urlRegex, lineNumber, pausedCallback)
{
- var expectedBreakpointId;
- WebInspector.debuggerModel._agent.setBreakpointByUrl(lineNumber, undefined, urlRegex, 0, "", undefined, "dart", undefined);
+ InspectorTest.DebuggerAgent.invoke_setBreakpointByUrl({urlRegex: urlRegex, lineNumber:lineNumber}, step2);
+
+ function step2(result)
+ {
+ InspectorTest.runTestFunctionAndWaitUntilPaused(pausedCallback);
+ }
}
};
</script>

Powered by Google App Engine
This is Rietveld 408576698