bug1774005-installtrigger-shim.js (806B)
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 1774005 - Generic window.InstallTrigger shim 9 * 10 * This interventions shims window.InstallTrigger to a string, which evaluates 11 * as `true` in web developers browser sniffing code. This intervention will 12 * be applied to multiple domains, see bug 1774005 for more information. 13 */ 14 15 /* globals exportFunction */ 16 17 console.info( 18 "The InstallTrigger has been shimmed for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1774005 for details." 19 ); 20 21 window.wrappedJSObject.InstallTrigger = 22 "This property has been shimmed for Web Compatibility reasons.";