Changeset 158014 in webkit
- Timestamp:
- Oct 25, 2013 10:13:16 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 207 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r157997 r158014 1 2013-10-25 Oliver Hunt <oliver@apple.com> 2 3 Improve JSC Parser error messages 4 https://bugs.webkit.org/show_bug.cgi?id=123341 5 6 Reviewed by Andreas Kling. 7 8 Update a vast array of layout test results 9 10 * fast/events/window-onerror5-expected.txt: 11 * js/basic-strict-mode-expected.txt: 12 * js/break-ASI-expected.txt: 13 * js/dom/assign-expected.txt: 14 * js/dom/object-extra-comma-expected.txt: 15 * js/dom/parse-error-external-script-in-eval-expected.txt: 16 * js/dom/parse-error-external-script-in-new-Function-expected.txt: 17 * js/dom/reserved-words-as-property-expected.txt: 18 * js/function-constructor-error-expected.txt: 19 * js/function-declaration-expected.txt: 20 * js/function-toString-object-literals-expected.txt: 21 * js/function-toString-parentheses-expected.txt: 22 * js/js-continue-break-restrictions-expected.txt: 23 * js/kde/garbage-n-expected.txt: 24 * js/kde/parse-expected.txt: 25 * js/no-semi-insertion-at-end-of-script-expected.txt: 26 * js/object-literal-syntax-expected.txt: 27 * js/parser-xml-close-comment-expected.txt: 28 * js/regexp-compile-crash-expected.txt: 29 * js/script-tests/function-constructor-error.js: 30 * js/script-tests/reserved-words-strict.js: 31 (isReserved): 32 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt: 33 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt: 34 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt: 35 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt: 36 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt: 37 * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt: 38 * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt: 39 * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt: 40 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt: 41 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt: 42 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt: 43 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt: 44 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt: 45 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt: 46 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt: 47 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt: 48 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt: 49 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt: 50 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt: 51 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt: 52 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt: 53 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt: 54 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt: 55 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt: 56 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt: 57 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt: 58 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt: 59 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt: 60 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt: 61 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt: 62 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt: 63 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt: 64 * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt: 65 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt: 66 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt: 67 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt: 68 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt: 69 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt: 70 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt: 71 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt: 72 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt: 73 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt: 74 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt: 75 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt: 76 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt: 77 * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt: 78 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt: 79 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt: 80 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt: 81 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt: 82 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt: 83 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt: 84 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt: 85 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt: 86 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt: 87 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt: 88 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt: 89 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt: 90 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt: 91 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt: 92 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt: 93 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt: 94 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt: 95 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt: 96 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt: 97 * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt: 98 * sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt: 99 * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt: 100 * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt: 101 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt: 102 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt: 103 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt: 104 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt: 105 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt: 106 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt: 107 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt: 108 * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt: 109 * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt: 110 * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt: 111 * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt: 112 * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt: 113 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt: 114 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt: 115 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt: 116 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt: 117 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt: 118 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt: 119 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt: 120 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt: 121 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt: 122 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt: 123 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt: 124 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt: 125 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt: 126 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt: 127 * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt: 128 * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt: 129 * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt: 130 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt: 131 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt: 132 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt: 133 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt: 134 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt: 135 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt: 136 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt: 137 * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt: 138 * sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt: 139 * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt: 140 * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt: 141 * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt: 142 * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt: 143 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt: 144 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt: 145 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt: 146 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt: 147 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt: 148 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt: 149 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt: 150 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt: 151 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt: 152 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt: 153 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt: 154 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt: 155 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt: 156 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt: 157 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt: 158 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt: 159 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt: 160 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt: 161 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt: 162 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt: 163 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt: 164 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt: 165 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt: 166 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt: 167 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt: 168 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt: 169 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt: 170 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt: 171 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt: 172 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt: 173 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt: 174 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt: 175 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt: 176 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt: 177 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt: 178 * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt: 179 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt: 180 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt: 181 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt: 182 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt: 183 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt: 184 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt: 185 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt: 186 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt: 187 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt: 188 * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt: 189 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt: 190 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt: 191 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt: 192 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt: 193 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt: 194 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt: 195 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt: 196 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt: 197 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt: 198 * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt: 199 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt: 200 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt: 201 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt: 202 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt: 203 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt: 204 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt: 205 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt: 206 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt: 207 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt: 208 * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt: 209 * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.1_eval/S15.1.2.1_A2_T2-expected.txt: 210 * sputnik/Conformance/15_Native_Objects/15.3_Function/15.3.4/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1-expected.txt: 211 1 212 2013-10-25 Manuel Rego Casasnovas <rego@igalia.com> 2 213 -
trunk/LayoutTests/fast/events/window-onerror5-expected.txt
r153669 r158014 1 1 Test that window.onerror is invoked for syntax error in eval. You should see a log record if window.onerror is working properly for this test.Bug 8519. 2 2 3 Error caught successfully: SyntaxError: Unexpected EOFFile: window-onerror5.html Line: 16 Column: 93 Error caught successfully: SyntaxError: Unexpected end of script File: window-onerror5.html Line: 16 Column: 9 4 4 -
trunk/LayoutTests/fast/regex/dom/non-pattern-characters-expected.txt
r156066 r158014 34 34 35 35 Testing regexp: [invalid \ variations] 36 PASS /\/ threw exception SyntaxError: Unexpected token '/'. 37 PASS /a\/ threw exception SyntaxError: Unexpected token '/'. 36 PASS /\/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 37 PASS /a\/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 38 38 39 39 Testing regexp: /./ … … 81 81 82 82 Testing regexp: [invalid [ variations] 83 PASS /[/ threw exception SyntaxError: Unexpected token '/'. 84 PASS /a[/ threw exception SyntaxError: Unexpected token '/'. 83 PASS /[/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 84 PASS /a[/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 85 85 PASS /[b-a]/ threw exception SyntaxError: Invalid regular expression: range out of order in character class. 86 86 PASS /a[b-a]/ threw exception SyntaxError: Invalid regular expression: range out of order in character class. -
trunk/LayoutTests/http/tests/workers/shared-worker-importScripts-expected.txt
r89257 r158014 28 28 PASS: some resources were loaded despite the network error 29 29 Loaded resource 1 30 PASS: Threw SyntaxError: Expected an identifier but found 'syntax' insteadwhen encountering a syntax error in imported script30 PASS: Threw SyntaxError: Unexpected identifier 'syntax' when encountering a syntax error in imported script 31 31 PASS: some resources were loaded despite the presence of a syntax error 32 32 Testing multiple arguments, with first resource throwing an exception: -
trunk/LayoutTests/http/tests/workers/worker-importScripts-expected.txt
r89257 r158014 28 28 PASS: some resources were loaded despite the network error 29 29 Loaded resource 1 30 PASS: Threw SyntaxError: Expected an identifier but found 'syntax' insteadwhen encountering a syntax error in imported script30 PASS: Threw SyntaxError: Unexpected identifier 'syntax' when encountering a syntax error in imported script 31 31 PASS: some resources were loaded despite the presence of a syntax error 32 32 Testing multiple arguments, with first resource throwing an exception: -
trunk/LayoutTests/js/basic-strict-mode-expected.txt
r153221 r158014 25 25 PASS testThisBracketAccess.call(1, 'length') is undefined. 26 26 PASS Function('"use strict"; return this;')() is undefined. 27 PASS Function('"use strict"; with({});') threw exception SyntaxError: 'with' statements are not valid in strict mode. 27 PASS Function('"use strict"; with({});') threw exception SyntaxError: 'with' statements are not valid in strict mode.. 28 28 PASS testGlobalAccess() is undefined 29 29 PASS testThis.call() is undefined … … 31 31 PASS testThis.call(undefined) is undefined 32 32 PASS testThis.apply(undefined) is undefined 33 PASS (function eval(){'use strict';}) threw exception SyntaxError: Unexpected token '}'.34 PASS (function(){(function eval(){'use strict';})}) threw exception SyntaxError: Unexpected token '}'.35 PASS (function (eval){'use strict';}) threw exception SyntaxError: Unexpected token '}'.36 PASS (function(){(function (eval){'use strict';})}) threw exception SyntaxError: Unexpected token '}'.37 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Unexpected token '}'.38 PASS (function(){(function arguments(){'use strict';})}) threw exception SyntaxError: Unexpected token '}'.39 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Unexpected token '}'.40 PASS (function(){(function (arguments){'use strict';})}) threw exception SyntaxError: Unexpected token '}'.41 PASS (function (){'use strict'; var eval;}) threw exception SyntaxError: Cannot declare a variable named 'eval'in strict mode..42 PASS (function(){(function (){'use strict'; var eval;})}) threw exception SyntaxError: Cannot declare a variable named 'eval'in strict mode..43 PASS (function (){'use strict'; var arguments;}) threw exception SyntaxError: Cannot declare a variable named 'arguments'in strict mode..44 PASS (function(){(function (){'use strict'; var arguments;})}) threw exception SyntaxError: Cannot declare a variable named 'arguments'in strict mode..45 PASS (function (){'use strict'; try{}catch(eval){}}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.46 PASS (function(){(function (){'use strict'; try{}catch(eval){}})}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.47 PASS (function (){'use strict'; try{}catch(arguments){}}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.48 PASS (function(){(function (){'use strict'; try{}catch(arguments){}})}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.49 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Unexpected token '}'.50 PASS (function(){(function (a, a){'use strict';})}) threw exception SyntaxError: Unexpected token '}'.51 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 52 PASS (function(){(function (a){'use strict'; delete a;})()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 53 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 54 PASS (function(){(function (){'use strict'; var a; delete a;})()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 55 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 56 PASS (function(){(function (){var a; function f() {'use strict'; delete a;} })()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 57 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: 'with' statements are not valid in strict mode. 58 PASS (function(){(function (){'use strict'; with(1){};})}) threw exception SyntaxError: 'with' statements are not valid in strict mode. 33 PASS (function eval(){'use strict';}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.. 34 PASS (function(){(function eval(){'use strict';})}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.. 35 PASS (function (eval){'use strict';}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.. 36 PASS (function(){(function (eval){'use strict';})}) threw exception SyntaxError: Cannot declare a variable named 'eval' in strict mode.. 37 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.. 38 PASS (function(){(function arguments(){'use strict';})}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.. 39 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.. 40 PASS (function(){(function (arguments){'use strict';})}) threw exception SyntaxError: Cannot declare a variable named 'arguments' in strict mode.. 41 PASS (function (){'use strict'; var eval;}) threw exception SyntaxError: Cannot declare a variable named eval in strict mode.. 42 PASS (function(){(function (){'use strict'; var eval;})}) threw exception SyntaxError: Cannot declare a variable named eval in strict mode.. 43 PASS (function (){'use strict'; var arguments;}) threw exception SyntaxError: Cannot declare a variable named arguments in strict mode.. 44 PASS (function(){(function (){'use strict'; var arguments;})}) threw exception SyntaxError: Cannot declare a variable named arguments in strict mode.. 45 PASS (function (){'use strict'; try{}catch(eval){}}) threw exception SyntaxError: Cannot declare a catch variable named 'eval' in strict mode.. 46 PASS (function(){(function (){'use strict'; try{}catch(eval){}})}) threw exception SyntaxError: Cannot declare a catch variable named 'eval' in strict mode.. 47 PASS (function (){'use strict'; try{}catch(arguments){}}) threw exception SyntaxError: Cannot declare a catch variable named 'arguments' in strict mode.. 48 PASS (function(){(function (){'use strict'; try{}catch(arguments){}})}) threw exception SyntaxError: Cannot declare a catch variable named 'arguments' in strict mode.. 49 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Invalid parameters or function name in strict mode.. 50 PASS (function(){(function (a, a){'use strict';})}) threw exception SyntaxError: Invalid parameters or function name in strict mode.. 51 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 52 PASS (function(){(function (a){'use strict'; delete a;})()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 53 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 54 PASS (function(){(function (){'use strict'; var a; delete a;})()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 55 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 56 PASS (function(){(function (){var a; function f() {'use strict'; delete a;} })()}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 57 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: 'with' statements are not valid in strict mode.. 58 PASS (function(){(function (){'use strict'; with(1){};})}) threw exception SyntaxError: 'with' statements are not valid in strict mode.. 59 59 PASS (function (){'use strict'; arguments.callee; })() threw exception TypeError: Type error. 60 60 PASS (function (){'use strict'; arguments.caller; })() threw exception TypeError: Type error. … … 73 73 PASS "arguments" in function(){"use strict"} is true 74 74 PASS (function(){"use strict";}).hasOwnProperty("arguments") is true 75 PASS 'use strict'; (function (){with(1){};}) threw exception SyntaxError: 'with' statements are not valid in strict mode. 76 PASS (function(){'use strict'; (function (){with(1){};})}) threw exception SyntaxError: 'with' statements are not valid in strict mode. 77 PASS 'use strict'; (function (){var a; delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 78 PASS (function(){'use strict'; (function (){var a; delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 79 PASS 'use strict'; var a; (function (){ delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 80 PASS (function(){'use strict'; var a; (function (){ delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 81 PASS var a; (function (){ 'use strict'; delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 82 PASS (function(){var a; (function (){ 'use strict'; delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode. 83 PASS 'misc directive'; 'use strict'; with({}){} threw exception SyntaxError: 'with' statements are not valid in strict mode. 84 PASS (function(){'misc directive'; 'use strict'; with({}){}}) threw exception SyntaxError: 'with' statements are not valid in strict mode. 85 PASS 'use strict'; return threw exception SyntaxError: Return statements are only valid inside functions. 86 PASS 'use strict'; break threw exception SyntaxError: 'break' is only valid inside a switch or loop statement. 87 PASS (function(){'use strict'; break}) threw exception SyntaxError: 'break' is only valid inside a switch or loop statement. 88 PASS 'use strict'; continue threw exception SyntaxError: 'continue' is only valid inside a loop statement. 89 PASS (function(){'use strict'; continue}) threw exception SyntaxError: 'continue' is only valid inside a loop statement. 90 PASS 'use strict'; for(;;)return threw exception SyntaxError: Return statements are only valid inside functions. 91 PASS 'use strict'; for(;;)break missingLabel threw exception SyntaxError: Label 'missingLabel' is not defined.92 PASS (function(){'use strict'; for(;;)break missingLabel}) threw exception SyntaxError: Label 'missingLabel' is not defined.93 PASS 'use strict'; for(;;)continue missingLabel threw exception SyntaxError: Label 'missingLabel' is not defined.94 PASS (function(){'use strict'; for(;;)continue missingLabel}) threw exception SyntaxError: Label 'missingLabel' is not defined.75 PASS 'use strict'; (function (){with(1){};}) threw exception SyntaxError: 'with' statements are not valid in strict mode.. 76 PASS (function(){'use strict'; (function (){with(1){};})}) threw exception SyntaxError: 'with' statements are not valid in strict mode.. 77 PASS 'use strict'; (function (){var a; delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 78 PASS (function(){'use strict'; (function (){var a; delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 79 PASS 'use strict'; var a; (function (){ delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 80 PASS (function(){'use strict'; var a; (function (){ delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 81 PASS var a; (function (){ 'use strict'; delete a;}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 82 PASS (function(){var a; (function (){ 'use strict'; delete a;})}) threw exception SyntaxError: Cannot delete unqualified property 'a' in strict mode.. 83 PASS 'misc directive'; 'use strict'; with({}){} threw exception SyntaxError: 'with' statements are not valid in strict mode.. 84 PASS (function(){'misc directive'; 'use strict'; with({}){}}) threw exception SyntaxError: 'with' statements are not valid in strict mode.. 85 PASS 'use strict'; return threw exception SyntaxError: Return statements are only valid inside functions.. 86 PASS 'use strict'; break threw exception SyntaxError: 'break' is only valid inside a switch or loop statement.. 87 PASS (function(){'use strict'; break}) threw exception SyntaxError: 'break' is only valid inside a switch or loop statement.. 88 PASS 'use strict'; continue threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 89 PASS (function(){'use strict'; continue}) threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 90 PASS 'use strict'; for(;;)return threw exception SyntaxError: Return statements are only valid inside functions.. 91 PASS 'use strict'; for(;;)break missingLabel threw exception SyntaxError: Cannot use the undeclared label 'missingLabel'.. 92 PASS (function(){'use strict'; for(;;)break missingLabel}) threw exception SyntaxError: Cannot use the undeclared label 'missingLabel'.. 93 PASS 'use strict'; for(;;)continue missingLabel threw exception SyntaxError: Cannot use the undeclared label 'missingLabel'.. 94 PASS (function(){'use strict'; for(;;)continue missingLabel}) threw exception SyntaxError: Cannot use the undeclared label 'missingLabel'.. 95 95 PASS 'use strict'; 007; threw exception SyntaxError: Octal escapes are forbidden in strict mode. 96 96 PASS (function(){'use strict'; 007;}) threw exception SyntaxError: Octal escapes are forbidden in strict mode. … … 99 99 PASS '\007'; 'use strict'; threw exception SyntaxError: The only valid numeric escape in strict mode is '\0'. 100 100 PASS (function(){'\007'; 'use strict';}) threw exception SyntaxError: The only valid numeric escape in strict mode is '\0'. 101 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Cannot delete unqualified property 'aDeletableProperty' in strict mode. 102 PASS (function(){'use strict'; delete aDeletableProperty;}) threw exception SyntaxError: Cannot delete unqualified property 'aDeletableProperty' in strict mode. 103 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode. 104 PASS (function(){'use strict'; (function (){ delete someDeclaredGlobal;})}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode. 105 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode. 106 PASS (function(){(function (){ 'use strict'; delete someDeclaredGlobal;})}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode. 101 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Cannot delete unqualified property 'aDeletableProperty' in strict mode.. 102 PASS (function(){'use strict'; delete aDeletableProperty;}) threw exception SyntaxError: Cannot delete unqualified property 'aDeletableProperty' in strict mode.. 103 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode.. 104 PASS (function(){'use strict'; (function (){ delete someDeclaredGlobal;})}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode.. 105 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode.. 106 PASS (function(){(function (){ 'use strict'; delete someDeclaredGlobal;})}) threw exception SyntaxError: Cannot delete unqualified property 'someDeclaredGlobal' in strict mode.. 107 107 PASS 'use strict'; if (0) { someGlobal = 'Shouldn\'t be able to assign this.'; }; true; is true 108 108 PASS 'use strict'; someGlobal = 'Shouldn\'t be able to assign this.'; threw exception ReferenceError: Can't find variable: someGlobal. … … 112 112 PASS 'use strict'; delete objectWithReadonlyProperty.prop threw exception TypeError: Unable to delete property.. 113 113 PASS 'use strict'; delete objectWithReadonlyProperty[readonlyPropName] threw exception TypeError: Unable to delete property.. 114 PASS 'use strict'; ++eval threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.115 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.116 PASS 'use strict'; eval++ threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.117 PASS (function(){'use strict'; eval++}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.118 PASS 'use strict'; --eval threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.119 PASS (function(){'use strict'; --eval}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.120 PASS 'use strict'; eval-- threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.121 PASS (function(){'use strict'; eval--}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.122 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.123 PASS (function(){'use strict'; function f() { ++arguments }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.124 PASS 'use strict'; function f() { arguments++ } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.125 PASS (function(){'use strict'; function f() { arguments++ }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.126 PASS 'use strict'; function f() { --arguments } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.127 PASS (function(){'use strict'; function f() { --arguments }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.128 PASS 'use strict'; function f() { arguments-- } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.129 PASS (function(){'use strict'; function f() { arguments-- }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.130 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.114 PASS 'use strict'; ++eval threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 115 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 116 PASS 'use strict'; eval++ threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 117 PASS (function(){'use strict'; eval++}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 118 PASS 'use strict'; --eval threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 119 PASS (function(){'use strict'; --eval}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 120 PASS 'use strict'; eval-- threw exception SyntaxError: 'eval' cannot be modified in strict mode.. 121 PASS (function(){'use strict'; eval--}) threw exception SyntaxError: 'eval' cannot be modified in strict mode.. 122 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 123 PASS (function(){'use strict'; function f() { ++arguments }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 124 PASS 'use strict'; function f() { arguments++ } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 125 PASS (function(){'use strict'; function f() { arguments++ }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 126 PASS 'use strict'; function f() { --arguments } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 127 PASS (function(){'use strict'; function f() { --arguments }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 128 PASS 'use strict'; function f() { arguments-- } threw exception SyntaxError: 'arguments' cannot be modified in strict mode.. 129 PASS (function(){'use strict'; function f() { arguments-- }}) threw exception SyntaxError: 'arguments' cannot be modified in strict mode.. 130 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 131 131 PASS 'use strict'; ++(1, eval) threw exception ReferenceError: Prefix ++ operator applied to value that is not a reference.. 132 PASS (function(){'use strict'; ++(1, eval)}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.132 PASS (function(){'use strict'; ++(1, eval)}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 133 133 PASS 'use strict'; (1, eval)++ threw exception ReferenceError: Postfix ++ operator applied to value that is not a reference.. 134 PASS (function(){'use strict'; (1, eval)++}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.134 PASS (function(){'use strict'; (1, eval)++}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 135 135 PASS 'use strict'; --(1, eval) threw exception ReferenceError: Prefix -- operator applied to value that is not a reference.. 136 PASS (function(){'use strict'; --(1, eval)}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.136 PASS (function(){'use strict'; --(1, eval)}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 137 137 PASS 'use strict'; (1, eval)-- threw exception ReferenceError: Postfix -- operator applied to value that is not a reference.. 138 PASS (function(){'use strict'; (1, eval)--}) threw exception SyntaxError: ' 'eval' ' cannot be modified in strict mode.139 PASS 'use strict'; function f() { ++(1, arguments) } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.140 PASS (function(){'use strict'; function f() { ++(1, arguments) }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.141 PASS 'use strict'; function f() { (1, arguments)++ } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.142 PASS (function(){'use strict'; function f() { (1, arguments)++ }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.143 PASS 'use strict'; function f() { --(1, arguments) } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.144 PASS (function(){'use strict'; function f() { --(1, arguments) }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.145 PASS 'use strict'; function f() { (1, arguments)-- } threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.146 PASS (function(){'use strict'; function f() { (1, arguments)-- }}) threw exception SyntaxError: ' 'arguments' ' cannot be modified in strict mode.147 PASS 'use strict'; if (0) delete +a.b threw exception SyntaxError: Unexpected token '+'.148 PASS (function(){'use strict'; if (0) delete +a.b}) threw exception SyntaxError: Unexpected token '+'.149 PASS 'use strict'; if (0) delete ++a.b threw exception SyntaxError: Unexpected token '++'.150 PASS (function(){'use strict'; if (0) delete ++a.b}) threw exception SyntaxError: Unexpected token '++'.151 PASS 'use strict'; if (0) delete void a.b threw exception SyntaxError: Unexpected token 'void'.152 PASS (function(){'use strict'; if (0) delete void a.b}) threw exception SyntaxError: Unexpected token 'void'.138 PASS (function(){'use strict'; (1, eval)--}) threw exception SyntaxError: 'eval' cannot be modified in strict mode.. 139 PASS 'use strict'; function f() { ++(1, arguments) } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 140 PASS (function(){'use strict'; function f() { ++(1, arguments) }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 141 PASS 'use strict'; function f() { (1, arguments)++ } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 142 PASS (function(){'use strict'; function f() { (1, arguments)++ }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 143 PASS 'use strict'; function f() { --(1, arguments) } threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 144 PASS (function(){'use strict'; function f() { --(1, arguments) }}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 145 PASS 'use strict'; function f() { (1, arguments)-- } threw exception SyntaxError: 'arguments' cannot be modified in strict mode.. 146 PASS (function(){'use strict'; function f() { (1, arguments)-- }}) threw exception SyntaxError: 'arguments' cannot be modified in strict mode.. 147 PASS 'use strict'; if (0) delete +a.b threw exception SyntaxError: The delete operator requires a reference expression.. 148 PASS (function(){'use strict'; if (0) delete +a.b}) threw exception SyntaxError: The delete operator requires a reference expression.. 149 PASS 'use strict'; if (0) delete ++a.b threw exception SyntaxError: The delete operator requires a reference expression.. 150 PASS (function(){'use strict'; if (0) delete ++a.b}) threw exception SyntaxError: The delete operator requires a reference expression.. 151 PASS 'use strict'; if (0) delete void a.b threw exception SyntaxError: The delete operator requires a reference expression.. 152 PASS (function(){'use strict'; if (0) delete void a.b}) threw exception SyntaxError: The delete operator requires a reference expression.. 153 153 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true) is true 154 154 PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0]; })(true) is true … … 190 190 PASS 'use strict';5.f threw exception SyntaxError: At least one digit must occur after a decimal point. 191 191 PASS (function(){'use strict';5.f}) threw exception SyntaxError: At least one digit must occur after a decimal point. 192 PASS 'use strict';1-(eval=1); threw exception SyntaxError: 'eval' cannot be modified in strict mode.193 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: 'eval' cannot be modified in strict mode.194 PASS 'use strict';arguments=1; threw exception SyntaxError: 'arguments' cannot be modified in strict mode.195 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: 'arguments' cannot be modified in strict mode.196 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: 'arguments' cannot be modified in strict mode.197 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: 'arguments' cannot be modified in strict mode.198 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: 'eval' cannot be modified in strict mode.199 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: 'eval' cannot be modified in strict mode.200 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: 'arguments' cannot be modified in strict mode.201 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError: 'arguments' cannot be modified in strict mode.192 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 193 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 194 PASS 'use strict';arguments=1; threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 195 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 196 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 197 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 198 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 199 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Cannot modify 'eval' in strict mode.. 200 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 201 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError: Cannot modify 'arguments' in strict mode.. 202 202 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true 203 203 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal; is true -
trunk/LayoutTests/js/break-ASI-expected.txt
r89257 r158014 12 12 PASS do { if(0) throw 'x';else true; } while (0) is true 13 13 PASS if (0) throw 14 'Shouldn't have parsed this.'; threw exception SyntaxError: Unexpected string 'Shouldn'.14 'Shouldn't have parsed this.'; threw exception SyntaxError: Cannot have a newline after 'throw'.. 15 15 PASS successfullyParsed is true 16 16 -
trunk/LayoutTests/js/dom/assign-expected.txt
r156066 r158014 16 16 PASS (y, x) = "FAIL"; threw exception ReferenceError: Left side of assignment is not a reference.. 17 17 PASS (true ? x : y) = "FAIL"; threw exception ReferenceError: Left side of assignment is not a reference.. 18 PASS x++ = "FAIL"; threw exception SyntaxError: Unexpected token '='.18 PASS x++ = "FAIL"; threw exception SyntaxError: Left hand sign of operator '=' must be a reference.. 19 19 PASS successfullyParsed is true 20 20 -
trunk/LayoutTests/js/dom/object-extra-comma-expected.txt
r156066 r158014 7 7 PASS var foo = { 'bar' : 'YES', }; foo.bar is 'YES' 8 8 PASS var foo = { 'bar' : 'YES' , }; foo.bar is 'YES' 9 PASS var foo = { , 'bar' : 'YES' }; foo.bar threw exception SyntaxError: Unexpected token ','. 10 PASS var foo = { 'bar' : 'YES',, }; foo.bar threw exception SyntaxError: Unexpected token ','. 9 PASS var foo = { , 'bar' : 'YES' }; foo.bar threw exception SyntaxError: Unexpected token ','. Expected a property name.. 10 PASS var foo = { 'bar' : 'YES',, }; foo.bar threw exception SyntaxError: Unexpected token ','. Expected a property name.. 11 11 PASS successfullyParsed is true 12 12 -
trunk/LayoutTests/js/dom/parse-error-external-script-in-eval-expected.txt
r156066 r158014 1 CONSOLE MESSAGE: line 2: SyntaxError: Expected an identifier but found 'error' instead1 CONSOLE MESSAGE: line 2: SyntaxError: Unexpected identifier 'error' 2 2 This tests that a line number and error message is printed for a parse error in a separate source file using eval(). -
trunk/LayoutTests/js/dom/parse-error-external-script-in-new-Function-expected.txt
r156066 r158014 1 CONSOLE MESSAGE: line 3: SyntaxError: Expected an identifier but found 'error' instead1 CONSOLE MESSAGE: line 3: SyntaxError: Unexpected identifier 'error' 2 2 This tests that a line number and error message is printed for a parse error in a separate source file using new Function(). -
trunk/LayoutTests/js/dom/reserved-words-as-property-expected.txt
r156066 r158014 4 4 5 5 6 PASS var true; true threw exception SyntaxError: Expected an identifier but found 'true' instead.7 PASS (function(){var true; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.8 PASS var true = 42; true === 42 threw exception SyntaxError: Expected an identifier but found 'true' instead.9 PASS (function(){var true = 42; true === 42}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.10 PASS function g(true){ }; true threw exception SyntaxError: Expected an identifier but found 'true' instead.11 PASS (function(){function g(true){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.12 PASS /true/.test(function g(true){ }) threw exception SyntaxError: Expected an identifier but found 'true' instead.13 PASS (function(){/true/.test(function g(true){ })}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.14 PASS try{}catch(true){}; true threw exception SyntaxError: Expected an identifier but found 'true' instead.15 PASS (function(){try{}catch(true){}; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.16 PASS function true(){ }; true threw exception SyntaxError: Unexpected token 'true'.17 PASS (function(){function true(){ }; true}); true threw exception SyntaxError: Unexpected token 'true'.6 PASS var true; true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 7 PASS (function(){var true; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 8 PASS var true = 42; true === 42 threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 9 PASS (function(){var true = 42; true === 42}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 10 PASS function g(true){ }; true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 11 PASS (function(){function g(true){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 12 PASS /true/.test(function g(true){ }) threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 13 PASS (function(){/true/.test(function g(true){ })}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 14 PASS try{}catch(true){}; true threw exception SyntaxError: Cannot use the keyword 'true' as a catch variable name.. 15 PASS (function(){try{}catch(true){}; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a catch variable name.. 16 PASS function true(){ }; true threw exception SyntaxError: Cannot use the keyword 'true' as a function name.. 17 PASS (function(){function true(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a function name.. 18 18 PASS ({ "true": 42 }.true === 42) is true 19 19 PASS (function(){({ "true": 42 }.true === 42)}); true is true … … 22 22 PASS ({ get true(){}, set true(){}, parsedOkay: 42 }.parsedOkay === 42) is true 23 23 PASS (function(){({ get true(){}, set true(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 24 PASS "use strict";var true; true threw exception SyntaxError: Expected an identifier but found 'true' instead.25 PASS (function(){"use strict";var true; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.26 PASS "use strict";var true = 42; true === 42 threw exception SyntaxError: Expected an identifier but found 'true' instead.27 PASS (function(){"use strict";var true = 42; true === 42}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.28 PASS "use strict";function g(true){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'true' instead.29 PASS (function(){"use strict";function g(true){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.30 PASS "use strict";/true/.test(function g(true){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'true' instead.31 PASS (function(){"use strict";/true/.test(function g(true){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.32 PASS "use strict";try{}catch(true){}; true threw exception SyntaxError: Expected an identifier but found 'true' instead.33 PASS (function(){"use strict";try{}catch(true){}; true}); true threw exception SyntaxError: Expected an identifier but found 'true' instead.34 PASS "use strict";function true(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'true'.35 PASS (function(){"use strict";function true(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'true'.24 PASS "use strict";var true; true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 25 PASS (function(){"use strict";var true; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 26 PASS "use strict";var true = 42; true === 42 threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 27 PASS (function(){"use strict";var true = 42; true === 42}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 28 PASS "use strict";function g(true){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 29 PASS (function(){"use strict";function g(true){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 30 PASS "use strict";/true/.test(function g(true){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 31 PASS (function(){"use strict";/true/.test(function g(true){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'true' as a variable name.. 32 PASS "use strict";try{}catch(true){}; true threw exception SyntaxError: Cannot use the keyword 'true' as a catch variable name.. 33 PASS (function(){"use strict";try{}catch(true){}; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a catch variable name.. 34 PASS "use strict";function true(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'true' as a function name.. 35 PASS (function(){"use strict";function true(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'true' as a function name.. 36 36 PASS "use strict";({ "true": 42 }.true === 42) is true 37 37 PASS (function(){"use strict";({ "true": 42 }.true === 42)}); true is true … … 40 40 PASS "use strict";({ get true(){}, set true(){}, parsedOkay: 42 }.parsedOkay === 42) is true 41 41 PASS (function(){"use strict";({ get true(){}, set true(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 42 PASS var false; true threw exception SyntaxError: Expected an identifier but found 'false' instead.43 PASS (function(){var false; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.44 PASS var false = 42; false === 42 threw exception SyntaxError: Expected an identifier but found 'false' instead.45 PASS (function(){var false = 42; false === 42}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.46 PASS function g(false){ }; true threw exception SyntaxError: Expected an identifier but found 'false' instead.47 PASS (function(){function g(false){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.48 PASS /false/.test(function g(false){ }) threw exception SyntaxError: Expected an identifier but found 'false' instead.49 PASS (function(){/false/.test(function g(false){ })}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.50 PASS try{}catch(false){}; true threw exception SyntaxError: Expected an identifier but found 'false' instead.51 PASS (function(){try{}catch(false){}; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.52 PASS function false(){ }; true threw exception SyntaxError: Unexpected token 'false'.53 PASS (function(){function false(){ }; true}); true threw exception SyntaxError: Unexpected token 'false'.42 PASS var false; true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 43 PASS (function(){var false; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 44 PASS var false = 42; false === 42 threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 45 PASS (function(){var false = 42; false === 42}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 46 PASS function g(false){ }; true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 47 PASS (function(){function g(false){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 48 PASS /false/.test(function g(false){ }) threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 49 PASS (function(){/false/.test(function g(false){ })}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 50 PASS try{}catch(false){}; true threw exception SyntaxError: Cannot use the keyword 'false' as a catch variable name.. 51 PASS (function(){try{}catch(false){}; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a catch variable name.. 52 PASS function false(){ }; true threw exception SyntaxError: Cannot use the keyword 'false' as a function name.. 53 PASS (function(){function false(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a function name.. 54 54 PASS ({ "false": 42 }.false === 42) is true 55 55 PASS (function(){({ "false": 42 }.false === 42)}); true is true … … 58 58 PASS ({ get false(){}, set false(){}, parsedOkay: 42 }.parsedOkay === 42) is true 59 59 PASS (function(){({ get false(){}, set false(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 60 PASS "use strict";var false; true threw exception SyntaxError: Expected an identifier but found 'false' instead.61 PASS (function(){"use strict";var false; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.62 PASS "use strict";var false = 42; false === 42 threw exception SyntaxError: Expected an identifier but found 'false' instead.63 PASS (function(){"use strict";var false = 42; false === 42}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.64 PASS "use strict";function g(false){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'false' instead.65 PASS (function(){"use strict";function g(false){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.66 PASS "use strict";/false/.test(function g(false){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'false' instead.67 PASS (function(){"use strict";/false/.test(function g(false){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.68 PASS "use strict";try{}catch(false){}; true threw exception SyntaxError: Expected an identifier but found 'false' instead.69 PASS (function(){"use strict";try{}catch(false){}; true}); true threw exception SyntaxError: Expected an identifier but found 'false' instead.70 PASS "use strict";function false(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'false'.71 PASS (function(){"use strict";function false(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'false'.60 PASS "use strict";var false; true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 61 PASS (function(){"use strict";var false; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 62 PASS "use strict";var false = 42; false === 42 threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 63 PASS (function(){"use strict";var false = 42; false === 42}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 64 PASS "use strict";function g(false){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 65 PASS (function(){"use strict";function g(false){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 66 PASS "use strict";/false/.test(function g(false){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 67 PASS (function(){"use strict";/false/.test(function g(false){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'false' as a variable name.. 68 PASS "use strict";try{}catch(false){}; true threw exception SyntaxError: Cannot use the keyword 'false' as a catch variable name.. 69 PASS (function(){"use strict";try{}catch(false){}; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a catch variable name.. 70 PASS "use strict";function false(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'false' as a function name.. 71 PASS (function(){"use strict";function false(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'false' as a function name.. 72 72 PASS "use strict";({ "false": 42 }.false === 42) is true 73 73 PASS (function(){"use strict";({ "false": 42 }.false === 42)}); true is true … … 76 76 PASS "use strict";({ get false(){}, set false(){}, parsedOkay: 42 }.parsedOkay === 42) is true 77 77 PASS (function(){"use strict";({ get false(){}, set false(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 78 PASS var null; true threw exception SyntaxError: Expected an identifier but found 'null' instead.79 PASS (function(){var null; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.80 PASS var null = 42; null === 42 threw exception SyntaxError: Expected an identifier but found 'null' instead.81 PASS (function(){var null = 42; null === 42}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.82 PASS function g(null){ }; true threw exception SyntaxError: Expected an identifier but found 'null' instead.83 PASS (function(){function g(null){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.84 PASS /null/.test(function g(null){ }) threw exception SyntaxError: Expected an identifier but found 'null' instead.85 PASS (function(){/null/.test(function g(null){ })}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.86 PASS try{}catch(null){}; true threw exception SyntaxError: Expected an identifier but found 'null' instead.87 PASS (function(){try{}catch(null){}; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.88 PASS function null(){ }; true threw exception SyntaxError: Unexpected token 'null'.89 PASS (function(){function null(){ }; true}); true threw exception SyntaxError: Unexpected token 'null'.78 PASS var null; true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 79 PASS (function(){var null; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 80 PASS var null = 42; null === 42 threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 81 PASS (function(){var null = 42; null === 42}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 82 PASS function g(null){ }; true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 83 PASS (function(){function g(null){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 84 PASS /null/.test(function g(null){ }) threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 85 PASS (function(){/null/.test(function g(null){ })}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 86 PASS try{}catch(null){}; true threw exception SyntaxError: Cannot use the keyword 'null' as a catch variable name.. 87 PASS (function(){try{}catch(null){}; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a catch variable name.. 88 PASS function null(){ }; true threw exception SyntaxError: Cannot use the keyword 'null' as a function name.. 89 PASS (function(){function null(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a function name.. 90 90 PASS ({ "null": 42 }.null === 42) is true 91 91 PASS (function(){({ "null": 42 }.null === 42)}); true is true … … 94 94 PASS ({ get null(){}, set null(){}, parsedOkay: 42 }.parsedOkay === 42) is true 95 95 PASS (function(){({ get null(){}, set null(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 96 PASS "use strict";var null; true threw exception SyntaxError: Expected an identifier but found 'null' instead.97 PASS (function(){"use strict";var null; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.98 PASS "use strict";var null = 42; null === 42 threw exception SyntaxError: Expected an identifier but found 'null' instead.99 PASS (function(){"use strict";var null = 42; null === 42}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.100 PASS "use strict";function g(null){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'null' instead.101 PASS (function(){"use strict";function g(null){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.102 PASS "use strict";/null/.test(function g(null){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'null' instead.103 PASS (function(){"use strict";/null/.test(function g(null){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.104 PASS "use strict";try{}catch(null){}; true threw exception SyntaxError: Expected an identifier but found 'null' instead.105 PASS (function(){"use strict";try{}catch(null){}; true}); true threw exception SyntaxError: Expected an identifier but found 'null' instead.106 PASS "use strict";function null(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'null'.107 PASS (function(){"use strict";function null(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'null'.96 PASS "use strict";var null; true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 97 PASS (function(){"use strict";var null; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 98 PASS "use strict";var null = 42; null === 42 threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 99 PASS (function(){"use strict";var null = 42; null === 42}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 100 PASS "use strict";function g(null){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 101 PASS (function(){"use strict";function g(null){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 102 PASS "use strict";/null/.test(function g(null){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 103 PASS (function(){"use strict";/null/.test(function g(null){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'null' as a variable name.. 104 PASS "use strict";try{}catch(null){}; true threw exception SyntaxError: Cannot use the keyword 'null' as a catch variable name.. 105 PASS (function(){"use strict";try{}catch(null){}; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a catch variable name.. 106 PASS "use strict";function null(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'null' as a function name.. 107 PASS (function(){"use strict";function null(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'null' as a function name.. 108 108 PASS "use strict";({ "null": 42 }.null === 42) is true 109 109 PASS (function(){"use strict";({ "null": 42 }.null === 42)}); true is true … … 112 112 PASS "use strict";({ get null(){}, set null(){}, parsedOkay: 42 }.parsedOkay === 42) is true 113 113 PASS (function(){"use strict";({ get null(){}, set null(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 114 PASS var break; true threw exception SyntaxError: Expected an identifier but found 'break' instead.115 PASS (function(){var break; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.116 PASS var break = 42; break === 42 threw exception SyntaxError: Expected an identifier but found 'break' instead.117 PASS (function(){var break = 42; break === 42}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.118 PASS function g(break){ }; true threw exception SyntaxError: Expected an identifier but found 'break' instead.119 PASS (function(){function g(break){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.120 PASS /break/.test(function g(break){ }) threw exception SyntaxError: Expected an identifier but found 'break' instead.121 PASS (function(){/break/.test(function g(break){ })}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.122 PASS try{}catch(break){}; true threw exception SyntaxError: Expected an identifier but found 'break' instead.123 PASS (function(){try{}catch(break){}; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.124 PASS function break(){ }; true threw exception SyntaxError: Unexpected token 'break'.125 PASS (function(){function break(){ }; true}); true threw exception SyntaxError: Unexpected token 'break'.114 PASS var break; true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 115 PASS (function(){var break; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 116 PASS var break = 42; break === 42 threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 117 PASS (function(){var break = 42; break === 42}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 118 PASS function g(break){ }; true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 119 PASS (function(){function g(break){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 120 PASS /break/.test(function g(break){ }) threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 121 PASS (function(){/break/.test(function g(break){ })}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 122 PASS try{}catch(break){}; true threw exception SyntaxError: Cannot use the keyword 'break' as a catch variable name.. 123 PASS (function(){try{}catch(break){}; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a catch variable name.. 124 PASS function break(){ }; true threw exception SyntaxError: Cannot use the keyword 'break' as a function name.. 125 PASS (function(){function break(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a function name.. 126 126 PASS ({ "break": 42 }.break === 42) is true 127 127 PASS (function(){({ "break": 42 }.break === 42)}); true is true … … 130 130 PASS ({ get break(){}, set break(){}, parsedOkay: 42 }.parsedOkay === 42) is true 131 131 PASS (function(){({ get break(){}, set break(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 132 PASS "use strict";var break; true threw exception SyntaxError: Expected an identifier but found 'break' instead.133 PASS (function(){"use strict";var break; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.134 PASS "use strict";var break = 42; break === 42 threw exception SyntaxError: Expected an identifier but found 'break' instead.135 PASS (function(){"use strict";var break = 42; break === 42}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.136 PASS "use strict";function g(break){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'break' instead.137 PASS (function(){"use strict";function g(break){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.138 PASS "use strict";/break/.test(function g(break){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'break' instead.139 PASS (function(){"use strict";/break/.test(function g(break){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.140 PASS "use strict";try{}catch(break){}; true threw exception SyntaxError: Expected an identifier but found 'break' instead.141 PASS (function(){"use strict";try{}catch(break){}; true}); true threw exception SyntaxError: Expected an identifier but found 'break' instead.142 PASS "use strict";function break(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'break'.143 PASS (function(){"use strict";function break(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'break'.132 PASS "use strict";var break; true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 133 PASS (function(){"use strict";var break; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 134 PASS "use strict";var break = 42; break === 42 threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 135 PASS (function(){"use strict";var break = 42; break === 42}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 136 PASS "use strict";function g(break){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 137 PASS (function(){"use strict";function g(break){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 138 PASS "use strict";/break/.test(function g(break){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 139 PASS (function(){"use strict";/break/.test(function g(break){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'break' as a variable name.. 140 PASS "use strict";try{}catch(break){}; true threw exception SyntaxError: Cannot use the keyword 'break' as a catch variable name.. 141 PASS (function(){"use strict";try{}catch(break){}; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a catch variable name.. 142 PASS "use strict";function break(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'break' as a function name.. 143 PASS (function(){"use strict";function break(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'break' as a function name.. 144 144 PASS "use strict";({ "break": 42 }.break === 42) is true 145 145 PASS (function(){"use strict";({ "break": 42 }.break === 42)}); true is true … … 148 148 PASS "use strict";({ get break(){}, set break(){}, parsedOkay: 42 }.parsedOkay === 42) is true 149 149 PASS (function(){"use strict";({ get break(){}, set break(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 150 PASS var case; true threw exception SyntaxError: Expected an identifier but found 'case' instead.151 PASS (function(){var case; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.152 PASS var case = 42; case === 42 threw exception SyntaxError: Expected an identifier but found 'case' instead.153 PASS (function(){var case = 42; case === 42}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.154 PASS function g(case){ }; true threw exception SyntaxError: Expected an identifier but found 'case' instead.155 PASS (function(){function g(case){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.156 PASS /case/.test(function g(case){ }) threw exception SyntaxError: Expected an identifier but found 'case' instead.157 PASS (function(){/case/.test(function g(case){ })}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.158 PASS try{}catch(case){}; true threw exception SyntaxError: Expected an identifier but found 'case' instead.159 PASS (function(){try{}catch(case){}; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.160 PASS function case(){ }; true threw exception SyntaxError: Unexpected token 'case'.161 PASS (function(){function case(){ }; true}); true threw exception SyntaxError: Unexpected token 'case'.150 PASS var case; true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 151 PASS (function(){var case; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 152 PASS var case = 42; case === 42 threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 153 PASS (function(){var case = 42; case === 42}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 154 PASS function g(case){ }; true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 155 PASS (function(){function g(case){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 156 PASS /case/.test(function g(case){ }) threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 157 PASS (function(){/case/.test(function g(case){ })}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 158 PASS try{}catch(case){}; true threw exception SyntaxError: Cannot use the keyword 'case' as a catch variable name.. 159 PASS (function(){try{}catch(case){}; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a catch variable name.. 160 PASS function case(){ }; true threw exception SyntaxError: Cannot use the keyword 'case' as a function name.. 161 PASS (function(){function case(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a function name.. 162 162 PASS ({ "case": 42 }.case === 42) is true 163 163 PASS (function(){({ "case": 42 }.case === 42)}); true is true … … 166 166 PASS ({ get case(){}, set case(){}, parsedOkay: 42 }.parsedOkay === 42) is true 167 167 PASS (function(){({ get case(){}, set case(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 168 PASS "use strict";var case; true threw exception SyntaxError: Expected an identifier but found 'case' instead.169 PASS (function(){"use strict";var case; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.170 PASS "use strict";var case = 42; case === 42 threw exception SyntaxError: Expected an identifier but found 'case' instead.171 PASS (function(){"use strict";var case = 42; case === 42}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.172 PASS "use strict";function g(case){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'case' instead.173 PASS (function(){"use strict";function g(case){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.174 PASS "use strict";/case/.test(function g(case){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'case' instead.175 PASS (function(){"use strict";/case/.test(function g(case){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.176 PASS "use strict";try{}catch(case){}; true threw exception SyntaxError: Expected an identifier but found 'case' instead.177 PASS (function(){"use strict";try{}catch(case){}; true}); true threw exception SyntaxError: Expected an identifier but found 'case' instead.178 PASS "use strict";function case(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'case'.179 PASS (function(){"use strict";function case(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'case'.168 PASS "use strict";var case; true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 169 PASS (function(){"use strict";var case; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 170 PASS "use strict";var case = 42; case === 42 threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 171 PASS (function(){"use strict";var case = 42; case === 42}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 172 PASS "use strict";function g(case){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 173 PASS (function(){"use strict";function g(case){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 174 PASS "use strict";/case/.test(function g(case){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 175 PASS (function(){"use strict";/case/.test(function g(case){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'case' as a variable name.. 176 PASS "use strict";try{}catch(case){}; true threw exception SyntaxError: Cannot use the keyword 'case' as a catch variable name.. 177 PASS (function(){"use strict";try{}catch(case){}; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a catch variable name.. 178 PASS "use strict";function case(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'case' as a function name.. 179 PASS (function(){"use strict";function case(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'case' as a function name.. 180 180 PASS "use strict";({ "case": 42 }.case === 42) is true 181 181 PASS (function(){"use strict";({ "case": 42 }.case === 42)}); true is true … … 184 184 PASS "use strict";({ get case(){}, set case(){}, parsedOkay: 42 }.parsedOkay === 42) is true 185 185 PASS (function(){"use strict";({ get case(){}, set case(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 186 PASS var catch; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.187 PASS (function(){var catch; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.188 PASS var catch = 42; catch === 42 threw exception SyntaxError: Expected an identifier but found 'catch' instead.189 PASS (function(){var catch = 42; catch === 42}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.190 PASS function g(catch){ }; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.191 PASS (function(){function g(catch){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.192 PASS /catch/.test(function g(catch){ }) threw exception SyntaxError: Expected an identifier but found 'catch' instead.193 PASS (function(){/catch/.test(function g(catch){ })}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.194 PASS try{}catch(catch){}; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.195 PASS (function(){try{}catch(catch){}; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.196 PASS function catch(){ }; true threw exception SyntaxError: Unexpected token 'catch'.197 PASS (function(){function catch(){ }; true}); true threw exception SyntaxError: Unexpected token 'catch'.186 PASS var catch; true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 187 PASS (function(){var catch; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 188 PASS var catch = 42; catch === 42 threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 189 PASS (function(){var catch = 42; catch === 42}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 190 PASS function g(catch){ }; true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 191 PASS (function(){function g(catch){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 192 PASS /catch/.test(function g(catch){ }) threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 193 PASS (function(){/catch/.test(function g(catch){ })}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 194 PASS try{}catch(catch){}; true threw exception SyntaxError: Cannot use the keyword 'catch' as a catch variable name.. 195 PASS (function(){try{}catch(catch){}; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a catch variable name.. 196 PASS function catch(){ }; true threw exception SyntaxError: Cannot use the keyword 'catch' as a function name.. 197 PASS (function(){function catch(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a function name.. 198 198 PASS ({ "catch": 42 }.catch === 42) is true 199 199 PASS (function(){({ "catch": 42 }.catch === 42)}); true is true … … 202 202 PASS ({ get catch(){}, set catch(){}, parsedOkay: 42 }.parsedOkay === 42) is true 203 203 PASS (function(){({ get catch(){}, set catch(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 204 PASS "use strict";var catch; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.205 PASS (function(){"use strict";var catch; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.206 PASS "use strict";var catch = 42; catch === 42 threw exception SyntaxError: Expected an identifier but found 'catch' instead.207 PASS (function(){"use strict";var catch = 42; catch === 42}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.208 PASS "use strict";function g(catch){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.209 PASS (function(){"use strict";function g(catch){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.210 PASS "use strict";/catch/.test(function g(catch){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'catch' instead.211 PASS (function(){"use strict";/catch/.test(function g(catch){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.212 PASS "use strict";try{}catch(catch){}; true threw exception SyntaxError: Expected an identifier but found 'catch' instead.213 PASS (function(){"use strict";try{}catch(catch){}; true}); true threw exception SyntaxError: Expected an identifier but found 'catch' instead.214 PASS "use strict";function catch(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'catch'.215 PASS (function(){"use strict";function catch(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'catch'.204 PASS "use strict";var catch; true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 205 PASS (function(){"use strict";var catch; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 206 PASS "use strict";var catch = 42; catch === 42 threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 207 PASS (function(){"use strict";var catch = 42; catch === 42}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 208 PASS "use strict";function g(catch){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 209 PASS (function(){"use strict";function g(catch){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 210 PASS "use strict";/catch/.test(function g(catch){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 211 PASS (function(){"use strict";/catch/.test(function g(catch){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a variable name.. 212 PASS "use strict";try{}catch(catch){}; true threw exception SyntaxError: Cannot use the keyword 'catch' as a catch variable name.. 213 PASS (function(){"use strict";try{}catch(catch){}; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a catch variable name.. 214 PASS "use strict";function catch(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'catch' as a function name.. 215 PASS (function(){"use strict";function catch(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'catch' as a function name.. 216 216 PASS "use strict";({ "catch": 42 }.catch === 42) is true 217 217 PASS (function(){"use strict";({ "catch": 42 }.catch === 42)}); true is true … … 220 220 PASS "use strict";({ get catch(){}, set catch(){}, parsedOkay: 42 }.parsedOkay === 42) is true 221 221 PASS (function(){"use strict";({ get catch(){}, set catch(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 222 PASS var continue; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.223 PASS (function(){var continue; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.224 PASS var continue = 42; continue === 42 threw exception SyntaxError: Expected an identifier but found 'continue' instead.225 PASS (function(){var continue = 42; continue === 42}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.226 PASS function g(continue){ }; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.227 PASS (function(){function g(continue){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.228 PASS /continue/.test(function g(continue){ }) threw exception SyntaxError: Expected an identifier but found 'continue' instead.229 PASS (function(){/continue/.test(function g(continue){ })}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.230 PASS try{}catch(continue){}; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.231 PASS (function(){try{}catch(continue){}; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.232 PASS function continue(){ }; true threw exception SyntaxError: Unexpected token 'continue'.233 PASS (function(){function continue(){ }; true}); true threw exception SyntaxError: Unexpected token 'continue'.222 PASS var continue; true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 223 PASS (function(){var continue; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 224 PASS var continue = 42; continue === 42 threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 225 PASS (function(){var continue = 42; continue === 42}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 226 PASS function g(continue){ }; true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 227 PASS (function(){function g(continue){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 228 PASS /continue/.test(function g(continue){ }) threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 229 PASS (function(){/continue/.test(function g(continue){ })}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 230 PASS try{}catch(continue){}; true threw exception SyntaxError: Cannot use the keyword 'continue' as a catch variable name.. 231 PASS (function(){try{}catch(continue){}; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a catch variable name.. 232 PASS function continue(){ }; true threw exception SyntaxError: Cannot use the keyword 'continue' as a function name.. 233 PASS (function(){function continue(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a function name.. 234 234 PASS ({ "continue": 42 }.continue === 42) is true 235 235 PASS (function(){({ "continue": 42 }.continue === 42)}); true is true … … 238 238 PASS ({ get continue(){}, set continue(){}, parsedOkay: 42 }.parsedOkay === 42) is true 239 239 PASS (function(){({ get continue(){}, set continue(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 240 PASS "use strict";var continue; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.241 PASS (function(){"use strict";var continue; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.242 PASS "use strict";var continue = 42; continue === 42 threw exception SyntaxError: Expected an identifier but found 'continue' instead.243 PASS (function(){"use strict";var continue = 42; continue === 42}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.244 PASS "use strict";function g(continue){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.245 PASS (function(){"use strict";function g(continue){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.246 PASS "use strict";/continue/.test(function g(continue){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'continue' instead.247 PASS (function(){"use strict";/continue/.test(function g(continue){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.248 PASS "use strict";try{}catch(continue){}; true threw exception SyntaxError: Expected an identifier but found 'continue' instead.249 PASS (function(){"use strict";try{}catch(continue){}; true}); true threw exception SyntaxError: Expected an identifier but found 'continue' instead.250 PASS "use strict";function continue(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'continue'.251 PASS (function(){"use strict";function continue(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'continue'.240 PASS "use strict";var continue; true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 241 PASS (function(){"use strict";var continue; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 242 PASS "use strict";var continue = 42; continue === 42 threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 243 PASS (function(){"use strict";var continue = 42; continue === 42}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 244 PASS "use strict";function g(continue){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 245 PASS (function(){"use strict";function g(continue){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 246 PASS "use strict";/continue/.test(function g(continue){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 247 PASS (function(){"use strict";/continue/.test(function g(continue){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a variable name.. 248 PASS "use strict";try{}catch(continue){}; true threw exception SyntaxError: Cannot use the keyword 'continue' as a catch variable name.. 249 PASS (function(){"use strict";try{}catch(continue){}; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a catch variable name.. 250 PASS "use strict";function continue(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'continue' as a function name.. 251 PASS (function(){"use strict";function continue(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'continue' as a function name.. 252 252 PASS "use strict";({ "continue": 42 }.continue === 42) is true 253 253 PASS (function(){"use strict";({ "continue": 42 }.continue === 42)}); true is true … … 256 256 PASS "use strict";({ get continue(){}, set continue(){}, parsedOkay: 42 }.parsedOkay === 42) is true 257 257 PASS (function(){"use strict";({ get continue(){}, set continue(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 258 PASS var debugger; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.259 PASS (function(){var debugger; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.260 PASS var debugger = 42; debugger === 42 threw exception SyntaxError: Expected an identifier but found 'debugger' instead.261 PASS (function(){var debugger = 42; debugger === 42}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.262 PASS function g(debugger){ }; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.263 PASS (function(){function g(debugger){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.264 PASS /debugger/.test(function g(debugger){ }) threw exception SyntaxError: Expected an identifier but found 'debugger' instead.265 PASS (function(){/debugger/.test(function g(debugger){ })}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.266 PASS try{}catch(debugger){}; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.267 PASS (function(){try{}catch(debugger){}; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.268 PASS function debugger(){ }; true threw exception SyntaxError: Unexpected token 'debugger'.269 PASS (function(){function debugger(){ }; true}); true threw exception SyntaxError: Unexpected token 'debugger'.258 PASS var debugger; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 259 PASS (function(){var debugger; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 260 PASS var debugger = 42; debugger === 42 threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 261 PASS (function(){var debugger = 42; debugger === 42}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 262 PASS function g(debugger){ }; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 263 PASS (function(){function g(debugger){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 264 PASS /debugger/.test(function g(debugger){ }) threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 265 PASS (function(){/debugger/.test(function g(debugger){ })}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 266 PASS try{}catch(debugger){}; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a catch variable name.. 267 PASS (function(){try{}catch(debugger){}; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a catch variable name.. 268 PASS function debugger(){ }; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a function name.. 269 PASS (function(){function debugger(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a function name.. 270 270 PASS ({ "debugger": 42 }.debugger === 42) is true 271 271 PASS (function(){({ "debugger": 42 }.debugger === 42)}); true is true … … 274 274 PASS ({ get debugger(){}, set debugger(){}, parsedOkay: 42 }.parsedOkay === 42) is true 275 275 PASS (function(){({ get debugger(){}, set debugger(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 276 PASS "use strict";var debugger; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.277 PASS (function(){"use strict";var debugger; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.278 PASS "use strict";var debugger = 42; debugger === 42 threw exception SyntaxError: Expected an identifier but found 'debugger' instead.279 PASS (function(){"use strict";var debugger = 42; debugger === 42}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.280 PASS "use strict";function g(debugger){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.281 PASS (function(){"use strict";function g(debugger){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.282 PASS "use strict";/debugger/.test(function g(debugger){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'debugger' instead.283 PASS (function(){"use strict";/debugger/.test(function g(debugger){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.284 PASS "use strict";try{}catch(debugger){}; true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.285 PASS (function(){"use strict";try{}catch(debugger){}; true}); true threw exception SyntaxError: Expected an identifier but found 'debugger' instead.286 PASS "use strict";function debugger(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'debugger'.287 PASS (function(){"use strict";function debugger(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'debugger'.276 PASS "use strict";var debugger; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 277 PASS (function(){"use strict";var debugger; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 278 PASS "use strict";var debugger = 42; debugger === 42 threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 279 PASS (function(){"use strict";var debugger = 42; debugger === 42}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 280 PASS "use strict";function g(debugger){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 281 PASS (function(){"use strict";function g(debugger){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 282 PASS "use strict";/debugger/.test(function g(debugger){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 283 PASS (function(){"use strict";/debugger/.test(function g(debugger){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a variable name.. 284 PASS "use strict";try{}catch(debugger){}; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a catch variable name.. 285 PASS (function(){"use strict";try{}catch(debugger){}; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a catch variable name.. 286 PASS "use strict";function debugger(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'debugger' as a function name.. 287 PASS (function(){"use strict";function debugger(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'debugger' as a function name.. 288 288 PASS "use strict";({ "debugger": 42 }.debugger === 42) is true 289 289 PASS (function(){"use strict";({ "debugger": 42 }.debugger === 42)}); true is true … … 292 292 PASS "use strict";({ get debugger(){}, set debugger(){}, parsedOkay: 42 }.parsedOkay === 42) is true 293 293 PASS (function(){"use strict";({ get debugger(){}, set debugger(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 294 PASS var default; true threw exception SyntaxError: Expected an identifier but found 'default' instead.295 PASS (function(){var default; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.296 PASS var default = 42; default === 42 threw exception SyntaxError: Expected an identifier but found 'default' instead.297 PASS (function(){var default = 42; default === 42}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.298 PASS function g(default){ }; true threw exception SyntaxError: Expected an identifier but found 'default' instead.299 PASS (function(){function g(default){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.300 PASS /default/.test(function g(default){ }) threw exception SyntaxError: Expected an identifier but found 'default' instead.301 PASS (function(){/default/.test(function g(default){ })}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.302 PASS try{}catch(default){}; true threw exception SyntaxError: Expected an identifier but found 'default' instead.303 PASS (function(){try{}catch(default){}; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.304 PASS function default(){ }; true threw exception SyntaxError: Unexpected token 'default'.305 PASS (function(){function default(){ }; true}); true threw exception SyntaxError: Unexpected token 'default'.294 PASS var default; true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 295 PASS (function(){var default; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 296 PASS var default = 42; default === 42 threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 297 PASS (function(){var default = 42; default === 42}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 298 PASS function g(default){ }; true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 299 PASS (function(){function g(default){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 300 PASS /default/.test(function g(default){ }) threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 301 PASS (function(){/default/.test(function g(default){ })}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 302 PASS try{}catch(default){}; true threw exception SyntaxError: Cannot use the keyword 'default' as a catch variable name.. 303 PASS (function(){try{}catch(default){}; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a catch variable name.. 304 PASS function default(){ }; true threw exception SyntaxError: Cannot use the keyword 'default' as a function name.. 305 PASS (function(){function default(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a function name.. 306 306 PASS ({ "default": 42 }.default === 42) is true 307 307 PASS (function(){({ "default": 42 }.default === 42)}); true is true … … 310 310 PASS ({ get default(){}, set default(){}, parsedOkay: 42 }.parsedOkay === 42) is true 311 311 PASS (function(){({ get default(){}, set default(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 312 PASS "use strict";var default; true threw exception SyntaxError: Expected an identifier but found 'default' instead.313 PASS (function(){"use strict";var default; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.314 PASS "use strict";var default = 42; default === 42 threw exception SyntaxError: Expected an identifier but found 'default' instead.315 PASS (function(){"use strict";var default = 42; default === 42}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.316 PASS "use strict";function g(default){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'default' instead.317 PASS (function(){"use strict";function g(default){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.318 PASS "use strict";/default/.test(function g(default){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'default' instead.319 PASS (function(){"use strict";/default/.test(function g(default){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.320 PASS "use strict";try{}catch(default){}; true threw exception SyntaxError: Expected an identifier but found 'default' instead.321 PASS (function(){"use strict";try{}catch(default){}; true}); true threw exception SyntaxError: Expected an identifier but found 'default' instead.322 PASS "use strict";function default(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'default'.323 PASS (function(){"use strict";function default(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'default'.312 PASS "use strict";var default; true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 313 PASS (function(){"use strict";var default; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 314 PASS "use strict";var default = 42; default === 42 threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 315 PASS (function(){"use strict";var default = 42; default === 42}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 316 PASS "use strict";function g(default){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 317 PASS (function(){"use strict";function g(default){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 318 PASS "use strict";/default/.test(function g(default){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 319 PASS (function(){"use strict";/default/.test(function g(default){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'default' as a variable name.. 320 PASS "use strict";try{}catch(default){}; true threw exception SyntaxError: Cannot use the keyword 'default' as a catch variable name.. 321 PASS (function(){"use strict";try{}catch(default){}; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a catch variable name.. 322 PASS "use strict";function default(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'default' as a function name.. 323 PASS (function(){"use strict";function default(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'default' as a function name.. 324 324 PASS "use strict";({ "default": 42 }.default === 42) is true 325 325 PASS (function(){"use strict";({ "default": 42 }.default === 42)}); true is true … … 328 328 PASS "use strict";({ get default(){}, set default(){}, parsedOkay: 42 }.parsedOkay === 42) is true 329 329 PASS (function(){"use strict";({ get default(){}, set default(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 330 PASS var delete; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.331 PASS (function(){var delete; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.332 PASS var delete = 42; delete === 42 threw exception SyntaxError: Expected an identifier but found 'delete' instead.333 PASS (function(){var delete = 42; delete === 42}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.334 PASS function g(delete){ }; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.335 PASS (function(){function g(delete){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.336 PASS /delete/.test(function g(delete){ }) threw exception SyntaxError: Expected an identifier but found 'delete' instead.337 PASS (function(){/delete/.test(function g(delete){ })}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.338 PASS try{}catch(delete){}; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.339 PASS (function(){try{}catch(delete){}; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.340 PASS function delete(){ }; true threw exception SyntaxError: Unexpected token 'delete'.341 PASS (function(){function delete(){ }; true}); true threw exception SyntaxError: Unexpected token 'delete'.330 PASS var delete; true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 331 PASS (function(){var delete; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 332 PASS var delete = 42; delete === 42 threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 333 PASS (function(){var delete = 42; delete === 42}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 334 PASS function g(delete){ }; true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 335 PASS (function(){function g(delete){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 336 PASS /delete/.test(function g(delete){ }) threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 337 PASS (function(){/delete/.test(function g(delete){ })}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 338 PASS try{}catch(delete){}; true threw exception SyntaxError: Cannot use the keyword 'delete' as a catch variable name.. 339 PASS (function(){try{}catch(delete){}; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a catch variable name.. 340 PASS function delete(){ }; true threw exception SyntaxError: Cannot use the keyword 'delete' as a function name.. 341 PASS (function(){function delete(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a function name.. 342 342 PASS ({ "delete": 42 }.delete === 42) is true 343 343 PASS (function(){({ "delete": 42 }.delete === 42)}); true is true … … 346 346 PASS ({ get delete(){}, set delete(){}, parsedOkay: 42 }.parsedOkay === 42) is true 347 347 PASS (function(){({ get delete(){}, set delete(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 348 PASS "use strict";var delete; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.349 PASS (function(){"use strict";var delete; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.350 PASS "use strict";var delete = 42; delete === 42 threw exception SyntaxError: Expected an identifier but found 'delete' instead.351 PASS (function(){"use strict";var delete = 42; delete === 42}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.352 PASS "use strict";function g(delete){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.353 PASS (function(){"use strict";function g(delete){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.354 PASS "use strict";/delete/.test(function g(delete){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'delete' instead.355 PASS (function(){"use strict";/delete/.test(function g(delete){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.356 PASS "use strict";try{}catch(delete){}; true threw exception SyntaxError: Expected an identifier but found 'delete' instead.357 PASS (function(){"use strict";try{}catch(delete){}; true}); true threw exception SyntaxError: Expected an identifier but found 'delete' instead.358 PASS "use strict";function delete(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'delete'.359 PASS (function(){"use strict";function delete(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'delete'.348 PASS "use strict";var delete; true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 349 PASS (function(){"use strict";var delete; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 350 PASS "use strict";var delete = 42; delete === 42 threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 351 PASS (function(){"use strict";var delete = 42; delete === 42}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 352 PASS "use strict";function g(delete){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 353 PASS (function(){"use strict";function g(delete){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 354 PASS "use strict";/delete/.test(function g(delete){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 355 PASS (function(){"use strict";/delete/.test(function g(delete){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a variable name.. 356 PASS "use strict";try{}catch(delete){}; true threw exception SyntaxError: Cannot use the keyword 'delete' as a catch variable name.. 357 PASS (function(){"use strict";try{}catch(delete){}; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a catch variable name.. 358 PASS "use strict";function delete(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'delete' as a function name.. 359 PASS (function(){"use strict";function delete(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'delete' as a function name.. 360 360 PASS "use strict";({ "delete": 42 }.delete === 42) is true 361 361 PASS (function(){"use strict";({ "delete": 42 }.delete === 42)}); true is true … … 364 364 PASS "use strict";({ get delete(){}, set delete(){}, parsedOkay: 42 }.parsedOkay === 42) is true 365 365 PASS (function(){"use strict";({ get delete(){}, set delete(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 366 PASS var do; true threw exception SyntaxError: Expected an identifier but found 'do' instead.367 PASS (function(){var do; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.368 PASS var do = 42; do === 42 threw exception SyntaxError: Expected an identifier but found 'do' instead.369 PASS (function(){var do = 42; do === 42}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.370 PASS function g(do){ }; true threw exception SyntaxError: Expected an identifier but found 'do' instead.371 PASS (function(){function g(do){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.372 PASS /do/.test(function g(do){ }) threw exception SyntaxError: Expected an identifier but found 'do' instead.373 PASS (function(){/do/.test(function g(do){ })}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.374 PASS try{}catch(do){}; true threw exception SyntaxError: Expected an identifier but found 'do' instead.375 PASS (function(){try{}catch(do){}; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.376 PASS function do(){ }; true threw exception SyntaxError: Unexpected token 'do'.377 PASS (function(){function do(){ }; true}); true threw exception SyntaxError: Unexpected token 'do'.366 PASS var do; true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 367 PASS (function(){var do; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 368 PASS var do = 42; do === 42 threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 369 PASS (function(){var do = 42; do === 42}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 370 PASS function g(do){ }; true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 371 PASS (function(){function g(do){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 372 PASS /do/.test(function g(do){ }) threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 373 PASS (function(){/do/.test(function g(do){ })}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 374 PASS try{}catch(do){}; true threw exception SyntaxError: Cannot use the keyword 'do' as a catch variable name.. 375 PASS (function(){try{}catch(do){}; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a catch variable name.. 376 PASS function do(){ }; true threw exception SyntaxError: Cannot use the keyword 'do' as a function name.. 377 PASS (function(){function do(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a function name.. 378 378 PASS ({ "do": 42 }.do === 42) is true 379 379 PASS (function(){({ "do": 42 }.do === 42)}); true is true … … 382 382 PASS ({ get do(){}, set do(){}, parsedOkay: 42 }.parsedOkay === 42) is true 383 383 PASS (function(){({ get do(){}, set do(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 384 PASS "use strict";var do; true threw exception SyntaxError: Expected an identifier but found 'do' instead.385 PASS (function(){"use strict";var do; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.386 PASS "use strict";var do = 42; do === 42 threw exception SyntaxError: Expected an identifier but found 'do' instead.387 PASS (function(){"use strict";var do = 42; do === 42}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.388 PASS "use strict";function g(do){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'do' instead.389 PASS (function(){"use strict";function g(do){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.390 PASS "use strict";/do/.test(function g(do){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'do' instead.391 PASS (function(){"use strict";/do/.test(function g(do){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.392 PASS "use strict";try{}catch(do){}; true threw exception SyntaxError: Expected an identifier but found 'do' instead.393 PASS (function(){"use strict";try{}catch(do){}; true}); true threw exception SyntaxError: Expected an identifier but found 'do' instead.394 PASS "use strict";function do(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'do'.395 PASS (function(){"use strict";function do(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'do'.384 PASS "use strict";var do; true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 385 PASS (function(){"use strict";var do; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 386 PASS "use strict";var do = 42; do === 42 threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 387 PASS (function(){"use strict";var do = 42; do === 42}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 388 PASS "use strict";function g(do){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 389 PASS (function(){"use strict";function g(do){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 390 PASS "use strict";/do/.test(function g(do){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 391 PASS (function(){"use strict";/do/.test(function g(do){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'do' as a variable name.. 392 PASS "use strict";try{}catch(do){}; true threw exception SyntaxError: Cannot use the keyword 'do' as a catch variable name.. 393 PASS (function(){"use strict";try{}catch(do){}; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a catch variable name.. 394 PASS "use strict";function do(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'do' as a function name.. 395 PASS (function(){"use strict";function do(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'do' as a function name.. 396 396 PASS "use strict";({ "do": 42 }.do === 42) is true 397 397 PASS (function(){"use strict";({ "do": 42 }.do === 42)}); true is true … … 400 400 PASS "use strict";({ get do(){}, set do(){}, parsedOkay: 42 }.parsedOkay === 42) is true 401 401 PASS (function(){"use strict";({ get do(){}, set do(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 402 PASS var else; true threw exception SyntaxError: Expected an identifier but found 'else' instead.403 PASS (function(){var else; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.404 PASS var else = 42; else === 42 threw exception SyntaxError: Expected an identifier but found 'else' instead.405 PASS (function(){var else = 42; else === 42}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.406 PASS function g(else){ }; true threw exception SyntaxError: Expected an identifier but found 'else' instead.407 PASS (function(){function g(else){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.408 PASS /else/.test(function g(else){ }) threw exception SyntaxError: Expected an identifier but found 'else' instead.409 PASS (function(){/else/.test(function g(else){ })}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.410 PASS try{}catch(else){}; true threw exception SyntaxError: Expected an identifier but found 'else' instead.411 PASS (function(){try{}catch(else){}; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.412 PASS function else(){ }; true threw exception SyntaxError: Unexpected token 'else'.413 PASS (function(){function else(){ }; true}); true threw exception SyntaxError: Unexpected token 'else'.402 PASS var else; true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 403 PASS (function(){var else; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 404 PASS var else = 42; else === 42 threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 405 PASS (function(){var else = 42; else === 42}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 406 PASS function g(else){ }; true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 407 PASS (function(){function g(else){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 408 PASS /else/.test(function g(else){ }) threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 409 PASS (function(){/else/.test(function g(else){ })}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 410 PASS try{}catch(else){}; true threw exception SyntaxError: Cannot use the keyword 'else' as a catch variable name.. 411 PASS (function(){try{}catch(else){}; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a catch variable name.. 412 PASS function else(){ }; true threw exception SyntaxError: Cannot use the keyword 'else' as a function name.. 413 PASS (function(){function else(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a function name.. 414 414 PASS ({ "else": 42 }.else === 42) is true 415 415 PASS (function(){({ "else": 42 }.else === 42)}); true is true … … 418 418 PASS ({ get else(){}, set else(){}, parsedOkay: 42 }.parsedOkay === 42) is true 419 419 PASS (function(){({ get else(){}, set else(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 420 PASS "use strict";var else; true threw exception SyntaxError: Expected an identifier but found 'else' instead.421 PASS (function(){"use strict";var else; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.422 PASS "use strict";var else = 42; else === 42 threw exception SyntaxError: Expected an identifier but found 'else' instead.423 PASS (function(){"use strict";var else = 42; else === 42}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.424 PASS "use strict";function g(else){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'else' instead.425 PASS (function(){"use strict";function g(else){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.426 PASS "use strict";/else/.test(function g(else){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'else' instead.427 PASS (function(){"use strict";/else/.test(function g(else){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.428 PASS "use strict";try{}catch(else){}; true threw exception SyntaxError: Expected an identifier but found 'else' instead.429 PASS (function(){"use strict";try{}catch(else){}; true}); true threw exception SyntaxError: Expected an identifier but found 'else' instead.430 PASS "use strict";function else(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'else'.431 PASS (function(){"use strict";function else(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'else'.420 PASS "use strict";var else; true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 421 PASS (function(){"use strict";var else; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 422 PASS "use strict";var else = 42; else === 42 threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 423 PASS (function(){"use strict";var else = 42; else === 42}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 424 PASS "use strict";function g(else){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 425 PASS (function(){"use strict";function g(else){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 426 PASS "use strict";/else/.test(function g(else){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 427 PASS (function(){"use strict";/else/.test(function g(else){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'else' as a variable name.. 428 PASS "use strict";try{}catch(else){}; true threw exception SyntaxError: Cannot use the keyword 'else' as a catch variable name.. 429 PASS (function(){"use strict";try{}catch(else){}; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a catch variable name.. 430 PASS "use strict";function else(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'else' as a function name.. 431 PASS (function(){"use strict";function else(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'else' as a function name.. 432 432 PASS "use strict";({ "else": 42 }.else === 42) is true 433 433 PASS (function(){"use strict";({ "else": 42 }.else === 42)}); true is true … … 436 436 PASS "use strict";({ get else(){}, set else(){}, parsedOkay: 42 }.parsedOkay === 42) is true 437 437 PASS (function(){"use strict";({ get else(){}, set else(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 438 PASS var finally; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.439 PASS (function(){var finally; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.440 PASS var finally = 42; finally === 42 threw exception SyntaxError: Expected an identifier but found 'finally' instead.441 PASS (function(){var finally = 42; finally === 42}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.442 PASS function g(finally){ }; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.443 PASS (function(){function g(finally){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.444 PASS /finally/.test(function g(finally){ }) threw exception SyntaxError: Expected an identifier but found 'finally' instead.445 PASS (function(){/finally/.test(function g(finally){ })}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.446 PASS try{}catch(finally){}; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.447 PASS (function(){try{}catch(finally){}; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.448 PASS function finally(){ }; true threw exception SyntaxError: Unexpected token 'finally'.449 PASS (function(){function finally(){ }; true}); true threw exception SyntaxError: Unexpected token 'finally'.438 PASS var finally; true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 439 PASS (function(){var finally; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 440 PASS var finally = 42; finally === 42 threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 441 PASS (function(){var finally = 42; finally === 42}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 442 PASS function g(finally){ }; true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 443 PASS (function(){function g(finally){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 444 PASS /finally/.test(function g(finally){ }) threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 445 PASS (function(){/finally/.test(function g(finally){ })}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 446 PASS try{}catch(finally){}; true threw exception SyntaxError: Cannot use the keyword 'finally' as a catch variable name.. 447 PASS (function(){try{}catch(finally){}; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a catch variable name.. 448 PASS function finally(){ }; true threw exception SyntaxError: Cannot use the keyword 'finally' as a function name.. 449 PASS (function(){function finally(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a function name.. 450 450 PASS ({ "finally": 42 }.finally === 42) is true 451 451 PASS (function(){({ "finally": 42 }.finally === 42)}); true is true … … 454 454 PASS ({ get finally(){}, set finally(){}, parsedOkay: 42 }.parsedOkay === 42) is true 455 455 PASS (function(){({ get finally(){}, set finally(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 456 PASS "use strict";var finally; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.457 PASS (function(){"use strict";var finally; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.458 PASS "use strict";var finally = 42; finally === 42 threw exception SyntaxError: Expected an identifier but found 'finally' instead.459 PASS (function(){"use strict";var finally = 42; finally === 42}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.460 PASS "use strict";function g(finally){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.461 PASS (function(){"use strict";function g(finally){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.462 PASS "use strict";/finally/.test(function g(finally){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'finally' instead.463 PASS (function(){"use strict";/finally/.test(function g(finally){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.464 PASS "use strict";try{}catch(finally){}; true threw exception SyntaxError: Expected an identifier but found 'finally' instead.465 PASS (function(){"use strict";try{}catch(finally){}; true}); true threw exception SyntaxError: Expected an identifier but found 'finally' instead.466 PASS "use strict";function finally(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'finally'.467 PASS (function(){"use strict";function finally(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'finally'.456 PASS "use strict";var finally; true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 457 PASS (function(){"use strict";var finally; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 458 PASS "use strict";var finally = 42; finally === 42 threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 459 PASS (function(){"use strict";var finally = 42; finally === 42}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 460 PASS "use strict";function g(finally){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 461 PASS (function(){"use strict";function g(finally){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 462 PASS "use strict";/finally/.test(function g(finally){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 463 PASS (function(){"use strict";/finally/.test(function g(finally){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a variable name.. 464 PASS "use strict";try{}catch(finally){}; true threw exception SyntaxError: Cannot use the keyword 'finally' as a catch variable name.. 465 PASS (function(){"use strict";try{}catch(finally){}; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a catch variable name.. 466 PASS "use strict";function finally(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'finally' as a function name.. 467 PASS (function(){"use strict";function finally(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'finally' as a function name.. 468 468 PASS "use strict";({ "finally": 42 }.finally === 42) is true 469 469 PASS (function(){"use strict";({ "finally": 42 }.finally === 42)}); true is true … … 472 472 PASS "use strict";({ get finally(){}, set finally(){}, parsedOkay: 42 }.parsedOkay === 42) is true 473 473 PASS (function(){"use strict";({ get finally(){}, set finally(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 474 PASS var for; true threw exception SyntaxError: Expected an identifier but found 'for' instead.475 PASS (function(){var for; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.476 PASS var for = 42; for === 42 threw exception SyntaxError: Expected an identifier but found 'for' instead.477 PASS (function(){var for = 42; for === 42}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.478 PASS function g(for){ }; true threw exception SyntaxError: Expected an identifier but found 'for' instead.479 PASS (function(){function g(for){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.480 PASS /for/.test(function g(for){ }) threw exception SyntaxError: Expected an identifier but found 'for' instead.481 PASS (function(){/for/.test(function g(for){ })}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.482 PASS try{}catch(for){}; true threw exception SyntaxError: Expected an identifier but found 'for' instead.483 PASS (function(){try{}catch(for){}; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.484 PASS function for(){ }; true threw exception SyntaxError: Unexpected token 'for'.485 PASS (function(){function for(){ }; true}); true threw exception SyntaxError: Unexpected token 'for'.474 PASS var for; true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 475 PASS (function(){var for; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 476 PASS var for = 42; for === 42 threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 477 PASS (function(){var for = 42; for === 42}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 478 PASS function g(for){ }; true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 479 PASS (function(){function g(for){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 480 PASS /for/.test(function g(for){ }) threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 481 PASS (function(){/for/.test(function g(for){ })}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 482 PASS try{}catch(for){}; true threw exception SyntaxError: Cannot use the keyword 'for' as a catch variable name.. 483 PASS (function(){try{}catch(for){}; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a catch variable name.. 484 PASS function for(){ }; true threw exception SyntaxError: Cannot use the keyword 'for' as a function name.. 485 PASS (function(){function for(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a function name.. 486 486 PASS ({ "for": 42 }.for === 42) is true 487 487 PASS (function(){({ "for": 42 }.for === 42)}); true is true … … 490 490 PASS ({ get for(){}, set for(){}, parsedOkay: 42 }.parsedOkay === 42) is true 491 491 PASS (function(){({ get for(){}, set for(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 492 PASS "use strict";var for; true threw exception SyntaxError: Expected an identifier but found 'for' instead.493 PASS (function(){"use strict";var for; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.494 PASS "use strict";var for = 42; for === 42 threw exception SyntaxError: Expected an identifier but found 'for' instead.495 PASS (function(){"use strict";var for = 42; for === 42}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.496 PASS "use strict";function g(for){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'for' instead.497 PASS (function(){"use strict";function g(for){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.498 PASS "use strict";/for/.test(function g(for){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'for' instead.499 PASS (function(){"use strict";/for/.test(function g(for){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.500 PASS "use strict";try{}catch(for){}; true threw exception SyntaxError: Expected an identifier but found 'for' instead.501 PASS (function(){"use strict";try{}catch(for){}; true}); true threw exception SyntaxError: Expected an identifier but found 'for' instead.502 PASS "use strict";function for(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'for'.503 PASS (function(){"use strict";function for(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'for'.492 PASS "use strict";var for; true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 493 PASS (function(){"use strict";var for; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 494 PASS "use strict";var for = 42; for === 42 threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 495 PASS (function(){"use strict";var for = 42; for === 42}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 496 PASS "use strict";function g(for){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 497 PASS (function(){"use strict";function g(for){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 498 PASS "use strict";/for/.test(function g(for){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 499 PASS (function(){"use strict";/for/.test(function g(for){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'for' as a variable name.. 500 PASS "use strict";try{}catch(for){}; true threw exception SyntaxError: Cannot use the keyword 'for' as a catch variable name.. 501 PASS (function(){"use strict";try{}catch(for){}; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a catch variable name.. 502 PASS "use strict";function for(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'for' as a function name.. 503 PASS (function(){"use strict";function for(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'for' as a function name.. 504 504 PASS "use strict";({ "for": 42 }.for === 42) is true 505 505 PASS (function(){"use strict";({ "for": 42 }.for === 42)}); true is true … … 508 508 PASS "use strict";({ get for(){}, set for(){}, parsedOkay: 42 }.parsedOkay === 42) is true 509 509 PASS (function(){"use strict";({ get for(){}, set for(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 510 PASS var function; true threw exception SyntaxError: Expected an identifier but found 'function' instead.511 PASS (function(){var function; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.512 PASS var function = 42; function === 42 threw exception SyntaxError: Expected an identifier but found 'function' instead.513 PASS (function(){var function = 42; function === 42}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.514 PASS function g(function){ }; true threw exception SyntaxError: Expected an identifier but found 'function' instead.515 PASS (function(){function g(function){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.516 PASS /function/.test(function g(function){ }) threw exception SyntaxError: Expected an identifier but found 'function' instead.517 PASS (function(){/function/.test(function g(function){ })}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.518 PASS try{}catch(function){}; true threw exception SyntaxError: Expected an identifier but found 'function' instead.519 PASS (function(){try{}catch(function){}; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.520 PASS function function(){ }; true threw exception SyntaxError: Unexpected token 'function'.521 PASS (function(){function function(){ }; true}); true threw exception SyntaxError: Unexpected token 'function'.510 PASS var function; true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 511 PASS (function(){var function; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 512 PASS var function = 42; function === 42 threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 513 PASS (function(){var function = 42; function === 42}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 514 PASS function g(function){ }; true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 515 PASS (function(){function g(function){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 516 PASS /function/.test(function g(function){ }) threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 517 PASS (function(){/function/.test(function g(function){ })}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 518 PASS try{}catch(function){}; true threw exception SyntaxError: Cannot use the keyword 'function' as a catch variable name.. 519 PASS (function(){try{}catch(function){}; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a catch variable name.. 520 PASS function function(){ }; true threw exception SyntaxError: Cannot use the keyword 'function' as a function name.. 521 PASS (function(){function function(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a function name.. 522 522 PASS ({ "function": 42 }.function === 42) is true 523 523 PASS (function(){({ "function": 42 }.function === 42)}); true is true … … 526 526 PASS ({ get function(){}, set function(){}, parsedOkay: 42 }.parsedOkay === 42) is true 527 527 PASS (function(){({ get function(){}, set function(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 528 PASS "use strict";var function; true threw exception SyntaxError: Expected an identifier but found 'function' instead.529 PASS (function(){"use strict";var function; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.530 PASS "use strict";var function = 42; function === 42 threw exception SyntaxError: Expected an identifier but found 'function' instead.531 PASS (function(){"use strict";var function = 42; function === 42}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.532 PASS "use strict";function g(function){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'function' instead.533 PASS (function(){"use strict";function g(function){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.534 PASS "use strict";/function/.test(function g(function){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'function' instead.535 PASS (function(){"use strict";/function/.test(function g(function){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.536 PASS "use strict";try{}catch(function){}; true threw exception SyntaxError: Expected an identifier but found 'function' instead.537 PASS (function(){"use strict";try{}catch(function){}; true}); true threw exception SyntaxError: Expected an identifier but found 'function' instead.538 PASS "use strict";function function(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'function'.539 PASS (function(){"use strict";function function(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'function'.528 PASS "use strict";var function; true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 529 PASS (function(){"use strict";var function; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 530 PASS "use strict";var function = 42; function === 42 threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 531 PASS (function(){"use strict";var function = 42; function === 42}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 532 PASS "use strict";function g(function){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 533 PASS (function(){"use strict";function g(function){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 534 PASS "use strict";/function/.test(function g(function){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 535 PASS (function(){"use strict";/function/.test(function g(function){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'function' as a variable name.. 536 PASS "use strict";try{}catch(function){}; true threw exception SyntaxError: Cannot use the keyword 'function' as a catch variable name.. 537 PASS (function(){"use strict";try{}catch(function){}; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a catch variable name.. 538 PASS "use strict";function function(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'function' as a function name.. 539 PASS (function(){"use strict";function function(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'function' as a function name.. 540 540 PASS "use strict";({ "function": 42 }.function === 42) is true 541 541 PASS (function(){"use strict";({ "function": 42 }.function === 42)}); true is true … … 544 544 PASS "use strict";({ get function(){}, set function(){}, parsedOkay: 42 }.parsedOkay === 42) is true 545 545 PASS (function(){"use strict";({ get function(){}, set function(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 546 PASS var if; true threw exception SyntaxError: Expected an identifier but found 'if' instead.547 PASS (function(){var if; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.548 PASS var if = 42; if === 42 threw exception SyntaxError: Expected an identifier but found 'if' instead.549 PASS (function(){var if = 42; if === 42}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.550 PASS function g(if){ }; true threw exception SyntaxError: Expected an identifier but found 'if' instead.551 PASS (function(){function g(if){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.552 PASS /if/.test(function g(if){ }) threw exception SyntaxError: Expected an identifier but found 'if' instead.553 PASS (function(){/if/.test(function g(if){ })}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.554 PASS try{}catch(if){}; true threw exception SyntaxError: Expected an identifier but found 'if' instead.555 PASS (function(){try{}catch(if){}; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.556 PASS function if(){ }; true threw exception SyntaxError: Unexpected token 'if'.557 PASS (function(){function if(){ }; true}); true threw exception SyntaxError: Unexpected token 'if'.546 PASS var if; true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 547 PASS (function(){var if; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 548 PASS var if = 42; if === 42 threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 549 PASS (function(){var if = 42; if === 42}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 550 PASS function g(if){ }; true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 551 PASS (function(){function g(if){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 552 PASS /if/.test(function g(if){ }) threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 553 PASS (function(){/if/.test(function g(if){ })}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 554 PASS try{}catch(if){}; true threw exception SyntaxError: Cannot use the keyword 'if' as a catch variable name.. 555 PASS (function(){try{}catch(if){}; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a catch variable name.. 556 PASS function if(){ }; true threw exception SyntaxError: Cannot use the keyword 'if' as a function name.. 557 PASS (function(){function if(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a function name.. 558 558 PASS ({ "if": 42 }.if === 42) is true 559 559 PASS (function(){({ "if": 42 }.if === 42)}); true is true … … 562 562 PASS ({ get if(){}, set if(){}, parsedOkay: 42 }.parsedOkay === 42) is true 563 563 PASS (function(){({ get if(){}, set if(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 564 PASS "use strict";var if; true threw exception SyntaxError: Expected an identifier but found 'if' instead.565 PASS (function(){"use strict";var if; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.566 PASS "use strict";var if = 42; if === 42 threw exception SyntaxError: Expected an identifier but found 'if' instead.567 PASS (function(){"use strict";var if = 42; if === 42}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.568 PASS "use strict";function g(if){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'if' instead.569 PASS (function(){"use strict";function g(if){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.570 PASS "use strict";/if/.test(function g(if){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'if' instead.571 PASS (function(){"use strict";/if/.test(function g(if){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.572 PASS "use strict";try{}catch(if){}; true threw exception SyntaxError: Expected an identifier but found 'if' instead.573 PASS (function(){"use strict";try{}catch(if){}; true}); true threw exception SyntaxError: Expected an identifier but found 'if' instead.574 PASS "use strict";function if(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'if'.575 PASS (function(){"use strict";function if(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'if'.564 PASS "use strict";var if; true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 565 PASS (function(){"use strict";var if; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 566 PASS "use strict";var if = 42; if === 42 threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 567 PASS (function(){"use strict";var if = 42; if === 42}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 568 PASS "use strict";function g(if){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 569 PASS (function(){"use strict";function g(if){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 570 PASS "use strict";/if/.test(function g(if){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 571 PASS (function(){"use strict";/if/.test(function g(if){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'if' as a variable name.. 572 PASS "use strict";try{}catch(if){}; true threw exception SyntaxError: Cannot use the keyword 'if' as a catch variable name.. 573 PASS (function(){"use strict";try{}catch(if){}; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a catch variable name.. 574 PASS "use strict";function if(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'if' as a function name.. 575 PASS (function(){"use strict";function if(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'if' as a function name.. 576 576 PASS "use strict";({ "if": 42 }.if === 42) is true 577 577 PASS (function(){"use strict";({ "if": 42 }.if === 42)}); true is true … … 580 580 PASS "use strict";({ get if(){}, set if(){}, parsedOkay: 42 }.parsedOkay === 42) is true 581 581 PASS (function(){"use strict";({ get if(){}, set if(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 582 PASS var in; true threw exception SyntaxError: Expected an identifier but found 'in' instead.583 PASS (function(){var in; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.584 PASS var in = 42; in === 42 threw exception SyntaxError: Expected an identifier but found 'in' instead.585 PASS (function(){var in = 42; in === 42}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.586 PASS function g(in){ }; true threw exception SyntaxError: Expected an identifier but found 'in' instead.587 PASS (function(){function g(in){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.588 PASS /in/.test(function g(in){ }) threw exception SyntaxError: Expected an identifier but found 'in' instead.589 PASS (function(){/in/.test(function g(in){ })}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.590 PASS try{}catch(in){}; true threw exception SyntaxError: Expected an identifier but found 'in' instead.591 PASS (function(){try{}catch(in){}; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.592 PASS function in(){ }; true threw exception SyntaxError: Unexpected token 'in'.593 PASS (function(){function in(){ }; true}); true threw exception SyntaxError: Unexpected token 'in'.582 PASS var in; true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 583 PASS (function(){var in; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 584 PASS var in = 42; in === 42 threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 585 PASS (function(){var in = 42; in === 42}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 586 PASS function g(in){ }; true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 587 PASS (function(){function g(in){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 588 PASS /in/.test(function g(in){ }) threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 589 PASS (function(){/in/.test(function g(in){ })}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 590 PASS try{}catch(in){}; true threw exception SyntaxError: Cannot use the keyword 'in' as a catch variable name.. 591 PASS (function(){try{}catch(in){}; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a catch variable name.. 592 PASS function in(){ }; true threw exception SyntaxError: Cannot use the keyword 'in' as a function name.. 593 PASS (function(){function in(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a function name.. 594 594 PASS ({ "in": 42 }.in === 42) is true 595 595 PASS (function(){({ "in": 42 }.in === 42)}); true is true … … 598 598 PASS ({ get in(){}, set in(){}, parsedOkay: 42 }.parsedOkay === 42) is true 599 599 PASS (function(){({ get in(){}, set in(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 600 PASS "use strict";var in; true threw exception SyntaxError: Expected an identifier but found 'in' instead.601 PASS (function(){"use strict";var in; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.602 PASS "use strict";var in = 42; in === 42 threw exception SyntaxError: Expected an identifier but found 'in' instead.603 PASS (function(){"use strict";var in = 42; in === 42}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.604 PASS "use strict";function g(in){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'in' instead.605 PASS (function(){"use strict";function g(in){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.606 PASS "use strict";/in/.test(function g(in){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'in' instead.607 PASS (function(){"use strict";/in/.test(function g(in){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.608 PASS "use strict";try{}catch(in){}; true threw exception SyntaxError: Expected an identifier but found 'in' instead.609 PASS (function(){"use strict";try{}catch(in){}; true}); true threw exception SyntaxError: Expected an identifier but found 'in' instead.610 PASS "use strict";function in(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'in'.611 PASS (function(){"use strict";function in(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'in'.600 PASS "use strict";var in; true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 601 PASS (function(){"use strict";var in; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 602 PASS "use strict";var in = 42; in === 42 threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 603 PASS (function(){"use strict";var in = 42; in === 42}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 604 PASS "use strict";function g(in){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 605 PASS (function(){"use strict";function g(in){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 606 PASS "use strict";/in/.test(function g(in){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 607 PASS (function(){"use strict";/in/.test(function g(in){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'in' as a variable name.. 608 PASS "use strict";try{}catch(in){}; true threw exception SyntaxError: Cannot use the keyword 'in' as a catch variable name.. 609 PASS (function(){"use strict";try{}catch(in){}; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a catch variable name.. 610 PASS "use strict";function in(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'in' as a function name.. 611 PASS (function(){"use strict";function in(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'in' as a function name.. 612 612 PASS "use strict";({ "in": 42 }.in === 42) is true 613 613 PASS (function(){"use strict";({ "in": 42 }.in === 42)}); true is true … … 616 616 PASS "use strict";({ get in(){}, set in(){}, parsedOkay: 42 }.parsedOkay === 42) is true 617 617 PASS (function(){"use strict";({ get in(){}, set in(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 618 PASS var instanceof; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.619 PASS (function(){var instanceof; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.620 PASS var instanceof = 42; instanceof === 42 threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.621 PASS (function(){var instanceof = 42; instanceof === 42}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.622 PASS function g(instanceof){ }; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.623 PASS (function(){function g(instanceof){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.624 PASS /instanceof/.test(function g(instanceof){ }) threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.625 PASS (function(){/instanceof/.test(function g(instanceof){ })}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.626 PASS try{}catch(instanceof){}; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.627 PASS (function(){try{}catch(instanceof){}; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.628 PASS function instanceof(){ }; true threw exception SyntaxError: Unexpected token 'instanceof'.629 PASS (function(){function instanceof(){ }; true}); true threw exception SyntaxError: Unexpected token 'instanceof'.618 PASS var instanceof; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 619 PASS (function(){var instanceof; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 620 PASS var instanceof = 42; instanceof === 42 threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 621 PASS (function(){var instanceof = 42; instanceof === 42}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 622 PASS function g(instanceof){ }; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 623 PASS (function(){function g(instanceof){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 624 PASS /instanceof/.test(function g(instanceof){ }) threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 625 PASS (function(){/instanceof/.test(function g(instanceof){ })}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 626 PASS try{}catch(instanceof){}; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a catch variable name.. 627 PASS (function(){try{}catch(instanceof){}; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a catch variable name.. 628 PASS function instanceof(){ }; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a function name.. 629 PASS (function(){function instanceof(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a function name.. 630 630 PASS ({ "instanceof": 42 }.instanceof === 42) is true 631 631 PASS (function(){({ "instanceof": 42 }.instanceof === 42)}); true is true … … 634 634 PASS ({ get instanceof(){}, set instanceof(){}, parsedOkay: 42 }.parsedOkay === 42) is true 635 635 PASS (function(){({ get instanceof(){}, set instanceof(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 636 PASS "use strict";var instanceof; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.637 PASS (function(){"use strict";var instanceof; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.638 PASS "use strict";var instanceof = 42; instanceof === 42 threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.639 PASS (function(){"use strict";var instanceof = 42; instanceof === 42}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.640 PASS "use strict";function g(instanceof){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.641 PASS (function(){"use strict";function g(instanceof){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.642 PASS "use strict";/instanceof/.test(function g(instanceof){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.643 PASS (function(){"use strict";/instanceof/.test(function g(instanceof){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.644 PASS "use strict";try{}catch(instanceof){}; true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.645 PASS (function(){"use strict";try{}catch(instanceof){}; true}); true threw exception SyntaxError: Expected an identifier but found 'instanceof' instead.646 PASS "use strict";function instanceof(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'instanceof'.647 PASS (function(){"use strict";function instanceof(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'instanceof'.636 PASS "use strict";var instanceof; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 637 PASS (function(){"use strict";var instanceof; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 638 PASS "use strict";var instanceof = 42; instanceof === 42 threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 639 PASS (function(){"use strict";var instanceof = 42; instanceof === 42}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 640 PASS "use strict";function g(instanceof){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 641 PASS (function(){"use strict";function g(instanceof){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 642 PASS "use strict";/instanceof/.test(function g(instanceof){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 643 PASS (function(){"use strict";/instanceof/.test(function g(instanceof){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a variable name.. 644 PASS "use strict";try{}catch(instanceof){}; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a catch variable name.. 645 PASS (function(){"use strict";try{}catch(instanceof){}; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a catch variable name.. 646 PASS "use strict";function instanceof(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a function name.. 647 PASS (function(){"use strict";function instanceof(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'instanceof' as a function name.. 648 648 PASS "use strict";({ "instanceof": 42 }.instanceof === 42) is true 649 649 PASS (function(){"use strict";({ "instanceof": 42 }.instanceof === 42)}); true is true … … 652 652 PASS "use strict";({ get instanceof(){}, set instanceof(){}, parsedOkay: 42 }.parsedOkay === 42) is true 653 653 PASS (function(){"use strict";({ get instanceof(){}, set instanceof(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 654 PASS var new; true threw exception SyntaxError: Expected an identifier but found 'new' instead.655 PASS (function(){var new; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.656 PASS var new = 42; new === 42 threw exception SyntaxError: Expected an identifier but found 'new' instead.657 PASS (function(){var new = 42; new === 42}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.658 PASS function g(new){ }; true threw exception SyntaxError: Expected an identifier but found 'new' instead.659 PASS (function(){function g(new){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.660 PASS /new/.test(function g(new){ }) threw exception SyntaxError: Expected an identifier but found 'new' instead.661 PASS (function(){/new/.test(function g(new){ })}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.662 PASS try{}catch(new){}; true threw exception SyntaxError: Expected an identifier but found 'new' instead.663 PASS (function(){try{}catch(new){}; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.664 PASS function new(){ }; true threw exception SyntaxError: Unexpected token 'new'.665 PASS (function(){function new(){ }; true}); true threw exception SyntaxError: Unexpected token 'new'.654 PASS var new; true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 655 PASS (function(){var new; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 656 PASS var new = 42; new === 42 threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 657 PASS (function(){var new = 42; new === 42}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 658 PASS function g(new){ }; true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 659 PASS (function(){function g(new){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 660 PASS /new/.test(function g(new){ }) threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 661 PASS (function(){/new/.test(function g(new){ })}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 662 PASS try{}catch(new){}; true threw exception SyntaxError: Cannot use the keyword 'new' as a catch variable name.. 663 PASS (function(){try{}catch(new){}; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a catch variable name.. 664 PASS function new(){ }; true threw exception SyntaxError: Cannot use the keyword 'new' as a function name.. 665 PASS (function(){function new(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a function name.. 666 666 PASS ({ "new": 42 }.new === 42) is true 667 667 PASS (function(){({ "new": 42 }.new === 42)}); true is true … … 670 670 PASS ({ get new(){}, set new(){}, parsedOkay: 42 }.parsedOkay === 42) is true 671 671 PASS (function(){({ get new(){}, set new(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 672 PASS "use strict";var new; true threw exception SyntaxError: Expected an identifier but found 'new' instead.673 PASS (function(){"use strict";var new; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.674 PASS "use strict";var new = 42; new === 42 threw exception SyntaxError: Expected an identifier but found 'new' instead.675 PASS (function(){"use strict";var new = 42; new === 42}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.676 PASS "use strict";function g(new){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'new' instead.677 PASS (function(){"use strict";function g(new){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.678 PASS "use strict";/new/.test(function g(new){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'new' instead.679 PASS (function(){"use strict";/new/.test(function g(new){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.680 PASS "use strict";try{}catch(new){}; true threw exception SyntaxError: Expected an identifier but found 'new' instead.681 PASS (function(){"use strict";try{}catch(new){}; true}); true threw exception SyntaxError: Expected an identifier but found 'new' instead.682 PASS "use strict";function new(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'new'.683 PASS (function(){"use strict";function new(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'new'.672 PASS "use strict";var new; true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 673 PASS (function(){"use strict";var new; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 674 PASS "use strict";var new = 42; new === 42 threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 675 PASS (function(){"use strict";var new = 42; new === 42}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 676 PASS "use strict";function g(new){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 677 PASS (function(){"use strict";function g(new){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 678 PASS "use strict";/new/.test(function g(new){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 679 PASS (function(){"use strict";/new/.test(function g(new){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'new' as a variable name.. 680 PASS "use strict";try{}catch(new){}; true threw exception SyntaxError: Cannot use the keyword 'new' as a catch variable name.. 681 PASS (function(){"use strict";try{}catch(new){}; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a catch variable name.. 682 PASS "use strict";function new(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'new' as a function name.. 683 PASS (function(){"use strict";function new(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'new' as a function name.. 684 684 PASS "use strict";({ "new": 42 }.new === 42) is true 685 685 PASS (function(){"use strict";({ "new": 42 }.new === 42)}); true is true … … 688 688 PASS "use strict";({ get new(){}, set new(){}, parsedOkay: 42 }.parsedOkay === 42) is true 689 689 PASS (function(){"use strict";({ get new(){}, set new(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 690 PASS var return; true threw exception SyntaxError: Return statements are only valid inside functions.691 PASS (function(){var return; true}); true threw exception SyntaxError: Return statements are only valid inside functions.692 PASS var return = 42; return === 42 threw exception SyntaxError: Return statements are only valid inside functions.693 PASS (function(){var return = 42; return === 42}); true threw exception SyntaxError: Return statements are only valid inside functions.694 PASS function g(return){ }; true threw exception SyntaxError: Return statements are only valid inside functions.695 PASS (function(){function g(return){ }; true}); true threw exception SyntaxError: Return statements are only valid inside functions.696 PASS /return/.test(function g(return){ }) threw exception SyntaxError: Return statements are only valid inside functions.697 PASS (function(){/return/.test(function g(return){ })}); true threw exception SyntaxError: Return statements are only valid inside functions.698 PASS try{}catch(return){}; true threw exception SyntaxError: Return statements are only valid inside functions.699 PASS (function(){try{}catch(return){}; true}); true threw exception SyntaxError: Return statements are only valid inside functions.700 PASS function return(){ }; true threw exception SyntaxError: Return statements are only valid inside functions.701 PASS (function(){function return(){ }; true}); true threw exception SyntaxError: Return statements are only valid inside functions.690 PASS var return; true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 691 PASS (function(){var return; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 692 PASS var return = 42; return === 42 threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 693 PASS (function(){var return = 42; return === 42}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 694 PASS function g(return){ }; true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 695 PASS (function(){function g(return){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 696 PASS /return/.test(function g(return){ }) threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 697 PASS (function(){/return/.test(function g(return){ })}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 698 PASS try{}catch(return){}; true threw exception SyntaxError: Cannot use the keyword 'return' as a catch variable name.. 699 PASS (function(){try{}catch(return){}; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a catch variable name.. 700 PASS function return(){ }; true threw exception SyntaxError: Cannot use the keyword 'return' as a function name.. 701 PASS (function(){function return(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a function name.. 702 702 PASS ({ "return": 42 }.return === 42) is true 703 703 PASS (function(){({ "return": 42 }.return === 42)}); true is true … … 706 706 PASS ({ get return(){}, set return(){}, parsedOkay: 42 }.parsedOkay === 42) is true 707 707 PASS (function(){({ get return(){}, set return(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 708 PASS "use strict";var return; true threw exception SyntaxError: Return statements are only valid inside functions.709 PASS (function(){"use strict";var return; true}); true threw exception SyntaxError: Return statements are only valid inside functions.710 PASS "use strict";var return = 42; return === 42 threw exception SyntaxError: Return statements are only valid inside functions.711 PASS (function(){"use strict";var return = 42; return === 42}); true threw exception SyntaxError: Return statements are only valid inside functions.712 PASS "use strict";function g(return){ "use strict"; }; true threw exception SyntaxError: Return statements are only valid inside functions.713 PASS (function(){"use strict";function g(return){ "use strict"; }; true}); true threw exception SyntaxError: Return statements are only valid inside functions.714 PASS "use strict";/return/.test(function g(return){ "use strict"; }) threw exception SyntaxError: Return statements are only valid inside functions.715 PASS (function(){"use strict";/return/.test(function g(return){ "use strict"; })}); true threw exception SyntaxError: Return statements are only valid inside functions.716 PASS "use strict";try{}catch(return){}; true threw exception SyntaxError: Return statements are only valid inside functions.717 PASS (function(){"use strict";try{}catch(return){}; true}); true threw exception SyntaxError: Return statements are only valid inside functions.718 PASS "use strict";function return(){ "use strict"; }; true threw exception SyntaxError: Return statements are only valid inside functions.719 PASS (function(){"use strict";function return(){ "use strict"; }; true}); true threw exception SyntaxError: Return statements are only valid inside functions.708 PASS "use strict";var return; true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 709 PASS (function(){"use strict";var return; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 710 PASS "use strict";var return = 42; return === 42 threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 711 PASS (function(){"use strict";var return = 42; return === 42}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 712 PASS "use strict";function g(return){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 713 PASS (function(){"use strict";function g(return){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 714 PASS "use strict";/return/.test(function g(return){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 715 PASS (function(){"use strict";/return/.test(function g(return){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'return' as a variable name.. 716 PASS "use strict";try{}catch(return){}; true threw exception SyntaxError: Cannot use the keyword 'return' as a catch variable name.. 717 PASS (function(){"use strict";try{}catch(return){}; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a catch variable name.. 718 PASS "use strict";function return(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'return' as a function name.. 719 PASS (function(){"use strict";function return(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'return' as a function name.. 720 720 PASS "use strict";({ "return": 42 }.return === 42) is true 721 721 PASS (function(){"use strict";({ "return": 42 }.return === 42)}); true is true … … 724 724 PASS "use strict";({ get return(){}, set return(){}, parsedOkay: 42 }.parsedOkay === 42) is true 725 725 PASS (function(){"use strict";({ get return(){}, set return(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 726 PASS var switch; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.727 PASS (function(){var switch; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.728 PASS var switch = 42; switch === 42 threw exception SyntaxError: Expected an identifier but found 'switch' instead.729 PASS (function(){var switch = 42; switch === 42}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.730 PASS function g(switch){ }; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.731 PASS (function(){function g(switch){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.732 PASS /switch/.test(function g(switch){ }) threw exception SyntaxError: Expected an identifier but found 'switch' instead.733 PASS (function(){/switch/.test(function g(switch){ })}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.734 PASS try{}catch(switch){}; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.735 PASS (function(){try{}catch(switch){}; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.736 PASS function switch(){ }; true threw exception SyntaxError: Unexpected token 'switch'.737 PASS (function(){function switch(){ }; true}); true threw exception SyntaxError: Unexpected token 'switch'.726 PASS var switch; true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 727 PASS (function(){var switch; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 728 PASS var switch = 42; switch === 42 threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 729 PASS (function(){var switch = 42; switch === 42}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 730 PASS function g(switch){ }; true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 731 PASS (function(){function g(switch){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 732 PASS /switch/.test(function g(switch){ }) threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 733 PASS (function(){/switch/.test(function g(switch){ })}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 734 PASS try{}catch(switch){}; true threw exception SyntaxError: Cannot use the keyword 'switch' as a catch variable name.. 735 PASS (function(){try{}catch(switch){}; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a catch variable name.. 736 PASS function switch(){ }; true threw exception SyntaxError: Cannot use the keyword 'switch' as a function name.. 737 PASS (function(){function switch(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a function name.. 738 738 PASS ({ "switch": 42 }.switch === 42) is true 739 739 PASS (function(){({ "switch": 42 }.switch === 42)}); true is true … … 742 742 PASS ({ get switch(){}, set switch(){}, parsedOkay: 42 }.parsedOkay === 42) is true 743 743 PASS (function(){({ get switch(){}, set switch(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 744 PASS "use strict";var switch; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.745 PASS (function(){"use strict";var switch; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.746 PASS "use strict";var switch = 42; switch === 42 threw exception SyntaxError: Expected an identifier but found 'switch' instead.747 PASS (function(){"use strict";var switch = 42; switch === 42}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.748 PASS "use strict";function g(switch){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.749 PASS (function(){"use strict";function g(switch){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.750 PASS "use strict";/switch/.test(function g(switch){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'switch' instead.751 PASS (function(){"use strict";/switch/.test(function g(switch){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.752 PASS "use strict";try{}catch(switch){}; true threw exception SyntaxError: Expected an identifier but found 'switch' instead.753 PASS (function(){"use strict";try{}catch(switch){}; true}); true threw exception SyntaxError: Expected an identifier but found 'switch' instead.754 PASS "use strict";function switch(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'switch'.755 PASS (function(){"use strict";function switch(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'switch'.744 PASS "use strict";var switch; true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 745 PASS (function(){"use strict";var switch; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 746 PASS "use strict";var switch = 42; switch === 42 threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 747 PASS (function(){"use strict";var switch = 42; switch === 42}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 748 PASS "use strict";function g(switch){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 749 PASS (function(){"use strict";function g(switch){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 750 PASS "use strict";/switch/.test(function g(switch){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 751 PASS (function(){"use strict";/switch/.test(function g(switch){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a variable name.. 752 PASS "use strict";try{}catch(switch){}; true threw exception SyntaxError: Cannot use the keyword 'switch' as a catch variable name.. 753 PASS (function(){"use strict";try{}catch(switch){}; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a catch variable name.. 754 PASS "use strict";function switch(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'switch' as a function name.. 755 PASS (function(){"use strict";function switch(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'switch' as a function name.. 756 756 PASS "use strict";({ "switch": 42 }.switch === 42) is true 757 757 PASS (function(){"use strict";({ "switch": 42 }.switch === 42)}); true is true … … 760 760 PASS "use strict";({ get switch(){}, set switch(){}, parsedOkay: 42 }.parsedOkay === 42) is true 761 761 PASS (function(){"use strict";({ get switch(){}, set switch(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 762 PASS var this; true threw exception SyntaxError: Expected an identifier but found 'this' instead.763 PASS (function(){var this; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.764 PASS var this = 42; this === 42 threw exception SyntaxError: Expected an identifier but found 'this' instead.765 PASS (function(){var this = 42; this === 42}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.766 PASS function g(this){ }; true threw exception SyntaxError: Expected an identifier but found 'this' instead.767 PASS (function(){function g(this){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.768 PASS /this/.test(function g(this){ }) threw exception SyntaxError: Expected an identifier but found 'this' instead.769 PASS (function(){/this/.test(function g(this){ })}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.770 PASS try{}catch(this){}; true threw exception SyntaxError: Expected an identifier but found 'this' instead.771 PASS (function(){try{}catch(this){}; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.772 PASS function this(){ }; true threw exception SyntaxError: Unexpected token 'this'.773 PASS (function(){function this(){ }; true}); true threw exception SyntaxError: Unexpected token 'this'.762 PASS var this; true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 763 PASS (function(){var this; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 764 PASS var this = 42; this === 42 threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 765 PASS (function(){var this = 42; this === 42}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 766 PASS function g(this){ }; true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 767 PASS (function(){function g(this){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 768 PASS /this/.test(function g(this){ }) threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 769 PASS (function(){/this/.test(function g(this){ })}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 770 PASS try{}catch(this){}; true threw exception SyntaxError: Cannot use the keyword 'this' as a catch variable name.. 771 PASS (function(){try{}catch(this){}; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a catch variable name.. 772 PASS function this(){ }; true threw exception SyntaxError: Cannot use the keyword 'this' as a function name.. 773 PASS (function(){function this(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a function name.. 774 774 PASS ({ "this": 42 }.this === 42) is true 775 775 PASS (function(){({ "this": 42 }.this === 42)}); true is true … … 778 778 PASS ({ get this(){}, set this(){}, parsedOkay: 42 }.parsedOkay === 42) is true 779 779 PASS (function(){({ get this(){}, set this(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 780 PASS "use strict";var this; true threw exception SyntaxError: Expected an identifier but found 'this' instead.781 PASS (function(){"use strict";var this; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.782 PASS "use strict";var this = 42; this === 42 threw exception SyntaxError: Expected an identifier but found 'this' instead.783 PASS (function(){"use strict";var this = 42; this === 42}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.784 PASS "use strict";function g(this){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'this' instead.785 PASS (function(){"use strict";function g(this){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.786 PASS "use strict";/this/.test(function g(this){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'this' instead.787 PASS (function(){"use strict";/this/.test(function g(this){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.788 PASS "use strict";try{}catch(this){}; true threw exception SyntaxError: Expected an identifier but found 'this' instead.789 PASS (function(){"use strict";try{}catch(this){}; true}); true threw exception SyntaxError: Expected an identifier but found 'this' instead.790 PASS "use strict";function this(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'this'.791 PASS (function(){"use strict";function this(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'this'.780 PASS "use strict";var this; true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 781 PASS (function(){"use strict";var this; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 782 PASS "use strict";var this = 42; this === 42 threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 783 PASS (function(){"use strict";var this = 42; this === 42}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 784 PASS "use strict";function g(this){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 785 PASS (function(){"use strict";function g(this){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 786 PASS "use strict";/this/.test(function g(this){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 787 PASS (function(){"use strict";/this/.test(function g(this){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'this' as a variable name.. 788 PASS "use strict";try{}catch(this){}; true threw exception SyntaxError: Cannot use the keyword 'this' as a catch variable name.. 789 PASS (function(){"use strict";try{}catch(this){}; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a catch variable name.. 790 PASS "use strict";function this(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'this' as a function name.. 791 PASS (function(){"use strict";function this(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'this' as a function name.. 792 792 PASS "use strict";({ "this": 42 }.this === 42) is true 793 793 PASS (function(){"use strict";({ "this": 42 }.this === 42)}); true is true … … 796 796 PASS "use strict";({ get this(){}, set this(){}, parsedOkay: 42 }.parsedOkay === 42) is true 797 797 PASS (function(){"use strict";({ get this(){}, set this(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 798 PASS var throw; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.799 PASS (function(){var throw; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.800 PASS var throw = 42; throw === 42 threw exception SyntaxError: Expected an identifier but found 'throw' instead.801 PASS (function(){var throw = 42; throw === 42}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.802 PASS function g(throw){ }; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.803 PASS (function(){function g(throw){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.804 PASS /throw/.test(function g(throw){ }) threw exception SyntaxError: Expected an identifier but found 'throw' instead.805 PASS (function(){/throw/.test(function g(throw){ })}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.806 PASS try{}catch(throw){}; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.807 PASS (function(){try{}catch(throw){}; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.808 PASS function throw(){ }; true threw exception SyntaxError: Unexpected token 'throw'.809 PASS (function(){function throw(){ }; true}); true threw exception SyntaxError: Unexpected token 'throw'.798 PASS var throw; true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 799 PASS (function(){var throw; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 800 PASS var throw = 42; throw === 42 threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 801 PASS (function(){var throw = 42; throw === 42}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 802 PASS function g(throw){ }; true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 803 PASS (function(){function g(throw){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 804 PASS /throw/.test(function g(throw){ }) threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 805 PASS (function(){/throw/.test(function g(throw){ })}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 806 PASS try{}catch(throw){}; true threw exception SyntaxError: Cannot use the keyword 'throw' as a catch variable name.. 807 PASS (function(){try{}catch(throw){}; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a catch variable name.. 808 PASS function throw(){ }; true threw exception SyntaxError: Cannot use the keyword 'throw' as a function name.. 809 PASS (function(){function throw(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a function name.. 810 810 PASS ({ "throw": 42 }.throw === 42) is true 811 811 PASS (function(){({ "throw": 42 }.throw === 42)}); true is true … … 814 814 PASS ({ get throw(){}, set throw(){}, parsedOkay: 42 }.parsedOkay === 42) is true 815 815 PASS (function(){({ get throw(){}, set throw(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 816 PASS "use strict";var throw; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.817 PASS (function(){"use strict";var throw; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.818 PASS "use strict";var throw = 42; throw === 42 threw exception SyntaxError: Expected an identifier but found 'throw' instead.819 PASS (function(){"use strict";var throw = 42; throw === 42}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.820 PASS "use strict";function g(throw){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.821 PASS (function(){"use strict";function g(throw){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.822 PASS "use strict";/throw/.test(function g(throw){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'throw' instead.823 PASS (function(){"use strict";/throw/.test(function g(throw){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.824 PASS "use strict";try{}catch(throw){}; true threw exception SyntaxError: Expected an identifier but found 'throw' instead.825 PASS (function(){"use strict";try{}catch(throw){}; true}); true threw exception SyntaxError: Expected an identifier but found 'throw' instead.826 PASS "use strict";function throw(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'throw'.827 PASS (function(){"use strict";function throw(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'throw'.816 PASS "use strict";var throw; true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 817 PASS (function(){"use strict";var throw; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 818 PASS "use strict";var throw = 42; throw === 42 threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 819 PASS (function(){"use strict";var throw = 42; throw === 42}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 820 PASS "use strict";function g(throw){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 821 PASS (function(){"use strict";function g(throw){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 822 PASS "use strict";/throw/.test(function g(throw){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 823 PASS (function(){"use strict";/throw/.test(function g(throw){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a variable name.. 824 PASS "use strict";try{}catch(throw){}; true threw exception SyntaxError: Cannot use the keyword 'throw' as a catch variable name.. 825 PASS (function(){"use strict";try{}catch(throw){}; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a catch variable name.. 826 PASS "use strict";function throw(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'throw' as a function name.. 827 PASS (function(){"use strict";function throw(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'throw' as a function name.. 828 828 PASS "use strict";({ "throw": 42 }.throw === 42) is true 829 829 PASS (function(){"use strict";({ "throw": 42 }.throw === 42)}); true is true … … 832 832 PASS "use strict";({ get throw(){}, set throw(){}, parsedOkay: 42 }.parsedOkay === 42) is true 833 833 PASS (function(){"use strict";({ get throw(){}, set throw(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 834 PASS var try; true threw exception SyntaxError: Expected an identifier but found 'try' instead.835 PASS (function(){var try; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.836 PASS var try = 42; try === 42 threw exception SyntaxError: Expected an identifier but found 'try' instead.837 PASS (function(){var try = 42; try === 42}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.838 PASS function g(try){ }; true threw exception SyntaxError: Expected an identifier but found 'try' instead.839 PASS (function(){function g(try){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.840 PASS /try/.test(function g(try){ }) threw exception SyntaxError: Expected an identifier but found 'try' instead.841 PASS (function(){/try/.test(function g(try){ })}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.842 PASS try{}catch(try){}; true threw exception SyntaxError: Expected an identifier but found 'try' instead.843 PASS (function(){try{}catch(try){}; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.844 PASS function try(){ }; true threw exception SyntaxError: Unexpected token 'try'.845 PASS (function(){function try(){ }; true}); true threw exception SyntaxError: Unexpected token 'try'.834 PASS var try; true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 835 PASS (function(){var try; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 836 PASS var try = 42; try === 42 threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 837 PASS (function(){var try = 42; try === 42}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 838 PASS function g(try){ }; true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 839 PASS (function(){function g(try){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 840 PASS /try/.test(function g(try){ }) threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 841 PASS (function(){/try/.test(function g(try){ })}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 842 PASS try{}catch(try){}; true threw exception SyntaxError: Cannot use the keyword 'try' as a catch variable name.. 843 PASS (function(){try{}catch(try){}; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a catch variable name.. 844 PASS function try(){ }; true threw exception SyntaxError: Cannot use the keyword 'try' as a function name.. 845 PASS (function(){function try(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a function name.. 846 846 PASS ({ "try": 42 }.try === 42) is true 847 847 PASS (function(){({ "try": 42 }.try === 42)}); true is true … … 850 850 PASS ({ get try(){}, set try(){}, parsedOkay: 42 }.parsedOkay === 42) is true 851 851 PASS (function(){({ get try(){}, set try(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 852 PASS "use strict";var try; true threw exception SyntaxError: Expected an identifier but found 'try' instead.853 PASS (function(){"use strict";var try; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.854 PASS "use strict";var try = 42; try === 42 threw exception SyntaxError: Expected an identifier but found 'try' instead.855 PASS (function(){"use strict";var try = 42; try === 42}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.856 PASS "use strict";function g(try){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'try' instead.857 PASS (function(){"use strict";function g(try){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.858 PASS "use strict";/try/.test(function g(try){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'try' instead.859 PASS (function(){"use strict";/try/.test(function g(try){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.860 PASS "use strict";try{}catch(try){}; true threw exception SyntaxError: Expected an identifier but found 'try' instead.861 PASS (function(){"use strict";try{}catch(try){}; true}); true threw exception SyntaxError: Expected an identifier but found 'try' instead.862 PASS "use strict";function try(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'try'.863 PASS (function(){"use strict";function try(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'try'.852 PASS "use strict";var try; true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 853 PASS (function(){"use strict";var try; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 854 PASS "use strict";var try = 42; try === 42 threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 855 PASS (function(){"use strict";var try = 42; try === 42}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 856 PASS "use strict";function g(try){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 857 PASS (function(){"use strict";function g(try){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 858 PASS "use strict";/try/.test(function g(try){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 859 PASS (function(){"use strict";/try/.test(function g(try){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'try' as a variable name.. 860 PASS "use strict";try{}catch(try){}; true threw exception SyntaxError: Cannot use the keyword 'try' as a catch variable name.. 861 PASS (function(){"use strict";try{}catch(try){}; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a catch variable name.. 862 PASS "use strict";function try(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'try' as a function name.. 863 PASS (function(){"use strict";function try(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'try' as a function name.. 864 864 PASS "use strict";({ "try": 42 }.try === 42) is true 865 865 PASS (function(){"use strict";({ "try": 42 }.try === 42)}); true is true … … 868 868 PASS "use strict";({ get try(){}, set try(){}, parsedOkay: 42 }.parsedOkay === 42) is true 869 869 PASS (function(){"use strict";({ get try(){}, set try(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 870 PASS var typeof; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.871 PASS (function(){var typeof; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.872 PASS var typeof = 42; typeof === 42 threw exception SyntaxError: Expected an identifier but found 'typeof' instead.873 PASS (function(){var typeof = 42; typeof === 42}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.874 PASS function g(typeof){ }; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.875 PASS (function(){function g(typeof){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.876 PASS /typeof/.test(function g(typeof){ }) threw exception SyntaxError: Expected an identifier but found 'typeof' instead.877 PASS (function(){/typeof/.test(function g(typeof){ })}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.878 PASS try{}catch(typeof){}; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.879 PASS (function(){try{}catch(typeof){}; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.880 PASS function typeof(){ }; true threw exception SyntaxError: Unexpected token 'typeof'.881 PASS (function(){function typeof(){ }; true}); true threw exception SyntaxError: Unexpected token 'typeof'.870 PASS var typeof; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 871 PASS (function(){var typeof; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 872 PASS var typeof = 42; typeof === 42 threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 873 PASS (function(){var typeof = 42; typeof === 42}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 874 PASS function g(typeof){ }; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 875 PASS (function(){function g(typeof){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 876 PASS /typeof/.test(function g(typeof){ }) threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 877 PASS (function(){/typeof/.test(function g(typeof){ })}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 878 PASS try{}catch(typeof){}; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a catch variable name.. 879 PASS (function(){try{}catch(typeof){}; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a catch variable name.. 880 PASS function typeof(){ }; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a function name.. 881 PASS (function(){function typeof(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a function name.. 882 882 PASS ({ "typeof": 42 }.typeof === 42) is true 883 883 PASS (function(){({ "typeof": 42 }.typeof === 42)}); true is true … … 886 886 PASS ({ get typeof(){}, set typeof(){}, parsedOkay: 42 }.parsedOkay === 42) is true 887 887 PASS (function(){({ get typeof(){}, set typeof(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 888 PASS "use strict";var typeof; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.889 PASS (function(){"use strict";var typeof; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.890 PASS "use strict";var typeof = 42; typeof === 42 threw exception SyntaxError: Expected an identifier but found 'typeof' instead.891 PASS (function(){"use strict";var typeof = 42; typeof === 42}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.892 PASS "use strict";function g(typeof){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.893 PASS (function(){"use strict";function g(typeof){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.894 PASS "use strict";/typeof/.test(function g(typeof){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'typeof' instead.895 PASS (function(){"use strict";/typeof/.test(function g(typeof){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.896 PASS "use strict";try{}catch(typeof){}; true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.897 PASS (function(){"use strict";try{}catch(typeof){}; true}); true threw exception SyntaxError: Expected an identifier but found 'typeof' instead.898 PASS "use strict";function typeof(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'typeof'.899 PASS (function(){"use strict";function typeof(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'typeof'.888 PASS "use strict";var typeof; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 889 PASS (function(){"use strict";var typeof; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 890 PASS "use strict";var typeof = 42; typeof === 42 threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 891 PASS (function(){"use strict";var typeof = 42; typeof === 42}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 892 PASS "use strict";function g(typeof){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 893 PASS (function(){"use strict";function g(typeof){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 894 PASS "use strict";/typeof/.test(function g(typeof){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 895 PASS (function(){"use strict";/typeof/.test(function g(typeof){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a variable name.. 896 PASS "use strict";try{}catch(typeof){}; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a catch variable name.. 897 PASS (function(){"use strict";try{}catch(typeof){}; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a catch variable name.. 898 PASS "use strict";function typeof(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'typeof' as a function name.. 899 PASS (function(){"use strict";function typeof(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'typeof' as a function name.. 900 900 PASS "use strict";({ "typeof": 42 }.typeof === 42) is true 901 901 PASS (function(){"use strict";({ "typeof": 42 }.typeof === 42)}); true is true … … 904 904 PASS "use strict";({ get typeof(){}, set typeof(){}, parsedOkay: 42 }.parsedOkay === 42) is true 905 905 PASS (function(){"use strict";({ get typeof(){}, set typeof(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 906 PASS var var; true threw exception SyntaxError: Expected an identifier but found 'var' instead.907 PASS (function(){var var; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.908 PASS var var = 42; var === 42 threw exception SyntaxError: Expected an identifier but found 'var' instead.909 PASS (function(){var var = 42; var === 42}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.910 PASS function g(var){ }; true threw exception SyntaxError: Expected an identifier but found 'var' instead.911 PASS (function(){function g(var){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.912 PASS /var/.test(function g(var){ }) threw exception SyntaxError: Expected an identifier but found 'var' instead.913 PASS (function(){/var/.test(function g(var){ })}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.914 PASS try{}catch(var){}; true threw exception SyntaxError: Expected an identifier but found 'var' instead.915 PASS (function(){try{}catch(var){}; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.916 PASS function var(){ }; true threw exception SyntaxError: Unexpected token 'var'.917 PASS (function(){function var(){ }; true}); true threw exception SyntaxError: Unexpected token 'var'.906 PASS var var; true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 907 PASS (function(){var var; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 908 PASS var var = 42; var === 42 threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 909 PASS (function(){var var = 42; var === 42}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 910 PASS function g(var){ }; true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 911 PASS (function(){function g(var){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 912 PASS /var/.test(function g(var){ }) threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 913 PASS (function(){/var/.test(function g(var){ })}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 914 PASS try{}catch(var){}; true threw exception SyntaxError: Cannot use the keyword 'var' as a catch variable name.. 915 PASS (function(){try{}catch(var){}; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a catch variable name.. 916 PASS function var(){ }; true threw exception SyntaxError: Cannot use the keyword 'var' as a function name.. 917 PASS (function(){function var(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a function name.. 918 918 PASS ({ "var": 42 }.var === 42) is true 919 919 PASS (function(){({ "var": 42 }.var === 42)}); true is true … … 922 922 PASS ({ get var(){}, set var(){}, parsedOkay: 42 }.parsedOkay === 42) is true 923 923 PASS (function(){({ get var(){}, set var(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 924 PASS "use strict";var var; true threw exception SyntaxError: Expected an identifier but found 'var' instead.925 PASS (function(){"use strict";var var; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.926 PASS "use strict";var var = 42; var === 42 threw exception SyntaxError: Expected an identifier but found 'var' instead.927 PASS (function(){"use strict";var var = 42; var === 42}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.928 PASS "use strict";function g(var){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'var' instead.929 PASS (function(){"use strict";function g(var){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.930 PASS "use strict";/var/.test(function g(var){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'var' instead.931 PASS (function(){"use strict";/var/.test(function g(var){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.932 PASS "use strict";try{}catch(var){}; true threw exception SyntaxError: Expected an identifier but found 'var' instead.933 PASS (function(){"use strict";try{}catch(var){}; true}); true threw exception SyntaxError: Expected an identifier but found 'var' instead.934 PASS "use strict";function var(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'var'.935 PASS (function(){"use strict";function var(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'var'.924 PASS "use strict";var var; true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 925 PASS (function(){"use strict";var var; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 926 PASS "use strict";var var = 42; var === 42 threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 927 PASS (function(){"use strict";var var = 42; var === 42}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 928 PASS "use strict";function g(var){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 929 PASS (function(){"use strict";function g(var){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 930 PASS "use strict";/var/.test(function g(var){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 931 PASS (function(){"use strict";/var/.test(function g(var){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'var' as a variable name.. 932 PASS "use strict";try{}catch(var){}; true threw exception SyntaxError: Cannot use the keyword 'var' as a catch variable name.. 933 PASS (function(){"use strict";try{}catch(var){}; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a catch variable name.. 934 PASS "use strict";function var(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'var' as a function name.. 935 PASS (function(){"use strict";function var(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'var' as a function name.. 936 936 PASS "use strict";({ "var": 42 }.var === 42) is true 937 937 PASS (function(){"use strict";({ "var": 42 }.var === 42)}); true is true … … 940 940 PASS "use strict";({ get var(){}, set var(){}, parsedOkay: 42 }.parsedOkay === 42) is true 941 941 PASS (function(){"use strict";({ get var(){}, set var(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 942 PASS var void; true threw exception SyntaxError: Expected an identifier but found 'void' instead.943 PASS (function(){var void; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.944 PASS var void = 42; void === 42 threw exception SyntaxError: Expected an identifier but found 'void' instead.945 PASS (function(){var void = 42; void === 42}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.946 PASS function g(void){ }; true threw exception SyntaxError: Expected an identifier but found 'void' instead.947 PASS (function(){function g(void){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.948 PASS /void/.test(function g(void){ }) threw exception SyntaxError: Expected an identifier but found 'void' instead.949 PASS (function(){/void/.test(function g(void){ })}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.950 PASS try{}catch(void){}; true threw exception SyntaxError: Expected an identifier but found 'void' instead.951 PASS (function(){try{}catch(void){}; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.952 PASS function void(){ }; true threw exception SyntaxError: Unexpected token 'void'.953 PASS (function(){function void(){ }; true}); true threw exception SyntaxError: Unexpected token 'void'.942 PASS var void; true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 943 PASS (function(){var void; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 944 PASS var void = 42; void === 42 threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 945 PASS (function(){var void = 42; void === 42}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 946 PASS function g(void){ }; true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 947 PASS (function(){function g(void){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 948 PASS /void/.test(function g(void){ }) threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 949 PASS (function(){/void/.test(function g(void){ })}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 950 PASS try{}catch(void){}; true threw exception SyntaxError: Cannot use the keyword 'void' as a catch variable name.. 951 PASS (function(){try{}catch(void){}; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a catch variable name.. 952 PASS function void(){ }; true threw exception SyntaxError: Cannot use the keyword 'void' as a function name.. 953 PASS (function(){function void(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a function name.. 954 954 PASS ({ "void": 42 }.void === 42) is true 955 955 PASS (function(){({ "void": 42 }.void === 42)}); true is true … … 958 958 PASS ({ get void(){}, set void(){}, parsedOkay: 42 }.parsedOkay === 42) is true 959 959 PASS (function(){({ get void(){}, set void(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 960 PASS "use strict";var void; true threw exception SyntaxError: Expected an identifier but found 'void' instead.961 PASS (function(){"use strict";var void; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.962 PASS "use strict";var void = 42; void === 42 threw exception SyntaxError: Expected an identifier but found 'void' instead.963 PASS (function(){"use strict";var void = 42; void === 42}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.964 PASS "use strict";function g(void){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'void' instead.965 PASS (function(){"use strict";function g(void){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.966 PASS "use strict";/void/.test(function g(void){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'void' instead.967 PASS (function(){"use strict";/void/.test(function g(void){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.968 PASS "use strict";try{}catch(void){}; true threw exception SyntaxError: Expected an identifier but found 'void' instead.969 PASS (function(){"use strict";try{}catch(void){}; true}); true threw exception SyntaxError: Expected an identifier but found 'void' instead.970 PASS "use strict";function void(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'void'.971 PASS (function(){"use strict";function void(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'void'.960 PASS "use strict";var void; true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 961 PASS (function(){"use strict";var void; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 962 PASS "use strict";var void = 42; void === 42 threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 963 PASS (function(){"use strict";var void = 42; void === 42}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 964 PASS "use strict";function g(void){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 965 PASS (function(){"use strict";function g(void){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 966 PASS "use strict";/void/.test(function g(void){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 967 PASS (function(){"use strict";/void/.test(function g(void){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'void' as a variable name.. 968 PASS "use strict";try{}catch(void){}; true threw exception SyntaxError: Cannot use the keyword 'void' as a catch variable name.. 969 PASS (function(){"use strict";try{}catch(void){}; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a catch variable name.. 970 PASS "use strict";function void(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'void' as a function name.. 971 PASS (function(){"use strict";function void(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'void' as a function name.. 972 972 PASS "use strict";({ "void": 42 }.void === 42) is true 973 973 PASS (function(){"use strict";({ "void": 42 }.void === 42)}); true is true … … 976 976 PASS "use strict";({ get void(){}, set void(){}, parsedOkay: 42 }.parsedOkay === 42) is true 977 977 PASS (function(){"use strict";({ get void(){}, set void(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 978 PASS var while; true threw exception SyntaxError: Expected an identifier but found 'while' instead.979 PASS (function(){var while; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.980 PASS var while = 42; while === 42 threw exception SyntaxError: Expected an identifier but found 'while' instead.981 PASS (function(){var while = 42; while === 42}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.982 PASS function g(while){ }; true threw exception SyntaxError: Expected an identifier but found 'while' instead.983 PASS (function(){function g(while){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.984 PASS /while/.test(function g(while){ }) threw exception SyntaxError: Expected an identifier but found 'while' instead.985 PASS (function(){/while/.test(function g(while){ })}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.986 PASS try{}catch(while){}; true threw exception SyntaxError: Expected an identifier but found 'while' instead.987 PASS (function(){try{}catch(while){}; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.988 PASS function while(){ }; true threw exception SyntaxError: Unexpected token 'while'.989 PASS (function(){function while(){ }; true}); true threw exception SyntaxError: Unexpected token 'while'.978 PASS var while; true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 979 PASS (function(){var while; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 980 PASS var while = 42; while === 42 threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 981 PASS (function(){var while = 42; while === 42}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 982 PASS function g(while){ }; true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 983 PASS (function(){function g(while){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 984 PASS /while/.test(function g(while){ }) threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 985 PASS (function(){/while/.test(function g(while){ })}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 986 PASS try{}catch(while){}; true threw exception SyntaxError: Cannot use the keyword 'while' as a catch variable name.. 987 PASS (function(){try{}catch(while){}; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a catch variable name.. 988 PASS function while(){ }; true threw exception SyntaxError: Cannot use the keyword 'while' as a function name.. 989 PASS (function(){function while(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a function name.. 990 990 PASS ({ "while": 42 }.while === 42) is true 991 991 PASS (function(){({ "while": 42 }.while === 42)}); true is true … … 994 994 PASS ({ get while(){}, set while(){}, parsedOkay: 42 }.parsedOkay === 42) is true 995 995 PASS (function(){({ get while(){}, set while(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 996 PASS "use strict";var while; true threw exception SyntaxError: Expected an identifier but found 'while' instead.997 PASS (function(){"use strict";var while; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.998 PASS "use strict";var while = 42; while === 42 threw exception SyntaxError: Expected an identifier but found 'while' instead.999 PASS (function(){"use strict";var while = 42; while === 42}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.1000 PASS "use strict";function g(while){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'while' instead.1001 PASS (function(){"use strict";function g(while){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.1002 PASS "use strict";/while/.test(function g(while){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'while' instead.1003 PASS (function(){"use strict";/while/.test(function g(while){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.1004 PASS "use strict";try{}catch(while){}; true threw exception SyntaxError: Expected an identifier but found 'while' instead.1005 PASS (function(){"use strict";try{}catch(while){}; true}); true threw exception SyntaxError: Expected an identifier but found 'while' instead.1006 PASS "use strict";function while(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'while'.1007 PASS (function(){"use strict";function while(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'while'.996 PASS "use strict";var while; true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 997 PASS (function(){"use strict";var while; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 998 PASS "use strict";var while = 42; while === 42 threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 999 PASS (function(){"use strict";var while = 42; while === 42}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 1000 PASS "use strict";function g(while){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 1001 PASS (function(){"use strict";function g(while){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 1002 PASS "use strict";/while/.test(function g(while){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 1003 PASS (function(){"use strict";/while/.test(function g(while){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'while' as a variable name.. 1004 PASS "use strict";try{}catch(while){}; true threw exception SyntaxError: Cannot use the keyword 'while' as a catch variable name.. 1005 PASS (function(){"use strict";try{}catch(while){}; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a catch variable name.. 1006 PASS "use strict";function while(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'while' as a function name.. 1007 PASS (function(){"use strict";function while(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'while' as a function name.. 1008 1008 PASS "use strict";({ "while": 42 }.while === 42) is true 1009 1009 PASS (function(){"use strict";({ "while": 42 }.while === 42)}); true is true … … 1012 1012 PASS "use strict";({ get while(){}, set while(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1013 1013 PASS (function(){"use strict";({ get while(){}, set while(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1014 PASS var with; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1015 PASS (function(){var with; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1016 PASS var with = 42; with === 42 threw exception SyntaxError: Expected an identifier but found 'with' instead.1017 PASS (function(){var with = 42; with === 42}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1018 PASS function g(with){ }; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1019 PASS (function(){function g(with){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1020 PASS /with/.test(function g(with){ }) threw exception SyntaxError: Expected an identifier but found 'with' instead.1021 PASS (function(){/with/.test(function g(with){ })}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1022 PASS try{}catch(with){}; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1023 PASS (function(){try{}catch(with){}; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1024 PASS function with(){ }; true threw exception SyntaxError: Unexpected token 'with'.1025 PASS (function(){function with(){ }; true}); true threw exception SyntaxError: Unexpected token 'with'.1014 PASS var with; true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1015 PASS (function(){var with; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1016 PASS var with = 42; with === 42 threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1017 PASS (function(){var with = 42; with === 42}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1018 PASS function g(with){ }; true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1019 PASS (function(){function g(with){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1020 PASS /with/.test(function g(with){ }) threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1021 PASS (function(){/with/.test(function g(with){ })}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1022 PASS try{}catch(with){}; true threw exception SyntaxError: Cannot use the keyword 'with' as a catch variable name.. 1023 PASS (function(){try{}catch(with){}; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a catch variable name.. 1024 PASS function with(){ }; true threw exception SyntaxError: Cannot use the keyword 'with' as a function name.. 1025 PASS (function(){function with(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a function name.. 1026 1026 PASS ({ "with": 42 }.with === 42) is true 1027 1027 PASS (function(){({ "with": 42 }.with === 42)}); true is true … … 1030 1030 PASS ({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1031 1031 PASS (function(){({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1032 PASS "use strict";var with; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1033 PASS (function(){"use strict";var with; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1034 PASS "use strict";var with = 42; with === 42 threw exception SyntaxError: Expected an identifier but found 'with' instead.1035 PASS (function(){"use strict";var with = 42; with === 42}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1036 PASS "use strict";function g(with){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1037 PASS (function(){"use strict";function g(with){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1038 PASS "use strict";/with/.test(function g(with){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'with' instead.1039 PASS (function(){"use strict";/with/.test(function g(with){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1040 PASS "use strict";try{}catch(with){}; true threw exception SyntaxError: Expected an identifier but found 'with' instead.1041 PASS (function(){"use strict";try{}catch(with){}; true}); true threw exception SyntaxError: Expected an identifier but found 'with' instead.1042 PASS "use strict";function with(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'with'.1043 PASS (function(){"use strict";function with(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'with'.1032 PASS "use strict";var with; true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1033 PASS (function(){"use strict";var with; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1034 PASS "use strict";var with = 42; with === 42 threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1035 PASS (function(){"use strict";var with = 42; with === 42}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1036 PASS "use strict";function g(with){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1037 PASS (function(){"use strict";function g(with){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1038 PASS "use strict";/with/.test(function g(with){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1039 PASS (function(){"use strict";/with/.test(function g(with){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'with' as a variable name.. 1040 PASS "use strict";try{}catch(with){}; true threw exception SyntaxError: Cannot use the keyword 'with' as a catch variable name.. 1041 PASS (function(){"use strict";try{}catch(with){}; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a catch variable name.. 1042 PASS "use strict";function with(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'with' as a function name.. 1043 PASS (function(){"use strict";function with(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'with' as a function name.. 1044 1044 PASS "use strict";({ "with": 42 }.with === 42) is true 1045 1045 PASS (function(){"use strict";({ "with": 42 }.with === 42)}); true is true … … 1048 1048 PASS "use strict";({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1049 1049 PASS (function(){"use strict";({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1050 PASS var class; true threw exception SyntaxError: Use of reserved word 'class'.1051 PASS (function(){var class; true}); true threw exception SyntaxError: Use of reserved word 'class'.1052 PASS var class = 42; class === 42 threw exception SyntaxError: Use of reserved word 'class'.1053 PASS (function(){var class = 42; class === 42}); true threw exception SyntaxError: Use of reserved word 'class'.1054 PASS function g(class){ }; true threw exception SyntaxError: Use of reserved word 'class'.1055 PASS (function(){function g(class){ }; true}); true threw exception SyntaxError: Use of reserved word 'class'.1056 PASS /class/.test(function g(class){ }) threw exception SyntaxError: Use of reserved word 'class'.1057 PASS (function(){/class/.test(function g(class){ })}); true threw exception SyntaxError: Use of reserved word 'class'.1058 PASS try{}catch(class){}; true threw exception SyntaxError: Use of reserved word 'class'.1059 PASS (function(){try{}catch(class){}; true}); true threw exception SyntaxError: Use of reserved word 'class'.1060 PASS function class(){ }; true threw exception SyntaxError: Use of reserved word 'class'.1061 PASS (function(){function class(){ }; true}); true threw exception SyntaxError: Use of reserved word 'class'.1050 PASS var class; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1051 PASS (function(){var class; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1052 PASS var class = 42; class === 42 threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1053 PASS (function(){var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1054 PASS function g(class){ }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1055 PASS (function(){function g(class){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1056 PASS /class/.test(function g(class){ }) threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1057 PASS (function(){/class/.test(function g(class){ })}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1058 PASS try{}catch(class){}; true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name.. 1059 PASS (function(){try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name.. 1060 PASS function class(){ }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name.. 1061 PASS (function(){function class(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name.. 1062 1062 PASS ({ "class": 42 }.class === 42) is true 1063 1063 PASS (function(){({ "class": 42 }.class === 42)}); true is true … … 1066 1066 PASS ({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1067 1067 PASS (function(){({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1068 PASS "use strict";var class; true threw exception SyntaxError: Use of reserved word 'class'.1069 PASS (function(){"use strict";var class; true}); true threw exception SyntaxError: Use of reserved word 'class'.1070 PASS "use strict";var class = 42; class === 42 threw exception SyntaxError: Use of reserved word 'class'.1071 PASS (function(){"use strict";var class = 42; class === 42}); true threw exception SyntaxError: Use of reserved word 'class'.1072 PASS "use strict";function g(class){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'class'.1073 PASS (function(){"use strict";function g(class){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'class'.1074 PASS "use strict";/class/.test(function g(class){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'class'.1075 PASS (function(){"use strict";/class/.test(function g(class){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'class'.1076 PASS "use strict";try{}catch(class){}; true threw exception SyntaxError: Use of reserved word 'class'.1077 PASS (function(){"use strict";try{}catch(class){}; true}); true threw exception SyntaxError: Use of reserved word 'class'.1078 PASS "use strict";function class(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'class'.1079 PASS (function(){"use strict";function class(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'class'.1068 PASS "use strict";var class; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1069 PASS (function(){"use strict";var class; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1070 PASS "use strict";var class = 42; class === 42 threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1071 PASS (function(){"use strict";var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1072 PASS "use strict";function g(class){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1073 PASS (function(){"use strict";function g(class){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1074 PASS "use strict";/class/.test(function g(class){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1075 PASS (function(){"use strict";/class/.test(function g(class){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name.. 1076 PASS "use strict";try{}catch(class){}; true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name.. 1077 PASS (function(){"use strict";try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name.. 1078 PASS "use strict";function class(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name.. 1079 PASS (function(){"use strict";function class(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name.. 1080 1080 PASS "use strict";({ "class": 42 }.class === 42) is true 1081 1081 PASS (function(){"use strict";({ "class": 42 }.class === 42)}); true is true … … 1084 1084 PASS "use strict";({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1085 1085 PASS (function(){"use strict";({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1086 PASS var const; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1087 PASS (function(){var const; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1088 PASS var const = 42; const === 42 threw exception SyntaxError: Expected an identifier but found 'const' instead.1089 PASS (function(){var const = 42; const === 42}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1090 PASS function g(const){ }; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1091 PASS (function(){function g(const){ }; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1092 PASS /const/.test(function g(const){ }) threw exception SyntaxError: Expected an identifier but found 'const' instead.1093 PASS (function(){/const/.test(function g(const){ })}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1094 PASS try{}catch(const){}; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1095 PASS (function(){try{}catch(const){}; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1096 PASS function const(){ }; true threw exception SyntaxError: Unexpected token 'const'.1097 PASS (function(){function const(){ }; true}); true threw exception SyntaxError: Unexpected token 'const'.1086 PASS var const; true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1087 PASS (function(){var const; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1088 PASS var const = 42; const === 42 threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1089 PASS (function(){var const = 42; const === 42}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1090 PASS function g(const){ }; true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1091 PASS (function(){function g(const){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1092 PASS /const/.test(function g(const){ }) threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1093 PASS (function(){/const/.test(function g(const){ })}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1094 PASS try{}catch(const){}; true threw exception SyntaxError: Cannot use the keyword 'const' as a catch variable name.. 1095 PASS (function(){try{}catch(const){}; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a catch variable name.. 1096 PASS function const(){ }; true threw exception SyntaxError: Cannot use the keyword 'const' as a function name.. 1097 PASS (function(){function const(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a function name.. 1098 1098 PASS ({ "const": 42 }.const === 42) is true 1099 1099 PASS (function(){({ "const": 42 }.const === 42)}); true is true … … 1102 1102 PASS ({ get const(){}, set const(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1103 1103 PASS (function(){({ get const(){}, set const(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1104 PASS "use strict";var const; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1105 PASS (function(){"use strict";var const; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1106 PASS "use strict";var const = 42; const === 42 threw exception SyntaxError: Expected an identifier but found 'const' instead.1107 PASS (function(){"use strict";var const = 42; const === 42}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1108 PASS "use strict";function g(const){ "use strict"; }; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1109 PASS (function(){"use strict";function g(const){ "use strict"; }; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1110 PASS "use strict";/const/.test(function g(const){ "use strict"; }) threw exception SyntaxError: Expected an identifier but found 'const' instead.1111 PASS (function(){"use strict";/const/.test(function g(const){ "use strict"; })}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1112 PASS "use strict";try{}catch(const){}; true threw exception SyntaxError: Expected an identifier but found 'const' instead.1113 PASS (function(){"use strict";try{}catch(const){}; true}); true threw exception SyntaxError: Expected an identifier but found 'const' instead.1114 PASS "use strict";function const(){ "use strict"; }; true threw exception SyntaxError: Unexpected token 'const'.1115 PASS (function(){"use strict";function const(){ "use strict"; }; true}); true threw exception SyntaxError: Unexpected token 'const'.1104 PASS "use strict";var const; true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1105 PASS (function(){"use strict";var const; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1106 PASS "use strict";var const = 42; const === 42 threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1107 PASS (function(){"use strict";var const = 42; const === 42}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1108 PASS "use strict";function g(const){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1109 PASS (function(){"use strict";function g(const){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1110 PASS "use strict";/const/.test(function g(const){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1111 PASS (function(){"use strict";/const/.test(function g(const){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'const' as a variable name.. 1112 PASS "use strict";try{}catch(const){}; true threw exception SyntaxError: Cannot use the keyword 'const' as a catch variable name.. 1113 PASS (function(){"use strict";try{}catch(const){}; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a catch variable name.. 1114 PASS "use strict";function const(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'const' as a function name.. 1115 PASS (function(){"use strict";function const(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'const' as a function name.. 1116 1116 PASS "use strict";({ "const": 42 }.const === 42) is true 1117 1117 PASS (function(){"use strict";({ "const": 42 }.const === 42)}); true is true … … 1120 1120 PASS "use strict";({ get const(){}, set const(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1121 1121 PASS (function(){"use strict";({ get const(){}, set const(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1122 PASS var enum; true threw exception SyntaxError: Use of reserved word 'enum'.1123 PASS (function(){var enum; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1124 PASS var enum = 42; enum === 42 threw exception SyntaxError: Use of reserved word 'enum'.1125 PASS (function(){var enum = 42; enum === 42}); true threw exception SyntaxError: Use of reserved word 'enum'.1126 PASS function g(enum){ }; true threw exception SyntaxError: Use of reserved word 'enum'.1127 PASS (function(){function g(enum){ }; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1128 PASS /enum/.test(function g(enum){ }) threw exception SyntaxError: Use of reserved word 'enum'.1129 PASS (function(){/enum/.test(function g(enum){ })}); true threw exception SyntaxError: Use of reserved word 'enum'.1130 PASS try{}catch(enum){}; true threw exception SyntaxError: Use of reserved word 'enum'.1131 PASS (function(){try{}catch(enum){}; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1132 PASS function enum(){ }; true threw exception SyntaxError: Use of reserved word 'enum'.1133 PASS (function(){function enum(){ }; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1122 PASS var enum; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1123 PASS (function(){var enum; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1124 PASS var enum = 42; enum === 42 threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1125 PASS (function(){var enum = 42; enum === 42}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1126 PASS function g(enum){ }; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1127 PASS (function(){function g(enum){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1128 PASS /enum/.test(function g(enum){ }) threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1129 PASS (function(){/enum/.test(function g(enum){ })}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1130 PASS try{}catch(enum){}; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a catch variable name.. 1131 PASS (function(){try{}catch(enum){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a catch variable name.. 1132 PASS function enum(){ }; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a function name.. 1133 PASS (function(){function enum(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a function name.. 1134 1134 PASS ({ "enum": 42 }.enum === 42) is true 1135 1135 PASS (function(){({ "enum": 42 }.enum === 42)}); true is true … … 1138 1138 PASS ({ get enum(){}, set enum(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1139 1139 PASS (function(){({ get enum(){}, set enum(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1140 PASS "use strict";var enum; true threw exception SyntaxError: Use of reserved word 'enum'.1141 PASS (function(){"use strict";var enum; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1142 PASS "use strict";var enum = 42; enum === 42 threw exception SyntaxError: Use of reserved word 'enum'.1143 PASS (function(){"use strict";var enum = 42; enum === 42}); true threw exception SyntaxError: Use of reserved word 'enum'.1144 PASS "use strict";function g(enum){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'enum'.1145 PASS (function(){"use strict";function g(enum){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1146 PASS "use strict";/enum/.test(function g(enum){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'enum'.1147 PASS (function(){"use strict";/enum/.test(function g(enum){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'enum'.1148 PASS "use strict";try{}catch(enum){}; true threw exception SyntaxError: Use of reserved word 'enum'.1149 PASS (function(){"use strict";try{}catch(enum){}; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1150 PASS "use strict";function enum(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'enum'.1151 PASS (function(){"use strict";function enum(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'enum'.1140 PASS "use strict";var enum; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1141 PASS (function(){"use strict";var enum; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1142 PASS "use strict";var enum = 42; enum === 42 threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1143 PASS (function(){"use strict";var enum = 42; enum === 42}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1144 PASS "use strict";function g(enum){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1145 PASS (function(){"use strict";function g(enum){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1146 PASS "use strict";/enum/.test(function g(enum){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1147 PASS (function(){"use strict";/enum/.test(function g(enum){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a variable name.. 1148 PASS "use strict";try{}catch(enum){}; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a catch variable name.. 1149 PASS (function(){"use strict";try{}catch(enum){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a catch variable name.. 1150 PASS "use strict";function enum(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'enum' as a function name.. 1151 PASS (function(){"use strict";function enum(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'enum' as a function name.. 1152 1152 PASS "use strict";({ "enum": 42 }.enum === 42) is true 1153 1153 PASS (function(){"use strict";({ "enum": 42 }.enum === 42)}); true is true … … 1156 1156 PASS "use strict";({ get enum(){}, set enum(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1157 1157 PASS (function(){"use strict";({ get enum(){}, set enum(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1158 PASS var export; true threw exception SyntaxError: Use of reserved word 'export'.1159 PASS (function(){var export; true}); true threw exception SyntaxError: Use of reserved word 'export'.1160 PASS var export = 42; export === 42 threw exception SyntaxError: Use of reserved word 'export'.1161 PASS (function(){var export = 42; export === 42}); true threw exception SyntaxError: Use of reserved word 'export'.1162 PASS function g(export){ }; true threw exception SyntaxError: Use of reserved word 'export'.1163 PASS (function(){function g(export){ }; true}); true threw exception SyntaxError: Use of reserved word 'export'.1164 PASS /export/.test(function g(export){ }) threw exception SyntaxError: Use of reserved word 'export'.1165 PASS (function(){/export/.test(function g(export){ })}); true threw exception SyntaxError: Use of reserved word 'export'.1166 PASS try{}catch(export){}; true threw exception SyntaxError: Use of reserved word 'export'.1167 PASS (function(){try{}catch(export){}; true}); true threw exception SyntaxError: Use of reserved word 'export'.1168 PASS function export(){ }; true threw exception SyntaxError: Use of reserved word 'export'.1169 PASS (function(){function export(){ }; true}); true threw exception SyntaxError: Use of reserved word 'export'.1158 PASS var export; true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1159 PASS (function(){var export; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1160 PASS var export = 42; export === 42 threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1161 PASS (function(){var export = 42; export === 42}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1162 PASS function g(export){ }; true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1163 PASS (function(){function g(export){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1164 PASS /export/.test(function g(export){ }) threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1165 PASS (function(){/export/.test(function g(export){ })}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1166 PASS try{}catch(export){}; true threw exception SyntaxError: Cannot use the reserved word 'export' as a catch variable name.. 1167 PASS (function(){try{}catch(export){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a catch variable name.. 1168 PASS function export(){ }; true threw exception SyntaxError: Cannot use the reserved word 'export' as a function name.. 1169 PASS (function(){function export(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a function name.. 1170 1170 PASS ({ "export": 42 }.export === 42) is true 1171 1171 PASS (function(){({ "export": 42 }.export === 42)}); true is true … … 1174 1174 PASS ({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1175 1175 PASS (function(){({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1176 PASS "use strict";var export; true threw exception SyntaxError: Use of reserved word 'export'.1177 PASS (function(){"use strict";var export; true}); true threw exception SyntaxError: Use of reserved word 'export'.1178 PASS "use strict";var export = 42; export === 42 threw exception SyntaxError: Use of reserved word 'export'.1179 PASS (function(){"use strict";var export = 42; export === 42}); true threw exception SyntaxError: Use of reserved word 'export'.1180 PASS "use strict";function g(export){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'export'.1181 PASS (function(){"use strict";function g(export){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'export'.1182 PASS "use strict";/export/.test(function g(export){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'export'.1183 PASS (function(){"use strict";/export/.test(function g(export){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'export'.1184 PASS "use strict";try{}catch(export){}; true threw exception SyntaxError: Use of reserved word 'export'.1185 PASS (function(){"use strict";try{}catch(export){}; true}); true threw exception SyntaxError: Use of reserved word 'export'.1186 PASS "use strict";function export(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'export'.1187 PASS (function(){"use strict";function export(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'export'.1176 PASS "use strict";var export; true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1177 PASS (function(){"use strict";var export; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1178 PASS "use strict";var export = 42; export === 42 threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1179 PASS (function(){"use strict";var export = 42; export === 42}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1180 PASS "use strict";function g(export){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1181 PASS (function(){"use strict";function g(export){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1182 PASS "use strict";/export/.test(function g(export){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1183 PASS (function(){"use strict";/export/.test(function g(export){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a variable name.. 1184 PASS "use strict";try{}catch(export){}; true threw exception SyntaxError: Cannot use the reserved word 'export' as a catch variable name.. 1185 PASS (function(){"use strict";try{}catch(export){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a catch variable name.. 1186 PASS "use strict";function export(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'export' as a function name.. 1187 PASS (function(){"use strict";function export(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'export' as a function name.. 1188 1188 PASS "use strict";({ "export": 42 }.export === 42) is true 1189 1189 PASS (function(){"use strict";({ "export": 42 }.export === 42)}); true is true … … 1192 1192 PASS "use strict";({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1193 1193 PASS (function(){"use strict";({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1194 PASS var extends; true threw exception SyntaxError: Use of reserved word 'extends'.1195 PASS (function(){var extends; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1196 PASS var extends = 42; extends === 42 threw exception SyntaxError: Use of reserved word 'extends'.1197 PASS (function(){var extends = 42; extends === 42}); true threw exception SyntaxError: Use of reserved word 'extends'.1198 PASS function g(extends){ }; true threw exception SyntaxError: Use of reserved word 'extends'.1199 PASS (function(){function g(extends){ }; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1200 PASS /extends/.test(function g(extends){ }) threw exception SyntaxError: Use of reserved word 'extends'.1201 PASS (function(){/extends/.test(function g(extends){ })}); true threw exception SyntaxError: Use of reserved word 'extends'.1202 PASS try{}catch(extends){}; true threw exception SyntaxError: Use of reserved word 'extends'.1203 PASS (function(){try{}catch(extends){}; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1204 PASS function extends(){ }; true threw exception SyntaxError: Use of reserved word 'extends'.1205 PASS (function(){function extends(){ }; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1194 PASS var extends; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1195 PASS (function(){var extends; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1196 PASS var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1197 PASS (function(){var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1198 PASS function g(extends){ }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1199 PASS (function(){function g(extends){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1200 PASS /extends/.test(function g(extends){ }) threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1201 PASS (function(){/extends/.test(function g(extends){ })}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1202 PASS try{}catch(extends){}; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name.. 1203 PASS (function(){try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name.. 1204 PASS function extends(){ }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name.. 1205 PASS (function(){function extends(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name.. 1206 1206 PASS ({ "extends": 42 }.extends === 42) is true 1207 1207 PASS (function(){({ "extends": 42 }.extends === 42)}); true is true … … 1210 1210 PASS ({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1211 1211 PASS (function(){({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1212 PASS "use strict";var extends; true threw exception SyntaxError: Use of reserved word 'extends'.1213 PASS (function(){"use strict";var extends; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1214 PASS "use strict";var extends = 42; extends === 42 threw exception SyntaxError: Use of reserved word 'extends'.1215 PASS (function(){"use strict";var extends = 42; extends === 42}); true threw exception SyntaxError: Use of reserved word 'extends'.1216 PASS "use strict";function g(extends){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'extends'.1217 PASS (function(){"use strict";function g(extends){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1218 PASS "use strict";/extends/.test(function g(extends){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'extends'.1219 PASS (function(){"use strict";/extends/.test(function g(extends){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'extends'.1220 PASS "use strict";try{}catch(extends){}; true threw exception SyntaxError: Use of reserved word 'extends'.1221 PASS (function(){"use strict";try{}catch(extends){}; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1222 PASS "use strict";function extends(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'extends'.1223 PASS (function(){"use strict";function extends(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'extends'.1212 PASS "use strict";var extends; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1213 PASS (function(){"use strict";var extends; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1214 PASS "use strict";var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1215 PASS (function(){"use strict";var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1216 PASS "use strict";function g(extends){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1217 PASS (function(){"use strict";function g(extends){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1218 PASS "use strict";/extends/.test(function g(extends){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1219 PASS (function(){"use strict";/extends/.test(function g(extends){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name.. 1220 PASS "use strict";try{}catch(extends){}; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name.. 1221 PASS (function(){"use strict";try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name.. 1222 PASS "use strict";function extends(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name.. 1223 PASS (function(){"use strict";function extends(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name.. 1224 1224 PASS "use strict";({ "extends": 42 }.extends === 42) is true 1225 1225 PASS (function(){"use strict";({ "extends": 42 }.extends === 42)}); true is true … … 1228 1228 PASS "use strict";({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1229 1229 PASS (function(){"use strict";({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1230 PASS var import; true threw exception SyntaxError: Use of reserved word 'import'.1231 PASS (function(){var import; true}); true threw exception SyntaxError: Use of reserved word 'import'.1232 PASS var import = 42; import === 42 threw exception SyntaxError: Use of reserved word 'import'.1233 PASS (function(){var import = 42; import === 42}); true threw exception SyntaxError: Use of reserved word 'import'.1234 PASS function g(import){ }; true threw exception SyntaxError: Use of reserved word 'import'.1235 PASS (function(){function g(import){ }; true}); true threw exception SyntaxError: Use of reserved word 'import'.1236 PASS /import/.test(function g(import){ }) threw exception SyntaxError: Use of reserved word 'import'.1237 PASS (function(){/import/.test(function g(import){ })}); true threw exception SyntaxError: Use of reserved word 'import'.1238 PASS try{}catch(import){}; true threw exception SyntaxError: Use of reserved word 'import'.1239 PASS (function(){try{}catch(import){}; true}); true threw exception SyntaxError: Use of reserved word 'import'.1240 PASS function import(){ }; true threw exception SyntaxError: Use of reserved word 'import'.1241 PASS (function(){function import(){ }; true}); true threw exception SyntaxError: Use of reserved word 'import'.1230 PASS var import; true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1231 PASS (function(){var import; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1232 PASS var import = 42; import === 42 threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1233 PASS (function(){var import = 42; import === 42}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1234 PASS function g(import){ }; true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1235 PASS (function(){function g(import){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1236 PASS /import/.test(function g(import){ }) threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1237 PASS (function(){/import/.test(function g(import){ })}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1238 PASS try{}catch(import){}; true threw exception SyntaxError: Cannot use the reserved word 'import' as a catch variable name.. 1239 PASS (function(){try{}catch(import){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a catch variable name.. 1240 PASS function import(){ }; true threw exception SyntaxError: Cannot use the reserved word 'import' as a function name.. 1241 PASS (function(){function import(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a function name.. 1242 1242 PASS ({ "import": 42 }.import === 42) is true 1243 1243 PASS (function(){({ "import": 42 }.import === 42)}); true is true … … 1246 1246 PASS ({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1247 1247 PASS (function(){({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1248 PASS "use strict";var import; true threw exception SyntaxError: Use of reserved word 'import'.1249 PASS (function(){"use strict";var import; true}); true threw exception SyntaxError: Use of reserved word 'import'.1250 PASS "use strict";var import = 42; import === 42 threw exception SyntaxError: Use of reserved word 'import'.1251 PASS (function(){"use strict";var import = 42; import === 42}); true threw exception SyntaxError: Use of reserved word 'import'.1252 PASS "use strict";function g(import){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'import'.1253 PASS (function(){"use strict";function g(import){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'import'.1254 PASS "use strict";/import/.test(function g(import){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'import'.1255 PASS (function(){"use strict";/import/.test(function g(import){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'import'.1256 PASS "use strict";try{}catch(import){}; true threw exception SyntaxError: Use of reserved word 'import'.1257 PASS (function(){"use strict";try{}catch(import){}; true}); true threw exception SyntaxError: Use of reserved word 'import'.1258 PASS "use strict";function import(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'import'.1259 PASS (function(){"use strict";function import(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'import'.1248 PASS "use strict";var import; true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1249 PASS (function(){"use strict";var import; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1250 PASS "use strict";var import = 42; import === 42 threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1251 PASS (function(){"use strict";var import = 42; import === 42}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1252 PASS "use strict";function g(import){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1253 PASS (function(){"use strict";function g(import){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1254 PASS "use strict";/import/.test(function g(import){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1255 PASS (function(){"use strict";/import/.test(function g(import){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a variable name.. 1256 PASS "use strict";try{}catch(import){}; true threw exception SyntaxError: Cannot use the reserved word 'import' as a catch variable name.. 1257 PASS (function(){"use strict";try{}catch(import){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a catch variable name.. 1258 PASS "use strict";function import(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'import' as a function name.. 1259 PASS (function(){"use strict";function import(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'import' as a function name.. 1260 1260 PASS "use strict";({ "import": 42 }.import === 42) is true 1261 1261 PASS (function(){"use strict";({ "import": 42 }.import === 42)}); true is true … … 1264 1264 PASS "use strict";({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1265 1265 PASS (function(){"use strict";({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1266 PASS var super; true threw exception SyntaxError: Use of reserved word 'super'.1267 PASS (function(){var super; true}); true threw exception SyntaxError: Use of reserved word 'super'.1268 PASS var super = 42; super === 42 threw exception SyntaxError: Use of reserved word 'super'.1269 PASS (function(){var super = 42; super === 42}); true threw exception SyntaxError: Use of reserved word 'super'.1270 PASS function g(super){ }; true threw exception SyntaxError: Use of reserved word 'super'.1271 PASS (function(){function g(super){ }; true}); true threw exception SyntaxError: Use of reserved word 'super'.1272 PASS /super/.test(function g(super){ }) threw exception SyntaxError: Use of reserved word 'super'.1273 PASS (function(){/super/.test(function g(super){ })}); true threw exception SyntaxError: Use of reserved word 'super'.1274 PASS try{}catch(super){}; true threw exception SyntaxError: Use of reserved word 'super'.1275 PASS (function(){try{}catch(super){}; true}); true threw exception SyntaxError: Use of reserved word 'super'.1276 PASS function super(){ }; true threw exception SyntaxError: Use of reserved word 'super'.1277 PASS (function(){function super(){ }; true}); true threw exception SyntaxError: Use of reserved word 'super'.1266 PASS var super; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1267 PASS (function(){var super; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1268 PASS var super = 42; super === 42 threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1269 PASS (function(){var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1270 PASS function g(super){ }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1271 PASS (function(){function g(super){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1272 PASS /super/.test(function g(super){ }) threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1273 PASS (function(){/super/.test(function g(super){ })}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1274 PASS try{}catch(super){}; true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name.. 1275 PASS (function(){try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name.. 1276 PASS function super(){ }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name.. 1277 PASS (function(){function super(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name.. 1278 1278 PASS ({ "super": 42 }.super === 42) is true 1279 1279 PASS (function(){({ "super": 42 }.super === 42)}); true is true … … 1282 1282 PASS ({ get super(){}, set super(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1283 1283 PASS (function(){({ get super(){}, set super(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1284 PASS "use strict";var super; true threw exception SyntaxError: Use of reserved word 'super'.1285 PASS (function(){"use strict";var super; true}); true threw exception SyntaxError: Use of reserved word 'super'.1286 PASS "use strict";var super = 42; super === 42 threw exception SyntaxError: Use of reserved word 'super'.1287 PASS (function(){"use strict";var super = 42; super === 42}); true threw exception SyntaxError: Use of reserved word 'super'.1288 PASS "use strict";function g(super){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'super'.1289 PASS (function(){"use strict";function g(super){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'super'.1290 PASS "use strict";/super/.test(function g(super){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'super'.1291 PASS (function(){"use strict";/super/.test(function g(super){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'super'.1292 PASS "use strict";try{}catch(super){}; true threw exception SyntaxError: Use of reserved word 'super'.1293 PASS (function(){"use strict";try{}catch(super){}; true}); true threw exception SyntaxError: Use of reserved word 'super'.1294 PASS "use strict";function super(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'super'.1295 PASS (function(){"use strict";function super(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'super'.1284 PASS "use strict";var super; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1285 PASS (function(){"use strict";var super; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1286 PASS "use strict";var super = 42; super === 42 threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1287 PASS (function(){"use strict";var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1288 PASS "use strict";function g(super){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1289 PASS (function(){"use strict";function g(super){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1290 PASS "use strict";/super/.test(function g(super){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1291 PASS (function(){"use strict";/super/.test(function g(super){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name.. 1292 PASS "use strict";try{}catch(super){}; true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name.. 1293 PASS (function(){"use strict";try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name.. 1294 PASS "use strict";function super(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name.. 1295 PASS (function(){"use strict";function super(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name.. 1296 1296 PASS "use strict";({ "super": 42 }.super === 42) is true 1297 1297 PASS (function(){"use strict";({ "super": 42 }.super === 42)}); true is true … … 1318 1318 PASS ({ get implements(){}, set implements(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1319 1319 PASS (function(){({ get implements(){}, set implements(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1320 PASS "use strict";var implements; true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1321 PASS (function(){"use strict";var implements; true}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1322 PASS "use strict";var implements = 42; implements === 42 threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1323 PASS (function(){"use strict";var implements = 42; implements === 42}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1324 PASS "use strict";function g(implements){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1325 PASS (function(){"use strict";function g(implements){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1326 PASS "use strict";/implements/.test(function g(implements){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1327 PASS (function(){"use strict";/implements/.test(function g(implements){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1328 PASS "use strict";try{}catch(implements){}; true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1329 PASS (function(){"use strict";try{}catch(implements){}; true}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1330 PASS "use strict";function implements(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1331 PASS (function(){"use strict";function implements(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'implements' in strict mode.1320 PASS "use strict";var implements; true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1321 PASS (function(){"use strict";var implements; true}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1322 PASS "use strict";var implements = 42; implements === 42 threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1323 PASS (function(){"use strict";var implements = 42; implements === 42}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1324 PASS "use strict";function g(implements){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1325 PASS (function(){"use strict";function g(implements){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1326 PASS "use strict";/implements/.test(function g(implements){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1327 PASS (function(){"use strict";/implements/.test(function g(implements){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a variable name in strict mode.. 1328 PASS "use strict";try{}catch(implements){}; true threw exception SyntaxError: Cannot use the reserved word 'implements' as a catch variable name in strict mode.. 1329 PASS (function(){"use strict";try{}catch(implements){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a catch variable name in strict mode.. 1330 PASS "use strict";function implements(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'implements' as a function name in strict mode.. 1331 PASS (function(){"use strict";function implements(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'implements' as a function name in strict mode.. 1332 1332 PASS "use strict";({ "implements": 42 }.implements === 42) is true 1333 1333 PASS (function(){"use strict";({ "implements": 42 }.implements === 42)}); true is true … … 1354 1354 PASS ({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1355 1355 PASS (function(){({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1356 PASS "use strict";var let; true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1357 PASS (function(){"use strict";var let; true}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1358 PASS "use strict";var let = 42; let === 42 threw exception SyntaxError: Use of reserved word 'let' in strict mode.1359 PASS (function(){"use strict";var let = 42; let === 42}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1360 PASS "use strict";function g(let){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1361 PASS (function(){"use strict";function g(let){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1362 PASS "use strict";/let/.test(function g(let){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'let' in strict mode.1363 PASS (function(){"use strict";/let/.test(function g(let){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1364 PASS "use strict";try{}catch(let){}; true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1365 PASS (function(){"use strict";try{}catch(let){}; true}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1366 PASS "use strict";function let(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1367 PASS (function(){"use strict";function let(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'let' in strict mode.1356 PASS "use strict";var let; true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1357 PASS (function(){"use strict";var let; true}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1358 PASS "use strict";var let = 42; let === 42 threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1359 PASS (function(){"use strict";var let = 42; let === 42}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1360 PASS "use strict";function g(let){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1361 PASS (function(){"use strict";function g(let){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1362 PASS "use strict";/let/.test(function g(let){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1363 PASS (function(){"use strict";/let/.test(function g(let){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a variable name in strict mode.. 1364 PASS "use strict";try{}catch(let){}; true threw exception SyntaxError: Cannot use the reserved word 'let' as a catch variable name in strict mode.. 1365 PASS (function(){"use strict";try{}catch(let){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a catch variable name in strict mode.. 1366 PASS "use strict";function let(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'let' as a function name in strict mode.. 1367 PASS (function(){"use strict";function let(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'let' as a function name in strict mode.. 1368 1368 PASS "use strict";({ "let": 42 }.let === 42) is true 1369 1369 PASS (function(){"use strict";({ "let": 42 }.let === 42)}); true is true … … 1390 1390 PASS ({ get private(){}, set private(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1391 1391 PASS (function(){({ get private(){}, set private(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1392 PASS "use strict";var private; true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1393 PASS (function(){"use strict";var private; true}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1394 PASS "use strict";var private = 42; private === 42 threw exception SyntaxError: Use of reserved word 'private' in strict mode.1395 PASS (function(){"use strict";var private = 42; private === 42}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1396 PASS "use strict";function g(private){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1397 PASS (function(){"use strict";function g(private){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1398 PASS "use strict";/private/.test(function g(private){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'private' in strict mode.1399 PASS (function(){"use strict";/private/.test(function g(private){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1400 PASS "use strict";try{}catch(private){}; true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1401 PASS (function(){"use strict";try{}catch(private){}; true}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1402 PASS "use strict";function private(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1403 PASS (function(){"use strict";function private(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'private' in strict mode.1392 PASS "use strict";var private; true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1393 PASS (function(){"use strict";var private; true}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1394 PASS "use strict";var private = 42; private === 42 threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1395 PASS (function(){"use strict";var private = 42; private === 42}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1396 PASS "use strict";function g(private){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1397 PASS (function(){"use strict";function g(private){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1398 PASS "use strict";/private/.test(function g(private){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1399 PASS (function(){"use strict";/private/.test(function g(private){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a variable name in strict mode.. 1400 PASS "use strict";try{}catch(private){}; true threw exception SyntaxError: Cannot use the reserved word 'private' as a catch variable name in strict mode.. 1401 PASS (function(){"use strict";try{}catch(private){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a catch variable name in strict mode.. 1402 PASS "use strict";function private(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'private' as a function name in strict mode.. 1403 PASS (function(){"use strict";function private(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'private' as a function name in strict mode.. 1404 1404 PASS "use strict";({ "private": 42 }.private === 42) is true 1405 1405 PASS (function(){"use strict";({ "private": 42 }.private === 42)}); true is true … … 1426 1426 PASS ({ get public(){}, set public(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1427 1427 PASS (function(){({ get public(){}, set public(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1428 PASS "use strict";var public; true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1429 PASS (function(){"use strict";var public; true}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1430 PASS "use strict";var public = 42; public === 42 threw exception SyntaxError: Use of reserved word 'public' in strict mode.1431 PASS (function(){"use strict";var public = 42; public === 42}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1432 PASS "use strict";function g(public){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1433 PASS (function(){"use strict";function g(public){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1434 PASS "use strict";/public/.test(function g(public){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'public' in strict mode.1435 PASS (function(){"use strict";/public/.test(function g(public){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1436 PASS "use strict";try{}catch(public){}; true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1437 PASS (function(){"use strict";try{}catch(public){}; true}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1438 PASS "use strict";function public(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1439 PASS (function(){"use strict";function public(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'public' in strict mode.1428 PASS "use strict";var public; true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1429 PASS (function(){"use strict";var public; true}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1430 PASS "use strict";var public = 42; public === 42 threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1431 PASS (function(){"use strict";var public = 42; public === 42}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1432 PASS "use strict";function g(public){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1433 PASS (function(){"use strict";function g(public){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1434 PASS "use strict";/public/.test(function g(public){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1435 PASS (function(){"use strict";/public/.test(function g(public){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a variable name in strict mode.. 1436 PASS "use strict";try{}catch(public){}; true threw exception SyntaxError: Cannot use the reserved word 'public' as a catch variable name in strict mode.. 1437 PASS (function(){"use strict";try{}catch(public){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a catch variable name in strict mode.. 1438 PASS "use strict";function public(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'public' as a function name in strict mode.. 1439 PASS (function(){"use strict";function public(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'public' as a function name in strict mode.. 1440 1440 PASS "use strict";({ "public": 42 }.public === 42) is true 1441 1441 PASS (function(){"use strict";({ "public": 42 }.public === 42)}); true is true … … 1462 1462 PASS ({ get yield(){}, set yield(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1463 1463 PASS (function(){({ get yield(){}, set yield(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1464 PASS "use strict";var yield; true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1465 PASS (function(){"use strict";var yield; true}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1466 PASS "use strict";var yield = 42; yield === 42 threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1467 PASS (function(){"use strict";var yield = 42; yield === 42}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1468 PASS "use strict";function g(yield){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1469 PASS (function(){"use strict";function g(yield){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1470 PASS "use strict";/yield/.test(function g(yield){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1471 PASS (function(){"use strict";/yield/.test(function g(yield){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1472 PASS "use strict";try{}catch(yield){}; true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1473 PASS (function(){"use strict";try{}catch(yield){}; true}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1474 PASS "use strict";function yield(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1475 PASS (function(){"use strict";function yield(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'yield' in strict mode.1464 PASS "use strict";var yield; true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1465 PASS (function(){"use strict";var yield; true}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1466 PASS "use strict";var yield = 42; yield === 42 threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1467 PASS (function(){"use strict";var yield = 42; yield === 42}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1468 PASS "use strict";function g(yield){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1469 PASS (function(){"use strict";function g(yield){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1470 PASS "use strict";/yield/.test(function g(yield){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1471 PASS (function(){"use strict";/yield/.test(function g(yield){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a variable name in strict mode.. 1472 PASS "use strict";try{}catch(yield){}; true threw exception SyntaxError: Cannot use the reserved word 'yield' as a catch variable name in strict mode.. 1473 PASS (function(){"use strict";try{}catch(yield){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a catch variable name in strict mode.. 1474 PASS "use strict";function yield(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'yield' as a function name in strict mode.. 1475 PASS (function(){"use strict";function yield(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'yield' as a function name in strict mode.. 1476 1476 PASS "use strict";({ "yield": 42 }.yield === 42) is true 1477 1477 PASS (function(){"use strict";({ "yield": 42 }.yield === 42)}); true is true … … 1498 1498 PASS ({ get interface(){}, set interface(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1499 1499 PASS (function(){({ get interface(){}, set interface(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1500 PASS "use strict";var interface; true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1501 PASS (function(){"use strict";var interface; true}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1502 PASS "use strict";var interface = 42; interface === 42 threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1503 PASS (function(){"use strict";var interface = 42; interface === 42}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1504 PASS "use strict";function g(interface){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1505 PASS (function(){"use strict";function g(interface){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1506 PASS "use strict";/interface/.test(function g(interface){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1507 PASS (function(){"use strict";/interface/.test(function g(interface){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1508 PASS "use strict";try{}catch(interface){}; true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1509 PASS (function(){"use strict";try{}catch(interface){}; true}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1510 PASS "use strict";function interface(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1511 PASS (function(){"use strict";function interface(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'interface' in strict mode.1500 PASS "use strict";var interface; true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1501 PASS (function(){"use strict";var interface; true}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1502 PASS "use strict";var interface = 42; interface === 42 threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1503 PASS (function(){"use strict";var interface = 42; interface === 42}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1504 PASS "use strict";function g(interface){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1505 PASS (function(){"use strict";function g(interface){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1506 PASS "use strict";/interface/.test(function g(interface){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1507 PASS (function(){"use strict";/interface/.test(function g(interface){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a variable name in strict mode.. 1508 PASS "use strict";try{}catch(interface){}; true threw exception SyntaxError: Cannot use the reserved word 'interface' as a catch variable name in strict mode.. 1509 PASS (function(){"use strict";try{}catch(interface){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a catch variable name in strict mode.. 1510 PASS "use strict";function interface(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'interface' as a function name in strict mode.. 1511 PASS (function(){"use strict";function interface(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'interface' as a function name in strict mode.. 1512 1512 PASS "use strict";({ "interface": 42 }.interface === 42) is true 1513 1513 PASS (function(){"use strict";({ "interface": 42 }.interface === 42)}); true is true … … 1534 1534 PASS ({ get package(){}, set package(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1535 1535 PASS (function(){({ get package(){}, set package(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1536 PASS "use strict";var package; true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1537 PASS (function(){"use strict";var package; true}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1538 PASS "use strict";var package = 42; package === 42 threw exception SyntaxError: Use of reserved word 'package' in strict mode.1539 PASS (function(){"use strict";var package = 42; package === 42}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1540 PASS "use strict";function g(package){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1541 PASS (function(){"use strict";function g(package){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1542 PASS "use strict";/package/.test(function g(package){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'package' in strict mode.1543 PASS (function(){"use strict";/package/.test(function g(package){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1544 PASS "use strict";try{}catch(package){}; true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1545 PASS (function(){"use strict";try{}catch(package){}; true}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1546 PASS "use strict";function package(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1547 PASS (function(){"use strict";function package(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'package' in strict mode.1536 PASS "use strict";var package; true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1537 PASS (function(){"use strict";var package; true}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1538 PASS "use strict";var package = 42; package === 42 threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1539 PASS (function(){"use strict";var package = 42; package === 42}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1540 PASS "use strict";function g(package){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1541 PASS (function(){"use strict";function g(package){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1542 PASS "use strict";/package/.test(function g(package){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1543 PASS (function(){"use strict";/package/.test(function g(package){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a variable name in strict mode.. 1544 PASS "use strict";try{}catch(package){}; true threw exception SyntaxError: Cannot use the reserved word 'package' as a catch variable name in strict mode.. 1545 PASS (function(){"use strict";try{}catch(package){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a catch variable name in strict mode.. 1546 PASS "use strict";function package(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'package' as a function name in strict mode.. 1547 PASS (function(){"use strict";function package(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'package' as a function name in strict mode.. 1548 1548 PASS "use strict";({ "package": 42 }.package === 42) is true 1549 1549 PASS (function(){"use strict";({ "package": 42 }.package === 42)}); true is true … … 1570 1570 PASS ({ get protected(){}, set protected(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1571 1571 PASS (function(){({ get protected(){}, set protected(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1572 PASS "use strict";var protected; true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1573 PASS (function(){"use strict";var protected; true}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1574 PASS "use strict";var protected = 42; protected === 42 threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1575 PASS (function(){"use strict";var protected = 42; protected === 42}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1576 PASS "use strict";function g(protected){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1577 PASS (function(){"use strict";function g(protected){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1578 PASS "use strict";/protected/.test(function g(protected){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1579 PASS (function(){"use strict";/protected/.test(function g(protected){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1580 PASS "use strict";try{}catch(protected){}; true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1581 PASS (function(){"use strict";try{}catch(protected){}; true}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1582 PASS "use strict";function protected(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1583 PASS (function(){"use strict";function protected(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'protected' in strict mode.1572 PASS "use strict";var protected; true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1573 PASS (function(){"use strict";var protected; true}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1574 PASS "use strict";var protected = 42; protected === 42 threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1575 PASS (function(){"use strict";var protected = 42; protected === 42}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1576 PASS "use strict";function g(protected){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1577 PASS (function(){"use strict";function g(protected){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1578 PASS "use strict";/protected/.test(function g(protected){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1579 PASS (function(){"use strict";/protected/.test(function g(protected){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a variable name in strict mode.. 1580 PASS "use strict";try{}catch(protected){}; true threw exception SyntaxError: Cannot use the reserved word 'protected' as a catch variable name in strict mode.. 1581 PASS (function(){"use strict";try{}catch(protected){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a catch variable name in strict mode.. 1582 PASS "use strict";function protected(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'protected' as a function name in strict mode.. 1583 PASS (function(){"use strict";function protected(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'protected' as a function name in strict mode.. 1584 1584 PASS "use strict";({ "protected": 42 }.protected === 42) is true 1585 1585 PASS (function(){"use strict";({ "protected": 42 }.protected === 42)}); true is true … … 1606 1606 PASS ({ get static(){}, set static(){}, parsedOkay: 42 }.parsedOkay === 42) is true 1607 1607 PASS (function(){({ get static(){}, set static(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true 1608 PASS "use strict";var static; true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1609 PASS (function(){"use strict";var static; true}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1610 PASS "use strict";var static = 42; static === 42 threw exception SyntaxError: Use of reserved word 'static' in strict mode.1611 PASS (function(){"use strict";var static = 42; static === 42}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1612 PASS "use strict";function g(static){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1613 PASS (function(){"use strict";function g(static){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1614 PASS "use strict";/static/.test(function g(static){ "use strict"; }) threw exception SyntaxError: Use of reserved word 'static' in strict mode.1615 PASS (function(){"use strict";/static/.test(function g(static){ "use strict"; })}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1616 PASS "use strict";try{}catch(static){}; true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1617 PASS (function(){"use strict";try{}catch(static){}; true}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1618 PASS "use strict";function static(){ "use strict"; }; true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1619 PASS (function(){"use strict";function static(){ "use strict"; }; true}); true threw exception SyntaxError: Use of reserved word 'static' in strict mode.1608 PASS "use strict";var static; true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1609 PASS (function(){"use strict";var static; true}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1610 PASS "use strict";var static = 42; static === 42 threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1611 PASS (function(){"use strict";var static = 42; static === 42}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1612 PASS "use strict";function g(static){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1613 PASS (function(){"use strict";function g(static){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1614 PASS "use strict";/static/.test(function g(static){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1615 PASS (function(){"use strict";/static/.test(function g(static){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a variable name in strict mode.. 1616 PASS "use strict";try{}catch(static){}; true threw exception SyntaxError: Cannot use the reserved word 'static' as a catch variable name in strict mode.. 1617 PASS (function(){"use strict";try{}catch(static){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a catch variable name in strict mode.. 1618 PASS "use strict";function static(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'static' as a function name in strict mode.. 1619 PASS (function(){"use strict";function static(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'static' as a function name in strict mode.. 1620 1620 PASS "use strict";({ "static": 42 }.static === 42) is true 1621 1621 PASS (function(){"use strict";({ "static": 42 }.static === 42)}); true is true -
trunk/LayoutTests/js/function-constructor-error-expected.txt
r110398 r158014 4 4 5 5 6 PASS Function('(i + (j)') threw exception SyntaxError: Expected token ')'.7 PASS Function('return (i + (j)') threw exception SyntaxError: Expected token ')'.6 PASS Function('(i + (j)') threw exception SyntaxError: Unexpected token '}'. Expected ')' to end a compound expression.. 7 PASS Function('return (i + (j)') threw exception SyntaxError: Unexpected token '}'. Expected ')' to end a compound expression.. 8 8 PASS successfullyParsed is true 9 9 -
trunk/LayoutTests/js/function-declaration-expected.txt
r89257 r158014 6 6 PASS eval('function f(){return true;}') is undefined. 7 7 PASS eval('function f(){return true;};f')() is true 8 PASS eval('function(){return false;}')() threw exception SyntaxError: Unexpected token '('.8 PASS eval('function(){return false;}')() threw exception SyntaxError: Function statements must have a name.. 9 9 PASS successfullyParsed is true 10 10 -
trunk/LayoutTests/js/function-toString-object-literals-expected.txt
r89257 r158014 20 20 PASS compileAndSerialize('a = { get x() { } }') is 'a = { get x() { } }' 21 21 PASS compileAndSerialize('a = { set x(y) { } }') is 'a = { set x(y) { } }' 22 PASS compileAndSerialize('a = { --1: null }') threw exception SyntaxError: Unexpected token '--'. 23 PASS compileAndSerialize('a = { -NaN: null }') threw exception SyntaxError: Unexpected token '-'. 24 PASS compileAndSerialize('a = { -0: null }') threw exception SyntaxError: Unexpected token '-'. 25 PASS compileAndSerialize('a = { -0.0: null }') threw exception SyntaxError: Unexpected token '-'. 26 PASS compileAndSerialize('a = { -Infinity: null }') threw exception SyntaxError: Unexpected token '-'. 22 PASS compileAndSerialize('a = { --1: null }') threw exception SyntaxError: Unexpected token '--'. Expected a property name.. 23 PASS compileAndSerialize('a = { -NaN: null }') threw exception SyntaxError: Unexpected token '-'. Expected a property name.. 24 PASS compileAndSerialize('a = { -0: null }') threw exception SyntaxError: Unexpected token '-'. Expected a property name.. 25 PASS compileAndSerialize('a = { -0.0: null }') threw exception SyntaxError: Unexpected token '-'. Expected a property name.. 26 PASS compileAndSerialize('a = { -Infinity: null }') threw exception SyntaxError: Unexpected token '-'. Expected a property name.. 27 27 PASS successfullyParsed is true 28 28 -
trunk/LayoutTests/js/function-toString-parentheses-expected.txt
r89257 r158014 217 217 PASS compileAndSerialize('(a = b) + c') is '(a = b) + c' 218 218 PASS compileAndSerialize('a = (b + c)') is 'a = (b + c)' 219 PASS compileAndSerialize('a + b = c') threw exception SyntaxError: Unexpected token '='.219 PASS compileAndSerialize('a + b = c') threw exception SyntaxError: Left hand sign of operator '=' must be a reference.. 220 220 PASS compileAndSerialize('(a + b) = c') is '(a + b) = c' 221 221 PASS compileAndSerialize('a + (b = c)') is 'a + (b = c)' … … 229 229 PASS compileAndSerialize('(a *= b) + c') is '(a *= b) + c' 230 230 PASS compileAndSerialize('a *= (b + c)') is 'a *= (b + c)' 231 PASS compileAndSerialize('a + b *= c') threw exception SyntaxError: Unexpected token '*='.231 PASS compileAndSerialize('a + b *= c') threw exception SyntaxError: Left hand sign of operator '*=' must be a reference.. 232 232 PASS compileAndSerialize('(a + b) *= c') is '(a + b) *= c' 233 233 PASS compileAndSerialize('a + (b *= c)') is 'a + (b *= c)' … … 241 241 PASS compileAndSerialize('(a /= b) + c') is '(a /= b) + c' 242 242 PASS compileAndSerialize('a /= (b + c)') is 'a /= (b + c)' 243 PASS compileAndSerialize('a + b /= c') threw exception SyntaxError: Unexpected token '/='.243 PASS compileAndSerialize('a + b /= c') threw exception SyntaxError: Left hand sign of operator '/=' must be a reference.. 244 244 PASS compileAndSerialize('(a + b) /= c') is '(a + b) /= c' 245 245 PASS compileAndSerialize('a + (b /= c)') is 'a + (b /= c)' … … 253 253 PASS compileAndSerialize('(a %= b) + c') is '(a %= b) + c' 254 254 PASS compileAndSerialize('a %= (b + c)') is 'a %= (b + c)' 255 PASS compileAndSerialize('a + b %= c') threw exception SyntaxError: Unexpected token '%='.255 PASS compileAndSerialize('a + b %= c') threw exception SyntaxError: Left hand sign of operator '%=' must be a reference.. 256 256 PASS compileAndSerialize('(a + b) %= c') is '(a + b) %= c' 257 257 PASS compileAndSerialize('a + (b %= c)') is 'a + (b %= c)' … … 265 265 PASS compileAndSerialize('(a += b) + c') is '(a += b) + c' 266 266 PASS compileAndSerialize('a += (b + c)') is 'a += (b + c)' 267 PASS compileAndSerialize('a + b += c') threw exception SyntaxError: Unexpected token '+='.267 PASS compileAndSerialize('a + b += c') threw exception SyntaxError: Left hand sign of operator '+=' must be a reference.. 268 268 PASS compileAndSerialize('(a + b) += c') is '(a + b) += c' 269 269 PASS compileAndSerialize('a + (b += c)') is 'a + (b += c)' … … 277 277 PASS compileAndSerialize('(a -= b) + c') is '(a -= b) + c' 278 278 PASS compileAndSerialize('a -= (b + c)') is 'a -= (b + c)' 279 PASS compileAndSerialize('a + b -= c') threw exception SyntaxError: Unexpected token '-='.279 PASS compileAndSerialize('a + b -= c') threw exception SyntaxError: Left hand sign of operator '-=' must be a reference.. 280 280 PASS compileAndSerialize('(a + b) -= c') is '(a + b) -= c' 281 281 PASS compileAndSerialize('a + (b -= c)') is 'a + (b -= c)' … … 289 289 PASS compileAndSerialize('(a <<= b) + c') is '(a <<= b) + c' 290 290 PASS compileAndSerialize('a <<= (b + c)') is 'a <<= (b + c)' 291 PASS compileAndSerialize('a + b <<= c') threw exception SyntaxError: Unexpected token '<<='.291 PASS compileAndSerialize('a + b <<= c') threw exception SyntaxError: Left hand sign of operator '<<=' must be a reference.. 292 292 PASS compileAndSerialize('(a + b) <<= c') is '(a + b) <<= c' 293 293 PASS compileAndSerialize('a + (b <<= c)') is 'a + (b <<= c)' … … 301 301 PASS compileAndSerialize('(a >>= b) + c') is '(a >>= b) + c' 302 302 PASS compileAndSerialize('a >>= (b + c)') is 'a >>= (b + c)' 303 PASS compileAndSerialize('a + b >>= c') threw exception SyntaxError: Unexpected token '>>='.303 PASS compileAndSerialize('a + b >>= c') threw exception SyntaxError: Left hand sign of operator '>>=' must be a reference.. 304 304 PASS compileAndSerialize('(a + b) >>= c') is '(a + b) >>= c' 305 305 PASS compileAndSerialize('a + (b >>= c)') is 'a + (b >>= c)' … … 313 313 PASS compileAndSerialize('(a >>>= b) + c') is '(a >>>= b) + c' 314 314 PASS compileAndSerialize('a >>>= (b + c)') is 'a >>>= (b + c)' 315 PASS compileAndSerialize('a + b >>>= c') threw exception SyntaxError: Unexpected token '>>>='.315 PASS compileAndSerialize('a + b >>>= c') threw exception SyntaxError: Left hand sign of operator '>>>=' must be a reference.. 316 316 PASS compileAndSerialize('(a + b) >>>= c') is '(a + b) >>>= c' 317 317 PASS compileAndSerialize('a + (b >>>= c)') is 'a + (b >>>= c)' … … 325 325 PASS compileAndSerialize('(a &= b) + c') is '(a &= b) + c' 326 326 PASS compileAndSerialize('a &= (b + c)') is 'a &= (b + c)' 327 PASS compileAndSerialize('a + b &= c') threw exception SyntaxError: Unexpected token '&='.327 PASS compileAndSerialize('a + b &= c') threw exception SyntaxError: Left hand sign of operator '&=' must be a reference.. 328 328 PASS compileAndSerialize('(a + b) &= c') is '(a + b) &= c' 329 329 PASS compileAndSerialize('a + (b &= c)') is 'a + (b &= c)' … … 337 337 PASS compileAndSerialize('(a ^= b) + c') is '(a ^= b) + c' 338 338 PASS compileAndSerialize('a ^= (b + c)') is 'a ^= (b + c)' 339 PASS compileAndSerialize('a + b ^= c') threw exception SyntaxError: Unexpected token '^='.339 PASS compileAndSerialize('a + b ^= c') threw exception SyntaxError: Left hand sign of operator '^=' must be a reference.. 340 340 PASS compileAndSerialize('(a + b) ^= c') is '(a + b) ^= c' 341 341 PASS compileAndSerialize('a + (b ^= c)') is 'a + (b ^= c)' … … 349 349 PASS compileAndSerialize('(a |= b) + c') is '(a |= b) + c' 350 350 PASS compileAndSerialize('a |= (b + c)') is 'a |= (b + c)' 351 PASS compileAndSerialize('a + b |= c') threw exception SyntaxError: Unexpected token '|='.351 PASS compileAndSerialize('a + b |= c') threw exception SyntaxError: Left hand sign of operator '|=' must be a reference.. 352 352 PASS compileAndSerialize('(a + b) |= c') is '(a + b) |= c' 353 353 PASS compileAndSerialize('a + (b |= c)') is 'a + (b |= c)' -
trunk/LayoutTests/js/js-continue-break-restrictions-expected.txt
r89257 r158014 5 5 6 6 PASS L:{true;break L;false} is true 7 PASS if (0) { L:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement. 8 PASS if (0) { L:{ continue L; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.9 PASS if (0) { L:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement. 10 PASS if (0) { switch (1) { case 1: continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement. 7 PASS if (0) { L:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement.. 8 PASS if (0) { L:{ continue L; } } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 9 PASS if (0) { L:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 10 PASS if (0) { switch (1) { case 1: continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 11 11 PASS A:L:{true;break L;false} is true 12 PASS if (0) { A:L:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement. 13 PASS if (0) { A:L:{ continue L; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.14 PASS if (0) { A:L:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement. 12 PASS if (0) { A:L:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement.. 13 PASS if (0) { A:L:{ continue L; } } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 14 PASS if (0) { A:L:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 15 15 PASS L:A:{true;break L;false} is true 16 PASS if (0) { L:A:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement. 17 PASS if (0) { L:A:{ continue L; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.18 PASS if (0) { L:A:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement. 16 PASS if (0) { L:A:{ break; } } threw exception SyntaxError: 'break' is only valid inside a switch or loop statement.. 17 PASS if (0) { L:A:{ continue L; } } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 18 PASS if (0) { L:A:{ continue; } } threw exception SyntaxError: 'continue' is only valid inside a loop statement.. 19 19 PASS if(0){ L:for(;;) continue L; } is undefined. 20 20 PASS if(0){ L:A:for(;;) continue L; } is undefined. 21 21 PASS if(0){ A:L:for(;;) continue L; } is undefined. 22 PASS if(0){ A:for(;;) L:continue L; } threw exception SyntaxError: 'continue' is only valid inside a loop statement.22 PASS if(0){ A:for(;;) L:continue L; } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 23 23 PASS if(0){ L:for(;;) A:continue L; } is undefined. 24 24 PASS if(0){ L:do continue L; while(0); } is undefined. 25 25 PASS if(0){ L:A:do continue L; while(0); } is undefined. 26 26 PASS if(0){ A:L:do continue L; while(0);} is undefined. 27 PASS if(0){ A:do L:continue L; while(0); } threw exception SyntaxError: 'continue' is only valid inside a loop statement.27 PASS if(0){ A:do L:continue L; while(0); } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 28 28 PASS if(0){ L:do A:continue L; while(0); } is undefined. 29 29 PASS if(0){ L:while(0) continue L; } is undefined. 30 30 PASS if(0){ L:A:while(0) continue L; } is undefined. 31 31 PASS if(0){ A:L:while(0) continue L; } is undefined. 32 PASS if(0){ A:while(0) L:continue L; } threw exception SyntaxError: 'continue' is only valid inside a loop statement.32 PASS if(0){ A:while(0) L:continue L; } threw exception SyntaxError: Cannot continue to the label 'L' as it is not targeting a loop.. 33 33 PASS if(0){ L:while(0) A:continue L; } is undefined. 34 34 PASS successfullyParsed is true -
trunk/LayoutTests/js/kde/garbage-n-expected.txt
r98407 r158014 1 CONSOLE MESSAGE: line 1: SyntaxError: Expected an identifier but found 'code' instead1 CONSOLE MESSAGE: line 1: SyntaxError: Unexpected identifier 'code' 2 2 KDE JS Test 3 3 -
trunk/LayoutTests/js/kde/parse-expected.txt
r148849 r158014 8 8 PASS function test() { while(0) continue; } lab: 1 is 1 9 9 PASS function test() { return lab;} lab: 1 is 1 10 PASS function test() { while(0) break lab; } lab: 1 threw exception SyntaxError: Label 'lab' is not defined.11 PASS function test() { while(0) continue lab; } lab: 1 threw exception SyntaxError: Label 'lab' is not defined.10 PASS function test() { while(0) break lab; } lab: 1 threw exception SyntaxError: Cannot use the undeclared label 'lab'.. 11 PASS function test() { while(0) continue lab; } lab: 1 threw exception SyntaxError: Cannot use the undeclared label 'lab'.. 12 12 PASS function test() { return } lab: 1 is 1 13 13 PASS function test() { while(0) break } lab: 1 is 1 14 14 PASS function test() { while(0) continue } lab: 1 is 1 15 15 PASS function test() { return 0 } lab: 1 is 1 16 PASS function test() { while(0) break lab } lab: 1 threw exception SyntaxError: Label 'lab' is not defined.17 PASS function test() { while(0) continue lab } lab: 1 threw exception SyntaxError: Label 'lab' is not defined.16 PASS function test() { while(0) break lab } lab: 1 threw exception SyntaxError: Cannot use the undeclared label 'lab'.. 17 PASS function test() { while(0) continue lab } lab: 1 threw exception SyntaxError: Cannot use the undeclared label 'lab'.. 18 18 PASS var éĀʯΈᢨ = 101; éĀʯΈᢨ; is 101 19 19 PASS var f÷; threw exception SyntaxError: Invalid character '\u0247'. -
trunk/LayoutTests/js/no-semi-insertion-at-end-of-script-expected.txt
r89257 r158014 4 4 5 5 6 PASS if (0) threw exception SyntaxError: Unexpected EOF.7 PASS eval('if (0)') threw exception SyntaxError: Unexpected EOF.6 PASS if (0) threw exception SyntaxError: Unexpected end of script. 7 PASS eval('if (0)') threw exception SyntaxError: Unexpected end of script. 8 8 PASS successfullyParsed is true 9 9 -
trunk/LayoutTests/js/object-literal-syntax-expected.txt
r89257 r158014 4 4 5 5 6 PASS ({a:1, get a(){}}) threw exception SyntaxError: Unexpected token '}'.7 PASS ({a:1, set a(){}}) threw exception SyntaxError: Unexpected token '}'.8 PASS ({get a(){}, a:1}) threw exception SyntaxError: Unexpected token '}'.9 PASS ({set a(){}, a:1}) threw exception SyntaxError: Unexpected token '}'.10 PASS ({get a(){}, get a(){}}) threw exception SyntaxError: Unexpected token '}'.11 PASS ({set a(){}, set a(){}}) threw exception SyntaxError: Unexpected token '}'.12 PASS ({set a(){}, get a(){}, set a(){}}) threw exception SyntaxError: Unexpected token '}'.13 PASS (function(){({a:1, get a(){}})}) threw exception SyntaxError: Unexpected token '}'.14 PASS (function(){({a:1, set a(){}})}) threw exception SyntaxError: Unexpected token '}'.15 PASS (function(){({get a(){}, a:1})}) threw exception SyntaxError: Unexpected token '}'.16 PASS (function(){({set a(){}, a:1})}) threw exception SyntaxError: Unexpected token '}'.17 PASS (function(){({get a(){}, get a(){}})}) threw exception SyntaxError: Unexpected token '}'.18 PASS (function(){({set a(){}, set a(){}})}) threw exception SyntaxError: Unexpected token '}'.19 PASS (function(){({set a(){}, get a(){}, set a(){}})}) threw exception SyntaxError: Unexpected token '}'.6 PASS ({a:1, get a(){}}) threw exception SyntaxError: Attempted to redefine property 'a'.. 7 PASS ({a:1, set a(){}}) threw exception SyntaxError: Attempted to redefine property 'a'.. 8 PASS ({get a(){}, a:1}) threw exception SyntaxError: Attempted to redefine property 'a'.. 9 PASS ({set a(){}, a:1}) threw exception SyntaxError: Attempted to redefine property 'a'.. 10 PASS ({get a(){}, get a(){}}) threw exception SyntaxError: Attempted to redefine property 'a'.. 11 PASS ({set a(){}, set a(){}}) threw exception SyntaxError: Attempted to redefine property 'a'.. 12 PASS ({set a(){}, get a(){}, set a(){}}) threw exception SyntaxError: Attempted to redefine property 'a'.. 13 PASS (function(){({a:1, get a(){}})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 14 PASS (function(){({a:1, set a(){}})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 15 PASS (function(){({get a(){}, a:1})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 16 PASS (function(){({set a(){}, a:1})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 17 PASS (function(){({get a(){}, get a(){}})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 18 PASS (function(){({set a(){}, set a(){}})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 19 PASS (function(){({set a(){}, get a(){}, set a(){}})}) threw exception SyntaxError: Attempted to redefine property 'a'.. 20 20 PASS ({a:1, a:1, a:1}), true is true 21 21 PASS ({get a(){}, set a(){}}), true is true -
trunk/LayoutTests/js/parser-xml-close-comment-expected.txt
r89257 r158014 4 4 5 5 6 PASS 'should be a syntax error' --> threw exception SyntaxError: Unexpected EOF.7 PASS /**/ 1 --> threw exception SyntaxError: Unexpected EOF.8 PASS 1 /**/ --> threw exception SyntaxError: Unexpected EOF.6 PASS 'should be a syntax error' --> threw exception SyntaxError: Unexpected end of script. 7 PASS /**/ 1 --> threw exception SyntaxError: Unexpected end of script. 8 PASS 1 /**/ --> threw exception SyntaxError: Unexpected end of script. 9 9 PASS 1/* 10 10 */--> threw exception SyntaxError: Unexpected token '>'. -
trunk/LayoutTests/js/regexp-compile-crash-expected.txt
r89257 r158014 5 5 6 6 PASS !!/\)[;s]+/ is true 7 PASS /[/ threw exception SyntaxError: Unexpected token '/'. 8 PASS /[a/ threw exception SyntaxError: Unexpected token '/'. 9 PASS /[-/ threw exception SyntaxError: Unexpected token '/'. 7 PASS /[/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 8 PASS /[a/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 9 PASS /[-/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. 10 10 PASS !!/(a)/ is true 11 11 PASS !!/(a){1,3}/ is true -
trunk/LayoutTests/js/script-tests/function-constructor-error.js
r110398 r158014 3 3 ); 4 4 5 shouldThrow("Function('(i + (j)')", '"SyntaxError: Expected token \')\'"');6 shouldThrow("Function('return (i + (j)')", '"SyntaxError: Expected token \')\'"');5 shouldThrow("Function('(i + (j)')", "\"SyntaxError: Unexpected token '}'. Expected ')' to end a compound expression.\""); 6 shouldThrow("Function('return (i + (j)')", "\"SyntaxError: Unexpected token '}'. Expected ')' to end a compound expression.\""); -
trunk/LayoutTests/js/script-tests/reserved-words-strict.js
r113352 r158014 5 5 return false; 6 6 } catch (e) { 7 var expectedError = " Use of reserved word '" + word + "' in strict mode";7 var expectedError = "Cannot use the reserved word '" + word + "' as a variable name in strict mode."; 8 8 if (expectedError == e.message) 9 9 return true; 10 else 10 else { 11 debug(e.message); 11 12 return false; 13 } 12 14 } 13 15 } -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt
r89257 r158014 1 1 S7.3_A3.1_T2 2 2 3 PASS SyntaxError: Expected an identifier but found 'line' instead3 PASS SyntaxError: Unexpected identifier 'line' 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Expected an identifier but found 'comment' instead1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected identifier 'comment' 2 2 S7.3_A3.1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt
r89257 r158014 1 1 S7.3_A3.2_T2 2 2 3 PASS SyntaxError: Expected an identifier but found 'line' instead3 PASS SyntaxError: Unexpected identifier 'line' 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found 'comment' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected identifier 'comment' 2 2 S7.3_A3.2_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt
r89257 r158014 1 1 S7.3_A3.3_T2 2 2 3 PASS SyntaxError: Expected an identifier but found 'line' instead3 PASS SyntaxError: Unexpected identifier 'line' 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt
r89257 r158014 1 1 S7.3_A3.4_T2 2 2 3 PASS SyntaxError: Expected an identifier but found 'line' instead3 PASS SyntaxError: Unexpected identifier 'line' 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.4_A4_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.4_A4_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '=' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected an identifier as the target for a break statement. 2 2 S7.5.2_A1.1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a for-loop header. 2 2 S7.5.2_A1.10 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a 'if' condition. 2 2 S7.5.2_A1.12 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token'in'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'in' 2 2 S7.5.2_A1.13 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token'instanceof'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'instanceof' 2 2 S7.5.2_A1.14 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 76: SyntaxError: Return statements are only valid inside functions. 2 2 S7.5.2_A1.16 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a subject of a 'switch'. 2 2 S7.5.2_A1.17 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '}'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'case'. Expected a closing '}' at the end of a block statement. 2 2 S7.5.2_A1.2 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '{'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected a block statement as body of a try statement. 2 2 S7.5.2_A1.20 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '=' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected a parameter pattern or a ')' in parameter list. 2 2 S7.5.2_A1.22 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a while loop condition. 2 2 S7.5.2_A1.24 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected '(' to start a subject of a 'with' statement. 2 2 S7.5.2_A1.25 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token'catch'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'catch' 2 2 S7.5.2_A1.3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '=' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected an identifier as the target for a continue statement. 2 2 S7.5.2_A1.4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '}'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'default'. Expected a closing '}' at the end of a block statement. 2 2 S7.5.2_A1.5 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token'else'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'else' 2 2 S7.5.2_A1.8 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token'finally'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'finally' 2 2 S7.5.2_A1.9 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'export'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'export' 2 2 S7.5.3_A1.10 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'extends'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'extends' 2 2 S7.5.3_A1.11 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'import'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'import' 2 2 S7.5.3_A1.16 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'super'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'super' 2 2 S7.5.3_A1.27 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'class'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'class' 2 2 S7.5.3_A1.5 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '=' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Expected an identifier name in const declaration. 2 2 S7.5.3_A1.6 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '='. Debugger keyword must be followed by a ';'. 2 2 S7.5.3_A1.7 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: U se of reserved word 'enum'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'enum' 2 2 S7.5.3_A1.9 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A1.2_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A1.3_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A1.3_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A1.5_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A1.5_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A2.2_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A2.3_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A2.3_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A2.5_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '/'. Invalid regular expression. 2 2 S7.8.5_A2.5_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '\u0067' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u0067'. Expected ';' after var declaration. 2 2 S7.8.5_A3.1_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '\u0069' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u0069'. Expected ';' after var declaration. 2 2 S7.8.5_A3.1_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found '\u006D' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected identifier '\u006D'. Expected ';' after var declaration. 2 2 S7.8.5_A3.1_T9 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2'. Parse error. 2 2 S7.9.2_A1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token ';'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. 2 2 S7.9.2_A1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token'else'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' 2 2 S7.9.2_A1_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected ')' to end a compound expression. 2 2 S7.9_A10_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2' 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2'. Parse error. 2 2 S7.9_A10_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token'else'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'else' 2 2 S7.9_A11_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token'else'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' 2 2 S7.9_A11_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected number '1'1 CONSOLE MESSAGE: line 79: SyntaxError: Cannot have a newline after 'throw'. 2 2 S7.9_A4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ';'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. 2 2 S7.9_A6.2_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Expected token ';'1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. 2 2 S7.9_A6.2_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Expected token ';'1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. 2 2 S7.9_A6.2_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ';'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')'. Expected a ';' after the for loop condition expression. 2 2 S7.9_A6.2_T9 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt
r156920 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Expected either 'in' or 'of' in enumeration syntax1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')'. Expected either 'in' or 'of' in enumeration syntax. 2 2 S7.9_A6.3_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt
r156920 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected either 'in' or 'of' in enumeration syntax1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. 2 2 S7.9_A6.3_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt
r156920 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Expected either 'in' or 'of' in enumeration syntax1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. 2 2 S7.9_A6.3_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt
r156920 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Expected either 'in' or 'of' in enumeration syntax1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected keyword 'false'. Expected either 'in' or 'of' in enumeration syntax. 2 2 S7.9_A6.3_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. 2 2 S7.9_A6.4_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected a statement as the body of a while loop. 2 2 S7.9_A9_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token '}'. Expected a statement as the body of a while loop. 2 2 S7.9_A9_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Expected token 'while'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';'. Expected 'while' to end a do-while loop. 2 2 S7.9_A9_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected an identifier but found 'null' instead1 CONSOLE MESSAGE: line 76: SyntaxError: Cannot use the keyword 'null' as a variable name. 2 2 S8.2_A2 3 3 -
trunk/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string ''1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string literal ''. Expected ';' after var declaration. 2 2 S8.4_A13_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string ""1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected string literal "". Expected ';' after var declaration. 2 2 S8.4_A14_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt
r89257 r158014 1 1 S11.3.1_A1.1_T1 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt
r89257 r158014 1 1 S11.3.1_A1.1_T2 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt
r89257 r158014 1 1 S11.3.1_A1.1_T3 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt
r89257 r158014 1 1 S11.3.1_A1.1_T4 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt
r89257 r158014 1 1 S11.3.2_A1.1_T1 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt
r89257 r158014 1 1 S11.3.2_A1.1_T2 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt
r89257 r158014 1 1 S11.3.2_A1.1_T3 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt
r89257 r158014 1 1 S11.3.2_A1.1_T4 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 85: SyntaxError: Expected token '}'1 CONSOLE MESSAGE: line 85: SyntaxError: Unexpected keyword 'default'. Expected '}' to end a body of a 'switch'. 2 2 S12.11_A2_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '{'. Expected '(' to start a subject of a 'switch'. 2 2 S12.11_A3_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Expected token '{'1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token ';'. Expected '{' to start a body of a 'switch'. 2 2 S12.11_A3_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token '}'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected identifier 'result'. Expected '}' to end a body of a 'switch'. 2 2 S12.11_A3_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token '{'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '}'. Expected a block statement as body of a try statement. 2 2 S12.14_A16_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found ')' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected identifier name as catch target. 2 2 S12.14_A16_T10 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token'catch'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'catch' 2 2 S12.14_A16_T11 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token '}'. Try statements must have at least a catch or finally block. 2 2 S12.14_A16_T12 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt
r90535 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected string "22"1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected string literal "22". Expected identifier name as catch target. 2 2 S12.14_A16_T13 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Expected token '{'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '('. Expected a block statement as body of a try statement. 2 2 S12.14_A16_T14 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token '{'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '('. Expected block statement for finally body. 2 2 S12.14_A16_T15 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token'catch'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' 2 2 S12.14_A16_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token'finally'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'finally' 2 2 S12.14_A16_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '{'. Expected '(' to start a 'catch' target. 2 2 S12.14_A16_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found ')' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected identifier name as catch target. 2 2 S12.14_A16_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token'catch'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'catch' 2 2 S12.14_A16_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found ')' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected identifier name as catch target. 2 2 S12.14_A16_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found ')' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')'. Expected identifier name as catch target. 2 2 S12.14_A16_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token'catch'1 CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' 2 2 S12.14_A16_T9 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected a ':' following the property name '__func'. 2 2 S12.1_A4_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected a ':' following the property name 'x'. 2 2 S12.1_A4_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '+=' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '+='. Expected ';' after var declaration. 2 2 S12.2_A8_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '|' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '|'. Expected ';' after var declaration. 2 2 S12.2_A8_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '&&' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '&&'. Expected ';' after var declaration. 2 2 S12.2_A8_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '++' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '++'. Expected ';' after var declaration. 2 2 S12.2_A8_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected an identifier but found '--' instead1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '--'. Expected a parameter pattern or a ')' in parameter list. 2 2 S12.2_A8_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '*' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '*'. Expected ';' after var declaration. 2 2 S12.2_A8_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '>>' 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '>>'. Expected ';' after var declaration. 2 2 S12.2_A8_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token 'in'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'in'. Expected ';' after var declaration. 2 2 S12.2_A8_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Function statements must have a name. 2 2 S12.4_A1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token ':'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '}'. Expected ':' after property name. 2 2 S12.5_A11 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start a 'if' condition. 2 2 S12.5_A6_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start a 'if' condition. 2 2 S12.5_A6_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. 2 2 S12.5_A9_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token 'while'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'var'. Expected 'while' to end a do-while loop. 2 2 S12.6.1_A12 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. 2 2 S12.6.1_A13_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ':'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '}'. Expected ':' after property name. 2 2 S12.6.1_A15 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '1'. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '0'. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal ''. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal 'hood'. Expected '(' to start a do-while loop condition. 2 2 S12.6.1_A6_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. 2 2 S12.6.2_A13_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token ':'1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '}'. Expected ':' after property name. 2 2 S12.6.2_A15 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '1'. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected number '0'. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'true'. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'false'. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal ''. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Expected token '('1 CONSOLE MESSAGE: line 78: SyntaxError: Unexpected string literal 'hood'. Expected '(' to start a while loop condition. 2 2 S12.6.2_A6_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'nonexist' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. 2 2 S12.6.3_A11.1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'nonexist' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. 2 2 S12.6.3_A11_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'nonexist' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. 2 2 S12.6.3_A12.1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'nonexist' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'nonexist'. 2 2 S12.6.3_A12_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. 2 2 S12.6.3_A4.1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. 2 2 S12.6.3_A4_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ';'. Expected ')' to end a for-in header. 2 2 S12.6.3_A4_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. 2 2 S12.6.3_A7.1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. 2 2 S12.6.3_A7.1_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. 2 2 S12.6.3_A7_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Expected token ')'1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';'. Expected ')' to end a for-loop header. 2 2 S12.6.3_A7_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. 2 2 S12.6.3_A8.1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. 2 2 S12.6.3_A8.1_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Expected an identifier but found 'index' instead1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected identifier 'index'. Expected a ':' following the property name 'var'. 2 2 S12.6.3_A8.1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. 2 2 S12.6.3_A8_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '++'. Expected a ':' following the property name 'index'. 2 2 S12.6.3_A8_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '=' 1 CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token '='. Expected a ':' following the property name 'index'. 2 2 S12.6.3_A8_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '('1 CONSOLE MESSAGE: line 76: SyntaxError: Function statements must have a name. 2 2 S12.6.4_A13_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt
r108948 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '}' 1 CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token '}'. Expected a ':' following the property name '__arr'. 2 2 S12.6.4_A15 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: 'continue' is only valid inside a loop statement 1 CONSOLE MESSAGE: line 80: SyntaxError: 'continue' is only valid inside a loop statement. 2 2 S12.7_A1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Label 'LABEL' is not defined1 CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL'. 2 2 S12.7_A1_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'LABEL' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL'. 2 2 S12.7_A1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: 'continue' is only valid inside a loop statement 1 CONSOLE MESSAGE: line 81: SyntaxError: 'continue' is only valid inside a loop statement. 2 2 S12.7_A1_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Label 'LABEL_ANOTHER_LOOP' is not defined1 CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL_ANOTHER_LOOP'. 2 2 S12.7_A5_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Label 'IN_DO_FUNC' is not defined1 CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'IN_DO_FUNC'. 2 2 S12.7_A5_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Label 'LABEL_IN' is not defined1 CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL_IN'. 2 2 S12.7_A5_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Label 'LABEL1' is not defined1 CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL1'. 2 2 S12.7_A6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 86: SyntaxError: Label 'LABEL2' is not defined1 CONSOLE MESSAGE: line 86: SyntaxError: Cannot use the undeclared label 'LABEL2'. 2 2 S12.7_A8_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 87: SyntaxError: 'continue' is only valid inside a loop statement 1 CONSOLE MESSAGE: line 87: SyntaxError: 'continue' is only valid inside a loop statement. 2 2 S12.7_A8_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: 'break' is only valid inside a switch or loop statement 1 CONSOLE MESSAGE: line 80: SyntaxError: 'break' is only valid inside a switch or loop statement. 2 2 S12.8_A1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Label 'LABEL' is not defined1 CONSOLE MESSAGE: line 81: SyntaxError: Cannot use the undeclared label 'LABEL'. 2 2 S12.8_A1_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: 'break' is only valid inside a switch or loop statement 1 CONSOLE MESSAGE: line 81: SyntaxError: 'break' is only valid inside a switch or loop statement. 2 2 S12.8_A1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'LABEL' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL'. 2 2 S12.8_A1_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'LABEL_ANOTHER_LOOP' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL_ANOTHER_LOOP'. 2 2 S12.8_A5_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'IN_DO_FUNC' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'IN_DO_FUNC'. 2 2 S12.8_A5_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 82: SyntaxError: Label 'LABEL_IN' is not defined1 CONSOLE MESSAGE: line 82: SyntaxError: Cannot use the undeclared label 'LABEL_IN'. 2 2 S12.8_A5_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Label 'LABEL1' is not defined1 CONSOLE MESSAGE: line 80: SyntaxError: Cannot use the undeclared label 'LABEL1'. 2 2 S12.8_A6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 86: SyntaxError: Label 'LABEL2' is not defined1 CONSOLE MESSAGE: line 86: SyntaxError: Cannot use the undeclared label 'LABEL2'. 2 2 S12.8_A8_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 87: SyntaxError: 'break' is only valid inside a switch or loop statement 1 CONSOLE MESSAGE: line 87: SyntaxError: 'break' is only valid inside a switch or loop statement. 2 2 S12.8_A8_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T1 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T10 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T2 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 79: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T3 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 78: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T4 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T5 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T6 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T7 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 80: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T8 3 3 -
trunk/LayoutTests/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt
r89257 r158014 1 CONSOLE MESSAGE: line 81: SyntaxError: Return statements are only valid inside functions 1 CONSOLE MESSAGE: line 81: SyntaxError: Return statements are only valid inside functions. 2 2 S12.9_A1_T9 3 3 -
trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.1_eval/S15.1.2.1_A2_T2-expected.txt
r89257 r158014 1 1 S15.1.2.1_A2_T2 2 2 3 PASS SyntaxError: Unexpected EOF3 PASS SyntaxError: Unexpected end of script 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.3_Function/15.3.4/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1-expected.txt
r89257 r158014 1 1 S15.3.4.2_A1_T1 2 2 3 FAIL SyntaxError: Unexpected token '('3 FAIL SyntaxError: Function statements must have a name. 4 4 5 5 TEST COMPLETE -
trunk/Source/JavaScriptCore/ChangeLog
r157987 r158014 1 2013-10-25 Oliver Hunt <oliver@apple.com> 2 3 Improve JSC Parser error messages 4 https://bugs.webkit.org/show_bug.cgi?id=123341 5 6 Reviewed by Andreas Kling. 7 8 This patch moves away from the current cludgy mechanisms used to produce 9 error messages and moves to something closer to case by case errors. 10 11 This results in a large change size as previously we may just have 12 'failIfFalse(foo)', but now the logic becomes either 13 'failIfFalseWithMessage(foo, "Cannot do blah with ", foo->thing())' 14 Or alternatively 15 16 if (!foo) 17 check for 'interesting' errors, before falling back to generic error 18 19 This means that this patch is large, but produces no semantic changes, and 20 only hits slow (e.g. error) paths. 21 22 * parser/Parser.cpp: 23 (JSC::::Parser): 24 (JSC::::parseSourceElements): 25 (JSC::::parseVarDeclaration): 26 (JSC::::parseConstDeclaration): 27 (JSC::::parseDoWhileStatement): 28 (JSC::::parseWhileStatement): 29 (JSC::::parseVarDeclarationList): 30 (JSC::::createBindingPattern): 31 (JSC::::parseDeconstructionPattern): 32 (JSC::::parseConstDeclarationList): 33 (JSC::::parseForStatement): 34 (JSC::::parseBreakStatement): 35 (JSC::::parseContinueStatement): 36 (JSC::::parseReturnStatement): 37 (JSC::::parseThrowStatement): 38 (JSC::::parseWithStatement): 39 (JSC::::parseSwitchStatement): 40 (JSC::::parseSwitchClauses): 41 (JSC::::parseSwitchDefaultClause): 42 (JSC::::parseTryStatement): 43 (JSC::::parseDebuggerStatement): 44 (JSC::::parseBlockStatement): 45 (JSC::::parseStatement): 46 (JSC::::parseFormalParameters): 47 (JSC::::parseFunctionBody): 48 (JSC::stringForFunctionMode): 49 (JSC::::parseFunctionInfo): 50 (JSC::::parseFunctionDeclaration): 51 (JSC::::parseExpressionOrLabelStatement): 52 (JSC::::parseExpressionStatement): 53 (JSC::::parseIfStatement): 54 (JSC::::parseExpression): 55 (JSC::::parseAssignmentExpression): 56 (JSC::::parseConditionalExpression): 57 (JSC::::parseBinaryExpression): 58 (JSC::::parseProperty): 59 (JSC::::parseObjectLiteral): 60 (JSC::::parseStrictObjectLiteral): 61 (JSC::::parseArrayLiteral): 62 (JSC::::parsePrimaryExpression): 63 (JSC::::parseArguments): 64 (JSC::::parseMemberExpression): 65 (JSC::operatorString): 66 (JSC::::parseUnaryExpression): 67 (JSC::::printUnexpectedTokenText): 68 * parser/Parser.h: 69 (JSC::Scope::hasDeclaredVariable): 70 (JSC::Scope::hasDeclaredParameter): 71 (JSC::Parser::hasDeclaredVariable): 72 (JSC::Parser::hasDeclaredParameter): 73 (JSC::Parser::setErrorMessage): 74 1 75 2013-10-24 Mark Rowe <mrowe@apple.com> 2 76 -
trunk/Source/JavaScriptCore/parser/Parser.cpp
r157724 r158014 37 37 #include <wtf/WTFThreadData.h> 38 38 39 #define fail() do { if (!hasError()) updateErrorMessage(); return 0; } while (0) 40 #define failWithToken(tok) do { if (!hasError()) updateErrorMessage(tok); return 0; } while (0) 41 #define failWithMessage(msg) do { if (!hasError()) updateErrorMessage(msg); return 0; } while (0) 42 #define failWithNameAndMessage(before, name, after) do { if (!hasError()) updateErrorWithNameAndMessage(before, name, after); return 0; } while (0) 43 #define failWithStackOverflow() do { updateErrorMessage("Stack exhausted"); m_hasStackOverflow = true; return 0; } while (0) 44 #define failIfFalse(cond) do { if (!(cond)) fail(); } while (0) 45 #define failIfFalseWithMessage(cond, msg) do { if (!(cond)) failWithMessage(msg); } while (0) 46 #define failIfFalseWithNameAndMessage(cond, before, name, msg) do { if (!(cond)) failWithNameAndMessage(before, name, msg); } while (0) 47 #define failIfTrue(cond) do { if ((cond)) fail(); } while (0) 48 #define failIfTrueWithMessage(cond, msg) do { if ((cond)) failWithMessage(msg); } while (0) 49 #define failIfTrueWithNameAndMessage(cond, before, name, msg) do { if ((cond)) failWithNameAndMessage(before, name, msg); } while (0) 50 #define failIfTrueIfStrict(cond) do { if ((cond) && strictMode()) fail(); } while (0) 51 #define failIfTrueIfStrictWithMessage(cond, msg) do { if ((cond) && strictMode()) failWithMessage(msg); } while (0) 52 #define failIfTrueIfStrictWithNameAndMessage(cond, before, name, after) do { if ((cond) && strictMode()) failWithNameAndMessage(before, name, after); } while (0) 53 #define failIfFalseIfStrict(cond) do { if ((!(cond)) && strictMode()) fail(); } while (0) 54 #define failIfFalseIfStrictWithMessage(cond, msg) do { if ((!(cond)) && strictMode()) failWithMessage(msg); } while (0) 55 #define failIfFalseIfStrictWithNameAndMessage(cond, before, name, after) do { if ((!(cond)) && strictMode()) failWithNameAndMessage(before, name, after); } while (0) 56 #define consumeOrFail(tokenType) do { if (!consume(tokenType)) failWithToken(tokenType); } while (0) 57 #define consumeOrFailWithFlags(tokenType, flags) do { if (!consume(tokenType, flags)) failWithToken(tokenType); } while (0) 58 #define matchOrFail(tokenType) do { if (!match(tokenType)) failWithToken(tokenType); } while (0) 39 #define updateErrorMessage(shouldPrintToken, ...) do {\ 40 ASSERT(!hasError());\ 41 StringPrintStream stream;\ 42 if (shouldPrintToken) {\ 43 printUnexpectedTokenText(stream); \ 44 stream.print(". "); \ 45 }\ 46 stream.print(__VA_ARGS__);\ 47 stream.print(".");\ 48 setErrorMessage(stream.toString());\ 49 } while (0) 50 51 #define propagateError() do { if (hasError()) return 0; } while (0) 52 #define internalFailWithMessage(shouldPrintToken, ...) do { if (!hasError()) updateErrorMessage(shouldPrintToken, __VA_ARGS__); return 0; } while (0) 53 #define handleErrorToken() do { if (m_token.m_type == EOFTOK || m_token.m_type & ErrorTokenFlag) { failDueToUnexpectedToken(); } } while (0) 54 #define failWithMessage(...) do { if (!hasError()) { handleErrorToken(); updateErrorMessage(true, __VA_ARGS__); } return 0; } while (0) 55 #define failWithStackOverflow() do { updateErrorMessage(false, "Stack exhausted"); m_hasStackOverflow = true; return 0; } while (0) 56 #define failIfFalse(cond, ...) do { if (!(cond)) { handleErrorToken(); internalFailWithMessage(true, __VA_ARGS__); } } while (0) 57 #define failIfTrue(cond, ...) do { if ((cond)) { handleErrorToken(); internalFailWithMessage(true, __VA_ARGS__); } } while (0) 58 #define failIfTrueIfStrict(cond, ...) do { if ((cond) && strictMode()) internalFailWithMessage(false, __VA_ARGS__); } while (0) 59 #define failIfFalseIfStrict(cond, ...) do { if ((!(cond)) && strictMode()) internalFailWithMessage(false, __VA_ARGS__); } while (0) 60 #define consumeOrFail(tokenType, ...) do { if (!consume(tokenType)) { handleErrorToken(); internalFailWithMessage(true, __VA_ARGS__); } } while (0) 61 #define consumeOrFailWithFlags(tokenType, flags, ...) do { if (!consume(tokenType, flags)) { handleErrorToken(); internalFailWithMessage(true, __VA_ARGS__); } } while (0) 62 #define matchOrFail(tokenType, ...) do { if (!match(tokenType)) { handleErrorToken(); internalFailWithMessage(true, __VA_ARGS__); } } while (0) 59 63 #define failIfStackOverflow() do { if (!canRecurse()) failWithStackOverflow(); } while (0) 64 #define semanticFail(...) do { internalFailWithMessage(false, __VA_ARGS__); } while (0) 65 #define semanticFailIfTrue(cond, ...) do { if ((cond)) internalFailWithMessage(false, __VA_ARGS__); } while (0) 66 #define semanticFailIfFalse(cond, ...) do { if (!(cond)) internalFailWithMessage(false, __VA_ARGS__); } while (0) 67 #define regexFail(failure) do { if (!hasError()) setErrorMessage(failure); return 0; } while (0) 68 #define failDueToUnexpectedToken() do {\ 69 if (!hasError()) {\ 70 StringPrintStream stream;\ 71 printUnexpectedTokenText(stream); \ 72 setErrorMessage(stream.toString());\ 73 }\ 74 return 0;\ 75 } while (0) 76 77 #define handleProductionOrFail(token, tokenString, operation, production) do {\ 78 consumeOrFail(token, "Expected '", tokenString, "' to ", operation, " a ", production);\ 79 } while (0) 80 81 #define semanticFailureDueToKeyword(forWhat...) do { \ 82 if (strictMode() && m_token.m_type == RESERVED_IF_STRICT) \ 83 semanticFail("Cannot use the reserved word '", getToken(), "' as a ", forWhat, " in strict mode"); \ 84 if (m_token.m_type == RESERVED || m_token.m_type == RESERVED_IF_STRICT) \ 85 semanticFail("Cannot use the reserved word '", getToken(), "' as a ", forWhat); \ 86 if (m_token.m_type & KeywordTokenFlag) \ 87 semanticFail("Cannot use the keyword '", getToken(), "' as a ", forWhat); \ 88 } while (0) 60 89 61 90 using namespace std; … … 76 105 , m_nonTrivialExpressionCount(0) 77 106 , m_lastIdentifier(0) 107 , m_lastFunctionName(nullptr) 78 108 , m_sourceElements(0) 79 109 { … … 181 211 setStrictMode(); 182 212 hasSetStrict = true; 183 failIfFalse(isValidStrictMode()); 213 if (!isValidStrictMode()) { 214 if (m_lastFunctionName) { 215 if (m_vm->propertyNames->arguments == *m_lastFunctionName) 216 semanticFail("Cannot name a function 'arguments' in strict mode"); 217 if (m_vm->propertyNames->eval == *m_lastFunctionName) 218 semanticFail("Cannot name a function 'eval' in strict mode"); 219 } 220 if (hasDeclaredVariable(m_vm->propertyNames->arguments)) 221 semanticFail("Cannot declare a variable named 'arguments' in strict mode"); 222 if (hasDeclaredVariable(m_vm->propertyNames->eval)) 223 semanticFail("Cannot declare a variable named 'eval' in strict mode"); 224 semanticFailIfFalse(isValidStrictMode(), "Invalid parameters or function name in strict mode"); 225 } 184 226 m_lexer->setOffset(startOffset, startLineStartOffset); 185 227 next(); 186 228 m_lexer->setLastLineNumber(oldLastLineNumber); 187 229 m_lexer->setLineNumber(oldLineNumber); 188 failIfTrue(hasError());230 propagateError(); 189 231 continue; 190 232 } … … 195 237 } 196 238 197 failIfTrue(hasError());239 propagateError(); 198 240 return sourceElements; 199 241 } … … 211 253 JSTextPosition scratch3; 212 254 TreeExpression varDecls = parseVarDeclarationList(context, scratch, scratch1, scratch2, scratch3, scratch3, scratch3); 213 failIfTrue(hasError());214 failIfFalse(autoSemiColon() );255 propagateError(); 256 failIfFalse(autoSemiColon(), "Expected ';' after var declaration"); 215 257 216 258 return context.createVarStatement(location, varDecls, start, end); … … 225 267 int end = 0; 226 268 TreeConstDeclList constDecls = parseConstDeclarationList(context); 227 failIfTrue(hasError());228 failIfFalse(autoSemiColon() );269 propagateError(); 270 failIfFalse(autoSemiColon(), "Expected ';' after const declaration"); 229 271 230 272 return context.createConstStatement(location, constDecls, start, end); … … 241 283 TreeStatement statement = parseStatement(context, unused); 242 284 endLoop(); 243 failIfFalse(statement );285 failIfFalse(statement, "Expected a statement following 'do'"); 244 286 int endLine = tokenLine(); 245 287 JSTokenLocation location(tokenLocation()); 246 consumeOrFail(WHILE); 247 consumeOrFail(OPENPAREN); 288 handleProductionOrFail(WHILE, "while", "end", "do-while loop"); 289 handleProductionOrFail(OPENPAREN, "(", "start", "do-while loop condition"); 290 semanticFailIfTrue(match(CLOSEPAREN), "Must provide an expression as a do-while loop condition"); 248 291 TreeExpression expr = parseExpression(context); 249 failIfFalse(expr );250 consumeOrFail(CLOSEPAREN);292 failIfFalse(expr, "Unable to parse do-while loop condition"); 293 handleProductionOrFail(CLOSEPAREN, ")", "end", "do-while loop condition"); 251 294 if (match(SEMICOLON)) 252 295 next(); // Always performs automatic semicolon insertion. … … 261 304 int startLine = tokenLine(); 262 305 next(); 263 consumeOrFail(OPENPAREN); 306 307 handleProductionOrFail(OPENPAREN, "(", "start", "while loop condition"); 308 semanticFailIfTrue(match(CLOSEPAREN), "Must provide an expression as a while loop condition"); 264 309 TreeExpression expr = parseExpression(context); 265 failIfFalse(expr );310 failIfFalse(expr, "Unable to parse while loop condition"); 266 311 int endLine = tokenLine(); 267 consumeOrFail(CLOSEPAREN); 312 handleProductionOrFail(CLOSEPAREN, ")", "end", "while loop condition"); 313 268 314 const Identifier* unused = 0; 269 315 startLoop(); 270 316 TreeStatement statement = parseStatement(context, unused); 271 317 endLoop(); 272 failIfFalse(statement );318 failIfFalse(statement, "Expected a statement as the body of a while loop"); 273 319 return context.createWhileStatement(location, expr, statement, startLine, endLine); 274 320 } … … 294 340 next(); 295 341 hasInitializer = match(EQUAL); 296 failIfFalseIfStrict WithNameAndMessage(declareVariable(name), "Cannot declare a variable named", name->impl(), "in strict mode.");342 failIfFalseIfStrict(declareVariable(name), "Cannot declare a variable named ", name->impl(), " in strict mode"); 297 343 context.addVar(name, (hasInitializer || (!m_allowsIn && (match(INTOKEN) || isofToken()))) ? DeclarationStacks::HasInitializer : 0); 298 344 if (hasInitializer) { … … 303 349 initEnd = lastTokenEndPosition(); 304 350 lastInitializer = initializer; 305 failIfFalse(initializer );351 failIfFalse(initializer, "Expected expression as the intializer for the variable '", name->impl(), "'"); 306 352 307 353 node = context.createAssignResolve(location, *name, initializer, varStart, varDivot, lastTokenEndPosition()); … … 310 356 lastIdent = 0; 311 357 auto pattern = parseDeconstructionPattern<DeconstructToVariables>(context); 312 failIfFalse(pattern );358 failIfFalse(pattern, "Cannot parse this deconstruction pattern"); 313 359 hasInitializer = match(EQUAL); 314 360 lastPattern = pattern; … … 341 387 if (depth) { 342 388 if (kind == DeconstructToVariables) 343 failIfFalseIfStrict WithNameAndMessage(declareVariable(&name), "Cannot deconstruct to a variable named", name.impl(), ".");389 failIfFalseIfStrict(declareVariable(&name), "Cannot deconstruct to a variable named '", name.impl(), "' in strict mode"); 344 390 if (kind == DeconstructToParameters) { 345 391 auto bindingResult = declareBoundParameter(&name); 346 failIfFalseIfStrictWithNameAndMessage(bindingResult != Scope::StrictBindingFailed, "Cannot deconstruct to a parameter named", name.impl(), "in strict mode."); 347 failIfFalseWithNameAndMessage(bindingResult != Scope::BindingFailed, "Cannot deconstruct to a parameter named", name.impl(), "."); 392 if (bindingResult == Scope::StrictBindingFailed && strictMode()) { 393 semanticFailIfTrue(m_vm->propertyNames->arguments == name || m_vm->propertyNames->eval == name, "Cannot deconstruct to a parameter name '", name.impl(), "' in strict mode"); 394 if (m_lastFunctionName && name == *m_lastFunctionName) 395 semanticFail("Cannot deconstruct to '", name.impl(), "' as it shadows the name of a strict mode function"); 396 semanticFailureDueToKeyword("bound parameter name"); 397 if (hasDeclaredParameter(name)) 398 semanticFail("Cannot deconstruct to '", name.impl(), "' as it has already been declared"); 399 semanticFail("Cannot bind to a parameter named '", name.impl(), "' in strict mode"); 400 } 401 if (bindingResult == Scope::BindingFailed) { 402 semanticFailureDueToKeyword("bound parameter name"); 403 if (hasDeclaredParameter(name)) 404 semanticFail("Cannot deconstruct to '", name.impl(), "' as it has already been declared"); 405 semanticFail("Cannot deconstruct to a parameter named '", name.impl(), "'"); 406 } 348 407 } 349 408 context.addVar(&name, kind == DeconstructToParameters ? 0 : DeclarationStacks::HasInitializer); 350 409 } else { 351 410 if (kind == DeconstructToVariables) { 352 failIfFalseIfStrict WithNameAndMessage(declareVariable(&name), "Cannot declare a variable named", name.impl(), "in strict mode.");411 failIfFalseIfStrict(declareVariable(&name), "Cannot declare a variable named '", name.impl(), "' in strict mode"); 353 412 context.addVar(&name, DeclarationStacks::HasInitializer); 354 413 } 355 414 356 if (kind == DeconstructToParameters) 357 failIfFalseIfStrictWithNameAndMessage(declareParameter(&name), "Cannot declare a parameter named", name.impl(), "in strict mode."); 415 if (kind == DeconstructToParameters) { 416 bool declarationResult = declareParameter(&name); 417 if (!declarationResult && strictMode()) { 418 semanticFailIfTrue(m_vm->propertyNames->arguments == name || m_vm->propertyNames->eval == name, "Cannot deconstruct to a parameter name '", name.impl(), "' in strict mode"); 419 if (m_lastFunctionName && name == *m_lastFunctionName) 420 semanticFail("Cannot declare a parameter named '", name.impl(), "' as it shadows the name of a strict mode function"); 421 semanticFailureDueToKeyword("parameter name"); 422 if (hasDeclaredParameter(name)) 423 semanticFail("Cannot declare a parameter named '", name.impl(), "' in strict mode as it has already been declared"); 424 semanticFail("Cannot declare a parameter named '", name.impl(), "' in strict mode"); 425 } 426 } 358 427 } 359 428 return context.createBindingLocation(m_token.m_location, name, m_token.m_endPosition, m_token.m_startPosition, m_token.m_endPosition); … … 370 439 auto arrayPattern = context.createArrayPattern(m_token.m_location); 371 440 next(); 441 failIfTrue(match(CLOSEBRACKET), "There must be at least one bound property in an array deconstruction pattern"); 372 442 do { 373 443 while (match(COMMA)) { … … 375 445 next(); 376 446 } 377 failIfTrue(hasError());447 propagateError(); 378 448 JSTokenLocation location = m_token.m_location; 379 449 auto innerPattern = parseDeconstructionPattern<kind>(context, depth + 1); 380 failIfFalse(innerPattern );450 failIfFalse(innerPattern, "Cannot parse this deconstruction pattern"); 381 451 context.appendArrayPatternEntry(arrayPattern, location, innerPattern); 382 452 } while (consume(COMMA)); 383 consumeOrFail(CLOSEBRACKET );453 consumeOrFail(CLOSEBRACKET, "Expected either a closing ']' or a ',' following an element deconstruction pattern"); 384 454 pattern = arrayPattern; 385 455 break; … … 387 457 case OPENBRACE: { 388 458 next(); 459 failIfTrue(match(CLOSEBRACE), "There must be at least one bound property in an object deconstruction pattern"); 389 460 auto objectPattern = context.createObjectPattern(m_token.m_location); 390 461 bool wasString = false; … … 401 472 innerPattern = createBindingPattern<kind>(context, propertyName, depth); 402 473 } else { 474 JSTokenType tokenType = m_token.m_type; 403 475 switch (m_token.m_type) { 404 476 case NUMBER: … … 410 482 break; 411 483 default: 412 failIfTrue(!(m_token.m_type & KeywordTokenFlag)); 484 if (m_token.m_type != RESERVED && m_token.m_type != RESERVED_IF_STRICT && !(m_token.m_type & KeywordTokenFlag)) 485 failWithMessage("Expected a property name"); 413 486 propertyName = *m_token.m_data.ident; 414 487 break; 415 488 } 416 489 next(); 417 consumeOrFail(COLON); 490 if (!consume(COLON)) { 491 semanticFailIfTrue(tokenType == RESERVED, "Cannot use abbreviated deconstruction syntax for reserved name '", propertyName.impl(), "'"); 492 semanticFailIfTrue(tokenType == RESERVED_IF_STRICT, "Cannot use abbreviated deconstruction syntax for reserved name '", propertyName.impl(), "' in strict mode"); 493 semanticFailIfTrue(tokenType & KeywordTokenFlag, "Cannot use abbreviated deconstruction syntax for keyword '", propertyName.impl(), "'"); 494 495 failWithMessage("Expected a ':' prior to named property deconstruction"); 496 } 418 497 innerPattern = parseDeconstructionPattern<kind>(context, depth + 1); 419 498 } 420 failIfFalse(innerPattern );499 failIfFalse(innerPattern, "Cannot parse this deconstruction pattern"); 421 500 context.appendObjectPatternEntry(objectPattern, location, wasString, propertyName, innerPattern); 422 501 } while (consume(COMMA)); 423 consumeOrFail(CLOSEBRACE );502 consumeOrFail(CLOSEBRACE, "Expected either a closing '}' or an ',' after a property deconstruction pattern"); 424 503 pattern = objectPattern; 425 504 break; … … 427 506 428 507 default: { 429 matchOrFail(IDENT); 508 if (!match(IDENT)) { 509 semanticFailureDueToKeyword("variable name"); 510 failWithMessage("Expected a parameter pattern or a ')' in parameter list"); 511 } 430 512 pattern = createBindingPattern<kind>(context, *m_token.m_data.ident, depth); 431 513 next(); … … 440 522 template <class TreeBuilder> TreeConstDeclList Parser<LexerType>::parseConstDeclarationList(TreeBuilder& context) 441 523 { 442 failIfTrue(strictMode() );524 failIfTrue(strictMode(), "Const declarations are not supported in strict mode"); 443 525 TreeConstDeclList constDecls = 0; 444 526 TreeConstDeclList tail = 0; … … 446 528 JSTokenLocation location(tokenLocation()); 447 529 next(); 448 matchOrFail(IDENT );530 matchOrFail(IDENT, "Expected an identifier name in const declaration"); 449 531 const Identifier* name = m_token.m_data.ident; 450 532 next(); … … 472 554 int startLine = tokenLine(); 473 555 next(); 474 consumeOrFail(OPENPAREN);556 handleProductionOrFail(OPENPAREN, "(", "start", "for-loop header"); 475 557 int nonLHSCount = m_nonLHSCount; 476 558 int declarations = 0; … … 490 572 decls = parseVarDeclarationList(context, declarations, forInTarget, forInInitializer, declsStart, initStart, initEnd); 491 573 m_allowsIn = true; 492 failIfTrue(hasError());574 propagateError(); 493 575 494 576 // Remainder of a standard for loop is handled identically … … 496 578 goto standardForLoop; 497 579 498 failIfFalse(declarations == 1 );499 failIfTrue WithMessage(forInInitializer, "Cannot use initialiser syntax in a for-in loop");580 failIfFalse(declarations == 1, "must declare variables after 'var'"); 581 failIfTrue(forInInitializer, "Cannot use initialiser syntax in a for-in loop"); 500 582 501 583 // Handle for-in with var declaration … … 503 585 bool isOfEnumeration = false; 504 586 if (!consume(INTOKEN)) { 505 failIfFalse WithMessage(match(IDENT) && *m_token.m_data.ident == m_vm->propertyNames->of, "Expected either 'in' or 'of' in enumeration syntax");587 failIfFalse(match(IDENT) && *m_token.m_data.ident == m_vm->propertyNames->of, "Expected either 'in' or 'of' in enumeration syntax"); 506 588 isOfEnumeration = true; 507 589 next(); … … 509 591 510 592 TreeExpression expr = parseExpression(context); 511 failIfFalse(expr );593 failIfFalse(expr, "Expected expression to enumerate"); 512 594 JSTextPosition exprEnd = lastTokenEndPosition(); 513 595 514 596 int endLine = tokenLine(); 515 consumeOrFail(CLOSEPAREN); 597 598 handleProductionOrFail(CLOSEPAREN, ")", "end", (isOfEnumeration ? "for-of header" : "for-in header")); 516 599 517 600 const Identifier* unused = 0; … … 519 602 TreeStatement statement = parseStatement(context, unused); 520 603 endLoop(); 521 failIfFalse(statement );604 failIfFalse(statement, "Expected statement as body of for-", isOfEnumeration ? "of" : "in", " statement"); 522 605 if (isOfEnumeration) 523 606 return context.createForOfLoop(location, forInTarget, expr, statement, declsStart, inLocation, exprEnd, startLine, endLine); … … 531 614 declsEnd = lastTokenEndPosition(); 532 615 m_allowsIn = true; 533 failIfFalse(decls );616 failIfFalse(decls, "Cannot parse for loop declarations"); 534 617 } 535 618 … … 542 625 if (!match(SEMICOLON)) { 543 626 condition = parseExpression(context); 544 failIfFalse(condition );545 } 546 consumeOrFail(SEMICOLON );627 failIfFalse(condition, "Cannot parse for loop condition expression"); 628 } 629 consumeOrFail(SEMICOLON, "Expected a ';' after the for loop condition expression"); 547 630 548 631 TreeExpression increment = 0; 549 632 if (!match(CLOSEPAREN)) { 550 633 increment = parseExpression(context); 551 failIfFalse(increment );634 failIfFalse(increment, "Cannot parse for loop iteration expression"); 552 635 } 553 636 int endLine = tokenLine(); 554 consumeOrFail(CLOSEPAREN);637 handleProductionOrFail(CLOSEPAREN, ")", "end", "for-loop header"); 555 638 const Identifier* unused = 0; 556 639 startLoop(); 557 640 TreeStatement statement = parseStatement(context, unused); 558 641 endLoop(); 559 failIfFalse(statement );642 failIfFalse(statement, "Expected a statement as the body of a for loop"); 560 643 return context.createForLoop(location, decls, condition, increment, statement, startLine, endLine); 561 644 } 562 645 563 646 // For-in loop 564 failIfFalse(nonLHSCount == m_nonLHSCount );647 failIfFalse(nonLHSCount == m_nonLHSCount, "Expected a reference on the left hand side of an enumeration statement"); 565 648 bool isOfEnumeration = false; 566 649 if (!consume(INTOKEN)) { 567 failIfFalse WithMessage(match(IDENT) && *m_token.m_data.ident == m_vm->propertyNames->of, "Expected either 'in' or 'of' in enumeration syntax");650 failIfFalse(match(IDENT) && *m_token.m_data.ident == m_vm->propertyNames->of, "Expected either 'in' or 'of' in enumeration syntax"); 568 651 isOfEnumeration = true; 569 652 next(); 570 653 } 571 654 TreeExpression expr = parseExpression(context); 572 failIfFalse(expr );655 failIfFalse(expr, "Cannot parse subject for-", isOfEnumeration ? "of" : "in", " statement"); 573 656 JSTextPosition exprEnd = lastTokenEndPosition(); 574 657 int endLine = tokenLine(); 575 consumeOrFail(CLOSEPAREN); 658 659 handleProductionOrFail(CLOSEPAREN, ")", "end", (isOfEnumeration ? "for-of header" : "for-in header")); 576 660 const Identifier* unused = 0; 577 661 startLoop(); 578 662 TreeStatement statement = parseStatement(context, unused); 579 663 endLoop(); 580 failIfFalse(statement );664 failIfFalse(statement, "Expected a statement as the body of a for-", isOfEnumeration ? "of" : "in", "loop"); 581 665 if (isOfEnumeration) 582 666 return context.createForOfLoop(location, decls, expr, statement, declsStart, declsEnd, exprEnd, startLine, endLine); … … 594 678 595 679 if (autoSemiColon()) { 596 failIfFalseWithMessage(breakIsValid(), "'break' is only valid inside a switch or loop statement");680 semanticFailIfFalse(breakIsValid(), "'break' is only valid inside a switch or loop statement"); 597 681 return context.createBreakStatement(location, start, end); 598 682 } 599 matchOrFail(IDENT );683 matchOrFail(IDENT, "Expected an identifier as the target for a break statement"); 600 684 const Identifier* ident = m_token.m_data.ident; 601 failIfFalseWithNameAndMessage(getLabel(ident), "Label", ident->impl(), "is not defined");685 semanticFailIfFalse(getLabel(ident), "Cannot use the undeclared label '", ident->impl(), "'"); 602 686 end = tokenEndPosition(); 603 687 next(); 604 failIfFalse(autoSemiColon() );688 failIfFalse(autoSemiColon(), "Expected a ';' following a targeted break statement"); 605 689 return context.createBreakStatement(location, ident, start, end); 606 690 } … … 616 700 617 701 if (autoSemiColon()) { 618 failIfFalseWithMessage(continueIsValid(), "'continue' is only valid inside a loop statement");702 semanticFailIfFalse(continueIsValid(), "'continue' is only valid inside a loop statement"); 619 703 return context.createContinueStatement(location, start, end); 620 704 } 621 matchOrFail(IDENT );705 matchOrFail(IDENT, "Expected an identifier as the target for a continue statement"); 622 706 const Identifier* ident = m_token.m_data.ident; 623 707 ScopeLabelInfo* label = getLabel(ident); 624 failIfFalseWithNameAndMessage(label, "Label", ident->impl(), "is not defined");625 failIfFalseWithMessage(label->m_isLoop, "'continue' is only valid inside a loop statement");708 semanticFailIfFalse(label, "Cannot use the undeclared label '", ident->impl(), "'"); 709 semanticFailIfFalse(label->m_isLoop, "Cannot continue to the label '", ident->impl(), "' as it is not targeting a loop"); 626 710 end = tokenEndPosition(); 627 711 next(); 628 failIfFalse(autoSemiColon() );712 failIfFalse(autoSemiColon(), "Expected a ';' following a targeted continue statement"); 629 713 return context.createContinueStatement(location, ident, start, end); 630 714 } … … 635 719 ASSERT(match(RETURN)); 636 720 JSTokenLocation location(tokenLocation()); 637 failIfFalse(currentScope()->isFunction());721 semanticFailIfFalse(currentScope()->isFunction(), "Return statements are only valid inside functions"); 638 722 JSTextPosition start = tokenStartPosition(); 639 723 JSTextPosition end = tokenEndPosition(); 640 724 next(); 641 // We do the auto semicolon check before attempting to parse anexpression725 // We do the auto semicolon check before attempting to parse expression 642 726 // as we need to ensure the a line break after the return correctly terminates 643 727 // the statement … … 648 732 return context.createReturnStatement(location, 0, start, end); 649 733 TreeExpression expr = parseExpression(context); 650 failIfFalse(expr );734 failIfFalse(expr, "Cannot parse the return expression"); 651 735 end = lastTokenEndPosition(); 652 736 if (match(SEMICOLON)) 653 737 end = tokenEndPosition(); 654 failIfFalse(autoSemiColon()); 738 if (!autoSemiColon()) 739 failWithMessage("Expected a ';' following a return statement"); 655 740 return context.createReturnStatement(location, expr, start, end); 656 741 } … … 663 748 JSTextPosition start = tokenStartPosition(); 664 749 next(); 665 666 failIfTrue(autoSemiColon());750 failIfTrue(match(SEMICOLON), "Expected expression after 'throw'"); 751 semanticFailIfTrue(autoSemiColon(), "Cannot have a newline after 'throw'"); 667 752 668 753 TreeExpression expr = parseExpression(context); 669 failIfFalse(expr );754 failIfFalse(expr, "Cannot parse expression for throw statement"); 670 755 JSTextPosition end = lastTokenEndPosition(); 671 failIfFalse(autoSemiColon() );756 failIfFalse(autoSemiColon(), "Expected a ';' after a throw statement"); 672 757 673 758 return context.createThrowStatement(location, expr, start, end); … … 679 764 ASSERT(match(WITH)); 680 765 JSTokenLocation location(tokenLocation()); 681 failIfTrueWithMessage(strictMode(), "'with' statements are not valid in strict mode");766 semanticFailIfTrue(strictMode(), "'with' statements are not valid in strict mode"); 682 767 currentScope()->setNeedsFullActivation(); 683 768 int startLine = tokenLine(); 684 769 next(); 685 consumeOrFail(OPENPAREN); 770 771 handleProductionOrFail(OPENPAREN, "(", "start", "subject of a 'with' statement"); 686 772 int start = tokenStart(); 687 773 TreeExpression expr = parseExpression(context); 688 failIfFalse(expr );774 failIfFalse(expr, "Cannot parse 'with' subject expression"); 689 775 JSTextPosition end = lastTokenEndPosition(); 690 776 int endLine = tokenLine(); 691 consumeOrFail(CLOSEPAREN);777 handleProductionOrFail(CLOSEPAREN, ")", "start", "subject of a 'with' statement"); 692 778 const Identifier* unused = 0; 693 779 TreeStatement statement = parseStatement(context, unused); 694 failIfFalse(statement );780 failIfFalse(statement, "A 'with' statement must have a body"); 695 781 696 782 return context.createWithStatement(location, expr, statement, start, end, startLine, endLine); … … 704 790 int startLine = tokenLine(); 705 791 next(); 706 consumeOrFail(OPENPAREN);792 handleProductionOrFail(OPENPAREN, "(", "start", "subject of a 'switch'"); 707 793 TreeExpression expr = parseExpression(context); 708 failIfFalse(expr );794 failIfFalse(expr, "Cannot parse switch subject expression"); 709 795 int endLine = tokenLine(); 710 consumeOrFail(CLOSEPAREN); 711 consumeOrFail(OPENBRACE); 796 797 handleProductionOrFail(CLOSEPAREN, ")", "end", "subject of a 'switch'"); 798 handleProductionOrFail(OPENBRACE, "{", "start", "body of a 'switch'"); 712 799 startSwitch(); 713 800 TreeClauseList firstClauses = parseSwitchClauses(context); 714 failIfTrue(hasError());801 propagateError(); 715 802 716 803 TreeClause defaultClause = parseSwitchDefaultClause(context); 717 failIfTrue(hasError());804 propagateError(); 718 805 719 806 TreeClauseList secondClauses = parseSwitchClauses(context); 720 failIfTrue(hasError());807 propagateError(); 721 808 endSwitch(); 722 consumeOrFail(CLOSEBRACE);809 handleProductionOrFail(CLOSEBRACE, "}", "end", "body of a 'switch'"); 723 810 724 811 return context.createSwitchStatement(location, expr, firstClauses, defaultClause, secondClauses, startLine, endLine); … … 733 820 next(); 734 821 TreeExpression condition = parseExpression(context); 735 failIfFalse(condition );736 consumeOrFail(COLON );822 failIfFalse(condition, "Cannot parse switch clause"); 823 consumeOrFail(COLON, "Expected a ':' after switch clause expression"); 737 824 TreeSourceElements statements = parseSourceElements<DontCheckForStrictMode>(context); 738 failIfFalse(statements );825 failIfFalse(statements, "Cannot parse the body of a switch clause"); 739 826 TreeClause clause = context.createClause(condition, statements); 740 827 TreeClauseList clauseList = context.createClauseList(clause); … … 744 831 next(); 745 832 TreeExpression condition = parseExpression(context); 746 failIfFalse(condition );747 consumeOrFail(COLON );833 failIfFalse(condition, "Cannot parse switch case expression"); 834 consumeOrFail(COLON, "Expected a ':' after switch clause expression"); 748 835 TreeSourceElements statements = parseSourceElements<DontCheckForStrictMode>(context); 749 failIfFalse(statements );836 failIfFalse(statements, "Cannot parse the body of a switch clause"); 750 837 clause = context.createClause(condition, statements); 751 838 tail = context.createClauseList(tail, clause); … … 760 847 return 0; 761 848 next(); 762 consumeOrFail(COLON );849 consumeOrFail(COLON, "Expected a ':' after switch default clause"); 763 850 TreeSourceElements statements = parseSourceElements<DontCheckForStrictMode>(context); 764 failIfFalse(statements );851 failIfFalse(statements, "Cannot parse the body of a switch default clause"); 765 852 return context.createClause(0, statements); 766 853 } … … 777 864 int firstLine = tokenLine(); 778 865 next(); 779 matchOrFail(OPENBRACE );866 matchOrFail(OPENBRACE, "Expected a block statement as body of a try statement"); 780 867 781 868 tryBlock = parseBlockStatement(context); 782 failIfFalse(tryBlock );869 failIfFalse(tryBlock, "Cannot parse the body of try block"); 783 870 int lastLine = m_lastTokenEndPosition.line; 784 871 … … 786 873 currentScope()->setNeedsFullActivation(); 787 874 next(); 788 consumeOrFail(OPENPAREN); 789 matchOrFail(IDENT); 875 876 handleProductionOrFail(OPENPAREN, "(", "start", "'catch' target"); 877 if (!match(IDENT)) { 878 semanticFailureDueToKeyword("catch variable name"); 879 failWithMessage("Expected identifier name as catch target"); 880 } 790 881 ident = m_token.m_data.ident; 791 882 next(); 792 883 AutoPopScopeRef catchScope(this, pushScope()); 793 failIfFalseIfStrict WithNameAndMessage(declareVariable(ident), "Cannot declare a variable named", ident->impl(), "in strict mode");884 failIfFalseIfStrict(declareVariable(ident), "Cannot declare a catch variable named '", ident->impl(), "' in strict mode"); 794 885 catchScope->preventNewDecls(); 795 consumeOrFail(CLOSEPAREN);796 matchOrFail(OPENBRACE );886 handleProductionOrFail(CLOSEPAREN, ")", "end", "'catch' target"); 887 matchOrFail(OPENBRACE, "Expected exception handler to be a block statement"); 797 888 catchBlock = parseBlockStatement(context); 798 failIfFalse WithMessage(catchBlock, "'try' must have a catch or finallyblock");799 failIfFalse(popScope(catchScope, TreeBuilder::NeedsFreeVariableInfo) );889 failIfFalse(catchBlock, "Unable to parse 'catch' block"); 890 failIfFalse(popScope(catchScope, TreeBuilder::NeedsFreeVariableInfo), "Parse error"); 800 891 } 801 892 802 893 if (match(FINALLY)) { 803 894 next(); 804 matchOrFail(OPENBRACE );895 matchOrFail(OPENBRACE, "Expected block statement for finally body"); 805 896 finallyBlock = parseBlockStatement(context); 806 failIfFalse(finallyBlock );807 } 808 failIfFalse(catchBlock || finallyBlock );897 failIfFalse(finallyBlock, "Cannot parse finally body"); 898 } 899 failIfFalse(catchBlock || finallyBlock, "Try statements must have at least a catch or finally block"); 809 900 return context.createTryStatement(location, tryBlock, ident, catchBlock, finallyBlock, firstLine, lastLine); 810 901 } … … 820 911 if (match(SEMICOLON)) 821 912 startLine = tokenLine(); 822 failIfFalse(autoSemiColon() );913 failIfFalse(autoSemiColon(), "Debugger keyword must be followed by a ';'"); 823 914 return context.createDebugger(location, startLine, endLine); 824 915 } … … 836 927 } 837 928 TreeSourceElements subtree = parseSourceElements<DontCheckForStrictMode>(context); 838 failIfFalse(subtree );839 matchOrFail(CLOSEBRACE );929 failIfFalse(subtree, "Cannot parse the body of the block statement"); 930 matchOrFail(CLOSEBRACE, "Expected a closing '}' at the end of a block statement"); 840 931 next(); 841 932 return context.createBlockStatement(location, subtree, start, m_lastTokenEndPosition.line); … … 858 949 return parseConstDeclaration(context); 859 950 case FUNCTION: 860 failIfFalseIfStrict WithMessage(m_statementDepth == 1, "Functions cannot be declared in a nested blockin strict mode");951 failIfFalseIfStrict(m_statementDepth == 1, "Nested functions cannot be declared in strict mode"); 861 952 return parseFunctionDeclaration(context); 862 953 case SEMICOLON: { … … 914 1005 { 915 1006 auto parameter = parseDeconstructionPattern<DeconstructToParameters>(context); 916 failIfFalse(parameter );1007 failIfFalse(parameter, "Cannot parse parameter pattern"); 917 1008 TreeFormalParameterList list = context.createFormalParameterList(parameter); 918 1009 TreeFormalParameterList tail = list; 919 1010 while (consume(COMMA)) { 920 1011 parameter = parseDeconstructionPattern<DeconstructToParameters>(context); 921 failIfFalse(parameter );1012 failIfFalse(parameter, "Cannot parse parameter pattern"); 922 1013 tail = context.createFormalParameterList(tail, parameter); 923 1014 } … … 937 1028 m_statementDepth = 0; 938 1029 typename TreeBuilder::FunctionBodyBuilder bodyBuilder(const_cast<VM*>(m_vm), m_lexer.get()); 939 failIfFalse(parseSourceElements<CheckForStrictMode>(bodyBuilder) );1030 failIfFalse(parseSourceElements<CheckForStrictMode>(bodyBuilder), "Cannot parse body of this function"); 940 1031 return context.createFunctionBody(startLocation, tokenLocation(), startColumn, strictMode()); 941 1032 } 942 1033 943 template <typename LexerType> 944 template <FunctionRequirements requirements, bool nameIsInContainingScope, class TreeBuilder> bool Parser<LexerType>::parseFunctionInfo(TreeBuilder& context, const Identifier*& name, TreeFormalParameterList& parameters, TreeFunctionBody& body, unsigned& openBraceOffset, unsigned& closeBraceOffset, int& bodyStartLine, unsigned& bodyStartColumn) 1034 static const char* stringForFunctionMode(FunctionParseMode mode) 1035 { 1036 switch (mode) { 1037 case GetterMode: 1038 return "getter"; 1039 case SetterMode: 1040 return "setter"; 1041 case FunctionMode: 1042 return "function"; 1043 } 1044 RELEASE_ASSERT_NOT_REACHED(); 1045 return nullptr; 1046 } 1047 1048 template <typename LexerType> 1049 template <FunctionRequirements requirements, FunctionParseMode mode, bool nameIsInContainingScope, class TreeBuilder> bool Parser<LexerType>::parseFunctionInfo(TreeBuilder& context, const Identifier*& name, TreeFormalParameterList& parameters, TreeFunctionBody& body, unsigned& openBraceOffset, unsigned& closeBraceOffset, int& bodyStartLine, unsigned& bodyStartColumn) 945 1050 { 946 1051 AutoPopScopeRef functionScope(this, pushScope()); 947 1052 functionScope->setIsFunction(); 948 1053 int functionStart = m_token.m_location.startOffset; 1054 const Identifier* lastFunctionName = m_lastFunctionName; 1055 m_lastFunctionName = nullptr; 949 1056 if (match(IDENT)) { 950 1057 name = m_token.m_data.ident; 1058 m_lastFunctionName = name; 951 1059 next(); 952 1060 if (!nameIsInContainingScope) 953 failIfFalseIfStrict(functionScope->declareVariable(name)); 954 } else if (requirements == FunctionNeedsName) 1061 failIfFalseIfStrict(functionScope->declareVariable(name), "'", name->impl(), "' is not a valid ", stringForFunctionMode(mode), " name in strict mode"); 1062 } else if (requirements == FunctionNeedsName) { 1063 if (match(OPENPAREN) && mode == FunctionMode) 1064 semanticFail("Function statements must have a name"); 1065 semanticFailureDueToKeyword(stringForFunctionMode(mode), " name"); 1066 failDueToUnexpectedToken(); 955 1067 return false; 956 consumeOrFail(OPENPAREN); 1068 } 1069 if (!consume(OPENPAREN)) { 1070 semanticFailureDueToKeyword(stringForFunctionMode(mode), " name"); 1071 failWithMessage("Expected an opening '(' before a ", stringForFunctionMode(mode), "'s parameter list"); 1072 } 957 1073 if (!match(CLOSEPAREN)) { 958 1074 parameters = parseFormalParameters(context); 959 failIfFalse(parameters );960 } 961 consumeOrFail(CLOSEPAREN );962 matchOrFail(OPENBRACE );1075 failIfFalse(parameters, "Cannot parse parameters for this ", stringForFunctionMode(mode)); 1076 } 1077 consumeOrFail(CLOSEPAREN, "Expected a ')' or a ',' after a parameter declaration"); 1078 matchOrFail(OPENBRACE, "Expected an opening '{' at the start of a ", stringForFunctionMode(mode), " body"); 963 1079 964 1080 openBraceOffset = m_token.m_data.offset; … … 981 1097 982 1098 functionScope->restoreFromSourceProviderCache(cachedInfo); 983 failIfFalse(popScope(functionScope, TreeBuilder::NeedsFreeVariableInfo) );1099 failIfFalse(popScope(functionScope, TreeBuilder::NeedsFreeVariableInfo), "Parser error"); 984 1100 985 1101 closeBraceOffset = cachedInfo->closeBraceOffset; … … 994 1110 return true; 995 1111 } 996 1112 m_lastFunctionName = lastFunctionName; 997 1113 body = parseFunctionBody(context); 998 failIfFalse(body );1114 failIfFalse(body, "Cannot parse the body of this ", stringForFunctionMode(mode)); 999 1115 if (functionScope->strictMode() && name) { 1000 failIfTrueWithNameAndMessage(m_vm->propertyNames->arguments == *name, "Function name", name->impl(), "is not valid in strict mode"); 1001 failIfTrueWithNameAndMessage(m_vm->propertyNames->eval == *name, "Function name", name->impl(), "is not valid in strict mode"); 1116 RELEASE_ASSERT(mode == FunctionMode); 1117 semanticFailIfTrue(m_vm->propertyNames->arguments == *name, "'", name->impl(), "' is not a valid function name in strict mode"); 1118 semanticFailIfTrue(m_vm->propertyNames->eval == *name, "'", name->impl(), "' is not a valid function name in strict mode"); 1002 1119 } 1003 1120 closeBraceOffset = m_token.m_data.offset; … … 1022 1139 context.setFunctionStart(body, functionStart); 1023 1140 1024 failIfFalse(popScope(functionScope, TreeBuilder::NeedsFreeVariableInfo) );1025 matchOrFail(CLOSEBRACE );1141 failIfFalse(popScope(functionScope, TreeBuilder::NeedsFreeVariableInfo), "Parser error"); 1142 matchOrFail(CLOSEBRACE, "Expected a closing '}' after a ", stringForFunctionMode(mode), " body"); 1026 1143 1027 1144 if (newInfo) … … 1045 1162 int bodyStartLine = 0; 1046 1163 unsigned bodyStartColumn = 0; 1047 failIfFalse((parseFunctionInfo<FunctionNeedsName, true>(context, name, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)));1048 failIfFalse(name );1049 failIfFalseIfStrict(declareVariable(name) );1164 failIfFalse((parseFunctionInfo<FunctionNeedsName, FunctionMode, true>(context, name, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)), "Cannot parse this function"); 1165 failIfFalse(name, "Function statements must have a name"); 1166 failIfFalseIfStrict(declareVariable(name), "Cannot declare a function named '", name->impl(), "' in strict mode"); 1050 1167 return context.createFuncDeclStatement(location, name, body, parameters, openBraceOffset, closeBraceOffset, bodyStartLine, m_lastTokenEndPosition.line, bodyStartColumn); 1051 1168 } … … 1081 1198 // ignore any labels we might have accumulated. 1082 1199 TreeExpression expression = parseExpression(context); 1083 failIfFalse(expression); 1084 failIfFalse(autoSemiColon()); 1200 failIfFalse(expression, "Cannot parse expression statement"); 1201 if (!autoSemiColon()) 1202 failDueToUnexpectedToken(); 1085 1203 return context.createExprStatement(location, expression, start, m_lastTokenEndPosition.line); 1086 1204 } … … 1088 1206 JSTextPosition end = tokenEndPosition(); 1089 1207 next(); 1090 consumeOrFail(COLON );1208 consumeOrFail(COLON, "Labels must be followed by a ':'"); 1091 1209 if (!m_syntaxAlreadyValidated) { 1092 1210 // This is O(N^2) over the current list of consecutive labels, but I 1093 1211 // have never seen more than one label in a row in the real world. 1094 1212 for (size_t i = 0; i < labels.size(); i++) 1095 failIfTrue(ident->impl() == labels[i].m_ident->impl() );1096 failIfTrue(getLabel(ident) );1213 failIfTrue(ident->impl() == labels[i].m_ident->impl(), "Attempted to redeclare the label '", ident->impl(), "'"); 1214 failIfTrue(getLabel(ident), "Cannot find scope for the label '", ident->impl(), "'"); 1097 1215 labels.append(LabelInfo(ident, start, end)); 1098 1216 } … … 1119 1237 popLabel(); 1120 1238 } 1121 failIfFalse(statement );1239 failIfFalse(statement, "Cannot parse statement"); 1122 1240 for (size_t i = 0; i < labels.size(); i++) { 1123 1241 const LabelInfo& info = labels[labels.size() - i - 1]; … … 1133 1251 JSTokenLocation location(tokenLocation()); 1134 1252 TreeExpression expression = parseExpression(context); 1135 failIfFalse(expression );1136 failIfFalse(autoSemiColon() );1253 failIfFalse(expression, "Cannot parse expression statement"); 1254 failIfFalse(autoSemiColon(), "Parse error"); 1137 1255 return context.createExprStatement(location, expression, start, m_lastTokenEndPosition.line); 1138 1256 } … … 1145 1263 int start = tokenLine(); 1146 1264 next(); 1147 1148 consumeOrFail(OPENPAREN); 1265 handleProductionOrFail(OPENPAREN, "(", "start", "'if' condition"); 1149 1266 1150 1267 TreeExpression condition = parseExpression(context); 1151 failIfFalse(condition );1268 failIfFalse(condition, "Expected a expression as the condition for an if statement"); 1152 1269 int end = tokenLine(); 1153 consumeOrFail(CLOSEPAREN);1270 handleProductionOrFail(CLOSEPAREN, ")", "end", "'if' condition"); 1154 1271 1155 1272 const Identifier* unused = 0; 1156 1273 TreeStatement trueBlock = parseStatement(context, unused); 1157 failIfFalse(trueBlock );1274 failIfFalse(trueBlock, "Expected a statement as the body of an if block"); 1158 1275 1159 1276 if (!match(ELSE)) … … 1171 1288 const Identifier* unused = 0; 1172 1289 TreeStatement block = parseStatement(context, unused); 1173 failIfFalse(block );1290 failIfFalse(block, "Expected a statement as the body of an else block"); 1174 1291 statementStack.append(block); 1175 1292 trailingElse = true; … … 1178 1295 int innerStart = tokenLine(); 1179 1296 next(); 1180 1181 consumeOrFail(OPENPAREN);1297 1298 handleProductionOrFail(OPENPAREN, "(", "start", "'if' condition"); 1182 1299 1183 1300 TreeExpression innerCondition = parseExpression(context); 1184 failIfFalse(innerCondition );1301 failIfFalse(innerCondition, "Expected a expression as the condition for an if statement"); 1185 1302 int innerEnd = tokenLine(); 1186 consumeOrFail(CLOSEPAREN);1303 handleProductionOrFail(CLOSEPAREN, ")", "end", "'if' condition"); 1187 1304 const Identifier* unused = 0; 1188 1305 TreeStatement innerTrueBlock = parseStatement(context, unused); 1189 failIfFalse(innerTrueBlock );1306 failIfFalse(innerTrueBlock, "Expected a statement as the body of an if block"); 1190 1307 tokenLocationStack.append(tempLocation); 1191 1308 exprStack.append(innerCondition); … … 1229 1346 JSTokenLocation location(tokenLocation()); 1230 1347 TreeExpression node = parseAssignmentExpression(context); 1231 failIfFalse(node );1348 failIfFalse(node, "Cannot parse expression"); 1232 1349 if (!match(COMMA)) 1233 1350 return node; … … 1236 1353 m_nonLHSCount++; 1237 1354 TreeExpression right = parseAssignmentExpression(context); 1238 failIfFalse(right );1355 failIfFalse(right, "Cannot parse expression in a comma expression"); 1239 1356 typename TreeBuilder::Comma commaNode = context.createCommaExpr(location, node, right); 1240 1357 while (match(COMMA)) { 1241 1358 next(TreeBuilder::DontBuildStrings); 1242 1359 right = parseAssignmentExpression(context); 1243 failIfFalse(right );1360 failIfFalse(right, "Cannot parse expression in a comma expression"); 1244 1361 context.appendToComma(commaNode, right); 1245 1362 } … … 1256 1373 int initialNonLHSCount = m_nonLHSCount; 1257 1374 TreeExpression lhs = parseConditionalExpression(context); 1258 failIfFalse(lhs); 1259 if (initialNonLHSCount != m_nonLHSCount) 1375 failIfFalse(lhs, "Cannot parse expression"); 1376 if (initialNonLHSCount != m_nonLHSCount) { 1377 if (m_token.m_type >= EQUAL && m_token.m_type <= OREQUAL) 1378 semanticFail("Left hand sign of operator '", getToken(), "' must be a reference"); 1379 1260 1380 return lhs; 1381 } 1261 1382 1262 1383 int assignmentStack = 0; … … 1287 1408 next(TreeBuilder::DontBuildStrings); 1288 1409 if (strictMode() && m_lastIdentifier && context.isResolve(lhs)) { 1289 failIfTrueIfStrict WithMessage(m_vm->propertyNames->eval == *m_lastIdentifier, "'eval' cannot be modifiedin strict mode");1290 failIfTrueIfStrict WithMessage(m_vm->propertyNames->arguments == *m_lastIdentifier, "'arguments' cannot be modifiedin strict mode");1410 failIfTrueIfStrict(m_vm->propertyNames->eval == *m_lastIdentifier, "Cannot modify 'eval' in strict mode"); 1411 failIfTrueIfStrict(m_vm->propertyNames->arguments == *m_lastIdentifier, "Cannot modify 'arguments' in strict mode"); 1291 1412 declareWrite(m_lastIdentifier); 1292 1413 m_lastIdentifier = 0; 1293 1414 } 1294 1415 lhs = parseAssignmentExpression(context); 1295 failIfFalse(lhs); 1296 if (initialNonLHSCount != m_nonLHSCount) 1416 failIfFalse(lhs, "Cannot parse the right hand side of an assignment expression"); 1417 if (initialNonLHSCount != m_nonLHSCount) { 1418 if (m_token.m_type >= EQUAL && m_token.m_type <= OREQUAL) 1419 semanticFail("Left hand sign of operator '", getToken(), "' must be a reference"); 1297 1420 break; 1421 } 1298 1422 } 1299 1423 end: … … 1315 1439 JSTokenLocation location(tokenLocation()); 1316 1440 TreeExpression cond = parseBinaryExpression(context); 1317 failIfFalse(cond );1441 failIfFalse(cond, "Cannot parse expression"); 1318 1442 if (!match(QUESTION)) 1319 1443 return cond; … … 1322 1446 next(TreeBuilder::DontBuildStrings); 1323 1447 TreeExpression lhs = parseAssignmentExpression(context); 1324 consumeOrFailWithFlags(COLON, TreeBuilder::DontBuildStrings); 1448 failIfFalse(lhs, "Cannot parse left hand side of ternary operator"); 1449 consumeOrFailWithFlags(COLON, TreeBuilder::DontBuildStrings, "Expected ':' in ternary operator"); 1325 1450 1326 1451 TreeExpression rhs = parseAssignmentExpression(context); 1327 failIfFalse(rhs );1452 failIfFalse(rhs, "Cannot parse right hand side of ternary operator"); 1328 1453 return context.createConditionalExpr(location, cond, lhs, rhs); 1329 1454 } … … 1354 1479 int initialAssignments = m_assignmentCount; 1355 1480 TreeExpression current = parseUnaryExpression(context); 1356 failIfFalse(current );1481 failIfFalse(current, "Cannot parse expression"); 1357 1482 1358 1483 context.appendBinaryExpressionInfo(operandStackDepth, current, exprStart, lastTokenEndPosition(), lastTokenEndPosition(), initialAssignments != m_assignmentCount); … … 1406 1531 next(); 1407 1532 TreeExpression node = parseAssignmentExpression(context); 1408 failIfFalse(node );1533 failIfFalse(node, "Cannot parse expression for property declaration"); 1409 1534 return context.template createProperty<complete>(ident, node, PropertyNode::Constant); 1410 1535 } 1411 failIfFalse(wasIdent );1536 failIfFalse(wasIdent, "Expected an identifier as property name"); 1412 1537 const Identifier* accessorName = 0; 1413 1538 TreeFormalParameterList parameters = 0; … … 1423 1548 type = PropertyNode::Setter; 1424 1549 else 1425 fail ();1550 failWithMessage("Expected a ':' following the property name '", ident->impl(), "'"); 1426 1551 const Identifier* stringPropertyName = 0; 1427 1552 double numericPropertyName = 0; … … 1431 1556 numericPropertyName = m_token.m_data.doubleValue; 1432 1557 else 1433 fail ();1558 failDueToUnexpectedToken(); 1434 1559 JSTokenLocation location(tokenLocation()); 1435 1560 next(); 1436 failIfFalse((parseFunctionInfo<FunctionNoRequirements, false>(context, accessorName, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn))); 1561 if (type == PropertyNode::Getter) { 1562 failIfFalse(match(OPENPAREN), "Expected a parameter list for getter definition"); 1563 failIfFalse((parseFunctionInfo<FunctionNoRequirements, GetterMode, false>(context, accessorName, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)), "Cannot parse getter definition"); 1564 } else { 1565 failIfFalse(match(OPENPAREN), "Expected a parameter list for setter definition"); 1566 failIfFalse((parseFunctionInfo<FunctionNoRequirements, SetterMode, false>(context, accessorName, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)), "Cannot parse setter definition"); 1567 } 1437 1568 if (stringPropertyName) 1438 1569 return context.template createGetterOrSetterProperty<complete>(location, type, stringPropertyName, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, m_lastTokenEndPosition.line, bodyStartColumn); … … 1442 1573 double propertyName = m_token.m_data.doubleValue; 1443 1574 next(); 1444 consumeOrFail(COLON );1575 consumeOrFail(COLON, "Expected ':' after property name"); 1445 1576 TreeExpression node = parseAssignmentExpression(context); 1446 failIfFalse(node );1577 failIfFalse(node, "Cannot parse expression for property declaration"); 1447 1578 return context.template createProperty<complete>(const_cast<VM*>(m_vm), propertyName, node, PropertyNode::Constant); 1448 1579 } … … 1450 1581 next(); 1451 1582 auto propertyName = parseExpression(context); 1452 failIfFalse(propertyName); 1453 consumeOrFail(CLOSEBRACKET); 1454 consumeOrFail(COLON); 1583 failIfFalse(propertyName, "Cannot parse computed property name"); 1584 1585 handleProductionOrFail(CLOSEBRACKET, "]", "end", "computed property name"); 1586 consumeOrFail(COLON, "Expected ':' after property name"); 1455 1587 TreeExpression node = parseAssignmentExpression(context); 1456 failIfFalse(node );1588 failIfFalse(node, "Cannot parse expression for property declaration"); 1457 1589 return context.template createProperty<complete>(const_cast<VM*>(m_vm), propertyName, node, PropertyNode::Constant); 1458 1590 } 1459 1591 default: 1460 failIfFalse(m_token.m_type & KeywordTokenFlag );1592 failIfFalse(m_token.m_type & KeywordTokenFlag, "Expected a property name"); 1461 1593 goto namedProperty; 1462 1594 } … … 1470 1602 unsigned oldLastLineNumber = m_lexer->lastLineNumber(); 1471 1603 unsigned oldLineNumber = m_lexer->lineNumber(); 1472 consumeOrFailWithFlags(OPENBRACE, TreeBuilder::DontBuildStrings );1604 consumeOrFailWithFlags(OPENBRACE, TreeBuilder::DontBuildStrings, "Expected opening '{' at the start of an object literal"); 1473 1605 JSTokenLocation location(tokenLocation()); 1474 1606 … … 1481 1613 1482 1614 TreeProperty property = parseProperty<false>(context); 1483 failIfFalse(property );1615 failIfFalse(property, "Cannot parse object literal property"); 1484 1616 if (!m_syntaxAlreadyValidated && context.getType(property) != PropertyNode::Constant) { 1485 1617 m_lexer->setOffset(startOffset, oldLineStartOffset); … … 1498 1630 JSTokenLocation propertyLocation(tokenLocation()); 1499 1631 property = parseProperty<false>(context); 1500 failIfFalse(property );1632 failIfFalse(property, "Cannot parse object literal property"); 1501 1633 if (!m_syntaxAlreadyValidated && context.getType(property) != PropertyNode::Constant) { 1502 1634 m_lexer->setOffset(startOffset, oldLineStartOffset); … … 1510 1642 1511 1643 location = tokenLocation(); 1512 consumeOrFail(CLOSEBRACE);1644 handleProductionOrFail(CLOSEBRACE, "}", "end", "object literal"); 1513 1645 1514 1646 m_nonLHSCount = oldNonLHSCount; … … 1520 1652 template <class TreeBuilder> TreeExpression Parser<LexerType>::parseStrictObjectLiteral(TreeBuilder& context) 1521 1653 { 1522 consumeOrFail(OPENBRACE );1654 consumeOrFail(OPENBRACE, "Expected opening '{' at the start of an object literal"); 1523 1655 1524 1656 int oldNonLHSCount = m_nonLHSCount; … … 1531 1663 1532 1664 TreeProperty property = parseProperty<true>(context); 1533 failIfFalse(property );1665 failIfFalse(property, "Cannot parse object literal property"); 1534 1666 1535 1667 typedef HashMap<RefPtr<StringImpl>, unsigned, IdentifierRepHash> ObjectValidationMap; … … 1548 1680 JSTokenLocation propertyLocation(tokenLocation()); 1549 1681 property = parseProperty<true>(context); 1550 failIfFalse(property );1682 failIfFalse(property, "Cannot parse object literal property"); 1551 1683 if (!m_syntaxAlreadyValidated && context.getName(property)) { 1552 1684 ObjectValidationMap::AddResult propertyEntry = objectValidator.add(context.getName(property)->impl(), context.getType(property)); 1553 1685 if (!propertyEntry.isNewEntry) { 1554 failIfTrue(propertyEntry.iterator->value == PropertyNode::Constant);1555 failIfTrue(context.getType(property) == PropertyNode::Constant);1556 failIfTrue(context.getType(property) & propertyEntry.iterator->value);1686 semanticFailIfTrue(propertyEntry.iterator->value == PropertyNode::Constant, "Attempted to redefine property '", propertyEntry.iterator->key.get(), "'"); 1687 semanticFailIfTrue(context.getType(property) == PropertyNode::Constant, "Attempted to redefine property '", propertyEntry.iterator->key.get(), "'"); 1688 semanticFailIfTrue(context.getType(property) & propertyEntry.iterator->value, "Attempted to redefine property '", propertyEntry.iterator->key.get(), "'"); 1557 1689 propertyEntry.iterator->value |= context.getType(property); 1558 1690 } … … 1562 1694 1563 1695 location = tokenLocation(); 1564 consumeOrFail(CLOSEBRACE);1696 handleProductionOrFail(CLOSEBRACE, "}", "end", "object literal"); 1565 1697 1566 1698 m_nonLHSCount = oldNonLHSCount; … … 1572 1704 template <class TreeBuilder> TreeExpression Parser<LexerType>::parseArrayLiteral(TreeBuilder& context) 1573 1705 { 1574 consumeOrFailWithFlags(OPENBRACKET, TreeBuilder::DontBuildStrings );1706 consumeOrFailWithFlags(OPENBRACKET, TreeBuilder::DontBuildStrings, "Expected an opening '[' at the beginning of an array literal"); 1575 1707 1576 1708 int oldNonLHSCount = m_nonLHSCount; … … 1594 1726 next(); 1595 1727 auto spreadExpr = parseAssignmentExpression(context); 1596 failIfFalse(spreadExpr );1728 failIfFalse(spreadExpr, "Cannot parse subject of a spread operation"); 1597 1729 elem = context.createSpreadExpression(spreadLocation, spreadExpr, start, divot, m_lastTokenEndPosition); 1598 1730 } else 1599 1731 elem = parseAssignmentExpression(context); 1600 failIfFalse(elem );1732 failIfFalse(elem, "Cannot parse array literal element"); 1601 1733 typename TreeBuilder::ElementList elementList = context.createElementList(elisions, elem); 1602 1734 typename TreeBuilder::ElementList tail = elementList; … … 1622 1754 next(); 1623 1755 TreeExpression elem = parseAssignmentExpression(context); 1624 failIfFalse(elem );1756 failIfFalse(elem, "Cannot parse subject of a spread operation"); 1625 1757 auto spread = context.createSpreadExpression(spreadLocation, elem, start, divot, m_lastTokenEndPosition); 1626 1758 tail = context.createElementList(tail, elisions, spread); … … 1628 1760 } 1629 1761 TreeExpression elem = parseAssignmentExpression(context); 1630 failIfFalse(elem );1762 failIfFalse(elem, "Cannot parse array literal element"); 1631 1763 tail = context.createElementList(tail, elisions, elem); 1632 1764 } 1633 1765 1634 1766 JSTokenLocation location(tokenLocation()); 1635 consumeOrFail(CLOSEBRACKET); 1767 if (!consume(CLOSEBRACKET)) { 1768 failIfFalse(match(DOTDOTDOT), "Expected either a closing ']' or a ',' following an array element"); 1769 semanticFail("The '...' operator should come before a target expression"); 1770 } 1636 1771 1637 1772 m_nonLHSCount = oldNonLHSCount; … … 1656 1791 TreeExpression result = parseExpression(context); 1657 1792 m_nonLHSCount = oldNonLHSCount; 1658 consumeOrFail(CLOSEPAREN); 1659 1793 handleProductionOrFail(CLOSEPAREN, ")", "end", "compound expression"); 1660 1794 return result; 1661 1795 } … … 1707 1841 const Identifier* flags; 1708 1842 if (match(DIVEQUAL)) 1709 failIfFalse(m_lexer->scanRegExp(pattern, flags, '=') );1843 failIfFalse(m_lexer->scanRegExp(pattern, flags, '='), "Invalid regular expression"); 1710 1844 else 1711 failIfFalse(m_lexer->scanRegExp(pattern, flags) );1845 failIfFalse(m_lexer->scanRegExp(pattern, flags), "Invalid regular expression"); 1712 1846 1713 1847 JSTextPosition start = tokenStartPosition(); … … 1717 1851 if (!re) { 1718 1852 const char* yarrErrorMsg = Yarr::checkSyntax(pattern->string()); 1719 failWithMessage(yarrErrorMsg);1853 regexFail(yarrErrorMsg); 1720 1854 } 1721 1855 return re; 1722 1856 } 1723 1857 default: 1724 fail ();1858 failDueToUnexpectedToken(); 1725 1859 } 1726 1860 } … … 1729 1863 template <class TreeBuilder> TreeArguments Parser<LexerType>::parseArguments(TreeBuilder& context, SpreadMode mode) 1730 1864 { 1731 consumeOrFailWithFlags(OPENPAREN, TreeBuilder::DontBuildStrings );1865 consumeOrFailWithFlags(OPENPAREN, TreeBuilder::DontBuildStrings, "Expected opening '(' at start of argument list"); 1732 1866 JSTokenLocation location(tokenLocation()); 1733 1867 if (match(CLOSEPAREN)) { … … 1743 1877 auto end = m_lastTokenEndPosition; 1744 1878 if (!spreadExpr) 1745 failWithMessage("Invalid spread expression."); 1746 consumeOrFail(CLOSEPAREN); 1879 failWithMessage("Cannot parse spread expression"); 1880 if (!consume(CLOSEPAREN)) { 1881 if (match(COMMA)) 1882 semanticFail("Spread operator may only be applied to the last argument passed to a function"); 1883 handleProductionOrFail(CLOSEPAREN, ")", "end", "argument list"); 1884 } 1747 1885 auto spread = context.createSpreadExpression(spreadLocation, spreadExpr, start, divot, end); 1748 1886 TreeArgumentsList argList = context.createArgumentsList(location, spread); … … 1750 1888 } 1751 1889 TreeExpression firstArg = parseAssignmentExpression(context); 1752 failIfFalse(firstArg );1890 failIfFalse(firstArg, "Cannot parse function argument"); 1753 1891 1754 1892 TreeArgumentsList argList = context.createArgumentsList(location, firstArg); … … 1758 1896 next(TreeBuilder::DontBuildStrings); 1759 1897 TreeExpression arg = parseAssignmentExpression(context); 1760 failIfFalse(arg );1898 failIfFalse(arg, "Cannot parse function argument"); 1761 1899 tail = context.createArgumentsList(argumentLocation, tail, arg); 1762 1900 } 1763 consumeOrFail(CLOSEPAREN); 1901 semanticFailIfTrue(match(DOTDOTDOT), "The '...' operator should come before the target expression"); 1902 handleProductionOrFail(CLOSEPAREN, ")", "end", "argument list"); 1764 1903 return context.createArguments(argList); 1765 1904 } … … 1787 1926 location = tokenLocation(); 1788 1927 next(); 1789 failIfFalse((parseFunctionInfo<FunctionNoRequirements, false>(context, name, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)));1928 failIfFalse((parseFunctionInfo<FunctionNoRequirements, FunctionMode, false>(context, name, parameters, body, openBraceOffset, closeBraceOffset, bodyStartLine, bodyStartColumn)), "Cannot parse function expression"); 1790 1929 base = context.createFunctionExpr(location, name, body, parameters, openBraceOffset, closeBraceOffset, bodyStartLine, m_lastTokenEndPosition.line, bodyStartColumn); 1791 1930 } else 1792 1931 base = parsePrimaryExpression(context); 1793 1932 1794 failIfFalse(base );1933 failIfFalse(base, "Cannot parse base expression"); 1795 1934 while (true) { 1796 1935 location = tokenLocation(); … … 1803 1942 int initialAssignments = m_assignmentCount; 1804 1943 TreeExpression property = parseExpression(context); 1805 failIfFalse(property );1944 failIfFalse(property, "Cannot parse subscript expression"); 1806 1945 base = context.createBracketAccess(location, base, property, initialAssignments != m_assignmentCount, expressionStart, expressionEnd, tokenEndPosition()); 1807 consumeOrFail(CLOSEBRACKET);1946 handleProductionOrFail(CLOSEBRACKET, "]", "end", "subscript expression"); 1808 1947 m_nonLHSCount = nonLHSCount; 1809 1948 break; … … 1816 1955 JSTextPosition expressionEnd = lastTokenEndPosition(); 1817 1956 TreeArguments arguments = parseArguments(context, DontAllowSpread); 1818 failIfFalse(arguments );1957 failIfFalse(arguments, "Cannot parse call arguments"); 1819 1958 base = context.createNewExpr(location, base, arguments, expressionStart, expressionEnd, lastTokenEndPosition()); 1820 1959 } else { 1821 1960 JSTextPosition expressionEnd = lastTokenEndPosition(); 1822 1961 TreeArguments arguments = parseArguments(context, AllowSpread); 1823 failIfFalse(arguments );1962 failIfFalse(arguments, "Cannot parse call arguments"); 1824 1963 base = context.makeFunctionCallNode(location, base, arguments, expressionStart, expressionEnd, lastTokenEndPosition()); 1825 1964 } … … 1831 1970 JSTextPosition expressionEnd = lastTokenEndPosition(); 1832 1971 nextExpectIdentifier(LexerFlagsIgnoreReservedWords | TreeBuilder::DontBuildKeywords); 1833 matchOrFail(IDENT );1972 matchOrFail(IDENT, "Expected a property name after '.'"); 1834 1973 base = context.createDotAccess(location, base, m_token.m_data.ident, expressionStart, expressionEnd, tokenEndPosition()); 1835 1974 next(); … … 1844 1983 base = context.createNewExpr(location, base, expressionStart, lastTokenEndPosition()); 1845 1984 return base; 1985 } 1986 1987 static const char* operatorString(bool prefix, unsigned tok) 1988 { 1989 switch (tok) { 1990 case MINUSMINUS: 1991 case AUTOMINUSMINUS: 1992 return prefix ? "prefix-decrement" : "decrement"; 1993 1994 case PLUSPLUS: 1995 case AUTOPLUSPLUS: 1996 return prefix ? "prefix-increment" : "increment"; 1997 1998 case EXCLAMATION: 1999 return "logical-not"; 2000 2001 case TILDE: 2002 return "bitwise-not"; 2003 2004 case TYPEOF: 2005 return "typeof"; 2006 2007 case VOIDTOKEN: 2008 return "void"; 2009 2010 case DELETETOKEN: 2011 return "delete"; 2012 } 2013 RELEASE_ASSERT_NOT_REACHED(); 2014 return "error"; 1846 2015 } 1847 2016 … … 1854 2023 bool modifiesExpr = false; 1855 2024 bool requiresLExpr = false; 2025 unsigned lastOperator = 0; 1856 2026 while (isUnaryOp(m_token.m_type)) { 1857 2027 if (strictMode()) { … … 1861 2031 case AUTOPLUSPLUS: 1862 2032 case AUTOMINUSMINUS: 1863 failIfTrue(requiresLExpr);2033 semanticFailIfTrue(requiresLExpr, "The ", operatorString(true, lastOperator), " operator requires a reference expression"); 1864 2034 modifiesExpr = true; 1865 2035 requiresLExpr = true; 1866 2036 break; 1867 2037 case DELETETOKEN: 1868 failIfTrue(requiresLExpr);2038 semanticFailIfTrue(requiresLExpr, "The ", operatorString(true, lastOperator), " operator requires a reference expression"); 1869 2039 requiresLExpr = true; 1870 2040 break; 1871 2041 default: 1872 failIfTrue(requiresLExpr);2042 semanticFailIfTrue(requiresLExpr, "The ", operatorString(true, lastOperator), " operator requires a reference expression"); 1873 2043 break; 1874 2044 } 1875 2045 } 2046 lastOperator = m_token.m_type; 1876 2047 m_nonLHSCount++; 1877 2048 context.appendUnaryToken(tokenStackDepth, m_token.m_type, tokenStartPosition()); … … 1883 2054 JSTokenLocation location(tokenLocation()); 1884 2055 TreeExpression expr = parseMemberExpression(context); 1885 failIfFalse(expr); 2056 if (!expr) { 2057 if (lastOperator) 2058 failWithMessage("Cannot parse subexpression of ", operatorString(true, lastOperator), "operator"); 2059 failWithMessage("Cannot parse member expression"); 2060 } 1886 2061 bool isEvalOrArguments = false; 1887 2062 if (strictMode() && !m_syntaxAlreadyValidated) { … … 1889 2064 isEvalOrArguments = *m_lastIdentifier == m_vm->propertyNames->eval || *m_lastIdentifier == m_vm->propertyNames->arguments; 1890 2065 } 1891 failIfTrueIfStrict WithNameAndMessage(isEvalOrArguments && modifiesExpr, "'", m_lastIdentifier->impl(), "' cannot be modifiedin strict mode");2066 failIfTrueIfStrict(isEvalOrArguments && modifiesExpr, "Cannot modify '", m_lastIdentifier->impl(), "' in strict mode"); 1892 2067 switch (m_token.m_type) { 1893 2068 case PLUSPLUS: … … 1896 2071 expr = context.makePostfixNode(location, expr, OpPlusPlus, subExprStart, lastTokenEndPosition(), tokenEndPosition()); 1897 2072 m_assignmentCount++; 1898 failIfTrueIfStrictWithNameAndMessage(isEvalOrArguments, "'", m_lastIdentifier->impl(), "' cannot be modified in strict mode"); 1899 failIfTrueIfStrict(requiresLExpr); 2073 failIfTrueIfStrict(isEvalOrArguments, "Cannot modify '", m_lastIdentifier->impl(), "' in strict mode"); 2074 semanticFailIfTrue(requiresLExpr, "The ", operatorString(false, lastOperator), " operator requires a reference expression"); 2075 lastOperator = PLUSPLUS; 1900 2076 next(); 1901 2077 break; … … 1905 2081 expr = context.makePostfixNode(location, expr, OpMinusMinus, subExprStart, lastTokenEndPosition(), tokenEndPosition()); 1906 2082 m_assignmentCount++; 1907 failIfTrueIfStrictWithNameAndMessage(isEvalOrArguments, "'", m_lastIdentifier->impl(), "' cannot be modified in strict mode"); 1908 failIfTrueIfStrict(requiresLExpr); 2083 failIfTrueIfStrict(isEvalOrArguments, "'", m_lastIdentifier->impl(), "' cannot be modified in strict mode"); 2084 semanticFailIfTrue(requiresLExpr, "The ", operatorString(false, lastOperator), " operator requires a reference expression"); 2085 lastOperator = PLUSPLUS; 1909 2086 next(); 1910 2087 break; … … 1951 2128 break; 1952 2129 case DELETETOKEN: 1953 failIfTrueIfStrict WithNameAndMessage(context.isResolve(expr), "Cannot delete unqualified property", m_lastIdentifier->impl(), "in strict mode");2130 failIfTrueIfStrict(context.isResolve(expr), "Cannot delete unqualified property '", m_lastIdentifier->impl(), "' in strict mode"); 1954 2131 expr = context.makeDeleteNode(location, expr, context.unaryTokenStackLastStart(tokenStackDepth), end, end); 1955 2132 break; … … 1964 2141 } 1965 2142 2143 2144 template <typename LexerType> void Parser<LexerType>::printUnexpectedTokenText(WTF::PrintStream& out) 2145 { 2146 switch (m_token.m_type) { 2147 case EOFTOK: 2148 out.print("Unexpected end of script"); 2149 return; 2150 case UNTERMINATED_IDENTIFIER_ESCAPE_ERRORTOK: 2151 case UNTERMINATED_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 2152 out.print("Incomplete unicode escape in identifier: '", getToken(), "'"); 2153 return; 2154 case UNTERMINATED_MULTILINE_COMMENT_ERRORTOK: 2155 out.print("Unterminated multiline comment"); 2156 return; 2157 case UNTERMINATED_NUMERIC_LITERAL_ERRORTOK: 2158 out.print("Unterminated numeric literal '", getToken(), "'"); 2159 return; 2160 case UNTERMINATED_STRING_LITERAL_ERRORTOK: 2161 out.print("Unterminated string literal '", getToken(), "'"); 2162 return; 2163 case INVALID_IDENTIFIER_ESCAPE_ERRORTOK: 2164 out.print("Invalid escape in identifier: '", getToken(), "'"); 2165 return; 2166 case INVALID_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 2167 out.print("Invalid unicode escape in identifier: '", getToken(), "'"); 2168 return; 2169 case INVALID_NUMERIC_LITERAL_ERRORTOK: 2170 out.print("Invalid numeric literal: '", getToken(), "'"); 2171 return; 2172 case INVALID_OCTAL_NUMBER_ERRORTOK: 2173 out.print("Invalid use of octal: '", getToken(), "'"); 2174 return; 2175 case INVALID_STRING_LITERAL_ERRORTOK: 2176 out.print("Invalid string literal: '", getToken(), "'"); 2177 return; 2178 case ERRORTOK: 2179 out.print("Unrecognized token '", getToken(), "'"); 2180 return; 2181 case STRING: 2182 out.print("Unexpected string literal ", getToken()); 2183 return; 2184 case NUMBER: 2185 out.print("Unexpected number '", getToken(), "'"); 2186 return; 2187 2188 case RESERVED_IF_STRICT: 2189 out.print("Unexpected use of reserved word '", getToken(), "' in strict mode"); 2190 return; 2191 2192 case RESERVED: 2193 out.print("Unexpected use of reserved word '", getToken(), "'"); 2194 return; 2195 2196 case IDENT: 2197 out.print("Unexpected identifier '", getToken(), "'"); 2198 return; 2199 2200 default: 2201 break; 2202 } 2203 2204 if (m_token.m_type & KeywordTokenFlag) { 2205 out.print("Unexpected keyword '", getToken(), "'"); 2206 return; 2207 } 2208 2209 out.print("Unexpected token '", getToken(), "'"); 2210 } 2211 1966 2212 // Instantiate the two flavors of Parser we need instead of putting most of this file in Parser.h 1967 2213 template class Parser<Lexer<LChar>>; 1968 2214 template class Parser<Lexer<UChar>>; 1969 2215 1970 2216 } // namespace JSC -
trunk/Source/JavaScriptCore/parser/Parser.h
r157653 r158014 80 80 enum SourceElementsMode { CheckForStrictMode, DontCheckForStrictMode }; 81 81 enum FunctionRequirements { FunctionNoRequirements, FunctionNeedsName }; 82 enum FunctionParseMode { FunctionMode, GetterMode, SetterMode }; 82 83 enum DeconstructionKind { 83 84 DeconstructToVariables, … … 210 211 } 211 212 213 bool hasDeclaredVariable(const Identifier& ident) 214 { 215 return m_declaredVariables.contains(ident.impl()); 216 } 217 218 bool hasDeclaredParameter(const Identifier& ident) 219 { 220 return m_declaredParameters.contains(ident.impl()) || m_declaredVariables.contains(ident.impl()); 221 } 222 212 223 void declareWrite(const Identifier* ident) 213 224 { … … 490 501 } 491 502 503 NEVER_INLINE bool hasDeclaredVariable(const Identifier& ident) 504 { 505 unsigned i = m_scopeStack.size() - 1; 506 ASSERT(i < m_scopeStack.size()); 507 while (!m_scopeStack[i].allowsNewDecls()) { 508 i--; 509 ASSERT(i < m_scopeStack.size()); 510 } 511 return m_scopeStack[i].hasDeclaredVariable(ident); 512 } 513 514 NEVER_INLINE bool hasDeclaredParameter(const Identifier& ident) 515 { 516 unsigned i = m_scopeStack.size() - 1; 517 ASSERT(i < m_scopeStack.size()); 518 while (!m_scopeStack[i].allowsNewDecls()) { 519 i--; 520 ASSERT(i < m_scopeStack.size()); 521 } 522 return m_scopeStack[i].hasDeclaredParameter(ident); 523 } 524 492 525 void declareWrite(const Identifier* ident) 493 526 { … … 545 578 return result; 546 579 } 547 580 581 void printUnexpectedTokenText(WTF::PrintStream&); 548 582 ALWAYS_INLINE String getToken() { 549 583 SourceProvider* sourceProvider = m_source->provider(); … … 596 630 } 597 631 598 const char* getTokenName(JSTokenType tok) 599 { 600 switch (tok) { 601 case NULLTOKEN: 602 return "null"; 603 case TRUETOKEN: 604 return "true"; 605 case FALSETOKEN: 606 return "false"; 607 case BREAK: 608 return "break"; 609 case CASE: 610 return "case"; 611 case DEFAULT: 612 return "default"; 613 case FOR: 614 return "for"; 615 case NEW: 616 return "new"; 617 case VAR: 618 return "var"; 619 case CONSTTOKEN: 620 return "const"; 621 case CONTINUE: 622 return "continue"; 623 case FUNCTION: 624 return "function"; 625 case IF: 626 return "if"; 627 case THISTOKEN: 628 return "this"; 629 case DO: 630 return "do"; 631 case WHILE: 632 return "while"; 633 case SWITCH: 634 return "switch"; 635 case WITH: 636 return "with"; 637 case THROW: 638 return "throw"; 639 case TRY: 640 return "try"; 641 case CATCH: 642 return "catch"; 643 case FINALLY: 644 return "finally"; 645 case DEBUGGER: 646 return "debugger"; 647 case ELSE: 648 return "else"; 649 case OPENBRACE: 650 return "{"; 651 case CLOSEBRACE: 652 return "}"; 653 case OPENPAREN: 654 return "("; 655 case CLOSEPAREN: 656 return ")"; 657 case OPENBRACKET: 658 return "["; 659 case CLOSEBRACKET: 660 return "]"; 661 case COMMA: 662 return ","; 663 case QUESTION: 664 return "?"; 665 case SEMICOLON: 666 return ";"; 667 case COLON: 668 return ":"; 669 case DOT: 670 return "."; 671 case EQUAL: 672 return "="; 673 case PLUSEQUAL: 674 return "+="; 675 case MINUSEQUAL: 676 return "-="; 677 case MULTEQUAL: 678 return "*="; 679 case DIVEQUAL: 680 return "/="; 681 case LSHIFTEQUAL: 682 return "<<="; 683 case RSHIFTEQUAL: 684 return ">>="; 685 case URSHIFTEQUAL: 686 return ">>>="; 687 case ANDEQUAL: 688 return "&="; 689 case MODEQUAL: 690 return "%="; 691 case XOREQUAL: 692 return "^="; 693 case OREQUAL: 694 return "|="; 695 case AUTOPLUSPLUS: 696 case PLUSPLUS: 697 return "++"; 698 case AUTOMINUSMINUS: 699 case MINUSMINUS: 700 return "--"; 701 case EXCLAMATION: 702 return "!"; 703 case TILDE: 704 return "~"; 705 case TYPEOF: 706 return "typeof"; 707 case VOIDTOKEN: 708 return "void"; 709 case DELETETOKEN: 710 return "delete"; 711 case OR: 712 return "||"; 713 case AND: 714 return "&&"; 715 case BITOR: 716 return "|"; 717 case BITXOR: 718 return "^"; 719 case BITAND: 720 return "&"; 721 case EQEQ: 722 return "=="; 723 case NE: 724 return "!="; 725 case STREQ: 726 return "==="; 727 case STRNEQ: 728 return "!=="; 729 case LT: 730 return "<"; 731 case GT: 732 return ">"; 733 case LE: 734 return "<="; 735 case GE: 736 return ">="; 737 case INSTANCEOF: 738 return "instanceof"; 739 case INTOKEN: 740 return "in"; 741 case LSHIFT: 742 return "<<"; 743 case RSHIFT: 744 return ">>"; 745 case URSHIFT: 746 return ">>>"; 747 case PLUS: 748 return "+"; 749 case MINUS: 750 return "-"; 751 case TIMES: 752 return "*"; 753 case DIVIDE: 754 return "/"; 755 case MOD: 756 return "%"; 757 case DOTDOTDOT: 758 return "..."; 759 case RETURN: 760 case RESERVED_IF_STRICT: 761 case RESERVED: 762 case NUMBER: 763 case IDENT: 764 case STRING: 765 case UNTERMINATED_IDENTIFIER_ESCAPE_ERRORTOK: 766 case UNTERMINATED_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 767 case UNTERMINATED_MULTILINE_COMMENT_ERRORTOK: 768 case UNTERMINATED_NUMERIC_LITERAL_ERRORTOK: 769 case UNTERMINATED_STRING_LITERAL_ERRORTOK: 770 case INVALID_IDENTIFIER_ESCAPE_ERRORTOK: 771 case INVALID_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 772 case INVALID_NUMERIC_LITERAL_ERRORTOK: 773 case INVALID_OCTAL_NUMBER_ERRORTOK: 774 case INVALID_STRING_LITERAL_ERRORTOK: 775 case ERRORTOK: 776 case EOFTOK: 777 return 0; 778 case LastUntaggedToken: 779 break; 780 } 781 RELEASE_ASSERT_NOT_REACHED(); 782 return "internal error"; 783 } 784 785 ALWAYS_INLINE void updateErrorMessageSpecialCase(JSTokenType expectedToken) 786 { 787 switch (expectedToken) { 788 case RESERVED_IF_STRICT: 789 m_errorMessage = "Use of reserved word '" + getToken() + "' in strict mode"; 790 return; 791 case RESERVED: 792 m_errorMessage = "Use of reserved word '" + getToken() + '\''; 793 return; 794 case NUMBER: 795 m_errorMessage = "Unexpected number '" + getToken() + '\''; 796 return; 797 case IDENT: 798 m_errorMessage = "Expected an identifier but found '" + getToken() + "' instead"; 799 return; 800 case STRING: 801 m_errorMessage = "Unexpected string " + getToken(); 802 return; 803 804 case UNTERMINATED_IDENTIFIER_ESCAPE_ERRORTOK: 805 case UNTERMINATED_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 806 m_errorMessage = "Incomplete unicode escape in identifier: '" + getToken() + '\''; 807 return; 808 case UNTERMINATED_MULTILINE_COMMENT_ERRORTOK: 809 m_errorMessage = "Unterminated multiline comment"; 810 return; 811 case UNTERMINATED_NUMERIC_LITERAL_ERRORTOK: 812 m_errorMessage = "Unterminated numeric literal '" + getToken() + '\''; 813 return; 814 case UNTERMINATED_STRING_LITERAL_ERRORTOK: 815 m_errorMessage = "Unterminated string literal '" + getToken() + '\''; 816 return; 817 case INVALID_IDENTIFIER_ESCAPE_ERRORTOK: 818 m_errorMessage = "Invalid escape in identifier: '" + getToken() + '\''; 819 return; 820 case INVALID_IDENTIFIER_UNICODE_ESCAPE_ERRORTOK: 821 m_errorMessage = "Invalid unicode escape in identifier: '" + getToken() + '\''; 822 return; 823 case INVALID_NUMERIC_LITERAL_ERRORTOK: 824 m_errorMessage = "Invalid numeric literal: '" + getToken() + '\''; 825 return; 826 case INVALID_OCTAL_NUMBER_ERRORTOK: 827 m_errorMessage = "Invalid use of octal: '" + getToken() + '\''; 828 return; 829 case INVALID_STRING_LITERAL_ERRORTOK: 830 m_errorMessage = "Invalid string literal: '" + getToken() + '\''; 831 return; 832 case ERRORTOK: 833 m_errorMessage = "Unrecognized token '" + getToken() + '\''; 834 return; 835 case EOFTOK: 836 m_errorMessage = ASCIILiteral("Unexpected EOF"); 837 return; 838 case RETURN: 839 m_errorMessage = ASCIILiteral("Return statements are only valid inside functions"); 840 return; 841 case DOTDOTDOT: 842 m_errorMessage = ASCIILiteral("Spread operator is not supported in this context"); 843 return; 844 default: 845 RELEASE_ASSERT_NOT_REACHED(); 846 m_errorMessage = ASCIILiteral("internal error"); 847 return; 848 } 849 } 850 851 NEVER_INLINE void updateErrorMessage() 852 { 853 const char* name = getTokenName(m_token.m_type); 854 if (!name) 855 updateErrorMessageSpecialCase(m_token.m_type); 856 else 857 m_errorMessage = String::format("Unexpected token '%s'", name); 858 ASSERT(!m_errorMessage.isNull()); 859 } 860 861 NEVER_INLINE void updateErrorMessage(JSTokenType expectedToken) 862 { 863 const char* name = getTokenName(expectedToken); 864 if (name) 865 m_errorMessage = String::format("Expected token '%s'", name); 866 else { 867 if (!getTokenName(m_token.m_type)) 868 updateErrorMessageSpecialCase(m_token.m_type); 869 else 870 updateErrorMessageSpecialCase(expectedToken); 871 } 872 ASSERT(!m_errorMessage.isNull()); 632 void setErrorMessage(String msg) 633 { 634 m_errorMessage = msg; 873 635 } 874 636 … … 970 732 template <DeconstructionKind, class TreeBuilder> ALWAYS_INLINE TreeDeconstructionPattern createBindingPattern(TreeBuilder&, const Identifier&, int depth); 971 733 template <DeconstructionKind, class TreeBuilder> TreeDeconstructionPattern parseDeconstructionPattern(TreeBuilder&, int depth = 0); 972 template <FunctionRequirements, bool nameIsInContainingScope, class TreeBuilder> bool parseFunctionInfo(TreeBuilder&, const Identifier*&, TreeFormalParameterList&, TreeFunctionBody&, unsigned& openBraceOffset, unsigned& closeBraceOffset, int& bodyStartLine, unsigned& bodyStartColumn);734 template <FunctionRequirements, FunctionParseMode, bool nameIsInContainingScope, class TreeBuilder> bool parseFunctionInfo(TreeBuilder&, const Identifier*&, TreeFormalParameterList&, TreeFunctionBody&, unsigned& openBraceOffset, unsigned& closeBraceOffset, int& bodyStartLine, unsigned& bodyStartColumn); 973 735 ALWAYS_INLINE int isBinaryOperator(JSTokenType); 974 736 bool allowAutomaticSemicolon(); … … 1015 777 int m_nonTrivialExpressionCount; 1016 778 const Identifier* m_lastIdentifier; 779 const Identifier* m_lastFunctionName; 1017 780 RefPtr<SourceProviderCache> m_functionCache; 1018 781 SourceElements* m_sourceElements;
Note: See TracChangeset
for help on using the changeset viewer.