Closed
Bug 1499274
Opened 7 years ago
Closed 7 years ago
DataCloneError when assigning runtime.sendMessage to variable
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox64 | --- | affected |
People
(Reporter: emmybaylove, Unassigned)
Details
When attempting to assign runtime.sendMessage to a variable like so:
var sendMsg = (a) => { browser.runtime.sendMessage(a) }
The following is printed in the debug console:
> DataCloneError: The object could not be cloned.
Calling sendMsg(message) still works as expected.
Comment 1•7 years ago
|
||
Hi Emmy,
Can you please give me some detailed steps to reproduce? I need to confirm/triage it and then probably even verify the fix.
Thanks.
Flags: needinfo?(emmybaylove)
Found that my issue was that I attempted to send an unserializable object through runtime.sendMessage(). Marking as resolved since I can't reproduce the issue using a valid object.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(emmybaylove)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•