From 703e6b09dce029ab6189c0c63838dd66eb641b1a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 28 Nov 2024 08:26:32 +0100 Subject: [PATCH] Firefox 133 --- src/main/java/org/htmlunit/css/StyleAttributes.java | 12 ++++++------ src/test/java/org/htmlunit/BrowserVersionTest.java | 2 +- .../org/htmlunit/archunit/Architecture2Test.java | 2 ++ .../DedicatedWorkerGlobalScopeClassNameTest.java | 1 - .../DedicatedWorkerGlobalScopeTypeOfTest.java | 2 ++ .../javascript/host/worker/WorkerNavigatorTest.java | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/htmlunit/css/StyleAttributes.java b/src/main/java/org/htmlunit/css/StyleAttributes.java index 83a30a8b36..17f4c11e48 100644 --- a/src/main/java/org/htmlunit/css/StyleAttributes.java +++ b/src/main/java/org/htmlunit/css/StyleAttributes.java @@ -2077,18 +2077,18 @@ public enum Definition { /** The style property {@code -moz-padding-start}. */ MOZ_PADDING_START__("-moz-padding-start", "-moz-padding-start", ff("0px")), - /** The style property {@code MozPerspectiveOrigin}. */ - MOZ_PERSPECTIVE_ORIGIN("MozPerspectiveOrigin", "-moz-perspective-origin", ffLatest("622px 164px")), - - /** The style property {@code -moz-perspective-origin}. */ - MOZ_PERSPECTIVE_ORIGIN__("-moz-perspective-origin", "-moz-perspective-origin", ffLatest("622px 164px")), - /** The style property {@code MozPerspective}. */ MOZ_PERSPECTIVE("MozPerspective", "-moz-perspective", ffLatest("none")), /** The style property {@code -moz-perspective}. */ MOZ_PERSPECTIVE__("-moz-perspective", "-moz-perspective", ffLatest("none")), + /** The style property {@code MozPerspectiveOrigin}. */ + MOZ_PERSPECTIVE_ORIGIN("MozPerspectiveOrigin", "-moz-perspective-origin", ffLatest("622px 164px")), + + /** The style property {@code -moz-perspective-origin}. */ + MOZ_PERSPECTIVE_ORIGIN__("-moz-perspective-origin", "-moz-perspective-origin", ffLatest("622px 164px")), + /** The style property {@code MozTabSize}. */ MOZ_TAB_SIZE("MozTabSize", "-moz-tab-size", ff("8")), diff --git a/src/test/java/org/htmlunit/BrowserVersionTest.java b/src/test/java/org/htmlunit/BrowserVersionTest.java index 1858636c7b..ebdeac1c2c 100644 --- a/src/test/java/org/htmlunit/BrowserVersionTest.java +++ b/src/test/java/org/htmlunit/BrowserVersionTest.java @@ -38,7 +38,7 @@ public class BrowserVersionTest { */ @Test public void getBrowserVersionNumeric() { - assertEquals(132, BrowserVersion.FIREFOX.getBrowserVersionNumeric()); + assertEquals(133, BrowserVersion.FIREFOX.getBrowserVersionNumeric()); assertEquals(128, BrowserVersion.FIREFOX_ESR.getBrowserVersionNumeric()); assertEquals(131, BrowserVersion.CHROME.getBrowserVersionNumeric()); assertEquals(131, BrowserVersion.EDGE.getBrowserVersionNumeric()); diff --git a/src/test/java/org/htmlunit/archunit/Architecture2Test.java b/src/test/java/org/htmlunit/archunit/Architecture2Test.java index 56e1c58323..cba7097529 100644 --- a/src/test/java/org/htmlunit/archunit/Architecture2Test.java +++ b/src/test/java/org/htmlunit/archunit/Architecture2Test.java @@ -163,6 +163,8 @@ else if (oneTests.size() == 0) { .that() .doNotHaveFullyQualifiedName("org.htmlunit.BrowserVersion") .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration") + .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.worker.DedicatedWorkerGlobalScope") + .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.intl.DateTimeFormat") .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.intl.NumberFormat") .should().callMethod(BrowserVersion.class, "isFirefoxESR", new Class[] {}); diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java index 8cca03d150..4f9afa0f18 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java @@ -23,7 +23,6 @@ import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.BrowserRunner.Alerts; import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index d66d066515..02d58f46f7 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -6711,6 +6711,7 @@ public void selection() throws Exception { @Test @Alerts(DEFAULT = "undefined", FF = "function") + @HtmlUnitNYI(FF = "undefined") public void serviceWorker() throws Exception { test("ServiceWorker"); } @@ -6721,6 +6722,7 @@ public void serviceWorker() throws Exception { @Test @Alerts(DEFAULT = "undefined", FF = "function") + @HtmlUnitNYI(FF = "undefined") public void serviceWorkerContainer() throws Exception { test("ServiceWorkerContainer"); } diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index 480d9ec68f..d90f323b54 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -164,7 +164,7 @@ public void product() throws Exception { + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36", EDGE = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", - FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:132.0)\\sGecko/20100101\\sFirefox/132.0", + FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:133.0)\\sGecko/20100101\\sFirefox/133.0", FF_ESR = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:128.0)\\sGecko/20100101\\sFirefox/128.0") public void userAgent() throws Exception { final String workerJs = "postMessage(navigator.userAgent);\n";