Skip to content

Commit 0c8c8b4

Browse files
committed
FF 144
1 parent 6b5978c commit 0c8c8b4

File tree

8 files changed

+8
-10
lines changed

8 files changed

+8
-10
lines changed

src/main/java/org/htmlunit/BrowserVersionFeatures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public enum BrowserVersionFeatures {
8787
EVENT_SCROLL_UIEVENT,
8888

8989
/** Supports event type 'MutationEvent'. */
90-
@BrowserFeature({FF, FF_ESR})
90+
@BrowserFeature(FF_ESR)
9191
EVENT_TYPE_MUTATIONEVENT,
9292

9393
/** Supports event type 'WheelEvent'. */

src/main/java/org/htmlunit/Screen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Screen(final WebClient webClient) {
4545
* @return the {@code availHeight} property
4646
*/
4747
public int getAvailHeight() {
48-
return 1040;
48+
return 1032;
4949
}
5050

5151
/**

src/main/java/org/htmlunit/javascript/host/event/MutationEvent.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515
package org.htmlunit.javascript.host.event;
1616

17-
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF;
1817
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR;
1918

2019
import org.htmlunit.corejs.javascript.ScriptableObject;
@@ -32,7 +31,7 @@
3231
* @author Ahmed Ashour
3332
* @author Ronald Brill
3433
*/
35-
@JsxClass(value = {FF, FF_ESR}, isJSObject = false)
34+
@JsxClass(value = FF_ESR, isJSObject = false)
3635
public class MutationEvent extends Event {
3736

3837
/** Modification. */

src/test/java/org/htmlunit/javascript/host/ScreenTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ScreenTest extends WebDriverTestCase {
3333
* @throws Exception on test failure
3434
*/
3535
@Test
36-
@Alerts({"1040", "1040"})
36+
@Alerts({"1032", "1032"})
3737
public void availHeight() throws Exception {
3838
testNumericProperty("availHeight");
3939
}

src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3873,8 +3873,8 @@ public void documentElementOffsetQuirks() throws Exception {
38733873
@Test
38743874
@Alerts(DEFAULT = {"0", "0", "621", "1256"},
38753875
EDGE = {"0", "0", "630", "1248"},
3876-
FF = {"0", "0", "675", "1256"},
3877-
FF_ESR = {"0", "0", "675", "1256"})
3876+
FF = {"0", "0", "674", "1256"},
3877+
FF_ESR = {"0", "0", "674", "1256"})
38783878
@HtmlUnitNYI(CHROME = {"0", "0", "605", "1256"},
38793879
EDGE = {"0", "0", "605", "1256"},
38803880
FF = {"0", "0", "605", "1256"},

src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ public void inWindow() throws Exception {
268268
*/
269269
@Test
270270
@Alerts(DEFAULT = {"DOM2: exception", "DOM3: exception"},
271-
FF = {"DOM2: [object MutationEvent]", "DOM3: [object MutationEvent]"},
272271
FF_ESR = {"DOM2: [object MutationEvent]", "DOM3: [object MutationEvent]"})
273272
public void createEvent() throws Exception {
274273
final String html = DOCTYPE_HTML

src/test/java/org/htmlunit/javascript/host/fetch/FetchTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ public void fetchPostJSON() throws Exception {
583583

584584
assertEquals("{\"hello\":\"world\"}", lastRequest.getRequestBody());
585585
}
586-
//
586+
587587
// /**
588588
// * Tests fetch with credentials.
589589
// * @throws Exception if the test fails

src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void product() throws Exception {
166166
+ "(KHTML,\\slike\\sGecko)\\sChrome/141.0.0.0\\sSafari/537.36",
167167
EDGE = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s"
168168
+ "(KHTML,\\slike\\sGecko)\\sChrome/141.0.0.0\\sSafari/537.36\\sEdg/141.0.0.0",
169-
FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:143.0)\\sGecko/20100101\\sFirefox/143.0",
169+
FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:144.0)\\sGecko/20100101\\sFirefox/144.0",
170170
FF_ESR = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:140.0)\\sGecko/20100101\\sFirefox/140.0")
171171
public void userAgent() throws Exception {
172172
final String workerJs = "postMessage(navigator.userAgent);\n";

0 commit comments

Comments
 (0)