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

Unified Diff: LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt

Issue 674513002: DevTools: linkify relative links in console.log(new Error().stack) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt
diff --git a/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt b/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..261058da095a11bb8a023f068993a56315793c43
--- /dev/null
+++ b/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt
@@ -0,0 +1,72 @@
+CONSOLE MESSAGE: line 9: Error: line
+break
+ at forStack (console-log-linkify-stack-in-errors.html:12:1
+CONSOLE MESSAGE: line 14: Error message without stacks http://www.chromium.org/
+CONSOLE MESSAGE: line 16: Error valid stack #1
+ at function_name(foo.js:30:1)
+ at boo.js:40:70
+CONSOLE MESSAGE: line 17: Error valid stack #2
+ at http://www.chromium.org/boo.js:40:70
+ at foo(http://www.chromium.org/foo.js:10:50)
+CONSOLE MESSAGE: line 18: Error valid stack #3
+ at http://www.chromium.org/foo.js:40
+CONSOLE MESSAGE: line 19: Error valid stack #4
+ at function_name (some.js:30)
+CONSOLE MESSAGE: line 20: Error valid
+ stack #5
+ at function_name (some.js:30)
+CONSOLE MESSAGE: line 21: Error valid stack #6
+ at function_name(foo.js:30:1)
+ at boo.js:40:70
+ at another_function(foo.js:50:500)
+CONSOLE MESSAGE: line 23: Error broken stack
+ at function_name(rooo.js foo.js:30:1)
+ at boo.js:40:70
+CONSOLE MESSAGE: line 24: Error broken stack #2
+ at function_name(some.js:20:30
+CONSOLE MESSAGE: line 25: Error broken stack #3
+ at function_name(some:20.js:30 bla
+CONSOLE MESSAGE: line 26: Error broken stack #4
+ at function_name)some.js:20:30(
+CONSOLE MESSAGE: line 27: Error broken stack #5
+ at function_name some.js:20:30)
+CONSOLE MESSAGE: line 28: Error broken stack #6
+ at foo.js boo.js:40:70
+Test that console.log(new Error().stack) would linkify all links even relative ones. Bug 424001.
+
+console-log-linkify-stack-in-errors.html:9 Error: line
+break
+ at forStack (console-log-linkify-stack-in-errors.html:9)
+ at console-log-linkify-stack-in-errors.html:12 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:14 Error message without stacks www.chromium.org/ console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:16 Error valid stack #1
+ at function_name(foo.js:30)
+ at boo.js:40:70 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:17 Error valid stack #2
+ at www.chromium.org/boo.js:40:70
+ at foo(www.chromium.org/foo.js:10:50) console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:18 Error valid stack #3
+ at www.chromium.org/foo.js:40 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:19 Error valid stack #4
+ at function_name (some.js:30) console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:20 Error valid
+ stack #5
+ at function_name (some.js:30) console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:21 Error valid stack #6
+ at function_name(foo.js:30)
+ at boo.js:40:70
+ at another_function(foo.js:50:500) console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-external-link > webkit-html-external-link > webkit-html-external-link
+console-log-linkify-stack-in-errors.html:23 Error broken stack
+ at function_name(rooo.js foo.js:30:1)
+ at boo.js:40:70 console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:24 Error broken stack #2
+ at function_name(some.js:20:30 console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:25 Error broken stack #3
+ at function_name(some:20.js:30 bla console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:26 Error broken stack #4
+ at function_name)some.js:20:30( console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:27 Error broken stack #5
+ at function_name some.js:20:30) console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:28 Error broken stack #6
+ at foo.js boo.js:40:70 console-message-text source-code > console-message-url webkit-html-resource-link
+

Powered by Google App Engine
This is Rietveld 408576698