Rename protocol.isHandledProtocol to protocol.isProtocolHandled
This commit is contained in:
parent
02714d466c
commit
467ba6b7a9
4 changed files with 222 additions and 243 deletions
|
@ -135,7 +135,7 @@ app.on('ready', function() {
|
|||
app.setApplicationMenu(menu);
|
||||
|
||||
// Test if using protocol module would crash.
|
||||
require('protocol').registerProtocol('test-if-crashes', function() {});
|
||||
require('protocol').registerStringProtocol('test-if-crashes', function() {});
|
||||
|
||||
window = new BrowserWindow({
|
||||
title: 'Electron Tests',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue