Bug 149421

Summary: Disable Parental Controls on the Apple TV platform
Product: WebKit Reporter: Andy Estes <aestes>
Component: New BugsAssignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, commit-queue, ddkilzer, joepeck, mitz, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch darin: review+

Description Andy Estes 2015-09-21 15:37:56 PDT
Disable Parental Controls on the Apple TV platform
Comment 1 Andy Estes 2015-09-21 15:38:43 PDT
Created attachment 261691 [details]
Patch
Comment 2 Andy Estes 2015-09-21 15:40:13 PDT
<rdar://problem/22781472>
Comment 3 Andy Estes 2015-09-21 15:44:21 PDT
Created attachment 261693 [details]
Patch
Comment 4 Darin Adler 2015-09-21 16:14:30 PDT
Comment on attachment 261693 [details]
Patch

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

> Source/WTF/wtf/Platform.h:522
>  #if !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
>  #define HAVE_AVKIT 1
> -#endif
> -
> -#if !PLATFORM(WATCHOS)
>  #define HAVE_PARENTAL_CONTROLS 1
>  #endif

Wait a second, this *enables* parental controls on PLATFORM(APPLETV)
Comment 5 Andy Estes 2015-09-21 16:18:46 PDT
Comment on attachment 261693 [details]
Patch

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

>> Source/WTF/wtf/Platform.h:522
>>  #endif
> 
> Wait a second, this *enables* parental controls on PLATFORM(APPLETV)

No, it enables it on Cocoa platforms that aren't Apple Watch and Apple TV.
Comment 6 Andy Estes 2015-09-21 16:22:52 PDT
Committed r190089: <http://trac.webkit.org/changeset/190089>