Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement window.atob/btoa #3082

Merged
merged 1 commit into from Aug 19, 2014
Merged

Implement window.atob/btoa #3082

merged 1 commit into from Aug 19, 2014

Conversation

@ChrisParis
Copy link
Contributor

ChrisParis commented Aug 13, 2014

This provides functionality required in #3020. The implementation uses serialize::base64, but some preprocessing is required in order to match the HTML spec and pass the wpt tests. It's possible to improve efficiency by performing the extra work inline, within the serialize::base64 implementation, if it's desireable to change the standard library to match the web spec. For now, here's an implementation that passes the wpt tests and uses the Rust library as it is today.

@hoppipolla-critic-bot
Copy link

hoppipolla-critic-bot commented Aug 13, 2014

Critic review: https://critic.hoppipolla.co.uk/r/2346

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

Manishearth added a commit that referenced this pull request Aug 19, 2014
Implement window.atob/btoa; r=Manishearth
@Manishearth Manishearth merged commit 80c001b into servo:master Aug 19, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
@ChrisParis ChrisParis deleted the ChrisParis:atob branch Apr 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.