Skip to content

Commit 5a67517

Browse files
committed
Bug 1650837 - Part 1: Fix broken JSProcessActor remoteType filtering, r=kmag
Previously this option wasn't correctly copied from the WebIDL configuration object, meaning that it was always ignored. Differential Revision: https://phabricator.services.mozilla.com/D82448
1 parent f57e6b6 commit 5a67517

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dom/ipc/jsactor/JSProcessActorProtocol.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ JSProcessActorProtocol::FromWebIDLOptions(const nsACString& aName,
5252

5353
RefPtr<JSProcessActorProtocol> proto = new JSProcessActorProtocol(aName);
5454

55+
if (aOptions.mRemoteTypes.WasPassed()) {
56+
MOZ_ASSERT(aOptions.mRemoteTypes.Value().Length());
57+
proto->mRemoteTypes = aOptions.mRemoteTypes.Value();
58+
}
59+
5560
if (aOptions.mParent.WasPassed()) {
5661
proto->mParent.mModuleURI.emplace(aOptions.mParent.Value().mModuleURI);
5762
}

0 commit comments

Comments
 (0)