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

Side by Side Diff: LayoutTests/inspector/sources/debugger/frameworks-with-async-callstack.html

Issue 444923002: DevTools: Blackboxing out of experiments. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 4 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 | Annotate | Revision Log
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="resources/framework.js"></script> 5 <script src="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.experimentsSettings.frameworksDebuggingSupport.enableForTest();
39 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); 38 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString);
40 39
41 InspectorTest.setQuiet(true); 40 InspectorTest.setQuiet(true);
42 InspectorTest.startDebuggerTest(step1); 41 InspectorTest.startDebuggerTest(step1);
43 42
44 function step1() 43 function step1()
45 { 44 {
46 DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step2); 45 DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step2);
47 } 46 }
48 47
(...skipping 14 matching lines...) Expand all
63 </script> 62 </script>
64 </head> 63 </head>
65 64
66 <body onload="runTest()"> 65 <body onload="runTest()">
67 <input type='button' onclick='testFunction()' value='Test'/> 66 <input type='button' onclick='testFunction()' value='Test'/>
68 <p> 67 <p>
69 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 .
70 </p> 69 </p>
71 </body> 70 </body>
72 </html> 71 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/sources/debugger/frameworks-steppings.html ('k') | Source/devtools/front_end/common/Settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698