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..4c1b416c10db4b69691f7e3114b8ba76419f8ac9 |
--- /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 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 22: ReferenceError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 23: EvalError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 24: SyntaxError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 25: RangeError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 26: TypeError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 27: URIError valid stack #1 |
+ at function_name(foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 29: Error broken stack |
+ at function_name(rooo.js foo.js:30:1) |
+ at boo.js:40:70 |
+CONSOLE MESSAGE: line 30: Error broken stack #2 |
+ at function_name(some.js:20:30 |
+CONSOLE MESSAGE: line 31: Error broken stack #3 |
+ at function_name(some:20.js:30 bla |
+CONSOLE MESSAGE: line 32: Error broken stack #4 |
+ at function_name)some.js:20:30( |
+CONSOLE MESSAGE: line 33: Error broken stack #5 |
+ at function_name some.js:20:30) |
+CONSOLE MESSAGE: line 34: Error broken stack #6 |
+ at foo.js boo.js:40:70 |
+CONSOLE MESSAGE: line 36: 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: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:22 ReferenceError 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:23 EvalError 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:24 SyntaxError 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 RangeError 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:26 TypeError 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:27 URIError 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:29 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:30 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:31 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:32 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:33 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:34 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:36 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 |
+ |