Update docs/api/structures/permission-request.md

Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
Samuel Attard 2024-08-20 13:25:04 -07:00 коммит произвёл GitHub
Родитель 89ebec20fa
Коммит 6a11e5a11e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,5 @@
# PermissionRequest Object # PermissionRequest Object
* `requestingOrigin` string - The origin you should treat the request as coming from. Note this may be different to `requestingUrl` in the case of child frames, you should use `requestingOrigin` as the "safe" one to check. * `requestingOrigin` string - The origin you should treat the request as coming from. Note this may be different to `requestingUrl` in the case of child frames. You should use `requestingOrigin` as the "safe" one to check.
* `requestingUrl` string - The last URL the requesting frame loaded. * `requestingUrl` string - The last URL the requesting frame loaded.
* `isMainFrame` boolean - Whether the frame making the request is the main frame. * `isMainFrame` boolean - Whether the frame making the request is the main frame.