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(); |
} |
} |