Pier Angelo Vendrame pushed to branch tor-browser-115.0esrbase-13.0-1 at The 
Tor Project / Applications / Tor Browser


Commits:
e431eb45 by Pier Angelo Vendrame at 2023-07-11T12:17:35+02:00
fixup! Bug 40069: Add helpers for message passing with extensions

Bug 41877: Fix the NoScript message passing function

- - - - -


1 changed file:

- toolkit/components/extensions/ExtensionParent.sys.mjs


Changes:

=====================================
toolkit/components/extensions/ExtensionParent.sys.mjs
=====================================
@@ -2274,7 +2274,7 @@ async function torSendExtensionMessage(extensionId, 
message) {
   // pages listening to browser.runtime.onMessage.
   const result = await ProxyMessenger.conduit.castRuntimeMessage("messenger", {
     extensionId,
-    holder: new StructuredCloneHolder(message),
+    holder: new StructuredCloneHolder("torSendExtensionMessage", null, 
message),
     firstResponse: true,
     sender: {
       id: extensionId,



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e431eb45eac6ea371f6b8a5cedc2da93d2ade972

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e431eb45eac6ea371f6b8a5cedc2da93d2ade972
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to