[Webkit-unassigned] [Bug 192208] New: WKWebViewConfiguration.allowsAirPlayForMediaPlayback is always true
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 29 19:09:25 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192208
Bug ID: 192208
Summary: WKWebViewConfiguration.allowsAirPlayForMediaPlayback
is always true
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sammanbikramthapa at gmail.com
Created attachment 356108
--> https://bugs.webkit.org/attachment.cgi?id=356108&action=review
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.
--
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/20181130/a5dfeb99/attachment.html>
More information about the webkit-unassigned
mailing list