UglifyJS/test
Martijn Swaagman 98f330658f Generate source map data from normalized files
If using `inSourceMap` this fix will ensure the copying of `sourcesContent` is based on potentially normalized `sources` values (https://github.com/mozilla/source-map/blob/master/lib/source-map-consumer.js#L304-L309).

For example `normalize` (https://github.com/mozilla/source-map/blob/master/lib/util.js#L80-L123) will rewrite `./dist/mySource.js` to `dist/mySource.js` in the target `_sources` of the `SourceMapConsumer`. As a result `orig_map.sourceContentFor(source, true);` would return `null` since the orginal `source` was no longer available in the consumer. By using the keys generating from the `SourceMapConsumer.constructor` consistency is ensured.
2016-11-29 20:42:56 +01:00
..
compress Add --mangle-props-debug and fix --mangle-props=unquoted collision 2016-11-29 20:25:39 +01:00
input Add an option for writing inline source map 2016-10-23 21:21:39 +02:00
mocha Generate source map data from normalized files 2016-11-29 20:42:56 +01:00
mocha.js Add mocha tests 2015-12-27 22:38:20 +01:00
mozilla-ast.js Fix mozilla-ast after module loading changes 2015-09-24 18:13:21 +03:00
run-tests.js Pass mangle options to figure_out_scope before mangling in tests 2016-10-27 22:55:49 +02:00
sourcemaps.js Fix #836 2015-10-20 19:48:56 +01:00