[Webkit-unassigned] [Bug 29598] New: [Qt] QWebPage::createWindow() must call show() for target="blank"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 09:02:33 PDT 2009


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

           Summary: [Qt] QWebPage::createWindow() must call show() for
                    target="blank"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from Nokia internal issue QT-1250

--- Description ---

Consider this implementation:

QWebPage * WebPage::createWindow(QWebPage::WebWindowType type)
{
    qDebug() << Q_FUNC_INFO;
    Q_UNUSED(type);
    WebView * newView = new WebView();
    newView->show(); // HERE
    return newView->page();
}

show() must called for links with target="blank_", in other cases not. This is
inconsistent and leads to confusion. See the second link in
http://www.javascript-coder.com/window-popup/javascript-window-open-example1.html
for an example.

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