Skip to content

Commit 9b6fc12

Browse files
author
Capacitor+ Bot
committed
chore: sync upstream PR ionic-team#7732 from @CatsJuice
2 parents 270d700 + ce56a1d commit 9b6fc12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/native-bridge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ const initBridge = (w: any): void => {
858858
return xhr;
859859
} as unknown as PatchedXMLHttpRequestConstructor;
860860

861+
window.XMLHttpRequest.prototype = win.CapacitorWebXMLHttpRequest.prototype;
861862
Object.assign(window.XMLHttpRequest, win.CapacitorWebXMLHttpRequest.fullObject);
862863
}
863864
}

0 commit comments

Comments
 (0)