Skip to content

Commit 0f034ec

Browse files
committed
Firefox 149, Chrome 147
1 parent 75d0f22 commit 0f034ec

3 files changed

Lines changed: 14 additions & 43 deletions

File tree

src/test/java/org/htmlunit/WebClient2Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ public void serialization_withJSBackgroundTasks() throws Exception {
193193
*/
194194
@Test
195195
@Alerts(DEFAULT = "en-US,en;q=0.9",
196-
FF = "en-US,en;q=0.9",
197196
FF_ESR = "en-US,en;q=0.5")
198197
public void acceptLanguage() throws Exception {
199198
final String html = DOCTYPE_HTML + "<html><body></body></html>";

src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -163,24 +163,12 @@ public void width_like_properties_heightWidth() throws Exception {
163163
* @throws Exception if the test fails
164164
*/
165165
@Test
166-
@Alerts(DEFAULT = {"fontSize: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
167-
"letterSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
168-
"outlineWidth: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42em]",
169-
"textIndent: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
170-
"verticalAlign: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
171-
"wordSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]"},
172-
FF = {"fontSize: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
173-
"letterSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
174-
"outlineWidth: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42em]",
175-
"textIndent: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
176-
"verticalAlign: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
177-
"wordSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]"},
178-
FF_ESR = {"fontSize: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
179-
"letterSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
180-
"outlineWidth: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42em]",
181-
"textIndent: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
182-
"verticalAlign: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
183-
"wordSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]"})
166+
@Alerts({"fontSize: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
167+
"letterSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
168+
"outlineWidth: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42em]",
169+
"textIndent: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
170+
"verticalAlign: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]",
171+
"wordSpacing: initial [] 42.0 [] 42.7 [] 42 [] 42px [42px] 42mm [42mm] 42em [42em] 42% [42%]"})
184172
public void width_like_properties_font() throws Exception {
185173
width_like_properties("fontSize", "letterSpacing", "outlineWidth", "textIndent",
186174
"verticalAlign", "wordSpacing");

src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2688,12 +2688,8 @@ public void setFontSize() throws Exception {
26882688
* @throws Exception if an error occurs
26892689
*/
26902690
@Test
2691-
@Alerts(DEFAULT = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2692-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2693-
FF = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2694-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2695-
FF_ESR = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2696-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
2691+
@Alerts({"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2692+
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
26972693
public void setWordSpacingProperty() throws Exception {
26982694
setLengthProperty("word-spacing", "wordSpacing");
26992695
}
@@ -2702,12 +2698,8 @@ public void setWordSpacingProperty() throws Exception {
27022698
* @throws Exception if an error occurs
27032699
*/
27042700
@Test
2705-
@Alerts(DEFAULT = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2706-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px", "17px"},
2707-
FF = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2708-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px", "17px"},
2709-
FF_ESR = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2710-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px", "17px"})
2701+
@Alerts({"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2702+
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px", "17px"})
27112703
public void setWordSpacing() throws Exception {
27122704
setLength("word-spacing", "wordSpacing");
27132705
}
@@ -2716,12 +2708,8 @@ public void setWordSpacing() throws Exception {
27162708
* @throws Exception if an error occurs
27172709
*/
27182710
@Test
2719-
@Alerts(DEFAULT = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2720-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2721-
FF = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2722-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2723-
FF_ESR = {"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2724-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
2711+
@Alerts({"17px", "5px", "6em", "17px", "7%", "initial", "inherit",
2712+
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
27252713
public void setLetterSpacingProperty() throws Exception {
27262714
setLengthProperty("letter-spacing", "letterSpacing");
27272715
}
@@ -2730,12 +2718,8 @@ public void setLetterSpacingProperty() throws Exception {
27302718
* @throws Exception if an error occurs
27312719
*/
27322720
@Test
2733-
@Alerts(DEFAULT = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2734-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2735-
FF = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2736-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
2737-
FF_ESR = {"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2738-
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
2721+
@Alerts({"17px", "5px", "6em", "17px", "70%", "initial", "inherit",
2722+
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"})
27392723
public void setLetterSpacing() throws Exception {
27402724
setLength("letter-spacing", "letterSpacing");
27412725
}

0 commit comments

Comments
 (0)