WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
192208
WKWebViewConfiguration.allowsAirPlayForMediaPlayback is always true
https://bugs.webkit.org/show_bug.cgi?id=192208
Summary
WKWebViewConfiguration.allowsAirPlayForMediaPlayback is always true
samman
Reported
2018-11-29 19:09:25 PST
Created
attachment 356108
[details]
The attachment is a screenshot of a test code that instantiates a WKWebView with a WKWebConfiguration whose `allowsAirPlayForMediaPlayback` is set as `false`, but fails when we assert this later. The `allowsAirPlayForMediaPlayback` property of `WKWebView` is always true. Attached is a screenshot of a test code that instantiates a WKWebView with a WKWebConfiguration whose `allowsAirPlayForMediaPlayback` is set as `false`. However, once a WKWebView gets initialized with the WKWebConfiguration, it's configuration's `allowsAirPlayForMediaPlayback` is always `true` Steps to Reproduce: ``` let config = WKWebViewConfiguration() config.allowsAirPlayForMediaPlayback = false let webView = WKWebView(frame: .zero, configuration: config) XCTAssertFalse(webView.configuration.allowsAirPlayForMediaPlayback) ``` Expected Results: Assert statement should have passed. Actual Results: Assert statement fails.
Attachments
The attachment is a screenshot of a test code that instantiates a WKWebView with a WKWebConfiguration whose `allowsAirPlayForMediaPlayback` is set as `false`, but fails when we assert this later.
(39.45 KB, image/png)
2018-11-29 19:09 PST
,
samman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-12-03 10:43:54 PST
<
rdar://problem/46423666
>
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