devtools-protocol 0.0.1161598 → 0.0.1162774
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.
- package/json/browser_protocol.json +25 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +9 -0
- package/types/protocol.d.ts +13 -0
@@ -16828,6 +16828,13 @@
|
|
16828
16828
|
"experimental": true,
|
16829
16829
|
"optional": true,
|
16830
16830
|
"type": "boolean"
|
16831
|
+
},
|
16832
|
+
{
|
16833
|
+
"name": "runImmediately",
|
16834
|
+
"description": "If true, runs the script immediately on existing execution contexts or worlds.\nDefault: false.",
|
16835
|
+
"experimental": true,
|
16836
|
+
"optional": true,
|
16837
|
+
"type": "boolean"
|
16831
16838
|
}
|
16832
16839
|
],
|
16833
16840
|
"returns": [
|
@@ -23643,6 +23650,14 @@
|
|
23643
23650
|
{
|
23644
23651
|
"name": "disabledByBatterySaver",
|
23645
23652
|
"type": "boolean"
|
23653
|
+
},
|
23654
|
+
{
|
23655
|
+
"name": "disabledByHoldbackPrefetchSpeculationRules",
|
23656
|
+
"type": "boolean"
|
23657
|
+
},
|
23658
|
+
{
|
23659
|
+
"name": "disabledByHoldbackPrerenderSpeculationRules",
|
23660
|
+
"type": "boolean"
|
23646
23661
|
}
|
23647
23662
|
]
|
23648
23663
|
},
|
@@ -23670,6 +23685,10 @@
|
|
23670
23685
|
{
|
23671
23686
|
"name": "prefetchStatus",
|
23672
23687
|
"$ref": "PrefetchStatus"
|
23688
|
+
},
|
23689
|
+
{
|
23690
|
+
"name": "requestId",
|
23691
|
+
"$ref": "Network.RequestId"
|
23673
23692
|
}
|
23674
23693
|
]
|
23675
23694
|
},
|
@@ -23689,6 +23708,12 @@
|
|
23689
23708
|
"name": "prerenderStatus",
|
23690
23709
|
"optional": true,
|
23691
23710
|
"$ref": "PrerenderFinalStatus"
|
23711
|
+
},
|
23712
|
+
{
|
23713
|
+
"name": "disallowedMojoInterface",
|
23714
|
+
"description": "This is used to give users more information about the name of Mojo interface\nthat is incompatible with prerender and has caused the cancellation of the attempt.",
|
23715
|
+
"optional": true,
|
23716
|
+
"type": "string"
|
23692
23717
|
}
|
23693
23718
|
]
|
23694
23719
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7773,6 +7773,9 @@ domain Page
|
|
7773
7773
|
# Specifies whether command line API should be available to the script, defaults
|
7774
7774
|
# to false.
|
7775
7775
|
experimental optional boolean includeCommandLineAPI
|
7776
|
+
# If true, runs the script immediately on existing execution contexts or worlds.
|
7777
|
+
# Default: false.
|
7778
|
+
experimental optional boolean runImmediately
|
7776
7779
|
returns
|
7777
7780
|
# Identifier of the added script.
|
7778
7781
|
ScriptIdentifier identifier
|
@@ -11164,6 +11167,8 @@ experimental domain Preload
|
|
11164
11167
|
boolean disabledByPreference
|
11165
11168
|
boolean disabledByDataSaver
|
11166
11169
|
boolean disabledByBatterySaver
|
11170
|
+
boolean disabledByHoldbackPrefetchSpeculationRules
|
11171
|
+
boolean disabledByHoldbackPrerenderSpeculationRules
|
11167
11172
|
|
11168
11173
|
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
11169
11174
|
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
@@ -11227,6 +11232,7 @@ experimental domain Preload
|
|
11227
11232
|
string prefetchUrl
|
11228
11233
|
PreloadingStatus status
|
11229
11234
|
PrefetchStatus prefetchStatus
|
11235
|
+
Network.RequestId requestId
|
11230
11236
|
|
11231
11237
|
# Fired when a prerender attempt is updated.
|
11232
11238
|
event prerenderStatusUpdated
|
@@ -11234,6 +11240,9 @@ experimental domain Preload
|
|
11234
11240
|
PreloadingAttemptKey key
|
11235
11241
|
PreloadingStatus status
|
11236
11242
|
optional PrerenderFinalStatus prerenderStatus
|
11243
|
+
# This is used to give users more information about the name of Mojo interface
|
11244
|
+
# that is incompatible with prerender and has caused the cancellation of the attempt.
|
11245
|
+
optional string disallowedMojoInterface
|
11237
11246
|
|
11238
11247
|
# Send a list of sources for all preloading attempts in a document.
|
11239
11248
|
event preloadingAttemptSourcesUpdated
|
package/types/protocol.d.ts
CHANGED
@@ -13204,6 +13204,11 @@ export namespace Protocol {
|
|
13204
13204
|
* to false.
|
13205
13205
|
*/
|
13206
13206
|
includeCommandLineAPI?: boolean;
|
13207
|
+
/**
|
13208
|
+
* If true, runs the script immediately on existing execution contexts or worlds.
|
13209
|
+
* Default: false.
|
13210
|
+
*/
|
13211
|
+
runImmediately?: boolean;
|
13207
13212
|
}
|
13208
13213
|
|
13209
13214
|
export interface AddScriptToEvaluateOnNewDocumentResponse {
|
@@ -17346,6 +17351,8 @@ export namespace Protocol {
|
|
17346
17351
|
disabledByPreference: boolean;
|
17347
17352
|
disabledByDataSaver: boolean;
|
17348
17353
|
disabledByBatterySaver: boolean;
|
17354
|
+
disabledByHoldbackPrefetchSpeculationRules: boolean;
|
17355
|
+
disabledByHoldbackPrerenderSpeculationRules: boolean;
|
17349
17356
|
}
|
17350
17357
|
|
17351
17358
|
/**
|
@@ -17360,6 +17367,7 @@ export namespace Protocol {
|
|
17360
17367
|
prefetchUrl: string;
|
17361
17368
|
status: PreloadingStatus;
|
17362
17369
|
prefetchStatus: PrefetchStatus;
|
17370
|
+
requestId: Network.RequestId;
|
17363
17371
|
}
|
17364
17372
|
|
17365
17373
|
/**
|
@@ -17369,6 +17377,11 @@ export namespace Protocol {
|
|
17369
17377
|
key: PreloadingAttemptKey;
|
17370
17378
|
status: PreloadingStatus;
|
17371
17379
|
prerenderStatus?: PrerenderFinalStatus;
|
17380
|
+
/**
|
17381
|
+
* This is used to give users more information about the name of Mojo interface
|
17382
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt.
|
17383
|
+
*/
|
17384
|
+
disallowedMojoInterface?: string;
|
17372
17385
|
}
|
17373
17386
|
|
17374
17387
|
/**
|