Closed Bug 723159 Opened 12 years ago Closed 12 years ago

Base64.decode not available on eclair

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox11 fixed, firefox13 verified)

RESOLVED FIXED
Firefox 13
Tracking Status
firefox11 --- fixed
firefox13 --- verified

People

(Reporter: blassey, Assigned: blassey)

References

Details

Attachments

(1 file)

We use this for tab screenshots and something else I that I can't remember right now.

W/System.err(  445): java.lang.NoClassDefFoundError: android.util.Base64
W/System.err(  445): 	at org.mozilla.gecko.Tabs.handleMessage(Tabs.java:282)
W/System.err(  445): 	at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java:1645)
W/System.err(  445): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err(  445): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
Depends on: 662891
Attached patch patchSplinter Review
Assignee: nobody → blassey.bugs
Attachment #593543 - Flags: review?(mark.finkle)
Attachment #593543 - Flags: review?(mark.finkle) → review+
Comment on attachment 593543 [details] [diff] [review]
patch

There's a base64 implementation in mobile/android/base/apache/commons/codec/binary/ - can we not reuse that one?
(In reply to Kartikaya Gupta (:kats) from comment #2)
> Comment on attachment 593543 [details] [diff] [review]
> patch
> 
> There's a base64 implementation in
> mobile/android/base/apache/commons/codec/binary/ - can we not reuse that one?

that is from sync, and will hopefully be going away soon. Fennec code should not depend on it.
https://hg.mozilla.org/mozilla-central/rev/9022268bea45
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Comment on attachment 593543 [details] [diff] [review]
patch

[Approval Request Comment]
Regression caused by (bug #): 
User impact if declined:
crash on eclair 
Testing completed (on m-c, etc.): 
Risk to taking this patch (and alternatives if risky):
String changes made by this patch:
Attachment #593543 - Flags: approval-mozilla-beta?
Attachment #593543 - Flags: approval-mozilla-aurora?
Depends on: 723870
Comment on attachment 593543 [details] [diff] [review]
patch

[Triage Comment]
Mobile only - approved for Aurora 12 and Beta 11.
Attachment #593543 - Flags: approval-mozilla-beta?
Attachment #593543 - Flags: approval-mozilla-beta+
Attachment #593543 - Flags: approval-mozilla-aurora?
Attachment #593543 - Flags: approval-mozilla-aurora+
Verified fixed on:

Firefox 13.0a1 (2012-03-06)
20120306031101
http://hg.mozilla.org/mozilla-central/rev/7d0d1108a14e

--
Device: HTC Desire
OS: Android 2.2
Status: RESOLVED → VERIFIED
This bug needs a 2.1 (Eclair) phone to be verified. This is currently broken by other work. To verify you would need to use a build near the checkin date of 2012-02-02.
Status: VERIFIED → RESOLVED
Closed: 12 years ago12 years ago
(In reply to Kevin Brosnan [:kbrosnan] from comment #9)
> This bug needs a 2.1 (Eclair) phone to be verified. This is currently broken
> by other work. To verify you would need to use a build near the checkin date
> of 2012-02-02.

Right, I will check it again on a 2.1 device. My mistake, sorry.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: