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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url.html

Issue 2153893002: [DevTools] Fix line and column in CallstackSidebarPane for async frames (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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 setTimeout(functionFoo, 0);
10 }
11
12 function functionFoo()
13 {
14 debugger;
15 }
16
17 var test = function()
18 {
19 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(200, step1);
20
21 function step1()
22 {
23 InspectorTest.startDebuggerTest(step2);
24 }
25
26 function step2()
27 {
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
29 }
30
31 function step3()
32 {
33 var callFrameList = WebInspector.panels.sources.sidebarPanes.callstack.c allFrameList;
34 for (var item of callFrameList._items)
35 InspectorTest.addResult(item.element.textContent.replace(/VM\d+/g, " VM"));
36 InspectorTest.completeDebuggerTest();
37 }
38 }
39
40 </script>
41 </head>
42 <body onload="runTest()">
43 <p>Tests that call stack sidebar contains correct urls for call frames.</p>
44 </body>
45 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698