[Webkit-unassigned] [Bug 73818] New: [Qt] Extend QQuickWebview::navigationRequested API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 5 03:54:26 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73818
Summary: [Qt] Extend QQuickWebview::navigationRequested API
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hausmann at webkit.org
CC: vestbo at webkit.org, laszlo.1.gombos at nokia.com,
jesus at webkit.org, alexis.menard at openbossa.org,
cmarcelo at webkit.org
The NavigationRequest object provided as argument to QQuickWebView::navigationRequested provides the following properties:
QUrl url (read-only)
int button (read-only)
int modifiers (read-only)
int action (to be set)
On the WK2 C API level we get additional parameters:
The frame the request belongs to
The page the frame belongs to
The navigation type
We should consider extending our API to at least expose the url of the frame requesting. This and perhaps other properties
may be essential in the decision making of the application about whether to accept or ignore the request.
While we're at it: The QQuickWebView::NavigationRequestAction enum (correspond go the action property) contains Accept, Ignore
as well as Download as values. Given that we do not intend to expose the download API initially, perhaps we should hide "Download"
from the public API (and make it only visible in experimental perhaps, i.e. you write request.action = WebView.experimental.DownloadRequest).
--
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