tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1927121-southerndevilhd.com-shim-WebkitMutationObserver.js (696B)


      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 1927121 - southerndevilhd.com product thumbnails do not appear
      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=1927121 for details."
     18 );
     19 
     20 window.wrappedJSObject.WebKitMutationObserver =
     21  window.wrappedJSObject.MutationObserver;