Closed Bug 171129 Opened 22 years ago Closed 19 years ago

Alert box titlebar should be &brandShortName; instead of "Alert" or "[Javascript Application]"

Categories

(SeaMonkey :: UI Design, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 298934

People

(Reporter: bamm, Assigned: bugzilla)

References

Details

The default titlebar text of alert boxes should be the &brandShortName; entity
instead of the generic "Alert" or "[Javascript Application]" because these
cannot be appreciated by ordinary people who are not web developers.

In fact, the term [Javascript Application] can scare off newbies into thinking
that some program is taking over their computer. Just putting the title of the
browser makes the experience a lot smoother.
*** Bug 171130 has been marked as a duplicate of this bug. ***
Part of the reason was for security (I thought) - we don't want people to 
create alert boxes that look like they might originate from the browser.

Having said that, IE's alert dialog is titled 'Microsoft Internet Explorer'.  
Perhaps this isn't an issue anymore?  I guess people know that web pages can 
produce alert dialogs, after all.
This looks to be asking for the opposite of bug 31573. Would it make more sense
for the alert/confirm to grab the title of the web page? Or to explictly say
"Web page alert"? Also see bug 132279.
Yes, I do think so. What goes on internally should be hidden from the user. A
message box is a message box. And like all other applications, the default title
of a message box should be the name of the application.

See http://www.mozilla.org/unity-of-interface.html
Since the "opposite" bug 31573 lived in DOM0, this probably belongs there as well.
Assignee: asa → jst
Component: Browser-General → DOM Level 0
QA Contact: asa → desale
Not a DOM problem, over to XP Apps.
Assignee: jst → blaker
Component: DOM Level 0 → XP Apps: GUI Features
QA Contact: desale → paw
Any development on this?
I wouldn't mind replacing "JavaScript application" with "Web page dialog".
Replacing it with the site's hostname would make even more sense.  Replacing it
with "Firefox" would be wrong (the dialog comes from the site, not Firefox) and
bad for security.
I agree w/Jesse. "[Javascript Application]" isn't all that helpful but we *must*
prevent the ability for spoofs to look like the app created the dialog. As
written this bug is a WONTFIX.

Something with the hostname would be better, to prevent one page from spoofing
another. Should this page morph into "improve the js alert (etc) title"?
How about replacing it with the title of the page that called it? Do users 
really distinguish between dialogs made by the app and the page? I don't see 
any reason why "Mozilla" or "Firefox" would be dangerous. It's clean and fits 
into the small titlebar like a dialog title is supposed to.
Product: Core → Mozilla Application Suite

*** This bug has been marked as a duplicate of 298934 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.