Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn,polyfills) remove no longer needed polyfill

Saúl Ibarra Corretgéa451923ec92d
diff --git a/react/features/mobile/polyfills/browser.js b/react/features/mobile/polyfills/browser.js
index 506869eff5..f425feba5f 100644
--- a/react/features/mobile/polyfills/browser.js
+++ b/react/features/mobile/polyfills/browser.js
@@ -295,29 +295,6 @@ function _visitNode(node, callback) {
require('react-native-callstats/csio-polyfill');
global.callstats = require('react-native-callstats/callstats');
- // XMLHttpRequest
- if (global.XMLHttpRequest) {
- const { prototype } = global.XMLHttpRequest;
-
- // XMLHttpRequest.responseXML
- //
- // Required by:
- // - Strophe
- if (prototype && !prototype.hasOwnProperty('responseXML')) {
- Object.defineProperty(prototype, 'responseXML', {
- get() {
- const { responseText } = this;
-
- return (
- responseText
- && new DOMParser().parseFromString(
- responseText,
- 'text/xml'));
- }
- });
- }
- }
-
// Timers
//
// React Native's timers won't run while the app is in the background, this