jcwallet/patches/stream-http+3.2.0.patch
2022-07-07 12:21:40 +08:00

16 lines
817 B
Diff

diff --git a/node_modules/stream-http/lib/capability.js b/node_modules/stream-http/lib/capability.js
index eca7635..916eae9 100644
--- a/node_modules/stream-http/lib/capability.js
+++ b/node_modules/stream-http/lib/capability.js
@@ -45,8 +45,8 @@ exports.arraybuffer = exports.fetch || checkTypeSupport('arraybuffer')
// These next two tests unavoidably show warnings in Chrome. Since fetch will always
// be used if it's available, just return false for these to avoid the warnings.
-exports.msstream = !exports.fetch && checkTypeSupport('ms-stream')
-exports.mozchunkedarraybuffer = !exports.fetch && checkTypeSupport('moz-chunked-arraybuffer')
+exports.msstream = false
+exports.mozchunkedarraybuffer = false
// If fetch is supported, then overrideMimeType will be supported too. Skip calling
// getXHR().