📝 Small tweaks

[ci skip] Remove ambiguous default value of nodeintegration.
Issue #6939
This commit is contained in:
Amitoj 2016-10-19 13:38:46 +05:30
parent 3a31f28f27
commit 4ff73d8b56

View file

@ -66,7 +66,7 @@ This is not bulletproof, but at the least, you should attempt the following:
* Do not enable `experimentalFeatures` or `experimentalCanvasFeatures` unless * Do not enable `experimentalFeatures` or `experimentalCanvasFeatures` unless
you know what you're doing. you know what you're doing.
* Do not use `blinkFeatures` unless you know what you're doing. * Do not use `blinkFeatures` unless you know what you're doing.
* WebViews: When `nodeintegration` not added. * WebViews: Do not add the `nodeintegration` attribute.
* WebViews: Do not use `disablewebsecurity` * WebViews: Do not use `disablewebsecurity`
* WebViews: Do not use `allowpopups` * WebViews: Do not use `allowpopups`
* WebViews: Do not use `insertCSS` or `executeJavaScript` with remote CSS/JS. * WebViews: Do not use `insertCSS` or `executeJavaScript` with remote CSS/JS.
@ -77,8 +77,8 @@ is to display a website, a browser will be a more secure option.
## Buffer Global ## Buffer Global
Node's [Buffer](https://nodejs.org/api/buffer.html) class is currently available Node's [Buffer](https://nodejs.org/api/buffer.html) class is currently available
as a global even when `nodeIntegration` is not added. You can delete this in as a global even when the `nodeintegration` attribute is not added. You can
your app by doing the following in your `preload` script: delete this in your app by doing the following in your `preload` script:
```js ```js
delete global.Buffer delete global.Buffer