[Webkit-unassigned] [Bug 107705] New: [Qt] window.open passes height and width parameters even if not defined in a page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 23 10:42:51 PST 2013


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

           Summary: [Qt] window.open passes height and width parameters
                    even if not defined in a page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pejakm at gmail.com


In latest qtwebkit, unlike in previous stable versions, there's issue with top links in Gmail, when using QupZilla web browser (which supports javascript popup windows). Those links are not opening in new tab, as they do with qtwebkit 2.2, but rather they open in a popup window with 100x100 px in dimension.

Web browsers (behaviour tested in Opera, for example) process window.popup request like this:

 - if the height and width parameters are defined a popup window with the defined dimensions is opened
 - if heoight/width aren't defined then a window is opened in a new tab

This is the exact same behaviour of qtwebkit 2.2, but with the version 2.3 it seems that if no width/height in window.open request is defined a default minimum of 100px is passed to a browser.

(QupZilla web browser workarounded this for qtwebkit-2.3 by checking if the popup window has width and height of 100px: https://github.com/QupZilla/qupzilla/commit/2135ab8d13d221fb45d53419fcc9019ddaf4a070)

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