-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core/js_error): Get frame data from prepareStackTrace() (#4690)
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <[email protected]>
- Loading branch information
1 parent
195ad4c
commit 8b45083
Showing
11 changed files
with
257 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[WILDCARD] | ||
error: Uncaught BadResource: Bad resource ID | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at BadResource ([WILDCARD]errors.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at async main ([WILDCARD]tests/044_bad_resource.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_004_missing_module.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at NotFound ([WILDCARD]errors.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync[WILDCARD] ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_005_missing_dynamic_import.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at NotFound ([WILDCARD]errors.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync[WILDCARD] ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/non-existent" from "[WILDCARD]/error_006_import_ext_failure.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at NotFound ([WILDCARD]errors.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at sendAsync[WILDCARD] ([WILDCARD]dispatch_json.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
[WILDCARD]error: Uncaught URIError: relative import path "bad-module.ts" not prefixed with / or ./ or ../ Imported from "[WILDCARD]/error_011_bad_module_specifier.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
[WILDCARD]error: Uncaught URIError: relative import path "bad-module.ts" not prefixed with / or ./ or ../ Imported from "[WILDCARD]/error_012_bad_dynamic_import_specifier.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
[WILDCARD]error: Uncaught URIError: relative import path "baz" not prefixed with / or ./ or ../ Imported from "[WILDCARD]/type_definitions/bar.d.ts" | ||
[WILDCARD]dispatch_json.ts:[WILDCARD] | ||
at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at processImports ($deno$/compiler/imports.ts:[WILDCARD]) | ||
at unwrapResponse ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at sendSync ([WILDCARD]ops/dispatch_json.ts:[WILDCARD]) | ||
at resolveModules ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD]) | ||
at async compile ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) | ||
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD]) |
Oops, something went wrong.