[Webkit-unassigned] [Bug 48035] New: WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 20 18:45:05 PDT 2010


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

           Summary: WebWindowFeatures has a faulty constructor for
                    WebCore::WindowFeatures
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: usaini08 at gmail.com


In WebWindowFeatures.h, in the constructor of WebWindowFeatures that takes in a WebCore::WindowFeatures, we set the xSet/ySet/widthSet/heightSet variables to the same as the values of the passed in object. However, we do not set the corresponding x,y,width, and height variables, and hence if one of those "Set" boolean variables are true, the corresponding underlying variables will not be initialized. This leads to broken code, especially since I know when an underlying popup is created, this implicit constructor is called to transform objects of type WebCore::WindowFeatures into a WebKit::WebWindowFeature.

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