diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-06 23:05:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 23:05:36 -0500 |
commit | c113df1bb8a0c7d0c560ad32c0291c918c7da7b4 (patch) | |
tree | 0d15de448be602c22aecb2ec65ac7667c437a209 /js/v8_source_maps_test.ts | |
parent | 568ac0c9026b6f4012e2511a026bb5eb31a06020 (diff) |
Process source maps in Rust instead of JS (#1280)
- Improves speed and binary size significantly.
- Makes deno_last_exception() output a JSON structure.
- Isolate::execute and Isolate::event_loop now return
structured, mapped JSError objects on errors.
- Removes libdeno functions:
libdeno.setGlobalErrorHandler()
libdeno.setPromiseRejectHandler()
libdeno.setPromiseErrorExaminer()
In collaboration with Ryan Dahl.
Diffstat (limited to 'js/v8_source_maps_test.ts')
-rw-r--r-- | js/v8_source_maps_test.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/js/v8_source_maps_test.ts b/js/v8_source_maps_test.ts deleted file mode 100644 index 90c123431..000000000 --- a/js/v8_source_maps_test.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. -import { test, assert, assertEqual } from "./test_util.ts"; - -// This test demonstrates a bug: -// https://github.com/denoland/deno/issues/808 -test(function evalErrorFormatted() { - let err; - try { - eval("boom"); - } catch (e) { - err = e; - } - assert(!!err); - // tslint:disable-next-line:no-unused-expression - err.stack; // This would crash if err.stack is malformed - assertEqual(err.name, "ReferenceError"); -}); |