add fullscreen permission type
This commit is contained in:
parent
45eada306f
commit
b575cd0ef9
6 changed files with 30 additions and 5 deletions
|
@ -639,7 +639,7 @@ describe('<webview> tag', function() {
|
|||
var listener = function(webContents, permission, callback) {
|
||||
if (webContents.getId() === webview.getId() ) {
|
||||
assert.equal(permission, requested_permission);
|
||||
callback("denied");
|
||||
callback(false);
|
||||
}
|
||||
};
|
||||
session.fromPartition(webview.partition).setPermissionRequestHandler(listener);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue