From bde2c465a2daf7f2c857e9180f316092d2368b1b Mon Sep 17 00:00:00 2001 From: Yad Smood Date: Sun, 20 Mar 2022 13:02:32 +0800 Subject: [PATCH] update chromium revision --- lib/launcher/revision.go | 2 +- lib/proto/css.go | 3 +++ lib/proto/page.go | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/launcher/revision.go b/lib/launcher/revision.go index d32fde8d..a2c41eef 100644 --- a/lib/launcher/revision.go +++ b/lib/launcher/revision.go @@ -3,4 +3,4 @@ package launcher // DefaultRevision for chrome -const DefaultRevision = 980371 +const DefaultRevision = 983085 diff --git a/lib/proto/css.go b/lib/proto/css.go index c12ce3a8..f2941831 100644 --- a/lib/proto/css.go +++ b/lib/proto/css.go @@ -388,6 +388,9 @@ type CSSCSSSupports struct { // Text Supports rule text. Text string `json:"text"` + // Active Whether the supports condition is satisfied. + Active bool `json:"active"` + // Range (optional) The associated rule header range in the enclosing stylesheet (if // available). Range *CSSSourceRange `json:"range,omitempty"` diff --git a/lib/proto/page.go b/lib/proto/page.go index 19cf9aa8..4dc5666d 100644 --- a/lib/proto/page.go +++ b/lib/proto/page.go @@ -116,6 +116,9 @@ const ( // PagePermissionsPolicyFeatureAutoplay enum const PagePermissionsPolicyFeatureAutoplay PagePermissionsPolicyFeature = "autoplay" + // PagePermissionsPolicyFeatureBrowsingTopics enum const + PagePermissionsPolicyFeatureBrowsingTopics PagePermissionsPolicyFeature = "browsing-topics" + // PagePermissionsPolicyFeatureCamera enum const PagePermissionsPolicyFeatureCamera PagePermissionsPolicyFeature = "camera" @@ -236,6 +239,9 @@ const ( // PagePermissionsPolicyFeatureIdleDetection enum const PagePermissionsPolicyFeatureIdleDetection PagePermissionsPolicyFeature = "idle-detection" + // PagePermissionsPolicyFeatureInterestCohort enum const + PagePermissionsPolicyFeatureInterestCohort PagePermissionsPolicyFeature = "interest-cohort" + // PagePermissionsPolicyFeatureJoinAdInterestGroup enum const PagePermissionsPolicyFeatureJoinAdInterestGroup PagePermissionsPolicyFeature = "join-ad-interest-group" @@ -1072,6 +1078,9 @@ const ( // PageBackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug1234857 enum const PageBackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug1234857 PageBackForwardCacheNotRestoredReason = "ActivationNavigationsDisallowedForBug1234857" + // PageBackForwardCacheNotRestoredReasonErrorDocument enum const + PageBackForwardCacheNotRestoredReasonErrorDocument PageBackForwardCacheNotRestoredReason = "ErrorDocument" + // PageBackForwardCacheNotRestoredReasonWebSocket enum const PageBackForwardCacheNotRestoredReasonWebSocket PageBackForwardCacheNotRestoredReason = "WebSocket"