[Webkit-unassigned] [Bug 37694] New: [Qt] Issue with using QWebPage::setLinkDelegationPolicy...

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 20:46:50 PDT 2010


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

           Summary: [Qt] Issue with using
                    QWebPage::setLinkDelegationPolicy...
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adawit at kde.org


Clicking on the type of links shown below completely renders
QWebPage::setLinkDelegationPolicy(QWebPage::DelegateAllLinks) calls useless:

<a href="javascript:window.location='http://qt.nokia.com'">Click me</a>

When you click on a link like the one above, you will never receive the
linkClicked signal. Instead the click will be treated as a non-click event and
handled internally as if the default QWebPage::DontDelegateLinks is set. I
guess this happens because the click triggers the execution of a javascript
code which might do things other than making navigation requests. Regardless,
the setLinkDelegationPolicy should mention this issue or perhaps there should
be another NavigationType, QWebPage::NavigationTypeJavascript ???

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