[Webkit-unassigned] [Bug 53600] [GTK] Add support for window.runModalDialog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 10:53:07 PST 2012


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





--- Comment #33 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-02-22 10:53:07 PST ---
(In reply to comment #30)
> (In reply to comment #29)
> > > What do you mean by this statement?
> > 
> > I mean there's no other way to create a modal web view. In other words, ChromeClient::runModal() is only called from DOMWindow::showModalDialog(). Please read comment #11.
> 
> "there's no other way to create a modal web view" still makes no sense to me. There's at least one other way, and that's to have an API like the Mac port where the creation of a modal WebView happens in a different delegate method than the create of other child-WebViews. 
> 
> You sent me this link before: https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/WebKit/Protocols/WebUIDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40003838
> 
> Note the webView:createWebViewModalDialogWithRequest: method.

That's called from ChromeClient::createWindow() when the dialog feature is present in WindowFeatures. I'm not sure 'dialog' is a standard feature, I think it's mac specific and we don't support it neither in wk1 nor wk2.

-- 
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