<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 9.1.0
* **Operating System:**
  * macOS Mojave 10.14.6
* **Last Known Working Electron version:**
  * just v9. Because in electron version 9 was introduce "pdf viewer", but now it cant print pdf.

### Expected Behavior
just print correctly the pdf...

### Actual Behavior
when you try to print with "window.print()" a page that load a PDF electron do not respond.... sometimes crash...

### To Reproduce
just clone "electron-quick-start" and replace this line :
 mainWindow.loadFile('index.html') 
 for 
 mainWindow.loadURL('http://www.africau.edu/images/default/sample.pdf')
and replace all content script "preload.js" for:

window.addEventListener('DOMContentLoaded', () => {
  window.print();
});

this is a example repo to reproduce the error: 
https://github.com/rgarcia1990/electron-quick-start

just do the normal setup

$ git clone https://github.com/rgarcia1990/electron-quick-start
$ npm install
$ npm start || electron .

and when the app electron start will popup print dialog, just try to print!

that is all!
shell/renderer/renderer_client_base.cc
#if BUILDFLAG(ENABLE_PDF_VIEWER)
  
  pdf::PepperPDFHost::SetPrintClient(new ChromePDFPrintClient());
#endif
#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
  if (command_line->HasSwitch(switches::kEnableSpellcheck))
    spellcheck_ = std::make_unique<SpellCheck>(this);
#endif
  blink::WebCustomElement::AddEmbedderCustomElementName("webview");
  blink::WebCustomElement::AddEmbedderCustomElementName("browserplugin");
  WTF::String extension_scheme("chrome-extension");
  
  
  blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI(
      extension_scheme);
  
  
  blink::SchemeRegistry::RegisterURLSchemeAsFirstPartyWhenTopLevel(
      extension_scheme);
  
  
  blink::SchemeRegistry::RegisterURLSchemeAsSecure(extension_scheme);
  blink::SchemeRegistry::RegisterURLSchemeAsBypassingContentSecurityPolicy(
      extension_scheme);
  
  std::vector<std::string> secure_schemes_list =
      ParseSchemesCLISwitch(command_line, switches::kSecureSchemes);
  for (const std::string& scheme : secure_schemes_list)
    blink::SchemeRegistry::RegisterURLSchemeAsSecure(
        WTF::String::FromUTF8(scheme.data(), scheme.length()));