UglifyJS/test/mocha
Anthony Van de Gejuchte 27d3669800 Don't allow escaped surrogated identifiers + introduce ascii_identifiers
Don't use 2 characters for surrogates in identifiers because there is
support for the \u{} syntax when escaped identifiers were introduced.

Also catch eof errors while reading identifier names

Introduce ascii_identifiers:

By setting ascii_identifiers to undefined (default value),
ascii_identifiers will print identifiers using the same setting as
ascii_only within the limits of the ecmascript 6 grammar.

ascii_identifiers accept true and false, allowing identifiers to be
printed under different settings than strings with the ascii_only setting.
2016-08-14 21:36:06 +02:00
..
arguments.js Make arguments test slightly more strict 2016-01-15 00:04:05 +01:00
arrow.js Restrict yield outside generators in strict mode 2016-06-19 21:03:36 +02:00
builtins.js Add more globals, whereof most defined after es5.1 2016-07-21 16:52:04 +02:00
class.js Restrict yield outside generators in strict mode 2016-06-19 21:03:36 +02:00
cli.js Make distinction between * method and * operator 2016-07-29 21:31:08 +02:00
comment_before_constant.js Retain comments before AST_Constants during mangle. 2016-05-04 20:11:45 +02:00
comment-filter.js Add some tests for comment-filters through api 2016-01-19 19:14:19 +01:00
comment.js Improve multi-line comment parsing 2016-07-12 00:08:35 +02:00
directives.js Keep master in sync with harmony 2016-06-20 18:42:17 +02:00
eof.js Don't allow escaped surrogated identifiers + introduce ascii_identifiers 2016-08-14 21:36:06 +02:00
expression.js Add exponentiation operator 2016-06-22 12:23:37 +02:00
function.js Restrict yield outside generators in strict mode 2016-06-19 21:03:36 +02:00
huge-number-of-comments.js Parse comments without recursion to avoid RangeError. 2016-04-16 02:02:47 -04:00
let.js Attempt to increase timeout for mocha let test. 2016-03-15 11:44:09 -04:00
line-endings.js Various LineTerminator changes 2016-06-30 22:12:50 +02:00
minify-file-map.js Allow input files to be map (url->filename) 2016-06-30 22:23:59 +02:00
minify.js Respect quote style in object literals 2016-06-19 21:13:31 +02:00
new.js Throw error if new.target is like new.foo 2016-06-25 19:32:53 +02:00
object.js Various property fixes 2016-07-21 16:50:32 +02:00
spidermonkey.js Don't convert all strings to directives from moz-ast 2016-07-03 12:36:57 +02:00
string-literal.js Various LineTerminator changes 2016-06-30 22:12:50 +02:00
template-string.js Template fixes 2016-07-17 00:36:42 +02:00
unicode.js Don't allow escaped surrogated identifiers + introduce ascii_identifiers 2016-08-14 21:36:06 +02:00
with.js Fix uses_with/uses_eval/directives state in block scope 2016-07-01 15:43:17 +02:00
yield.js Restrict yield outside generators in strict mode 2016-06-19 21:03:36 +02:00