translation error in browser-window.md

'same-origin policy' means '同源策略' in Chinese
This commit is contained in:
StoneStoneStone 2016-04-15 10:04:01 +08:00
parent 075da45b74
commit 1985e1b8e0

View file

@ -99,7 +99,7 @@ win.show();
* `zoomFactor` Number - 界面默认缩放值, `3.0` 表示
`300%`. 默认 `1.0`.
* `javascript` Boolean - 开启javascript支持. 默认为`true`.
* `webSecurity` Boolean - 当设置为 `false`, 它将禁用相同地方的规则 (通常测试服), 并且如果有2个非用户设置的参数就设置
* `webSecurity` Boolean - 当设置为 `false`, 它将禁用同源策略 (通常用来测试网站), 并且如果有2个非用户设置的参数就设置
`allowDisplayingInsecureContent``allowRunningInsecureContent` 的值为
`true`. 默认为 `true`.
* `allowDisplayingInsecureContent` Boolean -允许一个使用 https的界面来展示由 http URLs 传过来的资源. 默认`false`.
@ -758,4 +758,4 @@ windows上句柄类型为 `HWND` OS X `NSView*` Linux `Window`.
忽略窗口的所有鼠标事件.
[blink-feature-string]: https://code.google.com/p/chromium/codesearch#chromium/src/out/Debug/gen/blink/platform/RuntimeEnabledFeatures.cpp&sq=package:chromium&type=cs&l=527
[blink-feature-string]: https://code.google.com/p/chromium/codesearch#chromium/src/out/Debug/gen/blink/platform/RuntimeEnabledFeatures.cpp&sq=package:chromium&type=cs&l=527