[tbb-commits] [Git][tpo/applications/tor-browser][base-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 14:41:09 UTC 2023



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.


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


More information about the tbb-commits mailing list