Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 228 chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2: FAIL_OK | 228 chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2: FAIL_OK |
| 229 chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1: FAIL_OK | 229 chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1: FAIL_OK |
| 230 chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2: FAIL_OK | 230 chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2: FAIL_OK |
| 231 chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1: FAIL_OK | 231 chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1: FAIL_OK |
| 232 chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2: FAIL_OK | 232 chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2: FAIL_OK |
| 233 chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1: FAIL_OK | 233 chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1: FAIL_OK |
| 234 chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2: FAIL_OK | 234 chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2: FAIL_OK |
| 235 chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1: FAIL_OK | 235 chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1: FAIL_OK |
| 236 chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2: FAIL_OK | 236 chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2: FAIL_OK |
| 237 | 237 |
| 238 ############################################################################## | |
| 239 # Unimplemented parts of strict mode | |
| 240 # Setting expectations to fail only so that the tests trigger as soon as | |
| 241 # the strict mode feature gets implemented | |
| 242 | |
| 243 # A directive preceeding an 'use strict' directive may not contain an OctalEscap eSequence | |
| 244 # Incorrect test - need double escape in eval. | |
| 245 chapter07/7.8/7.8.4/7.8.4-1-s: FAIL | |
| 246 | |
| 247 # this is not coerced to an object in strict mode (Number) | |
| 248 chapter10/10.4/10.4.3/10.4.3-1-1-s: FAIL | |
| 249 # this is not coerced to an object in strict mode (string) | |
| 250 chapter10/10.4/10.4.3/10.4.3-1-2-s: FAIL | |
| 251 # this is not coerced to an object in strict mode (undefined) | |
| 252 chapter10/10.4/10.4.3/10.4.3-1-3-s: FAIL | |
| 253 # this is not coerced to an object in strict mode (boolean) | |
| 254 chapter10/10.4/10.4.3/10.4.3-1-4-s: FAIL | |
| 255 | |
| 256 # arguments[i] remains same after changing actual parameters in strict mode | |
| 257 chapter10/10.6/10.6-10-c-ii-1-s: FAIL | |
| 258 # arguments[i] doesn't map to actual parameters in strict mode | |
| 259 chapter10/10.6/10.6-10-c-ii-2-s: FAIL | |
| 260 | |
| 261 # Accessing caller property of Arguments object throws TypeError in strict mode | |
| 262 chapter10/10.6/10.6-13-b-1-s: FAIL | |
| 263 # arguments.caller exists in strict mode | |
| 264 chapter10/10.6/10.6-13-b-2-s: FAIL | |
| 265 # arguments.caller is non-configurable in strict mode | |
| 266 chapter10/10.6/10.6-13-b-3-s: FAIL | |
| 267 # Accessing callee property of Arguments object throws TypeError in strict mode | |
| 268 chapter10/10.6/10.6-13-c-1-s: FAIL | |
| 269 # arguments.callee is non-configurable in strict mode | |
| 270 chapter10/10.6/10.6-13-c-3-s: FAIL | |
| 271 | |
| 272 # simple assignment throws ReferenceError if LeftHandSide is an unresolvable ref erence in strict mode | |
| 273 chapter11/11.13/11.13.1/11.13.1-1-5-s: FAIL | |
| 274 # simple assignment throws TypeError if LeftHandSide is a property reference wit h a primitive base value (this is undefined) | |
| 275 chapter11/11.13/11.13.1/11.13.1-1-7-s: FAIL | |
| 276 | |
| 277 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Global.NaN) | |
| 278 chapter11/11.13/11.13.1/11.13.1-4-2-s: FAIL | |
| 279 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Global.Infinity) | |
| 280 chapter11/11.13/11.13.1/11.13.1-4-3-s: FAIL | |
| 281 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Global.length) | |
| 282 chapter11/11.13/11.13.1/11.13.1-4-4-s: FAIL | |
| 283 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Object.length) | |
| 284 chapter11/11.13/11.13.1/11.13.1-4-5-s: FAIL | |
| 285 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Function.length) | |
| 286 chapter11/11.13/11.13.1/11.13.1-4-6-s: FAIL | |
| 287 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Array.length) | |
| 288 chapter11/11.13/11.13.1/11.13.1-4-7-s: FAIL | |
| 289 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (String.length) | |
| 290 chapter11/11.13/11.13.1/11.13.1-4-8-s: FAIL | |
| 291 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Boolean.length) | |
| 292 chapter11/11.13/11.13.1/11.13.1-4-9-s: FAIL | |
| 293 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.length) | |
| 294 chapter11/11.13/11.13.1/11.13.1-4-10-s: FAIL | |
| 295 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Date.length) | |
| 296 chapter11/11.13/11.13.1/11.13.1-4-11-s: FAIL | |
| 297 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (RegExp.length) | |
| 298 chapter11/11.13/11.13.1/11.13.1-4-12-s: FAIL | |
| 299 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Error.length) | |
| 300 chapter11/11.13/11.13.1/11.13.1-4-13-s: FAIL | |
| 301 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.MAX_VALUE) | |
| 302 chapter11/11.13/11.13.1/11.13.1-4-14-s: FAIL | |
| 303 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.MIN_VALUE) | |
| 304 chapter11/11.13/11.13.1/11.13.1-4-15-s: FAIL | |
| 305 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.NaN) | |
| 306 chapter11/11.13/11.13.1/11.13.1-4-16-s: FAIL | |
| 307 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.NEGATIVE_INFINITY) | |
| 308 chapter11/11.13/11.13.1/11.13.1-4-17-s: FAIL | |
| 309 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Number.POSITIVE_INFINITY) | |
| 310 chapter11/11.13/11.13.1/11.13.1-4-18-s: FAIL | |
| 311 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.E) | |
| 312 chapter11/11.13/11.13.1/11.13.1-4-19-s: FAIL | |
| 313 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.LN10) | |
| 314 chapter11/11.13/11.13.1/11.13.1-4-20-s: FAIL | |
| 315 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.LN2) | |
| 316 chapter11/11.13/11.13.1/11.13.1-4-21-s: FAIL | |
| 317 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.LOG2E) | |
| 318 chapter11/11.13/11.13.1/11.13.1-4-22-s: FAIL | |
| 319 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.LOG10E) | |
| 320 chapter11/11.13/11.13.1/11.13.1-4-23-s: FAIL | |
| 321 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.PI) | |
| 322 chapter11/11.13/11.13.1/11.13.1-4-24-s: FAIL | |
| 323 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.SQRT1_2) | |
| 324 chapter11/11.13/11.13.1/11.13.1-4-25-s: FAIL | |
| 325 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Math.SQRT2) | |
| 326 chapter11/11.13/11.13.1/11.13.1-4-26-s: FAIL | |
| 327 # simple assignment throws TypeError if LeftHandSide is a readonly property in s trict mode (Global.undefined) | |
| 328 chapter11/11.13/11.13.1/11.13.1-4-27-s: FAIL | |
| 329 | |
| 330 # delete operator throws TypeError when deleting a non-configurable data propert y in strict mode | |
| 331 chapter11/11.4/11.4.1/11.4.1-4.a-3-s: FAIL | |
| 332 # delete operator throws TypeError when when deleting a non-configurable data pr operty in strict mode (Global.NaN) | |
| 333 chapter11/11.4/11.4.1/11.4.1-4.a-4-s: FAIL | |
| 334 # delete operator throws TypeError when deleting a non-configurable data propert y in strict mode (Math.LN2) | |
| 335 chapter11/11.4/11.4.1/11.4.1-4.a-9-s: FAIL | |
| 336 | |
| 337 # delete operator throws ReferenceError when deleting a direct reference to a va r in strict mode | |
| 338 chapter11/11.4/11.4.1/11.4.1-5-1-s: FAIL | |
| 339 # delete operator throws ReferenceError when deleting a direct reference to a fu nction argument in strict mode | |
| 340 chapter11/11.4/11.4.1/11.4.1-5-2-s: FAIL | |
| 341 # delete operator throws ReferenceError when deleting a direct reference to a fu nction name in strict mode | |
| 342 chapter11/11.4/11.4.1/11.4.1-5-3-s: FAIL | |
| 343 # delete operator throws SyntaxError when deleting a direct reference to a funct ion argument(object) in strict mode | |
| 344 chapter11/11.4/11.4.1/11.4.1-5-4-s: FAIL | |
| 345 | |
| 346 # eval - a function declaring a var named 'eval' throws EvalError in strict mode | |
| 347 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 348 chapter12/12.2/12.2.1/12.2.1-1-s: FAIL | |
| 349 # eval - a function assigning into 'eval' throws EvalError in strict mode | |
| 350 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 351 chapter12/12.2/12.2.1/12.2.1-2-s: FAIL | |
| 352 # eval - a function expr declaring a var named 'eval' throws EvalError in strict mode | |
| 353 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 354 chapter12/12.2/12.2.1/12.2.1-3-s: FAIL | |
| 355 # eval - a function expr assigning into 'eval' throws a EvalError in strict mode | |
| 356 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 357 chapter12/12.2/12.2.1/12.2.1-4-s: FAIL | |
| 358 # eval - a Function declaring var named 'eval' throws EvalError in strict mode | |
| 359 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 360 chapter12/12.2/12.2.1/12.2.1-5-s: FAIL | |
| 361 # eval - a Function assigning into 'eval' throws EvalError in strict mode | |
| 362 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 363 chapter12/12.2/12.2.1/12.2.1-6-s: FAIL | |
| 364 # eval - a direct eval declaring a var named 'eval' throws EvalError in strict m ode | |
| 365 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 366 chapter12/12.2/12.2.1/12.2.1-7-s: FAIL | |
| 367 # eval - a direct eval assigning into 'eval' throws EvalError in strict mode | |
| 368 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 369 chapter12/12.2/12.2.1/12.2.1-8-s: FAIL | |
| 370 # eval - an indirect eval declaring a var named 'eval' throws EvalError in stric t mode | |
| 371 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 372 chapter12/12.2/12.2.1/12.2.1-9-s: FAIL | |
| 373 # eval - an indirect eval assigning into 'eval' throws EvalError in strict mode | |
| 374 # EvalError - incorrect test (SyntaxError should be expected instead of EvalErro r) | |
| 375 chapter12/12.2/12.2.1/12.2.1-10-s: FAIL | |
| 376 | |
| 377 # SyntaxError if eval used as function identifier in function declaration with s trict body | |
| 378 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 379 chapter13/13.1/13.1-3-3-s: FAIL | |
| 380 # SyntaxError if eval used as function identifier in function expression with st rict body | |
| 381 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 382 chapter13/13.1/13.1-3-4-s: FAIL | |
| 383 # SyntaxError if eval used as function identifier in function declaration in str ict code | |
| 384 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 385 chapter13/13.1/13.1-3-5-s: FAIL | |
| 386 # SyntaxError if eval used as function identifier in function expression in stri ct code | |
| 387 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 388 chapter13/13.1/13.1-3-6-s: FAIL | |
| 389 # SyntaxError if arguments used as function identifier in function declaration w ith strict body | |
| 390 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 391 chapter13/13.1/13.1-3-9-s: FAIL | |
| 392 # SyntaxError if arguments used as function identifier in function expression wi th strict body | |
| 393 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 394 chapter13/13.1/13.1-3-10-s: FAIL | |
| 395 # SyntaxError if arguments used as function identifier in function declaration i n strict code | |
| 396 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
| 397 chapter13/13.1/13.1-3-11-s: FAIL | |
| 398 # SyntaxError if arguments used as function identifier in function expression in strict code | |
| 399 # test uses implicit return (which doesn't seem to work in v8 or safari jsc) | |
|
Lasse Reichstein
2011/02/07 08:27:18
I think it's because the test was originally writt
Martin Maly
2011/02/07 16:50:14
Done.
| |
| 400 chapter13/13.1/13.1-3-12-s: FAIL | |
| 401 | |
| 402 # 'use strict' directive - correct usage | |
| 403 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 404 chapter14/14.1/14.1-1-s: FAIL | |
| 405 # "use strict" directive - correct usage double quotes | |
| 406 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 407 chapter14/14.1/14.1-2-s: FAIL | |
| 408 # 'use strict' directive - may follow other directives | |
| 409 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 410 chapter14/14.1/14.1-8-s: FAIL | |
| 411 # 'use strict' directive - may occur multiple times | |
| 412 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 413 chapter14/14.1/14.1-9-s: FAIL | |
| 414 # other directives - may follow 'use strict' directive | |
| 415 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 416 chapter14/14.1/14.1-10-s: FAIL | |
| 417 # comments may preceed 'use strict' directive | |
| 418 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 419 chapter14/14.1/14.1-11-s: FAIL | |
| 420 # comments may follow 'use strict' directive | |
| 421 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 422 chapter14/14.1/14.1-12-s: FAIL | |
| 423 # semicolon insertion works for'use strict' directive | |
| 424 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 425 chapter14/14.1/14.1-13-s: FAIL | |
| 426 # semicolon insertion may come before 'use strict' directive | |
| 427 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 428 chapter14/14.1/14.1-14-s: FAIL | |
| 429 # blank lines may come before 'use strict' directive | |
| 430 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 431 chapter14/14.1/14.1-15-s: FAIL | |
| 432 | |
| 433 # Duplicate combined parameter name allowed in Function constructor called in st rict mode if body not strict | |
| 434 # Invalid test case per ECMA-262 5th Edition, 10.1.1, bullet 4 | |
|
Lasse Reichstein
2011/02/07 08:27:18
The test seems correct to me.
The Function call cr
Martin Maly
2011/02/07 16:50:14
Actually, the reason is same as above. On success,
| |
| 435 chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL | |
| 436 | |
| 437 # Array.prototype.every - thisArg not passed to strict callbackfn | |
| 438 chapter15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s: FAIL | |
| 439 # Array.prototype.some - thisArg not passed to strict callbackfn | |
| 440 chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s: FAIL | |
| 441 # Array.prototype.forEach - thisArg not passed to strict callbackfn | |
| 442 chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1-s: FAIL | |
| 443 # Array.prototype.map - thisArg not passed to strict callbackfn | |
| 444 chapter15/15.4/15.4.4/15.4.4.19/15.4.4.19-5-1-s: FAIL | |
| 445 # Array.prototype.filter - thisArg not passed to strict callbackfn | |
| 446 chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1-s: FAIL | |
| 447 # Array.prototype.reduce - null passed as thisValue to strict callbackfn | |
| 448 chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL | |
| 449 | |
| 238 [ $arch == mips ] | 450 [ $arch == mips ] |
| 239 | 451 |
| 240 # Skip all tests on MIPS. | 452 # Skip all tests on MIPS. |
| 241 *: SKIP | 453 *: SKIP |
| OLD | NEW |