Skip to content

Commit

Permalink
build the correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Feb 3, 2025
1 parent 874e470 commit 90846ba
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 101 deletions.
12 changes: 6 additions & 6 deletions src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14989,8 +14989,8 @@ public void pointerEvent2() throws Exception {
EDGE = "constructor(),deltaMode[GCE],deltaX[GCE],deltaY[GCE],deltaZ[GCE],DOM_DELTA_LINE[E],"
+ "DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E],wheelDelta[GCE],wheelDeltaX[GCE],"
+ "wheelDeltaY[GCE]",
FF = "NotSupportedError",
FF_ESR = "NotSupportedError")
FF = "NotSupportedError/DOMException",
FF_ESR = "NotSupportedError/DOMException")
@HtmlUnitNYI(CHROME = "constructor(),DOM_DELTA_LINE[E],DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E]",
EDGE = "constructor(),DOM_DELTA_LINE[E],DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E]")
public void wheelEvent() throws Exception {
Expand Down Expand Up @@ -15391,10 +15391,10 @@ public void slot() throws Exception {
+ "scrollingElement[GCE],selectedStyleSheetSet[GSCE],styleSheets[GCE],styleSheetSets[GCE],"
+ "timeline[GCE],title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],write(),"
+ "writeln()")
@HtmlUnitNYI(CHROME = "InternalError",
EDGE = "InternalError",
FF_ESR = "InternalError",
FF = "InternalError")
@HtmlUnitNYI(CHROME = "InternalError/InternalError",
EDGE = "InternalError/InternalError",
FF_ESR = "InternalError/InternalError",
FF = "InternalError/InternalError")
public void document() throws Exception {
testString("", "new Document()");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2269,8 +2269,8 @@ public void pointerEvent2() throws Exception {
*/
@Test
@Alerts(DEFAULT = "Symbol(Symbol.toStringTag) [C] [WheelEvent]",
FF = "NotSupportedError",
FF_ESR = "NotSupportedError")
FF = "NotSupportedError/DOMException",
FF_ESR = "NotSupportedError/DOMException")
public void wheelEvent() throws Exception {
testString("", "document.createEvent('WheelEvent')");
}
Expand Down Expand Up @@ -2394,10 +2394,10 @@ public void slot() throws Exception {
FF_ESR = "Symbol(Symbol.toStringTag) [C] [Document],"
+ "Symbol(Symbol.unscopables) [C] [{\"fullscreen\":true,\"prepend\":true,"
+ "\"append\":true,\"replaceChildren\":true}]")
@HtmlUnitNYI(CHROME = "InternalError",
EDGE = "InternalError",
FF = "InternalError",
FF_ESR = "InternalError")
@HtmlUnitNYI(CHROME = "InternalError/InternalError",
EDGE = "InternalError/InternalError",
FF = "InternalError/InternalError",
FF_ESR = "InternalError/InternalError")
public void document() throws Exception {
testString("", "new Document()");
}
Expand Down
Loading

0 comments on commit 90846ba

Please sign in to comment.