I'd like to use the shiny new Fetch API in a JSM. I *guess* this means Ci.importGlobalProperties should be expanded to expose this.
The correct thing to do for JSMs is to add Exposed=System to the WebIDL (and add tests).
Yes, importGlobalProperties is basically for sandboxes or things we don't want to expose unconditionally for some reason.
Component: XPConnect → DOM
Summary: Cu.importGlobalProperties support for Fetch/GlobalFetch → Add [Exposed=System] to Fetch/GlobalFetch
You need to log in before you can comment on or make changes to this bug.