Closed Bug 1241359 Opened 8 years ago Closed 6 years ago

Make AppConstants.jsm work with common js loaders

Categories

(DevTools :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

We can't Cu.import things in workers, but we can use common js requires.
Severity: normal → enhancement
Product: Firefox → DevTools
I think this works now. I can see a few instances of const { AppConstants } = devtools.require("resource://gre/modules/AppConstants.jsm"); in devtools.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.