summaryrefslogtreecommitdiffstats
path: root/toolkit/components/prompts/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/prompts/src')
-rw-r--r--toolkit/components/prompts/src/CommonDialog.sys.mjs4
-rw-r--r--toolkit/components/prompts/src/Prompter.sys.mjs5
2 files changed, 3 insertions, 6 deletions
diff --git a/toolkit/components/prompts/src/CommonDialog.sys.mjs b/toolkit/components/prompts/src/CommonDialog.sys.mjs
index 22b6921917..a0812aa8ec 100644
--- a/toolkit/components/prompts/src/CommonDialog.sys.mjs
+++ b/toolkit/components/prompts/src/CommonDialog.sys.mjs
@@ -137,10 +137,6 @@ CommonDialog.prototype = {
commonDialogEl.ownerDocument.title = title;
}
- if (this.ui.spinnerContainer && this.args.showSpinner) {
- this.ui.spinnerContainer.hidden = false;
- }
-
// Set button labels and visibility
//
// This assumes that button0 defaults to a visible "ok" button, and
diff --git a/toolkit/components/prompts/src/Prompter.sys.mjs b/toolkit/components/prompts/src/Prompter.sys.mjs
index ce17f1b457..a0b5edca2f 100644
--- a/toolkit/components/prompts/src/Prompter.sys.mjs
+++ b/toolkit/components/prompts/src/Prompter.sys.mjs
@@ -1058,7 +1058,7 @@ class ModalPrompter {
closed = true;
});
Services.tm.spinEventLoopUntilOrQuit(
- "prompts/Prompter.jsm:openPromptSync",
+ "prompts/Prompter.sys.mjs:openPromptSync",
() => closed
);
}
@@ -1474,7 +1474,8 @@ class ModalPrompter {
}
if (flags & Ci.nsIPrompt.SHOW_SPINNER) {
- args.showSpinner = true;
+ // When bug 1879550 is fixed, add a higher-res version here
+ args.headerIconURL = "chrome://global/skin/icons/loading.png";
}
if (this.async) {