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

Commit

Permalink
fix(XHR.responseBlob): don't access XHR.responseBlob on old android w…
Browse files Browse the repository at this point in the history
…ebkit (#329)
  • Loading branch information
Kombu authored and mhevery committed Jun 30, 2016
1 parent 29436e9 commit ed69756
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ export function patchClass(className) {

let prop;
for (prop in instance) {
// https://bugs.webkit.org/show_bug.cgi?id=44721
if (className === 'XMLHttpRequest' && prop === 'responseBlob') continue;
(function (prop) {
if (typeof instance[prop] === 'function') {
_global[className].prototype[prop] = function () {
Expand Down

0 comments on commit ed69756

Please sign in to comment.