3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
8 function testFunction()
10 var array
= [2, 5, 7];
12 array
.forEach(function(key
)
21 InspectorTest
.runDebuggerTestSuite([
22 function testSetBreakpoint(next
)
24 InspectorTest
.showScriptSource("pause-in-internal-script.html", didShowScriptSource
);
26 var breakpointFunctionFrame
= null;
28 function didShowScriptSource(sourceFrame
)
30 breakpointFunctionFrame
= sourceFrame
;
31 InspectorTest
.addResult("Script source was shown.");
32 InspectorTest
.setBreakpoint(sourceFrame
, 13, "", true);
33 InspectorTest
.runTestFunctionAndWaitUntilPaused(didPause
);
36 function didPause(callFrames
)
38 InspectorTest
.captureStackTrace(callFrames
);
39 InspectorTest
.removeBreakpoint(breakpointFunctionFrame
, 13);
50 <body onload=
"runTest()">
51 <p>Tests that internal scripts unknown to front-end are processed correctly when appear in debugger call frames.
52 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=64995">Bug
64995</a>