promptService.alert wrong display "Unnamed" as title

RESOLVED INCOMPLETE

Status

()

Core
Embedding: APIs
--
minor
RESOLVED INCOMPLETE
7 years ago
2 years ago

People

(Reporter: Lajos Koszti, Unassigned)

Tracking

Other Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0b13pre) Gecko/20110317 Firefox/4.0b13pre
Build Identifier: Mozilla/5.0 (X11; Linux i686; rv:2.0b13pre) Gecko/20110317 Firefox/4.0b13pre

When the browser ask for the master password, the title of the dialog is "Unnamed". Also when I change it, the confirmation dialog which shows that the password has been changed successfully. It happens also when i mistype the current password.

Reproducible: Always

Steps to Reproduce:
1.Go to Edit/Prefences/Security tab
2.Press change master password button
3.Change it
Actual Results:  
The confirmation dialog's title will be Unnamed

Expected Results:  
Something more talkative

Comment 1

7 years ago
Seems to work for me with GNOME on
* English Firefox 4.0 ("Password Required")
* Russian trunk nightly Mozilla/5.0 (X11; Linux x86_64; rv:2.2a1pre) Gecko/20110407 Firefox/4.2a1pre ("Требуется пароль")
* English build 20110317030413 Mozilla/5.0 (X11; Linux i686 on x86_64; rv:2.0b13pre) Gecko/20110317 Firefox/4.0b13pre

Build 23030434-eo had the dialog broken, and in 25204316-ru it WFM.

Comment 2

7 years ago
(In reply to comment #1)
(it also worked with the other MP-related dialogs)

Updated

7 years ago
Version: unspecified → 4.0 Branch
(Reporter)

Comment 3

4 years ago
Created attachment 8406281 [details]
no-master-password-for-alert-dialog.png

Issue still there in Nightly.

Comment 4

4 years ago
it can reproduce on Firefox safe mode?
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Flags: needinfo?(ajnasz)
(Reporter)

Comment 5

4 years ago
(In reply to YF (Yang) from comment #4)
> it can reproduce on Firefox safe mode?

Yes, it happens in safe mode too.
Flags: needinfo?(ajnasz)

Comment 6

4 years ago
Then, clean profile too? clean Firefox installation too? I think it should not have happened.

and could you try:
https://developer.mozilla.org/en/docs/Tools/Scratchpad#Using_Scratchpad_to_access_Firefox_internals
code:
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);
promptService.alert(window,'title','message');
Flags: needinfo?(ajnasz)
(Reporter)

Comment 7

4 years ago
(In reply to YF (Yang) from comment #6)
> Then, clean profile too? clean Firefox installation too? I think it should
> not have happened.
> 
> and could you try:
> https://developer.mozilla.org/en/docs/Tools/
> Scratchpad#Using_Scratchpad_to_access_Firefox_internals
> code:
> var promptService =
> Components.classes["@mozilla.org/embedcomp/prompt-service;1"].
> getService(Components.interfaces.nsIPromptService);
> promptService.alert(window,'title','message');

With a clean profile it looks good.
I tried again with my commonly used profile in safe mode, and 2 or 3 times it showed correct title than incorrect and correct again, but now only unnamed.
The code above shows unnamed too.
Flags: needinfo?(ajnasz)

Updated

4 years ago
Severity: trivial → minor
Component: General → Embedding: APIs
Product: Firefox → Core
Summary: Master password dialog has no title → promptService.alert wrong display "Unnamed" as title
Version: 4.0 Branch → Other Branch

Comment 8

2 years ago
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.