[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.0esrbase-13.0-1] fixup! Bug 40069: Add helpers for message passing with extensions

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Tue Jul 11 12:57:21 UTC 2023



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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230711/d6e5a5e1/attachment.htm>


More information about the tbb-commits mailing list