Skip to content

Commit 8afe95c

Browse files
committed
Chrome/Edge 143
1 parent 2827312 commit 8afe95c

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

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

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,20 @@ public void documentCreateElementUnknown() throws Exception {
634634
* @throws Exception if the test fails
635635
*/
636636
@Test
637-
@Alerts({"", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",",
638-
"/", ";", "<", "=", ">", "?", "@", "[", "§§URL§§", "]", "^", "`",
639-
"{", "|", "}", "~"})
637+
@Alerts(DEFAULT = {"", "/", ">"},
638+
FF = {"", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",",
639+
"/", ";", "<", "=", ">", "?", "@", "[", "§§URL§§", "]", "^", "`",
640+
"{", "|", "}", "~"},
641+
FF_ESR = {"", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",",
642+
"/", ";", "<", "=", ">", "?", "@", "[", "§§URL§§", "]", "^", "`",
643+
"{", "|", "}", "~"})
644+
@HtmlUnitNYI(
645+
CHROME = {"", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",",
646+
"/", ";", "<", "=", ">", "?", "@", "[", "§§URL§§", "]", "^", "`",
647+
"{", "|", "}", "~"},
648+
EDGE = {"", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",",
649+
"/", ";", "<", "=", ">", "?", "@", "[", "§§URL§§", "]", "^", "`",
650+
"{", "|", "}", "~"})
640651
public void documentCreateElementValidTagNames() throws Exception {
641652
expandExpectedAlertsVariables("\\\\");
642653

@@ -704,10 +715,7 @@ public void documentCreateElementValidTagNamesFirstChar() throws Exception {
704715
* @throws Exception if the test fails
705716
*/
706717
@Test
707-
@Alerts(DEFAULT = {"[170]", "[186]", "[192-214]", "[216-246]", "[248-305]", "[308-318]", "[321-328]",
708-
"[330-382]", "[384-451]", "[461-496]", "[500-687]", "[699-705]", "[880-883]",
709-
"[886-887]", "[891-893]", "[895]", "[902]", "[904-906]", "[908]", "[910-929]",
710-
"[931-975]", "[979-980]", "[983-999]"},
718+
@Alerts(DEFAULT = "[128-999]",
711719
FF = {"[170]", "[181]", "[186]", "[192-214]", "[216-246]", "[248-305]", "[308-318]", "[321-328]",
712720
"[330-382]", "[384-451]", "[461-496]", "[500-501]", "[506-535]", "[592-680]",
713721
"[699-705]", "[902]", "[904-906]", "[908]", "[910-929]",
@@ -3770,7 +3778,9 @@ public void newDoc() throws Exception {
37703778
* @throws Exception if the test fails
37713779
*/
37723780
@Test
3773-
@Alerts({"0", "0", "8", "1256"})
3781+
@Alerts(DEFAULT = {"0", "0", "8", "1256"},
3782+
EDGE = {"0", "0", "8", "1248"})
3783+
@HtmlUnitNYI(EDGE = {"0", "0", "8", "1256"})
37743784
public void documentElementBoundingClientRect() throws Exception {
37753785
final String html = DOCTYPE_HTML
37763786
+ "<html>"
@@ -3822,7 +3832,9 @@ public void documentElementBoundingClientRectQuirks() throws Exception {
38223832
* @throws Exception if the test fails
38233833
*/
38243834
@Test
3825-
@Alerts({"0", "0", "8", "1256"})
3835+
@Alerts(DEFAULT = {"0", "0", "8", "1256"},
3836+
EDGE = {"0", "0", "8", "1248"})
3837+
@HtmlUnitNYI(EDGE = {"0", "0", "8", "1256"})
38263838
public void documentElementOffset() throws Exception {
38273839
final String html = DOCTYPE_HTML
38283840
+ "<html>"

0 commit comments

Comments
 (0)