/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var AboutRestartRequired = { /* Only do autofocus if we're the toplevel frame; otherwise we don'twanttocallattentiontoourselves!Thekeypartis thatautofocushappensoninsertionintothetree,sowe canremovethebutton,add@autofocus,andreinsertthe button.
*/
addAutofocus() { if (window.top == window) { var button = document.getElementById("restart"); var parent = button.parentNode;
button.remove();
button.setAttribute("autofocus", "true");
parent.insertAdjacentElement("afterbegin", button);
}
},
restart() {
Services.startup.quit(
Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit
);
},
init() { this.addAutofocus();
},
};
AboutRestartRequired.init();
let restartButton = document.getElementById("restart");
restartButton.onclick = function () {
AboutRestartRequired.restart();
};
// Dispatch this event so tests can detect that we finished loading the page.
let event = new CustomEvent("AboutRestartRequiredLoad", { bubbles: true });
document.dispatchEvent(event);
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.