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

Side by Side Diff: LayoutTests/inspector/console/console-log-wrapped-in-framework.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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-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 runLogs() 8 function runLogs()
9 { 9 {
10 console.log("direct console.log()"); 10 console.log("direct console.log()");
11 Framework.log("framework log"); 11 Framework.log("framework log");
12 } 12 }
13 13
14 function test() 14 function test()
15 { 15 {
16 var frameworkRegexString = "/framework\\.js$"; 16 var frameworkRegexString = "/framework\\.js$";
17 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest();
18 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); 17 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString);
19 18
20 InspectorTest.evaluateInPage("runLogs()"); 19 InspectorTest.evaluateInPage("runLogs()");
21 InspectorTest.runAfterPendingDispatches(callback); 20 InspectorTest.runAfterPendingDispatches(callback);
22 function callback() 21 function callback()
23 { 22 {
24 InspectorTest.dumpConsoleMessages(); 23 InspectorTest.dumpConsoleMessages();
25 InspectorTest.completeTest(); 24 InspectorTest.completeTest();
26 } 25 }
27 } 26 }
28 27
29 </script> 28 </script>
30 </head> 29 </head>
31 <body onload="runTest()"> 30 <body onload="runTest()">
32 <p> 31 <p>
33 Tests console.log() anchor location when the skip-stack-frames feature is enable d. 32 Tests console.log() anchor location when the skip-stack-frames feature is enable d.
34 </p> 33 </p>
35 </body> 34 </body>
36 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698