Skip to content

Commit be9e24c

Browse files
committed
SVGDiscardElement will be available in ff 137
1 parent 3edd374 commit be9e24c

File tree

5 files changed

+3
-43
lines changed

5 files changed

+3
-43
lines changed

src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@
446446
import org.htmlunit.javascript.host.svg.SVGComponentTransferFunctionElement;
447447
import org.htmlunit.javascript.host.svg.SVGDefsElement;
448448
import org.htmlunit.javascript.host.svg.SVGDescElement;
449-
import org.htmlunit.javascript.host.svg.SVGDiscardElement;
450449
import org.htmlunit.javascript.host.svg.SVGElement;
451450
import org.htmlunit.javascript.host.svg.SVGEllipseElement;
452451
import org.htmlunit.javascript.host.svg.SVGFEBlendElement;
@@ -672,7 +671,7 @@ public final class JavaScriptConfiguration extends AbstractJavaScriptConfigurati
672671
SVGAnimateMotionElement.class, SVGAnimateTransformElement.class, SVGAnimationElement.class,
673672
SVGCircleElement.class,
674673
SVGClipPathElement.class, SVGComponentTransferFunctionElement.class,
675-
SVGDefsElement.class, SVGDescElement.class, SVGDiscardElement.class, SVGElement.class,
674+
SVGDefsElement.class, SVGDescElement.class, SVGElement.class,
676675
SVGEllipseElement.class, SVGFEBlendElement.class, SVGFEColorMatrixElement.class,
677676
SVGFEComponentTransferElement.class, SVGFECompositeElement.class, SVGFEConvolveMatrixElement.class,
678677
SVGFEDiffuseLightingElement.class, SVGFEDisplacementMapElement.class, SVGFEDistantLightElement.class,

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7657,8 +7657,7 @@ public void svgDescElement() throws Exception {
76577657
* @throws Exception if the test fails
76587658
*/
76597659
@Test
7660-
@Alerts(DEFAULT = "ReferenceError",
7661-
FF = "function SVGDiscardElement() { [native code] }")
7660+
@Alerts("ReferenceError")
76627661
public void svgDiscardElement() throws Exception {
76637662
test("SVGDiscardElement");
76647663
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7637,8 +7637,7 @@ public void svgDescElement() throws Exception {
76377637
* @throws Exception if the test fails
76387638
*/
76397639
@Test
7640-
@Alerts(DEFAULT = "undefined",
7641-
FF = "function")
7640+
@Alerts("undefined")
76427641
public void svgDiscardElement() throws Exception {
76437642
test("SVGDiscardElement");
76447643
}

src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,18 +1290,6 @@ public void _Element_SVGDescElement() throws Exception {
12901290
test("Element", "SVGDescElement");
12911291
}
12921292

1293-
/**
1294-
* @throws Exception if the test fails
1295-
*/
1296-
@Test
1297-
@Alerts(DEFAULT = "true",
1298-
CHROME = "false",
1299-
EDGE = "false",
1300-
FF_ESR = "false")
1301-
public void _Element_SVGDiscardElement() throws Exception {
1302-
test("Element", "SVGDiscardElement");
1303-
}
1304-
13051293
/**
13061294
* @throws Exception if the test fails
13071295
*/
@@ -4103,18 +4091,6 @@ public void _EventTarget_SVGDescElement() throws Exception {
41034091
test("EventTarget", "SVGDescElement");
41044092
}
41054093

4106-
/**
4107-
* @throws Exception if the test fails
4108-
*/
4109-
@Test
4110-
@Alerts(DEFAULT = "true",
4111-
CHROME = "false",
4112-
EDGE = "false",
4113-
FF_ESR = "false")
4114-
public void _EventTarget_SVGDiscardElement() throws Exception {
4115-
test("EventTarget", "SVGDiscardElement");
4116-
}
4117-
41184094
/**
41194095
* @throws Exception if the test fails
41204096
*/

src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,19 +1160,6 @@ public void _Node_SVGDescElement() throws Exception {
11601160
test("Node", "SVGDescElement");
11611161
}
11621162

1163-
/**
1164-
* @throws Exception
1165-
* if the test fails
1166-
*/
1167-
@Test
1168-
@Alerts(DEFAULT = "true",
1169-
CHROME = "false",
1170-
EDGE = "false",
1171-
FF_ESR = "false")
1172-
public void _Node_SVGDiscardElement() throws Exception {
1173-
test("Node", "SVGDiscardElement");
1174-
}
1175-
11761163
/**
11771164
* @throws Exception
11781165
* if the test fails

0 commit comments

Comments
 (0)