diff options
author | bcoe <bencoe@google.com> | 2019-09-29 14:15:39 -0700 |
---|---|---|
committer | Benjamin Coe <bencoe@google.com> | 2019-10-05 17:08:00 -0700 |
commit | e1e2f669f65fd53323b8a58d80ed3cee039706b7 (patch) | |
tree | 582baba1511e57a9915b379d0f263cb29fb6c38f /test/fixtures/source-map/uglify-throw-original.js | |
parent | 739f113ba63367a93e1567032d85573a079b97b5 (diff) | |
download | android-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.tar.gz android-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.tar.bz2 android-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.zip |
process: add source-map support to stack traces
PR-URL: https://github.com/nodejs/node/pull/29564
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/fixtures/source-map/uglify-throw-original.js')
-rw-r--r-- | test/fixtures/source-map/uglify-throw-original.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixtures/source-map/uglify-throw-original.js b/test/fixtures/source-map/uglify-throw-original.js new file mode 100644 index 0000000000..099faa175d --- /dev/null +++ b/test/fixtures/source-map/uglify-throw-original.js @@ -0,0 +1,10 @@ +/* + * comments dropped by uglify. + */ +function Hello() { + throw Error('goodbye'); +} + +setImmediate(function() { + Hello(); +}); |