Closed Bug 280511 Opened 20 years ago Closed 20 years ago

posibility of changing the title of alerts

Categories

(Toolkit Graveyard :: Error Console, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: miguela.garcia3, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.5) Gecko/20041210 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.5) Gecko/20041210 Firefox/1.0

The ECMAScript standard says nothing about "alert" function, but it says that
each implementation can add whatever functions they want. So, it would be great
if you could change the title of the "alerts" (the popup of the "alert"
function) with another function or another parameter in the same function.

It should be portable to another systems, because they should ignore the
function or the parameters.

Maybe you can think this wish is stupid, but some clients like to see "Microsoft
Internet Explorer" (in spite of it is spam) better than "[Javascript Console]".
I don't understand it, but the client is who orders, and I think this can be a
good enhacement.

Reproducible: Always

Steps to Reproduce:
1.Execute "alert" function.

Actual Results:  
you can see the title of the alert: "[JavaScript console]"

Expected Results:  
whatever you want. I think it must be changeable from the web page.
This is by design, to ensure that web pages can't spoof app dialogs.  I don't
especially feel like finding the original, but this will never change.  For
application/extension alerts, we have a prompt service.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.