diff --git a/front_end/generated/InspectorBackendCommands.js b/front_end/generated/InspectorBackendCommands.js index dd579d7145..b8848f715e 100644 --- a/front_end/generated/InspectorBackendCommands.js +++ b/front_end/generated/InspectorBackendCommands.js @@ -273,7 +273,8 @@ export function registerCommands(inspectorBackend) { CorsIssue: 'CorsIssue', AttributionReportingIssue: 'AttributionReportingIssue', QuirksModeIssue: 'QuirksModeIssue', - NavigatorUserAgentIssue: 'NavigatorUserAgentIssue' + NavigatorUserAgentIssue: 'NavigatorUserAgentIssue', + WasmCrossOriginModuleSharingIssue: 'WasmCrossOriginModuleSharingIssue' }); inspectorBackend.registerEvent('Audits.issueAdded', ['issue']); inspectorBackend.registerEnum('Audits.GetEncodedResponseRequestEncoding', {Webp: 'webp', Jpeg: 'jpeg', Png: 'png'}); @@ -591,6 +592,7 @@ export function registerCommands(inspectorBackend) { TargetText: 'target-text', SpellingError: 'spelling-error', GrammarError: 'grammar-error', + Highlight: 'highlight', FirstLineInherited: 'first-line-inherited', Scrollbar: 'scrollbar', ScrollbarThumb: 'scrollbar-thumb', diff --git a/front_end/generated/protocol.d.ts b/front_end/generated/protocol.d.ts index 374b0fb9e0..91dc098c30 100644 --- a/front_end/generated/protocol.d.ts +++ b/front_end/generated/protocol.d.ts @@ -1041,6 +1041,13 @@ declare namespace Protocol { location?: SourceCodeLocation; } + export interface WasmCrossOriginModuleSharingIssueDetails { + wasmModuleUrl: string; + sourceOrigin: string; + targetOrigin: string; + isWarning: boolean; + } + /** * A unique identifier for the type of issue. Each type may use one of the * optional fields in InspectorIssueDetails to convey more specific @@ -1059,6 +1066,7 @@ declare namespace Protocol { AttributionReportingIssue = 'AttributionReportingIssue', QuirksModeIssue = 'QuirksModeIssue', NavigatorUserAgentIssue = 'NavigatorUserAgentIssue', + WasmCrossOriginModuleSharingIssue = 'WasmCrossOriginModuleSharingIssue', } /** @@ -1079,6 +1087,7 @@ declare namespace Protocol { attributionReportingIssueDetails?: AttributionReportingIssueDetails; quirksModeIssueDetails?: QuirksModeIssueDetails; navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails; + wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails; } /** @@ -2840,6 +2849,7 @@ declare namespace Protocol { TargetText = 'target-text', SpellingError = 'spelling-error', GrammarError = 'grammar-error', + Highlight = 'highlight', FirstLineInherited = 'first-line-inherited', Scrollbar = 'scrollbar', ScrollbarThumb = 'scrollbar-thumb', @@ -6928,6 +6938,11 @@ declare namespace Protocol { * passed by the developer (e.g. via "fetch") as understood by the backend. */ trustTokenParams?: TrustTokenParams; + /** + * True if this resource request is considered to be the 'same site' as the + * request correspondinfg to the main frame. + */ + isSameSite?: boolean; } /** diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.json b/third_party/blink/public/devtools_protocol/browser_protocol.json index 8ac4a19c65..e67f705015 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.json +++ b/third_party/blink/public/devtools_protocol/browser_protocol.json @@ -1580,6 +1580,28 @@ } ] }, + { + "id": "WasmCrossOriginModuleSharingIssueDetails", + "type": "object", + "properties": [ + { + "name": "wasmModuleUrl", + "type": "string" + }, + { + "name": "sourceOrigin", + "type": "string" + }, + { + "name": "targetOrigin", + "type": "string" + }, + { + "name": "isWarning", + "type": "boolean" + } + ] + }, { "id": "InspectorIssueCode", "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.", @@ -1596,7 +1618,8 @@ "CorsIssue", "AttributionReportingIssue", "QuirksModeIssue", - "NavigatorUserAgentIssue" + "NavigatorUserAgentIssue", + "WasmCrossOriginModuleSharingIssue" ] }, { @@ -1663,6 +1686,11 @@ "name": "navigatorUserAgentIssueDetails", "optional": true, "$ref": "NavigatorUserAgentIssueDetails" + }, + { + "name": "wasmCrossOriginModuleSharingIssue", + "optional": true, + "$ref": "WasmCrossOriginModuleSharingIssueDetails" } ] }, @@ -4268,6 +4296,7 @@ "target-text", "spelling-error", "grammar-error", + "highlight", "first-line-inherited", "scrollbar", "scrollbar-thumb", @@ -10384,6 +10413,13 @@ "experimental": true, "optional": true, "$ref": "TrustTokenParams" + }, + { + "name": "isSameSite", + "description": "True if this resource request is considered to be the 'same site' as the\nrequest correspondinfg to the main frame.", + "experimental": true, + "optional": true, + "type": "boolean" } ] }, diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.pdl b/third_party/blink/public/devtools_protocol/browser_protocol.pdl index 3690b8027d..aff303c027 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.pdl +++ b/third_party/blink/public/devtools_protocol/browser_protocol.pdl @@ -757,6 +757,13 @@ experimental domain Audits string url optional SourceCodeLocation location + type WasmCrossOriginModuleSharingIssueDetails extends object + properties + string wasmModuleUrl + string sourceOrigin + string targetOrigin + boolean isWarning + # A unique identifier for the type of issue. Each type may use one of the # optional fields in InspectorIssueDetails to convey more specific # information about the kind of issue. @@ -774,6 +781,7 @@ experimental domain Audits AttributionReportingIssue QuirksModeIssue NavigatorUserAgentIssue + WasmCrossOriginModuleSharingIssue # This struct holds a list of optional fields with additional information # specific to the kind of issue. When adding a new issue code, please also @@ -792,6 +800,7 @@ experimental domain Audits optional AttributionReportingIssueDetails attributionReportingIssueDetails optional QuirksModeIssueDetails quirksModeIssueDetails optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails + optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue # A unique id for a DevTools inspector issue. Allows other entities (e.g. # exceptions, CDP message, console messages, etc.) to reference an issue. @@ -1997,6 +2006,7 @@ domain DOM target-text spelling-error grammar-error + highlight first-line-inherited scrollbar scrollbar-thumb @@ -4738,6 +4748,9 @@ domain Network # Set for requests when the TrustToken API is used. Contains the parameters # passed by the developer (e.g. via "fetch") as understood by the backend. experimental optional TrustTokenParams trustTokenParams + # True if this resource request is considered to be the 'same site' as the + # request correspondinfg to the main frame. + experimental optional boolean isSameSite # Details of a signed certificate timestamp (SCT). type SignedCertificateTimestamp extends object