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

Side by Side Diff: LayoutTests/inspector/console/console-log-wrapped-in-framework.html

Issue 211493002: DevTools: Show user code location for wrapped console.log() calls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-log-wrapped-in-framework-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="resources/framework.js"></script>
6 <script>
7
8 function runLogs()
9 {
10 console.log("direct console.log()");
11 Framework.log("framework log");
12 }
13
14 function test()
15 {
16 var frameworkRegexString = "/framework\\.js$";
17 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest();
18 WebInspector.settings.skipStackFramesSwitch.set(true);
19 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString);
20
21 InspectorTest.evaluateInPage("runLogs()");
22 InspectorTest.runAfterPendingDispatches(callback);
23 function callback()
24 {
25 InspectorTest.dumpConsoleMessages();
26 InspectorTest.completeTest();
27 }
28 }
29
30 </script>
31 </head>
32 <body onload="runTest()">
33 <p>
34 Tests console.log() anchor location when the skip-stack-frames feature is enable d.
35 </p>
36 </body>
37 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-log-wrapped-in-framework-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698