- Electron version: 1.4.0 and 1.4.4 tested
- Operating system: macOS 10.12.1

This page was working in 1.3.8 but stopped working in 1.4.0 and 1.4.4 (didn't check in between versions)
- When the page works the window will be green and working
- When the page fails the window will be white and take no input (Cmd-Q will not close the window)

Removing almost any CSS makes the page work. The page works in Chrome

run with `./node_modules/.bin/electron main.js`
## Repo
- Download zip
- unzip
- Execute
  
  ```
   cd to electron-infinite-loop-issue
   npm install
   ./node_modules/.bin/electron main.js
  ```
## Code

main.js is just

```
"use strict";

const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;

let window;
app.on('ready', () => {
  window = new BrowserWindow({});
  window.loadURL(`file://${__dirname}/app/index.html`)
  window.webContents.openDevTools();
});
```

index.html is

```
<!DOCTYPE html>
<html>
<head>
  <style>
    html, body {
      height: 100%;
      margin: 0;
      background-color: green;
    }
    .split.split-horizontal {
      height: 100%;
      float: left;
    }
    .browser {
      width: 100%;
      height: 100%;
    }
    .folders {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: scroll;
    }
  </style>
</head>
<body>
<div class="browser">
  <div class="split split-horizontal"><div class="folders"></div></div>
</div>
</body>
</html>
```

[electron-infinite-loop-issue.zip](https://github.com/electron/electron/files/560570/electron-infinite-loop-issue.zip)

atom/browser/atom_browser_client.cc
resource_dispatcher_host_delegate_.reset(
      new AtomResourceDispatcherHostDelegate);
  content::ResourceDispatcherHost::Get()->SetDelegate(
      resource_dispatcher_host_delegate_.get());
}
bool AtomBrowserClient::CanCreateWindow(
    const GURL& opener_url,
    const GURL& opener_top_level_frame_url,
    const GURL& source_origin,
    WindowContainerType container_type,
    const std::string& frame_name,
    const GURL& target_url,
    const content::Referrer& referrer,
    WindowOpenDisposition disposition,
    const blink::WebWindowFeatures& features,
    const std::vector<base::string16>& additional_features,
    bool user_gesture,
    bool opener_suppressed,
    content::ResourceContext* context,
    int render_process_id,
    int opener_render_view_id,
    int opener_render_frame_id,
    bool* no_javascript_access) {
  DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
  if (IsRendererSandboxed(render_process_id)) {
    *no_javascript_access = false;