mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update docs/api/structures/permission-request.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 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.
|
||||
* `isMainFrame` boolean - Whether the frame making the request is the main frame.
|
||||
|
||||
Reference in New Issue
Block a user