devtools-protocol 0.0.1280070 → 0.0.1281655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12990,6 +12990,11 @@
|
|
12990
12990
|
"description": "The reason the cookie was exempted.",
|
12991
12991
|
"$ref": "CookieExemptionReason"
|
12992
12992
|
},
|
12993
|
+
{
|
12994
|
+
"name": "cookieLine",
|
12995
|
+
"description": "The string representing this individual cookie as it would appear in the header.",
|
12996
|
+
"type": "string"
|
12997
|
+
},
|
12993
12998
|
{
|
12994
12999
|
"name": "cookie",
|
12995
13000
|
"description": "The cookie object representing the cookie.",
|
@@ -15131,6 +15136,23 @@
|
|
15131
15136
|
}
|
15132
15137
|
]
|
15133
15138
|
},
|
15139
|
+
{
|
15140
|
+
"name": "responseReceivedEarlyHints",
|
15141
|
+
"description": "Fired when 103 Early Hints headers is received in addition to the common response.\nNot every responseReceived event will have an responseReceivedEarlyHints fired.\nOnly one responseReceivedEarlyHints may be fired for eached responseReceived event.",
|
15142
|
+
"experimental": true,
|
15143
|
+
"parameters": [
|
15144
|
+
{
|
15145
|
+
"name": "requestId",
|
15146
|
+
"description": "Request identifier. Used to match this information to another responseReceived event.",
|
15147
|
+
"$ref": "RequestId"
|
15148
|
+
},
|
15149
|
+
{
|
15150
|
+
"name": "headers",
|
15151
|
+
"description": "Raw response headers as they were received over the wire.",
|
15152
|
+
"$ref": "Headers"
|
15153
|
+
}
|
15154
|
+
]
|
15155
|
+
},
|
15134
15156
|
{
|
15135
15157
|
"name": "trustTokenOperationDone",
|
15136
15158
|
"description": "Fired exactly once for each Trust Token operation. Depending on\nthe type of the operation and whether the operation succeeded or\nfailed, the event is fired before the corresponding request was sent\nor after the response was received.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -6123,6 +6123,8 @@ domain Network
|
|
6123
6123
|
properties
|
6124
6124
|
# The reason the cookie was exempted.
|
6125
6125
|
CookieExemptionReason exemptionReason
|
6126
|
+
# The string representing this individual cookie as it would appear in the header.
|
6127
|
+
string cookieLine
|
6126
6128
|
# The cookie object representing the cookie.
|
6127
6129
|
Cookie cookie
|
6128
6130
|
|
@@ -6957,6 +6959,16 @@ domain Network
|
|
6957
6959
|
# the response with the corresponding reason.
|
6958
6960
|
optional array of ExemptedSetCookieWithReason exemptedCookies
|
6959
6961
|
|
6962
|
+
# Fired when 103 Early Hints headers is received in addition to the common response.
|
6963
|
+
# Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
6964
|
+
# Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
6965
|
+
experimental event responseReceivedEarlyHints
|
6966
|
+
parameters
|
6967
|
+
# Request identifier. Used to match this information to another responseReceived event.
|
6968
|
+
RequestId requestId
|
6969
|
+
# Raw response headers as they were received over the wire.
|
6970
|
+
Headers headers
|
6971
|
+
|
6960
6972
|
# Fired exactly once for each Trust Token operation. Depending on
|
6961
6973
|
# the type of the operation and whether the operation succeeded or
|
6962
6974
|
# failed, the event is fired before the corresponding request was sent
|
@@ -355,6 +355,12 @@ export namespace ProtocolMapping {
|
|
355
355
|
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
356
356
|
*/
|
357
357
|
'Network.responseReceivedExtraInfo': [Protocol.Network.ResponseReceivedExtraInfoEvent];
|
358
|
+
/**
|
359
|
+
* Fired when 103 Early Hints headers is received in addition to the common response.
|
360
|
+
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
361
|
+
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
362
|
+
*/
|
363
|
+
'Network.responseReceivedEarlyHints': [Protocol.Network.ResponseReceivedEarlyHintsEvent];
|
358
364
|
/**
|
359
365
|
* Fired exactly once for each Trust Token operation. Depending on
|
360
366
|
* the type of the operation and whether the operation succeeded or
|
@@ -2559,6 +2559,13 @@ export namespace ProtocolProxyApi {
|
|
2559
2559
|
*/
|
2560
2560
|
on(event: 'responseReceivedExtraInfo', listener: (params: Protocol.Network.ResponseReceivedExtraInfoEvent) => void): void;
|
2561
2561
|
|
2562
|
+
/**
|
2563
|
+
* Fired when 103 Early Hints headers is received in addition to the common response.
|
2564
|
+
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
2565
|
+
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
2566
|
+
*/
|
2567
|
+
on(event: 'responseReceivedEarlyHints', listener: (params: Protocol.Network.ResponseReceivedEarlyHintsEvent) => void): void;
|
2568
|
+
|
2562
2569
|
/**
|
2563
2570
|
* Fired exactly once for each Trust Token operation. Depending on
|
2564
2571
|
* the type of the operation and whether the operation succeeded or
|
@@ -2739,6 +2739,15 @@ export namespace ProtocolTestsProxyApi {
|
|
2739
2739
|
offResponseReceivedExtraInfo(listener: (event: { params: Protocol.Network.ResponseReceivedExtraInfoEvent }) => void): void;
|
2740
2740
|
onceResponseReceivedExtraInfo(eventMatcher?: (event: { params: Protocol.Network.ResponseReceivedExtraInfoEvent }) => boolean): Promise<{ params: Protocol.Network.ResponseReceivedExtraInfoEvent }>;
|
2741
2741
|
|
2742
|
+
/**
|
2743
|
+
* Fired when 103 Early Hints headers is received in addition to the common response.
|
2744
|
+
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
2745
|
+
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
2746
|
+
*/
|
2747
|
+
onResponseReceivedEarlyHints(listener: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => void): void;
|
2748
|
+
offResponseReceivedEarlyHints(listener: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => void): void;
|
2749
|
+
onceResponseReceivedEarlyHints(eventMatcher?: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => boolean): Promise<{ params: Protocol.Network.ResponseReceivedEarlyHintsEvent }>;
|
2750
|
+
|
2742
2751
|
/**
|
2743
2752
|
* Fired exactly once for each Trust Token operation. Depending on
|
2744
2753
|
* the type of the operation and whether the operation succeeded or
|
package/types/protocol.d.ts
CHANGED
@@ -10729,6 +10729,10 @@ export namespace Protocol {
|
|
10729
10729
|
* The reason the cookie was exempted.
|
10730
10730
|
*/
|
10731
10731
|
exemptionReason: CookieExemptionReason;
|
10732
|
+
/**
|
10733
|
+
* The string representing this individual cookie as it would appear in the header.
|
10734
|
+
*/
|
10735
|
+
cookieLine: string;
|
10732
10736
|
/**
|
10733
10737
|
* The cookie object representing the cookie.
|
10734
10738
|
*/
|
@@ -12172,6 +12176,22 @@ export namespace Protocol {
|
|
12172
12176
|
exemptedCookies?: ExemptedSetCookieWithReason[];
|
12173
12177
|
}
|
12174
12178
|
|
12179
|
+
/**
|
12180
|
+
* Fired when 103 Early Hints headers is received in addition to the common response.
|
12181
|
+
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
12182
|
+
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
12183
|
+
*/
|
12184
|
+
export interface ResponseReceivedEarlyHintsEvent {
|
12185
|
+
/**
|
12186
|
+
* Request identifier. Used to match this information to another responseReceived event.
|
12187
|
+
*/
|
12188
|
+
requestId: RequestId;
|
12189
|
+
/**
|
12190
|
+
* Raw response headers as they were received over the wire.
|
12191
|
+
*/
|
12192
|
+
headers: Headers;
|
12193
|
+
}
|
12194
|
+
|
12175
12195
|
export const enum TrustTokenOperationDoneEventStatus {
|
12176
12196
|
Ok = 'Ok',
|
12177
12197
|
InvalidArgument = 'InvalidArgument',
|