test: move some BrowserWindow specs to the main runner (#18551)

This commit is contained in:
Jeremy Apthorp 2019-06-03 15:10:58 -07:00 committed by GitHub
parent cf628d9287
commit 901cdb22e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 564 additions and 442 deletions

View file

@ -82,11 +82,11 @@ The `callback` has to be called with an `response` object.
* `resourceType` String
* `referrer` String
* `timestamp` Double
* `requestHeaders` Object
* `requestHeaders` Record<string, string>
* `callback` Function
* `response` Object
* `cancel` Boolean (optional)
* `requestHeaders` Object (optional) - When provided, request will be made
* `requestHeaders` Record<string, string> (optional) - When provided, request will be made
with these headers.
The `listener` will be called with `listener(details, callback)` before sending
@ -109,7 +109,7 @@ The `callback` has to be called with an `response` object.
* `resourceType` String
* `referrer` String
* `timestamp` Double
* `requestHeaders` Object
* `requestHeaders` Record<string, string>
The `listener` will be called with `listener(details)` just before a request is
going to be sent to the server, modifications of previous `onBeforeSendHeaders`