Closed
Bug 1365767
Opened 7 years ago
Closed 7 years ago
Stop bootlegging TextEncoder and TextDecoder from osfile.jsm
Categories
(DevTools :: General, enhancement)
DevTools
General
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
There are a few places in devtools that import TextEncoder and TextDecoder from osfile.jsm like this: const {TextEncoder, OS} = Cu.import("resource://gre/modules/osfile.jsm", {}); osfile.jsm doesn't define either of them; they are just regular properties on the global. I think it would be better to add them to builtin-modules.js, akin to atob and btoa. In addition to being nicer, this will break if we start sharing globals for jsms (bug 1186409).
Assignee | ||
Comment 1•7 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=92966d66cffc4ab7faeef64d2f6a279179a1de8b
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8869117 [details] Bug 1365767 - Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. https://reviewboard.mozilla.org/r/140752/#review144190 Thanks, looks good to me. :)
Attachment #8869117 -
Flags: review?(jryans) → review+
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/756d4609d486 Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. r=jryans
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/756d4609d486
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•