diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3b46b7cba4..6624a14922 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,15 @@ + + core-js: String.prototype.matchAll, Symbol.matchAll, and RegExp.prototype[Symbol.matchAll] added. + + + neko: BOM header detection fixed + + + neko: bunch of micro optimizations + Property navigator pdfViewerEnabled added. diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 4128ea533d..58ded674ef 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -1175,4 +1175,37 @@ public void ensureOrder() throws Exception { Thread.sleep(DEFAULT_WAIT_TIME); verifyTitle2(driver, getExpectedAlerts()); } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"false", "aa", "0", "aabbc", "false", "bb", "2", "aabbc", "true", "undefined"}) + public void matchAll() throws Exception { + final String html = "" + + ""; + + loadPageVerifyTitle2(html); + } }