mirror of https://github.com/electron/electron
402 B
402 B
PermissionRequest Object
requestingOrigin
string - The origin you should treat the request as coming from. Note this may be different torequestingUrl
in the case of child frames. You should userequestingOrigin
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.