Bug 147838

Summary: Add WKOriginDataManager entry for MediaDeviceInfoKeys
Product: WebKit Reporter: Matthew Daiter <mdaiter>
Component: WebKit2Assignee: Matthew Daiter <mdaiter>
Status: RESOLVED WONTFIX    
Severity: Normal CC: andersca, beidson, bfulgham, eric.carlson, jer.noble, jonlee, mdaiter, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review-

Description Matthew Daiter 2015-08-10 13:05:53 PDT
Need to teach WebKit2 how to manage the origin of which MediaDeviceInformation key was generated from which website (if we store per website, as was a possibility when discussed).
Comment 1 Matthew Daiter 2015-08-10 13:08:08 PDT
Current API only uses IndexedDataBbaseData type, still should add enum type to conform to other key/storage implementations
Comment 2 Matthew Daiter 2015-08-10 13:10:29 PDT
Created attachment 258642 [details]
Patch
Comment 3 Sam Weinig 2015-08-10 13:50:42 PDT
Comment on attachment 258642 [details]
Patch

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

> Source/WebKit2/UIProcess/API/C/WKOriginDataManager.h:48
> +#if ENABLE(MEDIA_STREAM)
> +    kWKMediaDeviceInformationKeyStorageOriginData = 1 << 9,
> +#endif
>  

ENABLE macros can't go in SPI/API headers.
Comment 4 Anders Carlsson 2016-02-12 14:29:04 PST
We got rid of WKOriginDataManager.
Comment 5 Radar WebKit Bug Importer 2016-02-12 14:29:27 PST
<rdar://problem/24636476>