[Webkit-unassigned] [Bug 50550] [Qt] QWebPage::createWindow does not recieve the proper window type...

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 8 11:25:12 PST 2010


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


Dawit A. <adawit at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #75780|0                           |1
        is obsolete|                            |
  Attachment #75780|review?                     |
               Flag|                            |
  Attachment #75933|                            |review?
               Flag|                            |




--- Comment #10 from Dawit A. <adawit at kde.org>  2010-12-08 11:25:12 PST ---
Created an attachment (id=75933)
 --> (https://bugs.webkit.org/attachment.cgi?id=75933&action=review)
Proposed patch v3

First disregard my ignorant comment regarding the purpose of the WebModalDialog type. I now see that its purpose is to handle the "window.showModalDialog" Javascript calls and not the "modal" feature of the "window.open" ones. Anyhow, here is the proper implementation I promised with the following new modifications:

- Completely abondon the changes made in the WindowFeatures class as they are not necessary.

- Add a new WebWindowType enum, WebDialog, to make reimplementators of QWebPage::createWindow aware of the kind of window they should create when that function is invoked. In this case WebDialog is used to convey the fact that the window created MUST be a completely new window and not just another tab in the current window as might be the case if type was set to WebBrowserWindow. This makes it possible to provide implementation consistent with other browsers.

- For window.open javascript calles, the WebWindowType parameter of QWebPage::createWindow will be set to WebWindowBrowser only when the windows feature portion the afformentioned javascript call is empty. Again, this is consistent with the implementation in other browsers.

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