From 2e5e465e216de53e9a3b7c5e329c87009a961181 Mon Sep 17 00:00:00 2001 From: Yad Smood Date: Wed, 2 Aug 2023 02:25:35 +0800 Subject: [PATCH] drop the support for win32 chromium --- lib/launcher/revision.go | 4 ++-- lib/launcher/revision/main.go | 5 +++++ lib/proto/css.go | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/launcher/revision.go b/lib/launcher/revision.go index ae3c8e2b..e23bd01e 100644 --- a/lib/launcher/revision.go +++ b/lib/launcher/revision.go @@ -3,7 +3,7 @@ package launcher // RevisionDefault for chromium -const RevisionDefault = 1131003 +const RevisionDefault = 1131657 // RevisionPlaywright for arm linux -const RevisionPlaywright = 1067 +const RevisionPlaywright = 1071 diff --git a/lib/launcher/revision/main.go b/lib/launcher/revision/main.go index 4c344fb4..bb64cba4 100644 --- a/lib/launcher/revision/main.go +++ b/lib/launcher/revision/main.go @@ -23,6 +23,11 @@ func main() { revLists := [][]int{} for _, os := range list { + // skip win32 + if os == "Win" { + continue + } + revList := []int{} for _, s := range getList(mirror + os + "/") { rev, err := strconv.ParseInt(s, 10, 32) diff --git a/lib/proto/css.go b/lib/proto/css.go index 6811721d..59603782 100644 --- a/lib/proto/css.go +++ b/lib/proto/css.go @@ -150,6 +150,9 @@ type CSSCSSStyleSheetHeader struct { // EndColumn Column offset of the end of the stylesheet within the resource (zero based). EndColumn float64 `json:"endColumn"` + + // LoadingFailed (experimental) (optional) If the style sheet was loaded from a network resource, this indicates when the resource failed to load + LoadingFailed bool `json:"loadingFailed,omitempty"` } // CSSCSSRule CSS rule representation.