If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Unable to send error objects in IAC response

RESOLVED FIXED in FxOS-S11 (13Nov)

Status

Firefox OS
Sync
P3
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: michielbdejong, Assigned: michielbdejong)

Tracking

(Blocks: 1 bug)

unspecified
FxOS-S11 (13Nov)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Seeing "Sending message that cannot be cloned. Are you trying to send an XPCOM object?" From InterAppMessagePort.js line 107 when the DataAdapter throws an IndexedDB error. We should probably send error.message instead of trying to send the whole error object.
(Assignee)

Updated

2 years ago
Assignee: nobody → mbdejong
Blocks: 824026
Priority: -- → P3
Target Milestone: --- → FxOS-S10 (30Oct)

Updated

2 years ago
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
(Assignee)

Comment 1

2 years ago
To reproduce, try for instance accessing an object that is not defined from e.g. the history adapter, to trigger a ReferenceError.
(Assignee)

Comment 2

2 years ago
I think the error is thrown by Gecko, possibly referring to http://mdn.beonex.com/en/NsMemory/Clone.html

Comment 3

2 years ago
Created attachment 8686618 [details] [review]
[gaia] michielbdejong:1218383-error-details-in-iac-response > mozilla-b2g:master
(Assignee)

Comment 4

2 years ago
Comment on attachment 8686618 [details] [review]
[gaia] michielbdejong:1218383-error-details-in-iac-response > mozilla-b2g:master

(still waiting for TreeHerder).
Attachment #8686618 - Flags: review?(ferjmoreno)

Updated

2 years ago
Attachment #8686618 - Flags: review?(ferjmoreno) → review+

Comment 5

2 years ago
https://github.com/mozilla-b2g/gaia/commit/9de54c9e85f93dc2f02c9d43f24b9921f4f92468
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.