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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-post-message.html

Issue 2650943009: [DevTools] increase AsyncCallStackDepth to 8 (Closed)
Patch Set: added missing test Created 3 years, 10 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 setTimeout(timeout, 0); 9 setTimeout(timeout, 0);
10 } 10 }
(...skipping 20 matching lines...) Expand all
31 function postMessageToFrame(msg) 31 function postMessageToFrame(msg)
32 { 32 {
33 var iframe = document.getElementById("iframe"); 33 var iframe = document.getElementById("iframe");
34 var win = iframe.contentWindow; 34 var win = iframe.contentWindow;
35 win.postMessage(msg, "*"); 35 win.postMessage(msg, "*");
36 } 36 }
37 37
38 var test = function() 38 var test = function()
39 { 39 {
40 var totalDebuggerStatements = 5; 40 var totalDebuggerStatements = 5;
41 var maxAsyncCallStackDepth = 4; 41 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
42 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
43 } 42 }
44 43
45 </script> 44 </script>
46 </head> 45 </head>
47 46
48 <body onload="runTest()"> 47 <body onload="runTest()">
49 <p> 48 <p>
50 Tests asynchronous call stacks for window.postMessage. 49 Tests asynchronous call stacks for window.postMessage.
51 </p> 50 </p>
52 <div><iframe src="../debugger/resources/post-message-listener.html" 51 <div><iframe src="../debugger/resources/post-message-listener.html"
53 id="iframe" width="800" height="100" style="border: 1px solid black;"> 52 id="iframe" width="800" height="100" style="border: 1px solid black;">
54 </iframe></div> 53 </iframe></div>
55 </body> 54 </body>
56 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698