Skip to content

Commit 3814236

Browse files
committed
fixes
1 parent 9538e8c commit 3814236

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
<body>
1010
<release version="4.21.0" date="December xx, 2025" description="Firefox 145, core-js, Bugfixes">
11+
<action type="update" dev="rbri">
12+
DOMPointReadOnly and DOMPoint implementation improved.
13+
</action>
1114
<action type="add" dev="rbri">
1215
DOMRectReadOnly and DOMRect implementation improved, now we implement the whole interface.
1316
</action>

src/main/java/org/htmlunit/javascript/host/dom/DOMPointReadOnly.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class DOMPointReadOnly extends HtmlUnitScriptable {
4444
* Creates an instance.
4545
*/
4646
public DOMPointReadOnly() {
47-
// default ctor.
47+
wVal_ = 1;
4848
}
4949

5050
/**

src/test/java/org/htmlunit/javascript/host/DOMRectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void ctorWrongValTypes() throws Exception {
267267
*/
268268
@Test
269269
@Alerts({"4", "7", "11", "42", "7", "4", "49", "15",
270-
"2", "5", "100", "42", "5", "2", "47", "102"})
270+
"2", "5", "100", "-8", "-3", "2", "5", "102"})
271271
public void setter() throws Exception {
272272
final String html = DOCTYPE_HTML
273273
+ "<html><head></head>\n"

0 commit comments

Comments
 (0)