Browse Source

web-preferences -> webPreferences

Kevin Sawicki 8 years ago
parent
commit
e735aa7dee
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lib/browser/guest-window-manager.js
  2. 1 1
      spec/api-browser-window-spec.js

+ 1 - 1
lib/browser/guest-window-manager.js

@@ -47,7 +47,7 @@ const mergeBrowserWindowOptions = function (embedder, options) {
     // Inherit the original options if it is a BrowserWindow.
     mergeOptions(options, embedder.browserWindowOptions)
   } else {
-    // Or only inherit web-preferences if it is a webview.
+    // Or only inherit webPreferences if it is a webview.
     mergeOptions(options.webPreferences, embedder.getWebPreferences())
   }
 

+ 1 - 1
spec/api-browser-window-spec.js

@@ -854,7 +854,7 @@ describe('BrowserWindow module', function () {
     })
   })
 
-  describe('"web-preferences" option', function () {
+  describe('"webPreferences" option', function () {
     afterEach(function () {
       ipcMain.removeAllListeners('answer')
     })