Closed
Bug 534781
Opened 15 years ago
Closed 15 years ago
Testsuite: base64-encode atob() is broken
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(thunderbird3.0 .5-fixed)
RESOLVED
FIXED
Thunderbird 3.1b1
Tracking | Status | |
---|---|---|
thunderbird3.0 | --- | .5-fixed |
People
(Reporter: BenB, Assigned: BenB)
References
Details
Attachments
(1 file)
3.19 KB,
patch
|
jcranmer
:
review+
standard8
:
superreview+
standard8
:
approval-thunderbird3.0.5+
|
Details | Diff | Splinter Review |
atob() (base64-encode) in mailnews/test/resources/mailTestUtils.js is broken
(btoa() works):
atob(btoa(plain)) == plain
fails with "116101115116116101115116116101115116" != "testtesttest"
Attaching fix. Thanks to jcranmer (author) for the pointer.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #417599 -
Flags: review?(Pidgeot18)
Assignee | ||
Comment 2•15 years ago
|
||
Comment on attachment 417599 [details] [diff] [review]
Fix, v1
standard8, please r and/or sr. Should be straight-forward.
Attachment #417599 -
Flags: superreview?(bugzilla)
Assignee | ||
Comment 3•15 years ago
|
||
Comment 4•15 years ago
|
||
Comment on attachment 417599 [details] [diff] [review]
Fix, v1
If it works...
Attachment #417599 -
Flags: review?(Pidgeot18) → review+
Assignee | ||
Comment 5•15 years ago
|
||
Updated•15 years ago
|
Attachment #417599 -
Flags: superreview?(bugzilla) → superreview+
Assignee | ||
Comment 6•15 years ago
|
||
remind self: commit
Assignee | ||
Comment 7•15 years ago
|
||
Commited to comm-central trunk:
<http://hg.mozilla.org/comm-central/rev/69c6658a1102>
FIXED
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
status-thunderbird3.0:
--- → ?
Flags: in-testsuite+
Target Milestone: --- → Thunderbird 3.1b1
Version: 1.9.1 Branch → Trunk
Comment 8•15 years ago
|
||
Comment on attachment 417599 [details] [diff] [review]
Fix, v1
Although we're not really dependent on this on the 3.0.x branch at the moment, I'd feel safer for taking it onto that branch in case a test relies on it later.
Attachment #417599 -
Flags: approval-thunderbird3.0.5+
Updated•15 years ago
|
Comment 9•15 years ago
|
||
Checked in on 1.9.1 branch: http://hg.mozilla.org/releases/comm-1.9.1/rev/cbd498a1b922
Comment 10•15 years ago
|
||
Verifying on 3.0 as the patch has landed on branch and the tests are passing (plus this is a test-only bug).
Keywords: verified-thunderbird3.0
You need to log in
before you can comment on or make changes to this bug.
Description
•