- Electron version: 1.1.1
- Operating system: OSX 10.11.4 (El Capitan)

If you create a BrowserWindow and set BrowserWindowOptions.closable, calling app.quit does not close the application in OSX. AFAIK, it is expected that calling app.quit() closes the app irrespectively of how the windows are built.

The behavior is not observed in Windows, only OSX. To quit the app in OSX, you need go to the dock, right click on the app and select Quit **twice**.

atom/browser/native_window_views.cc
return base::UTF8ToUTF16(title_);
}
bool NativeWindowViews::ShouldHandleSystemCommands() const {
  return true;
}
views::Widget* NativeWindowViews::GetWidget() {
  return window_.get();
}
const views::Widget* NativeWindowViews::GetWidget() const {
  return window_.get();
}
views::View* NativeWindowViews::GetContentsView() {
  return this;
}
bool NativeWindowViews::ShouldDescendIntoChildForEventHandling(
    gfx::NativeView child,
    const gfx::Point& location) {
  
  if (draggable_region() &&
      draggable_region()->contains(location.x(), location.y()))
    return false;
  
  if (!has_frame() && CanResize()) {
    FramelessView* frame = static_cast<FramelessView*>(
        window_->non_client_view()->frame_view());
    return frame->ResizingBorderHitTest(location) == HTNOWHERE;
  }
  return true;
}
views::ClientView* NativeWindowViews::CreateClientView(views::Widget* widget) {