Lines Matching refs:SyntaxError
116 assertThrows("/\\u/u", SyntaxError);
117 assertThrows("/\\u12/u", SyntaxError);
118 assertThrows("/\\ufoo/u", SyntaxError);
119 assertThrows("/\\x/u", SyntaxError);
120 assertThrows("/\\xfoo/u", SyntaxError);
121 assertThrows("/\\z/u", SyntaxError);
122 assertThrows("/\\8/u", SyntaxError);
123 assertThrows("/\\9/u", SyntaxError);
125 assertThrows("new RegExp('\\\\u', 'u')", SyntaxError);
126 assertThrows("new RegExp('\\\\u12', 'u')", SyntaxError);
127 assertThrows("new RegExp('\\\\ufoo', 'u')", SyntaxError);
128 assertThrows("new RegExp('\\\\x', 'u')", SyntaxError);
129 assertThrows("new RegExp('\\\\xfoo', 'u')", SyntaxError);
130 assertThrows("new RegExp('\\\\z', 'u')", SyntaxError);
131 assertThrows("new RegExp('\\\\8', 'u')", SyntaxError);
132 assertThrows("new RegExp('\\\\9', 'u')", SyntaxError);
140 assertThrows("/\\u{110000}/u", SyntaxError);
141 assertThrows("new RegExp('\\\\u{110000}', 'u')", SyntaxError);