Following @ikkisoft's review on #41, the setPermissionRequestHandler checks and the on() check for 'will-navigate' and 'new-window' events will be split in two different checks and consequently, two different PR.
This PR introduces the PERMISSION_REQUEST_HANDLER_GLOBAL_CHECK, checking for the absence of setPermissionRequestHandler to limit specific permissions (e.g. openExternal) in response to events from particular origins.
This PR introduces the
PERMISSION_REQUEST_HANDLER_GLOBAL_CHECK
, checking for the absence ofsetPermissionRequestHandler
to limit specific permissions (e.g. openExternal) in response to events from particular origins.