Skip to content

Commit

Permalink
AbortController and AbortSignal stubs implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Aug 3, 2024
1 parent 0fbd7e3 commit 4482c99
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/test/java/org/htmlunit/general/huge/HostParentOfATest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,24 @@ public static Collection<Object[]> data() throws Exception {
});
}

/**
* @throws Exception if the test fails
*/
@Test
@Alerts("true")
public void _AbortController_AbortController() throws Exception {
test("AbortController", "AbortController");
}

/**
* @throws Exception if the test fails
*/
@Test
@Alerts("true")
public void _AbortSignal_AbortSignal() throws Exception {
test("AbortSignal", "AbortSignal");
}

/**
* @throws Exception if the test fails
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2476,6 +2476,15 @@ public void _EventSource_EventSource() throws Exception {
test("EventSource", "EventSource");
}

/**
* @throws Exception if the test fails
*/
@Test
@Alerts("true")
public void _EventTarget_AbortSignal() throws Exception {
test("EventTarget", "AbortSignal");
}

/**
* @throws Exception if the test fails
*/
Expand Down

0 comments on commit 4482c99

Please sign in to comment.