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 file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
9 document.addEventListener("dialogaccept", onResetProfileAccepted);
11 .getElementById("refreshProfileLearnMore")
12 .addEventListener("click", e => {
14 let retVals = window.arguments[0];
15 retVals.learnMore = true;
19 document.addEventListener("DOMContentLoaded", function() {
21 .getElementById("resetProfileDialog")
23 .classList.add("danger-button");
26 function onResetProfileAccepted() {
27 let retVals = window.arguments[0];