Don't set contentWindow property for <webview>
This property is only available in Chrome and we don't need it in atom-shell, so remove it to avoid confusions. Fixes #997.
This commit is contained in:
parent
7ab5db1adb
commit
b4cdb546fe
4 changed files with 5 additions and 24 deletions
|
@ -22,8 +22,5 @@ module.exports =
|
|||
ERROR_MSG_ALREADY_NAVIGATED: 'The object has already navigated, so its partition cannot be changed.'
|
||||
ERROR_MSG_CANNOT_INJECT_SCRIPT: '<webview>: ' +
|
||||
'Script cannot be injected into content until the page has loaded.'
|
||||
ERROR_MSG_CONTENTWINDOW_NOT_AVAILABLE: '<webview>: ' +
|
||||
'contentWindow is not available at this time. It will become available ' +
|
||||
'when the page has finished loading.'
|
||||
ERROR_MSG_INVALID_PARTITION_ATTRIBUTE: 'Invalid partition attribute.'
|
||||
ERROR_MSG_INVALID_PRELOAD_ATTRIBUTE: 'Only "file:" or "asar:" protocol is supported in "preload" attribute.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue