Skip to content

Commit

Permalink
update chromium revision
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Feb 1, 2023
1 parent cc9664f commit 70a7a73
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/launcher/revision.go
Expand Up @@ -3,7 +3,7 @@
package launcher

// RevisionDefault for chromium
const RevisionDefault = 1087031
const RevisionDefault = 1095419

// RevisionPlaywright for arm linux
const RevisionPlaywright = 1041
const RevisionPlaywright = 1045
15 changes: 15 additions & 0 deletions lib/proto/audits.go
Expand Up @@ -622,6 +622,12 @@ const (

// AuditsGenericIssueErrorTypeFormLabelForNameError enum const
AuditsGenericIssueErrorTypeFormLabelForNameError AuditsGenericIssueErrorType = "FormLabelForNameError"

// AuditsGenericIssueErrorTypeFormDuplicateIDForInputError enum const
AuditsGenericIssueErrorTypeFormDuplicateIDForInputError AuditsGenericIssueErrorType = "FormDuplicateIdForInputError"

// AuditsGenericIssueErrorTypeFormInputWithNoLabelError enum const
AuditsGenericIssueErrorTypeFormInputWithNoLabelError AuditsGenericIssueErrorType = "FormInputWithNoLabelError"
)

// AuditsGenericIssueDetails Depending on the concrete errorType, different properties are set.
Expand Down Expand Up @@ -719,6 +725,9 @@ const (
// AuditsDeprecationIssueTypeNotificationPermissionRequestedIframe enum const
AuditsDeprecationIssueTypeNotificationPermissionRequestedIframe AuditsDeprecationIssueType = "NotificationPermissionRequestedIframe"

// AuditsDeprecationIssueTypeObsoleteCreateImageBitmapImageOrientationNone enum const
AuditsDeprecationIssueTypeObsoleteCreateImageBitmapImageOrientationNone AuditsDeprecationIssueType = "ObsoleteCreateImageBitmapImageOrientationNone"

// AuditsDeprecationIssueTypeObsoleteWebRtcCipherSuite enum const
AuditsDeprecationIssueTypeObsoleteWebRtcCipherSuite AuditsDeprecationIssueType = "ObsoleteWebRtcCipherSuite"

Expand Down Expand Up @@ -861,6 +870,9 @@ const (
// AuditsFederatedAuthRequestIssueReasonWellKnownInvalidResponse enum const
AuditsFederatedAuthRequestIssueReasonWellKnownInvalidResponse AuditsFederatedAuthRequestIssueReason = "WellKnownInvalidResponse"

// AuditsFederatedAuthRequestIssueReasonWellKnownListEmpty enum const
AuditsFederatedAuthRequestIssueReasonWellKnownListEmpty AuditsFederatedAuthRequestIssueReason = "WellKnownListEmpty"

// AuditsFederatedAuthRequestIssueReasonConfigNotInWellKnown enum const
AuditsFederatedAuthRequestIssueReasonConfigNotInWellKnown AuditsFederatedAuthRequestIssueReason = "ConfigNotInWellKnown"

Expand Down Expand Up @@ -903,6 +915,9 @@ const (
// AuditsFederatedAuthRequestIssueReasonAccountsInvalidResponse enum const
AuditsFederatedAuthRequestIssueReasonAccountsInvalidResponse AuditsFederatedAuthRequestIssueReason = "AccountsInvalidResponse"

// AuditsFederatedAuthRequestIssueReasonAccountsListEmpty enum const
AuditsFederatedAuthRequestIssueReasonAccountsListEmpty AuditsFederatedAuthRequestIssueReason = "AccountsListEmpty"

// AuditsFederatedAuthRequestIssueReasonIDTokenHTTPNotFound enum const
AuditsFederatedAuthRequestIssueReasonIDTokenHTTPNotFound AuditsFederatedAuthRequestIssueReason = "IdTokenHttpNotFound"

Expand Down
3 changes: 3 additions & 0 deletions lib/proto/browser.go
Expand Up @@ -119,6 +119,9 @@ const (
// BrowserPermissionTypeStorageAccess enum const
BrowserPermissionTypeStorageAccess BrowserPermissionType = "storageAccess"

// BrowserPermissionTypeTopLevelStorageAccess enum const
BrowserPermissionTypeTopLevelStorageAccess BrowserPermissionType = "topLevelStorageAccess"

// BrowserPermissionTypeVideoCapture enum const
BrowserPermissionTypeVideoCapture BrowserPermissionType = "videoCapture"

Expand Down
4 changes: 2 additions & 2 deletions lib/proto/emulation.go
Expand Up @@ -105,10 +105,10 @@ type EmulationUserAgentBrandVersion struct {
// Missing optional values will be filled in by the target with what it would normally use.
type EmulationUserAgentMetadata struct {

// Brands (optional) ...
// Brands (optional) Brands appearing in Sec-CH-UA.
Brands []*EmulationUserAgentBrandVersion `json:"brands,omitempty"`

// FullVersionList (optional) ...
// FullVersionList (optional) Brands appearing in Sec-CH-UA-Full-Version-List.
FullVersionList []*EmulationUserAgentBrandVersion `json:"fullVersionList,omitempty"`

// FullVersion (deprecated) (optional) ...
Expand Down
11 changes: 6 additions & 5 deletions lib/proto/network.go
Expand Up @@ -644,10 +644,10 @@ const (
// are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
type NetworkTrustTokenParams struct {

// Type ...
Type NetworkTrustTokenOperationType `json:"type"`
// Operation ...
Operation NetworkTrustTokenOperationType `json:"operation"`

// RefreshPolicy Only set for "token-redemption" type and determine whether
// RefreshPolicy Only set for "token-redemption" operation and determine whether
// to request a fresh SRR or use a still valid cached SRR.
RefreshPolicy NetworkTrustTokenParamsRefreshPolicy `json:"refreshPolicy"`

Expand Down Expand Up @@ -1808,8 +1808,9 @@ func (m NetworkEnable) Call(c Client) error {
return call(m.ProtoReq(), m, nil, c)
}

// NetworkGetAllCookies Returns all browser cookies. Depending on the backend support, will return detailed cookie
// NetworkGetAllCookies (deprecated) Returns all browser cookies. Depending on the backend support, will return detailed cookie
// information in the `cookies` field.
// Deprecated. Use Storage.getCookies instead.
type NetworkGetAllCookies struct {
}

Expand All @@ -1822,7 +1823,7 @@ func (m NetworkGetAllCookies) Call(c Client) (*NetworkGetAllCookiesResult, error
return &res, call(m.ProtoReq(), m, &res, c)
}

// NetworkGetAllCookiesResult ...
// NetworkGetAllCookiesResult (deprecated) ...
type NetworkGetAllCookiesResult struct {

// Cookies Array of cookie objects.
Expand Down
24 changes: 24 additions & 0 deletions lib/proto/page.go
Expand Up @@ -293,6 +293,9 @@ const (
// PagePermissionsPolicyFeaturePictureInPicture enum const
PagePermissionsPolicyFeaturePictureInPicture PagePermissionsPolicyFeature = "picture-in-picture"

// PagePermissionsPolicyFeaturePrivateAggregation enum const
PagePermissionsPolicyFeaturePrivateAggregation PagePermissionsPolicyFeature = "private-aggregation"

// PagePermissionsPolicyFeaturePublickeyCredentialsGet enum const
PagePermissionsPolicyFeaturePublickeyCredentialsGet PagePermissionsPolicyFeature = "publickey-credentials-get"

Expand All @@ -311,6 +314,9 @@ const (
// PagePermissionsPolicyFeatureSharedStorage enum const
PagePermissionsPolicyFeatureSharedStorage PagePermissionsPolicyFeature = "shared-storage"

// PagePermissionsPolicyFeatureSharedStorageSelectURL enum const
PagePermissionsPolicyFeatureSharedStorageSelectURL PagePermissionsPolicyFeature = "shared-storage-select-url"

// PagePermissionsPolicyFeatureSmartCard enum const
PagePermissionsPolicyFeatureSmartCard PagePermissionsPolicyFeature = "smart-card"

Expand All @@ -335,6 +341,9 @@ const (
// PagePermissionsPolicyFeatureWebShare enum const
PagePermissionsPolicyFeatureWebShare PagePermissionsPolicyFeature = "web-share"

// PagePermissionsPolicyFeatureWindowManagement enum const
PagePermissionsPolicyFeatureWindowManagement PagePermissionsPolicyFeature = "window-management"

// PagePermissionsPolicyFeatureWindowPlacement enum const
PagePermissionsPolicyFeatureWindowPlacement PagePermissionsPolicyFeature = "window-placement"

Expand Down Expand Up @@ -1517,6 +1526,21 @@ const (

// PagePrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess enum const
PagePrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess PagePrerenderFinalStatus = "ActivationNavigationDestroyedBeforeSuccess"

// PagePrerenderFinalStatusTabClosedByUserGesture enum const
PagePrerenderFinalStatusTabClosedByUserGesture PagePrerenderFinalStatus = "TabClosedByUserGesture"

// PagePrerenderFinalStatusTabClosedWithoutUserGesture enum const
PagePrerenderFinalStatusTabClosedWithoutUserGesture PagePrerenderFinalStatus = "TabClosedWithoutUserGesture"

// PagePrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed enum const
PagePrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed PagePrerenderFinalStatus = "PrimaryMainFrameRendererProcessCrashed"

// PagePrerenderFinalStatusPrimaryMainFrameRendererProcessKilled enum const
PagePrerenderFinalStatusPrimaryMainFrameRendererProcessKilled PagePrerenderFinalStatus = "PrimaryMainFrameRendererProcessKilled"

// PagePrerenderFinalStatusActivationFramePolicyNotCompatible enum const
PagePrerenderFinalStatusActivationFramePolicyNotCompatible PagePrerenderFinalStatus = "ActivationFramePolicyNotCompatible"
)

// PageAddScriptToEvaluateOnLoad (deprecated) (experimental) Deprecated, please use addScriptToEvaluateOnNewDocument instead.
Expand Down
13 changes: 12 additions & 1 deletion lib/proto/runtime.go
Expand Up @@ -766,6 +766,14 @@ type RuntimeCallFunctionOn struct {
// ThrowOnSideEffect (experimental) (optional) Whether to throw an exception if side effect cannot be ruled out during evaluation.
ThrowOnSideEffect bool `json:"throwOnSideEffect,omitempty"`

// UniqueContextID (experimental) (optional) An alternative way to specify the execution context to call function on.
// Compared to contextId that may be reused across processes, this is guaranteed to be
// system-unique, so it can be used to prevent accidental function call
// in context different than intended (e.g. as a result of navigation across process
// boundaries).
// This is mutually exclusive with `executionContextId`.
UniqueContextID string `json:"uniqueContextId,omitempty"`

// GenerateWebDriverValue (experimental) (optional) Whether the result should contain `webDriverValue`, serialized according to
// https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
// resulting `objectId` is still provided.
Expand Down Expand Up @@ -1480,8 +1488,11 @@ func (evt RuntimeExecutionContextCreated) ProtoEvent() string {
// RuntimeExecutionContextDestroyed Issued when execution context is destroyed.
type RuntimeExecutionContextDestroyed struct {

// ExecutionContextID Id of the destroyed context
// ExecutionContextID (deprecated) Id of the destroyed context
ExecutionContextID RuntimeExecutionContextID `json:"executionContextId"`

// ExecutionContextUniqueID (experimental) Unique Id of the destroyed context
ExecutionContextUniqueID string `json:"executionContextUniqueId"`
}

// ProtoEvent name
Expand Down
5 changes: 5 additions & 0 deletions lib/proto/web_authn.go
Expand Up @@ -89,6 +89,11 @@ type WebAuthnVirtualAuthenticatorOptions struct {
// Defaults to false.
HasMinPinLength bool `json:"hasMinPinLength,omitempty"`

// HasPrf (optional) If set to true, the authenticator will support the prf extension.
// https://w3c.github.io/webauthn/#prf-extension
// Defaults to false.
HasPrf bool `json:"hasPrf,omitempty"`

// AutomaticPresenceSimulation (optional) If set to true, tests of user presence will succeed immediately.
// Otherwise, they will not be resolved. Defaults to true.
AutomaticPresenceSimulation bool `json:"automaticPresenceSimulation,omitempty"`
Expand Down

0 comments on commit 70a7a73

Please sign in to comment.