devtools-protocol 0.0.1694333 → 0.0.1695952
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.
|
@@ -18302,7 +18302,8 @@
|
|
|
18302
18302
|
"ServerRequested",
|
|
18303
18303
|
"InvalidSessionParams",
|
|
18304
18304
|
"RefreshFatalError",
|
|
18305
|
-
"DevTools"
|
|
18305
|
+
"DevTools",
|
|
18306
|
+
"Replaced"
|
|
18306
18307
|
]
|
|
18307
18308
|
}
|
|
18308
18309
|
]
|
|
@@ -26472,7 +26473,7 @@
|
|
|
26472
26473
|
},
|
|
26473
26474
|
{
|
|
26474
26475
|
"id": "ServiceWorkerRouterCondition",
|
|
26475
|
-
"description": "Mostly corresponds to `RouterCondition` in ServiceWorker spec\n(https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
26476
|
+
"description": "Mostly corresponds to `RouterCondition` in ServiceWorker spec\n(https://www.w3.org/TR/service-workers/#dictdef-routercondition)",
|
|
26476
26477
|
"type": "object",
|
|
26477
26478
|
"properties": [
|
|
26478
26479
|
{
|
|
@@ -26500,6 +26501,19 @@
|
|
|
26500
26501
|
"name": "runningStatus",
|
|
26501
26502
|
"optional": true,
|
|
26502
26503
|
"$ref": "ServiceWorkerVersionRunningStatus"
|
|
26504
|
+
},
|
|
26505
|
+
{
|
|
26506
|
+
"name": "or",
|
|
26507
|
+
"optional": true,
|
|
26508
|
+
"type": "array",
|
|
26509
|
+
"items": {
|
|
26510
|
+
"$ref": "ServiceWorkerRouterCondition"
|
|
26511
|
+
}
|
|
26512
|
+
},
|
|
26513
|
+
{
|
|
26514
|
+
"name": "not",
|
|
26515
|
+
"optional": true,
|
|
26516
|
+
"$ref": "ServiceWorkerRouterCondition"
|
|
26503
26517
|
}
|
|
26504
26518
|
]
|
|
26505
26519
|
},
|
package/json/js_protocol.json
CHANGED
|
@@ -2378,6 +2378,7 @@
|
|
|
2378
2378
|
"dataview",
|
|
2379
2379
|
"webassemblymemory",
|
|
2380
2380
|
"wasmvalue",
|
|
2381
|
+
"deferredmodule",
|
|
2381
2382
|
"trustedtype"
|
|
2382
2383
|
]
|
|
2383
2384
|
},
|
|
@@ -2497,6 +2498,7 @@
|
|
|
2497
2498
|
"dataview",
|
|
2498
2499
|
"webassemblymemory",
|
|
2499
2500
|
"wasmvalue",
|
|
2501
|
+
"deferredmodule",
|
|
2500
2502
|
"trustedtype"
|
|
2501
2503
|
]
|
|
2502
2504
|
},
|
|
@@ -2593,6 +2595,7 @@
|
|
|
2593
2595
|
"dataview",
|
|
2594
2596
|
"webassemblymemory",
|
|
2595
2597
|
"wasmvalue",
|
|
2598
|
+
"deferredmodule",
|
|
2596
2599
|
"trustedtype"
|
|
2597
2600
|
]
|
|
2598
2601
|
}
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -33,9 +33,7 @@ experimental domain ServiceWorker
|
|
|
33
33
|
redundant
|
|
34
34
|
|
|
35
35
|
# Mostly corresponds to `RouterCondition` in ServiceWorker spec
|
|
36
|
-
# (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
37
|
-
# currently lacks support for the nested conditions ("or" and "not").
|
|
38
|
-
# TODO(crbug.com/540469610): Support recursive conditions.
|
|
36
|
+
# (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
39
37
|
type ServiceWorkerRouterCondition extends object
|
|
40
38
|
properties
|
|
41
39
|
# Plain text, or JSON serialization of URLPatternInit or URLPattern
|
|
@@ -44,6 +42,8 @@ experimental domain ServiceWorker
|
|
|
44
42
|
optional string requestMode
|
|
45
43
|
optional string requestDestination
|
|
46
44
|
optional ServiceWorkerVersionRunningStatus runningStatus
|
|
45
|
+
optional array of ServiceWorkerRouterCondition or
|
|
46
|
+
optional ServiceWorkerRouterCondition not
|
|
47
47
|
|
|
48
48
|
type ServiceWorkerRouterSourceType extends string
|
|
49
49
|
enum
|
package/pdl/js_protocol.pdl
CHANGED
|
@@ -1144,6 +1144,7 @@ domain Runtime
|
|
|
1144
1144
|
dataview
|
|
1145
1145
|
webassemblymemory
|
|
1146
1146
|
wasmvalue
|
|
1147
|
+
deferredmodule
|
|
1147
1148
|
# blink's subtypes.
|
|
1148
1149
|
trustedtype
|
|
1149
1150
|
# Object class (constructor) name. Specified for `object` type values only.
|
|
@@ -1207,6 +1208,7 @@ domain Runtime
|
|
|
1207
1208
|
dataview
|
|
1208
1209
|
webassemblymemory
|
|
1209
1210
|
wasmvalue
|
|
1211
|
+
deferredmodule
|
|
1210
1212
|
# blink's subtypes.
|
|
1211
1213
|
trustedtype
|
|
1212
1214
|
# String representation of the object.
|
|
@@ -1258,6 +1260,7 @@ domain Runtime
|
|
|
1258
1260
|
dataview
|
|
1259
1261
|
webassemblymemory
|
|
1260
1262
|
wasmvalue
|
|
1263
|
+
deferredmodule
|
|
1261
1264
|
# blink's subtypes.
|
|
1262
1265
|
trustedtype
|
|
1263
1266
|
|
package/types/protocol.d.ts
CHANGED
|
@@ -1697,6 +1697,7 @@ export namespace Protocol {
|
|
|
1697
1697
|
Dataview = 'dataview',
|
|
1698
1698
|
Webassemblymemory = 'webassemblymemory',
|
|
1699
1699
|
Wasmvalue = 'wasmvalue',
|
|
1700
|
+
Deferredmodule = 'deferredmodule',
|
|
1700
1701
|
Trustedtype = 'trustedtype',
|
|
1701
1702
|
}
|
|
1702
1703
|
|
|
@@ -1713,7 +1714,7 @@ export namespace Protocol {
|
|
|
1713
1714
|
* NOTE: If you change anything here, make sure to also update
|
|
1714
1715
|
* `subtype` in `ObjectPreview` and `PropertyPreview` below.
|
|
1715
1716
|
*/
|
|
1716
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1717
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1717
1718
|
/**
|
|
1718
1719
|
* Object class (constructor) name. Specified for `object` type values only.
|
|
1719
1720
|
*/
|
|
@@ -1799,6 +1800,7 @@ export namespace Protocol {
|
|
|
1799
1800
|
Dataview = 'dataview',
|
|
1800
1801
|
Webassemblymemory = 'webassemblymemory',
|
|
1801
1802
|
Wasmvalue = 'wasmvalue',
|
|
1803
|
+
Deferredmodule = 'deferredmodule',
|
|
1802
1804
|
Trustedtype = 'trustedtype',
|
|
1803
1805
|
}
|
|
1804
1806
|
|
|
@@ -1814,7 +1816,7 @@ export namespace Protocol {
|
|
|
1814
1816
|
/**
|
|
1815
1817
|
* Object subtype hint. Specified for `object` type values only.
|
|
1816
1818
|
*/
|
|
1817
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1819
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1818
1820
|
/**
|
|
1819
1821
|
* String representation of the object.
|
|
1820
1822
|
*/
|
|
@@ -1865,6 +1867,7 @@ export namespace Protocol {
|
|
|
1865
1867
|
Dataview = 'dataview',
|
|
1866
1868
|
Webassemblymemory = 'webassemblymemory',
|
|
1867
1869
|
Wasmvalue = 'wasmvalue',
|
|
1870
|
+
Deferredmodule = 'deferredmodule',
|
|
1868
1871
|
Trustedtype = 'trustedtype',
|
|
1869
1872
|
}
|
|
1870
1873
|
|
|
@@ -1891,7 +1894,7 @@ export namespace Protocol {
|
|
|
1891
1894
|
/**
|
|
1892
1895
|
* Object subtype hint. Specified for `object` type values only.
|
|
1893
1896
|
*/
|
|
1894
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1897
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1895
1898
|
}
|
|
1896
1899
|
|
|
1897
1900
|
/**
|
|
@@ -14329,6 +14332,7 @@ export namespace Protocol {
|
|
|
14329
14332
|
InvalidSessionParams = 'InvalidSessionParams',
|
|
14330
14333
|
RefreshFatalError = 'RefreshFatalError',
|
|
14331
14334
|
DevTools = 'DevTools',
|
|
14335
|
+
Replaced = 'Replaced',
|
|
14332
14336
|
}
|
|
14333
14337
|
|
|
14334
14338
|
/**
|
|
@@ -14339,7 +14343,7 @@ export namespace Protocol {
|
|
|
14339
14343
|
/**
|
|
14340
14344
|
* The reason for a session being deleted.
|
|
14341
14345
|
*/
|
|
14342
|
-
deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError' | 'DevTools');
|
|
14346
|
+
deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError' | 'DevTools' | 'Replaced');
|
|
14343
14347
|
}
|
|
14344
14348
|
|
|
14345
14349
|
export const enum ChallengeEventDetailsChallengeResult {
|
|
@@ -19529,9 +19533,7 @@ export namespace Protocol {
|
|
|
19529
19533
|
|
|
19530
19534
|
/**
|
|
19531
19535
|
* Mostly corresponds to `RouterCondition` in ServiceWorker spec
|
|
19532
|
-
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
19533
|
-
* currently lacks support for the nested conditions ("or" and "not").
|
|
19534
|
-
* TODO(crbug.com/540469610): Support recursive conditions.
|
|
19536
|
+
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
19535
19537
|
*/
|
|
19536
19538
|
export interface ServiceWorkerRouterCondition {
|
|
19537
19539
|
/**
|
|
@@ -19542,6 +19544,8 @@ export namespace Protocol {
|
|
|
19542
19544
|
requestMode?: string;
|
|
19543
19545
|
requestDestination?: string;
|
|
19544
19546
|
runningStatus?: ServiceWorkerVersionRunningStatus;
|
|
19547
|
+
or?: ServiceWorkerRouterCondition[];
|
|
19548
|
+
not?: ServiceWorkerRouterCondition;
|
|
19545
19549
|
}
|
|
19546
19550
|
|
|
19547
19551
|
export type ServiceWorkerRouterSourceType = ('cache' | 'fetchEvent' | 'network' | 'raceNetworkAndFetchHandler' | 'raceNetworkAndCache' | 'sourceDict');
|