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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/js/mozilla/strict/13.1-expected.txt

Issue 2318933007: Fix layout test for redeclaration of arguments. (Closed)
Patch Set: 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 PASS !!Function("'use strict'; function f(x,y) {}") is true 1 PASS !!Function("'use strict'; function f(x,y) {}") is true
2 PASS !!Function("function f(x,y) {}") is true 2 PASS !!Function("function f(x,y) {}") is true
3 PASS true === true 3 PASS true === true
4 PASS Function("'use strict'; function f(x,x) {}") threw exception of type Syntax Error. 4 PASS Function("'use strict'; function f(x,x) {}") threw exception of type Syntax Error.
5 PASS !!Function("function f(x,x) {}") is true 5 PASS !!Function("function f(x,x) {}") is true
6 PASS true === true 6 PASS true === true
7 PASS Function("'use strict'; function f(x,y,z,y) {}") threw exception of type Sy ntaxError. 7 PASS Function("'use strict'; function f(x,y,z,y) {}") threw exception of type Sy ntaxError.
8 PASS !!Function("function f(x,y,z,y) {}") is true 8 PASS !!Function("function f(x,y,z,y) {}") is true
9 PASS true === true 9 PASS true === true
10 PASS Function("'use strict'; function f(a,b,c,d,e,f,g,h,d) {}") threw exception of type SyntaxError. 10 PASS Function("'use strict'; function f(a,b,c,d,e,f,g,h,d) {}") threw exception of type SyntaxError.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 PASS Function("'use strict'; ({set x([eval]){\"use strict\";}})") threw exceptio n of type SyntaxError. 109 PASS Function("'use strict'; ({set x([eval]){\"use strict\";}})") threw exceptio n of type SyntaxError.
110 PASS Function("({set x([eval]){\"use strict\";}})") threw exception of type Synt axError. 110 PASS Function("({set x([eval]){\"use strict\";}})") threw exception of type Synt axError.
111 PASS true === true 111 PASS true === true
112 PASS Function("'use strict'; ({set x({x:eval}){\"use strict\";}})") threw except ion of type SyntaxError. 112 PASS Function("'use strict'; ({set x({x:eval}){\"use strict\";}})") threw except ion of type SyntaxError.
113 PASS Function("({set x({x:eval}){\"use strict\";}})") threw exception of type Sy ntaxError. 113 PASS Function("({set x({x:eval}){\"use strict\";}})") threw exception of type Sy ntaxError.
114 PASS true === true 114 PASS true === true
115 PASS Function("'use strict'; function f(arguments){}") threw exception of type S yntaxError. 115 PASS Function("'use strict'; function f(arguments){}") threw exception of type S yntaxError.
116 PASS !!Function("function f(arguments){}") is true 116 PASS !!Function("function f(arguments){}") is true
117 PASS true === true 117 PASS true === true
118 PASS Function("'use strict'; function f([arguments]){}") threw exception of type SyntaxError. 118 PASS Function("'use strict'; function f([arguments]){}") threw exception of type SyntaxError.
119 PASS Function("function f([arguments]){}") threw exception of type SyntaxError. 119 PASS !!Function("function f([arguments]){}") is true
120 PASS true === true 120 PASS true === true
121 PASS Function("'use strict'; function f({x:arguments}){}") threw exception of ty pe SyntaxError. 121 PASS Function("'use strict'; function f({x:arguments}){}") threw exception of ty pe SyntaxError.
122 PASS Function("function f({x:arguments}){}") threw exception of type SyntaxError . 122 PASS !!Function("function f({x:arguments}){}") is true
123 PASS true === true 123 PASS true === true
124 PASS Function("'use strict'; function arguments(){}") threw exception of type Sy ntaxError. 124 PASS Function("'use strict'; function arguments(){}") threw exception of type Sy ntaxError.
125 PASS !!Function("function arguments(){}") is true 125 PASS !!Function("function arguments(){}") is true
126 PASS true === true 126 PASS true === true
127 PASS Function("'use strict'; function f(arguments){\"use strict\";}") threw exce ption of type SyntaxError. 127 PASS Function("'use strict'; function f(arguments){\"use strict\";}") threw exce ption of type SyntaxError.
128 PASS Function("function f(arguments){\"use strict\";}") threw exception of type SyntaxError. 128 PASS Function("function f(arguments){\"use strict\";}") threw exception of type SyntaxError.
129 PASS true === true 129 PASS true === true
130 PASS Function("'use strict'; function f([arguments]){\"use strict\";}") threw ex ception of type SyntaxError. 130 PASS Function("'use strict'; function f([arguments]){\"use strict\";}") threw ex ception of type SyntaxError.
131 PASS Function("function f([arguments]){\"use strict\";}") threw exception of typ e SyntaxError. 131 PASS Function("function f([arguments]){\"use strict\";}") threw exception of typ e SyntaxError.
132 PASS true === true 132 PASS true === true
133 PASS Function("'use strict'; function f({x:arguments}){\"use strict\";}") threw exception of type SyntaxError. 133 PASS Function("'use strict'; function f({x:arguments}){\"use strict\";}") threw exception of type SyntaxError.
134 PASS Function("function f({x:arguments}){\"use strict\";}") threw exception of t ype SyntaxError. 134 PASS Function("function f({x:arguments}){\"use strict\";}") threw exception of t ype SyntaxError.
135 PASS true === true 135 PASS true === true
136 PASS Function("'use strict'; function arguments(){\"use strict\";}") threw excep tion of type SyntaxError. 136 PASS Function("'use strict'; function arguments(){\"use strict\";}") threw excep tion of type SyntaxError.
137 PASS Function("function arguments(){\"use strict\";}") threw exception of type S yntaxError. 137 PASS Function("function arguments(){\"use strict\";}") threw exception of type S yntaxError.
138 PASS true === true 138 PASS true === true
139 PASS Function("'use strict'; (function f(arguments){})") threw exception of type SyntaxError. 139 PASS Function("'use strict'; (function f(arguments){})") threw exception of type SyntaxError.
140 PASS !!Function("(function f(arguments){})") is true 140 PASS !!Function("(function f(arguments){})") is true
141 PASS true === true 141 PASS true === true
142 PASS Function("'use strict'; (function f([arguments]){})") threw exception of ty pe SyntaxError. 142 PASS Function("'use strict'; (function f([arguments]){})") threw exception of ty pe SyntaxError.
143 PASS Function("(function f([arguments]){})") threw exception of type SyntaxError . 143 PASS !!Function("(function f([arguments]){})") is true
144 PASS true === true 144 PASS true === true
145 PASS Function("'use strict'; (function f({x:arguments}){})") threw exception of type SyntaxError. 145 PASS Function("'use strict'; (function f({x:arguments}){})") threw exception of type SyntaxError.
146 PASS Function("(function f({x:arguments}){})") threw exception of type SyntaxErr or. 146 PASS !!Function("(function f({x:arguments}){})") is true
147 PASS true === true 147 PASS true === true
148 PASS Function("'use strict'; (function arguments(){})") threw exception of type SyntaxError. 148 PASS Function("'use strict'; (function arguments(){})") threw exception of type SyntaxError.
149 PASS !!Function("(function arguments(){})") is true 149 PASS !!Function("(function arguments(){})") is true
150 PASS true === true 150 PASS true === true
151 PASS Function("'use strict'; (function f(arguments){\"use strict\";})") threw ex ception of type SyntaxError. 151 PASS Function("'use strict'; (function f(arguments){\"use strict\";})") threw ex ception of type SyntaxError.
152 PASS Function("(function f(arguments){\"use strict\";})") threw exception of typ e SyntaxError. 152 PASS Function("(function f(arguments){\"use strict\";})") threw exception of typ e SyntaxError.
153 PASS true === true 153 PASS true === true
154 PASS Function("'use strict'; (function f([arguments]){\"use strict\";})") threw exception of type SyntaxError. 154 PASS Function("'use strict'; (function f([arguments]){\"use strict\";})") threw exception of type SyntaxError.
155 PASS Function("(function f([arguments]){\"use strict\";})") threw exception of t ype SyntaxError. 155 PASS Function("(function f([arguments]){\"use strict\";})") threw exception of t ype SyntaxError.
156 PASS true === true 156 PASS true === true
(...skipping 12 matching lines...) Expand all
169 PASS Function("'use strict'; (function f({x:arguments}) 2)") threw exception of type SyntaxError. 169 PASS Function("'use strict'; (function f({x:arguments}) 2)") threw exception of type SyntaxError.
170 PASS Function("(function f({x:arguments}) 2)") threw exception of type SyntaxErr or. 170 PASS Function("(function f({x:arguments}) 2)") threw exception of type SyntaxErr or.
171 PASS true === true 171 PASS true === true
172 PASS Function("'use strict'; (function arguments() 2)") threw exception of type SyntaxError. 172 PASS Function("'use strict'; (function arguments() 2)") threw exception of type SyntaxError.
173 PASS Function("(function arguments() 2)") threw exception of type SyntaxError. 173 PASS Function("(function arguments() 2)") threw exception of type SyntaxError.
174 PASS true === true 174 PASS true === true
175 PASS Function("'use strict'; ({set x(arguments){}})") threw exception of type Sy ntaxError. 175 PASS Function("'use strict'; ({set x(arguments){}})") threw exception of type Sy ntaxError.
176 PASS !!Function("({set x(arguments){}})") is true 176 PASS !!Function("({set x(arguments){}})") is true
177 PASS true === true 177 PASS true === true
178 PASS Function("'use strict'; ({set x([arguments]){}})") threw exception of type SyntaxError. 178 PASS Function("'use strict'; ({set x([arguments]){}})") threw exception of type SyntaxError.
179 PASS Function("({set x([arguments]){}})") threw exception of type SyntaxError. 179 PASS !!Function("({set x([arguments]){}})") is true
180 PASS true === true 180 PASS true === true
181 PASS Function("'use strict'; ({set x({x:arguments}){}})") threw exception of typ e SyntaxError. 181 PASS Function("'use strict'; ({set x({x:arguments}){}})") threw exception of typ e SyntaxError.
182 PASS Function("({set x({x:arguments}){}})") threw exception of type SyntaxError. 182 PASS !!Function("({set x({x:arguments}){}})") is true
183 PASS true === true 183 PASS true === true
184 PASS Function("'use strict'; ({set x(arguments){\"use strict\";}})") threw excep tion of type SyntaxError. 184 PASS Function("'use strict'; ({set x(arguments){\"use strict\";}})") threw excep tion of type SyntaxError.
185 PASS Function("({set x(arguments){\"use strict\";}})") threw exception of type S yntaxError. 185 PASS Function("({set x(arguments){\"use strict\";}})") threw exception of type S yntaxError.
186 PASS true === true 186 PASS true === true
187 PASS Function("'use strict'; ({set x([arguments]){\"use strict\";}})") threw exc eption of type SyntaxError. 187 PASS Function("'use strict'; ({set x([arguments]){\"use strict\";}})") threw exc eption of type SyntaxError.
188 PASS Function("({set x([arguments]){\"use strict\";}})") threw exception of type SyntaxError. 188 PASS Function("({set x([arguments]){\"use strict\";}})") threw exception of type SyntaxError.
189 PASS true === true 189 PASS true === true
190 PASS Function("'use strict'; ({set x({x:arguments}){\"use strict\";}})") threw e xception of type SyntaxError. 190 PASS Function("'use strict'; ({set x({x:arguments}){\"use strict\";}})") threw e xception of type SyntaxError.
191 PASS Function("({set x({x:arguments}){\"use strict\";}})") threw exception of ty pe SyntaxError. 191 PASS Function("({set x({x:arguments}){\"use strict\";}})") threw exception of ty pe SyntaxError.
192 PASS true === true 192 PASS true === true
193 PASS true === true 193 PASS true === true
194 PASS 'use strict'; Function("eval","'use strict';") threw exception of type Synt axError. 194 PASS 'use strict'; Function("eval","'use strict';") threw exception of type Synt axError.
195 PASS Function("eval","'use strict';") threw exception of type SyntaxError. 195 PASS Function("eval","'use strict';") threw exception of type SyntaxError.
196 PASS true === true 196 PASS true === true
197 PASS true === true 197 PASS true === true
198 PASS 'use strict'; Function("arguments","'use strict';") threw exception of type SyntaxError. 198 PASS 'use strict'; Function("arguments","'use strict';") threw exception of type SyntaxError.
199 PASS Function("arguments","'use strict';") threw exception of type SyntaxError. 199 PASS Function("arguments","'use strict';") threw exception of type SyntaxError.
200 PASS true === true 200 PASS true === true
201 PASSED! 201 PASSED!
202 PASS successfullyParsed is true 202 PASS successfullyParsed is true
203 203
204 TEST COMPLETE 204 TEST COMPLETE
205 205
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698