[Webkit-unassigned] [Bug 37821] New: [Qt] loads APP directory when calling "window.open"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 14:04:15 PDT 2010


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

           Summary: [Qt] loads APP directory when calling "window.open"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yi.4.shen at nokia.com


When creating a new window by calling "window.open('http://www.cnn.com')", it
loads the "file://$${applicationpath}" because the
ChromeClientQt::createWindow() never check the request whether is empty or not,
and it loads the app directory when the request is empty.

When calling window.open('http://www.cnn.com'), the WebCore::createWindow()
first 1) call client to create a new window 2) load cnn.com by calling
changeLocation(); While in step 1), qt's chrome client always tries to load an
empty request.

I think we should check the request because 1)it helps the performance 
                                            2)I found the gtk's createWindow
checks the request every time. e.g. In ChromeClientGtk.cpp:129

Page* ChromeClient::createWindow(...) {
  ...
  if (!frameLoadRequest.isEmpty())
      webkit_web_view_open(....);
}

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