* Electron version: 1.7.1
* Operating system: MacOS 10.12.5

Rendering a `<video>` stream in a custom (http) protocol will crash Electron. The same video streamed from the http handler does not crash the process.

One notable feature is that the crash likelihood seems to be increased by reducing the range in the response to 1MB ([this line](https://github.com/pfrazee/electron-bug-video-stream-crash/blob/master/server.js#L14)).

### How to reproduce

https://github.com/pfrazee/electron-bug-video-stream-crash

```
git clone https://github.com/pfrazee/electron-bug-video-stream-crash
npm install
npm start
```
atom/browser/net/url_request_fetch_job.cc
#include "atom/browser/net/url_request_fetch_job.h"
#include <algorithm>
#include <string>
#include "atom/browser/api/atom_api_session.h"
#include "atom/browser/atom_browser_context.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string_util.h"
#include "native_mate/dictionary.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_response_writer.h"
using content::BrowserThread;
namespace atom {
namespace {
net::URLFetcher::RequestType GetRequestType(const std::string& raw) {