Closed Bug 1447063 Opened 7 years ago Closed 2 years ago

Change self-hosted ES6 modules code to call functions/accessors by their intrinsic names instead of as methods on ModuleObject

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox61 --- affected

People

(Reporter: till, Unassigned)

References

(Blocks 1 open bug)

Details

Right now, the self-hosted code for ES6 modules uses methods and accessors installed on ModuleObject.prototype. All of these are self-hosted or C++-implemented functions, and ModuleObjects don't ever leak to content. What we should be doing for the methods at the very least is call them by their intrinsic names. E.g., `callFunction(module.getExportedNames, module)` would become `callFunction(ModuleGetExportedNames, module)`.
Priority: -- → P3

Self-hosted modules code was removed in bug 1774454.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.