morgan pushed to branch tor-browser-140.0a1-15.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
37eb9b82 by Henry Wilkes at 2025-06-16T17:45:53+00:00
fixup! TB 40597: Implement TorSettings module

TB 43853: Use setByteStringData instead of setData.

- - - - -


1 changed file:

- toolkit/modules/DomainFrontedRequests.sys.mjs


Changes:

=====================================
toolkit/modules/DomainFrontedRequests.sys.mjs
=====================================
@@ -580,7 +580,7 @@ export class DomainFrontRequestBuilder {
       const inStream = Cc[
         "@mozilla.org/io/string-input-stream;1"
       ].createInstance(Ci.nsIStringInputStream);
-      inStream.setData(body, body.length);
+      inStream.setByteStringData(body);
       const upChannel = ch.QueryInterface(Ci.nsIUploadChannel);
       upChannel.setUploadStream(inStream, contentType, body.length);
       ch.requestMethod = method;



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

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


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to