SharedArrayRawBufferRefs is not exported
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: sfink, Assigned: mail)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr78+
|
Details | Review |
Reported on the mailing list. SharedArrayRawBufferRefs is not marked JS_PUBLIC_API but is a member of JSStructuredCloneData which is JS_PUBLIC_API.
This defect prevents external embedders to use Spidermonkey C++ StructuredClone API. Observed since ESR version 60.
Updated•4 years ago
|
This is still bugged in SM78. It'd be good to fix it for the next ESR - we currently have to ask distributions to apply this patch, which is rather annoying.
Assignee | ||
Comment 3•3 years ago
|
||
I can confirm this is still the case, the only workaround is leaking right now...
Assignee | ||
Comment 4•3 years ago
|
||
This is used by StructuredClone and if it is not exported it's not
possible to get linking done.
JSStructuredCloneData::~JSStructuredCloneData()':
/usr/include/mozjs-78/js/StructuredClone.h:459:
undefined reference to
`js::SharedArrayRawBufferRefs::~SharedArrayRawBufferRefs()
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a32d15411ed3 Move JSStructuredCloneData destructor into private impl r=sfink
Assignee | ||
Comment 6•3 years ago
|
||
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This patch makes possible that a public API is usable by embedders
- User impact if declined: No impact to Firefox. Embedders will need to wait for the next ESR upgrade if they want to use
JSStructuredCloneData
API. - Fix Landed on Version: 90
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is low risk because it won't change anything for Firefox
- String or UUID changes made by this patch: None
Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9219903 [details]
Bug 1644600 - Move JSStructuredCloneData destructor into private impl r?sfink
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration:
- User impact if declined:
- Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String or UUID changes made by this patch:
Comment 8•3 years ago
|
||
bugherder |
Comment 9•3 years ago
|
||
Comment on attachment 9219903 [details]
Bug 1644600 - Move JSStructuredCloneData destructor into private impl r?sfink
Approved for 78.11esr. I guess we're not worried about uplifting to Beta for Fx89 since this only affects SM embedders anyway.
Comment 10•3 years ago
|
||
bugherder uplift |
Description
•