| Summary: | [Cocoa] Allow HTMLMediaElement preload > "metadata" on iPad by default | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | eric.carlson, peng.liu6, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Jer Noble
2021-03-26 09:55:06 PDT
Created attachment 424368 [details]
Patch
Comment on attachment 424368 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424368&action=review > Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:199 > + _mediaDataLoadsAutomatically = !_allowsInlineMediaPlayback; Not a problem of this patch. I am curious whether we can move this line out of the macro. Comment on attachment 424368 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424368&action=review >> Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:199 >> + _mediaDataLoadsAutomatically = !_allowsInlineMediaPlayback; > > Not a problem of this patch. I am curious whether we can move this line out of the macro. Isn't this comparison backwards? Created attachment 427673 [details]
Patch
Committed r276979 (237306@main): <https://commits.webkit.org/237306@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427673 [details]. |