[Webkit-unassigned] [Bug 17171] [Gtk] script-confirm and script-prompt signals are not binding-friendly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 08:56:05 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=17171





--- Comment #13 from Martin Robinson <mrobinson at webkit.org>  2012-02-23 08:56:05 PST ---
(In reply to comment #12)

> I still think they are different things and should be handled differently, alert, confirm and prompt are modal dialogs too, so having alert, confirm, prompt and modal is indeed confusing. Also, as I said, alert, confirm and prompt are dialogs to show a message, or get user inoput, they are not supposed to show a web view, while window.showModalDialog() is actually a shortcut for window.open with the dialog feature. 

I don't necessarily disagree that the showModalDialog support should be a separate API, but do note that showModalDialog has a return value and is used for getting user input, much like the prompt API:

https://developer.mozilla.org/en/DOM/window.showModalDialog

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



More information about the webkit-unassigned mailing list