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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-onload.html

Issue 2873713002: [DevTools] added creation stack for event listeners without scheduled stack
Patch Set: better Created 3 years, 7 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/http/tests/inspector/sources/debugger/async-callstack-onload-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="../../inspector-test.js"></script>
4 <script src="../../debugger-test.js"></script>
5 <script>
6
7 function testFunction()
8 {
9 var img = new Image();
10 img.onload = onImageLoaded;
11 img.onerror = onImageError;
12 img.src = 'resources/image.png';
13
14 function onImageLoaded()
15 {
16 debugger;
17 img.src = 'not-found.png';
18 }
19
20 function onImageError()
21 {
22 debugger;
23 }
24 }
25
26 var test = function()
27 {
28 var totalDebuggerStatements = 2;
29 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
30 }
31
32 </script>
33 </head>
34 <body onload="runTest()">
35 <p>Tests asynchronous call stacks for onload.</p>
36 </body>
37 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-onload-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698