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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt

Issue 2284123002: [DevTools] Format console.log(new Error()) same as console.log(new Error().stack) (Closed)
Patch Set: removed elipsis Created 4 years, 3 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
OLDNEW
1 CONSOLE MESSAGE: line 5: Error: Some test 1 CONSOLE MESSAGE: line 5: Error: Some test
2 at namedFunction (foob.js:5:17) 2 at namedFunction (foob.js:5:17)
3 at foob.js:8:1 3 at foob.js:8:1
4 CONSOLE MESSAGE: line 11: Error: line 4 CONSOLE MESSAGE: line 11: Error: line
5 break 5 break
6 at forStack (console-log-linkify-stack-in-errors.html:11:17) 6 at forStack (console-log-linkify-stack-in-errors.html:11:17)
7 at console-log-linkify-stack-in-errors.html:14:1 7 at console-log-linkify-stack-in-errors.html:14:1
8 CONSOLE MESSAGE: line 30: TypeError: Cannot read property 'removeChild' of null 8 CONSOLE MESSAGE: line 30: TypeError: Cannot read property 'removeChild' of null
9 at domError (console-log-linkify-stack-in-errors.html:28:22) 9 at domError (console-log-linkify-stack-in-errors.html:28:22)
10 at console-log-linkify-stack-in-errors.html:34:1 10 at console-log-linkify-stack-in-errors.html:34:1
11 CONSOLE MESSAGE: line 36: Error message without stacks http://www.chromium.org/ 11 CONSOLE MESSAGE: line 41: Error: some error
12 CONSOLE MESSAGE: line 38: Error valid stack #2 12 CONSOLE MESSAGE: line 47: Error message without stacks http://www.chromium.org/
13 CONSOLE MESSAGE: line 49: Error valid stack #2
13 at http://www.chromium.org/boo.js:40:70 14 at http://www.chromium.org/boo.js:40:70
14 at foo(http://www.chromium.org/foo.js:10:50) 15 at foo(http://www.chromium.org/foo.js:10:50)
15 CONSOLE MESSAGE: line 39: Error valid stack #3 16 CONSOLE MESSAGE: line 50: Error valid stack #3
16 at http://www.chromium.org/foo.js:40 17 at http://www.chromium.org/foo.js:40
17 CONSOLE MESSAGE: line 40: Error: MyError 18 CONSOLE MESSAGE: line 51: Error: MyError
18 at throwError (http://www.chromium.org/foo.js:40) 19 at throwError (http://www.chromium.org/foo.js:40)
19 at eval (eval at <anonymous> (http://www.chromium.org/foo.js:42:1), <anonymo us>:1:1) 20 at eval (eval at <anonymous> (http://www.chromium.org/foo.js:42:1), <anonymo us>:1:1)
20 at http://www.chromium.org/foo.js:239 21 at http://www.chromium.org/foo.js:239
21 CONSOLE MESSAGE: line 20: ReferenceError: valid stack 22 CONSOLE MESSAGE: line 20: ReferenceError: valid stack
22 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 23 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
23 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 24 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
24 at console-log-linkify-stack-in-errors.html:42:1 25 at console-log-linkify-stack-in-errors.html:53:1
25 CONSOLE MESSAGE: line 20: EvalError: valid stack 26 CONSOLE MESSAGE: line 20: EvalError: valid stack
26 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 27 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
27 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 28 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
28 at console-log-linkify-stack-in-errors.html:43:1 29 at console-log-linkify-stack-in-errors.html:54:1
29 CONSOLE MESSAGE: line 20: SyntaxError: valid stack 30 CONSOLE MESSAGE: line 20: SyntaxError: valid stack
30 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 31 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
31 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 32 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
32 at console-log-linkify-stack-in-errors.html:44:1 33 at console-log-linkify-stack-in-errors.html:55:1
33 CONSOLE MESSAGE: line 20: RangeError: valid stack 34 CONSOLE MESSAGE: line 20: RangeError: valid stack
34 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 35 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
35 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 36 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
36 at console-log-linkify-stack-in-errors.html:45:1 37 at console-log-linkify-stack-in-errors.html:56:1
37 CONSOLE MESSAGE: line 20: TypeError: valid stack 38 CONSOLE MESSAGE: line 20: TypeError: valid stack
38 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 39 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
39 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 40 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
40 at console-log-linkify-stack-in-errors.html:46:1 41 at console-log-linkify-stack-in-errors.html:57:1
41 CONSOLE MESSAGE: line 20: URIError: valid stack 42 CONSOLE MESSAGE: line 20: URIError: valid stack
42 at stack2 (console-log-linkify-stack-in-errors.html:20:21) 43 at stack2 (console-log-linkify-stack-in-errors.html:20:21)
43 at stack1 (console-log-linkify-stack-in-errors.html:22:5) 44 at stack1 (console-log-linkify-stack-in-errors.html:22:5)
44 at console-log-linkify-stack-in-errors.html:47:1 45 at console-log-linkify-stack-in-errors.html:58:1
45 CONSOLE MESSAGE: line 49: Error broken stack 46 CONSOLE MESSAGE: line 60: Error broken stack
46 at function_name(foob.js foob.js:30:1) 47 at function_name(foob.js foob.js:30:1)
47 at foob.js:40:70 48 at foob.js:40:70
48 CONSOLE MESSAGE: line 50: Error broken stack #2 49 CONSOLE MESSAGE: line 61: Error broken stack #2
49 at function_name(foob.js:20:30 50 at function_name(foob.js:20:30
50 CONSOLE MESSAGE: line 51: Error broken stack #3 51 CONSOLE MESSAGE: line 62: Error broken stack #3
51 at function_name(foob:20.js:30 bla 52 at function_name(foob:20.js:30 bla
52 CONSOLE MESSAGE: line 52: Error broken stack #4 53 CONSOLE MESSAGE: line 63: Error broken stack #4
53 at function_name)foob.js:20:30( 54 at function_name)foob.js:20:30(
54 CONSOLE MESSAGE: line 53: Error broken stack #5 55 CONSOLE MESSAGE: line 64: Error broken stack #5
55 at function_name foob.js:20:30) 56 at function_name foob.js:20:30)
56 CONSOLE MESSAGE: line 54: Error broken stack #6 57 CONSOLE MESSAGE: line 65: Error broken stack #6
57 at foob.js foob.js:40:70 58 at foob.js foob.js:40:70
58 CONSOLE MESSAGE: line 9: Error 59 CONSOLE MESSAGE: line 9: Error
59 at Failure.letsFailWithStack (stack-with-sourceMap.js:19:20) 60 at Failure.letsFailWithStack (stack-with-sourceMap.js:19:20)
60 at <anonymous>:1:1 61 at <anonymous>:1:1
61 Test that console.log(new Error().stack) would linkify links in stacks for sourc eUrls and sourceMaps Bug 424001. 62 Test that console.log(new Error().stack) would linkify links in stacks for sourc eUrls and sourceMaps Bug 424001.
62 63
63 foob.js:5 Error: Some test 64 foob.js:5 Error: Some test
64 at namedFunction (foob.js:5) 65 at namedFunction (foob.js:5)
65 at foob.js:8 console-message-text source-code > console-message-url webkit-h tml-resource-link > webkit-html-resource-link > webkit-html-resource-link 66 at foob.js:8 console-message-text source-code > console-message-url webkit-h tml-resource-link > webkit-html-resource-link > webkit-html-resource-link
66 console-log-linkify-stack-in-errors.html:4 Error: line 67 console-log-linkify-stack-in-errors.html:4 Error: line
67 break 68 break
68 at forStack (console-log-linkify-stack-in-errors.html:4) 69 at forStack (console-log-linkify-stack-in-errors.html:4)
69 at console-log-linkify-stack-in-errors.html:7 console-message-text source-co de > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 70 at console-log-linkify-stack-in-errors.html:7 console-message-text source-co de > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
70 console-log-linkify-stack-in-errors.html:23 TypeError: Cannot read property 'rem oveChild' of null 71 console-log-linkify-stack-in-errors.html:23 TypeError: Cannot read property 'rem oveChild' of null
71 at domError (console-log-linkify-stack-in-errors.html:21) 72 at domError (console-log-linkify-stack-in-errors.html:21)
72 at console-log-linkify-stack-in-errors.html:27 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 73 at console-log-linkify-stack-in-errors.html:27 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
73 console-log-linkify-stack-in-errors.html:29 Error message without stacks http:// www.chromium.org/ console-message-text source-code > console-message-url webkit- html-resource-link > webkit-html-external-link 74 console-log-linkify-stack-in-errors.html:34 Error: some error
74 console-log-linkify-stack-in-errors.html:31 Error valid stack #2 75 at logError (console-log-linkify-stack-in-errors.html:32)
76 at console-log-linkify-stack-in-errors.html:38 console-message-text source-c ode > console-message-url webkit-html-resource-link > object-value-error source- code > object-value-error source-code > webkit-html-resource-link > webkit-htm l-resource-link
77 console-log-linkify-stack-in-errors.html:40 Error message without stacks http:// www.chromium.org/ console-message-text source-code > console-message-url webkit- html-resource-link > webkit-html-external-link
78 console-log-linkify-stack-in-errors.html:42 Error valid stack #2
75 at www.chromium.org/boo.js:40 79 at www.chromium.org/boo.js:40
76 at foo(www.chromium.org/foo.js:10) console-message-text source-code > consol e-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-htm l-resource-link 80 at foo(www.chromium.org/foo.js:10) console-message-text source-code > consol e-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-htm l-resource-link
77 console-log-linkify-stack-in-errors.html:32 Error valid stack #3 81 console-log-linkify-stack-in-errors.html:43 Error valid stack #3
78 at www.chromium.org/foo.js:40 console-message-text source-code > console-mes sage-url webkit-html-resource-link > webkit-html-resource-link 82 at www.chromium.org/foo.js:40 console-message-text source-code > console-mes sage-url webkit-html-resource-link > webkit-html-resource-link
79 console-log-linkify-stack-in-errors.html:33 Error: MyError 83 console-log-linkify-stack-in-errors.html:44 Error: MyError
80 at throwError (www.chromium.org/foo.js:40) 84 at throwError (www.chromium.org/foo.js:40)
81 at eval (eval at <anonymous> (www.chromium.org/foo.js:42), <anonymous>:1:1) 85 at eval (eval at <anonymous> (www.chromium.org/foo.js:42), <anonymous>:1:1)
82 at www.chromium.org/foo.js:239 console-message-text source-code > console-me ssage-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-re source-link > webkit-html-resource-link 86 at www.chromium.org/foo.js:239 console-message-text source-code > console-me ssage-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-re source-link > webkit-html-resource-link
83 console-log-linkify-stack-in-errors.html:13 ReferenceError: valid stack 87 console-log-linkify-stack-in-errors.html:13 ReferenceError: valid stack
84 at stack2 (console-log-linkify-stack-in-errors.html:13) 88 at stack2 (console-log-linkify-stack-in-errors.html:13)
85 at stack1 (console-log-linkify-stack-in-errors.html:15) 89 at stack1 (console-log-linkify-stack-in-errors.html:15)
86 at console-log-linkify-stack-in-errors.html:35 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 90 at console-log-linkify-stack-in-errors.html:46 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
87 console-log-linkify-stack-in-errors.html:13 EvalError: valid stack 91 console-log-linkify-stack-in-errors.html:13 EvalError: valid stack
88 at stack2 (console-log-linkify-stack-in-errors.html:13) 92 at stack2 (console-log-linkify-stack-in-errors.html:13)
89 at stack1 (console-log-linkify-stack-in-errors.html:15) 93 at stack1 (console-log-linkify-stack-in-errors.html:15)
90 at console-log-linkify-stack-in-errors.html:36 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 94 at console-log-linkify-stack-in-errors.html:47 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
91 console-log-linkify-stack-in-errors.html:13 SyntaxError: valid stack 95 console-log-linkify-stack-in-errors.html:13 SyntaxError: valid stack
92 at stack2 (console-log-linkify-stack-in-errors.html:13) 96 at stack2 (console-log-linkify-stack-in-errors.html:13)
93 at stack1 (console-log-linkify-stack-in-errors.html:15) 97 at stack1 (console-log-linkify-stack-in-errors.html:15)
94 at console-log-linkify-stack-in-errors.html:37 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 98 at console-log-linkify-stack-in-errors.html:48 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
95 console-log-linkify-stack-in-errors.html:13 RangeError: valid stack 99 console-log-linkify-stack-in-errors.html:13 RangeError: valid stack
96 at stack2 (console-log-linkify-stack-in-errors.html:13) 100 at stack2 (console-log-linkify-stack-in-errors.html:13)
97 at stack1 (console-log-linkify-stack-in-errors.html:15) 101 at stack1 (console-log-linkify-stack-in-errors.html:15)
98 at console-log-linkify-stack-in-errors.html:38 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 102 at console-log-linkify-stack-in-errors.html:49 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
99 console-log-linkify-stack-in-errors.html:13 TypeError: valid stack 103 console-log-linkify-stack-in-errors.html:13 TypeError: valid stack
100 at stack2 (console-log-linkify-stack-in-errors.html:13) 104 at stack2 (console-log-linkify-stack-in-errors.html:13)
101 at stack1 (console-log-linkify-stack-in-errors.html:15) 105 at stack1 (console-log-linkify-stack-in-errors.html:15)
102 at console-log-linkify-stack-in-errors.html:39 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 106 at console-log-linkify-stack-in-errors.html:50 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
103 console-log-linkify-stack-in-errors.html:13 URIError: valid stack 107 console-log-linkify-stack-in-errors.html:13 URIError: valid stack
104 at stack2 (console-log-linkify-stack-in-errors.html:13) 108 at stack2 (console-log-linkify-stack-in-errors.html:13)
105 at stack1 (console-log-linkify-stack-in-errors.html:15) 109 at stack1 (console-log-linkify-stack-in-errors.html:15)
106 at console-log-linkify-stack-in-errors.html:40 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link 110 at console-log-linkify-stack-in-errors.html:51 console-message-text source-c ode > console-message-url webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-link
107 console-log-linkify-stack-in-errors.html:42 Error broken stack 111 console-log-linkify-stack-in-errors.html:53 Error broken stack
108 at function_name(foob.js foob.js:30:1) 112 at function_name(foob.js foob.js:30:1)
109 at foob.js:40:70 console-message-text source-code > console-message-url webkit- html-resource-link 113 at foob.js:40:70 console-message-text source-code > console-message-url webkit- html-resource-link
110 console-log-linkify-stack-in-errors.html:43 Error broken stack #2 114 console-log-linkify-stack-in-errors.html:54 Error broken stack #2
111 at function_name(foob.js:20:30 console-message-text source-code > console-me ssage-url webkit-html-resource-link 115 at function_name(foob.js:20:30 console-message-text source-code > console-me ssage-url webkit-html-resource-link
112 console-log-linkify-stack-in-errors.html:44 Error broken stack #3 116 console-log-linkify-stack-in-errors.html:55 Error broken stack #3
113 at function_name(foob:20.js:30 bla console-message-text source-code > cons ole-message-url webkit-html-resource-link 117 at function_name(foob:20.js:30 bla console-message-text source-code > cons ole-message-url webkit-html-resource-link
114 console-log-linkify-stack-in-errors.html:45 Error broken stack #4 118 console-log-linkify-stack-in-errors.html:56 Error broken stack #4
115 at function_name)foob.js:20:30( console-message-text source-code > console-m essage-url webkit-html-resource-link 119 at function_name)foob.js:20:30( console-message-text source-code > console-m essage-url webkit-html-resource-link
116 console-log-linkify-stack-in-errors.html:46 Error broken stack #5 120 console-log-linkify-stack-in-errors.html:57 Error broken stack #5
117 at function_name foob.js:20:30) console-message-text source-code > console-m essage-url webkit-html-resource-link 121 at function_name foob.js:20:30) console-message-text source-code > console-m essage-url webkit-html-resource-link
118 console-log-linkify-stack-in-errors.html:47 Error broken stack #6 122 console-log-linkify-stack-in-errors.html:58 Error broken stack #6
119 at foob.js foob.js:40:70 console-message-text source-code > console-message- url webkit-html-resource-link 123 at foob.js foob.js:40:70 console-message-text source-code > console-message- url webkit-html-resource-link
120 stack-with-sourceMap.coffee:3 Error 124 stack-with-sourceMap.coffee:3 Error
121 at Failure.letsFailWithStack (stack-with-sourceMap.coffee:3) 125 at Failure.letsFailWithStack (stack-with-sourceMap.coffee:3)
122 at window.failure (stack-with-sourceMap.coffee:7) 126 at window.failure (stack-with-sourceMap.coffee:7)
123 at <anonymous>:1:1 console-message-text source-code > console-message-url we bkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-lin k 127 at <anonymous>:1:1 console-message-text source-code > console-message-url we bkit-html-resource-link > webkit-html-resource-link > webkit-html-resource-lin k
124 128
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698