Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 8 - usage of IsSharedMemoryAllowed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61278
This commit is contained in:
@@ -179,7 +179,9 @@ PostMessageEvent::Run() {
|
||||
cloneDataPolicy.allowIntraClusterClonableSharedObjects();
|
||||
}
|
||||
|
||||
// TODO: what about cloneDataPolicy.allowSharedMemoryObjects()
|
||||
if (targetWindow->IsSharedMemoryAllowed()) {
|
||||
cloneDataPolicy.allowSharedMemoryObjects();
|
||||
}
|
||||
|
||||
StructuredCloneHolder* holder;
|
||||
if (mHolder.constructed<StructuredCloneHolder>()) {
|
||||
|
||||
Reference in New Issue
Block a user