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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-async-callstack.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="../debugger/resources/framework.js"></script> 5 <script src="../debugger/resources/framework.js"></script>
6 <script> 6 <script>
7 7
8 window.callbackFromFramework = function(next) 8 window.callbackFromFramework = function(next)
9 { 9 {
10 return next(); 10 return next();
(...skipping 17 matching lines...) Expand all
28 function callback2() 28 function callback2()
29 { 29 {
30 debugger; 30 debugger;
31 } 31 }
32 32
33 function test() 33 function test()
34 { 34 {
35 var frameworkRegexString = "/framework\\.js$"; 35 var frameworkRegexString = "/framework\\.js$";
36 var maxAsyncCallStackDepth = 4; 36 var maxAsyncCallStackDepth = 4;
37 37
38 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng); 38 Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
39 39
40 InspectorTest.setQuiet(true); 40 InspectorTest.setQuiet(true);
41 InspectorTest.startDebuggerTest(step1); 41 InspectorTest.startDebuggerTest(step1);
42 42
43 function step1() 43 function step1()
44 { 44 {
45 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h, step2); 45 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h, step2);
46 } 46 }
47 47
48 function step2() 48 function step2()
(...skipping 13 matching lines...) Expand all
62 </script> 62 </script>
63 </head> 63 </head>
64 64
65 <body onload="runTest()"> 65 <body onload="runTest()">
66 <input type='button' onclick='testFunction()' value='Test'/> 66 <input type='button' onclick='testFunction()' value='Test'/>
67 <p> 67 <p>
68 Tests the async call stacks and framework black-boxing features working together . 68 Tests the async call stacks and framework black-boxing features working together .
69 </p> 69 </p>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698