feat: route deprecated sync clipboard read through permission checks (#45471)
* feat: route deprecated clipboard commands through permission checks Co-authored-by: deepak1556 <hop2deep@gmail.com> * docs: address review feedback Co-authored-by: deepak1556 <hop2deep@gmail.com> * fix: enable checks for child windows Co-authored-by: deepak1556 <hop2deep@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
51170c3652
commit
46c9ed61da
30 changed files with 441 additions and 35 deletions
|
@ -226,6 +226,8 @@ v8::Local<v8::Value> Converter<blink::PermissionType>::ToV8(
|
|||
return StringToV8(isolate, "speaker-selection");
|
||||
case blink::PermissionType::WEB_APP_INSTALLATION:
|
||||
return StringToV8(isolate, "web-app-installation");
|
||||
case blink::PermissionType::DEPRECATED_SYNC_CLIPBOARD_READ:
|
||||
return StringToV8(isolate, "deprecated-sync-clipboard-read");
|
||||
case blink::PermissionType::NUM:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue