* Electron Version 6.0.0-beta.12
* Operating System Windows 10 64 bit

Expected Behavior
webContents.print() should send print a job to the specified printer

Actual behavior
Nothing happens. Callback gets called much latter, for example on program exit.

To Reproduce
let print_options = { 
    silent: true,
    printBackground: true,
    deviceName: barcode_device_name 
}
print_window.webContents.print(print_options, (data) => {
    console.log(`print result: ${data}`)
})

Related to #17260
shell/browser/api/atom_api_web_contents.cc
web_contents()->Undo();
}
void WebContents::Redo() {
  web_contents()->Redo();
}
void WebContents::Cut() {
  web_contents()->Cut();
}
void WebContents::Copy() {
  web_contents()->Copy();
}
void WebContents::Paste() {
  web_contents()->Paste();
}
void WebContents::PasteAndMatchStyle() {
  web_contents()->PasteAndMatchStyle();
}
void WebContents::Delete() {
  web_contents()->Delete();
}
void WebContents::SelectAll() {
  web_contents()->SelectAll();
}
void WebContents::Unselect() {
  web_contents()->CollapseSelection();
}
void WebContents::Replace(const base::string16& word) {
  web_contents()->Replace(word);
}
void WebContents::ReplaceMisspelling(const base::string16& word) {