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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-step/debugger-step-in-ignore-injected-script.html

Issue 2181453002: [DevTools] Never stop in InjectedScriptSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 function testFunction()
7 {
8 debugger;
9 console.log(123);
10 return 239; // stack result should point here
11 }
12 </script>
13 <script>
14
15 function test()
16 {
17 InspectorTest.startDebuggerTestPromise(/* quiet */ true)
18 .then(() => InspectorTest.runTestFunctionAndWaitUntilPausedPromise())
19 .then(() => stepIntoPromise())
20 .then(() => stepIntoPromise())
21 .then((callFrames) => InspectorTest.captureStackTrace(callFrames))
22 .then(() => InspectorTest.completeDebuggerTest());
23
24 function stepIntoPromise()
25 {
26 var cb;
27 var p = new Promise(fullfill => cb = fullfill);
28 InspectorTest.stepInto();
29 InspectorTest.waitUntilResumed(() => InspectorTest.waitUntilPaused(cb));
30 return p;
31 }
32 }
33 </script>
34 </head>
35 <body onload="runTest()">
36 <p>Tests that stepInto doesn't pause in InjectedScriptSource.</p>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698