Closed Bug 1298724 Opened 8 years ago Closed 5 years ago

Bug in StringView code

Categories

(Developer Documentation Graveyard :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: anri82, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
There is a bug in base64 encoding function of StringView(https://developer.mozilla.org/en-US/Add-ons/Code_snippets/StringView)

The bug is described in here http://stackoverflow.com/questions/38085326/fix-this-mozilla-base64-byte-encoder 

What happened?
==============
toBase64() produced incorrect output.

What should have happened?
==========================
.toBase64(); should have produced correct output

Is there anything else we should know?
======================================
On the same note - why won't you put the snippet in a public git repository somewhere?
Product: Mozilla Developer Network → Developer Documentation
This code was written by MDN user fusionchess; we've had this come up with code of his that he posted to MDN before, but haven't yet resolved the question of what to do. I will follow up with him.
I've emailed him and await his reply.
This article has been archived and is no longer being maintained.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.