1994704-avlguest.justice.nsw.gov.au-shim-mozRTC-APIs.js (894B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 /** 8 * Bug 1994704 - avlguest.justice.nsw.gov.au test page does not load 9 * 10 * The page relies on non-standard mozRTCPeerConnection, which is no longer 11 * needed. We can just set it to RTCPeerConnection. 12 */ 13 14 /* globals exportFunction */ 15 16 console.info( 17 "moz-prefixed JS APIs are being shimmed for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1994704 for details." 18 ); 19 20 window.wrappedJSObject.mozRTCPeerConnection = 21 window.wrappedJSObject.RTCPeerConnection; 22 23 window.wrappedJSObject.mozRTCSessionDescription = 24 window.wrappedJSObject.RTCSessionDescription; 25 26 window.wrappedJSObject.mozRTCIceCandidate = 27 window.wrappedJSObject.RTCIceCandidate;