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

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-step-into-v8-internals.html

Issue 424813004: DevTools: Don't stop debugger inside V8 internal scripts with empty stack trace. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
6
7 function testFunction()
8 {
9 Promise.resolve(42).then(function() {
10 debugger;
11 }).then(function() {
12 var dummy1 = 1;
13 var dummy2 = 2;
14 debugger;
15 });
16 }
17
18 function test()
19 {
20 InspectorTest.setQuiet(true);
21 InspectorTest.startDebuggerTest(step1);
22
23 function step1()
24 {
25 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
26 }
27
28 function step2()
29 {
30 var actions = [
31 "Print", // debugger;
32 "StepInto", "Print",
33 "StepInto", "Print",
34 "StepInto", "Print",
35 ];
36 InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step3);
37 }
38
39 function step3()
40 {
41 InspectorTest.completeDebuggerTest();
42 }
43 }
44
45 </script>
46 </head>
47
48 <body onload="runTest()">
49 <input type='button' onclick='testFunction()' value='Test'/>
50 <p>
51 Tests that debugger will not step into V8 internal scripts.
52 </p>
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698