Open
Bug 1478340
Opened 8 years ago
Updated 3 years ago
exportFunction may export an async function inproperly
Categories
(Firefox :: Security, enhancement)
Firefox
Security
Tracking
()
UNCONFIRMED
People
(Reporter: kolan_n, Unassigned)
Details
The functions work in forward direction but the results cannot (or I haven't found the way) be passed back. I also have tried creating a promise of window but promises are not supported by cloneInto. I can try to create a workaround by combination of a global variable set with wrappedJSObject, a DOMEvent and a state machine, but it is very ugly and breakable.
I have found a not so ugly workaround. https://github.com/KOLANICH/webext-experiment-parse/blob/master/extension/contentScript.js#L7
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•