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).
Current API only uses IndexedDataBbaseData type, still should add enum type to conform to other key/storage implementations
Created attachment 258642 [details] Patch
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.
We got rid of WKOriginDataManager.
<rdar://problem/24636476>