Skip to content

Commit ab28501

Browse files
committed
Roll protocol to r1575685
1 parent 19078ce commit ab28501

9 files changed

Lines changed: 1748 additions & 20 deletions

changelog.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11

22

3+
## Roll protocol to r1575685 — _2026-01-28T04:36:08.000Z_
4+
###### Diff: [`19078ce...b721951`](https://github.com/ChromeDevTools/devtools-protocol/compare/19078ce...b721951)
5+
6+
```diff
7+
@@ browser_protocol.pdl:48 @@ include domains/PerformanceTimeline.pdl
8+
include domains/Preload.pdl
9+
include domains/Security.pdl
10+
include domains/ServiceWorker.pdl
11+
+include domains/SmartCardEmulation.pdl
12+
include domains/Storage.pdl
13+
include domains/SystemInfo.pdl
14+
include domains/Target.pdl
15+
```
16+
317
## Roll protocol to r1574117 — _2026-01-24T04:34:09.000Z_
4-
###### Diff: [`878c563...9848d8a`](https://github.com/ChromeDevTools/devtools-protocol/compare/878c563...9848d8a)
18+
###### Diff: [`878c563...19078ce`](https://github.com/ChromeDevTools/devtools-protocol/compare/878c563...19078ce)
519

620
```diff
721
@@ domains/CSS.pdl:708 @@ experimental domain CSS
@@ -42319,20 +42333,4 @@ index 0dbdc01d..7a3c772c 100644
4231942333

4232042334
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
4232142335
# exceptions, CDP message, console messages, etc.) to reference an issue.
42322-
```
42323-
42324-
## Roll protocol to r1129676 — _2023-04-13T04:27:09.000Z_
42325-
###### Diff: [`d7c1808...adde591`](https://github.com/ChromeDevTools/devtools-protocol/compare/d7c1808...adde591)
42326-
42327-
```diff
42328-
@@ browser_protocol.pdl:708 @@ experimental domain Audits
42329-
InvalidHeader
42330-
InvalidRegisterTriggerHeader
42331-
InvalidEligibleHeader
42332-
- # TODO(crbug.com/1431942): Remove this issue once DevTools stops
42333-
- # referencing it
42334-
- TooManyConcurrentRequests
42335-
SourceAndTriggerHeaders
42336-
SourceIgnored
42337-
TriggerIgnored
4233842336
```

json/browser_protocol.json

Lines changed: 631 additions & 0 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1574117",
3+
"version": "0.0.1575685",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/browser_protocol.pdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ include domains/PerformanceTimeline.pdl
4848
include domains/Preload.pdl
4949
include domains/Security.pdl
5050
include domains/ServiceWorker.pdl
51+
include domains/SmartCardEmulation.pdl
5152
include domains/Storage.pdl
5253
include domains/SystemInfo.pdl
5354
include domains/Target.pdl

types/protocol-mapping.d.ts

Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,118 @@ export namespace ProtocolMapping {
799799
'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
800800
'ServiceWorker.workerRegistrationUpdated': [Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent];
801801
'ServiceWorker.workerVersionUpdated': [Protocol.ServiceWorker.WorkerVersionUpdatedEvent];
802+
/**
803+
* Fired when |SCardEstablishContext| is called.
804+
*
805+
* This maps to:
806+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
807+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
808+
*/
809+
'SmartCardEmulation.establishContextRequested': [Protocol.SmartCardEmulation.EstablishContextRequestedEvent];
810+
/**
811+
* Fired when |SCardReleaseContext| is called.
812+
*
813+
* This maps to:
814+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
815+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
816+
*/
817+
'SmartCardEmulation.releaseContextRequested': [Protocol.SmartCardEmulation.ReleaseContextRequestedEvent];
818+
/**
819+
* Fired when |SCardListReaders| is called.
820+
*
821+
* This maps to:
822+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
823+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
824+
*/
825+
'SmartCardEmulation.listReadersRequested': [Protocol.SmartCardEmulation.ListReadersRequestedEvent];
826+
/**
827+
* Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.
828+
*
829+
* This maps to:
830+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
831+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
832+
*/
833+
'SmartCardEmulation.getStatusChangeRequested': [Protocol.SmartCardEmulation.GetStatusChangeRequestedEvent];
834+
/**
835+
* Fired when |SCardCancel| is called.
836+
*
837+
* This maps to:
838+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
839+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
840+
*/
841+
'SmartCardEmulation.cancelRequested': [Protocol.SmartCardEmulation.CancelRequestedEvent];
842+
/**
843+
* Fired when |SCardConnect| is called.
844+
*
845+
* This maps to:
846+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
847+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
848+
*/
849+
'SmartCardEmulation.connectRequested': [Protocol.SmartCardEmulation.ConnectRequestedEvent];
850+
/**
851+
* Fired when |SCardDisconnect| is called.
852+
*
853+
* This maps to:
854+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
855+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
856+
*/
857+
'SmartCardEmulation.disconnectRequested': [Protocol.SmartCardEmulation.DisconnectRequestedEvent];
858+
/**
859+
* Fired when |SCardTransmit| is called.
860+
*
861+
* This maps to:
862+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
863+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
864+
*/
865+
'SmartCardEmulation.transmitRequested': [Protocol.SmartCardEmulation.TransmitRequestedEvent];
866+
/**
867+
* Fired when |SCardControl| is called.
868+
*
869+
* This maps to:
870+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
871+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
872+
*/
873+
'SmartCardEmulation.controlRequested': [Protocol.SmartCardEmulation.ControlRequestedEvent];
874+
/**
875+
* Fired when |SCardGetAttrib| is called.
876+
*
877+
* This maps to:
878+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
879+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
880+
*/
881+
'SmartCardEmulation.getAttribRequested': [Protocol.SmartCardEmulation.GetAttribRequestedEvent];
882+
/**
883+
* Fired when |SCardSetAttrib| is called.
884+
*
885+
* This maps to:
886+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
887+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
888+
*/
889+
'SmartCardEmulation.setAttribRequested': [Protocol.SmartCardEmulation.SetAttribRequestedEvent];
890+
/**
891+
* Fired when |SCardStatus| is called.
892+
*
893+
* This maps to:
894+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
895+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
896+
*/
897+
'SmartCardEmulation.statusRequested': [Protocol.SmartCardEmulation.StatusRequestedEvent];
898+
/**
899+
* Fired when |SCardBeginTransaction| is called.
900+
*
901+
* This maps to:
902+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
903+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
904+
*/
905+
'SmartCardEmulation.beginTransactionRequested': [Protocol.SmartCardEmulation.BeginTransactionRequestedEvent];
906+
/**
907+
* Fired when |SCardEndTransaction| is called.
908+
*
909+
* This maps to:
910+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
911+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
912+
*/
913+
'SmartCardEmulation.endTransactionRequested': [Protocol.SmartCardEmulation.EndTransactionRequestedEvent];
802914
/**
803915
* A cache's contents have been modified.
804916
*/
@@ -5340,6 +5452,151 @@ export namespace ProtocolMapping {
53405452
paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
53415453
returnType: void;
53425454
};
5455+
/**
5456+
* Enables the |SmartCardEmulation| domain.
5457+
*/
5458+
'SmartCardEmulation.enable': {
5459+
paramsType: [];
5460+
returnType: void;
5461+
};
5462+
/**
5463+
* Disables the |SmartCardEmulation| domain.
5464+
*/
5465+
'SmartCardEmulation.disable': {
5466+
paramsType: [];
5467+
returnType: void;
5468+
};
5469+
/**
5470+
* Reports the successful result of a |SCardEstablishContext| call.
5471+
*
5472+
* This maps to:
5473+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
5474+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
5475+
*/
5476+
'SmartCardEmulation.reportEstablishContextResult': {
5477+
paramsType: [Protocol.SmartCardEmulation.ReportEstablishContextResultRequest];
5478+
returnType: void;
5479+
};
5480+
/**
5481+
* Reports the successful result of a |SCardReleaseContext| call.
5482+
*
5483+
* This maps to:
5484+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
5485+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
5486+
*/
5487+
'SmartCardEmulation.reportReleaseContextResult': {
5488+
paramsType: [Protocol.SmartCardEmulation.ReportReleaseContextResultRequest];
5489+
returnType: void;
5490+
};
5491+
/**
5492+
* Reports the successful result of a |SCardListReaders| call.
5493+
*
5494+
* This maps to:
5495+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
5496+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
5497+
*/
5498+
'SmartCardEmulation.reportListReadersResult': {
5499+
paramsType: [Protocol.SmartCardEmulation.ReportListReadersResultRequest];
5500+
returnType: void;
5501+
};
5502+
/**
5503+
* Reports the successful result of a |SCardGetStatusChange| call.
5504+
*
5505+
* This maps to:
5506+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
5507+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
5508+
*/
5509+
'SmartCardEmulation.reportGetStatusChangeResult': {
5510+
paramsType: [Protocol.SmartCardEmulation.ReportGetStatusChangeResultRequest];
5511+
returnType: void;
5512+
};
5513+
/**
5514+
* Reports the result of a |SCardBeginTransaction| call.
5515+
* On success, this creates a new transaction object.
5516+
*
5517+
* This maps to:
5518+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
5519+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
5520+
*/
5521+
'SmartCardEmulation.reportBeginTransactionResult': {
5522+
paramsType: [Protocol.SmartCardEmulation.ReportBeginTransactionResultRequest];
5523+
returnType: void;
5524+
};
5525+
/**
5526+
* Reports the successful result of a call that returns only a result code.
5527+
* Used for: |SCardCancel|, |SCardDisconnect|, |SCardSetAttrib|, |SCardEndTransaction|.
5528+
*
5529+
* This maps to:
5530+
* 1. SCardCancel
5531+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
5532+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
5533+
*
5534+
* 2. SCardDisconnect
5535+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
5536+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
5537+
*
5538+
* 3. SCardSetAttrib
5539+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
5540+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
5541+
*
5542+
* 4. SCardEndTransaction
5543+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
5544+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
5545+
*/
5546+
'SmartCardEmulation.reportPlainResult': {
5547+
paramsType: [Protocol.SmartCardEmulation.ReportPlainResultRequest];
5548+
returnType: void;
5549+
};
5550+
/**
5551+
* Reports the successful result of a |SCardConnect| call.
5552+
*
5553+
* This maps to:
5554+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
5555+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
5556+
*/
5557+
'SmartCardEmulation.reportConnectResult': {
5558+
paramsType: [Protocol.SmartCardEmulation.ReportConnectResultRequest];
5559+
returnType: void;
5560+
};
5561+
/**
5562+
* Reports the successful result of a call that sends back data on success.
5563+
* Used for |SCardTransmit|, |SCardControl|, and |SCardGetAttrib|.
5564+
*
5565+
* This maps to:
5566+
* 1. SCardTransmit
5567+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
5568+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
5569+
*
5570+
* 2. SCardControl
5571+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
5572+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
5573+
*
5574+
* 3. SCardGetAttrib
5575+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
5576+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
5577+
*/
5578+
'SmartCardEmulation.reportDataResult': {
5579+
paramsType: [Protocol.SmartCardEmulation.ReportDataResultRequest];
5580+
returnType: void;
5581+
};
5582+
/**
5583+
* Reports the successful result of a |SCardStatus| call.
5584+
*
5585+
* This maps to:
5586+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
5587+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
5588+
*/
5589+
'SmartCardEmulation.reportStatusResult': {
5590+
paramsType: [Protocol.SmartCardEmulation.ReportStatusResultRequest];
5591+
returnType: void;
5592+
};
5593+
/**
5594+
* Reports an error result for the given request.
5595+
*/
5596+
'SmartCardEmulation.reportError': {
5597+
paramsType: [Protocol.SmartCardEmulation.ReportErrorRequest];
5598+
returnType: void;
5599+
};
53435600
/**
53445601
* Returns a storage key given a frame id.
53455602
* Deprecated. Please use Storage.getStorageKey instead.

0 commit comments

Comments
 (0)