Skip to content

Commit 5e4add0

Browse files
committed
FF 144
1 parent bf73476 commit 5e4add0

4 files changed

Lines changed: 17 additions & 8 deletions

File tree

src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,6 @@ public void gamepadEvent() throws Exception {
25812581
*/
25822582
@Test
25832583
@Alerts(DEFAULT = "NotSupportedError/DOMException",
2584-
FF = "Symbol(Symbol.toStringTag) [C] [MutationEvent]",
25852584
FF_ESR = "Symbol(Symbol.toStringTag) [C] [MutationEvent]")
25862585
public void mutationEvent() throws Exception {
25872586
testString("", "document.createEvent('MutationEvent')");
@@ -2750,7 +2749,7 @@ public void nodeListButtonLabels() throws Exception {
27502749
*/
27512750
@Test
27522751
@Alerts(DEFAULT = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleDeclaration]",
2753-
FF = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSS2Properties]",
2752+
FF = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleProperties]",
27542753
FF_ESR = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSS2Properties]")
27552754
public void computedStyle() throws Exception {
27562755
testString("", "window.getComputedStyle(document.body)");
@@ -2763,7 +2762,7 @@ public void computedStyle() throws Exception {
27632762
*/
27642763
@Test
27652764
@Alerts(DEFAULT = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleDeclaration]",
2766-
FF = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSS2Properties]",
2765+
FF = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleProperties]",
27672766
FF_ESR = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSS2Properties]")
27682767
@HtmlUnitNYI(FF = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleDeclaration]",
27692768
FF_ESR = "Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [CSSStyleDeclaration]")

src/test/java/org/htmlunit/html/HtmlImage2Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ public void lineBreaksInUrl() throws Exception {
414414
*/
415415
@Test
416416
@Alerts(DEFAULT = {"58", "29", "58", "29"},
417-
FF = {"58", "29", "70", "118"},
418-
FF_ESR = {"58", "29", "70", "118"})
417+
FF = {"58", "29", "70", "119"},
418+
FF_ESR = {"58", "29", "70", "119"})
419419
@HtmlUnitNYI(CHROME = {"18", "18", "18", "18"},
420420
EDGE = {"18", "18", "18", "18"},
421421
FF = {"18", "18", "18", "18"},

src/test/java/org/htmlunit/html/HtmlPage3Test.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.htmlunit.util.MimeType;
2828
import org.junit.jupiter.api.Test;
2929
import org.openqa.selenium.By;
30+
import org.openqa.selenium.InvalidSelectorException;
3031
import org.openqa.selenium.NoSuchElementException;
3132
import org.openqa.selenium.WebDriver;
3233
import org.openqa.selenium.WebElement;
@@ -499,6 +500,9 @@ public void shouldBeAbleToFindElementByXPathInXmlDocument() throws Exception {
499500
catch (final NoSuchElementException e) {
500501
actual = "error";
501502
}
503+
catch (final InvalidSelectorException e) {
504+
actual = "error";
505+
}
502506
assertEquals(getExpectedAlerts()[0], actual);
503507
}
504508

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,7 +2347,9 @@ private void modifyChildren(final String check, final String call, final String
23472347
* @throws Exception if the test fails
23482348
*/
23492349
@Test
2350-
@Alerts({"0,0", "10,30", "22,64", "5,0", "type error", "5,0", "onscroll 5,0"})
2350+
@Alerts(DEFAULT = {"0,0", "10,30", "22,64", "5,0", "5,0", "onscroll 5,0"},
2351+
FF = {"0,0", "10,30", "22,64", "5,0", "type error", "5,0", "onscroll 5,0"},
2352+
FF_ESR = {"0,0", "10,30", "22,64", "5,0", "type error", "5,0", "onscroll 5,0"})
23512353
@HtmlUnitNYI(CHROME = {"0,0", "onscroll 10,30", "10,30", "onscroll 22,64", "22,64",
23522354
"onscroll 5,0", "5,0", "type error", "5,0"},
23532355
EDGE = {"0,0", "onscroll 10,30", "10,30", "onscroll 22,64", "22,64",
@@ -2436,7 +2438,9 @@ public void scrollByOptions() throws Exception {
24362438
* @throws Exception if the test fails
24372439
*/
24382440
@Test
2439-
@Alerts({"0,0", "10,30", "12,34", "0,0", "type error", "0,0", "onscroll 0,0"})
2441+
@Alerts(DEFAULT = {"0,0", "10,30", "12,34", "0,0", "0,0", "onscroll 0,0"},
2442+
FF = {"0,0", "10,30", "12,34", "0,0", "type error", "0,0", "onscroll 0,0"},
2443+
FF_ESR = {"0,0", "10,30", "12,34", "0,0", "type error", "0,0", "onscroll 0,0"})
24402444
@HtmlUnitNYI(CHROME = {"0,0", "onscroll 10,30", "10,30", "onscroll 12,34", "12,34",
24412445
"onscroll 0,0", "0,0", "type error", "0,0"},
24422446
EDGE = {"0,0", "onscroll 10,30", "10,30", "onscroll 12,34", "12,34",
@@ -2525,7 +2529,9 @@ public void scrollToOptions() throws Exception {
25252529
* @throws Exception if the test fails
25262530
*/
25272531
@Test
2528-
@Alerts({"0,0", "10,30", "12,34", "0,0", "type error", "0,0", "onscroll 0,0"})
2532+
@Alerts(DEFAULT = {"0,0", "10,30", "12,34", "0,0", "0,0", "onscroll 0,0"},
2533+
FF = {"0,0", "10,30", "12,34", "0,0", "type error", "0,0"},
2534+
FF_ESR = {"0,0", "10,30", "12,34", "0,0", "type error", "0,0"})
25292535
@HtmlUnitNYI(CHROME = {"0,0", "onscroll 10,30", "10,30", "onscroll 12,34", "12,34",
25302536
"onscroll 0,0", "0,0", "type error", "0,0"},
25312537
EDGE = {"0,0", "onscroll 10,30", "10,30", "onscroll 12,34", "12,34",

0 commit comments

Comments
 (0)