Closed Bug 1775424 (import.meta.resolve) Opened 2 years ago Closed 2 years ago

Implement import.meta.resolve

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

(Blocks 1 open bug, )

Details

Attachments

(3 files)

See
https://github.com/WICG/import-maps#importmetaresolve
https://github.com/whatwg/html/pull/5572

standards-positions: worth prototyping
(This is considered as a follow-up for import-maps, so there isn't an entry for import-meta-resolve in https://mozilla.github.io/standards-positions/
, see bgrins' comment comment)

Alias: import-meta-resolve
Alias: import-meta-resolve → import.meta.resolve
Assignee: nobody → allstars.chh
Attachment #9289051 - Attachment description: Bug 1775424 - WIP: draft impl for import.meta.resolve → Bug 1775424 - Impl import.meta.resolve() on browser.
Attachment #9289051 - Attachment description: Bug 1775424 - Impl import.meta.resolve() on browser. → Bug 1775424 - Part 1: Impl import.meta.resolve() on browser.
Pushed by allstars.chh@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/19bc4fafd300
Part 1: Impl import.meta.resolve() on browser. r=jonco,yulia
https://hg.mozilla.org/integration/autoland/rev/a043a84a771c
Part 2: Impl import.meta.resolve in js shell. r=jonco

Backed out 2 changesets (bug 1775424) for causing linux hazard build bustage in js/loader/ModuleLoaderBase.cpp

Backout link: https://hg.mozilla.org/integration/autoland/rev/9c0fe9c1bb3c457728c14eb7adf128660540444c

Push with failures

Failure log

TEST-UNEXPECTED-FAIL | hazards | unrooted '<returnvalue>' of type 'JSString*' live across GC call at js/loader/ModuleLoaderBase.cpp:210
Flags: needinfo?(allstars.chh)
Flags: needinfo?(allstars.chh)
Pushed by allstars.chh@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b3289a628ab0
Part 1: Impl import.meta.resolve() on browser. r=jonco,yulia
https://hg.mozilla.org/integration/autoland/rev/085a937681cf
Part 2: Impl import.meta.resolve in js shell. r=jonco
https://hg.mozilla.org/integration/autoland/rev/21130e45f722
Part 3: Fix GC hazards in ImportMetaResolveImpl. r=jonco
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Depends on: 1801764
No longer depends on: 1801764
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: