chore: remove special handling for dialog methods in remote module (#17412)
* chore: remove special handling for dialog methods in remote module * refactor: remove callFunction helper
This commit is contained in:
parent
f4c3151815
commit
06a4594435
3 changed files with 18 additions and 37 deletions
|
@ -221,8 +221,3 @@ module.exports.showMessageBox = deprecate.promisify(module.exports.showMessageBo
|
|||
module.exports.showOpenDialog = deprecate.promisify(module.exports.showOpenDialog)
|
||||
module.exports.showSaveDialog = deprecate.promisify(module.exports.showSaveDialog)
|
||||
module.exports.showCertificateTrustDialog = deprecate.promisify(module.exports.showCertificateTrustDialog)
|
||||
|
||||
// Mark standard asynchronous functions.
|
||||
v8Util.setHiddenValue(module.exports.showMessageBox, 'asynchronous', true)
|
||||
v8Util.setHiddenValue(module.exports.showOpenDialog, 'asynchronous', true)
|
||||
v8Util.setHiddenValue(module.exports.showSaveDialog, 'asynchronous', true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue