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

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: Address vsevik's comments 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..0615e407b7a18122827856a2d503d161b89aa6f3
--- /dev/null
+++ b/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt
@@ -0,0 +1,116 @@
+CONSOLE MESSAGE: line 9: Error: line
+break
+ at forStack (console-log-linkify-stack-in-errors.html:12:1
+CONSOLE MESSAGE: line 22: Error message without stacks http://www.chromium.org/
+CONSOLE MESSAGE: line 24: Error valid stack #1
+ at function_name(foo.js:30:1)
+ at boo.js:40:70
+CONSOLE MESSAGE: line 25: 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 26: Error valid stack #3
+ at http://www.chromium.org/foo.js:40
+CONSOLE MESSAGE: line 27: Error valid stack #4
+ at function_name (some.js:30)
+CONSOLE MESSAGE: line 28: Error valid
+ stack #5
+ at function_name (some.js:30)
+CONSOLE MESSAGE: line 29: 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 16: ReferenceError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:31:8
+CONSOLE MESSAGE: line 16: EvalError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:32:8
+CONSOLE MESSAGE: line 16: SyntaxError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:33:8
+CONSOLE MESSAGE: line 16: RangeError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:34:8
+CONSOLE MESSAGE: line 16: TypeError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:35:8
+CONSOLE MESSAGE: line 16: URIError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:36:8
+CONSOLE MESSAGE: line 39: Error broken stack
+ at function_name(rooo.js foo.js:30:1)
+ at boo.js:40:70
+CONSOLE MESSAGE: line 40: Error broken stack #2
+ at function_name(some.js:20:30
+CONSOLE MESSAGE: line 41: Error broken stack #3
+ at function_name(some:20.js:30 bla
+CONSOLE MESSAGE: line 42: Error broken stack #4
+ at function_name)some.js:20:30(
+CONSOLE MESSAGE: line 43: Error broken stack #5
+ at function_name some.js:20:30)
+CONSOLE MESSAGE: line 44: Error broken stack #6
+ at foo.js boo.js:40:70
+CONSOLE MESSAGE: line 46: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
+at Object.InjectedScript._evaluateOn (<anonymous>:732:137)
+at Object.InjectedScript._evaluateAndWrap (<anonymous>:665:34)
+at Object.InjectedScript.evaluate (<anonymous>:579:21)
+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:22 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:24 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:25 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:26 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:27 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:28 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:29 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:16 ReferenceError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:31 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:16 EvalError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:32 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:16 SyntaxError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:33 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:16 RangeError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:34 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:16 TypeError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:35 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:16 URIError: valid stack
+ at stack2 (console-log-linkify-stack-in-errors.html:16)
+ at stack1 (console-log-linkify-stack-in-errors.html:18)
+ at console-log-linkify-stack-in-errors.html:36 console-message-text source-code > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:39 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:40 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:41 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:42 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:43 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:44 Error broken stack #6
+ at foo.js boo.js:40:70 console-message-text source-code > console-message-url webkit-html-resource-link
+console-log-linkify-stack-in-errors.html:46 Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
+at Object.InjectedScript._evaluateOn (<anonymous>:732:137)
+at Object.InjectedScript._evaluateAndWrap (<anonymous>:665:34)
+at Object.InjectedScript.evaluate (<anonymous>:579:21) console-message-text source-code > console-message-url webkit-html-resource-link
+

Powered by Google App Engine
This is Rietveld 408576698