mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 07:02:03 -08:00
Merge branch 'main' of https://github.com/daijro/camoufox
This commit is contained in:
commit
0508808afa
2 changed files with 3 additions and 3 deletions
|
|
@ -870,7 +870,7 @@ function setPostData(httpChannel, postData, headers) {
|
||||||
return;
|
return;
|
||||||
const synthesized = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(Ci.nsIStringInputStream);
|
const synthesized = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(Ci.nsIStringInputStream);
|
||||||
const body = atob(postData);
|
const body = atob(postData);
|
||||||
synthesized.setData(body, body.length);
|
synthesized.setByteStringData(body, body.length);
|
||||||
|
|
||||||
const overriddenHeader = (lowerCaseName) => {
|
const overriddenHeader = (lowerCaseName) => {
|
||||||
if (headers) {
|
if (headers) {
|
||||||
|
|
@ -902,7 +902,7 @@ function convertString(s, source, dest) {
|
||||||
const is = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(
|
const is = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(
|
||||||
Ci.nsIStringInputStream
|
Ci.nsIStringInputStream
|
||||||
);
|
);
|
||||||
is.setData(s, s.length);
|
is.setByteStringData(s, s.length);
|
||||||
const listener = Cc["@mozilla.org/network/stream-loader;1"].createInstance(
|
const listener = Cc["@mozilla.org/network/stream-loader;1"].createInstance(
|
||||||
Ci.nsIStreamLoader
|
Ci.nsIStreamLoader
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
version=135.0
|
version=135.0
|
||||||
release=beta.21
|
release=beta.22
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue