[Webkit-unassigned] [Bug 14489] New: alert box (function) in javascript can be much improved!

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 1 02:24:11 PDT 2007


           Summary: alert box (function) in javascript can be much improved!
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krudtaa at yahoo.com

Today if you use alert() in javascript in Safari beta for windows then
the alert box shows the safari icon to the left of the text.

Why display the Safari icon. Pretty much nothing to do there.

Why not display a similar icon to what you get in Firefox and IE.
That would be more informative.
Alert boxes are for giving a message to the enduser, and are of great help
when building online database frontends (AOT). Why whould I want to display 
the Safari icon in an alert box is beyond me!

Then I have allways hated the ugly default title in javascript alerts, 
where you get a useless forced title in e.g. Firefox and IE.
Safari here comes with a new and even uglier solution.
You put the junk "title" above my message to the enduser.

You could do better than all the other browsers out there by checking for 
a second parameter in the alert() function.
I would like to be able to do this:

alert("Message comes here as normal","Title comes here");

Then, the other browsers out there would work as before, and Safari could make
it possible to display a nice title in the alertbox.

Hey you could even make it like this:
If no second parameter is used then display as now (with another icon though),
and if a second parameter is used then put that in title of alert box and do
not put out the junk title before my text.

Can you please implement that?

Then you could follow up on that and also change the confirm accordingly....


Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list