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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 src="../../../http/tests/inspector/console-test.js"></script> 5 <script src="../../../http/tests/inspector/console-test.js"></script>
6 <script> 6 <script>
7 7
8 function testFunction() 8 function testFunction()
9 { 9 {
10 debugger; 10 debugger;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 var test = function() 43 var test = function()
44 { 44 {
45 var maxAsyncCallStackDepth = 4; 45 var maxAsyncCallStackDepth = 4;
46 var numberOfConsoleMessages = 5; 46 var numberOfConsoleMessages = 5;
47 47
48 InspectorTest.setQuiet(true); 48 InspectorTest.setQuiet(true);
49 InspectorTest.startDebuggerTest(step1); 49 InspectorTest.startDebuggerTest(step1);
50 50
51 function step1() 51 function step1()
52 { 52 {
53 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions); 53 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause OnExceptionsState.DontPauseOnExceptions);
54 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0); 54 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0);
55 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 55 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
56 } 56 }
57 57
58 function step2() 58 function step2()
59 { 59 {
60 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h, didPause); 60 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h, didPause);
61 } 61 }
62 62
63 function didPause() 63 function didPause()
(...skipping 19 matching lines...) Expand all
83 83
84 <body onload="runTest()"> 84 <body onload="runTest()">
85 <p> 85 <p>
86 Tests asynchronous call stacks printed in console. 86 Tests asynchronous call stacks printed in console.
87 </p> 87 </p>
88 <div><iframe src="../debugger/resources/post-message-listener.html" 88 <div><iframe src="../debugger/resources/post-message-listener.html"
89 id="iframe" width="800" height="100" style="border: 1px solid black;"> 89 id="iframe" width="800" height="100" style="border: 1px solid black;">
90 </iframe></div> 90 </iframe></div>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698