| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
| 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
| 6 # are met: | 6 # are met: |
| 7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
| 10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 | 23 |
| 24 Test numeric escapes in string literals - https://bugs.webkit.org/show_bug.cgi?i
d=51724 | 24 Test numeric escapes in string literals - https://bugs.webkit.org/show_bug.cgi?i
d=51724 |
| 25 | 25 |
| 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 27 | 27 |
| 28 | 28 |
| 29 PASS eval(stringLiteral) is nonStrictResult | 29 PASS eval(stringLiteral) is nonStrictResult |
| 30 PASS eval(stringLiteral) is strictResult | 30 PASS eval(stringLiteral) is strictResult |
| 31 PASS eval(stringLiteral) is nonStrictResult | 31 PASS eval(stringLiteral) is nonStrictResult |
| 32 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 32 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 33 PASS eval(stringLiteral) is nonStrictResult | 33 PASS eval(stringLiteral) is nonStrictResult |
| 34 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 34 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 35 PASS eval(stringLiteral) is nonStrictResult | 35 PASS eval(stringLiteral) is nonStrictResult |
| 36 FAIL eval(stringLiteral) should throw an exception. Was 8. | 36 FAIL eval(stringLiteral) should throw an exception. Was 8. |
| 37 PASS eval(stringLiteral) is nonStrictResult | 37 PASS eval(stringLiteral) is nonStrictResult |
| 38 FAIL eval(stringLiteral) should throw an exception. Was 9. | 38 FAIL eval(stringLiteral) should throw an exception. Was 9. |
| 39 PASS eval(stringLiteral) is nonStrictResult | 39 PASS eval(stringLiteral) is nonStrictResult |
| 40 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 40 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 41 PASS eval(stringLiteral) is nonStrictResult | 41 PASS eval(stringLiteral) is nonStrictResult |
| 42 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 42 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 43 PASS eval(stringLiteral) is nonStrictResult | 43 PASS eval(stringLiteral) is nonStrictResult |
| 44 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 44 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 45 PASS eval(stringLiteral) is nonStrictResult | 45 PASS eval(stringLiteral) is nonStrictResult |
| 46 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 46 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 47 PASS eval(stringLiteral) is nonStrictResult | 47 PASS eval(stringLiteral) is nonStrictResult |
| 48 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 48 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 49 PASS eval(stringLiteral) is nonStrictResult | 49 PASS eval(stringLiteral) is nonStrictResult |
| 50 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 50 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 51 PASS eval(stringLiteral) is nonStrictResult | 51 PASS eval(stringLiteral) is nonStrictResult |
| 52 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 52 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 53 PASS eval(stringLiteral) is nonStrictResult | 53 PASS eval(stringLiteral) is nonStrictResult |
| 54 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 54 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 55 PASS eval(stringLiteral) is nonStrictResult | 55 PASS eval(stringLiteral) is nonStrictResult |
| 56 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 56 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 57 PASS eval(stringLiteral) is nonStrictResult | 57 PASS eval(stringLiteral) is nonStrictResult |
| 58 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 58 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 59 PASS eval(stringLiteral) is nonStrictResult | 59 PASS eval(stringLiteral) is nonStrictResult |
| 60 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 60 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 61 PASS eval(stringLiteral) is nonStrictResult | 61 PASS eval(stringLiteral) is nonStrictResult |
| 62 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not all
owed in strict mode.. | 62 PASS eval(stringLiteral) threw exception SyntaxError: Octal escape sequences are
not allowed in strict mode.. |
| 63 PASS eval(stringLiteral) is nonStrictResult | 63 PASS eval(stringLiteral) is nonStrictResult |
| 64 FAIL eval(stringLiteral) should throw an exception. Was 99. | 64 FAIL eval(stringLiteral) should throw an exception. Was 99. |
| 65 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
| 66 | 66 |
| 67 TEST COMPLETE | 67 TEST COMPLETE |
| 68 | 68 |
| OLD | NEW |