]> khamidou — GitHub mirrors - electron.git/commitdiff
Enable the spec of testing crash of protocol module.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 15 Aug 2014 03:08:06 +0000 (11:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 15 Aug 2014 03:08:06 +0000 (11:08 +0800)
spec/static/main.js

index af9c0fdd0d9340d468395fd1b560c5667747c2f4..01ee3dba8e4499b20ccd78b91e94e74ccbf1ba0e 100644 (file)
@@ -133,7 +133,7 @@ app.on('ready', function() {
   app.setApplicationMenu(menu);
 
   // Test if using protocol module would crash.
-  // require('protocol').registerProtocol('test-if-crashes', function() {});
+  require('protocol').registerProtocol('test-if-crashes', function() {});
 
   window = new BrowserWindow({
     title: 'atom-shell tests',