- Electron version: 1.3.7
- Operating system: macOS & Windows

I'm having some trouble creating a minimal repro for this but it seems that the `ready-to-show` event is not firing for us, since ~1.3.7, despite us having `show: false` in the window options. Filing this in case others are seeing the same behavior.

We had to switch to using `browserWindow.webContents.on('dom-ready', ...`). 

shell/browser/api/electron_api_browser_window.cc
*width = web_contents()->GetPreferredSize().width();
}
void BrowserWindow::OnCloseButtonClicked(bool* prevent_default) {
  
  
  
  *prevent_default = true;
  
  
  
  
  if (window_unresponsive_closure_.IsCancelled())
    ScheduleUnresponsiveEvent(5000);
  if (!web_contents())
    
    return;
  
  api_web_contents_->NotifyUserActivation();
  if (web_contents()->NeedToFireBeforeUnloadOrUnloadEvents())
    web_contents()->DispatchBeforeUnload(false );
  else
    web_contents()->Close();
}
void BrowserWindow::OnWindowClosed() {