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


Commits:
95d711c9 by Pier Angelo Vendrame at 2023-07-11T16:41:03+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/95d711c9ca424e538bb238d99cd84f153c724e8c

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/95d711c9ca424e538bb238d99cd84f153c724e8c
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