Closed Bug 1778089 Opened 3 years ago Closed 3 years ago

Improve error information when loading an ESM fails

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: jonco, Assigned: arai)

References

Details

Attachments

(3 files)

Right now there's little to show what went wrong. This is not a good experience for developers.

Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/365ffb7191e5 Part 1: Check the detail of the thrown error in system ESM import failure. r=jonco https://hg.mozilla.org/integration/autoland/rev/47d34472b3bc Part 2: Report error when mozJSModuleLoader::LoadSingleModuleScript fails. r=jonco https://hg.mozilla.org/integration/autoland/rev/04321b7b8cfe Part 3: Add more test for ChromeUtils.importESModule. r=jonco
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/f9ca32e00a34 Part 1: Check the detail of the thrown error in system ESM import failure. r=jonco https://hg.mozilla.org/integration/autoland/rev/40c499c59fc6 Part 2: Report error when mozJSModuleLoader::LoadSingleModuleScript fails. r=jonco https://hg.mozilla.org/integration/autoland/rev/f5a257fc464f Part 3: Add more test for ChromeUtils.importESModule. r=jonco
Flags: needinfo?(arai.unmht)
See Also: → 1791292
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: