Closed Bug 1777694 Opened 2 years ago Closed 2 years ago

Cache the result of JSM to ESM fallback in the shim

Categories

(Core :: XPConnect, task, P1)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

If an already-ESMified JSM is loaded with JSM URL, we try loading the JSM URL every time, and then fallback to ESM URL and return the cached data.
We should cache the redirect and do not try to load JSM URL on the subsequent load.

Attachment #9283846 - Attachment description: WIP: Bug 1777694 - Cache the result of JSM to ESM fallback in the shim. r?jonco! → Bug 1777694 - Cache the result of JSM to ESM fallback in the shim. r?jonco!
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: