[email] Use ArrayBuffer instead of Uint8Array

VERIFIED FIXED

Status

VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: jdm, Assigned: asuth)

Tracking

unspecified
x86_64
Linux

Firefox Tracking Flags

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

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Bug 831107 has landed on birch and mozilla-b2g18, and the email app will break if it's left unmodified.
(Assignee)

Updated

6 years ago
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Summary: Use ArrayBuffer instead of Uint8Array → [email] Use ArrayBuffer instead of Uint8Array
(Assignee)

Comment 1

6 years ago
Created attachment 739607 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/185

Pointer to Github pull-request
(Assignee)

Updated

6 years ago
Attachment #739607 - Flags: review?(squibblyflabbetydoo)
(Assignee)

Comment 2

6 years ago
This should technically be tef+ because it's the result of the tef+ bug 831107.
blocking-b2g: --- → tef?

Comment 3

6 years ago
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
status-b2g18: --- → fixed
status-b2g18-v1.0.1: --- → fixed
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.

Comment 7

6 years ago
Can you please provide steps to verify this fix - as we will blackbox test from the UI?
(Assignee)

Comment 8

6 years ago
If you can create an IMAP account, the fix works.

Comment 9

6 years ago
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
status-b2g18: fixed → verified
status-b2g18-v1.0.1: fixed → verified
You need to log in before you can comment on or make changes to this bug.