[Webkit-unassigned] [Bug 174181] New: API::NavigationAction should know how the navigation was initiated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 5 15:39:18 PDT 2017


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

            Bug ID: 174181
           Summary: API::NavigationAction should know how the navigation
                    was initiated
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: andersca at apple.com, beidson at apple.com,
                    mitz at webkit.org, sam at webkit.org

A navigation can be initiated either from API (on Mac/iOS -[WKWebView goBack]) or web content (e.g. a user clicking on a hyperlink). We should pass such information to the embedding client when requesting whether to perform the navigation so that it can make an informed decision.

Although an embedding client can determine that a navigation action was triggered by API by checking if the API::NavigationAction::sourceFrame is nullptr it would be less error prone to add explicit API to query the source of the navigation action.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170705/91c7b3c4/attachment.html>


More information about the webkit-unassigned mailing list