bug1983538-incontrol.landrover.com-alias-WebKitMutationObserver.js (689B)
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 1989241 - incontrol.landrover.com dropdowns do not work 9 * 10 * The page relies on the non-standard WebKitMutationObserver, 11 * which we can simply alias to MutationObserver. 12 */ 13 14 /* globals exportFunction */ 15 16 console.info( 17 "WebKitMutationObserver has been shimmed for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1989241 for details." 18 ); 19 20 window.wrappedJSObject.WebKitMutationObserver = 21 window.wrappedJSObject.MutationObserver;