devtools-protocol 0.0.1743766 → 0.0.1746437
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 +16 -2
- package/package.json +1 -1
- package/pdl/domains/BluetoothEmulation.pdl +8 -0
- package/pdl/domains/DOM.pdl +0 -1
- package/pdl/domains/Preload.pdl +1 -0
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +7 -2
|
@@ -3601,6 +3601,20 @@
|
|
|
3601
3601
|
"type": "string"
|
|
3602
3602
|
}
|
|
3603
3603
|
]
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"name": "simulateGATTMtuChange",
|
|
3607
|
+
"description": "Simulates the ATT MTU exchange procedure from Bluetooth Core Specification\nVol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral\nwith |address|.",
|
|
3608
|
+
"parameters": [
|
|
3609
|
+
{
|
|
3610
|
+
"name": "address",
|
|
3611
|
+
"type": "string"
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
"name": "mtu",
|
|
3615
|
+
"type": "integer"
|
|
3616
|
+
}
|
|
3617
|
+
]
|
|
3604
3618
|
}
|
|
3605
3619
|
],
|
|
3606
3620
|
"events": [
|
|
@@ -7391,7 +7405,6 @@
|
|
|
7391
7405
|
"select-listbox",
|
|
7392
7406
|
"permission-icon",
|
|
7393
7407
|
"overscroll-area-parent",
|
|
7394
|
-
"overscroll-backdrop",
|
|
7395
7408
|
"skeleton"
|
|
7396
7409
|
]
|
|
7397
7410
|
},
|
|
@@ -26133,7 +26146,8 @@
|
|
|
26133
26146
|
"PrerenderHostReused",
|
|
26134
26147
|
"FormSubmitWhenPrerendering",
|
|
26135
26148
|
"CrossDocumentRestart",
|
|
26136
|
-
"PrefetchFailedCrossOriginSubframe"
|
|
26149
|
+
"PrefetchFailedCrossOriginSubframe",
|
|
26150
|
+
"UnexpectedMainFrameNavigation"
|
|
26137
26151
|
]
|
|
26138
26152
|
},
|
|
26139
26153
|
{
|
package/package.json
CHANGED
|
@@ -200,6 +200,14 @@ experimental domain BluetoothEmulation
|
|
|
200
200
|
parameters
|
|
201
201
|
string address
|
|
202
202
|
|
|
203
|
+
# Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
|
|
204
|
+
# Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
|
|
205
|
+
# with |address|.
|
|
206
|
+
command simulateGATTMtuChange
|
|
207
|
+
parameters
|
|
208
|
+
string address
|
|
209
|
+
integer mtu
|
|
210
|
+
|
|
203
211
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
|
204
212
|
# happened.
|
|
205
213
|
event gattOperationReceived
|
package/pdl/domains/DOM.pdl
CHANGED
package/pdl/domains/Preload.pdl
CHANGED
|
@@ -2049,6 +2049,15 @@ export namespace ProtocolMapping {
|
|
|
2049
2049
|
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
|
2050
2050
|
returnType: void;
|
|
2051
2051
|
};
|
|
2052
|
+
/**
|
|
2053
|
+
* Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
|
|
2054
|
+
* Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
|
|
2055
|
+
* with |address|.
|
|
2056
|
+
*/
|
|
2057
|
+
'BluetoothEmulation.simulateGATTMtuChange': {
|
|
2058
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest];
|
|
2059
|
+
returnType: void;
|
|
2060
|
+
};
|
|
2052
2061
|
/**
|
|
2053
2062
|
* Set permission settings for given embedding and embedded origins.
|
|
2054
2063
|
* @experimental
|
|
@@ -1036,6 +1036,13 @@ export namespace ProtocolProxyApi {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<void>;
|
|
1038
1038
|
|
|
1039
|
+
/**
|
|
1040
|
+
* Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
|
|
1041
|
+
* Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
|
|
1042
|
+
* with |address|.
|
|
1043
|
+
*/
|
|
1044
|
+
simulateGATTMtuChange(params: Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest): Promise<void>;
|
|
1045
|
+
|
|
1039
1046
|
/**
|
|
1040
1047
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
|
1041
1048
|
* happened.
|
|
@@ -1100,6 +1100,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1102
1102
|
|
|
1103
|
+
/**
|
|
1104
|
+
* Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
|
|
1105
|
+
* Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
|
|
1106
|
+
* with |address|.
|
|
1107
|
+
*/
|
|
1108
|
+
simulateGATTMtuChange(params: Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1109
|
+
|
|
1103
1110
|
/**
|
|
1104
1111
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
|
1105
1112
|
* happened.
|
package/types/protocol.d.ts
CHANGED
|
@@ -4673,6 +4673,11 @@ export namespace Protocol {
|
|
|
4673
4673
|
address: string;
|
|
4674
4674
|
}
|
|
4675
4675
|
|
|
4676
|
+
export interface SimulateGATTMtuChangeRequest {
|
|
4677
|
+
address: string;
|
|
4678
|
+
mtu: integer;
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4676
4681
|
/**
|
|
4677
4682
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
|
4678
4683
|
* happened.
|
|
@@ -7155,7 +7160,7 @@ export namespace Protocol {
|
|
|
7155
7160
|
/**
|
|
7156
7161
|
* Pseudo element type.
|
|
7157
7162
|
*/
|
|
7158
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'select-listbox' | 'permission-icon' | 'overscroll-area-parent' | '
|
|
7163
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'select-listbox' | 'permission-icon' | 'overscroll-area-parent' | 'skeleton');
|
|
7159
7164
|
|
|
7160
7165
|
/**
|
|
7161
7166
|
* Shadow root type.
|
|
@@ -19378,7 +19383,7 @@ export namespace Protocol {
|
|
|
19378
19383
|
/**
|
|
19379
19384
|
* List of FinalStatus reasons for Prerender2.
|
|
19380
19385
|
*/
|
|
19381
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe');
|
|
19386
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe' | 'UnexpectedMainFrameNavigation');
|
|
19382
19387
|
|
|
19383
19388
|
/**
|
|
19384
19389
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|