Skip to content

Commit e887a98

Browse files
committed
latest rhino changes
1 parent cd1e8cf commit e887a98

2 files changed

Lines changed: 26 additions & 34 deletions

File tree

src/changes/changes.xml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,37 @@
88

99
<body>
1010
<release version="5.0.0" date="April 01, 2026" description="jdk17, Bugfixes">
11+
<action type="update" dev="RhinoTeam">
12+
core-js: Support for rest parameters in destructuring.
13+
</action>
14+
<action type="update" dev="RhinoTeam">
15+
core-js: Respect custom [Symbol.hasInstance] implementations; look up of hasInstance walks prototype chain.
16+
</action>
17+
<action type="update" dev="RhinoTeam">
18+
core-js: NativeError and RegEexp setup modernized.
19+
</action>
20+
<action type="fix" dev="RhinoTeam">
21+
core-js: Fix for setting of prototype and parent scopes on some new objects.
22+
</action>
23+
<action type="fix" dev="RhinoTeam">
24+
core-js: Fix scope used in iterator creation.
25+
</action>
26+
<action type="update" dev="RhinoTeam">
27+
core-js: IdFunctionObject.isConstructor() to return useCallAsConstructor; now methods
28+
like Date.prototype.getDate, RegExp.prototype.exec, etc. no longer incorrectly
29+
reported as constructors.
30+
</action>
1131
<action type="update" dev="rbri">
1232
Test suite updated to junit 6 and cleaned up.
1333
</action>
1434
<action type="update" dev="rbri">
1535
Simplify logging configuration for our test by switching from log4j to logback-classic.
1636
</action>
1737
<action type="add" dev="RhinoTeam">
18-
Add delete support to DOMStringMap.
38+
core-js: Add delete support to DOMStringMap.
1939
</action>
2040
<action type="update" dev="RhinoTeam">
21-
Remove direct dependency to ScriptableObject from DOMStringMap and improve get/set impl.
41+
core-js: Remove direct dependency to ScriptableObject from DOMStringMap and improve get/set impl.
2242
</action>
2343
<action type="add" dev="RhinoTeam">
2444
core-js: migrate NativeDate away from IdScriptable.

src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,6 @@ public void unicode() throws Exception {
408408
*/
409409
@Test
410410
@Alerts({"0", "undefined", "true", "false", "undefined"})
411-
@HtmlUnitNYI(CHROME = {"get undefined", "", "false", "false", "false"},
412-
EDGE = {"get undefined", "", "false", "false", "false"},
413-
FF = {"get undefined", "", "false", "false", "false"},
414-
FF_ESR = {"get undefined", "", "false", "false", "false"})
415411
public void flagsProperty() throws Exception {
416412
testProperty("flags");
417413
}
@@ -421,10 +417,6 @@ public void flagsProperty() throws Exception {
421417
*/
422418
@Test
423419
@Alerts({"0", "undefined", "true", "false", "undefined"})
424-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
425-
EDGE = {"get undefined", "false", "false", "false", "false"},
426-
FF = {"get undefined", "false", "false", "false", "false"},
427-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
428420
public void globalProperty() throws Exception {
429421
testProperty("global");
430422
}
@@ -434,10 +426,6 @@ public void globalProperty() throws Exception {
434426
*/
435427
@Test
436428
@Alerts({"0", "undefined", "true", "false", "undefined"})
437-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
438-
EDGE = {"get undefined", "false", "false", "false", "false"},
439-
FF = {"get undefined", "false", "false", "false", "false"},
440-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
441429
public void ignoreCaseProperty() throws Exception {
442430
testProperty("ignoreCase");
443431
}
@@ -447,10 +435,6 @@ public void ignoreCaseProperty() throws Exception {
447435
*/
448436
@Test
449437
@Alerts({"0", "undefined", "true", "false", "undefined"})
450-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
451-
EDGE = {"get undefined", "false", "false", "false", "false"},
452-
FF = {"get undefined", "false", "false", "false", "false"},
453-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
454438
public void multilineProperty() throws Exception {
455439
testProperty("multiline");
456440
}
@@ -460,10 +444,6 @@ public void multilineProperty() throws Exception {
460444
*/
461445
@Test
462446
@Alerts({"0", "undefined", "true", "false", "undefined"})
463-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
464-
EDGE = {"get undefined", "false", "false", "false", "false"},
465-
FF = {"get undefined", "false", "false", "false", "false"},
466-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
467447
public void stickyProperty() throws Exception {
468448
testProperty("sticky");
469449
}
@@ -473,10 +453,6 @@ public void stickyProperty() throws Exception {
473453
*/
474454
@Test
475455
@Alerts({"0", "undefined", "true", "false", "undefined"})
476-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
477-
EDGE = {"get undefined", "false", "false", "false", "false"},
478-
FF = {"get undefined", "false", "false", "false", "false"},
479-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
480456
public void dotAllProperty() throws Exception {
481457
testProperty("dotAll");
482458
}
@@ -487,10 +463,6 @@ public void dotAllProperty() throws Exception {
487463
*/
488464
@Test
489465
@Alerts({"0", "undefined", "true", "false", "undefined"})
490-
@HtmlUnitNYI(CHROME = {"get undefined", "false", "false", "false", "false"},
491-
EDGE = {"get undefined", "false", "false", "false", "false"},
492-
FF = {"get undefined", "false", "false", "false", "false"},
493-
FF_ESR = {"get undefined", "false", "false", "false", "false"})
494466
public void unicodeProperty() throws Exception {
495467
testProperty("unicode");
496468
}
@@ -501,10 +473,10 @@ public void unicodeProperty() throws Exception {
501473
*/
502474
@Test
503475
@Alerts({"0", "undefined", "true", "false", "undefined"})
504-
@HtmlUnitNYI(CHROME = {"get undefined", "", "false", "false", "false"},
505-
EDGE = {"get undefined", "", "false", "false", "false"},
506-
FF = {"get undefined", "", "false", "false", "false"},
507-
FF_ESR = {"get undefined", "", "false", "false", "false"})
476+
@HtmlUnitNYI(CHROME = {"0", "undefined", "false", "false", "undefined"},
477+
EDGE = {"0", "undefined", "false", "false", "undefined"},
478+
FF = {"0", "undefined", "false", "false", "undefined"},
479+
FF_ESR = {"0", "undefined", "false", "false", "undefined"})
508480
public void sourceProperty() throws Exception {
509481
testProperty("source");
510482
}

0 commit comments

Comments
 (0)