### 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
details.FindDoubleKey("expirationDate");
  base::Optional<double> last_access_date =
      details.FindDoubleKey("lastAccessDate");
  base::Time creation_time = creation_date
                                 ? base::Time::FromDoubleT(*creation_date)
                                 : base::Time::UnixEpoch();
  base::Time expiration_time = expiration_date
                                   ? base::Time::FromDoubleT(*expiration_date)
                                   : base::Time::UnixEpoch();
  base::Time last_access_time = last_access_date
                                    ? base::Time::FromDoubleT(*last_access_date)
                                    : base::Time::UnixEpoch();
  GURL url(url_string ? *url_string : "");
  if (!url.is_valid()) {
    promise.RejectWithErrorMessage(
        InclusionStatusToString(net::CanonicalCookie::CookieInclusionStatus(
            net::CanonicalCookie::CookieInclusionStatus::
                EXCLUDE_INVALID_DOMAIN)));
    return handle;
  }
  if (!name || name->empty()) {
    promise.RejectWithErrorMessage(
        InclusionStatusToString(net::CanonicalCookie::CookieInclusionStatus(
            net::CanonicalCookie::CookieInclusionStatus::
                EXCLUDE_FAILURE_TO_STORE)));
    return handle;
  }
  auto canonical_cookie = net::CanonicalCookie::CreateSanitizedCookie(
      url, *name, value ? *value : "", domain ? *domain : "", path ? *path : "",
      creation_time, expiration_time, last_access_time, secure, http_only,