Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit ed69756

Browse files
Kombumhevery
Kombu
authored andcommitted
fix(XHR.responseBlob): don't access XHR.responseBlob on old android webkit (#329)
1 parent 29436e9 commit ed69756

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lib/common/utils.ts

+2
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ export function patchClass(className) {
260260

261261
let prop;
262262
for (prop in instance) {
263+
// https://bugs.webkit.org/show_bug.cgi?id=44721
264+
if (className === 'XMLHttpRequest' && prop === 'responseBlob') continue;
263265
(function (prop) {
264266
if (typeof instance[prop] === 'function') {
265267
_global[className].prototype[prop] = function () {

0 commit comments

Comments
 (0)