[Webkit-unassigned] [Bug 131783] New: [Cocoa] _userInitiated is always NO in WKNavigationAction passed to -webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 16 19:52:41 PDT 2014


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

           Summary: [Cocoa] _userInitiated is always NO in
                    WKNavigationAction passed to
                    -webView:createWebViewWithConfiguration:forNavigationA
                    ction:windowFeatures:
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org


<rdar://problem/16601336>

_userInitiated is always NO in WKNavigationAction passed to -webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:

The reason it’s NO is that the value is decided based on ScriptController::processingUserGesture() at the time WebChromeClient::createWindow() is called, which is only after the policy decision has been made. By then, processingUserGesture() is false.

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