- Electron version: 1.2.5
- Operating system: Windows 10

My application has a custom "res://" protocol. It appears to register correctly (no errors or anything) but as you can see from the picture I'm getting the error **net::ERR_UNKNOWN_URL_SCHEME**. This is working in version 1.2.4.

![image](https://cloud.githubusercontent.com/assets/4183007/16391832/d5fa3c80-3c76-11e6-9f7a-c7d746149f25.png)

atom/browser/api/atom_api_session.cc
base::Closure callback;
  args->GetNext(&callback);
  BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
      base::Bind(&ClearHostResolverCacheInIO,
                 make_scoped_refptr(browser_context_->GetRequestContext()),
                 callback));
}
void Session::AllowNTLMCredentialsForDomains(const std::string& domains) {
  BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
      base::Bind(&AllowNTLMCredentialsForDomainsInIO,
                 make_scoped_refptr(browser_context_->GetRequestContext()),
                 domains));
}
void Session::SetUserAgent(const std::string& user_agent,
                           mate::Arguments* args) {
  browser_context_->SetUserAgent(user_agent);
  std::string accept_lang = l10n_util::GetApplicationLocale("");
  args->GetNext(&accept_lang);
  auto getter = browser_context_->GetRequestContext();
  getter->GetNetworkTaskRunner()->PostTask(
      FROM_HERE,
      base::Bind(&SetUserAgentInIO, getter, accept_lang, user_agent));
}
std::string Session::GetUserAgent() {