docs: allow webRequest listener to passing null (#17006)
This commit is contained in:
parent
391f6dd663
commit
30213089ae
1 changed files with 8 additions and 8 deletions
|
@ -45,7 +45,7 @@ The following methods are available on instances of `WebRequest`:
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -72,7 +72,7 @@ The `callback` has to be called with an `response` object.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -98,7 +98,7 @@ The `callback` has to be called with an `response` object.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -117,7 +117,7 @@ response are visible by the time this listener is fired.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -147,7 +147,7 @@ The `callback` has to be called with an `response` object.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -170,7 +170,7 @@ and response headers are available.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -193,7 +193,7 @@ redirect is about to occur.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
@ -215,7 +215,7 @@ completed.
|
||||||
* `filter` Object (optional)
|
* `filter` Object (optional)
|
||||||
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
* `urls` String[] - Array of URL patterns that will be used to filter out the
|
||||||
requests that do not match the URL patterns.
|
requests that do not match the URL patterns.
|
||||||
* `listener` Function
|
* `listener` Function | null
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
* `url` String
|
* `url` String
|
||||||
|
|
Loading…
Reference in a new issue