chrome-devtools-frontend 1.0.1027447 → 1.0.1028166

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.
@@ -1397,6 +1397,9 @@
1397
1397
  "models/issues_manager/DeprecationIssue.ts | eventPath": {
1398
1398
  "message": "Event.path is deprecated and will be removed. Please use Event.composedPath() instead."
1399
1399
  },
1400
+ "models/issues_manager/DeprecationIssue.ts | expectCTHeader": {
1401
+ "message": "The Expect-CT header is deprecated and will be removed. Chrome requires Certificate Transparency for all publicly trusted certificates issued after April 30, 2018."
1402
+ },
1400
1403
  "models/issues_manager/DeprecationIssue.ts | feature": {
1401
1404
  "message": "Check the feature status page for more details."
1402
1405
  },
@@ -6818,9 +6821,18 @@
6818
6821
  "panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
6819
6822
  "message": "Text pattern to block matching requests; use * for wildcard"
6820
6823
  },
6824
+ "panels/network/components/RequestHeadersView.ts | activeClientExperimentVariation": {
6825
+ "message": "Active client experiment variation IDs."
6826
+ },
6827
+ "panels/network/components/RequestHeadersView.ts | activeClientExperimentVariationIds": {
6828
+ "message": "Active client experiment variation IDs that trigger server-side behavior."
6829
+ },
6821
6830
  "panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
6822
6831
  "message": "Choose this option if the resource and the document are served from the same site."
6823
6832
  },
6833
+ "panels/network/components/RequestHeadersView.ts | decoded": {
6834
+ "message": "Decoded:"
6835
+ },
6824
6836
  "panels/network/components/RequestHeadersView.ts | fromDiskCache": {
6825
6837
  "message": "(from disk cache)"
6826
6838
  },
@@ -1397,6 +1397,9 @@
1397
1397
  "models/issues_manager/DeprecationIssue.ts | eventPath": {
1398
1398
  "message": "Event.path îś d̂ép̂ŕêćât́êd́ âńd̂ ẃîĺl̂ b́ê ŕêḿôv́êd́. P̂ĺêáŝé ûśê Event.composedPath() ín̂śt̂éâd́."
1399
1399
  },
1400
+ "models/issues_manager/DeprecationIssue.ts | expectCTHeader": {
1401
+ "message": "T̂h́ê Expect-CT h́êád̂ér̂ íŝ d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂. Ćĥŕôḿê ŕêq́ûír̂éŝ Ćêŕt̂íf̂íĉát̂é T̂ŕâńŝṕâŕêńĉý f̂ór̂ ál̂ĺ p̂úb̂ĺîćl̂ý t̂ŕûśt̂éd̂ ćêŕt̂íf̂íĉát̂éŝ íŝśûéd̂ áf̂t́êŕ Âṕr̂íl̂ 30, 2018."
1402
+ },
1400
1403
  "models/issues_manager/DeprecationIssue.ts | feature": {
1401
1404
  "message": "Ĉh́êćk̂ t́ĥé f̂éât́ûŕê śt̂át̂úŝ ṕâǵê f́ôŕ m̂ór̂é d̂ét̂áîĺŝ."
1402
1405
  },
@@ -6818,9 +6821,18 @@
6818
6821
  "panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
6819
6822
  "message": "T̂éx̂t́ p̂át̂t́êŕn̂ t́ô b́l̂óĉḱ m̂át̂ćĥín̂ǵ r̂éq̂úêśt̂ś; ûśê * f́ôŕ ŵíl̂d́ĉár̂d́"
6820
6823
  },
6824
+ "panels/network/components/RequestHeadersView.ts | activeClientExperimentVariation": {
6825
+ "message": "Âćt̂ív̂é client experiment variation IDs."
6826
+ },
6827
+ "panels/network/components/RequestHeadersView.ts | activeClientExperimentVariationIds": {
6828
+ "message": "Âćt̂ív̂é client experiment variation IDs t̂h́ât́ t̂ŕîǵĝér̂ śêŕv̂ér̂-śîd́ê b́êh́âv́îór̂."
6829
+ },
6821
6830
  "panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
6822
6831
  "message": "Ĉh́ôóŝé t̂h́îś ôṕt̂íôń îf́ t̂h́ê ŕêśôúr̂ćê án̂d́ t̂h́ê d́ôćûḿêńt̂ ár̂é ŝér̂v́êd́ f̂ŕôḿ t̂h́ê śâḿê śît́ê."
6823
6832
  },
6833
+ "panels/network/components/RequestHeadersView.ts | decoded": {
6834
+ "message": "D̂éĉód̂éd̂:"
6835
+ },
6824
6836
  "panels/network/components/RequestHeadersView.ts | fromDiskCache": {
6825
6837
  "message": "(f̂ŕôḿ d̂íŝḱ ĉáĉh́ê)"
6826
6838
  },
@@ -681,9 +681,9 @@ export class DebuggerModel extends SDKModel<EventTypes> {
681
681
  // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
682
682
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
683
683
  executionContextId: number, hash: string, executionContextAuxData: any, isLiveEdit: boolean,
684
- sourceMapURL: Platform.DevToolsPath.UrlString|undefined, hasSourceURLComment: boolean, hasSyntaxError: boolean,
685
- length: number, isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null,
686
- codeOffset: number|null, scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
684
+ sourceMapURL: string|undefined, hasSourceURLComment: boolean, hasSyntaxError: boolean, length: number,
685
+ isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null, codeOffset: number|null,
686
+ scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
687
687
  embedderName: Platform.DevToolsPath.UrlString|null): Script {
688
688
  const knownScript = this.#scriptsInternal.get(scriptId);
689
689
  if (knownScript) {
@@ -1045,10 +1045,9 @@ class DebuggerDispatcher implements ProtocolProxyApi.DebuggerDispatcher {
1045
1045
  }
1046
1046
  this.#debuggerModel.parsedScriptSource(
1047
1047
  scriptId, url as Platform.DevToolsPath.UrlString, startLine, startColumn, endLine, endColumn,
1048
- executionContextId, hash, executionContextAuxData, Boolean(isLiveEdit),
1049
- sourceMapURL as Platform.DevToolsPath.UrlString, Boolean(hasSourceURL), false, length || 0, isModule || null,
1050
- stackTrace || null, codeOffset || null, scriptLanguage || null, debugSymbols || null,
1051
- embedderName as Platform.DevToolsPath.UrlString || null);
1048
+ executionContextId, hash, executionContextAuxData, Boolean(isLiveEdit), sourceMapURL, Boolean(hasSourceURL),
1049
+ false, length || 0, isModule || null, stackTrace || null, codeOffset || null, scriptLanguage || null,
1050
+ debugSymbols || null, embedderName as Platform.DevToolsPath.UrlString || null);
1052
1051
  }
1053
1052
 
1054
1053
  scriptFailedToParse({
@@ -1075,9 +1074,9 @@ class DebuggerDispatcher implements ProtocolProxyApi.DebuggerDispatcher {
1075
1074
  }
1076
1075
  this.#debuggerModel.parsedScriptSource(
1077
1076
  scriptId, url as Platform.DevToolsPath.UrlString, startLine, startColumn, endLine, endColumn,
1078
- executionContextId, hash, executionContextAuxData, false, sourceMapURL as Platform.DevToolsPath.UrlString,
1079
- Boolean(hasSourceURL), true, length || 0, isModule || null, stackTrace || null, codeOffset || null,
1080
- scriptLanguage || null, null, embedderName as Platform.DevToolsPath.UrlString || null);
1077
+ executionContextId, hash, executionContextAuxData, false, sourceMapURL, Boolean(hasSourceURL), true,
1078
+ length || 0, isModule || null, stackTrace || null, codeOffset || null, scriptLanguage || null, null,
1079
+ embedderName as Platform.DevToolsPath.UrlString || null);
1081
1080
  }
1082
1081
 
1083
1082
  breakpointResolved({breakpointId, location}: Protocol.Debugger.BreakpointResolvedEvent): void {
@@ -65,7 +65,7 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
65
65
  hash: string;
66
66
  readonly #isContentScriptInternal: boolean;
67
67
  readonly #isLiveEditInternal: boolean;
68
- sourceMapURL: Platform.DevToolsPath.UrlString|undefined;
68
+ sourceMapURL?: string;
69
69
  debugSymbols: Protocol.Debugger.DebugSymbols|null;
70
70
  hasSourceURL: boolean;
71
71
  contentLength: number;
@@ -79,10 +79,9 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
79
79
  constructor(
80
80
  debuggerModel: DebuggerModel, scriptId: Protocol.Runtime.ScriptId, sourceURL: Platform.DevToolsPath.UrlString,
81
81
  startLine: number, startColumn: number, endLine: number, endColumn: number, executionContextId: number,
82
- hash: string, isContentScript: boolean, isLiveEdit: boolean,
83
- sourceMapURL: Platform.DevToolsPath.UrlString|undefined, hasSourceURL: boolean, length: number,
84
- isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null, codeOffset: number|null,
85
- scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
82
+ hash: string, isContentScript: boolean, isLiveEdit: boolean, sourceMapURL: string|undefined,
83
+ hasSourceURL: boolean, length: number, isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null,
84
+ codeOffset: number|null, scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
86
85
  embedderName: Platform.DevToolsPath.UrlString|null) {
87
86
  this.debuggerModel = debuggerModel;
88
87
  this.scriptId = scriptId;
@@ -27,7 +27,9 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
27
27
  readonly #target: Target;
28
28
  #isEnabled: boolean;
29
29
  readonly #relativeSourceURL: Map<T, Platform.DevToolsPath.UrlString>;
30
- readonly #relativeSourceMapURL: Map<T, Platform.DevToolsPath.UrlString>;
30
+ // Stores the raw sourceMappingURL as provided by V8. These are not guaranteed to
31
+ // be valid URLs and will be checked and resolved once `attachSourceMap` is called.
32
+ readonly #relativeSourceMapURL: Map<T, string>;
31
33
  #resolvedSourceMapId: Map<T, string>;
32
34
  readonly #sourceMapById: Map<string, SourceMap>;
33
35
  #sourceMapIdToLoadingClients: Platform.MapUtilities.Multimap<string, T>;
@@ -157,8 +159,7 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
157
159
  return `${sourceURL}:${sourceMapURL}`;
158
160
  }
159
161
 
160
- private resolveRelativeURLs(
161
- sourceURL: Platform.DevToolsPath.UrlString, sourceMapURL: Platform.DevToolsPath.UrlString): {
162
+ private resolveRelativeURLs(sourceURL: Platform.DevToolsPath.UrlString, sourceMapURL: string): {
162
163
  sourceURL: Platform.DevToolsPath.UrlString,
163
164
  sourceMapURL: Platform.DevToolsPath.UrlString,
164
165
  sourceMapId: string,
@@ -182,7 +183,7 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
182
183
 
183
184
  attachSourceMap(
184
185
  client: T, relativeSourceURL: Platform.DevToolsPath.UrlString|undefined,
185
- relativeSourceMapURL: Platform.DevToolsPath.UrlString|undefined): void {
186
+ relativeSourceMapURL: string|undefined): void {
186
187
  // TODO(chromium:1011811): Strengthen the type to obsolte the undefined check once core/sdk/ is fully typescriptified.
187
188
  if (relativeSourceURL === undefined || !relativeSourceMapURL) {
188
189
  return;
@@ -65,7 +65,7 @@ inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", {TransferIssu
65
65
  inspectorBackend.registerEnum("Audits.TwaQualityEnforcementViolationType", {KHttpError: "kHttpError", KUnavailableOffline: "kUnavailableOffline", KDigitalAssetLinks: "kDigitalAssetLinks"});
66
66
  inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", AttributionSourceUntrustworthyOrigin: "AttributionSourceUntrustworthyOrigin", AttributionUntrustworthyOrigin: "AttributionUntrustworthyOrigin", InvalidHeader: "InvalidHeader"});
67
67
  inspectorBackend.registerEnum("Audits.GenericIssueErrorType", {CrossOriginPortalPostMessageError: "CrossOriginPortalPostMessageError"});
68
- inspectorBackend.registerEnum("Audits.DeprecationIssueType", {AuthorizationCoveredByWildcard: "AuthorizationCoveredByWildcard", CanRequestURLHTTPContainingNewline: "CanRequestURLHTTPContainingNewline", ChromeLoadTimesConnectionInfo: "ChromeLoadTimesConnectionInfo", ChromeLoadTimesFirstPaintAfterLoadTime: "ChromeLoadTimesFirstPaintAfterLoadTime", ChromeLoadTimesWasAlternateProtocolAvailable: "ChromeLoadTimesWasAlternateProtocolAvailable", CookieWithTruncatingChar: "CookieWithTruncatingChar", CrossOriginAccessBasedOnDocumentDomain: "CrossOriginAccessBasedOnDocumentDomain", CrossOriginWindowAlert: "CrossOriginWindowAlert", CrossOriginWindowConfirm: "CrossOriginWindowConfirm", CSSSelectorInternalMediaControlsOverlayCastButton: "CSSSelectorInternalMediaControlsOverlayCastButton", DeprecationExample: "DeprecationExample", DocumentDomainSettingWithoutOriginAgentClusterHeader: "DocumentDomainSettingWithoutOriginAgentClusterHeader", EventPath: "EventPath", ExpectCTHeader: "ExpectCTHeader", GeolocationInsecureOrigin: "GeolocationInsecureOrigin", GeolocationInsecureOriginDeprecatedNotRemoved: "GeolocationInsecureOriginDeprecatedNotRemoved", GetUserMediaInsecureOrigin: "GetUserMediaInsecureOrigin", HostCandidateAttributeGetter: "HostCandidateAttributeGetter", IdentityInCanMakePaymentEvent: "IdentityInCanMakePaymentEvent", InsecurePrivateNetworkSubresourceRequest: "InsecurePrivateNetworkSubresourceRequest", LegacyConstraintGoogIPv6: "LegacyConstraintGoogIPv6", LocalCSSFileExtensionRejected: "LocalCSSFileExtensionRejected", MediaSourceAbortRemove: "MediaSourceAbortRemove", MediaSourceDurationTruncatingBuffered: "MediaSourceDurationTruncatingBuffered", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", PictureSourceSrc: "PictureSourceSrc", PrefixedCancelAnimationFrame: "PrefixedCancelAnimationFrame", PrefixedRequestAnimationFrame: "PrefixedRequestAnimationFrame", PrefixedStorageInfo: "PrefixedStorageInfo", PrefixedVideoDisplayingFullscreen: "PrefixedVideoDisplayingFullscreen", PrefixedVideoEnterFullscreen: "PrefixedVideoEnterFullscreen", PrefixedVideoEnterFullScreen: "PrefixedVideoEnterFullScreen", PrefixedVideoExitFullscreen: "PrefixedVideoExitFullscreen", PrefixedVideoExitFullScreen: "PrefixedVideoExitFullScreen", PrefixedVideoSupportsFullscreen: "PrefixedVideoSupportsFullscreen", RangeExpand: "RangeExpand", RequestedSubresourceWithEmbeddedCredentials: "RequestedSubresourceWithEmbeddedCredentials", RTCConstraintEnableDtlsSrtpFalse: "RTCConstraintEnableDtlsSrtpFalse", RTCConstraintEnableDtlsSrtpTrue: "RTCConstraintEnableDtlsSrtpTrue", RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics: "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics", RTCPeerConnectionSdpSemanticsPlanB: "RTCPeerConnectionSdpSemanticsPlanB", RtcpMuxPolicyNegotiate: "RtcpMuxPolicyNegotiate", SharedArrayBufferConstructedWithoutIsolation: "SharedArrayBufferConstructedWithoutIsolation", TextToSpeech_DisallowedByAutoplay: "TextToSpeech_DisallowedByAutoplay", V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "V8SharedArrayBufferConstructedInExtensionWithoutIsolation", XHRJSONEncodingDetection: "XHRJSONEncodingDetection", XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload", XRSupportsSession: "XRSupportsSession"});
68
+ inspectorBackend.registerEnum("Audits.DeprecationIssueType", {AuthorizationCoveredByWildcard: "AuthorizationCoveredByWildcard", CanRequestURLHTTPContainingNewline: "CanRequestURLHTTPContainingNewline", ChromeLoadTimesConnectionInfo: "ChromeLoadTimesConnectionInfo", ChromeLoadTimesFirstPaintAfterLoadTime: "ChromeLoadTimesFirstPaintAfterLoadTime", ChromeLoadTimesWasAlternateProtocolAvailable: "ChromeLoadTimesWasAlternateProtocolAvailable", CookieWithTruncatingChar: "CookieWithTruncatingChar", CrossOriginAccessBasedOnDocumentDomain: "CrossOriginAccessBasedOnDocumentDomain", CrossOriginWindowAlert: "CrossOriginWindowAlert", CrossOriginWindowConfirm: "CrossOriginWindowConfirm", CSSSelectorInternalMediaControlsOverlayCastButton: "CSSSelectorInternalMediaControlsOverlayCastButton", DeprecationExample: "DeprecationExample", DocumentDomainSettingWithoutOriginAgentClusterHeader: "DocumentDomainSettingWithoutOriginAgentClusterHeader", EventPath: "EventPath", ExpectCTHeader: "ExpectCTHeader", GeolocationInsecureOrigin: "GeolocationInsecureOrigin", GeolocationInsecureOriginDeprecatedNotRemoved: "GeolocationInsecureOriginDeprecatedNotRemoved", GetUserMediaInsecureOrigin: "GetUserMediaInsecureOrigin", HostCandidateAttributeGetter: "HostCandidateAttributeGetter", IdentityInCanMakePaymentEvent: "IdentityInCanMakePaymentEvent", InsecurePrivateNetworkSubresourceRequest: "InsecurePrivateNetworkSubresourceRequest", LegacyConstraintGoogIPv6: "LegacyConstraintGoogIPv6", LocalCSSFileExtensionRejected: "LocalCSSFileExtensionRejected", MediaSourceAbortRemove: "MediaSourceAbortRemove", MediaSourceDurationTruncatingBuffered: "MediaSourceDurationTruncatingBuffered", NavigateEventRestoreScroll: "NavigateEventRestoreScroll", NavigateEventTransitionWhile: "NavigateEventTransitionWhile", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", OverflowVisibleOnReplacedElement: "OverflowVisibleOnReplacedElement", PictureSourceSrc: "PictureSourceSrc", PrefixedCancelAnimationFrame: "PrefixedCancelAnimationFrame", PrefixedRequestAnimationFrame: "PrefixedRequestAnimationFrame", PrefixedStorageInfo: "PrefixedStorageInfo", PrefixedVideoDisplayingFullscreen: "PrefixedVideoDisplayingFullscreen", PrefixedVideoEnterFullscreen: "PrefixedVideoEnterFullscreen", PrefixedVideoEnterFullScreen: "PrefixedVideoEnterFullScreen", PrefixedVideoExitFullscreen: "PrefixedVideoExitFullscreen", PrefixedVideoExitFullScreen: "PrefixedVideoExitFullScreen", PrefixedVideoSupportsFullscreen: "PrefixedVideoSupportsFullscreen", RangeExpand: "RangeExpand", RequestedSubresourceWithEmbeddedCredentials: "RequestedSubresourceWithEmbeddedCredentials", RTCConstraintEnableDtlsSrtpFalse: "RTCConstraintEnableDtlsSrtpFalse", RTCConstraintEnableDtlsSrtpTrue: "RTCConstraintEnableDtlsSrtpTrue", RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics: "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics", RTCPeerConnectionSdpSemanticsPlanB: "RTCPeerConnectionSdpSemanticsPlanB", RtcpMuxPolicyNegotiate: "RtcpMuxPolicyNegotiate", SharedArrayBufferConstructedWithoutIsolation: "SharedArrayBufferConstructedWithoutIsolation", TextToSpeech_DisallowedByAutoplay: "TextToSpeech_DisallowedByAutoplay", V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "V8SharedArrayBufferConstructedInExtensionWithoutIsolation", XHRJSONEncodingDetection: "XHRJSONEncodingDetection", XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload", XRSupportsSession: "XRSupportsSession"});
69
69
  inspectorBackend.registerEnum("Audits.ClientHintIssueReason", {MetaTagAllowListInvalidOrigin: "MetaTagAllowListInvalidOrigin", MetaTagModifiedHTML: "MetaTagModifiedHTML"});
70
70
  inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ApprovalDeclined: "ApprovalDeclined", TooManyRequests: "TooManyRequests", ManifestListHttpNotFound: "ManifestListHttpNotFound", ManifestListNoResponse: "ManifestListNoResponse", ManifestListInvalidResponse: "ManifestListInvalidResponse", ManifestNotInManifestList: "ManifestNotInManifestList", ManifestListTooBig: "ManifestListTooBig", ManifestHttpNotFound: "ManifestHttpNotFound", ManifestNoResponse: "ManifestNoResponse", ManifestInvalidResponse: "ManifestInvalidResponse", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse", ClientMetadataMissingPrivacyPolicyUrl: "ClientMetadataMissingPrivacyPolicyUrl", DisabledInSettings: "DisabledInSettings", ErrorFetchingSignin: "ErrorFetchingSignin", InvalidSigninResponse: "InvalidSigninResponse", AccountsHttpNotFound: "AccountsHttpNotFound", AccountsNoResponse: "AccountsNoResponse", AccountsInvalidResponse: "AccountsInvalidResponse", IdTokenHttpNotFound: "IdTokenHttpNotFound", IdTokenNoResponse: "IdTokenNoResponse", IdTokenInvalidResponse: "IdTokenInvalidResponse", IdTokenInvalidRequest: "IdTokenInvalidRequest", ErrorIdToken: "ErrorIdToken", Canceled: "Canceled"});
71
71
  inspectorBackend.registerEnum("Audits.InspectorIssueCode", {CookieIssue: "CookieIssue", MixedContentIssue: "MixedContentIssue", BlockedByResponseIssue: "BlockedByResponseIssue", HeavyAdIssue: "HeavyAdIssue", ContentSecurityPolicyIssue: "ContentSecurityPolicyIssue", SharedArrayBufferIssue: "SharedArrayBufferIssue", TrustedWebActivityIssue: "TrustedWebActivityIssue", LowTextContrastIssue: "LowTextContrastIssue", CorsIssue: "CorsIssue", AttributionReportingIssue: "AttributionReportingIssue", QuirksModeIssue: "QuirksModeIssue", NavigatorUserAgentIssue: "NavigatorUserAgentIssue", GenericIssue: "GenericIssue", DeprecationIssue: "DeprecationIssue", ClientHintIssue: "ClientHintIssue", FederatedAuthRequestIssue: "FederatedAuthRequestIssue"});
@@ -722,6 +722,7 @@ inspectorBackend.registerEvent("Storage.indexedDBListUpdated", ["origin"]);
722
722
  inspectorBackend.registerEvent("Storage.interestGroupAccessed", ["accessTime", "type", "ownerOrigin", "name"]);
723
723
  inspectorBackend.registerCommand("Storage.getStorageKeyForFrame", [{"name": "frameId", "type": "string", "optional": false}], ["storageKey"]);
724
724
  inspectorBackend.registerCommand("Storage.clearDataForOrigin", [{"name": "origin", "type": "string", "optional": false}, {"name": "storageTypes", "type": "string", "optional": false}], []);
725
+ inspectorBackend.registerCommand("Storage.clearDataForStorageKey", [{"name": "storageKey", "type": "string", "optional": false}, {"name": "storageTypes", "type": "string", "optional": false}], []);
725
726
  inspectorBackend.registerCommand("Storage.getCookies", [{"name": "browserContextId", "type": "string", "optional": true}], ["cookies"]);
726
727
  inspectorBackend.registerCommand("Storage.setCookies", [{"name": "cookies", "type": "object", "optional": false}, {"name": "browserContextId", "type": "string", "optional": true}], []);
727
728
  inspectorBackend.registerCommand("Storage.clearCookies", [{"name": "browserContextId", "type": "string", "optional": true}], []);
@@ -1914,6 +1914,12 @@ export const generatedProperties = [
1914
1914
  ],
1915
1915
  "name": "height"
1916
1916
  },
1917
+ {
1918
+ "name": "hover-pop-up-delay"
1919
+ },
1920
+ {
1921
+ "name": "hover-pop-up-hide-delay"
1922
+ },
1917
1923
  {
1918
1924
  "inherited": true,
1919
1925
  "keywords": [
@@ -3416,6 +3416,13 @@ export namespace ProtocolMapping {
3416
3416
  paramsType: [Protocol.Storage.ClearDataForOriginRequest];
3417
3417
  returnType: void;
3418
3418
  };
3419
+ /**
3420
+ * Clears storage for storage key.
3421
+ */
3422
+ 'Storage.clearDataForStorageKey': {
3423
+ paramsType: [Protocol.Storage.ClearDataForStorageKeyRequest];
3424
+ returnType: void;
3425
+ };
3419
3426
  /**
3420
3427
  * Returns all browser cookies.
3421
3428
  */
@@ -2877,6 +2877,11 @@ declare namespace ProtocolProxyApi {
2877
2877
  */
2878
2878
  invoke_clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
2879
2879
 
2880
+ /**
2881
+ * Clears storage for storage key.
2882
+ */
2883
+ invoke_clearDataForStorageKey(params: Protocol.Storage.ClearDataForStorageKeyRequest): Promise<Protocol.ProtocolResponseWithError>;
2884
+
2880
2885
  /**
2881
2886
  * Returns all browser cookies.
2882
2887
  */
@@ -1041,11 +1041,14 @@ export namespace Audits {
1041
1041
  LocalCSSFileExtensionRejected = 'LocalCSSFileExtensionRejected',
1042
1042
  MediaSourceAbortRemove = 'MediaSourceAbortRemove',
1043
1043
  MediaSourceDurationTruncatingBuffered = 'MediaSourceDurationTruncatingBuffered',
1044
+ NavigateEventRestoreScroll = 'NavigateEventRestoreScroll',
1045
+ NavigateEventTransitionWhile = 'NavigateEventTransitionWhile',
1044
1046
  NoSysexWebMIDIWithoutPermission = 'NoSysexWebMIDIWithoutPermission',
1045
1047
  NotificationInsecureOrigin = 'NotificationInsecureOrigin',
1046
1048
  NotificationPermissionRequestedIframe = 'NotificationPermissionRequestedIframe',
1047
1049
  ObsoleteWebRtcCipherSuite = 'ObsoleteWebRtcCipherSuite',
1048
1050
  OpenWebDatabaseInsecureContext = 'OpenWebDatabaseInsecureContext',
1051
+ OverflowVisibleOnReplacedElement = 'OverflowVisibleOnReplacedElement',
1049
1052
  PictureSourceSrc = 'PictureSourceSrc',
1050
1053
  PrefixedCancelAnimationFrame = 'PrefixedCancelAnimationFrame',
1051
1054
  PrefixedRequestAnimationFrame = 'PrefixedRequestAnimationFrame',
@@ -12895,6 +12898,17 @@ export namespace Storage {
12895
12898
  storageTypes: string;
12896
12899
  }
12897
12900
 
12901
+ export interface ClearDataForStorageKeyRequest {
12902
+ /**
12903
+ * Storage key.
12904
+ */
12905
+ storageKey: string;
12906
+ /**
12907
+ * Comma separated list of StorageType to clear.
12908
+ */
12909
+ storageTypes: string;
12910
+ }
12911
+
12898
12912
  export interface GetCookiesRequest {
12899
12913
  /**
12900
12914
  * Browser context to use when called on the browser endpoint.
@@ -99,6 +99,10 @@ const UIStrings = {
99
99
  * @description Warning displayed to developers when the non-standard `Event.path` API is used to notify them that this API is deprecated.
100
100
  */
101
101
  eventPath: '`Event.path` is deprecated and will be removed. Please use `Event.composedPath()` instead.',
102
+ /**
103
+ * @description This message is shown when the deprecated Expect-CT header is present.
104
+ */
105
+ expectCTHeader: 'The `Expect-CT` header is deprecated and will be removed. Chrome requires Certificate Transparency for all publicly trusted certificates issued after April 30, 2018.',
102
106
  /**
103
107
  * @description Warning displayed to developers when the Geolocation API is used from an insecure origin (one that isn't localhost or doesn't use HTTPS) to notify them that this use is no longer supported.
104
108
  */
@@ -374,6 +378,11 @@ export class DeprecationIssue extends Issue {
374
378
  feature = 5726124632965120;
375
379
  milestone = 109;
376
380
  break;
381
+ case Protocol.Audits.DeprecationIssueType.ExpectCTHeader:
382
+ messageFunction = i18nLazyString(UIStrings.expectCTHeader);
383
+ feature = 6244547273687040;
384
+ milestone = 107;
385
+ break;
377
386
  case Protocol.Audits.DeprecationIssueType.GeolocationInsecureOrigin:
378
387
  messageFunction = i18nLazyString(UIStrings.geolocationInsecureOrigin);
379
388
  break;
@@ -2239,7 +2239,8 @@ export const NativeFunctions = [
2239
2239
  },
2240
2240
  {
2241
2241
  name: 'scroll',
2242
- signatures: [['?options'],['x','y']]
2242
+ signatures: [['?options'],['x','y']],
2243
+ receivers: ['Element','Window']
2243
2244
  },
2244
2245
  {
2245
2246
  name: 'scrollBy',
@@ -6395,6 +6396,10 @@ export const NativeFunctions = [
6395
6396
  name: 'transitionWhile',
6396
6397
  signatures: [['newNavigationAction','?options']]
6397
6398
  },
6399
+ {
6400
+ name: 'intercept',
6401
+ signatures: [['?options']]
6402
+ },
6398
6403
  {
6399
6404
  name: 'NavigationCurrentEntryChangeEvent',
6400
6405
  signatures: [['type','eventInit']]
@@ -473,7 +473,8 @@ export class StorageView extends UI.ThrottledWidget.ThrottledWidget {
473
473
  }
474
474
 
475
475
  static clearByStorageKey(target: SDK.Target.Target, storageKey: string, selectedStorageTypes: string[]): void {
476
- // TODO(crbug.com/1313434) Invoke protocol `clear` once it ready for storageKey
476
+ void target.storageAgent().invoke_clearDataForStorageKey(
477
+ {storageKey, storageTypes: selectedStorageTypes.join(',')});
477
478
 
478
479
  const set = new Set(selectedStorageTypes);
479
480
  const hasAll = set.has(Protocol.Storage.StorageType.All);
@@ -546,7 +546,3 @@
546
546
  --override-error-text-color: HighlightText;
547
547
  }
548
548
  }
549
-
550
- [slot="insertion-point-sidebar"] {
551
- contain: layout style;
552
- }
@@ -716,7 +716,8 @@ export class StylePropertyTreeElement extends UI.TreeOutline.TreeElement {
716
716
  }
717
717
 
718
718
  const authoringHint = this.getAuthoringHint(this.computedStyles, this.parentsComputedStyles);
719
- if (authoringHint !== null) {
719
+ const showAuthoringHint = authoringHint !== null && this.property.parsedOk;
720
+ if (showAuthoringHint) {
720
721
  const hintIcon = UI.Icon.Icon.create('mediumicon-info', 'hint');
721
722
  const hintPopover =
722
723
  new UI.PopoverHelper.PopoverHelper(hintIcon, event => this.handleHintPopoverRequest(authoringHint, event));
@@ -168,3 +168,10 @@ div.raw-headers-row {
168
168
  .inline-icon {
169
169
  vertical-align: middle;
170
170
  }
171
+
172
+ .header-value code {
173
+ display: block;
174
+ white-space: pre-wrap;
175
+ font-size: 90%;
176
+ color: var(--color-text-secondary);
177
+ }
@@ -10,6 +10,7 @@ import {assertNotNullOrUndefined} from '../../../core/platform/platform.js';
10
10
  import * as SDK from '../../../core/sdk/sdk.js';
11
11
  import * as Protocol from '../../../generated/protocol.js';
12
12
  import * as IssuesManager from '../../../models/issues_manager/issues_manager.js';
13
+ import * as ClientVariations from '../../../third_party/chromium/client-variations/client-variations.js';
13
14
  import * as Buttons from '../../../ui/components/buttons/buttons.js';
14
15
  import * as ComponentHelpers from '../../../ui/components/helpers/helpers.js';
15
16
  import * as IconButton from '../../../ui/components/icon_button/icon_button.js';
@@ -23,12 +24,24 @@ const RAW_HEADER_CUTOFF = 3000;
23
24
  const {render, html} = LitHtml;
24
25
 
25
26
  const UIStrings = {
27
+ /**
28
+ *@description Comment used in decoded X-Client-Data HTTP header output in Headers View of the Network panel
29
+ */
30
+ activeClientExperimentVariation: 'Active `client experiment variation IDs`.',
31
+ /**
32
+ *@description Comment used in decoded X-Client-Data HTTP header output in Headers View of the Network panel
33
+ */
34
+ activeClientExperimentVariationIds: 'Active `client experiment variation IDs` that trigger server-side behavior.',
26
35
  /**
27
36
  *@description Text in Headers View of the Network panel
28
37
  */
29
38
  chooseThisOptionIfTheResourceAnd:
30
39
  'Choose this option if the resource and the document are served from the same site.',
31
40
  /**
41
+ *@description Text in Headers View of the Network panel for X-Client-Data HTTP headers
42
+ */
43
+ decoded: 'Decoded:',
44
+ /**
32
45
  *@description Text in Request Headers View of the Network panel
33
46
  */
34
47
  fromDiskCache: '(from disk cache)',
@@ -271,6 +284,7 @@ export class RequestHeadersComponent extends HTMLElement {
271
284
  `}
272
285
  </${Category.litTagName}>
273
286
  `;
287
+ // clang-format on
274
288
  }
275
289
 
276
290
  #renderRequestHeaders(): LitHtml.TemplateResult {
@@ -307,6 +321,7 @@ export class RequestHeadersComponent extends HTMLElement {
307
321
  `}
308
322
  </${Category.litTagName}>
309
323
  `;
324
+ // clang-format on
310
325
  }
311
326
 
312
327
  #maybeRenderProvisionalHeadersWarning(): LitHtml.LitTemplate {
@@ -341,13 +356,45 @@ export class RequestHeadersComponent extends HTMLElement {
341
356
  }
342
357
 
343
358
  #renderHeader(header: HeaderDescriptor): LitHtml.TemplateResult {
359
+ // Disabled until https://crbug.com/1079231 is fixed.
360
+ // clang-format off
344
361
  return html`
345
362
  <div class="row">
346
- <div class="header-name">${header.headerNotSet ? html`<div class="header-badge header-badge-text">not-set</div>` : ''}${header.name}:</div>
347
- <div class="header-value ${header.headerValueIncorrect ? 'header-warning' : ''}">${header.value?.toString()||''}</div>
363
+ <div class="header-name">
364
+ ${header.headerNotSet ? html`
365
+ <div class="header-badge header-badge-text">
366
+ ${i18n.i18n.lockedString('not-set')}
367
+ </div>
368
+ ` : ''}${header.name}:
369
+ </div>
370
+ ${this.#renderHeaderValue(header)}
348
371
  </div>
349
372
  ${this.#maybeRenderHeaderDetails(header.details)}
350
373
  `;
374
+ // clang-format on
375
+ }
376
+
377
+ #renderHeaderValue(header: HeaderDescriptor): LitHtml.TemplateResult {
378
+ const headerId = header.name.toLowerCase();
379
+ if (headerId === 'x-client-data') {
380
+ const data = ClientVariations.parseClientVariations(header.value?.toString() || '');
381
+ const output = ClientVariations.formatClientVariations(
382
+ data, i18nString(UIStrings.activeClientExperimentVariation),
383
+ i18nString(UIStrings.activeClientExperimentVariationIds));
384
+ return html`
385
+ <div class="header-value ${header.headerValueIncorrect ? 'header-warning' : ''}">
386
+ ${header.value?.toString() || ''}
387
+ <div>${i18nString(UIStrings.decoded)}</div>
388
+ <code>${output}</code>
389
+ </div>
390
+ `;
391
+ }
392
+
393
+ return html`
394
+ <div class="header-value ${header.headerValueIncorrect ? 'header-warning' : ''}">
395
+ ${header.value?.toString() || ''}
396
+ </div>
397
+ `;
351
398
  }
352
399
 
353
400
  #maybeRenderHeaderDetails(headerDetails?: HeaderDetailsDescriptor): LitHtml.LitTemplate {
@@ -719,6 +719,7 @@ export class SplitWidget extends Common.ObjectWrapper.eventMixin<EventTypes, typ
719
719
  }
720
720
 
721
721
  hideDefaultResizer(noSplitter?: boolean): void {
722
+ this.resizerElementInternal.classList.toggle('hidden', Boolean(noSplitter));
722
723
  this.uninstallResizer(this.resizerElementInternal);
723
724
  this.sidebarElementInternal.classList.toggle('no-default-splitter', Boolean(noSplitter));
724
725
  }
@@ -224,7 +224,7 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow
224
224
  }
225
225
 
226
226
  const includedWebIdlTypes = webIdlType.includes?.map(className => domPinnedProperties[className]) ?? [];
227
- const includedWebIdlProps = includedWebIdlTypes.flatMap(webIdlType => Object.entries(webIdlType.props ?? {}));
227
+ const includedWebIdlProps = includedWebIdlTypes.flatMap(webIdlType => Object.entries(webIdlType?.props ?? {}));
228
228
  const webIdlProps = {...webIdlType.props, ...Object.fromEntries(includedWebIdlProps)};
229
229
 
230
230
  for (const property of properties) {
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.1027447"
58
+ "version": "1.0.1028166"
59
59
  }