Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
"use strict";
/**
*
* They are using a library named PACE, which has a timing bug with Firefox
* which breaks page loads (due to a stuck progress indicator) on Windows.
*/
/* globals exportFunction */
(function () {
const win = window.wrappedJSObject;
let val = new win.Object();
val.eventLag = false;
Object.defineProperty(win, "paceOptions", {
configurable: true,
get: exportFunction(function () {
return val;
}, window),
set: exportFunction(function (_val) {
val = _val;
}, window),
});
})();