Bug 134216

Summary: Initialize WKWebViewConfiguration media-related properties to their default values.
Product: WebKit Reporter: Jeremy Jones <jeremyj-wk>
Component: WebKit2Assignee: Jeremy Jones <jeremyj-wk>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, buildbot, commit-queue, eric.carlson, rniwa, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Patch
andersca: review+, buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2
none
Patch for landing. none

Description Jeremy Jones 2014-06-23 15:05:54 PDT
Initialize WKWebViewConfiguration properties to their default values.
Comment 1 Jeremy Jones 2014-06-23 15:08:32 PDT
Created attachment 233639 [details]
Patch
Comment 2 Jeremy Jones 2014-06-23 15:11:23 PDT
<rdar://problem/17308489>
Comment 3 Anders Carlsson 2014-06-23 15:43:36 PDT
Comment on attachment 233639 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=233639&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:82
> +- (instancetype)init {

Newline before {

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:87
> +    _allowsInlineMediaPlayback = NO;

No need to initialize this, it'll be NO by default.

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:91
> +    return self;

I'd add an extra newline here.
Comment 4 Build Bot 2014-06-23 16:17:22 PDT
Comment on attachment 233639 [details]
Patch

Attachment 233639 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/4696655706193920

New failing tests:
media/W3C/video/networkState/networkState_during_loadstart.html
Comment 5 Build Bot 2014-06-23 16:17:25 PDT
Created attachment 233649 [details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-16  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 Jeremy Jones 2014-06-23 21:15:57 PDT
Created attachment 233678 [details]
Patch for landing.
Comment 7 WebKit Commit Bot 2014-06-24 10:24:42 PDT
Comment on attachment 233678 [details]
Patch for landing.

Clearing flags on attachment: 233678

Committed r170371: <http://trac.webkit.org/changeset/170371>