Skip to content

Commit

Permalink
Firefox 133
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 28, 2024
1 parent eb586d0 commit 703e6b0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/main/java/org/htmlunit/css/StyleAttributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")),

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/htmlunit/BrowserVersionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/org/htmlunit/archunit/Architecture2Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -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[] {});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand All @@ -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");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 703e6b0

Please sign in to comment.