From 782a2157bdb0a0277a7db6d764266e05ac691ffc Mon Sep 17 00:00:00 2001 From: daijro Date: Wed, 2 Oct 2024 06:19:29 -0500 Subject: [PATCH] Juggler: fix Playwright default viewport Fixes a bug that prevents Playwright's default viewport from loading. Caused by function not getting renamed when refactoring chromeutil.patch --- additions/juggler/TargetRegistry.js | 8 ++++---- upstream.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/additions/juggler/TargetRegistry.js b/additions/juggler/TargetRegistry.js index 18812ae..079993b 100644 --- a/additions/juggler/TargetRegistry.js +++ b/additions/juggler/TargetRegistry.js @@ -574,10 +574,10 @@ class PageTarget { if ( !this._viewportSize && this._browserContext.defaultViewportSize && ( - ChromeUtils.camouGetConfig("window.outerWidth") || - ChromeUtils.camouGetConfig("window.outerHeight") || - ChromeUtils.camouGetConfig("window.innerWidth") || - ChromeUtils.camouGetConfig("window.innerHeight")) + ChromeUtils.camouGetInt("window.outerWidth") || + ChromeUtils.camouGetInt("window.outerHeight") || + ChromeUtils.camouGetInt("window.innerWidth") || + ChromeUtils.camouGetInt("window.innerHeight")) ) { return; } diff --git a/upstream.sh b/upstream.sh index 0e8289b..87ab2fa 100644 --- a/upstream.sh +++ b/upstream.sh @@ -1,2 +1,2 @@ version=130.0.1 -release=beta.9 +release=beta.10