Closed Bug 1375133 Opened 7 years ago Closed 7 years ago

Remove unnecessary imports of btoa and atob in services/ code

Categories

(Cloud Services :: Firefox: Common, enhancement)

enhancement
Not set
normal

Tracking

(firefox56 fixed)

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

There are a few places in services/ tests that import btoa and atob, but this is not necessary, because those are both defined on the XPCShell global (by glob_functions in XPCShellImpl.cpp). It sounds like it didn't work at some point on B2G (see bug 937114) but that isn't relevant any more. I want to fix this because the way these properties are imported will break with shared JSM globals.
Comment on attachment 8880106 [details]
Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code.

https://reviewboard.mozilla.org/r/151478/#review156512

rs=me!
Attachment #8880106 - Flags: review?(markh) → review+
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf00db12a779
Remove unnecessary imports of btoa and atob in services/ code. r=markh
https://hg.mozilla.org/mozilla-central/rev/bf00db12a779
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: