### 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.h
#ifndef SHELL_BROWSER_API_ATOM_API_COOKIES_H_
#define SHELL_BROWSER_API_ATOM_API_COOKIES_H_
#include <memory>
#include <string>
#include "base/callback_list.h"
#include "gin/handle.h"
#include "net/cookies/canonical_cookie.h"
#include "shell/browser/api/trackable_object.h"
#include "shell/browser/net/cookie_details.h"
#include "shell/common/promise_util.h"
namespace base {
class DictionaryValue;
}
namespace net {
class URLRequestContextGetter;