### Issue Details

* **Electron Version:**
  * 7.0.0-beta.5
* **Operating System:**
  * Windows
* **Last Known Working Electron version:**
  * 6

### Expected Behavior
```js
const filter = {
  domain: 'facebook.com'
}
const cookies = await webContents.session.cookies.get(filter) // will resolve with actual cookies
```

### Actual Behavior
```js
const filter = {
  domain: 'facebook.com',
  // url: 'https://facebook.com' - NOTE: filtering by url is working
}
const cookies = await webContents.session.cookies.get(filter) // is returning empty array
```

### To Reproduce
```js
const filter = {
  domain: 'facebook.com'
}
const cookies = await webContents.session.cookies.get(filter)
```

Filter by `domain` is returning empty array, but if I try to filter using `url` is returning the actual cookies.

Tested on all `7` beta versions.
On `6` filtering by domain was worked.

shell/browser/api/atom_api_cookies.cc
const net::CanonicalCookie& cookie) {
  const std::string* str;
  if ((str = filter.FindStringKey("name")) && *str != cookie.Name())
    return false;
  if ((str = filter.FindStringKey("path")) && *str != cookie.Path())
    return false;
  if ((str = filter.FindStringKey("domain")) &&
      !MatchesDomain(*str, cookie.Domain()))
    return false;
  base::Optional<bool> secure_filter = filter.FindBoolKey("secure");
  if (secure_filter && *secure_filter == cookie.IsSecure())
    return false;
  base::Optional<bool> session_filter = filter.FindBoolKey("session");
  if (session_filter && *session_filter != !cookie.IsPersistent())
    return false;
  return true;
}
void FilterCookies(const base::Value& filter,
                   util::Promise<net::CookieList> promise,
                   const net::CookieStatusList& list,
                   const net::CookieStatusList& excluded_list) {
  net::CookieList result;
  net::CookieList stripped_cookies = net::cookie_util::StripStatuses(list);
  for (const auto& cookie : stripped_cookies) {
    if (MatchesCookie(filter, cookie))
      result.push_back(cookie);
  }
  promise.ResolveWithGin(result);
}
std::string InclusionStatusToString(