fix: allow persistent media salts (#22386)
* fix: allow persistent media salts * chore: add regression test for persistent media device ids across reloads
This commit is contained in:
parent
fc54db11f3
commit
ee04c7f7ee
3 changed files with 29 additions and 2 deletions
|
@ -872,6 +872,14 @@ bool ElectronBrowserClient::ShouldUseProcessPerSite(
|
|||
#endif
|
||||
}
|
||||
|
||||
bool ElectronBrowserClient::ArePersistentMediaDeviceIDsAllowed(
|
||||
content::BrowserContext* browser_context,
|
||||
const GURL& scope,
|
||||
const GURL& site_for_cookies,
|
||||
const base::Optional<url::Origin>& top_frame_origin) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ElectronBrowserClient::SiteInstanceDeleting(
|
||||
content::SiteInstance* site_instance) {
|
||||
// We are storing weak_ptr, is it fundamental to maintain the map up-to-date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue