Closed Bug 608170 Opened 15 years ago Closed 15 years ago

ChromeWorkers should have atob, btoa

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8
Tracking Status
blocking2.0 --- beta8+

People

(Reporter: philikon, Assigned: bent.mozilla)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

In order to be able to implement WeaveCrypto in a ChromeWorker, we need atob and btoa available in ChromeWorkers.
blocking2.0: --- → beta8+
Attached patch Patch, v1Splinter Review
This consolidates our other two uses of atob/btoa and moves everything to nsXPConnect. Has tests too.
Assignee: nobody → bent.mozilla
Status: NEW → ASSIGNED
Attachment #487479 - Flags: review?(jst)
Attachment #487479 - Flags: review?(jst) → review+
For the record, there's a windows only problem with the patch, Ben is fixing...
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 439276
Keywords: dev-doc-needed
Target Milestone: --- → mozilla2.0b8
I've written a new article, "Functions available to workers", that lists these and other functions workers can use. Please take a look: https://developer.mozilla.org/En/DOM/Worker/Functions_available_to_workers While I was at it, I cleaned up the main Worker article, updated the ChromeWorker article, and inserted links to the new article throughout the Worker docs.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: