Closed Bug 937114 Opened 11 years ago Closed 7 years ago

btoa() and atob() undefined in xpcshell on b2g

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jedp, Unassigned)

Details

The atob() and btoa() functions are undefined in xpcshell in b2g builds (i.e., with --enable-application=b2g)

The functions are, however, defined in browser builds.

For reference, Bug 809218 exposed atob() and btoa() in xpcshell.
A workaround until Bug 937114 is fixed:

  Cu.importGlobalProperties(['atob']);
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.