WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
142106
Make -[WKNavigationAction _isUserInitiated] method public
https://bugs.webkit.org/show_bug.cgi?id=142106
Summary
Make -[WKNavigationAction _isUserInitiated] method public
Eugene But
Reported
2015-02-27 14:34:13 PST
Correct implementation of popups blocking functionality is not possible without using -[WKNavigationAction _isUserInitiated]. WKNavigationAction passed to webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures: delegate method does not say whether or not the window was open by a user-gesture. When delegate method is called a user may not be touching the view anymore. Popups blocking is a feature supported by every modern browser.
rdar://19989909
Attachments
Add attachment
proposed patch, testcase, etc.
Eugene But
Comment 1
2015-06-03 09:00:44 PDT
Another case where _isUserInitiated information is useful is preventing web adds from opening AppStore apps from a Web Browser.
Eugene But
Comment 2
2019-04-22 08:56:52 PDT
Someone from Apple dev relationship requested we file a new radar. So we filed a new
rdar://50095482
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug