mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 808259 - Don't kill a process because of missing permissions. r=cjones
This commit is contained in:
parent
f4daa9bb9d
commit
eadb2e4099
@ -41,6 +41,10 @@ AssertAppProcessPermission(PBrowserParent* aActor, const char* aPermission)
|
||||
|
||||
if (!hasPermission) {
|
||||
printf_stderr("Security problem: Content process does not have `%s' permission. It will be killed.\n", aPermission);
|
||||
if (!strcmp(aPermission, "indexedDB-chrome-settings-read") || !strcmp(aPermission, "indexedDB-chrome-settings-write")) {
|
||||
printf_stderr("XXX FIXXME BUG 808327: We ignore indexedDB-chrome-settings-* for now.");
|
||||
return true;
|
||||
}
|
||||
ContentParent* process = static_cast<ContentParent*>(aActor->Manager());
|
||||
process->KillHard();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user