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

Side by Side Diff: LayoutTests/inspector/sources/debugger/frameworks-skip-step-in.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 function testFunction() 8 function testFunction()
9 { 9 {
10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te st" + i); ++i) 10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te st" + i); ++i)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 { 44 {
45 debugger; 45 debugger;
46 Framework.safeRun(Framework.empty, Framework.throwFrameworkException, callba ck); // Should be enough to step into callback 46 Framework.safeRun(Framework.empty, Framework.throwFrameworkException, callba ck); // Should be enough to step into callback
47 } 47 }
48 48
49 function test() 49 function test()
50 { 50 {
51 var frameworkRegexString = "/framework\\.js$"; 51 var frameworkRegexString = "/framework\\.js$";
52 var totalDebuggerStatements = 5; 52 var totalDebuggerStatements = 5;
53 53
54 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest();
55 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); 54 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString);
56 55
57 InspectorTest.setQuiet(true); 56 InspectorTest.setQuiet(true);
58 InspectorTest.startDebuggerTest(step1); 57 InspectorTest.startDebuggerTest(step1);
59 58
60 function step1() 59 function step1()
61 { 60 {
62 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); 61 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
63 } 62 }
64 63
(...skipping 21 matching lines...) Expand all
86 </script> 85 </script>
87 </head> 86 </head>
88 87
89 <body onload="runTest()"> 88 <body onload="runTest()">
90 <input type='button' onclick='testFunction()' value='Test'/> 89 <input type='button' onclick='testFunction()' value='Test'/>
91 <p> 90 <p>
92 Tests the skip stack frames feature when stepping. 91 Tests the skip stack frames feature when stepping.
93 </p> 92 </p>
94 </body> 93 </body>
95 </html> 94 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698