chrome-devtools-frontend 1.0.1575174 → 1.0.1575635
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/.stylelintrc.json +1 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -0
- package/front_end/core/sdk/CSSMatchedStyles.ts +27 -0
- package/front_end/entrypoints/main/MainImpl.ts +13 -7
- package/front_end/entrypoints/node_app/app/NodeConnectionsPanel.ts +3 -2
- package/front_end/generated/InspectorBackendCommands.ts +37 -0
- package/front_end/generated/protocol-mapping.d.ts +257 -0
- package/front_end/generated/protocol-proxy-api.d.ts +256 -0
- package/front_end/generated/protocol.ts +359 -0
- package/front_end/models/ai_assistance/AiConversation.ts +31 -10
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +1 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +29 -5
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.snapshot.txt +73 -0
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +141 -0
- package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +5 -0
- package/front_end/models/live-metrics/LiveMetrics.ts +31 -51
- package/front_end/models/stack_trace/StackTrace.ts +2 -1
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +72 -6
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +1 -0
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +6 -4
- package/front_end/panels/ai_assistance/components/ChatView.ts +5 -6
- package/front_end/panels/ai_assistance/components/chatView.css +10 -0
- package/front_end/panels/application/StorageView.ts +3 -3
- package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +1 -1
- package/front_end/panels/common/aiCodeCompletionSummaryToolbar.css +1 -1
- package/front_end/panels/console/ConsoleContextSelector.ts +4 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +63 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +17 -2
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +4 -0
- package/front_end/panels/issues/AffectedMetadataAllowedSitesView.ts +3 -3
- package/front_end/panels/layer_viewer/Layers3DView.ts +2 -1
- package/front_end/panels/lighthouse/LighthouseStartView.ts +7 -6
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +3 -2
- package/front_end/panels/network/RequestConditionsDrawer.ts +2 -3
- package/front_end/panels/network/SignedExchangeInfoView.ts +3 -4
- package/front_end/panels/network/components/HeaderSectionRow.css +1 -1
- package/front_end/panels/recorder/components/RecordingView.ts +2 -2
- package/front_end/panels/recorder/components/recordingView.css +5 -0
- package/front_end/panels/security/SecurityPanelSidebar.ts +10 -9
- package/front_end/panels/settings/AISettingsTab.ts +2 -1
- package/front_end/panels/settings/KeybindsSettingsTab.ts +3 -5
- package/front_end/panels/settings/SettingsScreen.ts +2 -3
- package/front_end/panels/sources/CallStackSidebarPane.ts +10 -0
- package/front_end/panels/sources/DebuggerPlugin.ts +18 -12
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +4 -3
- package/front_end/panels/sources/SourcesNavigator.ts +2 -2
- package/front_end/panels/sources/SourcesPanel.ts +6 -3
- package/front_end/panels/sources/TabbedEditorContainer.ts +2 -2
- package/front_end/panels/sources/sources-meta.ts +2 -1
- package/front_end/panels/timeline/TimelinePanel.ts +2 -1
- package/front_end/panels/timeline/TimelineUIUtils.ts +2 -2
- package/front_end/panels/timeline/components/DetailsView.ts +7 -7
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +2 -2
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +4 -4
- package/front_end/panels/whats_new/releaseNoteView.css +1 -1
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js +30 -25
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +30 -21
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js +31 -26
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/package.json +3 -3
- package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +45 -44
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/ui/components/buttons/Button.ts +2 -2
- package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
- package/front_end/ui/components/panel_feedback/panelFeedback.css +1 -1
- package/front_end/ui/kit/link/Link.ts +31 -0
- package/front_end/ui/legacy/LinkContextMenuProvider.ts +3 -5
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +2 -2
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +336 -250
- package/front_end/ui/legacy/inspectorCommon.css +0 -1
- package/front_end/ui/legacy/legacy.ts +0 -4
- package/front_end/ui/visual_logging/KnownContextValues.ts +4 -0
- package/front_end/ui/visual_logging/LoggingDriver.ts +10 -6
- package/package.json +1 -1
- package/front_end/ui/legacy/XElement.ts +0 -41
- package/front_end/ui/legacy/XLink.ts +0 -128
package/.stylelintrc.json
CHANGED
|
@@ -511,6 +511,8 @@ export interface SyncInformation {
|
|
|
511
511
|
accountImage?: string;
|
|
512
512
|
/** The full name of the account used for syncing */
|
|
513
513
|
accountFullName?: string;
|
|
514
|
+
/** The given name of the account used for syncing */
|
|
515
|
+
accountGivenName?: string;
|
|
514
516
|
/** Whether Chrome Sync is paused, equivalent to the user being logged out automatically */
|
|
515
517
|
isSyncPaused?: boolean;
|
|
516
518
|
}
|
|
@@ -908,6 +908,11 @@ export class CSSMatchedStyles {
|
|
|
908
908
|
return domCascade ? domCascade.propertyState(property) : null;
|
|
909
909
|
}
|
|
910
910
|
|
|
911
|
+
isPropertyOverriddenByAnimation(property: CSSProperty): boolean {
|
|
912
|
+
const domCascade = this.#styleToDOMCascade.get(property.ownerStyle);
|
|
913
|
+
return domCascade?.isPropertyOverriddenByAnimation(property) ?? false;
|
|
914
|
+
}
|
|
915
|
+
|
|
911
916
|
resetActiveProperties(): void {
|
|
912
917
|
Platform.assertNotNullOrUndefined(this.#mainDOMCascade);
|
|
913
918
|
Platform.assertNotNullOrUndefined(this.#pseudoDOMCascades);
|
|
@@ -961,6 +966,7 @@ class NodeCascade {
|
|
|
961
966
|
readonly styles: CSSStyleDeclaration[];
|
|
962
967
|
readonly #isInherited: boolean;
|
|
963
968
|
readonly propertiesState = new Map<CSSProperty, PropertyState>();
|
|
969
|
+
readonly propertiesOverriddenByAnimation = new Set<CSSProperty>();
|
|
964
970
|
readonly activeProperties = new Map<string, CSSProperty>();
|
|
965
971
|
readonly #node: DOMNode;
|
|
966
972
|
constructor(
|
|
@@ -974,6 +980,7 @@ class NodeCascade {
|
|
|
974
980
|
|
|
975
981
|
computeActiveProperties(): void {
|
|
976
982
|
this.propertiesState.clear();
|
|
983
|
+
this.propertiesOverriddenByAnimation.clear();
|
|
977
984
|
this.activeProperties.clear();
|
|
978
985
|
|
|
979
986
|
for (let i = this.styles.length - 1; i >= 0; i--) {
|
|
@@ -1082,6 +1089,10 @@ class NodeCascade {
|
|
|
1082
1089
|
|
|
1083
1090
|
if (activeProperty) {
|
|
1084
1091
|
this.propertiesState.set(activeProperty, PropertyState.OVERLOADED);
|
|
1092
|
+
if (propertyWithHigherSpecificity.ownerStyle.type === Type.Animation ||
|
|
1093
|
+
propertyWithHigherSpecificity.ownerStyle.type === Type.Transition) {
|
|
1094
|
+
this.propertiesOverriddenByAnimation.add(activeProperty);
|
|
1095
|
+
}
|
|
1085
1096
|
}
|
|
1086
1097
|
this.propertiesState.set(propertyWithHigherSpecificity, PropertyState.ACTIVE);
|
|
1087
1098
|
this.activeProperties.set(canonicalName, propertyWithHigherSpecificity);
|
|
@@ -1176,6 +1187,7 @@ function* forEach<T>(array: T[], startAfter?: T): Generator<T> {
|
|
|
1176
1187
|
|
|
1177
1188
|
class DOMInheritanceCascade {
|
|
1178
1189
|
readonly #propertiesState = new Map<CSSProperty, PropertyState>();
|
|
1190
|
+
readonly #propertiesOverriddenByAnimation = new Set<CSSProperty>();
|
|
1179
1191
|
readonly #availableCSSVariables = new Map<NodeCascade, Map<string, CSSVariableValue|null>>();
|
|
1180
1192
|
readonly #computedCSSVariables = new Map<NodeCascade, Map<string, CSSVariableValue|CSSAttributeValue|null>>();
|
|
1181
1193
|
readonly #styleToNodeCascade = new Map<CSSStyleDeclaration, NodeCascade>();
|
|
@@ -1568,9 +1580,15 @@ class DOMInheritanceCascade {
|
|
|
1568
1580
|
return this.#propertiesState.get(property) || null;
|
|
1569
1581
|
}
|
|
1570
1582
|
|
|
1583
|
+
isPropertyOverriddenByAnimation(property: CSSProperty): boolean {
|
|
1584
|
+
this.ensureInitialized();
|
|
1585
|
+
return this.#propertiesOverriddenByAnimation.has(property);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1571
1588
|
reset(): void {
|
|
1572
1589
|
this.#initialized = false;
|
|
1573
1590
|
this.#propertiesState.clear();
|
|
1591
|
+
this.#propertiesOverriddenByAnimation.clear();
|
|
1574
1592
|
this.#availableCSSVariables.clear();
|
|
1575
1593
|
this.#computedCSSVariables.clear();
|
|
1576
1594
|
}
|
|
@@ -1587,11 +1605,20 @@ class DOMInheritanceCascade {
|
|
|
1587
1605
|
for (const [property, state] of nodeCascade.propertiesState) {
|
|
1588
1606
|
if (state === PropertyState.OVERLOADED) {
|
|
1589
1607
|
this.#propertiesState.set(property, PropertyState.OVERLOADED);
|
|
1608
|
+
if (nodeCascade.propertiesOverriddenByAnimation.has(property)) {
|
|
1609
|
+
this.#propertiesOverriddenByAnimation.add(property);
|
|
1610
|
+
}
|
|
1590
1611
|
continue;
|
|
1591
1612
|
}
|
|
1592
1613
|
const canonicalName = cssMetadata().canonicalPropertyName(property.name);
|
|
1593
1614
|
if (activeProperties.has(canonicalName)) {
|
|
1594
1615
|
this.#propertiesState.set(property, PropertyState.OVERLOADED);
|
|
1616
|
+
const activeProperty = activeProperties.get(canonicalName);
|
|
1617
|
+
if (activeProperty &&
|
|
1618
|
+
(activeProperty.ownerStyle.type === Type.Animation ||
|
|
1619
|
+
activeProperty.ownerStyle.type === Type.Transition)) {
|
|
1620
|
+
this.#propertiesOverriddenByAnimation.add(property);
|
|
1621
|
+
}
|
|
1595
1622
|
continue;
|
|
1596
1623
|
}
|
|
1597
1624
|
activeProperties.set(canonicalName, property);
|
|
@@ -328,7 +328,6 @@ export class MainImpl {
|
|
|
328
328
|
return {syncedStorage, globalStorage, localStorage};
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
// eslint-disable-next-line no-unused-private-class-members
|
|
332
331
|
#migrateValueFromLegacyToHostExperiment(
|
|
333
332
|
legacyExperimentName: Root.ExperimentNames.ExperimentName, hostExperiment: Root.Runtime.HostExperiment): void {
|
|
334
333
|
const value = Root.Runtime.experiments.getValueFromStorage(legacyExperimentName);
|
|
@@ -345,9 +344,19 @@ export class MainImpl {
|
|
|
345
344
|
Root.Runtime.experiments.register(
|
|
346
345
|
Root.ExperimentNames.ExperimentName.CAPTURE_NODE_CREATION_STACKS, 'Capture node creation stacks');
|
|
347
346
|
Root.Runtime.experiments.register(Root.ExperimentNames.ExperimentName.LIVE_HEAP_PROFILE, 'Live heap profile');
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
347
|
+
|
|
348
|
+
const enableProtocolMonitor = (Root.Runtime.hostConfig.devToolsProtocolMonitor?.enabled ?? false) ||
|
|
349
|
+
Boolean(Root.Runtime.Runtime.queryParam('isChromeForTesting'));
|
|
350
|
+
const protocolMonitorExperiment = Root.Runtime.experiments.registerHostExperiment({
|
|
351
|
+
name: Root.ExperimentNames.ExperimentName.PROTOCOL_MONITOR,
|
|
352
|
+
title: 'Protocol Monitor',
|
|
353
|
+
aboutFlag: 'devtools-protocol-monitor',
|
|
354
|
+
isEnabled: enableProtocolMonitor,
|
|
355
|
+
docLink: 'https://developer.chrome.com/blog/new-in-devtools-92/#protocol-monitor' as
|
|
356
|
+
Platform.DevToolsPath.UrlString,
|
|
357
|
+
});
|
|
358
|
+
this.#migrateValueFromLegacyToHostExperiment(
|
|
359
|
+
Root.ExperimentNames.ExperimentName.PROTOCOL_MONITOR, protocolMonitorExperiment);
|
|
351
360
|
Root.Runtime.experiments.register(
|
|
352
361
|
Root.ExperimentNames.ExperimentName.SAMPLING_HEAP_PROFILER_TIMELINE, 'Sampling heap profiler timeline');
|
|
353
362
|
Root.Runtime.experiments.register(
|
|
@@ -416,9 +425,6 @@ export class MainImpl {
|
|
|
416
425
|
Root.Runtime.experiments.enableExperimentsByDefault([
|
|
417
426
|
Root.ExperimentNames.ExperimentName.FULL_ACCESSIBILITY_TREE,
|
|
418
427
|
Root.ExperimentNames.ExperimentName.USE_SOURCE_MAP_SCOPES,
|
|
419
|
-
...(Root.Runtime.Runtime.queryParam('isChromeForTesting') ?
|
|
420
|
-
[Root.ExperimentNames.ExperimentName.PROTOCOL_MONITOR] :
|
|
421
|
-
[]),
|
|
422
428
|
]);
|
|
423
429
|
|
|
424
430
|
Root.Runtime.experiments.cleanUpStaleExperiments();
|
|
@@ -8,6 +8,7 @@ import * as Host from '../../../core/host/host.js';
|
|
|
8
8
|
import * as i18n from '../../../core/i18n/i18n.js';
|
|
9
9
|
import * as Buttons from '../../../ui/components/buttons/buttons.js';
|
|
10
10
|
import * as uiI18n from '../../../ui/i18n/i18n.js';
|
|
11
|
+
import {Link} from '../../../ui/kit/kit.js';
|
|
11
12
|
import * as UI from '../../../ui/legacy/legacy.js';
|
|
12
13
|
|
|
13
14
|
import nodeConnectionsPanelStyles from './nodeConnectionsPanel.css.js';
|
|
@@ -94,8 +95,8 @@ export class NodeConnectionsView extends UI.Widget.VBox implements UI.ListWidget
|
|
|
94
95
|
this.element.classList.add('network-discovery-view');
|
|
95
96
|
|
|
96
97
|
const networkDiscoveryFooter = this.element.createChild('div', 'network-discovery-footer');
|
|
97
|
-
const documentationLink =
|
|
98
|
-
'https://nodejs.org/en/docs/inspector/', i18nString(UIStrings.nodejsDebuggingGuide), undefined,
|
|
98
|
+
const documentationLink = Link.create(
|
|
99
|
+
'https://nodejs.org/en/docs/inspector/', i18nString(UIStrings.nodejsDebuggingGuide), undefined,
|
|
99
100
|
'node-js-debugging');
|
|
100
101
|
networkDiscoveryFooter.appendChild(
|
|
101
102
|
uiI18n.getFormatLocalizedString(str_, UIStrings.specifyNetworkEndpointAnd, {PH1: documentationLink}));
|
|
@@ -1242,6 +1242,43 @@ inspectorBackend.registerType("ServiceWorker.ServiceWorkerRegistration", [{"name
|
|
|
1242
1242
|
inspectorBackend.registerType("ServiceWorker.ServiceWorkerVersion", [{"name": "versionId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "scriptURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "runningStatus", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionRunningStatus"}, {"name": "status", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionStatus"}, {"name": "scriptLastModified", "type": "number", "optional": true, "description": "The Last-Modified header value of the main script.", "typeRef": null}, {"name": "scriptResponseTime", "type": "number", "optional": true, "description": "The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.", "typeRef": null}, {"name": "controlledClients", "type": "array", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "targetId", "type": "string", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "routerRules", "type": "string", "optional": true, "description": "", "typeRef": null}]);
|
|
1243
1243
|
inspectorBackend.registerType("ServiceWorker.ServiceWorkerErrorMessage", [{"name": "errorMessage", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "versionId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "sourceURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "lineNumber", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "columnNumber", "type": "number", "optional": false, "description": "", "typeRef": null}]);
|
|
1244
1244
|
|
|
1245
|
+
// SmartCardEmulation.
|
|
1246
|
+
inspectorBackend.registerEnum("SmartCardEmulation.ResultCode", {Success: "success", RemovedCard: "removed-card", ResetCard: "reset-card", UnpoweredCard: "unpowered-card", UnresponsiveCard: "unresponsive-card", UnsupportedCard: "unsupported-card", ReaderUnavailable: "reader-unavailable", SharingViolation: "sharing-violation", NotTransacted: "not-transacted", NoSmartcard: "no-smartcard", ProtoMismatch: "proto-mismatch", SystemCancelled: "system-cancelled", NotReady: "not-ready", Cancelled: "cancelled", InsufficientBuffer: "insufficient-buffer", InvalidHandle: "invalid-handle", InvalidParameter: "invalid-parameter", InvalidValue: "invalid-value", NoMemory: "no-memory", Timeout: "timeout", UnknownReader: "unknown-reader", UnsupportedFeature: "unsupported-feature", NoReadersAvailable: "no-readers-available", ServiceStopped: "service-stopped", NoService: "no-service", CommError: "comm-error", InternalError: "internal-error", ServerTooBusy: "server-too-busy", Unexpected: "unexpected", Shutdown: "shutdown", UnknownCard: "unknown-card", Unknown: "unknown"});
|
|
1247
|
+
inspectorBackend.registerEnum("SmartCardEmulation.ShareMode", {Shared: "shared", Exclusive: "exclusive", Direct: "direct"});
|
|
1248
|
+
inspectorBackend.registerEnum("SmartCardEmulation.Disposition", {LeaveCard: "leave-card", ResetCard: "reset-card", UnpowerCard: "unpower-card", EjectCard: "eject-card"});
|
|
1249
|
+
inspectorBackend.registerEnum("SmartCardEmulation.ConnectionState", {Absent: "absent", Present: "present", Swallowed: "swallowed", Powered: "powered", Negotiable: "negotiable", Specific: "specific"});
|
|
1250
|
+
inspectorBackend.registerEnum("SmartCardEmulation.Protocol", {T0: "t0", T1: "t1", Raw: "raw"});
|
|
1251
|
+
inspectorBackend.registerEvent("SmartCardEmulation.establishContextRequested", ["requestId"]);
|
|
1252
|
+
inspectorBackend.registerEvent("SmartCardEmulation.releaseContextRequested", ["requestId", "contextId"]);
|
|
1253
|
+
inspectorBackend.registerEvent("SmartCardEmulation.listReadersRequested", ["requestId", "contextId"]);
|
|
1254
|
+
inspectorBackend.registerEvent("SmartCardEmulation.getStatusChangeRequested", ["requestId", "contextId", "readerStates", "timeout"]);
|
|
1255
|
+
inspectorBackend.registerEvent("SmartCardEmulation.cancelRequested", ["requestId", "contextId"]);
|
|
1256
|
+
inspectorBackend.registerEvent("SmartCardEmulation.connectRequested", ["requestId", "contextId", "reader", "shareMode", "preferredProtocols"]);
|
|
1257
|
+
inspectorBackend.registerEvent("SmartCardEmulation.disconnectRequested", ["requestId", "handle", "disposition"]);
|
|
1258
|
+
inspectorBackend.registerEvent("SmartCardEmulation.transmitRequested", ["requestId", "handle", "data", "protocol"]);
|
|
1259
|
+
inspectorBackend.registerEvent("SmartCardEmulation.controlRequested", ["requestId", "handle", "controlCode", "data"]);
|
|
1260
|
+
inspectorBackend.registerEvent("SmartCardEmulation.getAttribRequested", ["requestId", "handle", "attribId"]);
|
|
1261
|
+
inspectorBackend.registerEvent("SmartCardEmulation.setAttribRequested", ["requestId", "handle", "attribId", "data"]);
|
|
1262
|
+
inspectorBackend.registerEvent("SmartCardEmulation.statusRequested", ["requestId", "handle"]);
|
|
1263
|
+
inspectorBackend.registerEvent("SmartCardEmulation.beginTransactionRequested", ["requestId", "handle"]);
|
|
1264
|
+
inspectorBackend.registerEvent("SmartCardEmulation.endTransactionRequested", ["requestId", "handle", "disposition"]);
|
|
1265
|
+
inspectorBackend.registerCommand("SmartCardEmulation.enable", [], [], "Enables the |SmartCardEmulation| domain.");
|
|
1266
|
+
inspectorBackend.registerCommand("SmartCardEmulation.disable", [], [], "Disables the |SmartCardEmulation| domain.");
|
|
1267
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportEstablishContextResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "contextId", "type": "number", "optional": false, "description": "", "typeRef": null}], [], "Reports the successful result of a |SCardEstablishContext| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext");
|
|
1268
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportReleaseContextResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Reports the successful result of a |SCardReleaseContext| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext");
|
|
1269
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportListReadersResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "readers", "type": "array", "optional": false, "description": "", "typeRef": "string"}], [], "Reports the successful result of a |SCardListReaders| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa");
|
|
1270
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportGetStatusChangeResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "readerStates", "type": "array", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ReaderStateOut"}], [], "Reports the successful result of a |SCardGetStatusChange| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea");
|
|
1271
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportBeginTransactionResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Reports the result of a |SCardBeginTransaction| call. On success, this creates a new transaction object. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction");
|
|
1272
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportPlainResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Reports the successful result of a call that returns only a result code. Used for: |SCardCancel|, |SCardDisconnect|, |SCardSetAttrib|, |SCardEndTransaction|. This maps to: 1. SCardCancel PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel 2. SCardDisconnect PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect 3. SCardSetAttrib PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib 4. SCardEndTransaction PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction");
|
|
1273
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportConnectResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "handle", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "activeProtocol", "type": "string", "optional": true, "description": "", "typeRef": "SmartCardEmulation.Protocol"}], [], "Reports the successful result of a |SCardConnect| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta");
|
|
1274
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportDataResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "data", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Reports the successful result of a call that sends back data on success. Used for |SCardTransmit|, |SCardControl|, and |SCardGetAttrib|. This maps to: 1. SCardTransmit PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit 2. SCardControl PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol 3. SCardGetAttrib PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib");
|
|
1275
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportStatusResult", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "readerName", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "state", "type": "string", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ConnectionState"}, {"name": "atr", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "protocol", "type": "string", "optional": true, "description": "", "typeRef": "SmartCardEmulation.Protocol"}], [], "Reports the successful result of a |SCardStatus| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa");
|
|
1276
|
+
inspectorBackend.registerCommand("SmartCardEmulation.reportError", [{"name": "requestId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "resultCode", "type": "string", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ResultCode"}], [], "Reports an error result for the given request.");
|
|
1277
|
+
inspectorBackend.registerType("SmartCardEmulation.ReaderStateFlags", [{"name": "unaware", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "ignore", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "changed", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "unknown", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "unavailable", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "empty", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "present", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "exclusive", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "inuse", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "mute", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "unpowered", "type": "boolean", "optional": true, "description": "", "typeRef": null}]);
|
|
1278
|
+
inspectorBackend.registerType("SmartCardEmulation.ProtocolSet", [{"name": "t0", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "t1", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "raw", "type": "boolean", "optional": true, "description": "", "typeRef": null}]);
|
|
1279
|
+
inspectorBackend.registerType("SmartCardEmulation.ReaderStateIn", [{"name": "reader", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "currentState", "type": "object", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ReaderStateFlags"}, {"name": "currentInsertionCount", "type": "number", "optional": false, "description": "", "typeRef": null}]);
|
|
1280
|
+
inspectorBackend.registerType("SmartCardEmulation.ReaderStateOut", [{"name": "reader", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "eventState", "type": "object", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ReaderStateFlags"}, {"name": "eventCount", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "atr", "type": "string", "optional": false, "description": "", "typeRef": null}]);
|
|
1281
|
+
|
|
1245
1282
|
// Storage.
|
|
1246
1283
|
inspectorBackend.registerEnum("Storage.StorageType", {Cookies: "cookies", File_systems: "file_systems", Indexeddb: "indexeddb", Local_storage: "local_storage", Shader_cache: "shader_cache", Websql: "websql", Service_workers: "service_workers", Cache_storage: "cache_storage", Interest_groups: "interest_groups", Shared_storage: "shared_storage", Storage_buckets: "storage_buckets", All: "all", Other: "other"});
|
|
1247
1284
|
inspectorBackend.registerEnum("Storage.InterestGroupAccessType", {Join: "join", Leave: "leave", Update: "update", Loaded: "loaded", Bid: "bid", Win: "win", AdditionalBid: "additionalBid", AdditionalBidWin: "additionalBidWin", TopLevelBid: "topLevelBid", TopLevelAdditionalBid: "topLevelAdditionalBid", Clear: "clear"});
|
|
@@ -635,6 +635,118 @@ export namespace ProtocolMapping {
|
|
|
635
635
|
'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
|
|
636
636
|
'ServiceWorker.workerRegistrationUpdated': [Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent];
|
|
637
637
|
'ServiceWorker.workerVersionUpdated': [Protocol.ServiceWorker.WorkerVersionUpdatedEvent];
|
|
638
|
+
/**
|
|
639
|
+
* Fired when |SCardEstablishContext| is called.
|
|
640
|
+
*
|
|
641
|
+
* This maps to:
|
|
642
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
|
|
643
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
|
|
644
|
+
*/
|
|
645
|
+
'SmartCardEmulation.establishContextRequested': [Protocol.SmartCardEmulation.EstablishContextRequestedEvent];
|
|
646
|
+
/**
|
|
647
|
+
* Fired when |SCardReleaseContext| is called.
|
|
648
|
+
*
|
|
649
|
+
* This maps to:
|
|
650
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
|
|
651
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
|
|
652
|
+
*/
|
|
653
|
+
'SmartCardEmulation.releaseContextRequested': [Protocol.SmartCardEmulation.ReleaseContextRequestedEvent];
|
|
654
|
+
/**
|
|
655
|
+
* Fired when |SCardListReaders| is called.
|
|
656
|
+
*
|
|
657
|
+
* This maps to:
|
|
658
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
|
|
659
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
|
|
660
|
+
*/
|
|
661
|
+
'SmartCardEmulation.listReadersRequested': [Protocol.SmartCardEmulation.ListReadersRequestedEvent];
|
|
662
|
+
/**
|
|
663
|
+
* Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.
|
|
664
|
+
*
|
|
665
|
+
* This maps to:
|
|
666
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
|
|
667
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
|
|
668
|
+
*/
|
|
669
|
+
'SmartCardEmulation.getStatusChangeRequested': [Protocol.SmartCardEmulation.GetStatusChangeRequestedEvent];
|
|
670
|
+
/**
|
|
671
|
+
* Fired when |SCardCancel| is called.
|
|
672
|
+
*
|
|
673
|
+
* This maps to:
|
|
674
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
|
|
675
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
|
|
676
|
+
*/
|
|
677
|
+
'SmartCardEmulation.cancelRequested': [Protocol.SmartCardEmulation.CancelRequestedEvent];
|
|
678
|
+
/**
|
|
679
|
+
* Fired when |SCardConnect| is called.
|
|
680
|
+
*
|
|
681
|
+
* This maps to:
|
|
682
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
|
|
683
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
|
|
684
|
+
*/
|
|
685
|
+
'SmartCardEmulation.connectRequested': [Protocol.SmartCardEmulation.ConnectRequestedEvent];
|
|
686
|
+
/**
|
|
687
|
+
* Fired when |SCardDisconnect| is called.
|
|
688
|
+
*
|
|
689
|
+
* This maps to:
|
|
690
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
|
|
691
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
|
|
692
|
+
*/
|
|
693
|
+
'SmartCardEmulation.disconnectRequested': [Protocol.SmartCardEmulation.DisconnectRequestedEvent];
|
|
694
|
+
/**
|
|
695
|
+
* Fired when |SCardTransmit| is called.
|
|
696
|
+
*
|
|
697
|
+
* This maps to:
|
|
698
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
|
|
699
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
|
|
700
|
+
*/
|
|
701
|
+
'SmartCardEmulation.transmitRequested': [Protocol.SmartCardEmulation.TransmitRequestedEvent];
|
|
702
|
+
/**
|
|
703
|
+
* Fired when |SCardControl| is called.
|
|
704
|
+
*
|
|
705
|
+
* This maps to:
|
|
706
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
|
|
707
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
|
|
708
|
+
*/
|
|
709
|
+
'SmartCardEmulation.controlRequested': [Protocol.SmartCardEmulation.ControlRequestedEvent];
|
|
710
|
+
/**
|
|
711
|
+
* Fired when |SCardGetAttrib| is called.
|
|
712
|
+
*
|
|
713
|
+
* This maps to:
|
|
714
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
|
|
715
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
|
|
716
|
+
*/
|
|
717
|
+
'SmartCardEmulation.getAttribRequested': [Protocol.SmartCardEmulation.GetAttribRequestedEvent];
|
|
718
|
+
/**
|
|
719
|
+
* Fired when |SCardSetAttrib| is called.
|
|
720
|
+
*
|
|
721
|
+
* This maps to:
|
|
722
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
|
|
723
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
|
|
724
|
+
*/
|
|
725
|
+
'SmartCardEmulation.setAttribRequested': [Protocol.SmartCardEmulation.SetAttribRequestedEvent];
|
|
726
|
+
/**
|
|
727
|
+
* Fired when |SCardStatus| is called.
|
|
728
|
+
*
|
|
729
|
+
* This maps to:
|
|
730
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
|
|
731
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
|
|
732
|
+
*/
|
|
733
|
+
'SmartCardEmulation.statusRequested': [Protocol.SmartCardEmulation.StatusRequestedEvent];
|
|
734
|
+
/**
|
|
735
|
+
* Fired when |SCardBeginTransaction| is called.
|
|
736
|
+
*
|
|
737
|
+
* This maps to:
|
|
738
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
|
|
739
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
|
|
740
|
+
*/
|
|
741
|
+
'SmartCardEmulation.beginTransactionRequested': [Protocol.SmartCardEmulation.BeginTransactionRequestedEvent];
|
|
742
|
+
/**
|
|
743
|
+
* Fired when |SCardEndTransaction| is called.
|
|
744
|
+
*
|
|
745
|
+
* This maps to:
|
|
746
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
|
|
747
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
|
|
748
|
+
*/
|
|
749
|
+
'SmartCardEmulation.endTransactionRequested': [Protocol.SmartCardEmulation.EndTransactionRequestedEvent];
|
|
638
750
|
/**
|
|
639
751
|
* A cache's contents have been modified.
|
|
640
752
|
*/
|
|
@@ -4434,6 +4546,151 @@ export namespace ProtocolMapping {
|
|
|
4434
4546
|
paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
|
|
4435
4547
|
returnType: void;
|
|
4436
4548
|
};
|
|
4549
|
+
/**
|
|
4550
|
+
* Enables the |SmartCardEmulation| domain.
|
|
4551
|
+
*/
|
|
4552
|
+
'SmartCardEmulation.enable': {
|
|
4553
|
+
paramsType: [];
|
|
4554
|
+
returnType: void;
|
|
4555
|
+
};
|
|
4556
|
+
/**
|
|
4557
|
+
* Disables the |SmartCardEmulation| domain.
|
|
4558
|
+
*/
|
|
4559
|
+
'SmartCardEmulation.disable': {
|
|
4560
|
+
paramsType: [];
|
|
4561
|
+
returnType: void;
|
|
4562
|
+
};
|
|
4563
|
+
/**
|
|
4564
|
+
* Reports the successful result of a |SCardEstablishContext| call.
|
|
4565
|
+
*
|
|
4566
|
+
* This maps to:
|
|
4567
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
|
|
4568
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
|
|
4569
|
+
*/
|
|
4570
|
+
'SmartCardEmulation.reportEstablishContextResult': {
|
|
4571
|
+
paramsType: [Protocol.SmartCardEmulation.ReportEstablishContextResultRequest];
|
|
4572
|
+
returnType: void;
|
|
4573
|
+
};
|
|
4574
|
+
/**
|
|
4575
|
+
* Reports the successful result of a |SCardReleaseContext| call.
|
|
4576
|
+
*
|
|
4577
|
+
* This maps to:
|
|
4578
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
|
|
4579
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
|
|
4580
|
+
*/
|
|
4581
|
+
'SmartCardEmulation.reportReleaseContextResult': {
|
|
4582
|
+
paramsType: [Protocol.SmartCardEmulation.ReportReleaseContextResultRequest];
|
|
4583
|
+
returnType: void;
|
|
4584
|
+
};
|
|
4585
|
+
/**
|
|
4586
|
+
* Reports the successful result of a |SCardListReaders| call.
|
|
4587
|
+
*
|
|
4588
|
+
* This maps to:
|
|
4589
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
|
|
4590
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
|
|
4591
|
+
*/
|
|
4592
|
+
'SmartCardEmulation.reportListReadersResult': {
|
|
4593
|
+
paramsType: [Protocol.SmartCardEmulation.ReportListReadersResultRequest];
|
|
4594
|
+
returnType: void;
|
|
4595
|
+
};
|
|
4596
|
+
/**
|
|
4597
|
+
* Reports the successful result of a |SCardGetStatusChange| call.
|
|
4598
|
+
*
|
|
4599
|
+
* This maps to:
|
|
4600
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
|
|
4601
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
|
|
4602
|
+
*/
|
|
4603
|
+
'SmartCardEmulation.reportGetStatusChangeResult': {
|
|
4604
|
+
paramsType: [Protocol.SmartCardEmulation.ReportGetStatusChangeResultRequest];
|
|
4605
|
+
returnType: void;
|
|
4606
|
+
};
|
|
4607
|
+
/**
|
|
4608
|
+
* Reports the result of a |SCardBeginTransaction| call.
|
|
4609
|
+
* On success, this creates a new transaction object.
|
|
4610
|
+
*
|
|
4611
|
+
* This maps to:
|
|
4612
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
|
|
4613
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
|
|
4614
|
+
*/
|
|
4615
|
+
'SmartCardEmulation.reportBeginTransactionResult': {
|
|
4616
|
+
paramsType: [Protocol.SmartCardEmulation.ReportBeginTransactionResultRequest];
|
|
4617
|
+
returnType: void;
|
|
4618
|
+
};
|
|
4619
|
+
/**
|
|
4620
|
+
* Reports the successful result of a call that returns only a result code.
|
|
4621
|
+
* Used for: |SCardCancel|, |SCardDisconnect|, |SCardSetAttrib|, |SCardEndTransaction|.
|
|
4622
|
+
*
|
|
4623
|
+
* This maps to:
|
|
4624
|
+
* 1. SCardCancel
|
|
4625
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
|
|
4626
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
|
|
4627
|
+
*
|
|
4628
|
+
* 2. SCardDisconnect
|
|
4629
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
|
|
4630
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
|
|
4631
|
+
*
|
|
4632
|
+
* 3. SCardSetAttrib
|
|
4633
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
|
|
4634
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
|
|
4635
|
+
*
|
|
4636
|
+
* 4. SCardEndTransaction
|
|
4637
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
|
|
4638
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
|
|
4639
|
+
*/
|
|
4640
|
+
'SmartCardEmulation.reportPlainResult': {
|
|
4641
|
+
paramsType: [Protocol.SmartCardEmulation.ReportPlainResultRequest];
|
|
4642
|
+
returnType: void;
|
|
4643
|
+
};
|
|
4644
|
+
/**
|
|
4645
|
+
* Reports the successful result of a |SCardConnect| call.
|
|
4646
|
+
*
|
|
4647
|
+
* This maps to:
|
|
4648
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
|
|
4649
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
|
|
4650
|
+
*/
|
|
4651
|
+
'SmartCardEmulation.reportConnectResult': {
|
|
4652
|
+
paramsType: [Protocol.SmartCardEmulation.ReportConnectResultRequest];
|
|
4653
|
+
returnType: void;
|
|
4654
|
+
};
|
|
4655
|
+
/**
|
|
4656
|
+
* Reports the successful result of a call that sends back data on success.
|
|
4657
|
+
* Used for |SCardTransmit|, |SCardControl|, and |SCardGetAttrib|.
|
|
4658
|
+
*
|
|
4659
|
+
* This maps to:
|
|
4660
|
+
* 1. SCardTransmit
|
|
4661
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
|
|
4662
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
|
|
4663
|
+
*
|
|
4664
|
+
* 2. SCardControl
|
|
4665
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
|
|
4666
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
|
|
4667
|
+
*
|
|
4668
|
+
* 3. SCardGetAttrib
|
|
4669
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
|
|
4670
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
|
|
4671
|
+
*/
|
|
4672
|
+
'SmartCardEmulation.reportDataResult': {
|
|
4673
|
+
paramsType: [Protocol.SmartCardEmulation.ReportDataResultRequest];
|
|
4674
|
+
returnType: void;
|
|
4675
|
+
};
|
|
4676
|
+
/**
|
|
4677
|
+
* Reports the successful result of a |SCardStatus| call.
|
|
4678
|
+
*
|
|
4679
|
+
* This maps to:
|
|
4680
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
|
|
4681
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
|
|
4682
|
+
*/
|
|
4683
|
+
'SmartCardEmulation.reportStatusResult': {
|
|
4684
|
+
paramsType: [Protocol.SmartCardEmulation.ReportStatusResultRequest];
|
|
4685
|
+
returnType: void;
|
|
4686
|
+
};
|
|
4687
|
+
/**
|
|
4688
|
+
* Reports an error result for the given request.
|
|
4689
|
+
*/
|
|
4690
|
+
'SmartCardEmulation.reportError': {
|
|
4691
|
+
paramsType: [Protocol.SmartCardEmulation.ReportErrorRequest];
|
|
4692
|
+
returnType: void;
|
|
4693
|
+
};
|
|
4437
4694
|
/**
|
|
4438
4695
|
* Returns a storage key given a frame id.
|
|
4439
4696
|
* Deprecated. Please use Storage.getStorageKey instead.
|