Closed Bug 863664 Opened 8 years ago Closed 8 years ago

[email] Use ArrayBuffer instead of Uint8Array

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 verified, b2g18-v1.0.1 verified)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- verified
b2g18-v1.0.1 --- verified

People

(Reporter: jdm, Assigned: asuth)

References

Details

Attachments

(1 file)

Bug 831107 has landed on birch and mozilla-b2g18, and the email app will break if it's left unmodified.
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Summary: Use ArrayBuffer instead of Uint8Array → [email] Use ArrayBuffer instead of Uint8Array
Attachment #739607 - Flags: review?(squibblyflabbetydoo)
This should technically be tef+ because it's the result of the tef+ bug 831107.
blocking-b2g: --- → tef?
Comment on attachment 739607 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/185

rs=me
Attachment #739607 - Flags: review?(squibblyflabbetydoo) → review+
blocking-b2g: tef? → tef+
Uplifted 00fdfe06eecd1ac37a3abcf39cea2bb05cba359a to:
v1-train: c22eef31eb2a090917fdbbd90be5acecf4c18132
v1.0.1: 4078297c08297dfbe67bbd4779960b90a3359143
On gaia master, updated of now with gecko at latest b2g18, I'm getting this:

E/GeckoConsole(  451): [JavaScript Error: "[Exception... "The object could not be cloned."  code: "25" nsresult: "0x80530019 (DataCloneError)"  location: "app://email.gaiamobile.org/js/ext/mailapi/main-frame-setup.js Line: 2536"]" {file: "app://email.gaiamobile.org/js/ext/mailapi/main-frame-setup.js" line: 2536}]
E/GeckoConsole(  451): [JavaScript Error: "[Exception... "The object could not be cloned."  code: "25" nsresult: "0x80530019 (DataCloneError)"  location: "app://email.gaiamobile.org/js/ext/mailapi/main-frame-setup.js Line: 2536"]" {file: "app://email.gaiamobile.org/js/ext/mailapi/main-frame-setup.js" line: 2536}]

when either trying to setup a new account or probing my current one.
Can you please provide steps to verify this fix - as we will blackbox test from the UI?
If you can create an IMAP account, the fix works.
As per comment 8, verified the fix, a user is able to create an IMAP account

Environmental  Variables:
Inari Build ID: 20130430070201
Kernel Date: Feb 21
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/010498e599a7
Gaia: de0f1fc6c58616b8a33fca482f1f8684d4e74e9e

Environmental  Variables:
Leo Build ID: 20130426070204
Kernel Date: Mar 15
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6c2493de1441
Gaia: c9046a7acef33328977840176ff5574720d2c74c
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.