Rename protocol.isHandledProtocol to protocol.isProtocolHandled

This commit is contained in:
Cheng Zhao 2015-08-13 21:24:27 +08:00
parent 02714d466c
commit 467ba6b7a9
4 changed files with 222 additions and 243 deletions

View file

@ -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',