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

Unified Diff: LayoutTests/inspector/sources/debugger/pause-in-internal-script.html

Issue 316403002: DevTools: cleanup debugger tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined 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/inspector/sources/debugger/pause-in-internal-script.html
diff --git a/LayoutTests/inspector/sources/debugger/pause-in-internal-script.html b/LayoutTests/inspector/sources/debugger/pause-in-internal-script.html
index 7b4c9f321fe4b3c14ff87f7ae0ed4b21bbe428da..1a6d916629c40ce8b9ca54b6345a12bd68181e0c 100644
--- a/LayoutTests/inspector/sources/debugger/pause-in-internal-script.html
+++ b/LayoutTests/inspector/sources/debugger/pause-in-internal-script.html
@@ -23,8 +23,11 @@ function test()
{
InspectorTest.showScriptSource("pause-in-internal-script.html", didShowScriptSource);
+ var breakpointFunctionFrame = null;
+
function didShowScriptSource(sourceFrame)
{
+ breakpointFunctionFrame = sourceFrame;
InspectorTest.addResult("Script source was shown.");
InspectorTest.setBreakpoint(sourceFrame, 13, "", true);
InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
@@ -33,6 +36,7 @@ function test()
function didPause(callFrames)
{
InspectorTest.captureStackTrace(callFrames);
+ InspectorTest.removeBreakpoint(breakpointFunctionFrame, 13);
next();
}
}

Powered by Google App Engine
This is Rietveld 408576698