From be85c1d42d37c6b7e1ac23775950fe4b0484d309 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 1 Dec 2024 09:04:42 +0100 Subject: [PATCH 001/516] core-js 4.8.0-SNAPSHOT --- pom.xml | 6 +++--- src/changes/changes.xml | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 3735a0c0ea8..84a1ee16bd3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit htmlunit - 4.7.0 + 4.8.0-SNAPSHOT HtmlUnit Gargoyle Software Inc. @@ -29,7 +29,7 @@ 4.7.0 4.7.0 4.7.0 - 4.7.0 + 4.8.0-SNAPSHOT 4.7.0 4.5.14 @@ -269,7 +269,7 @@ org.apache.felix maven-bundle-plugin - 6.0.0 + 5.1.9 true diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6260cda210e..b3b8f9ac7ce 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,6 +7,13 @@ + + + core-js: Some improvments for the interpreter by generating smaller interpreter bytecode. + + + + core-js: String.prototype.matchAll, Symbol.matchAll, and RegExp.prototype[Symbol.matchAll] added. From a7f6e149ae8cc39b46cdce88bb4864a86ff6972d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 1 Dec 2024 09:24:07 +0100 Subject: [PATCH 002/516] checkstyle and pmd update --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 84a1ee16bd3..ba85ab6162c 100644 --- a/pom.xml +++ b/pom.xml @@ -43,9 +43,9 @@ 2.0.16 - 10.20.1 + 10.20.2 4.8.6 - 7.7.0 + 7.8.0 4.13.2 1.3.0 10.0.4 From 91238eef5cb615b11b819f5c049e7538db2ba6e4 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 2 Dec 2024 15:12:33 +0100 Subject: [PATCH 003/516] exclude felix --- src/test/java/org/htmlunit/ExternalTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 94af9612557..96467e9427f 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -345,6 +345,12 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI return true; } + // 6.x requires java11 + if ("org.apache.felix".equals(groupId) + && version.startsWith("6.")) { + return true; + } + // really old common versions if ("commons-io".equals(artifactId) && (version.startsWith("2003"))) { return true; From cbe165dfb95be63d3816b94629b6ecab8a9ed46f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 2 Dec 2024 15:50:34 +0100 Subject: [PATCH 004/516] mention some projects using HtmlUnit --- README.md | 28 ++++++++++++++++++++ src/site/xdoc/index.xml | 24 ++++++++++++++--- src/test/java/org/htmlunit/ExternalTest.java | 2 +- 3 files changed, 49 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 393e8eea5ae..a8fa420524c 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,34 @@ HtmlUnit is typically used for testing purposes or to retrieve information from * Support for basic and NTLM authentication * Excellent JavaScript support +HtmlUnit is used as the underlying "browser" by different Open Source tools like +> * [WebDriver](https://github.com/SeleniumHQ/selenium) +> * [Arquillian Drone](https://arquillian.org/arquillian-extension-drone) +> * [Serenity BDD](https://serenity-bdd.info) +> * [FluentLenium](https://github.com/FluentLenium/FluentLenium) +> * [WETATOR](https://www.wetator.org/) +> * [Selenium Foundation](https://github.com/sbabcoc/Selenium-Foundation) +> * [Spring Testing](https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#spring-mvc-test-server-htmlunit) +> * [JWebUnit](https://jwebunit.github.io/jwebunit/) +> * [JSFUnit](http://www.jboss.org/jsfunit/) +> * ... + +HtmlUnit is used by many projects for automated web testing +> * [jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) +> * [Apache Shiro](https://shiro.apache.org/) +> * [Apache Struts](https://struts.apache.org/) +> * [Quarkus](https://quarkus.io/) +> * [Togglz](https://www.togglz.org/) +> * [Dataverse](https://dataverse.org/) +> * [Janssen Project](https://github.com/JanssenProject/jans) +> * [Apache TomEE](https://github.com/apache/tomee) +> * [Apache Maven Surefire](https://maven.apache.org/surefire/) +> * [JSCover](http://tntim96.github.io/JSCover/) +> * [Apache Jackrabbit](https://jackrabbit.apache.org/jcr/index.html) +> * [OpenXava](https://github.com/openxava/openxava) +> * [Cargo](https://github.com/codehaus-cargo/cargo) +> * ... + ## Getting Started You can start here: * [Getting Started][7] diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index d3ff7a28cf0..822ca00dd26 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -46,18 +46,34 @@ WebDriver, Arquillian Drone, Serenity BDD, + FluentLenium, WETATOR, - jenkins-test-harness, Selenium Foundation, - Spring Testing, ... + Spring Testing JWebUnit, - JSFUnit, + JSFUnit, ... +

+

+ HtmlUnit is used by many projects for automated web testing + jenkins-test-harness, + Apache Shiro, + Apache Struts, + Quarkus, + Togglz, + Dataverse, + Janssen Project, + Apache TomEE, + Apache Maven Surefire, + JSCover, + Apache Jackrabbit, + OpenXava + Cargo, ...

HtmlUnit was originally written by Mike Bowler of Gargoyle Software - and is released under the Apache 2 license. + and is released under the Apache 2 license. Since then, it has received many contributions from other developers, and would not be where it is today without their assistance. diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 96467e9427f..34c7fb6d883 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -333,7 +333,7 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI return true; } - // version > 3.12.0 does not work with out site.xml and also not with a refactored one + // version > 3.12.0 does not work with our site.xml and also not with a refactored one if ("maven-site-plugin".equals(artifactId) && (version.startsWith("3.12.1") || version.startsWith("3.20.") || version.startsWith("3.21."))) { return true; From 88abfda1dc2576d4dabe4ba570fe873d3d8dfa02 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 2 Dec 2024 15:52:00 +0100 Subject: [PATCH 005/516] format --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index a8fa420524c..e04cce2dbe2 100644 --- a/README.md +++ b/README.md @@ -94,32 +94,32 @@ HtmlUnit is typically used for testing purposes or to retrieve information from * Excellent JavaScript support HtmlUnit is used as the underlying "browser" by different Open Source tools like -> * [WebDriver](https://github.com/SeleniumHQ/selenium) -> * [Arquillian Drone](https://arquillian.org/arquillian-extension-drone) -> * [Serenity BDD](https://serenity-bdd.info) -> * [FluentLenium](https://github.com/FluentLenium/FluentLenium) -> * [WETATOR](https://www.wetator.org/) -> * [Selenium Foundation](https://github.com/sbabcoc/Selenium-Foundation) -> * [Spring Testing](https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#spring-mvc-test-server-htmlunit) -> * [JWebUnit](https://jwebunit.github.io/jwebunit/) -> * [JSFUnit](http://www.jboss.org/jsfunit/) -> * ... + * [WebDriver](https://github.com/SeleniumHQ/selenium) + * [Arquillian Drone](https://arquillian.org/arquillian-extension-drone) + * [Serenity BDD](https://serenity-bdd.info) + * [FluentLenium](https://github.com/FluentLenium/FluentLenium) + * [WETATOR](https://www.wetator.org/) + * [Selenium Foundation](https://github.com/sbabcoc/Selenium-Foundation) + * [Spring Testing](https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#spring-mvc-test-server-htmlunit) + * [JWebUnit](https://jwebunit.github.io/jwebunit/) + * [JSFUnit](http://www.jboss.org/jsfunit/) + * ... HtmlUnit is used by many projects for automated web testing -> * [jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) -> * [Apache Shiro](https://shiro.apache.org/) -> * [Apache Struts](https://struts.apache.org/) -> * [Quarkus](https://quarkus.io/) -> * [Togglz](https://www.togglz.org/) -> * [Dataverse](https://dataverse.org/) -> * [Janssen Project](https://github.com/JanssenProject/jans) -> * [Apache TomEE](https://github.com/apache/tomee) -> * [Apache Maven Surefire](https://maven.apache.org/surefire/) -> * [JSCover](http://tntim96.github.io/JSCover/) -> * [Apache Jackrabbit](https://jackrabbit.apache.org/jcr/index.html) -> * [OpenXava](https://github.com/openxava/openxava) -> * [Cargo](https://github.com/codehaus-cargo/cargo) -> * ... + * [jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) + * [Apache Shiro](https://shiro.apache.org/) + * [Apache Struts](https://struts.apache.org/) + * [Quarkus](https://quarkus.io/) + * [Togglz](https://www.togglz.org/) + * [Dataverse](https://dataverse.org/) + * [Janssen Project](https://github.com/JanssenProject/jans) + * [Apache TomEE](https://github.com/apache/tomee) + * [Apache Maven Surefire](https://maven.apache.org/surefire/) + * [JSCover](http://tntim96.github.io/JSCover/) + * [Apache Jackrabbit](https://jackrabbit.apache.org/jcr/index.html) + * [OpenXava](https://github.com/openxava/openxava) + * [Cargo](https://github.com/codehaus-cargo/cargo) + * ... ## Getting Started You can start here: From 6f32e52c5b537ee6425a60d0121970ab543f8c58 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 7 Dec 2024 19:35:15 +0100 Subject: [PATCH 006/516] more tests (neko is still wip) --- .../htmlunit/html/parser/HTMLParser6Test.java | 82 +++++++++++++++++-- 1 file changed, 76 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java index 6b5e04f3e6c..88f63b77b49 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java @@ -17,7 +17,6 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; @@ -108,11 +107,7 @@ public void fragmentParserHtmlInsideSelect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "", - FF = "", - FF_ESR = "") - @HtmlUnitNYI(CHROME = "", - EDGE = "") + @Alerts("") public void fragmentParserHtmlInsideOption() throws Exception { final String fragment = ""; final String html = "\n" @@ -132,4 +127,79 @@ public void fragmentParserHtmlInsideOption() throws Exception { loadPageVerifyTitle2(html); } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "

xy
") + public void fragmentParserLtInAttributeName() throws Exception { + final String fragment = "
xy
"; + final String html = "\n" + + "\n" + + "
\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "
xy
") + public void fragmentParserLtFirstInAttributeName() throws Exception { + final String fragment = "
xy
"; + final String html = "\n" + + "\n" + + "
\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = "
xy
") + public void fragmentParserNumericAttributeName() throws Exception { + final String fragment = "
xy
"; + final String html = "\n" + + "\n" + + "
\n" + + ""; + + loadPageVerifyTitle2(html); + } } From 6d1ef16d8d25f0248930c81dcffc2e676f2eb6c1 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 7 Dec 2024 19:39:07 +0100 Subject: [PATCH 007/516] getStaticElementsByTagName() has to check for prefix --- .../java/org/htmlunit/html/DomElement.java | 5 ++++- .../java/org/htmlunit/html/HtmlPage3Test.java | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/html/DomElement.java b/src/main/java/org/htmlunit/html/DomElement.java index 16cedb8ebca..d8c051070be 100644 --- a/src/main/java/org/htmlunit/html/DomElement.java +++ b/src/main/java/org/htmlunit/html/DomElement.java @@ -663,7 +663,10 @@ public List getStaticElementsByTagName(final String t for (final Iterator iterator = this.new DescendantHtmlElementsIterator(); iterator.hasNext();) { final HtmlElement elem = iterator.next(); if (elem.getLocalName().equalsIgnoreCase(tagName)) { - res.add((E) elem); + final String prefix = elem.getPrefix(); + if (prefix == null || prefix.isEmpty()) { + res.add((E) elem); + } } } return res; diff --git a/src/test/java/org/htmlunit/html/HtmlPage3Test.java b/src/test/java/org/htmlunit/html/HtmlPage3Test.java index 81551e6e519..4db522059d7 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage3Test.java @@ -687,4 +687,24 @@ public void getElementById_AfterAppendingToNewlyCreatedElement() throws Exceptio + ""; loadPageVerifyTitle2(content); } + + /** + * When looking for the refresh meta tag don't get confused by stuff with a namespace. + * @throws Exception if the test fails + */ + @Test + @Alerts("works") + public void metaWithNamespace() throws Exception { + final String content = + "\n" + + "\n" + + " works\u00a7\n" + + "\n" + + "\n" + + " \n" + + "\n" + + ""; + + loadPageVerifyTitle2(content); + } } From 2afdb71e21860939574a61105c4a3a35431734f6 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 8 Dec 2024 13:31:02 +0100 Subject: [PATCH 008/516] code cleanup --- pom.xml | 8 ++++---- src/main/java/org/htmlunit/javascript/host/Window.java | 1 - .../java/org/htmlunit/html/parser/HTMLParser6Test.java | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index ba85ab6162c..9dade0c1969 100644 --- a/pom.xml +++ b/pom.xml @@ -195,14 +195,14 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.11.1 + 3.11.2 true protected html,missing,reference,syntax true true - netscape:netscape.*:org.htmlunit.platform.util + org.htmlunit.platform.util @@ -678,14 +678,14 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.11.1 + 3.11.2 true protected html,missing,reference,syntax true true - netscape:netscape.*:org.htmlunit.platform.util + org.htmlunit.platform.util diff --git a/src/main/java/org/htmlunit/javascript/host/Window.java b/src/main/java/org/htmlunit/javascript/host/Window.java index bf0e9352a2b..459536bcb97 100644 --- a/src/main/java/org/htmlunit/javascript/host/Window.java +++ b/src/main/java/org/htmlunit/javascript/host/Window.java @@ -1870,7 +1870,6 @@ public int getScrollY() { } /** - * Returns the value of {@code netscape} property. * @return the value of {@code netscape} property */ @JsxGetter({FF, FF_ESR}) diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java index 88f63b77b49..0a2492e3fc2 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java @@ -132,7 +132,7 @@ public void fragmentParserHtmlInsideOption() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "
xy
") + @Alerts("
xy
") public void fragmentParserLtInAttributeName() throws Exception { final String fragment = "
xy
"; final String html = "\n" @@ -157,7 +157,7 @@ public void fragmentParserLtInAttributeName() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "
xy
") + @Alerts("
xy
") public void fragmentParserLtFirstInAttributeName() throws Exception { final String fragment = "
xy
"; final String html = "\n" @@ -182,7 +182,7 @@ public void fragmentParserLtFirstInAttributeName() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "
xy
") + @Alerts("
xy
") public void fragmentParserNumericAttributeName() throws Exception { final String fragment = "
xy
"; final String html = "\n" From c8595ebb30aa33ed5f8dff076538dae06ac479b4 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 8 Dec 2024 13:40:24 +0100 Subject: [PATCH 009/516] cleanup --- .../java/org/htmlunit/BrowserVersion.java | 51 +++++++------------ .../AbstractJavaScriptConfiguration.java | 5 +- 2 files changed, 23 insertions(+), 33 deletions(-) diff --git a/src/main/java/org/htmlunit/BrowserVersion.java b/src/main/java/org/htmlunit/BrowserVersion.java index 2912be38195..f08eda539e6 100644 --- a/src/main/java/org/htmlunit/BrowserVersion.java +++ b/src/main/java/org/htmlunit/BrowserVersion.java @@ -26,7 +26,6 @@ import java.util.TimeZone; import org.apache.commons.io.FilenameUtils; -import org.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration; import org.htmlunit.javascript.configuration.BrowserFeature; import org.htmlunit.javascript.configuration.SupportedBrowser; import org.htmlunit.util.MimeType; @@ -64,26 +63,6 @@ @SuppressWarnings("PMD.AvoidDuplicateLiterals") public final class BrowserVersion implements Serializable { - /** - * Application name the Netscape navigator series of browsers. - */ - private static final String NETSCAPE = "Netscape"; - - /** - * United States English language identifier. - */ - private static final String LANGUAGE_ENGLISH_US = "en-US"; - - /** - * United States. - */ - private static final String TIMEZONE_NEW_YORK = "America/New_York"; - - /** - * The WIN32 platform. - */ - private static final String PLATFORM_WIN32 = "Win32"; - /** Latest Firefox. */ public static final BrowserVersion FIREFOX = new BrowserVersion(133, "FF"); @@ -117,6 +96,7 @@ public final class BrowserVersion implements Serializable { + FIREFOX_ESR.getBrowserVersionNumeric() + ".0) Gecko/20100101 Firefox/" + FIREFOX_ESR.getBrowserVersionNumeric() + ".0"; FIREFOX_ESR.buildId_ = "20181001000000"; + FIREFOX_ESR.vendor_ = ""; FIREFOX_ESR.productSub_ = "20100101"; FIREFOX_ESR.headerNamesOrdered_ = new String[] { HttpHeader.HOST, @@ -152,6 +132,7 @@ public final class BrowserVersion implements Serializable { + FIREFOX.getBrowserVersionNumeric() + ".0) Gecko/20100101 Firefox/" + FIREFOX.getBrowserVersionNumeric() + ".0"; FIREFOX.buildId_ = "20181001000000"; + FIREFOX.vendor_ = ""; FIREFOX.productSub_ = "20100101"; FIREFOX.headerNamesOrdered_ = new String[] { HttpHeader.HOST, @@ -188,7 +169,6 @@ public final class BrowserVersion implements Serializable { CHROME.userAgent_ = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/" + CHROME.getBrowserVersionNumeric() + ".0.0.0 Safari/537.36"; - CHROME.applicationCodeName_ = "Mozilla"; CHROME.vendor_ = "Google Inc."; CHROME.productSub_ = "20030107"; CHROME.headerNamesOrdered_ = new String[] { @@ -234,7 +214,6 @@ public final class BrowserVersion implements Serializable { + EDGE.getBrowserVersionNumeric() + ".0.0.0 Safari/537.36 Edg/" + EDGE.getBrowserVersionNumeric() + ".0.0.0"; - EDGE.applicationCodeName_ = "Mozilla"; EDGE.vendor_ = "Google Inc."; EDGE.productSub_ = "20030107"; EDGE.headerNamesOrdered_ = new String[] { @@ -387,17 +366,17 @@ public final class BrowserVersion implements Serializable { private final int browserVersionNumeric_; private final String nickname_; - private String applicationCodeName_ = "Mozilla"; - private String applicationMinorVersion_ = "0"; + private String applicationCodeName_; + private String applicationMinorVersion_; private String applicationName_; private String applicationVersion_; private String buildId_; private String productSub_; - private String vendor_ = ""; - private Locale browserLocale_ = Locale.forLanguageTag(LANGUAGE_ENGLISH_US); - private boolean onLine_ = true; - private String platform_ = PLATFORM_WIN32; - private TimeZone systemTimezone_ = TimeZone.getTimeZone(TIMEZONE_NEW_YORK); + private String vendor_; + private Locale browserLocale_; + private boolean onLine_; + private String platform_; + private TimeZone systemTimezone_; private String userAgent_; private final Set features_; private String acceptEncodingHeader_; @@ -423,7 +402,15 @@ public final class BrowserVersion implements Serializable { browserVersionNumeric_ = browserVersionNumeric; nickname_ = nickname; - applicationName_ = NETSCAPE; + applicationCodeName_ = "Mozilla"; + applicationMinorVersion_ = "0"; + applicationName_ = "Netscape"; + onLine_ = true; + platform_ = "Win32"; + + browserLocale_ = Locale.forLanguageTag("en-US"); + systemTimezone_ = TimeZone.getTimeZone("America/New_York"); + acceptEncodingHeader_ = "gzip, deflate, br"; htmlAcceptHeader_ = "*/*"; imgAcceptHeader_ = "*/*"; @@ -468,7 +455,7 @@ else if (isFirefox()) { final BrowserFeature browserFeature = field.getAnnotation(BrowserFeature.class); if (browserFeature != null) { for (final SupportedBrowser browser : browserFeature.value()) { - if (AbstractJavaScriptConfiguration.isCompatible(expectedBrowser, browser)) { + if (expectedBrowser == browser) { features_.add(features); } } diff --git a/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java index 527e608967f..e95cf7b63c7 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java @@ -357,7 +357,7 @@ else if (annotation instanceof JsxConstructorAlias) { private static boolean isSupported(final SupportedBrowser[] browsers, final SupportedBrowser expectedBrowser) { for (final SupportedBrowser browser : browsers) { - if (isCompatible(browser, expectedBrowser)) { + if (browser == expectedBrowser) { return true; } } @@ -369,7 +369,10 @@ private static boolean isSupported(final SupportedBrowser[] browsers, final Supp * @param browser1 the first {@link SupportedBrowser} * @param browser2 the second {@link SupportedBrowser} * @return whether the two {@link SupportedBrowser} are compatible or not + * + * @deprecated as of version 4.8.0; will be removed without replacement */ + @Deprecated public static boolean isCompatible(final SupportedBrowser browser1, final SupportedBrowser browser2) { return browser1 == browser2; } From c1b56765a7295a9d8d4a3f477848925b8b9cbbbd Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 16 Dec 2024 15:36:03 +0100 Subject: [PATCH 010/516] mention setHistoryPageCacheLimit(0) / setHistorySizeLimit(0) in the faq --- src/site/fml/faq.fml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 5b071c555d0..c0e1d5b3ef4 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -302,7 +302,6 @@ INFO: Redirect requested but followRedirects is disabled or implement your own CSSErrorHandler.

- Make sure (a) that you are using the latest version of HtmlUnit, and - (b) that you are calling WebClient.close() - (or use try-with-resources) - when you are finished with your WebClient instance. + Make sure +

    +
  1. that you are using the latest version of HtmlUnit, and +
  2. that you are calling WebClient.close() (or use try-with-resources) when you are finished with your WebClient instance. +
      +

      +

      + Like real browsers HtmlUnit maintains a history for every window to be able to support the back() action. If you don't need this + you can disable the history by

      + From 984fda1eb50b4b925bb0e821beda257bcbe542d9 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 16 Dec 2024 15:36:33 +0100 Subject: [PATCH 011/516] simplify developer blog link --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e04cce2dbe2..031d258e762 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Version 4.7.0 / November 29, 2024 ### News -**[Developer Blog][15]** +**[Developer Blog](https://htmlunit.github.io/htmlunit-blog/)** [HtmlUnit@mastodon][13] | [HtmlUnit@Twitter][3] @@ -240,5 +240,4 @@ Please try to keep your pull requests small (don't bundle unrelated changes) and [11]: http://www.mastertheboss.com/java-ee/jsf/how-to-test-jakarta-faces-with-htmlunit-and-arquillian [12]: https://github.com/HtmlUnit/htmlunit/releases [13]: https://fosstodon.org/@HtmlUnit -[14]: https://webscraping.ai/faq/htmlunit -[15]: https://htmlunit.github.io/htmlunit-blog/ +[14]: https://webscraping.ai/faq/htmlunit \ No newline at end of file From d8c571d264faa1c76cf191e5bc97e89c791d996f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 16 Dec 2024 15:44:30 +0100 Subject: [PATCH 012/516] commons-text 1.13.0 --- pom.xml | 6 +++--- src/changes/changes.xml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9dade0c1969..789ba80dc3b 100644 --- a/pom.xml +++ b/pom.xml @@ -39,11 +39,11 @@ selenium-devtools-v131 9.4.56.v20240826 - 2.24.2 + 2.24.3 2.0.16 - 10.20.2 + 10.21.2 4.8.6 7.8.0 4.13.2 @@ -1260,7 +1260,7 @@ org.apache.commons commons-text - 1.12.0 + 1.13.0 org.apache.commons diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b3b8f9ac7ce..6030463a380 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Upgrade Apache commons-text to 1.13.0. + core-js: Some improvments for the interpreter by generating smaller interpreter bytecode. From 274dfdcdde46728bb8c3a97015e16f27371f6a24 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 16 Dec 2024 19:39:15 +0100 Subject: [PATCH 013/516] latest core-js --- src/changes/changes.xml | 12 ++++++++++++ .../htmlunit/javascript/HtmlUnitContextFactory.java | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6030463a380..36133113504 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,18 @@ + + core-js: Allow symbol keys in getter/setter in object literal syntax like 'var o = { get [aSymbol]: value }'. + + + core-js: Support for generator methods in object literals like 'o = {*g() {...}}' added. + + + core-js: Implement the super operator - which can actually be used outside of classes and will do something that intuitively is "refer to the prototype". + + + core-js: Fix tokenEnd and cursor for string, template, xml literals and multiline comments when using multibyte characters. + Upgrade Apache commons-text to 1.13.0. diff --git a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java index e13a903f9a0..1b559c7cc59 100644 --- a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java +++ b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java @@ -18,12 +18,14 @@ import static org.htmlunit.BrowserVersionFeatures.JS_PROPERTY_DESCRIPTOR_NAME; import java.io.Serializable; +import java.util.function.Consumer; import org.htmlunit.BrowserVersion; import org.htmlunit.ScriptException; import org.htmlunit.ScriptPreProcessor; import org.htmlunit.WebClient; import org.htmlunit.corejs.javascript.Callable; +import org.htmlunit.corejs.javascript.CompilerEnvirons; import org.htmlunit.corejs.javascript.Context; import org.htmlunit.corejs.javascript.ContextAction; import org.htmlunit.corejs.javascript.ContextFactory; @@ -156,7 +158,8 @@ public void terminateScriptIfNecessary() { @Override protected Script compileString(String source, final Evaluator compiler, final ErrorReporter compilationErrorReporter, final String sourceName, - final int lineno, final Object securityDomain) { + final int lineno, final Object securityDomain, + final Consumer compilerEnvironsProcessor) { // this method gets called by Context.compileString and by ScriptRuntime.evalSpecial // which is used for window.eval. We have to take care in which case we are. @@ -192,7 +195,7 @@ protected Script compileString(String source, final Evaluator compiler, source = preProcess(page, source, sourceName, lineno, null); return super.compileString(source, compiler, compilationErrorReporter, - sourceName, lineno, securityDomain); + sourceName, lineno, securityDomain, compilerEnvironsProcessor); } @Override From c6b6a0bad092b4e5eee2a09bb8af135eb2b333f2 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 17 Dec 2024 16:56:23 +0100 Subject: [PATCH 014/516] document faq update --- src/changes/changes.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 36133113504..6d0f9513d06 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -20,6 +20,9 @@ core-js: Fix tokenEnd and cursor for string, template, xml literals and multiline comments when using multibyte characters. + + FAQ updated with some info about page history. + Upgrade Apache commons-text to 1.13.0. From f66f1f20ff1c630b5d04b8e0438c5e04baad7417 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 17 Dec 2024 16:56:36 +0100 Subject: [PATCH 015/516] adjust for latest core-js --- .../java/org/htmlunit/javascript/HtmlUnitContextFactory.java | 2 +- src/main/java/org/htmlunit/javascript/JavaScriptEngine.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java index 1b559c7cc59..60231edd8c8 100644 --- a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java +++ b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java @@ -255,7 +255,7 @@ protected Context makeContext() { cx.setClassShutter(fullClassName -> false); // Use pure interpreter mode to get observeInstructionCount() callbacks. - cx.setOptimizationLevel(-1); + cx.setInterpretedMode(true); // Set threshold on how often we want to receive the callbacks cx.setInstructionObserverThreshold(INSTRUCTION_COUNT_THRESHOLD); diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 87cb90feb54..2e017ce409d 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1350,7 +1350,7 @@ public static Scriptable getTopCallScope() { public static String uncompressJavaScript(final String scriptSource, final String scriptName) { final ContextFactory factory = new ContextFactory(); final ContextAction action = cx -> { - cx.setOptimizationLevel(-1); + cx.setInterpretedMode(true); final Script script = cx.compileString(scriptSource, scriptName, 0, null); return cx.decompileScript(script, 4); }; From a0ffab17a9f08a2c351195c13b42f2494e71a5d2 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 17 Dec 2024 18:41:19 +0100 Subject: [PATCH 016/516] streamline tests and deal with selenium deprecated methods --- pom.xml | 6 + .../htmlunit/html/DomNodeIteratorTest.java | 7 +- .../dom/traversal/DomTreeWalkerTest.java | 8 +- .../org/htmlunit/selenium/TypingTest.java | 121 ++++++++++-------- 4 files changed, 84 insertions(+), 58 deletions(-) diff --git a/pom.xml b/pom.xml index 789ba80dc3b..a25f1d01caa 100644 --- a/pom.xml +++ b/pom.xml @@ -1300,6 +1300,12 @@ junit ${junit.version} test + + + org.hamcrest + hamcrest-core + + com.tngtech.archunit diff --git a/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java b/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java index 5d83548585c..fc5dc957322 100644 --- a/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java +++ b/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java @@ -14,15 +14,13 @@ */ package org.htmlunit.html; -import static org.hamcrest.CoreMatchers.instanceOf; -import static org.hamcrest.MatcherAssert.assertThat; - import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; +import org.w3c.dom.Node; import org.w3c.dom.traversal.NodeFilter; import org.w3c.dom.traversal.NodeIterator; @@ -56,7 +54,8 @@ public void nextNode() throws Exception { final HtmlPage page = (HtmlPage) getEnclosedPage(); final NodeIterator iterator = page.createNodeIterator(page.getDocumentElement(), NodeFilter.SHOW_ALL, null, true); - assertThat(iterator.nextNode(), instanceOf(HtmlHtml.class)); + final Node node = iterator.nextNode(); + assertTrue(node.getClass().getName(), node instanceof HtmlHtml); } } } diff --git a/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java b/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java index 73448a05217..b335e641430 100644 --- a/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java +++ b/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java @@ -14,9 +14,6 @@ */ package org.htmlunit.platform.dom.traversal; -import static org.hamcrest.CoreMatchers.instanceOf; -import static org.hamcrest.MatcherAssert.assertThat; - import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlHead; import org.htmlunit.html.HtmlPage; @@ -25,6 +22,7 @@ import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; +import org.w3c.dom.Node; import org.w3c.dom.traversal.NodeFilter; import org.w3c.dom.traversal.TreeWalker; @@ -32,6 +30,7 @@ * Tests for {@link DomTreeWalker}. * * @author Ahmed Ashour + * @author Ronald Brill */ @RunWith(BrowserRunner.class) public final class DomTreeWalkerTest extends WebDriverTestCase { @@ -56,7 +55,8 @@ public void firstChild() throws Exception { if (driver instanceof HtmlUnitDriver) { final HtmlPage page = (HtmlPage) getEnclosedPage(); final TreeWalker walker = new DomTreeWalker(page.getDocumentElement(), NodeFilter.SHOW_ALL, null, true); - assertThat(walker.firstChild(), instanceOf(HtmlHead.class)); + final Node node = walker.firstChild(); + assertTrue(node.getClass().getName(), node instanceof HtmlHead); } } } diff --git a/src/test/java/org/htmlunit/selenium/TypingTest.java b/src/test/java/org/htmlunit/selenium/TypingTest.java index 6eed0f2a1b2..80be0b3bc81 100644 --- a/src/test/java/org/htmlunit/selenium/TypingTest.java +++ b/src/test/java/org/htmlunit/selenium/TypingTest.java @@ -14,13 +14,9 @@ */ package org.htmlunit.selenium; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.core.AnyOf.anyOf; -import static org.hamcrest.core.Is.is; -import static org.hamcrest.core.StringContains.containsString; - import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; @@ -49,13 +45,19 @@ public void shouldBeAbleToUseArrowKeys() throws Exception { final WebElement keyReporter = driver.findElement(By.id("keyReporter")); keyReporter.sendKeys("tet", Keys.ARROW_LEFT, "s"); - assertThat(keyReporter.getAttribute("value"), is("test")); + assertEquals("test", keyReporter.getAttribute("value")); + assertEquals("test", keyReporter.getDomProperty("value")); } /** * A test. */ @Test + @Alerts({"down: 40 up: 40", "down: 38 up: 38", "down: 37 up: 37", "down: 39 up: 39"}) + @HtmlUnitNYI(FF = {"down: 40 press: 40 up: 40", "down: 38 press: 38 up: 38", + "down: 37 press: 37 up: 37", "down: 39 press: 39 up: 39"}, + FF_ESR = {"down: 40 press: 40 up: 40", "down: 38 press: 38 up: 38", + "down: 37 press: 37 up: 37", "down: 39 press: 39 up: 39"}) public void shouldReportKeyCodeOfArrowKeys() { final WebDriver driver = getWebDriver("/javascriptPage.html"); @@ -63,25 +65,20 @@ public void shouldReportKeyCodeOfArrowKeys() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys(Keys.ARROW_DOWN); - checkRecordedKeySequence(result, 40); + assertEquals(getExpectedAlerts()[0], result.getText().trim()); element.sendKeys(Keys.ARROW_UP); - checkRecordedKeySequence(result, 38); + assertEquals(getExpectedAlerts()[1], result.getText().trim()); element.sendKeys(Keys.ARROW_LEFT); - checkRecordedKeySequence(result, 37); + assertEquals(getExpectedAlerts()[2], result.getText().trim()); element.sendKeys(Keys.ARROW_RIGHT); - checkRecordedKeySequence(result, 39); + assertEquals(getExpectedAlerts()[3], result.getText().trim()); // And leave no rubbish/printable keys in the "keyReporter" - assertThat(element.getAttribute("value"), is("")); - } - - private static void checkRecordedKeySequence(final WebElement element, final int expectedKeyCode) { - assertThat(element.getText().trim(), - anyOf(is(String.format("down: %1$d press: %1$d up: %1$d", expectedKeyCode)), - is(String.format("down: %1$d up: %1$d", expectedKeyCode)))); + assertEquals("", element.getAttribute("value")); + assertEquals("", element.getDomProperty("value")); } /** @@ -95,23 +92,24 @@ public void shouldReportKeyCodeOfArrowKeysUpDownEvents() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys(Keys.ARROW_DOWN); - assertThat(result.getText().trim(), containsString("down: 40")); - assertThat(result.getText().trim(), containsString("up: 40")); + assertTrue(result.getText().trim().contains("down: 40")); + assertTrue(result.getText().trim().contains("up: 40")); element.sendKeys(Keys.ARROW_UP); - assertThat(result.getText().trim(), containsString("down: 38")); - assertThat(result.getText().trim(), containsString("up: 38")); + assertTrue(result.getText().trim().contains("down: 38")); + assertTrue(result.getText().trim().contains("up: 38")); element.sendKeys(Keys.ARROW_LEFT); - assertThat(result.getText().trim(), containsString("down: 37")); - assertThat(result.getText().trim(), containsString("up: 37")); + assertTrue(result.getText().trim().contains("down: 37")); + assertTrue(result.getText().trim().contains("up: 37")); element.sendKeys(Keys.ARROW_RIGHT); - assertThat(result.getText().trim(), containsString("down: 39")); - assertThat(result.getText().trim(), containsString("up: 39")); + assertTrue(result.getText().trim().contains("down: 39")); + assertTrue(result.getText().trim().contains("up: 39")); // And leave no rubbish/printable keys in the "keyReporter" - assertThat(element.getAttribute("value"), is("")); + assertEquals("", element.getAttribute("value")); + assertEquals("", element.getDomProperty("value")); } /** @@ -127,8 +125,10 @@ public void numericShiftKeys() { final String numericShiftsEtc = "~!@#$%^&*()_+{}:\"<>?|END~"; element.sendKeys(numericShiftsEtc); - assertThat(element.getAttribute("value"), is(numericShiftsEtc)); - assertThat(result.getText().trim(), containsString(" up: 16")); + assertEquals(numericShiftsEtc, element.getAttribute("value")); + assertEquals(numericShiftsEtc, element.getDomProperty("value")); + + assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); } /** @@ -144,8 +144,10 @@ public void uppercaseAlphaKeys() { final String upperAlphas = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; element.sendKeys(upperAlphas); - assertThat(element.getAttribute("value"), is(upperAlphas)); - assertThat(result.getText().trim(), containsString(" up: 16")); + assertEquals(upperAlphas, element.getAttribute("value")); + assertEquals(upperAlphas, element.getDomProperty("value")); + + assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); } /** @@ -163,8 +165,10 @@ public void allPrintableKeys() { + "PQRSTUVWXYZ [\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"; element.sendKeys(allPrintable); - assertThat(element.getAttribute("value"), is(allPrintable)); - assertThat(result.getText().trim(), containsString(" up: 16")); + assertEquals(allPrintable, element.getAttribute("value")); + assertEquals(allPrintable, element.getDomProperty("value")); + + assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); } /** @@ -178,7 +182,9 @@ public void testArrowKeysAndPageUpAndDown() { element.sendKeys("a" + Keys.LEFT + "b" + Keys.RIGHT + Keys.UP + Keys.DOWN + Keys.PAGE_UP + Keys.PAGE_DOWN + "1"); - assertThat(element.getAttribute("value"), is("ba1")); + + assertEquals("ba1", element.getAttribute("value")); + assertEquals("ba1", element.getDomProperty("value")); } /** @@ -193,7 +199,9 @@ public void homeAndEndAndPageUpAndPageDownKeys() { element.sendKeys("abc" + Keys.HOME + "0" + Keys.LEFT + Keys.RIGHT + Keys.PAGE_UP + Keys.PAGE_DOWN + Keys.END + "1" + Keys.HOME + "0" + Keys.PAGE_UP + Keys.END + "111" + Keys.HOME + "00"); - assertThat(element.getAttribute("value"), is("0000abc1111")); + + assertEquals("0000abc1111", element.getAttribute("value")); + assertEquals("0000abc1111", element.getDomProperty("value")); } /** @@ -206,13 +214,16 @@ public void deleteAndBackspaceKeys() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys("abcdefghi"); - assertThat(element.getAttribute("value"), is("abcdefghi")); + assertEquals("abcdefghi", element.getAttribute("value")); + assertEquals("abcdefghi", element.getDomProperty("value")); element.sendKeys(Keys.LEFT, Keys.LEFT, Keys.DELETE); - assertThat(element.getAttribute("value"), is("abcdefgi")); + assertEquals("abcdefgi", element.getAttribute("value")); + assertEquals("abcdefgi", element.getDomProperty("value")); element.sendKeys(Keys.LEFT, Keys.LEFT, Keys.BACK_SPACE); - assertThat(element.getAttribute("value"), is("abcdfgi")); + assertEquals("abcdfgi", element.getAttribute("value")); + assertEquals("abcdfgi", element.getDomProperty("value")); } /** @@ -225,7 +236,8 @@ public void specialSpaceKeys() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys("abcd" + Keys.SPACE + "fgh" + Keys.SPACE + "ij"); - assertThat(element.getAttribute("value"), is("abcd fgh ij")); + assertEquals("abcd fgh ij", element.getAttribute("value")); + assertEquals("abcd fgh ij", element.getDomProperty("value")); } /** @@ -241,7 +253,8 @@ public void numberpadKeys() { + Keys.DECIMAL + Keys.SEPARATOR + Keys.NUMPAD0 + Keys.NUMPAD9 + Keys.ADD + Keys.SEMICOLON + Keys.EQUALS + Keys.DIVIDE + Keys.NUMPAD3 + "abcd"); - assertThat(element.getAttribute("value"), is("abcd*-+.,09+;=/3abcd")); + assertEquals("abcd*-+.,09+;=/3abcd", element.getAttribute("value")); + assertEquals("abcd*-+.,09+;=/3abcd", element.getDomProperty("value")); } /** @@ -254,11 +267,13 @@ public void shiftSelectionDeletes() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys("abcd efgh"); - assertThat(element.getAttribute("value"), is("abcd efgh")); + assertEquals("abcd efgh", element.getAttribute("value")); + assertEquals("abcd efgh", element.getDomProperty("value")); element.sendKeys(Keys.SHIFT, Keys.LEFT, Keys.LEFT, Keys.LEFT); element.sendKeys(Keys.DELETE); - assertThat(element.getAttribute("value"), is("abcd e")); + assertEquals("abcd e", element.getAttribute("value")); + assertEquals("abcd e", element.getDomProperty("value")); } /** @@ -275,10 +290,11 @@ public void chordControlHomeShiftEndDelete() { element.sendKeys(Keys.HOME); element.sendKeys("" + Keys.SHIFT + Keys.END); - assertThat(result.getText(), containsString(" up: 16")); + assertTrue(result.getText(), result.getText().contains(" up: 16")); element.sendKeys(Keys.DELETE); - assertThat(element.getAttribute("value"), is("")); + assertEquals("", element.getAttribute("value")); + assertEquals("", element.getDomProperty("value")); } /** @@ -292,21 +308,26 @@ public void chordReveseShiftHomeSelectionDeletes() { final WebElement element = driver.findElement(By.id("keyReporter")); element.sendKeys("done" + Keys.HOME); - assertThat(element.getAttribute("value"), is("done")); + assertEquals("done", element.getAttribute("value")); + assertEquals("done", element.getDomProperty("value")); element.sendKeys("" + Keys.SHIFT + "ALL " + Keys.HOME); - assertThat(element.getAttribute("value"), is("ALL done")); + assertEquals("ALL done", element.getAttribute("value")); + assertEquals("ALL done", element.getDomProperty("value")); element.sendKeys(Keys.DELETE); - assertThat(element.getAttribute("value"), is("done")); + assertEquals("done", element.getAttribute("value")); + assertEquals("done", element.getDomProperty("value")); element.sendKeys("" + Keys.END + Keys.SHIFT + Keys.HOME); - assertThat(element.getAttribute("value"), is("done")); + assertEquals("done", element.getAttribute("value")); + assertEquals("done", element.getDomProperty("value")); // Note: trailing SHIFT up here - assertThat(result.getText().trim(), containsString(" up: 16")); + assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); element.sendKeys("" + Keys.DELETE); - assertThat(element.getAttribute("value"), is("")); + assertEquals("", element.getAttribute("value")); + assertEquals("", element.getDomProperty("value")); } /** @@ -320,7 +341,7 @@ public void generateKeyPressEventEvenWhenElementPreventsDefault() { final WebElement result = driver.findElement(By.id("result")); silent.sendKeys("s"); - assertThat(result.getText().trim(), is("")); + assertEquals("", result.getText().trim()); } /** From 3e3ac197dfaac14200b8074bb111f99514cc52c0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 17 Dec 2024 19:14:58 +0100 Subject: [PATCH 017/516] ok let's do it the oter way --- pom.xml | 6 ------ .../java/org/htmlunit/archunit/Architecture2Test.java | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index a25f1d01caa..789ba80dc3b 100644 --- a/pom.xml +++ b/pom.xml @@ -1300,12 +1300,6 @@ junit ${junit.version} test - - - org.hamcrest - hamcrest-core - - com.tngtech.archunit diff --git a/src/test/java/org/htmlunit/archunit/Architecture2Test.java b/src/test/java/org/htmlunit/archunit/Architecture2Test.java index cba70975297..02f04957838 100644 --- a/src/test/java/org/htmlunit/archunit/Architecture2Test.java +++ b/src/test/java/org/htmlunit/archunit/Architecture2Test.java @@ -168,4 +168,12 @@ else if (oneTests.size() == 0) { .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.intl.DateTimeFormat") .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.intl.NumberFormat") .should().callMethod(BrowserVersion.class, "isFirefoxESR", new Class[] {}); + + + /** + * Do not use hamcrest. + */ + @ArchTest + public static final ArchRule hamcrest = noClasses() + .should().dependOnClassesThat().resideInAPackage("org.hamcrest.."); } From 5aae503766d951d13161f1ad42e6fd97577b0f75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 12:22:33 +0000 Subject: [PATCH 018/516] Bump actions/upload-artifact from 4.4.3 to 4.5.0 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.5.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882...6f51ac03b9356f520e9adb1b1b7802705f340c2b) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/scorecard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 562589dacba..e0ff472c904 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -59,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: SARIF file path: results.sarif From e3591ca52d8ce5d598b2665978cbafdd972f8bb4 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 23 Dec 2024 14:52:00 +0100 Subject: [PATCH 019/516] cssparser 4.8.0-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 789ba80dc3b..fdaf2a41a55 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ 8 8 - 4.7.0 + 4.8.0-SNAPSHOT 4.7.0 4.7.0 4.7.0 From 6b49bc8a84f5679ec41b8bd52f97df4071fb5775 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 24 Dec 2024 14:19:55 +0100 Subject: [PATCH 020/516] javadoc fixes --- src/main/java/org/htmlunit/BrowserVersion.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/htmlunit/BrowserVersion.java b/src/main/java/org/htmlunit/BrowserVersion.java index f08eda539e6..8c88ed6e16d 100644 --- a/src/main/java/org/htmlunit/BrowserVersion.java +++ b/src/main/java/org/htmlunit/BrowserVersion.java @@ -585,7 +585,7 @@ public String getVendor() { /** * Returns the browser locale. - * Default value is {@link #LANGUAGE_ENGLISH_US} if not explicitly configured. + * Default value is ENGLISH_US if not explicitly configured. * @return the system locale */ public Locale getBrowserLocale() { @@ -594,7 +594,7 @@ public Locale getBrowserLocale() { /** * Returns the browser application language, for example "en-us". - * Default value is {@link #LANGUAGE_ENGLISH_US} if not explicitly configured. + * Default value is ENGLISH_US if not explicitly configured. * @return the browser application language * @see MSDN documentation */ @@ -614,7 +614,7 @@ public boolean isOnLine() { /** * Returns the platform on which the application is running, for example "Win32". - * Default value is {@link #PLATFORM_WIN32} if not explicitly configured. + * Default value is 'Win32' if not explicitly configured. * @return the platform on which the application is running * @see MSDN documentation */ From a60cc556ee1792e835fb46f1e16fd0de12eb672e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 24 Dec 2024 14:27:58 +0100 Subject: [PATCH 021/516] document changes --- src/changes/changes.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6d0f9513d06..d42836602b2 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,8 @@ + + core-js: fix border checks for typedarray set-method (see https://github.com/HtmlUnit/htmlunit-core-js/issues/27) core-js: Allow symbol keys in getter/setter in object literal syntax like 'var o = { get [aSymbol]: value }'. @@ -23,6 +25,9 @@ FAQ updated with some info about page history. + + DomElement#getStaticElementsByTagName() has to check for prefix. + Upgrade Apache commons-text to 1.13.0. From 5a3a468b106dd99aea669722c691f0625dd5f8ef Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 25 Dec 2024 13:39:28 +0100 Subject: [PATCH 022/516] avoid ConcurrentModificationExceptions in frame processing --- src/changes/changes.xml | 13 +++++++++++++ src/main/java/org/htmlunit/html/HtmlPage.java | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d42836602b2..590a552921f 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,8 +8,21 @@ + + Avoid ConcurrentModificationExceptions in frame processing. + + + core-js: handle stack frames in the correct order. + + + cssparser: support hwb(), lab(), lch(), oklab(), and oklch() color definitions. + + + cssparser: add support for 'none' in modern color definitions. + core-js: fix border checks for typedarray set-method (see https://github.com/HtmlUnit/htmlunit-core-js/issues/27) + core-js: Allow symbol keys in getter/setter in object literal syntax like 'var o = { get [aSymbol]: value }'. diff --git a/src/main/java/org/htmlunit/html/HtmlPage.java b/src/main/java/org/htmlunit/html/HtmlPage.java index 0fad9a9cf1e..8ed648a6304 100644 --- a/src/main/java/org/htmlunit/html/HtmlPage.java +++ b/src/main/java/org/htmlunit/html/HtmlPage.java @@ -295,7 +295,7 @@ public void initialize() throws IOException, FailingHttpStatusCodeException { executeEventHandlersIfNeeded(Event.TYPE_LOAD); } - for (final BaseFrameElement frameElement : frameElements_) { + for (final BaseFrameElement frameElement : new ArrayList<>(frameElements_)) { if (frameElement instanceof HtmlFrame) { final Page page = frameElement.getEnclosedWindow().getEnclosedPage(); if (page != null && page.isHtmlPage()) { @@ -1896,7 +1896,7 @@ private void calculateBase() { * {@link WebClientOptions#setThrowExceptionOnFailingStatusCode(boolean)} is set to {@code true} */ void loadFrames() throws FailingHttpStatusCodeException { - for (final BaseFrameElement frameElement : frameElements_) { + for (final BaseFrameElement frameElement : new ArrayList<>(frameElements_)) { // test if the frame should really be loaded: // if a script has already changed its content, it should be skipped // use == and not equals(...) to identify initial content (versus URL set to "about:blank") From 45c8cfbad94a3a29a5e30ecf08ffcbd7044092bc Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 1 Jan 2025 17:20:31 +0100 Subject: [PATCH 023/516] Happy New Year! --- src/changes/changes.xml | 5 ++++- src/main/java/org/htmlunit/AbstractPage.java | 2 +- src/main/java/org/htmlunit/AjaxController.java | 2 +- src/main/java/org/htmlunit/AlertHandler.java | 2 +- src/main/java/org/htmlunit/BrowserVersion.java | 2 +- src/main/java/org/htmlunit/BrowserVersionFeatures.java | 2 +- src/main/java/org/htmlunit/Cache.java | 2 +- src/main/java/org/htmlunit/ClipboardHandler.java | 2 +- src/main/java/org/htmlunit/CollectingAlertHandler.java | 2 +- src/main/java/org/htmlunit/ConfirmHandler.java | 2 +- src/main/java/org/htmlunit/CookieManager.java | 2 +- src/main/java/org/htmlunit/DefaultCredentialsProvider.java | 2 +- src/main/java/org/htmlunit/DefaultCssErrorHandler.java | 2 +- src/main/java/org/htmlunit/DefaultPageCreator.java | 2 +- src/main/java/org/htmlunit/DialogWindow.java | 2 +- src/main/java/org/htmlunit/DownloadedContent.java | 2 +- src/main/java/org/htmlunit/ElementNotFoundException.java | 2 +- .../java/org/htmlunit/FailingHttpStatusCodeException.java | 2 +- src/main/java/org/htmlunit/FormEncodingType.java | 2 +- src/main/java/org/htmlunit/FrameContentHandler.java | 2 +- src/main/java/org/htmlunit/History.java | 2 +- src/main/java/org/htmlunit/HttpHeader.java | 2 +- src/main/java/org/htmlunit/HttpMethod.java | 2 +- src/main/java/org/htmlunit/HttpWebConnection.java | 2 +- src/main/java/org/htmlunit/ImmediateRefreshHandler.java | 2 +- src/main/java/org/htmlunit/IncorrectnessListener.java | 2 +- src/main/java/org/htmlunit/IncorrectnessListenerImpl.java | 2 +- src/main/java/org/htmlunit/MockWebConnection.java | 2 +- src/main/java/org/htmlunit/NiceRefreshHandler.java | 2 +- .../org/htmlunit/NicelyResynchronizingAjaxController.java | 2 +- src/main/java/org/htmlunit/NotYetImplementedException.java | 2 +- src/main/java/org/htmlunit/ObjectInstantiationException.java | 2 +- src/main/java/org/htmlunit/OnbeforeunloadHandler.java | 2 +- src/main/java/org/htmlunit/Page.java | 2 +- src/main/java/org/htmlunit/PageCreator.java | 2 +- src/main/java/org/htmlunit/PrintHandler.java | 2 +- src/main/java/org/htmlunit/PromptHandler.java | 2 +- src/main/java/org/htmlunit/ProxyConfig.java | 2 +- src/main/java/org/htmlunit/RefreshHandler.java | 2 +- src/main/java/org/htmlunit/Screen.java | 2 +- src/main/java/org/htmlunit/ScriptException.java | 2 +- src/main/java/org/htmlunit/ScriptPreProcessor.java | 2 +- src/main/java/org/htmlunit/ScriptResult.java | 2 +- src/main/java/org/htmlunit/SgmlPage.java | 2 +- src/main/java/org/htmlunit/SilentCssErrorHandler.java | 2 +- src/main/java/org/htmlunit/SilentIncorrectnessListener.java | 2 +- src/main/java/org/htmlunit/StatusHandler.java | 2 +- src/main/java/org/htmlunit/StorageHolder.java | 2 +- src/main/java/org/htmlunit/StringWebResponse.java | 2 +- src/main/java/org/htmlunit/TextPage.java | 2 +- src/main/java/org/htmlunit/ThreadedRefreshHandler.java | 2 +- src/main/java/org/htmlunit/TopLevelWindow.java | 2 +- src/main/java/org/htmlunit/UnexpectedPage.java | 2 +- src/main/java/org/htmlunit/Version.java | 2 +- src/main/java/org/htmlunit/WaitingRefreshHandler.java | 2 +- src/main/java/org/htmlunit/WebAssert.java | 2 +- src/main/java/org/htmlunit/WebClient.java | 2 +- src/main/java/org/htmlunit/WebClientOptions.java | 2 +- src/main/java/org/htmlunit/WebConnection.java | 2 +- src/main/java/org/htmlunit/WebConsole.java | 2 +- src/main/java/org/htmlunit/WebRequest.java | 2 +- src/main/java/org/htmlunit/WebResponse.java | 2 +- src/main/java/org/htmlunit/WebResponseData.java | 2 +- src/main/java/org/htmlunit/WebResponseFromCache.java | 2 +- src/main/java/org/htmlunit/WebWindow.java | 2 +- src/main/java/org/htmlunit/WebWindowAdapter.java | 2 +- src/main/java/org/htmlunit/WebWindowEvent.java | 2 +- src/main/java/org/htmlunit/WebWindowImpl.java | 2 +- src/main/java/org/htmlunit/WebWindowListener.java | 2 +- src/main/java/org/htmlunit/WebWindowNotFoundException.java | 2 +- src/main/java/org/htmlunit/attachment/Attachment.java | 2 +- src/main/java/org/htmlunit/attachment/AttachmentHandler.java | 2 +- .../org/htmlunit/attachment/CollectingAttachmentHandler.java | 2 +- .../htmlunit/attachment/DownloadingAttachmentHandler.java | 2 +- src/main/java/org/htmlunit/attachment/package-info.java | 2 +- .../java/org/htmlunit/css/AbstractCssStyleDeclaration.java | 2 +- src/main/java/org/htmlunit/css/BrowserConfiguration.java | 2 +- .../java/org/htmlunit/css/ComputedCssStyleDeclaration.java | 2 +- src/main/java/org/htmlunit/css/CssColors.java | 2 +- src/main/java/org/htmlunit/css/CssMediaList.java | 2 +- src/main/java/org/htmlunit/css/CssPixelValueConverter.java | 2 +- src/main/java/org/htmlunit/css/CssStyleSheet.java | 2 +- .../java/org/htmlunit/css/ElementCssStyleDeclaration.java | 2 +- src/main/java/org/htmlunit/css/StyleAttributes.java | 2 +- src/main/java/org/htmlunit/css/StyleElement.java | 2 +- .../java/org/htmlunit/css/WrappedCssStyleDeclaration.java | 2 +- src/main/java/org/htmlunit/css/package-info.java | 2 +- src/main/java/org/htmlunit/html/AbstractDomNodeList.java | 2 +- src/main/java/org/htmlunit/html/BaseFrameElement.java | 2 +- .../java/org/htmlunit/html/CharacterDataChangeEvent.java | 2 +- .../java/org/htmlunit/html/CharacterDataChangeListener.java | 2 +- src/main/java/org/htmlunit/html/DefaultElementFactory.java | 2 +- src/main/java/org/htmlunit/html/DisabledElement.java | 2 +- src/main/java/org/htmlunit/html/DoTypeProcessor.java | 2 +- src/main/java/org/htmlunit/html/DomAttr.java | 2 +- src/main/java/org/htmlunit/html/DomCDataSection.java | 2 +- src/main/java/org/htmlunit/html/DomChangeEvent.java | 2 +- src/main/java/org/htmlunit/html/DomChangeListener.java | 2 +- src/main/java/org/htmlunit/html/DomCharacterData.java | 2 +- src/main/java/org/htmlunit/html/DomComment.java | 2 +- src/main/java/org/htmlunit/html/DomDocumentFragment.java | 2 +- src/main/java/org/htmlunit/html/DomDocumentType.java | 2 +- src/main/java/org/htmlunit/html/DomElement.java | 2 +- src/main/java/org/htmlunit/html/DomNamespaceNode.java | 2 +- src/main/java/org/htmlunit/html/DomNode.java | 2 +- src/main/java/org/htmlunit/html/DomNodeIterator.java | 2 +- src/main/java/org/htmlunit/html/DomNodeList.java | 2 +- .../java/org/htmlunit/html/DomProcessingInstruction.java | 2 +- src/main/java/org/htmlunit/html/DomText.java | 2 +- src/main/java/org/htmlunit/html/ElementFactory.java | 2 +- src/main/java/org/htmlunit/html/ElementFromPointHandler.java | 2 +- .../java/org/htmlunit/html/FormFieldWithNameHistory.java | 2 +- src/main/java/org/htmlunit/html/FrameWindow.java | 2 +- src/main/java/org/htmlunit/html/Html.java | 2 +- src/main/java/org/htmlunit/html/HtmlAbbreviated.java | 2 +- src/main/java/org/htmlunit/html/HtmlAcronym.java | 2 +- src/main/java/org/htmlunit/html/HtmlAddress.java | 2 +- src/main/java/org/htmlunit/html/HtmlAnchor.java | 2 +- src/main/java/org/htmlunit/html/HtmlArea.java | 2 +- src/main/java/org/htmlunit/html/HtmlArticle.java | 2 +- src/main/java/org/htmlunit/html/HtmlAside.java | 2 +- .../java/org/htmlunit/html/HtmlAttributeChangeEvent.java | 2 +- .../java/org/htmlunit/html/HtmlAttributeChangeListener.java | 2 +- src/main/java/org/htmlunit/html/HtmlAudio.java | 2 +- src/main/java/org/htmlunit/html/HtmlBackgroundSound.java | 2 +- src/main/java/org/htmlunit/html/HtmlBase.java | 2 +- src/main/java/org/htmlunit/html/HtmlBaseFont.java | 2 +- .../java/org/htmlunit/html/HtmlBidirectionalIsolation.java | 2 +- .../java/org/htmlunit/html/HtmlBidirectionalOverride.java | 2 +- src/main/java/org/htmlunit/html/HtmlBig.java | 2 +- src/main/java/org/htmlunit/html/HtmlBlockQuote.java | 2 +- src/main/java/org/htmlunit/html/HtmlBody.java | 2 +- src/main/java/org/htmlunit/html/HtmlBold.java | 2 +- src/main/java/org/htmlunit/html/HtmlBreak.java | 2 +- src/main/java/org/htmlunit/html/HtmlButton.java | 2 +- src/main/java/org/htmlunit/html/HtmlButtonInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlCanvas.java | 2 +- src/main/java/org/htmlunit/html/HtmlCaption.java | 2 +- src/main/java/org/htmlunit/html/HtmlCenter.java | 2 +- src/main/java/org/htmlunit/html/HtmlCheckBoxInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlCitation.java | 2 +- src/main/java/org/htmlunit/html/HtmlCode.java | 2 +- src/main/java/org/htmlunit/html/HtmlColorInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlData.java | 2 +- src/main/java/org/htmlunit/html/HtmlDataList.java | 2 +- src/main/java/org/htmlunit/html/HtmlDateInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlDateTimeLocalInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlDefinition.java | 2 +- .../java/org/htmlunit/html/HtmlDefinitionDescription.java | 2 +- src/main/java/org/htmlunit/html/HtmlDefinitionList.java | 2 +- src/main/java/org/htmlunit/html/HtmlDefinitionTerm.java | 2 +- src/main/java/org/htmlunit/html/HtmlDeletedText.java | 2 +- src/main/java/org/htmlunit/html/HtmlDetails.java | 2 +- src/main/java/org/htmlunit/html/HtmlDialog.java | 2 +- src/main/java/org/htmlunit/html/HtmlDirectory.java | 2 +- src/main/java/org/htmlunit/html/HtmlDivision.java | 2 +- src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java | 2 +- src/main/java/org/htmlunit/html/HtmlElement.java | 2 +- src/main/java/org/htmlunit/html/HtmlEmailInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlEmbed.java | 2 +- src/main/java/org/htmlunit/html/HtmlEmphasis.java | 2 +- src/main/java/org/htmlunit/html/HtmlExample.java | 2 +- src/main/java/org/htmlunit/html/HtmlFieldSet.java | 2 +- src/main/java/org/htmlunit/html/HtmlFigure.java | 2 +- src/main/java/org/htmlunit/html/HtmlFigureCaption.java | 2 +- src/main/java/org/htmlunit/html/HtmlFileInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlFont.java | 2 +- src/main/java/org/htmlunit/html/HtmlFooter.java | 2 +- src/main/java/org/htmlunit/html/HtmlForm.java | 2 +- src/main/java/org/htmlunit/html/HtmlFrame.java | 2 +- src/main/java/org/htmlunit/html/HtmlFrameSet.java | 2 +- src/main/java/org/htmlunit/html/HtmlHead.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeader.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading1.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading2.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading3.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading4.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading5.java | 2 +- src/main/java/org/htmlunit/html/HtmlHeading6.java | 2 +- src/main/java/org/htmlunit/html/HtmlHiddenInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlHorizontalRule.java | 2 +- src/main/java/org/htmlunit/html/HtmlHtml.java | 2 +- src/main/java/org/htmlunit/html/HtmlImage.java | 2 +- src/main/java/org/htmlunit/html/HtmlImageInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlInlineFrame.java | 2 +- src/main/java/org/htmlunit/html/HtmlInlineQuotation.java | 2 +- src/main/java/org/htmlunit/html/HtmlInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlInsertedText.java | 2 +- src/main/java/org/htmlunit/html/HtmlItalic.java | 2 +- src/main/java/org/htmlunit/html/HtmlKeyboard.java | 2 +- src/main/java/org/htmlunit/html/HtmlLabel.java | 2 +- src/main/java/org/htmlunit/html/HtmlLayer.java | 2 +- src/main/java/org/htmlunit/html/HtmlLegend.java | 2 +- src/main/java/org/htmlunit/html/HtmlLink.java | 2 +- src/main/java/org/htmlunit/html/HtmlListItem.java | 2 +- src/main/java/org/htmlunit/html/HtmlListing.java | 2 +- src/main/java/org/htmlunit/html/HtmlMain.java | 2 +- src/main/java/org/htmlunit/html/HtmlMap.java | 2 +- src/main/java/org/htmlunit/html/HtmlMark.java | 2 +- src/main/java/org/htmlunit/html/HtmlMarquee.java | 2 +- src/main/java/org/htmlunit/html/HtmlMedia.java | 2 +- src/main/java/org/htmlunit/html/HtmlMenu.java | 2 +- src/main/java/org/htmlunit/html/HtmlMeta.java | 2 +- src/main/java/org/htmlunit/html/HtmlMeter.java | 2 +- src/main/java/org/htmlunit/html/HtmlMonthInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlNav.java | 2 +- src/main/java/org/htmlunit/html/HtmlNoBreak.java | 2 +- src/main/java/org/htmlunit/html/HtmlNoEmbed.java | 2 +- src/main/java/org/htmlunit/html/HtmlNoFrames.java | 2 +- src/main/java/org/htmlunit/html/HtmlNoLayer.java | 2 +- src/main/java/org/htmlunit/html/HtmlNoScript.java | 2 +- src/main/java/org/htmlunit/html/HtmlNumberInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlObject.java | 2 +- src/main/java/org/htmlunit/html/HtmlOption.java | 2 +- src/main/java/org/htmlunit/html/HtmlOptionGroup.java | 2 +- src/main/java/org/htmlunit/html/HtmlOrderedList.java | 2 +- src/main/java/org/htmlunit/html/HtmlOutput.java | 2 +- src/main/java/org/htmlunit/html/HtmlPage.java | 2 +- src/main/java/org/htmlunit/html/HtmlParagraph.java | 2 +- src/main/java/org/htmlunit/html/HtmlParameter.java | 2 +- src/main/java/org/htmlunit/html/HtmlPasswordInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlPicture.java | 2 +- src/main/java/org/htmlunit/html/HtmlPlainText.java | 2 +- src/main/java/org/htmlunit/html/HtmlPreformattedText.java | 2 +- src/main/java/org/htmlunit/html/HtmlProgress.java | 2 +- src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlRangeInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlRb.java | 2 +- src/main/java/org/htmlunit/html/HtmlResetInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlRp.java | 2 +- src/main/java/org/htmlunit/html/HtmlRt.java | 2 +- src/main/java/org/htmlunit/html/HtmlRtc.java | 2 +- src/main/java/org/htmlunit/html/HtmlRuby.java | 2 +- src/main/java/org/htmlunit/html/HtmlS.java | 2 +- src/main/java/org/htmlunit/html/HtmlSample.java | 2 +- src/main/java/org/htmlunit/html/HtmlScript.java | 2 +- src/main/java/org/htmlunit/html/HtmlSearchInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlSection.java | 2 +- src/main/java/org/htmlunit/html/HtmlSelect.java | 2 +- src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlSlot.java | 2 +- src/main/java/org/htmlunit/html/HtmlSmall.java | 2 +- src/main/java/org/htmlunit/html/HtmlSource.java | 2 +- src/main/java/org/htmlunit/html/HtmlSpan.java | 2 +- src/main/java/org/htmlunit/html/HtmlStrike.java | 2 +- src/main/java/org/htmlunit/html/HtmlStrong.java | 2 +- src/main/java/org/htmlunit/html/HtmlStyle.java | 2 +- src/main/java/org/htmlunit/html/HtmlSubmitInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlSubscript.java | 2 +- src/main/java/org/htmlunit/html/HtmlSummary.java | 2 +- src/main/java/org/htmlunit/html/HtmlSuperscript.java | 2 +- src/main/java/org/htmlunit/html/HtmlSvg.java | 2 +- src/main/java/org/htmlunit/html/HtmlTable.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableBody.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableCell.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableColumn.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableColumnGroup.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableDataCell.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableFooter.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableHeader.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableHeaderCell.java | 2 +- src/main/java/org/htmlunit/html/HtmlTableRow.java | 2 +- src/main/java/org/htmlunit/html/HtmlTelInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlTeletype.java | 2 +- src/main/java/org/htmlunit/html/HtmlTemplate.java | 2 +- src/main/java/org/htmlunit/html/HtmlTextArea.java | 2 +- src/main/java/org/htmlunit/html/HtmlTextInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlTime.java | 2 +- src/main/java/org/htmlunit/html/HtmlTimeInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlTitle.java | 2 +- src/main/java/org/htmlunit/html/HtmlTrack.java | 2 +- src/main/java/org/htmlunit/html/HtmlUnderlined.java | 2 +- src/main/java/org/htmlunit/html/HtmlUnknownElement.java | 2 +- src/main/java/org/htmlunit/html/HtmlUnorderedList.java | 2 +- src/main/java/org/htmlunit/html/HtmlUrlInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlVariable.java | 2 +- src/main/java/org/htmlunit/html/HtmlVideo.java | 2 +- src/main/java/org/htmlunit/html/HtmlWeekInput.java | 2 +- src/main/java/org/htmlunit/html/HtmlWordBreak.java | 2 +- src/main/java/org/htmlunit/html/Keyboard.java | 2 +- src/main/java/org/htmlunit/html/LabelableElement.java | 2 +- src/main/java/org/htmlunit/html/ScriptElement.java | 2 +- src/main/java/org/htmlunit/html/ScriptElementSupport.java | 2 +- src/main/java/org/htmlunit/html/SiblingDomNodeList.java | 2 +- src/main/java/org/htmlunit/html/StaticDomNodeList.java | 2 +- src/main/java/org/htmlunit/html/SubmittableElement.java | 2 +- src/main/java/org/htmlunit/html/TableRowGroup.java | 2 +- src/main/java/org/htmlunit/html/UnknownElementFactory.java | 2 +- src/main/java/org/htmlunit/html/ValidatableElement.java | 2 +- src/main/java/org/htmlunit/html/XHtmlPage.java | 2 +- src/main/java/org/htmlunit/html/XmlSerializer.java | 2 +- src/main/java/org/htmlunit/html/impl/Color.java | 2 +- .../java/org/htmlunit/html/impl/SelectableTextInput.java | 2 +- .../htmlunit/html/impl/SelectableTextSelectionDelegate.java | 2 +- src/main/java/org/htmlunit/html/impl/SelectionDelegate.java | 2 +- src/main/java/org/htmlunit/html/impl/SimpleRange.java | 2 +- .../java/org/htmlunit/html/impl/SimpleSelectionDelegate.java | 2 +- src/main/java/org/htmlunit/html/impl/package-info.java | 2 +- src/main/java/org/htmlunit/html/package-info.java | 2 +- src/main/java/org/htmlunit/html/parser/HTMLParser.java | 2 +- .../java/org/htmlunit/html/parser/HTMLParserDOMBuilder.java | 2 +- .../java/org/htmlunit/html/parser/HTMLParserListener.java | 2 +- .../htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java | 2 +- .../htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java | 2 +- .../java/org/htmlunit/html/parser/neko/package-info.java | 2 +- src/main/java/org/htmlunit/html/parser/package-info.java | 2 +- .../html/serializer/HtmlSerializerInnerOuterText.java | 2 +- .../html/serializer/HtmlSerializerNormalizedText.java | 2 +- .../htmlunit/html/serializer/HtmlSerializerVisibleText.java | 2 +- src/main/java/org/htmlunit/html/serializer/package-info.java | 2 +- .../java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java | 2 +- src/main/java/org/htmlunit/html/xpath/XPathAdapter.java | 2 +- src/main/java/org/htmlunit/html/xpath/XPathHelper.java | 2 +- src/main/java/org/htmlunit/html/xpath/package-info.java | 2 +- src/main/java/org/htmlunit/http/HttpStatus.java | 2 +- src/main/java/org/htmlunit/http/HttpUtils.java | 2 +- src/main/java/org/htmlunit/http/package-info.java | 2 +- .../HtmlUnitBrowserCompatCookieHeaderValueFormatter.java | 2 +- .../htmlunit/httpclient/HtmlUnitBrowserCompatCookieSpec.java | 2 +- .../org/htmlunit/httpclient/HtmlUnitCookieSpecProvider.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitCookieStore.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitDomainHandler.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitExpiresHandler.java | 2 +- .../org/htmlunit/httpclient/HtmlUnitHttpOnlyHandler.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitMaxAgeHandler.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitPathHandler.java | 2 +- .../org/htmlunit/httpclient/HtmlUnitRedirectStrategie.java | 2 +- .../httpclient/HtmlUnitSSLConnectionSocketFactory.java | 2 +- .../org/htmlunit/httpclient/HtmlUnitSameSiteHandler.java | 2 +- .../java/org/htmlunit/httpclient/HtmlUnitSecureHandler.java | 2 +- .../httpclient/HtmlUnitUsernamePasswordCredentials.java | 2 +- .../htmlunit/httpclient/HtmlUnitVersionAttributeHandler.java | 2 +- .../java/org/htmlunit/httpclient/HttpClientConverter.java | 2 +- src/main/java/org/htmlunit/httpclient/HttpDelete.java | 2 +- src/main/java/org/htmlunit/httpclient/HttpOptions.java | 2 +- .../htmlunit/httpclient/SocksConnectionSocketFactory.java | 2 +- src/main/java/org/htmlunit/httpclient/package-info.java | 2 +- .../org/htmlunit/javascript/AbstractJavaScriptEngine.java | 2 +- src/main/java/org/htmlunit/javascript/DebugFrameAdapter.java | 2 +- src/main/java/org/htmlunit/javascript/DebugFrameImpl.java | 2 +- src/main/java/org/htmlunit/javascript/DebuggerAdapter.java | 2 +- src/main/java/org/htmlunit/javascript/DebuggerImpl.java | 2 +- .../htmlunit/javascript/DefaultJavaScriptErrorListener.java | 2 +- src/main/java/org/htmlunit/javascript/FunctionWrapper.java | 2 +- .../java/org/htmlunit/javascript/HiddenFunctionObject.java | 2 +- .../java/org/htmlunit/javascript/HtmlUnitContextFactory.java | 2 +- .../java/org/htmlunit/javascript/HtmlUnitScriptable.java | 2 +- .../org/htmlunit/javascript/HtmlUnitScriptableProxy.java | 2 +- src/main/java/org/htmlunit/javascript/JavaScriptEngine.java | 2 +- .../org/htmlunit/javascript/JavaScriptErrorListener.java | 2 +- .../htmlunit/javascript/NativeFunctionToStringFunction.java | 2 +- src/main/java/org/htmlunit/javascript/PostponedAction.java | 2 +- .../org/htmlunit/javascript/RecursiveFunctionObject.java | 2 +- .../htmlunit/javascript/SilentJavaScriptErrorListener.java | 2 +- src/main/java/org/htmlunit/javascript/TimeoutError.java | 2 +- .../javascript/background/BackgroundJavaScriptFactory.java | 2 +- .../htmlunit/javascript/background/BasicJavaScriptJob.java | 2 +- .../javascript/background/DefaultJavaScriptExecutor.java | 2 +- .../javascript/background/JavaScriptExecutionJob.java | 2 +- .../htmlunit/javascript/background/JavaScriptExecutor.java | 2 +- .../javascript/background/JavaScriptFunctionJob.java | 2 +- .../org/htmlunit/javascript/background/JavaScriptJob.java | 2 +- .../htmlunit/javascript/background/JavaScriptJobManager.java | 2 +- .../javascript/background/JavaScriptJobManagerImpl.java | 2 +- .../htmlunit/javascript/background/JavaScriptStringJob.java | 2 +- .../javascript/background/JavascriptXMLHttpRequestJob.java | 2 +- .../org/htmlunit/javascript/background/package-info.java | 2 +- .../configuration/AbstractJavaScriptConfiguration.java | 2 +- .../htmlunit/javascript/configuration/BrowserFeature.java | 2 +- .../javascript/configuration/ClassConfiguration.java | 2 +- .../javascript/configuration/JavaScriptConfiguration.java | 2 +- .../java/org/htmlunit/javascript/configuration/JsxClass.java | 2 +- .../org/htmlunit/javascript/configuration/JsxClasses.java | 2 +- .../org/htmlunit/javascript/configuration/JsxConstant.java | 2 +- .../htmlunit/javascript/configuration/JsxConstructor.java | 2 +- .../javascript/configuration/JsxConstructorAlias.java | 2 +- .../org/htmlunit/javascript/configuration/JsxFunction.java | 2 +- .../org/htmlunit/javascript/configuration/JsxGetter.java | 2 +- .../org/htmlunit/javascript/configuration/JsxSetter.java | 2 +- .../htmlunit/javascript/configuration/JsxStaticFunction.java | 2 +- .../htmlunit/javascript/configuration/JsxStaticGetter.java | 2 +- .../org/htmlunit/javascript/configuration/JsxSymbol.java | 2 +- .../htmlunit/javascript/configuration/JsxSymbolConstant.java | 2 +- .../ProxyAutoConfigJavaScriptConfiguration.java | 2 +- .../htmlunit/javascript/configuration/SupportedBrowser.java | 2 +- .../configuration/WorkerJavaScriptConfiguration.java | 2 +- .../org/htmlunit/javascript/configuration/package-info.java | 2 +- .../htmlunit/javascript/host/AudioScheduledSourceNode.java | 2 +- src/main/java/org/htmlunit/javascript/host/BarProp.java | 2 +- .../java/org/htmlunit/javascript/host/BatteryManager.java | 2 +- .../java/org/htmlunit/javascript/host/BroadcastChannel.java | 2 +- src/main/java/org/htmlunit/javascript/host/Cache.java | 2 +- src/main/java/org/htmlunit/javascript/host/CacheStorage.java | 2 +- src/main/java/org/htmlunit/javascript/host/ClientRect.java | 2 +- .../java/org/htmlunit/javascript/host/ClientRectList.java | 2 +- .../java/org/htmlunit/javascript/host/ConsoleCustom.java | 2 +- src/main/java/org/htmlunit/javascript/host/Element.java | 2 +- src/main/java/org/htmlunit/javascript/host/External.java | 2 +- src/main/java/org/htmlunit/javascript/host/FontFace.java | 2 +- src/main/java/org/htmlunit/javascript/host/FontFaceSet.java | 2 +- src/main/java/org/htmlunit/javascript/host/Gamepad.java | 2 +- .../java/org/htmlunit/javascript/host/GamepadButton.java | 2 +- src/main/java/org/htmlunit/javascript/host/History.java | 2 +- src/main/java/org/htmlunit/javascript/host/ImageBitmap.java | 2 +- src/main/java/org/htmlunit/javascript/host/Location.java | 2 +- .../java/org/htmlunit/javascript/host/MessageChannel.java | 2 +- src/main/java/org/htmlunit/javascript/host/MessagePort.java | 2 +- src/main/java/org/htmlunit/javascript/host/MimeType.java | 2 +- .../java/org/htmlunit/javascript/host/MimeTypeArray.java | 2 +- src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java | 2 +- .../javascript/host/NativeFunctionPrefixResolver.java | 2 +- src/main/java/org/htmlunit/javascript/host/Navigator.java | 2 +- src/main/java/org/htmlunit/javascript/host/Netscape.java | 2 +- src/main/java/org/htmlunit/javascript/host/Notification.java | 2 +- src/main/java/org/htmlunit/javascript/host/NumberCustom.java | 2 +- .../org/htmlunit/javascript/host/PerformanceObserver.java | 2 +- .../javascript/host/PerformanceObserverEntryList.java | 2 +- .../java/org/htmlunit/javascript/host/PermissionStatus.java | 2 +- src/main/java/org/htmlunit/javascript/host/Permissions.java | 2 +- src/main/java/org/htmlunit/javascript/host/Plugin.java | 2 +- src/main/java/org/htmlunit/javascript/host/PluginArray.java | 2 +- src/main/java/org/htmlunit/javascript/host/PushManager.java | 2 +- .../java/org/htmlunit/javascript/host/PushSubscription.java | 2 +- .../htmlunit/javascript/host/PushSubscriptionOptions.java | 2 +- .../java/org/htmlunit/javascript/host/ReadableStream.java | 2 +- src/main/java/org/htmlunit/javascript/host/Screen.java | 2 +- .../java/org/htmlunit/javascript/host/ScreenOrientation.java | 2 +- src/main/java/org/htmlunit/javascript/host/SharedWorker.java | 2 +- src/main/java/org/htmlunit/javascript/host/Storage.java | 2 +- .../java/org/htmlunit/javascript/host/StorageManager.java | 2 +- src/main/java/org/htmlunit/javascript/host/TextDecoder.java | 2 +- src/main/java/org/htmlunit/javascript/host/TextEncoder.java | 2 +- src/main/java/org/htmlunit/javascript/host/Touch.java | 2 +- src/main/java/org/htmlunit/javascript/host/TouchList.java | 2 +- src/main/java/org/htmlunit/javascript/host/URL.java | 2 +- .../java/org/htmlunit/javascript/host/URLSearchParams.java | 2 +- src/main/java/org/htmlunit/javascript/host/WebSocket.java | 2 +- src/main/java/org/htmlunit/javascript/host/Window.java | 2 +- .../htmlunit/javascript/host/WindowOrWorkerGlobalScope.java | 2 +- .../javascript/host/WindowOrWorkerGlobalScopeMixin.java | 2 +- src/main/java/org/htmlunit/javascript/host/WindowProxy.java | 2 +- .../org/htmlunit/javascript/host/abort/AbortController.java | 2 +- .../java/org/htmlunit/javascript/host/abort/AbortSignal.java | 2 +- .../org/htmlunit/javascript/host/abort/package-info.java | 2 +- .../org/htmlunit/javascript/host/animations/Animation.java | 2 +- .../htmlunit/javascript/host/animations/AnimationEvent.java | 2 +- .../htmlunit/javascript/host/animations/KeyframeEffect.java | 2 +- .../htmlunit/javascript/host/animations/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/arrays/Atomics.java | 2 +- .../org/htmlunit/javascript/host/arrays/package-info.java | 2 +- .../javascript/host/canvas/CanvasCaptureMediaStream.java | 2 +- .../host/canvas/CanvasCaptureMediaStreamTrack.java | 2 +- .../org/htmlunit/javascript/host/canvas/CanvasGradient.java | 2 +- .../org/htmlunit/javascript/host/canvas/CanvasPattern.java | 2 +- .../javascript/host/canvas/CanvasRenderingContext2D.java | 2 +- .../javascript/host/canvas/ImageBitmapRenderingContext.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/ImageData.java | 2 +- .../javascript/host/canvas/IntersectionObserver.java | 2 +- .../javascript/host/canvas/IntersectionObserverEntry.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/Path2D.java | 2 +- .../org/htmlunit/javascript/host/canvas/TextMetrics.java | 2 +- .../javascript/host/canvas/WebGL2RenderingContext.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLBuffer.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLFramebuffer.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLProgram.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLQuery.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLRenderbuffer.java | 2 +- .../javascript/host/canvas/WebGLRenderingContext.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLSampler.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLShader.java | 2 +- .../javascript/host/canvas/WebGLShaderPrecisionFormat.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLSync.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLTexture.java | 2 +- .../javascript/host/canvas/WebGLTransformFeedback.java | 2 +- .../javascript/host/canvas/WebGLUniformLocation.java | 2 +- .../javascript/host/canvas/WebGLVertexArrayObject.java | 2 +- .../org/htmlunit/javascript/host/canvas/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/crypto/Crypto.java | 2 +- .../java/org/htmlunit/javascript/host/crypto/CryptoKey.java | 2 +- .../org/htmlunit/javascript/host/crypto/SubtleCrypto.java | 2 +- .../org/htmlunit/javascript/host/crypto/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/host/css/CSS.java | 2 +- .../org/htmlunit/javascript/host/css/CSSConditionRule.java | 2 +- .../htmlunit/javascript/host/css/CSSCounterStyleRule.java | 2 +- .../org/htmlunit/javascript/host/css/CSSFontFaceRule.java | 2 +- .../org/htmlunit/javascript/host/css/CSSGroupingRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSImportRule.java | 2 +- .../org/htmlunit/javascript/host/css/CSSKeyframeRule.java | 2 +- .../org/htmlunit/javascript/host/css/CSSKeyframesRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSMediaRule.java | 2 +- .../org/htmlunit/javascript/host/css/CSSNamespaceRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSPageRule.java | 2 +- src/main/java/org/htmlunit/javascript/host/css/CSSRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSRuleList.java | 2 +- .../htmlunit/javascript/host/css/CSSStyleDeclaration.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSStyleRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CSSStyleSheet.java | 2 +- .../org/htmlunit/javascript/host/css/CSSSupportsRule.java | 2 +- .../java/org/htmlunit/javascript/host/css/CaretPosition.java | 2 +- .../javascript/host/css/ComputedCSSStyleDeclaration.java | 2 +- .../java/org/htmlunit/javascript/host/css/ComputedFont.java | 2 +- .../java/org/htmlunit/javascript/host/css/MediaList.java | 2 +- .../org/htmlunit/javascript/host/css/MediaQueryList.java | 2 +- .../java/org/htmlunit/javascript/host/css/StyleMedia.java | 2 +- .../java/org/htmlunit/javascript/host/css/StyleSheet.java | 2 +- .../org/htmlunit/javascript/host/css/StyleSheetList.java | 2 +- .../java/org/htmlunit/javascript/host/css/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/dom/AbstractList.java | 2 +- .../java/org/htmlunit/javascript/host/dom/AbstractRange.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Attr.java | 2 +- .../java/org/htmlunit/javascript/host/dom/CDATASection.java | 2 +- .../java/org/htmlunit/javascript/host/dom/CharacterData.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Comment.java | 2 +- .../htmlunit/javascript/host/dom/CustomElementRegistry.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/DOMError.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMException.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMImplementation.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMMatrix.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMMatrixReadOnly.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMParser.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/DOMPoint.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMPointReadOnly.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMRectReadOnly.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMStringList.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMStringMap.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMTokenList.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Document.java | 2 +- .../org/htmlunit/javascript/host/dom/DocumentFragment.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DocumentType.java | 2 +- .../java/org/htmlunit/javascript/host/dom/IdleDeadline.java | 2 +- .../org/htmlunit/javascript/host/dom/MutationObserver.java | 2 +- .../org/htmlunit/javascript/host/dom/MutationRecord.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Node.java | 2 +- .../java/org/htmlunit/javascript/host/dom/NodeFilter.java | 2 +- .../java/org/htmlunit/javascript/host/dom/NodeIterator.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/NodeList.java | 2 +- .../htmlunit/javascript/host/dom/ProcessingInstruction.java | 2 +- .../java/org/htmlunit/javascript/host/dom/RadioNodeList.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Range.java | 2 +- .../java/org/htmlunit/javascript/host/dom/Selection.java | 2 +- .../java/org/htmlunit/javascript/host/dom/ShadowRoot.java | 2 +- src/main/java/org/htmlunit/javascript/host/dom/Text.java | 2 +- .../java/org/htmlunit/javascript/host/dom/TreeWalker.java | 2 +- .../org/htmlunit/javascript/host/dom/XPathEvaluator.java | 2 +- .../org/htmlunit/javascript/host/dom/XPathExpression.java | 2 +- .../org/htmlunit/javascript/host/dom/XPathNSResolver.java | 2 +- .../java/org/htmlunit/javascript/host/dom/XPathResult.java | 2 +- .../java/org/htmlunit/javascript/host/dom/package-info.java | 2 +- .../htmlunit/javascript/host/draganddrop/DataTransfer.java | 2 +- .../javascript/host/draganddrop/DataTransferItem.java | 2 +- .../javascript/host/draganddrop/DataTransferItemList.java | 2 +- .../htmlunit/javascript/host/draganddrop/package-info.java | 2 +- .../htmlunit/javascript/host/event/AudioProcessingEvent.java | 2 +- .../javascript/host/event/BeforeInstallPromptEvent.java | 2 +- .../htmlunit/javascript/host/event/BeforeUnloadEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/BlobEvent.java | 2 +- .../org/htmlunit/javascript/host/event/ClipboardEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/CloseEvent.java | 2 +- .../org/htmlunit/javascript/host/event/CompositionEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/CustomEvent.java | 2 +- .../htmlunit/javascript/host/event/DeviceMotionEvent.java | 2 +- .../javascript/host/event/DeviceOrientationEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/DragEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/ErrorEvent.java | 2 +- src/main/java/org/htmlunit/javascript/host/event/Event.java | 2 +- .../org/htmlunit/javascript/host/event/EventHandler.java | 2 +- .../javascript/host/event/EventListenersContainer.java | 2 +- .../java/org/htmlunit/javascript/host/event/EventSource.java | 2 +- .../java/org/htmlunit/javascript/host/event/EventTarget.java | 2 +- .../java/org/htmlunit/javascript/host/event/FocusEvent.java | 2 +- .../org/htmlunit/javascript/host/event/GamepadEvent.java | 2 +- .../org/htmlunit/javascript/host/event/HashChangeEvent.java | 2 +- .../javascript/host/event/IDBVersionChangeEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/InputEvent.java | 2 +- .../org/htmlunit/javascript/host/event/KeyboardEvent.java | 2 +- .../htmlunit/javascript/host/event/MIDIConnectionEvent.java | 2 +- .../org/htmlunit/javascript/host/event/MIDIMessageEvent.java | 2 +- .../htmlunit/javascript/host/event/MediaEncryptedEvent.java | 2 +- .../htmlunit/javascript/host/event/MediaKeyMessageEvent.java | 2 +- .../htmlunit/javascript/host/event/MediaQueryListEvent.java | 2 +- .../org/htmlunit/javascript/host/event/MediaStreamEvent.java | 2 +- .../javascript/host/event/MediaStreamTrackEvent.java | 2 +- .../org/htmlunit/javascript/host/event/MessageEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/MouseEvent.java | 2 +- .../org/htmlunit/javascript/host/event/MouseScrollEvent.java | 2 +- .../org/htmlunit/javascript/host/event/MutationEvent.java | 2 +- .../javascript/host/event/OfflineAudioCompletionEvent.java | 2 +- .../htmlunit/javascript/host/event/PageTransitionEvent.java | 2 +- .../org/htmlunit/javascript/host/event/PointerEvent.java | 2 +- .../org/htmlunit/javascript/host/event/PopStateEvent.java | 2 +- .../host/event/PresentationConnectionAvailableEvent.java | 2 +- .../host/event/PresentationConnectionCloseEvent.java | 2 +- .../org/htmlunit/javascript/host/event/ProgressEvent.java | 2 +- .../javascript/host/event/PromiseRejectionEvent.java | 2 +- .../htmlunit/javascript/host/event/RTCDataChannelEvent.java | 2 +- .../javascript/host/event/RTCPeerConnectionIceEvent.java | 2 +- .../javascript/host/event/SecurityPolicyViolationEvent.java | 2 +- .../htmlunit/javascript/host/event/SpeechSynthesisEvent.java | 2 +- .../org/htmlunit/javascript/host/event/StorageEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/SubmitEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/TextEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/TimeEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/TouchEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/TrackEvent.java | 2 +- .../org/htmlunit/javascript/host/event/TransitionEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/UIEvent.java | 2 +- .../htmlunit/javascript/host/event/WebGLContextEvent.java | 2 +- .../javascript/host/event/WebkitSpeechRecognitionError.java | 2 +- .../javascript/host/event/WebkitSpeechRecognitionEvent.java | 2 +- .../java/org/htmlunit/javascript/host/event/WheelEvent.java | 2 +- .../org/htmlunit/javascript/host/event/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/fetch/Headers.java | 2 +- .../java/org/htmlunit/javascript/host/fetch/Request.java | 2 +- .../java/org/htmlunit/javascript/host/fetch/Response.java | 2 +- .../org/htmlunit/javascript/host/fetch/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/host/file/Blob.java | 2 +- src/main/java/org/htmlunit/javascript/host/file/File.java | 2 +- .../java/org/htmlunit/javascript/host/file/FileList.java | 2 +- .../java/org/htmlunit/javascript/host/file/FileReader.java | 2 +- .../java/org/htmlunit/javascript/host/file/FileSystem.java | 2 +- .../javascript/host/file/FileSystemDirectoryEntry.java | 2 +- .../javascript/host/file/FileSystemDirectoryReader.java | 2 +- .../org/htmlunit/javascript/host/file/FileSystemEntry.java | 2 +- .../htmlunit/javascript/host/file/FileSystemFileEntry.java | 2 +- .../java/org/htmlunit/javascript/host/file/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/geo/Geolocation.java | 2 +- .../htmlunit/javascript/host/geo/GeolocationCoordinates.java | 2 +- .../htmlunit/javascript/host/geo/GeolocationPosition.java | 2 +- .../javascript/host/geo/GeolocationPositionError.java | 2 +- .../java/org/htmlunit/javascript/host/geo/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/host/html/Audio.java | 2 +- .../org/htmlunit/javascript/host/html/DocumentProxy.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLAllCollection.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLAnchorElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLAreaElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLAudioElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLBRElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLBaseElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLBodyElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLButtonElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLCanvasElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLCollection.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDListElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDataElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLDataListElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLDetailsElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDialogElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLDirectoryElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDivElement.java | 2 +- .../java/org/htmlunit/javascript/host/html/HTMLDocument.java | 2 +- .../java/org/htmlunit/javascript/host/html/HTMLElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLEmbedElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLFieldSetElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLFontElement.java | 2 +- .../javascript/host/html/HTMLFormControlsCollection.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLFormElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLFrameElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLFrameSetElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLHRElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLHeadElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLHeadingElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLHtmlElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLIFrameElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLImageElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLInputElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLLIElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLLabelElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLLegendElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLLinkElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLListElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLMapElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLMarqueeElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLMediaElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLMenuElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLMetaElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLMeterElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLModElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLOListElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLObjectElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLOptGroupElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLOptionElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLOptionsCollection.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLOutputElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLParagraphElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLParamElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLPictureElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLPreElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLProgressElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLQuoteElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLScriptElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLSelectElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLSlotElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLSourceElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLSpanElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLStyleElement.java | 2 +- .../javascript/host/html/HTMLTableCaptionElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableCellElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableColElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableComponent.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLTableElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableRowElement.java | 2 +- .../javascript/host/html/HTMLTableSectionElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTemplateElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLTextAreaElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLTimeElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLTitleElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLTrackElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLUListElement.java | 2 +- .../htmlunit/javascript/host/html/HTMLUnknownElement.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLVideoElement.java | 2 +- .../org/htmlunit/javascript/host/html/LabelsNodeList.java | 2 +- .../java/org/htmlunit/javascript/host/html/RowContainer.java | 2 +- .../org/htmlunit/javascript/host/html/ValidityState.java | 2 +- .../java/org/htmlunit/javascript/host/html/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/idb/IDBCursor.java | 2 +- .../org/htmlunit/javascript/host/idb/IDBCursorWithValue.java | 2 +- .../java/org/htmlunit/javascript/host/idb/IDBDatabase.java | 2 +- .../java/org/htmlunit/javascript/host/idb/IDBFactory.java | 2 +- src/main/java/org/htmlunit/javascript/host/idb/IDBIndex.java | 2 +- .../java/org/htmlunit/javascript/host/idb/IDBKeyRange.java | 2 +- .../org/htmlunit/javascript/host/idb/IDBObjectStore.java | 2 +- .../org/htmlunit/javascript/host/idb/IDBOpenDBRequest.java | 2 +- .../java/org/htmlunit/javascript/host/idb/IDBRequest.java | 2 +- .../org/htmlunit/javascript/host/idb/IDBTransaction.java | 2 +- .../java/org/htmlunit/javascript/host/idb/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/intl/Collator.java | 2 +- .../org/htmlunit/javascript/host/intl/DateTimeFormat.java | 2 +- src/main/java/org/htmlunit/javascript/host/intl/Intl.java | 2 +- .../java/org/htmlunit/javascript/host/intl/NumberFormat.java | 2 +- .../org/htmlunit/javascript/host/intl/V8BreakIterator.java | 2 +- .../java/org/htmlunit/javascript/host/intl/package-info.java | 2 +- .../org/htmlunit/javascript/host/media/AnalyserNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/AudioBuffer.java | 2 +- .../javascript/host/media/AudioBufferSourceNode.java | 2 +- .../org/htmlunit/javascript/host/media/AudioContext.java | 2 +- .../htmlunit/javascript/host/media/AudioDestinationNode.java | 2 +- .../org/htmlunit/javascript/host/media/AudioListener.java | 2 +- .../java/org/htmlunit/javascript/host/media/AudioNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/AudioParam.java | 2 +- .../org/htmlunit/javascript/host/media/BaseAudioContext.java | 2 +- .../org/htmlunit/javascript/host/media/BiquadFilterNode.java | 2 +- .../htmlunit/javascript/host/media/ChannelMergerNode.java | 2 +- .../htmlunit/javascript/host/media/ChannelSplitterNode.java | 2 +- .../htmlunit/javascript/host/media/ConstantSourceNode.java | 2 +- .../org/htmlunit/javascript/host/media/ConvolverNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/DelayNode.java | 2 +- .../javascript/host/media/DynamicsCompressorNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/GainNode.java | 2 +- .../org/htmlunit/javascript/host/media/IIRFilterNode.java | 2 +- .../javascript/host/media/InputDeviceCapabilities.java | 2 +- .../org/htmlunit/javascript/host/media/MediaDeviceInfo.java | 2 +- .../org/htmlunit/javascript/host/media/MediaDevices.java | 2 +- .../javascript/host/media/MediaElementAudioSourceNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/MediaError.java | 2 +- .../org/htmlunit/javascript/host/media/MediaKeyError.java | 2 +- .../org/htmlunit/javascript/host/media/MediaKeySession.java | 2 +- .../htmlunit/javascript/host/media/MediaKeyStatusMap.java | 2 +- .../htmlunit/javascript/host/media/MediaKeySystemAccess.java | 2 +- .../java/org/htmlunit/javascript/host/media/MediaKeys.java | 2 +- .../org/htmlunit/javascript/host/media/MediaRecorder.java | 2 +- .../java/org/htmlunit/javascript/host/media/MediaSource.java | 2 +- .../java/org/htmlunit/javascript/host/media/MediaStream.java | 2 +- .../host/media/MediaStreamAudioDestinationNode.java | 2 +- .../javascript/host/media/MediaStreamAudioSourceNode.java | 2 +- .../org/htmlunit/javascript/host/media/MediaStreamTrack.java | 2 +- .../htmlunit/javascript/host/media/OfflineAudioContext.java | 2 +- .../org/htmlunit/javascript/host/media/OscillatorNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/PannerNode.java | 2 +- .../htmlunit/javascript/host/media/PeriodicSyncManager.java | 2 +- .../org/htmlunit/javascript/host/media/PeriodicWave.java | 2 +- .../org/htmlunit/javascript/host/media/RemotePlayback.java | 2 +- .../htmlunit/javascript/host/media/ScriptProcessorNode.java | 2 +- .../org/htmlunit/javascript/host/media/SourceBuffer.java | 2 +- .../org/htmlunit/javascript/host/media/SourceBufferList.java | 2 +- .../org/htmlunit/javascript/host/media/StereoPannerNode.java | 2 +- .../java/org/htmlunit/javascript/host/media/TextTrack.java | 2 +- .../org/htmlunit/javascript/host/media/TextTrackCue.java | 2 +- .../org/htmlunit/javascript/host/media/TextTrackCueList.java | 2 +- .../org/htmlunit/javascript/host/media/TextTrackList.java | 2 +- .../java/org/htmlunit/javascript/host/media/TimeRanges.java | 2 +- src/main/java/org/htmlunit/javascript/host/media/VTTCue.java | 2 +- .../htmlunit/javascript/host/media/VideoPlaybackQuality.java | 2 +- .../org/htmlunit/javascript/host/media/WaveShaperNode.java | 2 +- .../org/htmlunit/javascript/host/media/midi/MIDIAccess.java | 2 +- .../org/htmlunit/javascript/host/media/midi/MIDIInput.java | 2 +- .../htmlunit/javascript/host/media/midi/MIDIInputMap.java | 2 +- .../org/htmlunit/javascript/host/media/midi/MIDIOutput.java | 2 +- .../htmlunit/javascript/host/media/midi/MIDIOutputMap.java | 2 +- .../org/htmlunit/javascript/host/media/midi/MIDIPort.java | 2 +- .../htmlunit/javascript/host/media/midi/package-info.java | 2 +- .../org/htmlunit/javascript/host/media/package-info.java | 2 +- .../javascript/host/media/presentation/Presentation.java | 2 +- .../host/media/presentation/PresentationAvailability.java | 2 +- .../host/media/presentation/PresentationConnection.java | 2 +- .../host/media/presentation/PresentationRequest.java | 2 +- .../javascript/host/media/presentation/package-info.java | 2 +- .../htmlunit/javascript/host/media/rtc/RTCCertificate.java | 2 +- .../htmlunit/javascript/host/media/rtc/RTCIceCandidate.java | 2 +- .../javascript/host/media/rtc/RTCPeerConnection.java | 2 +- .../htmlunit/javascript/host/media/rtc/RTCSctpTransport.java | 2 +- .../javascript/host/media/rtc/RTCSessionDescription.java | 2 +- .../htmlunit/javascript/host/media/rtc/RTCStatsReport.java | 2 +- .../org/htmlunit/javascript/host/media/rtc/package-info.java | 2 +- .../htmlunit/javascript/host/network/NetworkInformation.java | 2 +- .../org/htmlunit/javascript/host/network/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/host/package-info.java | 2 +- .../org/htmlunit/javascript/host/payment/PaymentAddress.java | 2 +- .../org/htmlunit/javascript/host/payment/PaymentRequest.java | 2 +- .../htmlunit/javascript/host/payment/PaymentResponse.java | 2 +- .../org/htmlunit/javascript/host/payment/package-info.java | 2 +- .../htmlunit/javascript/host/performance/Performance.java | 2 +- .../javascript/host/performance/PerformanceEntry.java | 2 +- .../javascript/host/performance/PerformanceMark.java | 2 +- .../javascript/host/performance/PerformanceMeasure.java | 2 +- .../javascript/host/performance/PerformanceNavigation.java | 2 +- .../host/performance/PerformanceNavigationTiming.java | 2 +- .../host/performance/PerformanceResourceTiming.java | 2 +- .../javascript/host/performance/PerformanceTiming.java | 2 +- .../htmlunit/javascript/host/performance/package-info.java | 2 +- .../org/htmlunit/javascript/host/security/Credential.java | 2 +- .../javascript/host/security/CredentialsContainer.java | 2 +- .../javascript/host/security/FederatedCredential.java | 2 +- .../javascript/host/security/PasswordCredential.java | 2 +- .../org/htmlunit/javascript/host/security/package-info.java | 2 +- .../org/htmlunit/javascript/host/speech/SpeechSynthesis.java | 2 +- .../javascript/host/speech/SpeechSynthesisErrorEvent.java | 2 +- .../javascript/host/speech/SpeechSynthesisUtterance.java | 2 +- .../javascript/host/speech/SpeechSynthesisVoice.java | 2 +- .../htmlunit/javascript/host/speech/WebkitSpeechGrammar.java | 2 +- .../javascript/host/speech/WebkitSpeechGrammarList.java | 2 +- .../javascript/host/speech/WebkitSpeechRecognition.java | 2 +- .../org/htmlunit/javascript/host/speech/package-info.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGAElement.java | 2 +- src/main/java/org/htmlunit/javascript/host/svg/SVGAngle.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimateElement.java | 2 +- .../javascript/host/svg/SVGAnimateMotionElement.java | 2 +- .../javascript/host/svg/SVGAnimateTransformElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedAngle.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedBoolean.java | 2 +- .../htmlunit/javascript/host/svg/SVGAnimatedEnumeration.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedInteger.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedLength.java | 2 +- .../htmlunit/javascript/host/svg/SVGAnimatedLengthList.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedNumber.java | 2 +- .../htmlunit/javascript/host/svg/SVGAnimatedNumberList.java | 2 +- .../javascript/host/svg/SVGAnimatedPreserveAspectRatio.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedRect.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGAnimatedString.java | 2 +- .../javascript/host/svg/SVGAnimatedTransformList.java | 2 +- .../htmlunit/javascript/host/svg/SVGAnimationElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGCircleElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGClipPathElement.java | 2 +- .../host/svg/SVGComponentTransferFunctionElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGDefsElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGDescElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGEllipseElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEBlendElement.java | 2 +- .../javascript/host/svg/SVGFEColorMatrixElement.java | 2 +- .../javascript/host/svg/SVGFEComponentTransferElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFECompositeElement.java | 2 +- .../javascript/host/svg/SVGFEConvolveMatrixElement.java | 2 +- .../javascript/host/svg/SVGFEDiffuseLightingElement.java | 2 +- .../javascript/host/svg/SVGFEDisplacementMapElement.java | 2 +- .../javascript/host/svg/SVGFEDistantLightElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFEDropShadowElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEFloodElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEFuncAElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEFuncBElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEFuncGElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEFuncRElement.java | 2 +- .../javascript/host/svg/SVGFEGaussianBlurElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEImageElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEMergeElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFEMergeNodeElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFEMorphologyElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFEOffsetElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFEPointLightElement.java | 2 +- .../javascript/host/svg/SVGFESpecularLightingElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFESpotLightElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFETileElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGFETurbulenceElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGFilterElement.java | 2 +- .../javascript/host/svg/SVGForeignObjectElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGGElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGGeometryElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGGradientElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGGraphicsElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGImageElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGLength.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGLengthList.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGLineElement.java | 2 +- .../javascript/host/svg/SVGLinearGradientElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGMPathElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGMarkerElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGMaskElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGMatrix.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGMetadataElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGNumber.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGNumberList.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGPathElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGPatternElement.java | 2 +- src/main/java/org/htmlunit/javascript/host/svg/SVGPoint.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGPointList.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGPolygonElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGPolylineElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGPreserveAspectRatio.java | 2 +- .../javascript/host/svg/SVGRadialGradientElement.java | 2 +- src/main/java/org/htmlunit/javascript/host/svg/SVGRect.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGRectElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGSVGElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGScriptElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGSetElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGStopElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGStringList.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGStyleElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGSwitchElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGSymbolElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTSpanElement.java | 2 +- .../htmlunit/javascript/host/svg/SVGTextContentElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTextElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTextPathElement.java | 2 +- .../javascript/host/svg/SVGTextPositioningElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTitleElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGTransform.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTransformList.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGUnitTypes.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGUseElement.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGViewElement.java | 2 +- .../java/org/htmlunit/javascript/host/svg/package-info.java | 2 +- .../javascript/host/worker/DedicatedWorkerGlobalScope.java | 2 +- .../org/htmlunit/javascript/host/worker/ServiceWorker.java | 2 +- .../javascript/host/worker/ServiceWorkerContainer.java | 2 +- .../javascript/host/worker/ServiceWorkerRegistration.java | 2 +- .../org/htmlunit/javascript/host/worker/SyncManager.java | 2 +- .../java/org/htmlunit/javascript/host/worker/Worker.java | 2 +- .../htmlunit/javascript/host/worker/WorkerGlobalScope.java | 2 +- .../org/htmlunit/javascript/host/worker/WorkerLocation.java | 2 +- .../org/htmlunit/javascript/host/worker/WorkerNavigator.java | 2 +- .../org/htmlunit/javascript/host/worker/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/host/xml/FormData.java | 2 +- .../java/org/htmlunit/javascript/host/xml/XMLDocument.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLHttpRequest.java | 2 +- .../javascript/host/xml/XMLHttpRequestEventTarget.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequestUpload.java | 2 +- .../java/org/htmlunit/javascript/host/xml/XMLSerializer.java | 2 +- .../java/org/htmlunit/javascript/host/xml/XSLTProcessor.java | 2 +- .../java/org/htmlunit/javascript/host/xml/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/package-info.java | 2 +- src/main/java/org/htmlunit/javascript/polyfill/Polyfill.java | 2 +- .../java/org/htmlunit/javascript/polyfill/package-info.java | 2 +- .../org/htmlunit/javascript/preprocessor/package-info.java | 2 +- .../htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java | 2 +- .../htmlunit/javascript/proxyautoconfig/package-info.java | 2 +- .../org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy.java | 2 +- .../htmlunit/javascript/regexp/RegExpJsToJavaConverter.java | 2 +- .../java/org/htmlunit/javascript/regexp/package-info.java | 2 +- src/main/java/org/htmlunit/package-info.java | 2 +- src/main/java/org/htmlunit/platform/AwtClipboardHandler.java | 2 +- src/main/java/org/htmlunit/platform/Platform.java | 2 +- src/main/java/org/htmlunit/platform/XmlUtilsHelperAPI.java | 2 +- .../platform/canvas/rendering/AwtRenderingBackend.java | 2 +- .../platform/canvas/rendering/NoOpRenderingBackend.java | 2 +- .../htmlunit/platform/canvas/rendering/RenderingBackend.java | 2 +- .../org/htmlunit/platform/canvas/rendering/package-info.java | 2 +- .../org/htmlunit/platform/dom/traversal/DomTreeWalker.java | 2 +- .../org/htmlunit/platform/dom/traversal/package-info.java | 2 +- src/main/java/org/htmlunit/platform/font/AwtFontUtil.java | 2 +- src/main/java/org/htmlunit/platform/font/FontUtil.java | 2 +- src/main/java/org/htmlunit/platform/font/NoOpFontUtil.java | 2 +- src/main/java/org/htmlunit/platform/font/package-info.java | 2 +- src/main/java/org/htmlunit/platform/geom/IntDimension2D.java | 2 +- src/main/java/org/htmlunit/platform/geom/package-info.java | 2 +- src/main/java/org/htmlunit/platform/image/ImageData.java | 2 +- .../java/org/htmlunit/platform/image/ImageIOImageData.java | 2 +- src/main/java/org/htmlunit/platform/image/NoOpImageData.java | 2 +- src/main/java/org/htmlunit/platform/image/package-info.java | 2 +- src/main/java/org/htmlunit/platform/package-info.java | 2 +- .../org/htmlunit/platform/util/XmlUtilsSunXercesHelper.java | 2 +- .../org/htmlunit/platform/util/XmlUtilsXercesHelper.java | 2 +- src/main/java/org/htmlunit/platform/util/package-info.java | 2 +- src/main/java/org/htmlunit/protocol/AnyHandler.java | 2 +- .../java/org/htmlunit/protocol/about/AboutURLConnection.java | 2 +- src/main/java/org/htmlunit/protocol/about/Handler.java | 2 +- src/main/java/org/htmlunit/protocol/about/package-info.java | 2 +- .../java/org/htmlunit/protocol/data/DataURLConnection.java | 2 +- src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java | 2 +- src/main/java/org/htmlunit/protocol/data/Handler.java | 2 +- src/main/java/org/htmlunit/protocol/data/package-info.java | 2 +- src/main/java/org/htmlunit/protocol/javascript/Handler.java | 2 +- .../protocol/javascript/JavaScriptURLConnection.java | 2 +- .../java/org/htmlunit/protocol/javascript/package-info.java | 2 +- src/main/java/org/htmlunit/protocol/package-info.java | 2 +- src/main/java/org/htmlunit/svg/SvgAltGlyph.java | 2 +- src/main/java/org/htmlunit/svg/SvgAltGlyphDef.java | 2 +- src/main/java/org/htmlunit/svg/SvgAltGlyphItem.java | 2 +- src/main/java/org/htmlunit/svg/SvgAnchor.java | 2 +- src/main/java/org/htmlunit/svg/SvgAnimate.java | 2 +- src/main/java/org/htmlunit/svg/SvgAnimateColor.java | 2 +- src/main/java/org/htmlunit/svg/SvgAnimateMotion.java | 2 +- src/main/java/org/htmlunit/svg/SvgAnimateTransform.java | 2 +- src/main/java/org/htmlunit/svg/SvgCircle.java | 2 +- src/main/java/org/htmlunit/svg/SvgClipPath.java | 2 +- src/main/java/org/htmlunit/svg/SvgColorProfile.java | 2 +- src/main/java/org/htmlunit/svg/SvgCursor.java | 2 +- src/main/java/org/htmlunit/svg/SvgDefs.java | 2 +- src/main/java/org/htmlunit/svg/SvgDesc.java | 2 +- src/main/java/org/htmlunit/svg/SvgElement.java | 2 +- src/main/java/org/htmlunit/svg/SvgElementFactory.java | 2 +- src/main/java/org/htmlunit/svg/SvgEllipse.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeBlend.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeColorMatrix.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeComponentTransfer.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeComposite.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeConvolveMatrix.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeDiffuseLighting.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeDisplacementMap.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeDistantLight.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeFlood.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeFuncA.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeFuncB.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeFuncG.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeFuncR.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeGaussianBlur.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeImage.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeMerge.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeMergeNode.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeMorphology.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeOffset.java | 2 +- src/main/java/org/htmlunit/svg/SvgFePointLight.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeSpecularLighting.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeSpotLight.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeTile.java | 2 +- src/main/java/org/htmlunit/svg/SvgFeTurbulence.java | 2 +- src/main/java/org/htmlunit/svg/SvgFilter.java | 2 +- src/main/java/org/htmlunit/svg/SvgFont.java | 2 +- src/main/java/org/htmlunit/svg/SvgFontFace.java | 2 +- src/main/java/org/htmlunit/svg/SvgFontFaceFormat.java | 2 +- src/main/java/org/htmlunit/svg/SvgFontFaceName.java | 2 +- src/main/java/org/htmlunit/svg/SvgFontFaceSrc.java | 2 +- src/main/java/org/htmlunit/svg/SvgFontFaceURI.java | 2 +- src/main/java/org/htmlunit/svg/SvgForeignObject.java | 2 +- src/main/java/org/htmlunit/svg/SvgGlyph.java | 2 +- src/main/java/org/htmlunit/svg/SvgGlyphRef.java | 2 +- src/main/java/org/htmlunit/svg/SvgGroup.java | 2 +- src/main/java/org/htmlunit/svg/SvgHKern.java | 2 +- src/main/java/org/htmlunit/svg/SvgImage.java | 2 +- src/main/java/org/htmlunit/svg/SvgLine.java | 2 +- src/main/java/org/htmlunit/svg/SvgLinearGradient.java | 2 +- src/main/java/org/htmlunit/svg/SvgMPath.java | 2 +- src/main/java/org/htmlunit/svg/SvgMarker.java | 2 +- src/main/java/org/htmlunit/svg/SvgMask.java | 2 +- src/main/java/org/htmlunit/svg/SvgMetadata.java | 2 +- src/main/java/org/htmlunit/svg/SvgMissingGlyph.java | 2 +- src/main/java/org/htmlunit/svg/SvgPath.java | 2 +- src/main/java/org/htmlunit/svg/SvgPattern.java | 2 +- src/main/java/org/htmlunit/svg/SvgPolygon.java | 2 +- src/main/java/org/htmlunit/svg/SvgPolyline.java | 2 +- src/main/java/org/htmlunit/svg/SvgRadialGradient.java | 2 +- src/main/java/org/htmlunit/svg/SvgRect.java | 2 +- src/main/java/org/htmlunit/svg/SvgScript.java | 2 +- src/main/java/org/htmlunit/svg/SvgSet.java | 2 +- src/main/java/org/htmlunit/svg/SvgStop.java | 2 +- src/main/java/org/htmlunit/svg/SvgStyle.java | 2 +- src/main/java/org/htmlunit/svg/SvgSwitch.java | 2 +- src/main/java/org/htmlunit/svg/SvgSymbol.java | 2 +- src/main/java/org/htmlunit/svg/SvgTRef.java | 2 +- src/main/java/org/htmlunit/svg/SvgTSpan.java | 2 +- src/main/java/org/htmlunit/svg/SvgText.java | 2 +- src/main/java/org/htmlunit/svg/SvgTextPath.java | 2 +- src/main/java/org/htmlunit/svg/SvgTitle.java | 2 +- src/main/java/org/htmlunit/svg/SvgUse.java | 2 +- src/main/java/org/htmlunit/svg/SvgVKern.java | 2 +- src/main/java/org/htmlunit/svg/SvgView.java | 2 +- src/main/java/org/htmlunit/svg/package-info.java | 2 +- src/main/java/org/htmlunit/util/ArrayUtils.java | 2 +- src/main/java/org/htmlunit/util/Cookie.java | 2 +- src/main/java/org/htmlunit/util/DebuggingWebConnection.java | 2 +- src/main/java/org/htmlunit/util/EncodingSniffer.java | 2 +- src/main/java/org/htmlunit/util/FalsifyingWebConnection.java | 2 +- src/main/java/org/htmlunit/util/HeaderUtils.java | 2 +- src/main/java/org/htmlunit/util/KeyDataPair.java | 2 +- src/main/java/org/htmlunit/util/MimeType.java | 2 +- src/main/java/org/htmlunit/util/NameValuePair.java | 2 +- src/main/java/org/htmlunit/util/OrderedFastHashMap.java | 2 +- src/main/java/org/htmlunit/util/SerializableLock.java | 2 +- src/main/java/org/htmlunit/util/StringUtils.java | 2 +- src/main/java/org/htmlunit/util/UrlUtils.java | 2 +- src/main/java/org/htmlunit/util/WebClientUtils.java | 2 +- src/main/java/org/htmlunit/util/WebConnectionWrapper.java | 2 +- src/main/java/org/htmlunit/util/WebResponseWrapper.java | 2 +- src/main/java/org/htmlunit/util/XUserDefinedCharset.java | 2 +- src/main/java/org/htmlunit/util/XmlUtils.java | 2 +- src/main/java/org/htmlunit/util/geometry/Circle2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/Line2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/Point2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/Polygon2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/Rectangle2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/Shape2D.java | 2 +- src/main/java/org/htmlunit/util/geometry/package-info.java | 2 +- src/main/java/org/htmlunit/util/package-info.java | 2 +- .../java/org/htmlunit/websocket/JettyWebSocketAdapter.java | 2 +- src/main/java/org/htmlunit/websocket/WebSocketAdapter.java | 2 +- .../java/org/htmlunit/websocket/WebSocketCookieStore.java | 2 +- src/main/java/org/htmlunit/websocket/package-info.java | 2 +- src/main/java/org/htmlunit/webstart/WebStartHandler.java | 2 +- src/main/java/org/htmlunit/webstart/package-info.java | 2 +- src/main/java/org/htmlunit/xml/XmlPage.java | 2 +- src/main/java/org/htmlunit/xml/package-info.java | 2 +- src/test/java/org/htmlunit/AbstractPageTest.java | 2 +- src/test/java/org/htmlunit/BinaryPageTest.java | 2 +- src/test/java/org/htmlunit/BrowserRunnerTest.java | 2 +- src/test/java/org/htmlunit/BrowserVersion2Test.java | 2 +- src/test/java/org/htmlunit/BrowserVersionFeaturesTest.java | 2 +- src/test/java/org/htmlunit/BrowserVersionTest.java | 2 +- src/test/java/org/htmlunit/CacheTest.java | 2 +- src/test/java/org/htmlunit/CodeStyleTest.java | 2 +- src/test/java/org/htmlunit/CookieManager2Test.java | 2 +- src/test/java/org/htmlunit/CookieManager3Test.java | 2 +- src/test/java/org/htmlunit/CookieManager4Test.java | 2 +- src/test/java/org/htmlunit/CookieManager5Test.java | 2 +- src/test/java/org/htmlunit/CookieManagerTest.java | 2 +- .../java/org/htmlunit/DefaultCredentialsProvider2Test.java | 2 +- .../java/org/htmlunit/DefaultCredentialsProvider3Test.java | 2 +- .../java/org/htmlunit/DefaultCredentialsProviderTest.java | 2 +- src/test/java/org/htmlunit/DefaultPageCreator2Test.java | 2 +- src/test/java/org/htmlunit/DefaultPageCreatorTest.java | 2 +- src/test/java/org/htmlunit/ErrorOutputChecker.java | 2 +- src/test/java/org/htmlunit/ErrorOutputCheckerTest.java | 2 +- src/test/java/org/htmlunit/ExternalTest.java | 2 +- .../org/htmlunit/FailingHttpStatusCodeExceptionTest.java | 2 +- src/test/java/org/htmlunit/History2Test.java | 2 +- src/test/java/org/htmlunit/HistoryTest.java | 2 +- src/test/java/org/htmlunit/HttpWebConnection2Test.java | 2 +- src/test/java/org/htmlunit/HttpWebConnection3Test.java | 2 +- .../java/org/htmlunit/HttpWebConnectionInsecureSSLTest.java | 2 +- ...ttpWebConnectionInsecureSSLWithClientCertificateTest.java | 2 +- src/test/java/org/htmlunit/HttpWebConnectionProxyTest.java | 2 +- src/test/java/org/htmlunit/HttpWebConnectionTest.java | 2 +- .../java/org/htmlunit/HttpWebConnectionTruststoreTest.java | 2 +- src/test/java/org/htmlunit/ImmediateRefreshHandlerTest.java | 2 +- src/test/java/org/htmlunit/IncorrectnessListenerTest.java | 2 +- src/test/java/org/htmlunit/MiniServer.java | 2 +- src/test/java/org/htmlunit/MockWebConnectionTest.java | 2 +- src/test/java/org/htmlunit/NiceRefreshHandlerTest.java | 2 +- .../htmlunit/NicelyResynchronizingAjaxControllerTest.java | 2 +- src/test/java/org/htmlunit/NoHttpResponseTest.java | 2 +- src/test/java/org/htmlunit/NotYetImplementedTest.java | 2 +- .../java/org/htmlunit/ObjectInstantiationExceptionTest.java | 2 +- src/test/java/org/htmlunit/PageReloadTest.java | 2 +- src/test/java/org/htmlunit/PrimitiveWebServer.java | 2 +- src/test/java/org/htmlunit/ScriptExceptionTest.java | 2 +- src/test/java/org/htmlunit/ScriptPreProcessorTest.java | 2 +- src/test/java/org/htmlunit/SgmlPage2Test.java | 2 +- src/test/java/org/htmlunit/SgmlPageTest.java | 2 +- src/test/java/org/htmlunit/SimpleWebTestCase.java | 2 +- src/test/java/org/htmlunit/SocksProxyTest.java | 2 +- src/test/java/org/htmlunit/StorageHolderTest.java | 2 +- src/test/java/org/htmlunit/StringWebResponseTest.java | 2 +- src/test/java/org/htmlunit/TestCaseTest.java | 2 +- src/test/java/org/htmlunit/TextPageTest.java | 2 +- src/test/java/org/htmlunit/TopLevelWindowTest.java | 2 +- src/test/java/org/htmlunit/VersionTest.java | 2 +- src/test/java/org/htmlunit/WaitingRefreshHandlerTest.java | 2 +- src/test/java/org/htmlunit/WebAssertTest.java | 2 +- src/test/java/org/htmlunit/WebClient2Test.java | 2 +- src/test/java/org/htmlunit/WebClient3Test.java | 2 +- src/test/java/org/htmlunit/WebClient4Test.java | 2 +- src/test/java/org/htmlunit/WebClient5Test.java | 2 +- src/test/java/org/htmlunit/WebClient6Test.java | 2 +- src/test/java/org/htmlunit/WebClient7Test.java | 2 +- src/test/java/org/htmlunit/WebClient8Test.java | 2 +- src/test/java/org/htmlunit/WebClient9Test.java | 2 +- src/test/java/org/htmlunit/WebClientOptionsTest.java | 2 +- src/test/java/org/htmlunit/WebClientTest.java | 2 +- .../org/htmlunit/WebClientWaitForBackgroundJobsTest.java | 2 +- src/test/java/org/htmlunit/WebDriverTestCase.java | 2 +- src/test/java/org/htmlunit/WebRequest2Test.java | 2 +- src/test/java/org/htmlunit/WebRequestTest.java | 2 +- src/test/java/org/htmlunit/WebResponse2Test.java | 2 +- src/test/java/org/htmlunit/WebResponseData2Test.java | 2 +- src/test/java/org/htmlunit/WebResponseDataTest.java | 2 +- src/test/java/org/htmlunit/WebResponseTest.java | 2 +- src/test/java/org/htmlunit/WebServerTestCase.java | 2 +- src/test/java/org/htmlunit/WebTestCase.java | 2 +- src/test/java/org/htmlunit/WebWindowListenerTest.java | 2 +- src/test/java/org/htmlunit/annotations/StandardsMode.java | 2 +- src/test/java/org/htmlunit/archunit/Architecture2Test.java | 2 +- src/test/java/org/htmlunit/archunit/ArchitectureTest.java | 2 +- .../java/org/htmlunit/attachment/AttachmentHandlerTest.java | 2 +- src/test/java/org/htmlunit/attachment/AttachmentTest.java | 2 +- .../htmlunit/attachment/CollectingAttachmentHandlerTest.java | 2 +- .../attachment/DownloadingAttachmentHandlerTest.java | 2 +- .../java/org/htmlunit/css/StyleAttributesIterable2Test.java | 2 +- .../java/org/htmlunit/css/StyleAttributesIterableTest.java | 2 +- src/test/java/org/htmlunit/css/StyleAttributesTest.java | 2 +- src/test/java/org/htmlunit/doc/DetailsTest.java | 2 +- src/test/java/org/htmlunit/doc/DocumentationTests.java | 2 +- src/test/java/org/htmlunit/doc/FaqTest.java | 2 +- src/test/java/org/htmlunit/doc/StorageHolderTest.java | 2 +- src/test/java/org/htmlunit/doc/WebClientTest.java | 2 +- .../encoding/AbstractXMLHttpRequestEncodingTest.java | 2 +- .../org/htmlunit/encoding/CssStyleSheetEncodingTest.java | 2 +- .../java/org/htmlunit/encoding/HtmlPageEncodingTest.java | 2 +- src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java | 2 +- .../encoding/XMLHttpRequestResponseAsTextEncodingTest.java | 2 +- .../encoding/XMLHttpRequestResponseAsXMLEncodingTest.java | 2 +- .../encoding/XMLHttpRequestResponseTextEncodingTest.java | 2 +- .../encoding/XMLHttpRequestResponseXMLEncodingTest.java | 2 +- src/test/java/org/htmlunit/fuzzer/FuzzerTest.java | 2 +- .../general/DedicatedWorkerGlobalScopeClassNameTest.java | 2 +- .../general/DedicatedWorkerGlobalScopeConstantsTest.java | 2 +- .../general/DedicatedWorkerGlobalScopeTypeOfTest.java | 2 +- .../java/org/htmlunit/general/ElementChildNodesTest.java | 2 +- .../java/org/htmlunit/general/ElementClosesItselfTest.java | 2 +- src/test/java/org/htmlunit/general/ElementCreationTest.java | 2 +- .../org/htmlunit/general/ElementDefaultStyleDisplayTest.java | 2 +- src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java | 2 +- .../java/org/htmlunit/general/ElementOwnPropertiesTest.java | 2 +- .../org/htmlunit/general/ElementOwnPropertySymbolsTest.java | 2 +- .../java/org/htmlunit/general/ElementPropertiesTest.java | 2 +- src/test/java/org/htmlunit/general/HostClassNameTest.java | 2 +- src/test/java/org/htmlunit/general/HostConstantsTest.java | 2 +- src/test/java/org/htmlunit/general/HostConstructorTest.java | 2 +- src/test/java/org/htmlunit/general/HostExtractor.java | 2 +- src/test/java/org/htmlunit/general/HostTestsTest.java | 2 +- src/test/java/org/htmlunit/general/HostTypeOfTest.java | 2 +- .../org/htmlunit/general/huge/ElementClosesElementTest.java | 2 +- src/test/java/org/htmlunit/general/huge/HostParentOf.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfATest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfBTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfCTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfDTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfFTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfHTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfITest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfMTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfNTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfPTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfS2Test.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfSTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfTTest.java | 2 +- .../java/org/htmlunit/general/huge/HostParentOfWTest.java | 2 +- src/test/java/org/htmlunit/html/AttributesTest.java | 2 +- src/test/java/org/htmlunit/html/BaseFrameElement2Test.java | 2 +- src/test/java/org/htmlunit/html/BaseFrameElementTest.java | 2 +- src/test/java/org/htmlunit/html/ClickableElement2Test.java | 2 +- src/test/java/org/htmlunit/html/ClickableElementTest.java | 2 +- .../java/org/htmlunit/html/DefaultElementFactoryTest.java | 2 +- src/test/java/org/htmlunit/html/DisabledElementTest.java | 2 +- src/test/java/org/htmlunit/html/DomAttrTest.java | 2 +- src/test/java/org/htmlunit/html/DomCommentTest.java | 2 +- src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java | 2 +- src/test/java/org/htmlunit/html/DomElement2Test.java | 2 +- src/test/java/org/htmlunit/html/DomElementTest.java | 2 +- src/test/java/org/htmlunit/html/DomNamespaceNodeTest.java | 2 +- src/test/java/org/htmlunit/html/DomNode2Test.java | 2 +- src/test/java/org/htmlunit/html/DomNodeIterator2Test.java | 2 +- src/test/java/org/htmlunit/html/DomNodeIteratorTest.java | 2 +- src/test/java/org/htmlunit/html/DomNodeListTest.java | 2 +- src/test/java/org/htmlunit/html/DomNodeTest.java | 2 +- src/test/java/org/htmlunit/html/DomTextTest.java | 2 +- src/test/java/org/htmlunit/html/FocusableElement2Test.java | 2 +- src/test/java/org/htmlunit/html/FocusableElementTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlAnchor2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlAnchorTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlArea2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlAreaTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlAttrTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlBaseFontTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlBaseTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlBodyTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlBreakTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlButton2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlButtonInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlButtonTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlCanvasTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlCaptionTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlCheckBoxInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlColorInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlColorInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlDateInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlDateInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java | 2 +- .../java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java | 2 +- .../org/htmlunit/html/HtmlDefinitionDescriptionTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlDirectoryTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlDivision2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlDivisionTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlElement2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlElementTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlEmailInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlEmbedTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlFieldSetTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlFileInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlFileInput3Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlFileInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlFontTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlForm2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlFormTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlFrame2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlFrameSetTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlFrameTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlHeadTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlHeading2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlHeadingTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlHiddenInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlHtmlTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlImage2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlImageDownloadTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlImageInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlImageInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlImageTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlInlineFrameTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlInput3Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlItalicTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlLabel2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlLabelTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlLegendTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlLink2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlLinkTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlListItemTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlMapTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlMenuTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlMetaTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlModificationTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlMonthInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlNoFramesTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlNoScript2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlNoScriptTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlNumberInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlObject2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlObjectTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlOption2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlOptionTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlOrderedListTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlOutputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlPage2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlPage3Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlPage4Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlPageTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlPageTest5.java | 2 +- src/test/java/org/htmlunit/html/HtmlParagraphTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlParameterTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java | 2 +- .../java/org/htmlunit/html/HtmlPreformattedText2Test.java | 2 +- .../java/org/htmlunit/html/HtmlPreformattedTextTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlProgressTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlQuoteTest.java | 2 +- .../java/org/htmlunit/html/HtmlRadioButtonInput2Test.java | 2 +- .../java/org/htmlunit/html/HtmlRadioButtonInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlRangeInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlRangeInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlRbTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlResetInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlResetInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlRpTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlRtTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlRtcTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlScript2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlScriptTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlSearchInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSelect2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlSelectTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSlotTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSpan2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlSpanTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlStyle2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlStyleTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlSvgTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTable2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableCellTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableColumnTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableRowTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableSection2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableSectionTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTableTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTelInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTelInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTemplate2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTemplateTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTextArea2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTextAreaTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTextInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTextInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTimeInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTimeInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlTitle2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlTitleTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlUnorderedList2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlUrlInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java | 2 +- src/test/java/org/htmlunit/html/HtmlWeekInputTest.java | 2 +- src/test/java/org/htmlunit/html/HtmlWordBreakTest.java | 2 +- .../html/IEConditionalCommentExpressionEvaluatorTest.java | 2 +- .../java/org/htmlunit/html/IEConditionalCommentsTest.java | 2 +- src/test/java/org/htmlunit/html/LoggingRefreshHandler.java | 2 +- .../java/org/htmlunit/html/NamedAttrNodeMapImplTest.java | 2 +- src/test/java/org/htmlunit/html/XHtmlPage2Test.java | 2 +- src/test/java/org/htmlunit/html/XHtmlPageTest.java | 2 +- src/test/java/org/htmlunit/html/XmlSerializerTest.java | 2 +- src/test/java/org/htmlunit/html/impl/SimpleRangeTest.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParser3Test.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java | 2 +- .../org/htmlunit/html/parser/HTMLParserListenerTest.java | 2 +- src/test/java/org/htmlunit/html/parser/HTMLParserTest.java | 2 +- .../java/org/htmlunit/html/parser/MalformedHtml2Test.java | 2 +- .../java/org/htmlunit/html/parser/MalformedHtmlTest.java | 2 +- .../htmlunit/html/performance/HugePagePerformanceTest.java | 2 +- .../html/serializer/HtmlSerializerInnerOuterText2Test.java | 2 +- .../html/serializer/HtmlSerializerNormalizedText2Test.java | 2 +- .../html/serializer/HtmlSerializerNormalizedTextTest.java | 2 +- .../html/serializer/HtmlSerializerVisibleText2Test.java | 2 +- .../html/serializer/HtmlSerializerVisibleTextTest.java | 2 +- .../java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java | 2 +- src/test/java/org/htmlunit/html/xpath/HtmlUnitXPathTest.java | 2 +- src/test/java/org/htmlunit/http/HttpUtilsTest.java | 2 +- .../org/htmlunit/httpclient/HtmlUnitCookieStoreTest.java | 2 +- src/test/java/org/htmlunit/httpclient/HttpClientTest.java | 2 +- src/test/java/org/htmlunit/javascript/ArgumentsTest.java | 2 +- src/test/java/org/htmlunit/javascript/AttributeCaseTest.java | 2 +- .../java/org/htmlunit/javascript/DebugFrameImplTest.java | 2 +- .../org/htmlunit/javascript/FunctionsRestParametersTest.java | 2 +- src/test/java/org/htmlunit/javascript/FunctionsTest.java | 2 +- .../java/org/htmlunit/javascript/FunctionsWrapper2Test.java | 2 +- .../java/org/htmlunit/javascript/FunctionsWrapperTest.java | 2 +- .../java/org/htmlunit/javascript/GlobalFunctionsTest.java | 2 +- .../org/htmlunit/javascript/HtmlUnitContextFactoryTest.java | 2 +- .../org/htmlunit/javascript/HtmlUnitScriptable2Test.java | 2 +- .../java/org/htmlunit/javascript/HtmlUnitScriptableTest.java | 2 +- .../htmlunit/javascript/IEConditionalCompilationTest.java | 2 +- src/test/java/org/htmlunit/javascript/IEWeirdSyntaxTest.java | 2 +- src/test/java/org/htmlunit/javascript/IteratorTest.java | 2 +- .../java/org/htmlunit/javascript/JavaScriptEngine2Test.java | 2 +- .../java/org/htmlunit/javascript/JavaScriptEngineTest.java | 2 +- .../htmlunit/javascript/JavascriptErrorListener2Test.java | 2 +- .../org/htmlunit/javascript/JavascriptErrorListenerTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeArrayTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeDate2Test.java | 2 +- src/test/java/org/htmlunit/javascript/NativeDateTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeErrorTest.java | 2 +- .../java/org/htmlunit/javascript/NativeFunctionTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeGlobalTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeJSONTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeMapTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeNumberTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeObjectTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeRegExpTest.java | 2 +- src/test/java/org/htmlunit/javascript/NativeStringTest.java | 2 +- .../java/org/htmlunit/javascript/NativeTypedArrayTest.java | 2 +- .../java/org/htmlunit/javascript/PostponedActionTest.java | 2 +- src/test/java/org/htmlunit/javascript/RhinoTest.java | 2 +- src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java | 2 +- .../java/org/htmlunit/javascript/ScriptableObjectTest.java | 2 +- src/test/java/org/htmlunit/javascript/ThreadTest.java | 2 +- .../background/JavaScriptJobManagerMinimalTest.java | 2 +- .../javascript/background/JavaScriptJobManagerTest.java | 2 +- .../org/htmlunit/javascript/background/MemoryLeakTest.java | 2 +- .../javascript/configuration/ClassConfigurationTest.java | 2 +- .../configuration/JavaScriptConfigurationTest.java | 2 +- .../org/htmlunit/javascript/host/ActiveXObject2Test.java | 2 +- .../org/htmlunit/javascript/host/ApplicationCacheTest.java | 2 +- .../java/org/htmlunit/javascript/host/BoxObjectTest.java | 2 +- .../org/htmlunit/javascript/host/ClientRectListTest.java | 2 +- .../java/org/htmlunit/javascript/host/ClientRectTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/Console2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/ConsoleTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/ElementTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/ExternalTest.java | 2 +- .../java/org/htmlunit/javascript/host/FontFaceSetTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/FontFaceTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/History2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/HistoryTest.java | 2 +- .../org/htmlunit/javascript/host/InstallTriggerTest.java | 2 +- .../java/org/htmlunit/javascript/host/Location2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/LocationTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/MapTest.java | 2 +- .../org/htmlunit/javascript/host/MessageChannelTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java | 2 +- .../java/org/htmlunit/javascript/host/NamedNodeMapTest.java | 2 +- .../java/org/htmlunit/javascript/host/NamespaceTest.java | 2 +- .../java/org/htmlunit/javascript/host/Navigator2Test.java | 2 +- .../java/org/htmlunit/javascript/host/NavigatorTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/NetscapeTest.java | 2 +- .../java/org/htmlunit/javascript/host/NotificationTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/PluginTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/Popup2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/PopupTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/PromiseTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/ReflectTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/ScreenTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/SetTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/StorageTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/SymbolTest.java | 2 +- .../java/org/htmlunit/javascript/host/TextDecoderTest.java | 2 +- .../java/org/htmlunit/javascript/host/TextEncoderTest.java | 2 +- .../org/htmlunit/javascript/host/URLSearchParamsTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/URLTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/WeakMapTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/WeakSetTest.java | 2 +- .../java/org/htmlunit/javascript/host/WebSocketTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/Window2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/Window3Test.java | 2 +- .../org/htmlunit/javascript/host/WindowConcurrency2Test.java | 2 +- .../org/htmlunit/javascript/host/WindowConcurrencyTest.java | 2 +- .../org/htmlunit/javascript/host/WindowPostMessageTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/WindowTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/ArrayBufferTest.java | 2 +- .../htmlunit/javascript/host/arrays/ArrayBufferViewTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/DataViewTest.java | 2 +- .../htmlunit/javascript/host/arrays/Float32ArrayTest.java | 2 +- .../htmlunit/javascript/host/arrays/Float64ArrayTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Int16ArrayTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Int32ArrayTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Int8ArrayTest.java | 2 +- .../javascript/host/arrays/SharedArrayBufferTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java | 2 +- .../org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java | 2 +- .../javascript/host/arrays/Uint8ClampedArrayTest.java | 2 +- .../htmlunit/javascript/host/canvas/CanvasGradientTest.java | 2 +- .../javascript/host/canvas/CanvasRenderingContext2DTest.java | 2 +- .../org/htmlunit/javascript/host/canvas/ImageDataTest.java | 2 +- .../javascript/host/canvas/IntersectionObserverTest.java | 2 +- .../java/org/htmlunit/javascript/host/crypto/CryptoTest.java | 2 +- .../htmlunit/javascript/host/crypto/SubtleCryptoTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java | 2 +- .../htmlunit/javascript/host/css/CSSFontFaceRuleTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSImportRuleTest.java | 2 +- .../htmlunit/javascript/host/css/CSSKeyframesRuleTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSMediaRuleTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSPageRuleTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSRuleListTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSSelector2Test.java | 2 +- .../org/htmlunit/javascript/host/css/CSSSelectorTest.java | 2 +- .../javascript/host/css/CSSStyleDeclaration2Test.java | 2 +- .../javascript/host/css/CSSStyleDeclaration3Test.java | 2 +- .../javascript/host/css/CSSStyleDeclaration4Test.java | 2 +- .../javascript/host/css/CSSStyleDeclarationTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSStyleRuleTest.java | 2 +- .../org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java | 2 +- .../org/htmlunit/javascript/host/css/CSSStyleSheetTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/css/CSSTest.java | 2 +- .../javascript/host/css/ComputedCSSStyleDeclarationTest.java | 2 +- .../org/htmlunit/javascript/host/css/ComputedFontTest.java | 2 +- .../org/htmlunit/javascript/host/css/MediaQueryListTest.java | 2 +- .../org/htmlunit/javascript/host/css/StyleMediaTest.java | 2 +- .../org/htmlunit/javascript/host/css/StyleSheetListTest.java | 2 +- .../host/css/property/ElementClientHeightTest.java | 2 +- .../javascript/host/css/property/ElementClientWidthTest.java | 2 +- .../host/css/property/ElementOffsetHeightTest.java | 2 +- .../javascript/host/css/property/ElementOffsetWidthTest.java | 2 +- .../org/htmlunit/javascript/host/dom/AbstractRangeTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java | 2 +- .../org/htmlunit/javascript/host/dom/CDATASectionTest.java | 2 +- .../org/htmlunit/javascript/host/dom/CharacterDataTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/CommentTest.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMExceptionTest.java | 2 +- .../htmlunit/javascript/host/dom/DOMImplementationTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DOMParserTest.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMStringMapTest.java | 2 +- .../org/htmlunit/javascript/host/dom/DOMTokenListTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/Document2Test.java | 2 +- .../htmlunit/javascript/host/dom/DocumentFragmentTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/DocumentTest.java | 2 +- .../org/htmlunit/javascript/host/dom/DocumentTypeTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/EventNodeTest.java | 2 +- .../htmlunit/javascript/host/dom/MutationObserverTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/Node2Test.java | 2 +- .../org/htmlunit/javascript/host/dom/NodeFilterTest.java | 2 +- .../org/htmlunit/javascript/host/dom/NodeIteratorTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/NodeListTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java | 2 +- .../org/htmlunit/javascript/host/dom/RadioNodeListTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/RangeTest.java | 2 +- .../org/htmlunit/javascript/host/dom/Selection2Test.java | 2 +- .../java/org/htmlunit/javascript/host/dom/SelectionTest.java | 2 +- .../java/org/htmlunit/javascript/host/dom/TextRangeTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/dom/TextTest.java | 2 +- .../org/htmlunit/javascript/host/dom/TreeWalkerTest.java | 2 +- .../org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java | 2 +- .../htmlunit/javascript/host/dom/XPathExpressionTest.java | 2 +- .../org/htmlunit/javascript/host/dom/XPathResultTest.java | 2 +- .../host/draganddrop/DataTransferItemListTest.java | 2 +- .../javascript/host/draganddrop/DataTransferItemTest.java | 2 +- .../javascript/host/draganddrop/DataTransferTest.java | 2 +- .../htmlunit/javascript/host/event/AnimationEventTest.java | 2 +- .../javascript/host/event/AudioProcessingEventTest.java | 2 +- .../javascript/host/event/BeforeInstallPromptEventTest.java | 2 +- .../javascript/host/event/BeforeUnloadEvent2Test.java | 2 +- .../javascript/host/event/BeforeUnloadEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/BlobEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/CloseEventTest.java | 2 +- .../htmlunit/javascript/host/event/CompositionEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/CustomEventTest.java | 2 +- .../javascript/host/event/DeviceMotionEventTest.java | 2 +- .../javascript/host/event/DeviceOrientationEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/DragEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/ErrorEventTest.java | 2 +- .../java/org/htmlunit/javascript/host/event/Event2Test.java | 2 +- .../java/org/htmlunit/javascript/host/event/Event3Test.java | 2 +- .../java/org/htmlunit/javascript/host/event/Event4Test.java | 2 +- .../org/htmlunit/javascript/host/event/EventHandlerTest.java | 2 +- .../javascript/host/event/EventListenersContainerTest.java | 2 +- .../org/htmlunit/javascript/host/event/EventTargetTest.java | 2 +- .../java/org/htmlunit/javascript/host/event/EventTest.java | 2 +- .../org/htmlunit/javascript/host/event/FocusEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/GamepadEventTest.java | 2 +- .../htmlunit/javascript/host/event/HashChangeEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/InputEventTest.java | 2 +- .../htmlunit/javascript/host/event/KeyboardEvent2Test.java | 2 +- .../htmlunit/javascript/host/event/KeyboardEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/MessageEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/MouseEventTest.java | 2 +- .../htmlunit/javascript/host/event/MutationEventTest.java | 2 +- .../host/event/OfflineAudioCompletionEventTest.java | 2 +- .../javascript/host/event/PageTransitionEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/PointerEventTest.java | 2 +- .../htmlunit/javascript/host/event/PopStateEventTest.java | 2 +- .../htmlunit/javascript/host/event/ProgressEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/StorageEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/SubmitEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/TextEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/TimeEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/TouchEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/TrackEventTest.java | 2 +- .../htmlunit/javascript/host/event/TransitionEventTest.java | 2 +- .../java/org/htmlunit/javascript/host/event/UIEventTest.java | 2 +- .../javascript/host/event/WebGLContextEventTest.java | 2 +- .../org/htmlunit/javascript/host/event/WheelEventTest.java | 2 +- .../java/org/htmlunit/javascript/host/file/BlobTest.java | 2 +- .../java/org/htmlunit/javascript/host/file/FileListTest.java | 2 +- .../org/htmlunit/javascript/host/file/FileReaderTest.java | 2 +- .../java/org/htmlunit/javascript/host/file/FileTest.java | 2 +- .../org/htmlunit/javascript/host/geo/GeolocationTest.java | 2 +- .../org/htmlunit/javascript/host/html/EnumeratorTest.java | 2 +- .../org/htmlunit/javascript/host/html/FormChildTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLAllCollectionTest.java | 2 +- .../javascript/host/html/HTMLAnchorElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLAnchorElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLAreaElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLAudioElementTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLBRElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLBaseElementTest.java | 2 +- .../javascript/host/html/HTMLBaseFontElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLBodyElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLButtonElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLCanvasElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLCollection2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLCollectionTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDDElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLDListElementTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDTElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLDataElementTest.java | 2 +- .../javascript/host/html/HTMLDetailsElementTest.java | 2 +- .../javascript/host/html/HTMLDialogElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLDialogElementTest.java | 2 +- .../javascript/host/html/HTMLDirectoryElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLDivElementTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDocument2Test.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDocument3Test.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLDocumentTest.java | 2 +- .../javascript/host/html/HTMLDocumentWrite2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLDocumentWriteTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLElement2Test.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLElement3Test.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLEmbedElementTest.java | 2 +- .../javascript/host/html/HTMLFieldSetElementTest.java | 2 +- .../javascript/host/html/HTMLFormControlsCollectionTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLFormElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLFormElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLFrameElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLFrameElementTest.java | 2 +- .../javascript/host/html/HTMLFrameSetElementTest.java | 2 +- .../org/htmlunit/javascript/host/html/HTMLHRElementTest.java | 2 +- .../javascript/host/html/HTMLHeadingElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLHtmlElementTest.java | 2 +- .../javascript/host/html/HTMLIFrameElement2Test.java | 2 +- .../javascript/host/html/HTMLIFrameElement3Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLIFrameElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLImageElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLImageElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLInputElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLInputElementTest.java | 2 +- .../javascript/host/html/HTMLIsIndexElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLLabelElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLLegendElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLLinkElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLMapElementTest.java | 2 +- .../javascript/host/html/HTMLMarqueeElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLMediaElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLMenuElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLMetaElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLMeterElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLOListElementTest.java | 2 +- .../javascript/host/html/HTMLObjectElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLObjectElementTest.java | 2 +- .../javascript/host/html/HTMLOptGroupElementTest.java | 2 +- .../javascript/host/html/HTMLOptionElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLOptionElementTest.java | 2 +- .../javascript/host/html/HTMLOptionsCollectionTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLOutputElementTest.java | 2 +- .../javascript/host/html/HTMLParagraphElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLParamElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLPhraseElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLPreElementTest.java | 2 +- .../javascript/host/html/HTMLProgressElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLQuoteElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLScriptElementTest.java | 2 +- .../javascript/host/html/HTMLSelectElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLSelectElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLSpanElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLStyleElementTest.java | 2 +- .../javascript/host/html/HTMLTableCaptionElementTest.java | 2 +- .../javascript/host/html/HTMLTableCellElementTest.java | 2 +- .../javascript/host/html/HTMLTableColElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableElement2Test.java | 2 +- .../htmlunit/javascript/host/html/HTMLTableElementTest.java | 2 +- .../javascript/host/html/HTMLTableRowElementTest.java | 2 +- .../javascript/host/html/HTMLTableSectionElementTest.java | 2 +- .../javascript/host/html/HTMLTemplateElementTest.java | 2 +- .../javascript/host/html/HTMLTextAreaElement2Test.java | 2 +- .../javascript/host/html/HTMLTextAreaElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLTextElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLTimeElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLTitleElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLUListElementTest.java | 2 +- .../htmlunit/javascript/host/html/HTMLVideoElementTest.java | 2 +- .../java/org/htmlunit/javascript/host/intl/CollatorTest.java | 2 +- .../htmlunit/javascript/host/intl/DateTimeFormat2Test.java | 2 +- .../htmlunit/javascript/host/intl/DateTimeFormatTest.java | 2 +- .../java/org/htmlunit/javascript/host/intl/IntlTest.java | 2 +- .../org/htmlunit/javascript/host/intl/NumberFormat2Test.java | 2 +- .../org/htmlunit/javascript/host/intl/NumberFormatTest.java | 2 +- .../htmlunit/javascript/host/intl/V8BreakIteratorTest.java | 2 +- .../org/htmlunit/javascript/host/media/AudioContextTest.java | 2 +- .../org/htmlunit/javascript/host/media/AudioParamTest.java | 2 +- .../htmlunit/javascript/host/media/BaseAudioContextTest.java | 2 +- .../org/htmlunit/javascript/host/media/GainNodeTest.java | 2 +- .../org/htmlunit/javascript/host/media/MediaDevicesTest.java | 2 +- .../org/htmlunit/javascript/host/media/MediaSourceTest.java | 2 +- .../org/htmlunit/javascript/host/media/MediaStreamTest.java | 2 +- .../javascript/host/media/OfflineAudioContextTest.java | 2 +- .../javascript/host/media/PeriodicSyncManagerTest.java | 2 +- .../javascript/host/media/rtc/RTCPeerConnectionTest.java | 2 +- .../javascript/host/network/NetworkInformationTest.java | 2 +- .../host/performance/PerformanceNavigationTest.java | 2 +- .../javascript/host/performance/PerformanceTest.java | 2 +- .../javascript/host/performance/PerformanceTimingTest.java | 2 +- .../java/org/htmlunit/javascript/host/svg/SVGAngleTest.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGPathElementTest.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGSVGElementTest.java | 2 +- .../htmlunit/javascript/host/svg/SVGTSpanElementTest.java | 2 +- src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java | 2 +- .../javascript/host/svg/SVGTextContentElementTest.java | 2 +- .../org/htmlunit/javascript/host/svg/SVGTextElementTest.java | 2 +- .../htmlunit/javascript/host/svg/SVGTextPathElementTest.java | 2 +- .../host/worker/DedicatedWorkerGlobalScopeTest.java | 2 +- .../htmlunit/javascript/host/worker/WorkerLocationTest.java | 2 +- .../htmlunit/javascript/host/worker/WorkerNavigatorTest.java | 2 +- .../java/org/htmlunit/javascript/host/worker/WorkerTest.java | 2 +- .../java/org/htmlunit/javascript/host/xml/FormDataTest.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLDocument2Test.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLDocument3Test.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLDocumentTest.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequest2Test.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequest3Test.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequest4Test.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequest5Test.java | 2 +- .../htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java | 2 +- .../javascript/host/xml/XMLHttpRequestEventTargetTest.java | 2 +- .../javascript/host/xml/XMLHttpRequestLifeCycleTest.java | 2 +- .../javascript/host/xml/XMLHttpRequestSentContentTest.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java | 2 +- .../org/htmlunit/javascript/host/xml/XMLSerializerTest.java | 2 +- .../org/htmlunit/javascript/host/xml/XSLTProcessorTest.java | 2 +- .../java/org/htmlunit/javascript/polyfill/PolyfillTest.java | 2 +- .../javascript/proxyautoconfig/ProxyAutoConfigTest.java | 2 +- .../htmlunit/javascript/regexp/HtmlUnitRegExpProxy2Test.java | 2 +- .../htmlunit/javascript/regexp/HtmlUnitRegExpProxy3Test.java | 2 +- ...mlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java | 2 +- .../regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java | 2 +- .../regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java | 2 +- .../htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java | 2 +- .../javascript/regexp/RegExpJsToJavaConverter2Test.java | 2 +- .../javascript/regexp/RegExpJsToJavaConverterTest.java | 2 +- src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java | 2 +- .../javascript/regexp/mozilla/MozillaTestGenerator.java | 2 +- .../javascript/regexp/mozilla/js1_2/AlphanumericTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/AsteriskTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/BackslashTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/BackspaceTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/BeginLineTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/CharacterClassTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/CompileTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/EndLineTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/EverythingTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/HexadecimalTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/IntervalTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/ParenthesesTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/QuestionMarkTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/SimpleFormTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/StringReplaceTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/StringSearchTest.java | 2 +- .../javascript/regexp/mozilla/js1_2/StringSplitTest.java | 2 +- .../htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java | 2 +- .../java/org/htmlunit/junit/BrowserParameterizedRunner.java | 2 +- src/test/java/org/htmlunit/junit/BrowserRunner.java | 2 +- src/test/java/org/htmlunit/junit/BrowserStatement.java | 2 +- .../java/org/htmlunit/junit/BrowserVersionClassRunner.java | 2 +- .../junit/BrowserVersionClassRunnerWithParameters.java | 2 +- .../org/htmlunit/junit/FrameworkMethodWithParameters.java | 2 +- src/test/java/org/htmlunit/junit/Retry.java | 2 +- src/test/java/org/htmlunit/junit/RetryRule.java | 2 +- .../java/org/htmlunit/junit/StandardsFrameworkMethod.java | 2 +- src/test/java/org/htmlunit/junit/StandardsTestClass.java | 2 +- src/test/java/org/htmlunit/junit/TestCaseCorrector.java | 2 +- src/test/java/org/htmlunit/libraries/BirdTest.java | 2 +- src/test/java/org/htmlunit/libraries/ChartJs2x9x4Test.java | 2 +- src/test/java/org/htmlunit/libraries/ChartJs4x4x6Test.java | 2 +- src/test/java/org/htmlunit/libraries/CurvyCornersTest.java | 2 +- src/test/java/org/htmlunit/libraries/Dojo102Test.java | 2 +- src/test/java/org/htmlunit/libraries/Dojo193Test.java | 2 +- src/test/java/org/htmlunit/libraries/DojoTestBase.java | 2 +- src/test/java/org/htmlunit/libraries/ExtJS22Test.java | 2 +- src/test/java/org/htmlunit/libraries/GWTTest.java | 2 +- src/test/java/org/htmlunit/libraries/GWTTest2x11x0.java | 2 +- src/test/java/org/htmlunit/libraries/GWTTest2x5x0.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java | 2 +- src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java | 2 +- src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java | 2 +- src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java | 2 +- src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java | 2 +- src/test/java/org/htmlunit/libraries/JQueryTestBase.java | 2 +- .../java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java | 2 +- .../java/org/htmlunit/libraries/LibraryDependencyTest.java | 2 +- src/test/java/org/htmlunit/libraries/MochiKitTest.java | 2 +- src/test/java/org/htmlunit/libraries/MochiKitTest1x4x1.java | 2 +- src/test/java/org/htmlunit/libraries/MochiKitTest1x4x2.java | 2 +- src/test/java/org/htmlunit/libraries/MooTools121Test.java | 2 +- src/test/java/org/htmlunit/libraries/MyFacesTest.java | 2 +- .../org/htmlunit/libraries/PolymerWebComponentsTest.java | 2 +- .../java/org/htmlunit/libraries/Prototype150rc1Test.java | 2 +- src/test/java/org/htmlunit/libraries/Prototype160Test.java | 2 +- src/test/java/org/htmlunit/libraries/Prototype161Test.java | 2 +- src/test/java/org/htmlunit/libraries/Prototype171Test.java | 2 +- src/test/java/org/htmlunit/libraries/PrototypeTestBase.java | 2 +- src/test/java/org/htmlunit/libraries/Sarissa0993Test.java | 2 +- src/test/java/org/htmlunit/libraries/Sarissa0997Test.java | 2 +- src/test/java/org/htmlunit/libraries/TinyMceTest.java | 2 +- src/test/java/org/htmlunit/libraries/VueTest.java | 2 +- src/test/java/org/htmlunit/libraries/YuiTest.java | 2 +- .../htmlunit/platform/dom/traversal/DomTreeWalkerTest.java | 2 +- .../java/org/htmlunit/protocol/data/DataURLDecoder2Test.java | 2 +- .../java/org/htmlunit/protocol/data/DataURLDecoderTest.java | 2 +- src/test/java/org/htmlunit/selenium/IsDisplayedTest.java | 2 +- src/test/java/org/htmlunit/selenium/SeleniumTest.java | 2 +- src/test/java/org/htmlunit/selenium/TypingTest.java | 2 +- src/test/java/org/htmlunit/source/ElementTestSource.java | 2 +- src/test/java/org/htmlunit/source/JQueryExtractor.java | 2 +- src/test/java/org/htmlunit/source/Patch.java | 2 +- src/test/java/org/htmlunit/source/TestCaseCreator.java | 2 +- src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAnchorTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAnimateTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgCircleTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgClipPathTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgColorProfileTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgCursorTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgDefsTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgDescTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgElementTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgEllipseTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeBlendTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeComponentTransferTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeFloodTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeFuncATest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeImageTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeMergeTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFePointLightTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeSpecularLightingTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeTileTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFilterTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontFaceTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java | 2 +- src/test/java/org/htmlunit/svg/SvgFontTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgGlyphTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgGroupTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgHKernTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgImageTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgLineTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMPathTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMarkerTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMaskTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMatrixTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMetadataTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgPathTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgPatternTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgPolygonTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgPolylineTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgRectTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgScriptTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgSetTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgStopTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgStyleTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgSwitchTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgSymbolTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgTRefTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgTSpanTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgTextPathTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgTextTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgTitleTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgUseTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgVKernTest.java | 2 +- src/test/java/org/htmlunit/svg/SvgViewTest.java | 2 +- src/test/java/org/htmlunit/util/ArrayUtilsTest.java | 2 +- src/test/java/org/htmlunit/util/CookieTest.java | 2 +- .../java/org/htmlunit/util/DebuggingWebConnectionTest.java | 2 +- src/test/java/org/htmlunit/util/EncodingSnifferTest.java | 2 +- .../java/org/htmlunit/util/FalsifyingWebConnectionTest.java | 2 +- src/test/java/org/htmlunit/util/MemoryLeakDetector.java | 2 +- src/test/java/org/htmlunit/util/OrderedFastHashMapTest.java | 2 +- src/test/java/org/htmlunit/util/RandomUtils.java | 2 +- src/test/java/org/htmlunit/util/ServletContentWrapper.java | 2 +- src/test/java/org/htmlunit/util/StringUtilsTest.java | 2 +- src/test/java/org/htmlunit/util/UrlUtilsTest.java | 2 +- .../java/org/htmlunit/util/WebConnectionWrapperTest.java | 2 +- src/test/java/org/htmlunit/util/geometry/Circle2DTest.java | 2 +- src/test/java/org/htmlunit/util/geometry/Line2DTest.java | 2 +- src/test/java/org/htmlunit/util/geometry/Point2DTest.java | 2 +- src/test/java/org/htmlunit/util/geometry/Polygon2DTest.java | 2 +- .../java/org/htmlunit/util/geometry/Rectangle2DTest.java | 2 +- src/test/java/org/htmlunit/util/mocks/WebResponseMock.java | 2 +- src/test/java/org/htmlunit/xml/XmlPage2Test.java | 2 +- src/test/java/org/htmlunit/xml/XmlPageTest.java | 2 +- 2010 files changed, 2013 insertions(+), 2010 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 590a552921f..ee1ea36ca09 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,7 +7,10 @@ - + + + core-js: Extract function calling out of the interpreter loop for performance. + Avoid ConcurrentModificationExceptions in frame processing. diff --git a/src/main/java/org/htmlunit/AbstractPage.java b/src/main/java/org/htmlunit/AbstractPage.java index 1ddf2d29272..940d8c67a5c 100644 --- a/src/main/java/org/htmlunit/AbstractPage.java +++ b/src/main/java/org/htmlunit/AbstractPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/AjaxController.java b/src/main/java/org/htmlunit/AjaxController.java index f845bbef786..bd8cb6674c6 100644 --- a/src/main/java/org/htmlunit/AjaxController.java +++ b/src/main/java/org/htmlunit/AjaxController.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/AlertHandler.java b/src/main/java/org/htmlunit/AlertHandler.java index 41b4508b5c6..227f2f186a1 100644 --- a/src/main/java/org/htmlunit/AlertHandler.java +++ b/src/main/java/org/htmlunit/AlertHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/BrowserVersion.java b/src/main/java/org/htmlunit/BrowserVersion.java index 8c88ed6e16d..274518314a9 100644 --- a/src/main/java/org/htmlunit/BrowserVersion.java +++ b/src/main/java/org/htmlunit/BrowserVersion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/BrowserVersionFeatures.java b/src/main/java/org/htmlunit/BrowserVersionFeatures.java index 6253793c5c7..ceebbf5cce1 100644 --- a/src/main/java/org/htmlunit/BrowserVersionFeatures.java +++ b/src/main/java/org/htmlunit/BrowserVersionFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/Cache.java b/src/main/java/org/htmlunit/Cache.java index b9ad5bf8a86..8607c12782b 100644 --- a/src/main/java/org/htmlunit/Cache.java +++ b/src/main/java/org/htmlunit/Cache.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ClipboardHandler.java b/src/main/java/org/htmlunit/ClipboardHandler.java index 5bb4ae0bacc..e00a2a57097 100644 --- a/src/main/java/org/htmlunit/ClipboardHandler.java +++ b/src/main/java/org/htmlunit/ClipboardHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/CollectingAlertHandler.java b/src/main/java/org/htmlunit/CollectingAlertHandler.java index e86c785ca5b..76ca4d2aae2 100644 --- a/src/main/java/org/htmlunit/CollectingAlertHandler.java +++ b/src/main/java/org/htmlunit/CollectingAlertHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ConfirmHandler.java b/src/main/java/org/htmlunit/ConfirmHandler.java index 77c3727c58a..ea1b12a47eb 100644 --- a/src/main/java/org/htmlunit/ConfirmHandler.java +++ b/src/main/java/org/htmlunit/ConfirmHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/CookieManager.java b/src/main/java/org/htmlunit/CookieManager.java index ce71e3ae66b..063e3c417da 100644 --- a/src/main/java/org/htmlunit/CookieManager.java +++ b/src/main/java/org/htmlunit/CookieManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/DefaultCredentialsProvider.java b/src/main/java/org/htmlunit/DefaultCredentialsProvider.java index 59012821abe..798e6238e31 100644 --- a/src/main/java/org/htmlunit/DefaultCredentialsProvider.java +++ b/src/main/java/org/htmlunit/DefaultCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/DefaultCssErrorHandler.java b/src/main/java/org/htmlunit/DefaultCssErrorHandler.java index 6cb7c625360..ecbc2bbc23b 100644 --- a/src/main/java/org/htmlunit/DefaultCssErrorHandler.java +++ b/src/main/java/org/htmlunit/DefaultCssErrorHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/DefaultPageCreator.java b/src/main/java/org/htmlunit/DefaultPageCreator.java index 1b0f996d933..14936310edd 100644 --- a/src/main/java/org/htmlunit/DefaultPageCreator.java +++ b/src/main/java/org/htmlunit/DefaultPageCreator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/DialogWindow.java b/src/main/java/org/htmlunit/DialogWindow.java index 571a691f723..12e5e0ac4a7 100644 --- a/src/main/java/org/htmlunit/DialogWindow.java +++ b/src/main/java/org/htmlunit/DialogWindow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/DownloadedContent.java b/src/main/java/org/htmlunit/DownloadedContent.java index a3654cb8d20..29d6d2443dc 100644 --- a/src/main/java/org/htmlunit/DownloadedContent.java +++ b/src/main/java/org/htmlunit/DownloadedContent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ElementNotFoundException.java b/src/main/java/org/htmlunit/ElementNotFoundException.java index 18341269852..3f178ad5159 100644 --- a/src/main/java/org/htmlunit/ElementNotFoundException.java +++ b/src/main/java/org/htmlunit/ElementNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/FailingHttpStatusCodeException.java b/src/main/java/org/htmlunit/FailingHttpStatusCodeException.java index 1ccc2ff1089..98b652d6803 100644 --- a/src/main/java/org/htmlunit/FailingHttpStatusCodeException.java +++ b/src/main/java/org/htmlunit/FailingHttpStatusCodeException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/FormEncodingType.java b/src/main/java/org/htmlunit/FormEncodingType.java index d395c57c560..1033fef81f5 100644 --- a/src/main/java/org/htmlunit/FormEncodingType.java +++ b/src/main/java/org/htmlunit/FormEncodingType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/FrameContentHandler.java b/src/main/java/org/htmlunit/FrameContentHandler.java index 0bde91b58de..83ddad1c8d7 100644 --- a/src/main/java/org/htmlunit/FrameContentHandler.java +++ b/src/main/java/org/htmlunit/FrameContentHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/History.java b/src/main/java/org/htmlunit/History.java index 6122e714716..15ac7a25907 100644 --- a/src/main/java/org/htmlunit/History.java +++ b/src/main/java/org/htmlunit/History.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/HttpHeader.java b/src/main/java/org/htmlunit/HttpHeader.java index d61c962bf34..b71be6f696c 100644 --- a/src/main/java/org/htmlunit/HttpHeader.java +++ b/src/main/java/org/htmlunit/HttpHeader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/HttpMethod.java b/src/main/java/org/htmlunit/HttpMethod.java index a77391a2234..36002469782 100644 --- a/src/main/java/org/htmlunit/HttpMethod.java +++ b/src/main/java/org/htmlunit/HttpMethod.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/HttpWebConnection.java b/src/main/java/org/htmlunit/HttpWebConnection.java index 7f266d0ebb2..68ac8252b6e 100644 --- a/src/main/java/org/htmlunit/HttpWebConnection.java +++ b/src/main/java/org/htmlunit/HttpWebConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ImmediateRefreshHandler.java b/src/main/java/org/htmlunit/ImmediateRefreshHandler.java index 9aa782d7d51..de10d5746cd 100644 --- a/src/main/java/org/htmlunit/ImmediateRefreshHandler.java +++ b/src/main/java/org/htmlunit/ImmediateRefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/IncorrectnessListener.java b/src/main/java/org/htmlunit/IncorrectnessListener.java index c7d539e5872..0a1f5dbc1d4 100644 --- a/src/main/java/org/htmlunit/IncorrectnessListener.java +++ b/src/main/java/org/htmlunit/IncorrectnessListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/IncorrectnessListenerImpl.java b/src/main/java/org/htmlunit/IncorrectnessListenerImpl.java index ddf3bf0ab3d..b966c7c19e0 100644 --- a/src/main/java/org/htmlunit/IncorrectnessListenerImpl.java +++ b/src/main/java/org/htmlunit/IncorrectnessListenerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/MockWebConnection.java b/src/main/java/org/htmlunit/MockWebConnection.java index 52e5c4c6bdf..3bd3126737a 100644 --- a/src/main/java/org/htmlunit/MockWebConnection.java +++ b/src/main/java/org/htmlunit/MockWebConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/NiceRefreshHandler.java b/src/main/java/org/htmlunit/NiceRefreshHandler.java index 58d61966d4e..0a369a13082 100644 --- a/src/main/java/org/htmlunit/NiceRefreshHandler.java +++ b/src/main/java/org/htmlunit/NiceRefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/NicelyResynchronizingAjaxController.java b/src/main/java/org/htmlunit/NicelyResynchronizingAjaxController.java index 90e3b2b3e07..99305812765 100644 --- a/src/main/java/org/htmlunit/NicelyResynchronizingAjaxController.java +++ b/src/main/java/org/htmlunit/NicelyResynchronizingAjaxController.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/NotYetImplementedException.java b/src/main/java/org/htmlunit/NotYetImplementedException.java index e837e64928f..daeac7bdd2a 100644 --- a/src/main/java/org/htmlunit/NotYetImplementedException.java +++ b/src/main/java/org/htmlunit/NotYetImplementedException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ObjectInstantiationException.java b/src/main/java/org/htmlunit/ObjectInstantiationException.java index 25a22cb349d..4645bcfeafb 100644 --- a/src/main/java/org/htmlunit/ObjectInstantiationException.java +++ b/src/main/java/org/htmlunit/ObjectInstantiationException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/OnbeforeunloadHandler.java b/src/main/java/org/htmlunit/OnbeforeunloadHandler.java index 401828f4fc8..232da80ac69 100644 --- a/src/main/java/org/htmlunit/OnbeforeunloadHandler.java +++ b/src/main/java/org/htmlunit/OnbeforeunloadHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/Page.java b/src/main/java/org/htmlunit/Page.java index 57f40739fe2..e721620594d 100644 --- a/src/main/java/org/htmlunit/Page.java +++ b/src/main/java/org/htmlunit/Page.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/PageCreator.java b/src/main/java/org/htmlunit/PageCreator.java index 0d134e25403..d774a5fb750 100644 --- a/src/main/java/org/htmlunit/PageCreator.java +++ b/src/main/java/org/htmlunit/PageCreator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/PrintHandler.java b/src/main/java/org/htmlunit/PrintHandler.java index cf7ebfad005..1cf16eff3da 100644 --- a/src/main/java/org/htmlunit/PrintHandler.java +++ b/src/main/java/org/htmlunit/PrintHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/PromptHandler.java b/src/main/java/org/htmlunit/PromptHandler.java index 5947e7baf0e..484aa3cc45b 100644 --- a/src/main/java/org/htmlunit/PromptHandler.java +++ b/src/main/java/org/htmlunit/PromptHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ProxyConfig.java b/src/main/java/org/htmlunit/ProxyConfig.java index c4433cddb54..d25dfe5b406 100644 --- a/src/main/java/org/htmlunit/ProxyConfig.java +++ b/src/main/java/org/htmlunit/ProxyConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/RefreshHandler.java b/src/main/java/org/htmlunit/RefreshHandler.java index b05f15addb1..aec83a4600b 100644 --- a/src/main/java/org/htmlunit/RefreshHandler.java +++ b/src/main/java/org/htmlunit/RefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/Screen.java b/src/main/java/org/htmlunit/Screen.java index 7c9f382d46f..739c5131858 100644 --- a/src/main/java/org/htmlunit/Screen.java +++ b/src/main/java/org/htmlunit/Screen.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ScriptException.java b/src/main/java/org/htmlunit/ScriptException.java index c8687e62bda..0f5b9f3bdfb 100644 --- a/src/main/java/org/htmlunit/ScriptException.java +++ b/src/main/java/org/htmlunit/ScriptException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ScriptPreProcessor.java b/src/main/java/org/htmlunit/ScriptPreProcessor.java index c8eb14602fd..b5c0ede9770 100644 --- a/src/main/java/org/htmlunit/ScriptPreProcessor.java +++ b/src/main/java/org/htmlunit/ScriptPreProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ScriptResult.java b/src/main/java/org/htmlunit/ScriptResult.java index 554c8103672..c30b5630433 100644 --- a/src/main/java/org/htmlunit/ScriptResult.java +++ b/src/main/java/org/htmlunit/ScriptResult.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/SgmlPage.java b/src/main/java/org/htmlunit/SgmlPage.java index 6b643e27f63..80253083678 100644 --- a/src/main/java/org/htmlunit/SgmlPage.java +++ b/src/main/java/org/htmlunit/SgmlPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/SilentCssErrorHandler.java b/src/main/java/org/htmlunit/SilentCssErrorHandler.java index 88d44bf8f9d..c7022d09a81 100644 --- a/src/main/java/org/htmlunit/SilentCssErrorHandler.java +++ b/src/main/java/org/htmlunit/SilentCssErrorHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/SilentIncorrectnessListener.java b/src/main/java/org/htmlunit/SilentIncorrectnessListener.java index fe95df873b2..e8e1dfa1995 100644 --- a/src/main/java/org/htmlunit/SilentIncorrectnessListener.java +++ b/src/main/java/org/htmlunit/SilentIncorrectnessListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/StatusHandler.java b/src/main/java/org/htmlunit/StatusHandler.java index f1a7a07c8d4..2ea5ff8be5b 100644 --- a/src/main/java/org/htmlunit/StatusHandler.java +++ b/src/main/java/org/htmlunit/StatusHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/StorageHolder.java b/src/main/java/org/htmlunit/StorageHolder.java index 73e4e970334..19b917817a7 100644 --- a/src/main/java/org/htmlunit/StorageHolder.java +++ b/src/main/java/org/htmlunit/StorageHolder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/StringWebResponse.java b/src/main/java/org/htmlunit/StringWebResponse.java index 5ac6e4e6464..0f1d0fbd791 100644 --- a/src/main/java/org/htmlunit/StringWebResponse.java +++ b/src/main/java/org/htmlunit/StringWebResponse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/TextPage.java b/src/main/java/org/htmlunit/TextPage.java index fe21deaf77f..1c30e4c721d 100644 --- a/src/main/java/org/htmlunit/TextPage.java +++ b/src/main/java/org/htmlunit/TextPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/ThreadedRefreshHandler.java b/src/main/java/org/htmlunit/ThreadedRefreshHandler.java index b2925a38d2a..756f11401e8 100644 --- a/src/main/java/org/htmlunit/ThreadedRefreshHandler.java +++ b/src/main/java/org/htmlunit/ThreadedRefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/TopLevelWindow.java b/src/main/java/org/htmlunit/TopLevelWindow.java index 99bf5c5dfa4..5baeb31fc91 100644 --- a/src/main/java/org/htmlunit/TopLevelWindow.java +++ b/src/main/java/org/htmlunit/TopLevelWindow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/UnexpectedPage.java b/src/main/java/org/htmlunit/UnexpectedPage.java index 2040e4afaf0..faa027e247d 100644 --- a/src/main/java/org/htmlunit/UnexpectedPage.java +++ b/src/main/java/org/htmlunit/UnexpectedPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/Version.java b/src/main/java/org/htmlunit/Version.java index d737e259004..e57d14f80b2 100644 --- a/src/main/java/org/htmlunit/Version.java +++ b/src/main/java/org/htmlunit/Version.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WaitingRefreshHandler.java b/src/main/java/org/htmlunit/WaitingRefreshHandler.java index 91186fce65b..1d26563b47d 100644 --- a/src/main/java/org/htmlunit/WaitingRefreshHandler.java +++ b/src/main/java/org/htmlunit/WaitingRefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebAssert.java b/src/main/java/org/htmlunit/WebAssert.java index ceaa25d46fd..612e444cc46 100644 --- a/src/main/java/org/htmlunit/WebAssert.java +++ b/src/main/java/org/htmlunit/WebAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebClient.java b/src/main/java/org/htmlunit/WebClient.java index 08f92818e53..1eeed75862b 100644 --- a/src/main/java/org/htmlunit/WebClient.java +++ b/src/main/java/org/htmlunit/WebClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebClientOptions.java b/src/main/java/org/htmlunit/WebClientOptions.java index 030d13981f1..092ee7fb86e 100644 --- a/src/main/java/org/htmlunit/WebClientOptions.java +++ b/src/main/java/org/htmlunit/WebClientOptions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebConnection.java b/src/main/java/org/htmlunit/WebConnection.java index 758d96744f6..956d3f41f93 100644 --- a/src/main/java/org/htmlunit/WebConnection.java +++ b/src/main/java/org/htmlunit/WebConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebConsole.java b/src/main/java/org/htmlunit/WebConsole.java index 8d3de6d1b90..1656f3bf7bf 100644 --- a/src/main/java/org/htmlunit/WebConsole.java +++ b/src/main/java/org/htmlunit/WebConsole.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebRequest.java b/src/main/java/org/htmlunit/WebRequest.java index 2ef4fd3857b..22777886591 100644 --- a/src/main/java/org/htmlunit/WebRequest.java +++ b/src/main/java/org/htmlunit/WebRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebResponse.java b/src/main/java/org/htmlunit/WebResponse.java index c54359fd360..9224b2efe3e 100644 --- a/src/main/java/org/htmlunit/WebResponse.java +++ b/src/main/java/org/htmlunit/WebResponse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebResponseData.java b/src/main/java/org/htmlunit/WebResponseData.java index bd9b11f9d5f..6dab15f7ff7 100644 --- a/src/main/java/org/htmlunit/WebResponseData.java +++ b/src/main/java/org/htmlunit/WebResponseData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebResponseFromCache.java b/src/main/java/org/htmlunit/WebResponseFromCache.java index 1354fbaf09f..287d62fe213 100644 --- a/src/main/java/org/htmlunit/WebResponseFromCache.java +++ b/src/main/java/org/htmlunit/WebResponseFromCache.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindow.java b/src/main/java/org/htmlunit/WebWindow.java index b6b44ecb0b0..b1660b2ff5d 100644 --- a/src/main/java/org/htmlunit/WebWindow.java +++ b/src/main/java/org/htmlunit/WebWindow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindowAdapter.java b/src/main/java/org/htmlunit/WebWindowAdapter.java index c6f71d85dba..e23da1d128d 100644 --- a/src/main/java/org/htmlunit/WebWindowAdapter.java +++ b/src/main/java/org/htmlunit/WebWindowAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindowEvent.java b/src/main/java/org/htmlunit/WebWindowEvent.java index b1e440081a5..4af175d9b3e 100644 --- a/src/main/java/org/htmlunit/WebWindowEvent.java +++ b/src/main/java/org/htmlunit/WebWindowEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindowImpl.java b/src/main/java/org/htmlunit/WebWindowImpl.java index 9d3f4fcb536..a761b2ec316 100644 --- a/src/main/java/org/htmlunit/WebWindowImpl.java +++ b/src/main/java/org/htmlunit/WebWindowImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindowListener.java b/src/main/java/org/htmlunit/WebWindowListener.java index 9c2752ef638..07fa3d376c7 100644 --- a/src/main/java/org/htmlunit/WebWindowListener.java +++ b/src/main/java/org/htmlunit/WebWindowListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/WebWindowNotFoundException.java b/src/main/java/org/htmlunit/WebWindowNotFoundException.java index 8c40836c47e..a0624ad929e 100644 --- a/src/main/java/org/htmlunit/WebWindowNotFoundException.java +++ b/src/main/java/org/htmlunit/WebWindowNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/attachment/Attachment.java b/src/main/java/org/htmlunit/attachment/Attachment.java index 2aeab16c191..3c2c0682897 100644 --- a/src/main/java/org/htmlunit/attachment/Attachment.java +++ b/src/main/java/org/htmlunit/attachment/Attachment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/attachment/AttachmentHandler.java b/src/main/java/org/htmlunit/attachment/AttachmentHandler.java index 6835646fcce..fa0e5138fe4 100644 --- a/src/main/java/org/htmlunit/attachment/AttachmentHandler.java +++ b/src/main/java/org/htmlunit/attachment/AttachmentHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/attachment/CollectingAttachmentHandler.java b/src/main/java/org/htmlunit/attachment/CollectingAttachmentHandler.java index 8d63e7f30e1..3bd87518d39 100644 --- a/src/main/java/org/htmlunit/attachment/CollectingAttachmentHandler.java +++ b/src/main/java/org/htmlunit/attachment/CollectingAttachmentHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/attachment/DownloadingAttachmentHandler.java b/src/main/java/org/htmlunit/attachment/DownloadingAttachmentHandler.java index 80ab43ffd5f..92d80ffe9ec 100644 --- a/src/main/java/org/htmlunit/attachment/DownloadingAttachmentHandler.java +++ b/src/main/java/org/htmlunit/attachment/DownloadingAttachmentHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/attachment/package-info.java b/src/main/java/org/htmlunit/attachment/package-info.java index a17bceabe77..a487aac832e 100644 --- a/src/main/java/org/htmlunit/attachment/package-info.java +++ b/src/main/java/org/htmlunit/attachment/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/AbstractCssStyleDeclaration.java b/src/main/java/org/htmlunit/css/AbstractCssStyleDeclaration.java index 893ed286ca2..c6a824bfb49 100644 --- a/src/main/java/org/htmlunit/css/AbstractCssStyleDeclaration.java +++ b/src/main/java/org/htmlunit/css/AbstractCssStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/BrowserConfiguration.java b/src/main/java/org/htmlunit/css/BrowserConfiguration.java index a360971c379..2aa740da734 100644 --- a/src/main/java/org/htmlunit/css/BrowserConfiguration.java +++ b/src/main/java/org/htmlunit/css/BrowserConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/ComputedCssStyleDeclaration.java b/src/main/java/org/htmlunit/css/ComputedCssStyleDeclaration.java index 9ee4b96f342..7193c8d2fe9 100644 --- a/src/main/java/org/htmlunit/css/ComputedCssStyleDeclaration.java +++ b/src/main/java/org/htmlunit/css/ComputedCssStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/CssColors.java b/src/main/java/org/htmlunit/css/CssColors.java index e24c57652a5..57d809b7ef7 100644 --- a/src/main/java/org/htmlunit/css/CssColors.java +++ b/src/main/java/org/htmlunit/css/CssColors.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/CssMediaList.java b/src/main/java/org/htmlunit/css/CssMediaList.java index 8a8e1bdbde3..88ff7a8d6e9 100644 --- a/src/main/java/org/htmlunit/css/CssMediaList.java +++ b/src/main/java/org/htmlunit/css/CssMediaList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/CssPixelValueConverter.java b/src/main/java/org/htmlunit/css/CssPixelValueConverter.java index 1d101ac8b72..688ad4d23ff 100644 --- a/src/main/java/org/htmlunit/css/CssPixelValueConverter.java +++ b/src/main/java/org/htmlunit/css/CssPixelValueConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/CssStyleSheet.java b/src/main/java/org/htmlunit/css/CssStyleSheet.java index 93a0924455b..afcbe5339de 100644 --- a/src/main/java/org/htmlunit/css/CssStyleSheet.java +++ b/src/main/java/org/htmlunit/css/CssStyleSheet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/ElementCssStyleDeclaration.java b/src/main/java/org/htmlunit/css/ElementCssStyleDeclaration.java index 609fa4857eb..1f11ae5d973 100644 --- a/src/main/java/org/htmlunit/css/ElementCssStyleDeclaration.java +++ b/src/main/java/org/htmlunit/css/ElementCssStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/StyleAttributes.java b/src/main/java/org/htmlunit/css/StyleAttributes.java index 17f4c11e482..40764c86553 100644 --- a/src/main/java/org/htmlunit/css/StyleAttributes.java +++ b/src/main/java/org/htmlunit/css/StyleAttributes.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/StyleElement.java b/src/main/java/org/htmlunit/css/StyleElement.java index 954b9810a82..2383e3da2fe 100644 --- a/src/main/java/org/htmlunit/css/StyleElement.java +++ b/src/main/java/org/htmlunit/css/StyleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/WrappedCssStyleDeclaration.java b/src/main/java/org/htmlunit/css/WrappedCssStyleDeclaration.java index 8fd8eacdc74..6654f6acab9 100644 --- a/src/main/java/org/htmlunit/css/WrappedCssStyleDeclaration.java +++ b/src/main/java/org/htmlunit/css/WrappedCssStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/css/package-info.java b/src/main/java/org/htmlunit/css/package-info.java index 4b6c583bfd1..0d5400bc9e4 100644 --- a/src/main/java/org/htmlunit/css/package-info.java +++ b/src/main/java/org/htmlunit/css/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/AbstractDomNodeList.java b/src/main/java/org/htmlunit/html/AbstractDomNodeList.java index 72c354e9a12..c5a1434f11b 100644 --- a/src/main/java/org/htmlunit/html/AbstractDomNodeList.java +++ b/src/main/java/org/htmlunit/html/AbstractDomNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/BaseFrameElement.java b/src/main/java/org/htmlunit/html/BaseFrameElement.java index b1ed2a0f326..7d1ffd0aa31 100644 --- a/src/main/java/org/htmlunit/html/BaseFrameElement.java +++ b/src/main/java/org/htmlunit/html/BaseFrameElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/CharacterDataChangeEvent.java b/src/main/java/org/htmlunit/html/CharacterDataChangeEvent.java index b87d090fab6..ad975321c44 100644 --- a/src/main/java/org/htmlunit/html/CharacterDataChangeEvent.java +++ b/src/main/java/org/htmlunit/html/CharacterDataChangeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/CharacterDataChangeListener.java b/src/main/java/org/htmlunit/html/CharacterDataChangeListener.java index a81b44dc1dd..fab5572b72b 100644 --- a/src/main/java/org/htmlunit/html/CharacterDataChangeListener.java +++ b/src/main/java/org/htmlunit/html/CharacterDataChangeListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DefaultElementFactory.java b/src/main/java/org/htmlunit/html/DefaultElementFactory.java index 236d0cb112a..7e76ed5eb57 100644 --- a/src/main/java/org/htmlunit/html/DefaultElementFactory.java +++ b/src/main/java/org/htmlunit/html/DefaultElementFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DisabledElement.java b/src/main/java/org/htmlunit/html/DisabledElement.java index 1719d45eb93..abf6d54971d 100644 --- a/src/main/java/org/htmlunit/html/DisabledElement.java +++ b/src/main/java/org/htmlunit/html/DisabledElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DoTypeProcessor.java b/src/main/java/org/htmlunit/html/DoTypeProcessor.java index 41bc133a75c..4d773c01eea 100644 --- a/src/main/java/org/htmlunit/html/DoTypeProcessor.java +++ b/src/main/java/org/htmlunit/html/DoTypeProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomAttr.java b/src/main/java/org/htmlunit/html/DomAttr.java index b4a3d6c78f4..a126dc5c166 100644 --- a/src/main/java/org/htmlunit/html/DomAttr.java +++ b/src/main/java/org/htmlunit/html/DomAttr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomCDataSection.java b/src/main/java/org/htmlunit/html/DomCDataSection.java index eac1f7f6875..71df9b4b757 100644 --- a/src/main/java/org/htmlunit/html/DomCDataSection.java +++ b/src/main/java/org/htmlunit/html/DomCDataSection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomChangeEvent.java b/src/main/java/org/htmlunit/html/DomChangeEvent.java index 25a12b2e99b..b595ea3d4ae 100644 --- a/src/main/java/org/htmlunit/html/DomChangeEvent.java +++ b/src/main/java/org/htmlunit/html/DomChangeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomChangeListener.java b/src/main/java/org/htmlunit/html/DomChangeListener.java index 352a075e8e8..56522bed5d9 100644 --- a/src/main/java/org/htmlunit/html/DomChangeListener.java +++ b/src/main/java/org/htmlunit/html/DomChangeListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomCharacterData.java b/src/main/java/org/htmlunit/html/DomCharacterData.java index 635af0a0e8a..78f098bde90 100644 --- a/src/main/java/org/htmlunit/html/DomCharacterData.java +++ b/src/main/java/org/htmlunit/html/DomCharacterData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomComment.java b/src/main/java/org/htmlunit/html/DomComment.java index a77e117abaa..29fc8ba90cd 100644 --- a/src/main/java/org/htmlunit/html/DomComment.java +++ b/src/main/java/org/htmlunit/html/DomComment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomDocumentFragment.java b/src/main/java/org/htmlunit/html/DomDocumentFragment.java index 382f82f019c..0a52964b75f 100644 --- a/src/main/java/org/htmlunit/html/DomDocumentFragment.java +++ b/src/main/java/org/htmlunit/html/DomDocumentFragment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomDocumentType.java b/src/main/java/org/htmlunit/html/DomDocumentType.java index 18d34769d70..638ac0c4c89 100644 --- a/src/main/java/org/htmlunit/html/DomDocumentType.java +++ b/src/main/java/org/htmlunit/html/DomDocumentType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomElement.java b/src/main/java/org/htmlunit/html/DomElement.java index d8c051070be..4ff748c962f 100644 --- a/src/main/java/org/htmlunit/html/DomElement.java +++ b/src/main/java/org/htmlunit/html/DomElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomNamespaceNode.java b/src/main/java/org/htmlunit/html/DomNamespaceNode.java index ebc04fb2fdc..5370245b195 100644 --- a/src/main/java/org/htmlunit/html/DomNamespaceNode.java +++ b/src/main/java/org/htmlunit/html/DomNamespaceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomNode.java b/src/main/java/org/htmlunit/html/DomNode.java index 7cd051f2081..7a9e49c1445 100644 --- a/src/main/java/org/htmlunit/html/DomNode.java +++ b/src/main/java/org/htmlunit/html/DomNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomNodeIterator.java b/src/main/java/org/htmlunit/html/DomNodeIterator.java index 1f8169719c5..d487fe6f2b0 100644 --- a/src/main/java/org/htmlunit/html/DomNodeIterator.java +++ b/src/main/java/org/htmlunit/html/DomNodeIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomNodeList.java b/src/main/java/org/htmlunit/html/DomNodeList.java index 2c00592413c..3080c25e5ec 100644 --- a/src/main/java/org/htmlunit/html/DomNodeList.java +++ b/src/main/java/org/htmlunit/html/DomNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomProcessingInstruction.java b/src/main/java/org/htmlunit/html/DomProcessingInstruction.java index 26d3c01f574..b3a5af3d030 100644 --- a/src/main/java/org/htmlunit/html/DomProcessingInstruction.java +++ b/src/main/java/org/htmlunit/html/DomProcessingInstruction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/DomText.java b/src/main/java/org/htmlunit/html/DomText.java index 9db0277f5dc..aa3da9da5e4 100644 --- a/src/main/java/org/htmlunit/html/DomText.java +++ b/src/main/java/org/htmlunit/html/DomText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/ElementFactory.java b/src/main/java/org/htmlunit/html/ElementFactory.java index 303bdd3f79c..e6ba4ce68ff 100644 --- a/src/main/java/org/htmlunit/html/ElementFactory.java +++ b/src/main/java/org/htmlunit/html/ElementFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/ElementFromPointHandler.java b/src/main/java/org/htmlunit/html/ElementFromPointHandler.java index 154db0a2099..02e055c4d09 100644 --- a/src/main/java/org/htmlunit/html/ElementFromPointHandler.java +++ b/src/main/java/org/htmlunit/html/ElementFromPointHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/FormFieldWithNameHistory.java b/src/main/java/org/htmlunit/html/FormFieldWithNameHistory.java index 2bb60e27daf..fccd64a38e3 100644 --- a/src/main/java/org/htmlunit/html/FormFieldWithNameHistory.java +++ b/src/main/java/org/htmlunit/html/FormFieldWithNameHistory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/FrameWindow.java b/src/main/java/org/htmlunit/html/FrameWindow.java index e67f96fdcc7..2427f9aee7e 100644 --- a/src/main/java/org/htmlunit/html/FrameWindow.java +++ b/src/main/java/org/htmlunit/html/FrameWindow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/Html.java b/src/main/java/org/htmlunit/html/Html.java index 1cd5264a182..9a00ceca549 100644 --- a/src/main/java/org/htmlunit/html/Html.java +++ b/src/main/java/org/htmlunit/html/Html.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAbbreviated.java b/src/main/java/org/htmlunit/html/HtmlAbbreviated.java index cd39db4e339..da78125251e 100644 --- a/src/main/java/org/htmlunit/html/HtmlAbbreviated.java +++ b/src/main/java/org/htmlunit/html/HtmlAbbreviated.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAcronym.java b/src/main/java/org/htmlunit/html/HtmlAcronym.java index 7f2d21b377e..52ee3ad1554 100644 --- a/src/main/java/org/htmlunit/html/HtmlAcronym.java +++ b/src/main/java/org/htmlunit/html/HtmlAcronym.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAddress.java b/src/main/java/org/htmlunit/html/HtmlAddress.java index 4c5fba1f928..f8c760e46d4 100644 --- a/src/main/java/org/htmlunit/html/HtmlAddress.java +++ b/src/main/java/org/htmlunit/html/HtmlAddress.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAnchor.java b/src/main/java/org/htmlunit/html/HtmlAnchor.java index 056887de0cd..09a55e7ac38 100644 --- a/src/main/java/org/htmlunit/html/HtmlAnchor.java +++ b/src/main/java/org/htmlunit/html/HtmlAnchor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlArea.java b/src/main/java/org/htmlunit/html/HtmlArea.java index 103f523d069..129b22d02d2 100644 --- a/src/main/java/org/htmlunit/html/HtmlArea.java +++ b/src/main/java/org/htmlunit/html/HtmlArea.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlArticle.java b/src/main/java/org/htmlunit/html/HtmlArticle.java index 4cf20fbb923..41634809154 100644 --- a/src/main/java/org/htmlunit/html/HtmlArticle.java +++ b/src/main/java/org/htmlunit/html/HtmlArticle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAside.java b/src/main/java/org/htmlunit/html/HtmlAside.java index caa7a641cd6..6940cd01dd6 100644 --- a/src/main/java/org/htmlunit/html/HtmlAside.java +++ b/src/main/java/org/htmlunit/html/HtmlAside.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAttributeChangeEvent.java b/src/main/java/org/htmlunit/html/HtmlAttributeChangeEvent.java index 32ae7b62c56..ccbcb896d53 100644 --- a/src/main/java/org/htmlunit/html/HtmlAttributeChangeEvent.java +++ b/src/main/java/org/htmlunit/html/HtmlAttributeChangeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAttributeChangeListener.java b/src/main/java/org/htmlunit/html/HtmlAttributeChangeListener.java index 23c9603de49..fd5adf4b638 100644 --- a/src/main/java/org/htmlunit/html/HtmlAttributeChangeListener.java +++ b/src/main/java/org/htmlunit/html/HtmlAttributeChangeListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlAudio.java b/src/main/java/org/htmlunit/html/HtmlAudio.java index 18cb378beca..289e66b4434 100644 --- a/src/main/java/org/htmlunit/html/HtmlAudio.java +++ b/src/main/java/org/htmlunit/html/HtmlAudio.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBackgroundSound.java b/src/main/java/org/htmlunit/html/HtmlBackgroundSound.java index c39b14e9983..460633e86bf 100644 --- a/src/main/java/org/htmlunit/html/HtmlBackgroundSound.java +++ b/src/main/java/org/htmlunit/html/HtmlBackgroundSound.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBase.java b/src/main/java/org/htmlunit/html/HtmlBase.java index d5d61df1409..3056fae6771 100644 --- a/src/main/java/org/htmlunit/html/HtmlBase.java +++ b/src/main/java/org/htmlunit/html/HtmlBase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBaseFont.java b/src/main/java/org/htmlunit/html/HtmlBaseFont.java index b0e66fd9158..77224e41f08 100644 --- a/src/main/java/org/htmlunit/html/HtmlBaseFont.java +++ b/src/main/java/org/htmlunit/html/HtmlBaseFont.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBidirectionalIsolation.java b/src/main/java/org/htmlunit/html/HtmlBidirectionalIsolation.java index c9b8ca11716..9b5c4d68eea 100644 --- a/src/main/java/org/htmlunit/html/HtmlBidirectionalIsolation.java +++ b/src/main/java/org/htmlunit/html/HtmlBidirectionalIsolation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBidirectionalOverride.java b/src/main/java/org/htmlunit/html/HtmlBidirectionalOverride.java index d10392fc5f7..7442adc95eb 100644 --- a/src/main/java/org/htmlunit/html/HtmlBidirectionalOverride.java +++ b/src/main/java/org/htmlunit/html/HtmlBidirectionalOverride.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBig.java b/src/main/java/org/htmlunit/html/HtmlBig.java index 14275f70c17..0775020322b 100644 --- a/src/main/java/org/htmlunit/html/HtmlBig.java +++ b/src/main/java/org/htmlunit/html/HtmlBig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBlockQuote.java b/src/main/java/org/htmlunit/html/HtmlBlockQuote.java index cc46acedc6b..a68b95825c1 100644 --- a/src/main/java/org/htmlunit/html/HtmlBlockQuote.java +++ b/src/main/java/org/htmlunit/html/HtmlBlockQuote.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBody.java b/src/main/java/org/htmlunit/html/HtmlBody.java index 7599394a57e..762e03530ee 100644 --- a/src/main/java/org/htmlunit/html/HtmlBody.java +++ b/src/main/java/org/htmlunit/html/HtmlBody.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBold.java b/src/main/java/org/htmlunit/html/HtmlBold.java index 1fc36341217..2aceb9a1471 100644 --- a/src/main/java/org/htmlunit/html/HtmlBold.java +++ b/src/main/java/org/htmlunit/html/HtmlBold.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlBreak.java b/src/main/java/org/htmlunit/html/HtmlBreak.java index 890c3bc2591..95faabb88c1 100644 --- a/src/main/java/org/htmlunit/html/HtmlBreak.java +++ b/src/main/java/org/htmlunit/html/HtmlBreak.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlButton.java b/src/main/java/org/htmlunit/html/HtmlButton.java index 8acce57fe2f..0b060974104 100644 --- a/src/main/java/org/htmlunit/html/HtmlButton.java +++ b/src/main/java/org/htmlunit/html/HtmlButton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlButtonInput.java b/src/main/java/org/htmlunit/html/HtmlButtonInput.java index daf6e7dc54c..401aaed4964 100644 --- a/src/main/java/org/htmlunit/html/HtmlButtonInput.java +++ b/src/main/java/org/htmlunit/html/HtmlButtonInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCanvas.java b/src/main/java/org/htmlunit/html/HtmlCanvas.java index 7c7b53a7b31..7ec012d4702 100644 --- a/src/main/java/org/htmlunit/html/HtmlCanvas.java +++ b/src/main/java/org/htmlunit/html/HtmlCanvas.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCaption.java b/src/main/java/org/htmlunit/html/HtmlCaption.java index 2d1e5a4f391..5d24f5eb7c7 100644 --- a/src/main/java/org/htmlunit/html/HtmlCaption.java +++ b/src/main/java/org/htmlunit/html/HtmlCaption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCenter.java b/src/main/java/org/htmlunit/html/HtmlCenter.java index 7dc3ee22ae9..e7493cb46ee 100644 --- a/src/main/java/org/htmlunit/html/HtmlCenter.java +++ b/src/main/java/org/htmlunit/html/HtmlCenter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCheckBoxInput.java b/src/main/java/org/htmlunit/html/HtmlCheckBoxInput.java index a0ad891fe45..2309c933e94 100644 --- a/src/main/java/org/htmlunit/html/HtmlCheckBoxInput.java +++ b/src/main/java/org/htmlunit/html/HtmlCheckBoxInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCitation.java b/src/main/java/org/htmlunit/html/HtmlCitation.java index f4017caba11..ed8bc0b5710 100644 --- a/src/main/java/org/htmlunit/html/HtmlCitation.java +++ b/src/main/java/org/htmlunit/html/HtmlCitation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlCode.java b/src/main/java/org/htmlunit/html/HtmlCode.java index 69b45eeb58e..762245c0698 100644 --- a/src/main/java/org/htmlunit/html/HtmlCode.java +++ b/src/main/java/org/htmlunit/html/HtmlCode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlColorInput.java b/src/main/java/org/htmlunit/html/HtmlColorInput.java index 4f45c319a8c..1184303ea32 100644 --- a/src/main/java/org/htmlunit/html/HtmlColorInput.java +++ b/src/main/java/org/htmlunit/html/HtmlColorInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlData.java b/src/main/java/org/htmlunit/html/HtmlData.java index e00312a03e0..c6dd99fff5f 100644 --- a/src/main/java/org/htmlunit/html/HtmlData.java +++ b/src/main/java/org/htmlunit/html/HtmlData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDataList.java b/src/main/java/org/htmlunit/html/HtmlDataList.java index cbed89585d2..b6b40bc49ac 100644 --- a/src/main/java/org/htmlunit/html/HtmlDataList.java +++ b/src/main/java/org/htmlunit/html/HtmlDataList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDateInput.java b/src/main/java/org/htmlunit/html/HtmlDateInput.java index 8e4acc1a0c9..e7bac09c29b 100644 --- a/src/main/java/org/htmlunit/html/HtmlDateInput.java +++ b/src/main/java/org/htmlunit/html/HtmlDateInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDateTimeLocalInput.java b/src/main/java/org/htmlunit/html/HtmlDateTimeLocalInput.java index 4855ce8ce8a..6924a61c506 100644 --- a/src/main/java/org/htmlunit/html/HtmlDateTimeLocalInput.java +++ b/src/main/java/org/htmlunit/html/HtmlDateTimeLocalInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDefinition.java b/src/main/java/org/htmlunit/html/HtmlDefinition.java index e76775d0ede..025922ec14f 100644 --- a/src/main/java/org/htmlunit/html/HtmlDefinition.java +++ b/src/main/java/org/htmlunit/html/HtmlDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDefinitionDescription.java b/src/main/java/org/htmlunit/html/HtmlDefinitionDescription.java index 9d3c9342a57..12fbd63545d 100644 --- a/src/main/java/org/htmlunit/html/HtmlDefinitionDescription.java +++ b/src/main/java/org/htmlunit/html/HtmlDefinitionDescription.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDefinitionList.java b/src/main/java/org/htmlunit/html/HtmlDefinitionList.java index 10266abde0a..2d24cfa6039 100644 --- a/src/main/java/org/htmlunit/html/HtmlDefinitionList.java +++ b/src/main/java/org/htmlunit/html/HtmlDefinitionList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDefinitionTerm.java b/src/main/java/org/htmlunit/html/HtmlDefinitionTerm.java index 206284e1146..64511c1c4d7 100644 --- a/src/main/java/org/htmlunit/html/HtmlDefinitionTerm.java +++ b/src/main/java/org/htmlunit/html/HtmlDefinitionTerm.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDeletedText.java b/src/main/java/org/htmlunit/html/HtmlDeletedText.java index e58e8feb394..9cc465b4c15 100644 --- a/src/main/java/org/htmlunit/html/HtmlDeletedText.java +++ b/src/main/java/org/htmlunit/html/HtmlDeletedText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDetails.java b/src/main/java/org/htmlunit/html/HtmlDetails.java index 2da7d55735e..d624a4282d3 100644 --- a/src/main/java/org/htmlunit/html/HtmlDetails.java +++ b/src/main/java/org/htmlunit/html/HtmlDetails.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDialog.java b/src/main/java/org/htmlunit/html/HtmlDialog.java index 22fce114683..3f9ef9a63b1 100644 --- a/src/main/java/org/htmlunit/html/HtmlDialog.java +++ b/src/main/java/org/htmlunit/html/HtmlDialog.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDirectory.java b/src/main/java/org/htmlunit/html/HtmlDirectory.java index 63a65c8cdb2..f65d92fc925 100644 --- a/src/main/java/org/htmlunit/html/HtmlDirectory.java +++ b/src/main/java/org/htmlunit/html/HtmlDirectory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDivision.java b/src/main/java/org/htmlunit/html/HtmlDivision.java index ff4390a3838..716fbe2fb8a 100644 --- a/src/main/java/org/htmlunit/html/HtmlDivision.java +++ b/src/main/java/org/htmlunit/html/HtmlDivision.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java b/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java index 766c98a9ec8..594a3dc760b 100644 --- a/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java +++ b/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlElement.java b/src/main/java/org/htmlunit/html/HtmlElement.java index db4f3011fe6..bc4e3a3b4a3 100644 --- a/src/main/java/org/htmlunit/html/HtmlElement.java +++ b/src/main/java/org/htmlunit/html/HtmlElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlEmailInput.java b/src/main/java/org/htmlunit/html/HtmlEmailInput.java index 8b923b7b920..fb391a50ad0 100644 --- a/src/main/java/org/htmlunit/html/HtmlEmailInput.java +++ b/src/main/java/org/htmlunit/html/HtmlEmailInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlEmbed.java b/src/main/java/org/htmlunit/html/HtmlEmbed.java index 8f169a736f6..266f942cd50 100644 --- a/src/main/java/org/htmlunit/html/HtmlEmbed.java +++ b/src/main/java/org/htmlunit/html/HtmlEmbed.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlEmphasis.java b/src/main/java/org/htmlunit/html/HtmlEmphasis.java index a3d3f495daa..a0ebfd2175b 100644 --- a/src/main/java/org/htmlunit/html/HtmlEmphasis.java +++ b/src/main/java/org/htmlunit/html/HtmlEmphasis.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlExample.java b/src/main/java/org/htmlunit/html/HtmlExample.java index 553a3edf2dd..40207710fed 100644 --- a/src/main/java/org/htmlunit/html/HtmlExample.java +++ b/src/main/java/org/htmlunit/html/HtmlExample.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFieldSet.java b/src/main/java/org/htmlunit/html/HtmlFieldSet.java index 25fb285fd16..bfe0cc3fdee 100644 --- a/src/main/java/org/htmlunit/html/HtmlFieldSet.java +++ b/src/main/java/org/htmlunit/html/HtmlFieldSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFigure.java b/src/main/java/org/htmlunit/html/HtmlFigure.java index a45ee383e79..e2aa3446d08 100644 --- a/src/main/java/org/htmlunit/html/HtmlFigure.java +++ b/src/main/java/org/htmlunit/html/HtmlFigure.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFigureCaption.java b/src/main/java/org/htmlunit/html/HtmlFigureCaption.java index 9577c7868a7..8e0485fb7bc 100644 --- a/src/main/java/org/htmlunit/html/HtmlFigureCaption.java +++ b/src/main/java/org/htmlunit/html/HtmlFigureCaption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFileInput.java b/src/main/java/org/htmlunit/html/HtmlFileInput.java index cb53def554a..ccd737981ae 100644 --- a/src/main/java/org/htmlunit/html/HtmlFileInput.java +++ b/src/main/java/org/htmlunit/html/HtmlFileInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFont.java b/src/main/java/org/htmlunit/html/HtmlFont.java index 4b2852afcda..cd9df518051 100644 --- a/src/main/java/org/htmlunit/html/HtmlFont.java +++ b/src/main/java/org/htmlunit/html/HtmlFont.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFooter.java b/src/main/java/org/htmlunit/html/HtmlFooter.java index dc9382b9469..f9236d3b898 100644 --- a/src/main/java/org/htmlunit/html/HtmlFooter.java +++ b/src/main/java/org/htmlunit/html/HtmlFooter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlForm.java b/src/main/java/org/htmlunit/html/HtmlForm.java index 9ad6cafa176..b1aa8eb653f 100644 --- a/src/main/java/org/htmlunit/html/HtmlForm.java +++ b/src/main/java/org/htmlunit/html/HtmlForm.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFrame.java b/src/main/java/org/htmlunit/html/HtmlFrame.java index a5701f5f7e0..1759bc89df9 100644 --- a/src/main/java/org/htmlunit/html/HtmlFrame.java +++ b/src/main/java/org/htmlunit/html/HtmlFrame.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlFrameSet.java b/src/main/java/org/htmlunit/html/HtmlFrameSet.java index dc6cc5c868a..72373a95208 100644 --- a/src/main/java/org/htmlunit/html/HtmlFrameSet.java +++ b/src/main/java/org/htmlunit/html/HtmlFrameSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHead.java b/src/main/java/org/htmlunit/html/HtmlHead.java index 5f47a1d0d8a..1644ec3a378 100644 --- a/src/main/java/org/htmlunit/html/HtmlHead.java +++ b/src/main/java/org/htmlunit/html/HtmlHead.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeader.java b/src/main/java/org/htmlunit/html/HtmlHeader.java index f172f2dd246..f28bddfa71d 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeader.java +++ b/src/main/java/org/htmlunit/html/HtmlHeader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading1.java b/src/main/java/org/htmlunit/html/HtmlHeading1.java index 15ca56c501c..e5eeefb519a 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading1.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading1.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading2.java b/src/main/java/org/htmlunit/html/HtmlHeading2.java index 657bf0c6f2f..e3524b607f6 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading2.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading3.java b/src/main/java/org/htmlunit/html/HtmlHeading3.java index 20d41808dbf..fdcf4f0ab16 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading3.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading3.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading4.java b/src/main/java/org/htmlunit/html/HtmlHeading4.java index e28c9f7ad38..9755347b3fb 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading4.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading4.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading5.java b/src/main/java/org/htmlunit/html/HtmlHeading5.java index bb931137d00..14d26988ca8 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading5.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading5.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHeading6.java b/src/main/java/org/htmlunit/html/HtmlHeading6.java index fe87a181fc8..bf585172957 100644 --- a/src/main/java/org/htmlunit/html/HtmlHeading6.java +++ b/src/main/java/org/htmlunit/html/HtmlHeading6.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHiddenInput.java b/src/main/java/org/htmlunit/html/HtmlHiddenInput.java index 823545fea96..ed3cc0e36c7 100644 --- a/src/main/java/org/htmlunit/html/HtmlHiddenInput.java +++ b/src/main/java/org/htmlunit/html/HtmlHiddenInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHorizontalRule.java b/src/main/java/org/htmlunit/html/HtmlHorizontalRule.java index 53955050627..2495a7cd555 100644 --- a/src/main/java/org/htmlunit/html/HtmlHorizontalRule.java +++ b/src/main/java/org/htmlunit/html/HtmlHorizontalRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlHtml.java b/src/main/java/org/htmlunit/html/HtmlHtml.java index f07f67f6b0a..56a9f6cb416 100644 --- a/src/main/java/org/htmlunit/html/HtmlHtml.java +++ b/src/main/java/org/htmlunit/html/HtmlHtml.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlImage.java b/src/main/java/org/htmlunit/html/HtmlImage.java index d7443adedb9..c0c7a223347 100644 --- a/src/main/java/org/htmlunit/html/HtmlImage.java +++ b/src/main/java/org/htmlunit/html/HtmlImage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlImageInput.java b/src/main/java/org/htmlunit/html/HtmlImageInput.java index e834e04fe1c..f97701232f7 100644 --- a/src/main/java/org/htmlunit/html/HtmlImageInput.java +++ b/src/main/java/org/htmlunit/html/HtmlImageInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlInlineFrame.java b/src/main/java/org/htmlunit/html/HtmlInlineFrame.java index f51fd949fe1..d700d07815f 100644 --- a/src/main/java/org/htmlunit/html/HtmlInlineFrame.java +++ b/src/main/java/org/htmlunit/html/HtmlInlineFrame.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlInlineQuotation.java b/src/main/java/org/htmlunit/html/HtmlInlineQuotation.java index a36ccc92715..1f528886577 100644 --- a/src/main/java/org/htmlunit/html/HtmlInlineQuotation.java +++ b/src/main/java/org/htmlunit/html/HtmlInlineQuotation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlInput.java b/src/main/java/org/htmlunit/html/HtmlInput.java index eb992273e2f..527d033d5d9 100644 --- a/src/main/java/org/htmlunit/html/HtmlInput.java +++ b/src/main/java/org/htmlunit/html/HtmlInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlInsertedText.java b/src/main/java/org/htmlunit/html/HtmlInsertedText.java index 6b92860479f..a3d66ae1faa 100644 --- a/src/main/java/org/htmlunit/html/HtmlInsertedText.java +++ b/src/main/java/org/htmlunit/html/HtmlInsertedText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlItalic.java b/src/main/java/org/htmlunit/html/HtmlItalic.java index e1be355e17f..f26eda91658 100644 --- a/src/main/java/org/htmlunit/html/HtmlItalic.java +++ b/src/main/java/org/htmlunit/html/HtmlItalic.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlKeyboard.java b/src/main/java/org/htmlunit/html/HtmlKeyboard.java index 9d5cd89d9fc..f8cc10c8fa7 100644 --- a/src/main/java/org/htmlunit/html/HtmlKeyboard.java +++ b/src/main/java/org/htmlunit/html/HtmlKeyboard.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlLabel.java b/src/main/java/org/htmlunit/html/HtmlLabel.java index 407ab8c38d7..fbad667da7c 100644 --- a/src/main/java/org/htmlunit/html/HtmlLabel.java +++ b/src/main/java/org/htmlunit/html/HtmlLabel.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlLayer.java b/src/main/java/org/htmlunit/html/HtmlLayer.java index 41686da7229..4dc10388c39 100644 --- a/src/main/java/org/htmlunit/html/HtmlLayer.java +++ b/src/main/java/org/htmlunit/html/HtmlLayer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlLegend.java b/src/main/java/org/htmlunit/html/HtmlLegend.java index ba70d7340d1..1efcb47e383 100644 --- a/src/main/java/org/htmlunit/html/HtmlLegend.java +++ b/src/main/java/org/htmlunit/html/HtmlLegend.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlLink.java b/src/main/java/org/htmlunit/html/HtmlLink.java index 745e1eea767..aea7061577a 100644 --- a/src/main/java/org/htmlunit/html/HtmlLink.java +++ b/src/main/java/org/htmlunit/html/HtmlLink.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlListItem.java b/src/main/java/org/htmlunit/html/HtmlListItem.java index bb643fff7e1..e81804083e4 100644 --- a/src/main/java/org/htmlunit/html/HtmlListItem.java +++ b/src/main/java/org/htmlunit/html/HtmlListItem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlListing.java b/src/main/java/org/htmlunit/html/HtmlListing.java index 309d376ac2a..e8f6e4b093f 100644 --- a/src/main/java/org/htmlunit/html/HtmlListing.java +++ b/src/main/java/org/htmlunit/html/HtmlListing.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMain.java b/src/main/java/org/htmlunit/html/HtmlMain.java index de756f3ddca..3e9c53cf715 100644 --- a/src/main/java/org/htmlunit/html/HtmlMain.java +++ b/src/main/java/org/htmlunit/html/HtmlMain.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMap.java b/src/main/java/org/htmlunit/html/HtmlMap.java index 2ea525afe4f..7ac59c853fa 100644 --- a/src/main/java/org/htmlunit/html/HtmlMap.java +++ b/src/main/java/org/htmlunit/html/HtmlMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMark.java b/src/main/java/org/htmlunit/html/HtmlMark.java index 4d76d35840b..6a4d86c25e9 100644 --- a/src/main/java/org/htmlunit/html/HtmlMark.java +++ b/src/main/java/org/htmlunit/html/HtmlMark.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMarquee.java b/src/main/java/org/htmlunit/html/HtmlMarquee.java index 0ec18376bed..8a4204f0043 100644 --- a/src/main/java/org/htmlunit/html/HtmlMarquee.java +++ b/src/main/java/org/htmlunit/html/HtmlMarquee.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMedia.java b/src/main/java/org/htmlunit/html/HtmlMedia.java index 030e83ece17..3adf013ca07 100644 --- a/src/main/java/org/htmlunit/html/HtmlMedia.java +++ b/src/main/java/org/htmlunit/html/HtmlMedia.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMenu.java b/src/main/java/org/htmlunit/html/HtmlMenu.java index 1775ddfb677..e582f81a4c0 100644 --- a/src/main/java/org/htmlunit/html/HtmlMenu.java +++ b/src/main/java/org/htmlunit/html/HtmlMenu.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMeta.java b/src/main/java/org/htmlunit/html/HtmlMeta.java index b03c7401dfb..72e7fdae9f7 100644 --- a/src/main/java/org/htmlunit/html/HtmlMeta.java +++ b/src/main/java/org/htmlunit/html/HtmlMeta.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMeter.java b/src/main/java/org/htmlunit/html/HtmlMeter.java index 6cbd436cd2c..7976e61b480 100644 --- a/src/main/java/org/htmlunit/html/HtmlMeter.java +++ b/src/main/java/org/htmlunit/html/HtmlMeter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlMonthInput.java b/src/main/java/org/htmlunit/html/HtmlMonthInput.java index 5959a2c914e..ba5c9c11809 100644 --- a/src/main/java/org/htmlunit/html/HtmlMonthInput.java +++ b/src/main/java/org/htmlunit/html/HtmlMonthInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNav.java b/src/main/java/org/htmlunit/html/HtmlNav.java index fb9800bc90f..063ec78ab88 100644 --- a/src/main/java/org/htmlunit/html/HtmlNav.java +++ b/src/main/java/org/htmlunit/html/HtmlNav.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNoBreak.java b/src/main/java/org/htmlunit/html/HtmlNoBreak.java index cef7209e71c..041de331a48 100644 --- a/src/main/java/org/htmlunit/html/HtmlNoBreak.java +++ b/src/main/java/org/htmlunit/html/HtmlNoBreak.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNoEmbed.java b/src/main/java/org/htmlunit/html/HtmlNoEmbed.java index 829e30a4b22..180ae26c769 100644 --- a/src/main/java/org/htmlunit/html/HtmlNoEmbed.java +++ b/src/main/java/org/htmlunit/html/HtmlNoEmbed.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNoFrames.java b/src/main/java/org/htmlunit/html/HtmlNoFrames.java index 29107d7d51e..928fe6b59f2 100644 --- a/src/main/java/org/htmlunit/html/HtmlNoFrames.java +++ b/src/main/java/org/htmlunit/html/HtmlNoFrames.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNoLayer.java b/src/main/java/org/htmlunit/html/HtmlNoLayer.java index 6fde254a22c..a59c4223b2f 100644 --- a/src/main/java/org/htmlunit/html/HtmlNoLayer.java +++ b/src/main/java/org/htmlunit/html/HtmlNoLayer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNoScript.java b/src/main/java/org/htmlunit/html/HtmlNoScript.java index 84e44880254..87cc03590e7 100644 --- a/src/main/java/org/htmlunit/html/HtmlNoScript.java +++ b/src/main/java/org/htmlunit/html/HtmlNoScript.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlNumberInput.java b/src/main/java/org/htmlunit/html/HtmlNumberInput.java index 40a65c08724..4292478ac0d 100644 --- a/src/main/java/org/htmlunit/html/HtmlNumberInput.java +++ b/src/main/java/org/htmlunit/html/HtmlNumberInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlObject.java b/src/main/java/org/htmlunit/html/HtmlObject.java index db6654b4786..e6fee2ea2e5 100644 --- a/src/main/java/org/htmlunit/html/HtmlObject.java +++ b/src/main/java/org/htmlunit/html/HtmlObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlOption.java b/src/main/java/org/htmlunit/html/HtmlOption.java index ac406c0838f..3e8d0167e57 100644 --- a/src/main/java/org/htmlunit/html/HtmlOption.java +++ b/src/main/java/org/htmlunit/html/HtmlOption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlOptionGroup.java b/src/main/java/org/htmlunit/html/HtmlOptionGroup.java index 8a7a9e841f4..a37dd3ba01c 100644 --- a/src/main/java/org/htmlunit/html/HtmlOptionGroup.java +++ b/src/main/java/org/htmlunit/html/HtmlOptionGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlOrderedList.java b/src/main/java/org/htmlunit/html/HtmlOrderedList.java index 13525fc357f..f535b6f46a5 100644 --- a/src/main/java/org/htmlunit/html/HtmlOrderedList.java +++ b/src/main/java/org/htmlunit/html/HtmlOrderedList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlOutput.java b/src/main/java/org/htmlunit/html/HtmlOutput.java index 5b9e37e4f09..b2d12b10e70 100644 --- a/src/main/java/org/htmlunit/html/HtmlOutput.java +++ b/src/main/java/org/htmlunit/html/HtmlOutput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlPage.java b/src/main/java/org/htmlunit/html/HtmlPage.java index 8ed648a6304..7c91c2fb014 100644 --- a/src/main/java/org/htmlunit/html/HtmlPage.java +++ b/src/main/java/org/htmlunit/html/HtmlPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlParagraph.java b/src/main/java/org/htmlunit/html/HtmlParagraph.java index f013ec46e68..fcb292f0472 100644 --- a/src/main/java/org/htmlunit/html/HtmlParagraph.java +++ b/src/main/java/org/htmlunit/html/HtmlParagraph.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlParameter.java b/src/main/java/org/htmlunit/html/HtmlParameter.java index ba4a07cd453..033d60879b4 100644 --- a/src/main/java/org/htmlunit/html/HtmlParameter.java +++ b/src/main/java/org/htmlunit/html/HtmlParameter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlPasswordInput.java b/src/main/java/org/htmlunit/html/HtmlPasswordInput.java index d395d8ed4db..4e07ac633b3 100644 --- a/src/main/java/org/htmlunit/html/HtmlPasswordInput.java +++ b/src/main/java/org/htmlunit/html/HtmlPasswordInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlPicture.java b/src/main/java/org/htmlunit/html/HtmlPicture.java index 8858222c183..46b0b81ad48 100644 --- a/src/main/java/org/htmlunit/html/HtmlPicture.java +++ b/src/main/java/org/htmlunit/html/HtmlPicture.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlPlainText.java b/src/main/java/org/htmlunit/html/HtmlPlainText.java index 52b7d84c5e8..00e53fe4b2d 100644 --- a/src/main/java/org/htmlunit/html/HtmlPlainText.java +++ b/src/main/java/org/htmlunit/html/HtmlPlainText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlPreformattedText.java b/src/main/java/org/htmlunit/html/HtmlPreformattedText.java index 04727e5b3d0..3e1a63c67f5 100644 --- a/src/main/java/org/htmlunit/html/HtmlPreformattedText.java +++ b/src/main/java/org/htmlunit/html/HtmlPreformattedText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlProgress.java b/src/main/java/org/htmlunit/html/HtmlProgress.java index b88c8d7e0b3..3a8f288954a 100644 --- a/src/main/java/org/htmlunit/html/HtmlProgress.java +++ b/src/main/java/org/htmlunit/html/HtmlProgress.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java b/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java index 675f6d520af..8471105f8cb 100644 --- a/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java +++ b/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRangeInput.java b/src/main/java/org/htmlunit/html/HtmlRangeInput.java index cf3ef870c39..015a41e9072 100644 --- a/src/main/java/org/htmlunit/html/HtmlRangeInput.java +++ b/src/main/java/org/htmlunit/html/HtmlRangeInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRb.java b/src/main/java/org/htmlunit/html/HtmlRb.java index 0af0e72da41..beef3a1dc2d 100644 --- a/src/main/java/org/htmlunit/html/HtmlRb.java +++ b/src/main/java/org/htmlunit/html/HtmlRb.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlResetInput.java b/src/main/java/org/htmlunit/html/HtmlResetInput.java index 62efd60400f..d7623a39f0c 100644 --- a/src/main/java/org/htmlunit/html/HtmlResetInput.java +++ b/src/main/java/org/htmlunit/html/HtmlResetInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRp.java b/src/main/java/org/htmlunit/html/HtmlRp.java index 84999fa3d67..1cca0de3803 100644 --- a/src/main/java/org/htmlunit/html/HtmlRp.java +++ b/src/main/java/org/htmlunit/html/HtmlRp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRt.java b/src/main/java/org/htmlunit/html/HtmlRt.java index 0cca5bb1849..e0166bc3f97 100644 --- a/src/main/java/org/htmlunit/html/HtmlRt.java +++ b/src/main/java/org/htmlunit/html/HtmlRt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRtc.java b/src/main/java/org/htmlunit/html/HtmlRtc.java index d6ea798cad7..d2db0cb48b7 100644 --- a/src/main/java/org/htmlunit/html/HtmlRtc.java +++ b/src/main/java/org/htmlunit/html/HtmlRtc.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlRuby.java b/src/main/java/org/htmlunit/html/HtmlRuby.java index fde8ec95a39..a04cf48ce6a 100644 --- a/src/main/java/org/htmlunit/html/HtmlRuby.java +++ b/src/main/java/org/htmlunit/html/HtmlRuby.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlS.java b/src/main/java/org/htmlunit/html/HtmlS.java index e10704f066f..cfab3e2963b 100644 --- a/src/main/java/org/htmlunit/html/HtmlS.java +++ b/src/main/java/org/htmlunit/html/HtmlS.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSample.java b/src/main/java/org/htmlunit/html/HtmlSample.java index c25bd0dc5e1..34b5df1747f 100644 --- a/src/main/java/org/htmlunit/html/HtmlSample.java +++ b/src/main/java/org/htmlunit/html/HtmlSample.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlScript.java b/src/main/java/org/htmlunit/html/HtmlScript.java index a96070ad3c8..7eb093bb317 100644 --- a/src/main/java/org/htmlunit/html/HtmlScript.java +++ b/src/main/java/org/htmlunit/html/HtmlScript.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSearchInput.java b/src/main/java/org/htmlunit/html/HtmlSearchInput.java index fedb500378b..0d5d2bdc02a 100644 --- a/src/main/java/org/htmlunit/html/HtmlSearchInput.java +++ b/src/main/java/org/htmlunit/html/HtmlSearchInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSection.java b/src/main/java/org/htmlunit/html/HtmlSection.java index 209bade2631..5f8b011b382 100644 --- a/src/main/java/org/htmlunit/html/HtmlSection.java +++ b/src/main/java/org/htmlunit/html/HtmlSection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSelect.java b/src/main/java/org/htmlunit/html/HtmlSelect.java index 43106915cb4..8b2f07d3e79 100644 --- a/src/main/java/org/htmlunit/html/HtmlSelect.java +++ b/src/main/java/org/htmlunit/html/HtmlSelect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java b/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java index f6aeb79ac85..411df97eef4 100644 --- a/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java +++ b/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSlot.java b/src/main/java/org/htmlunit/html/HtmlSlot.java index f2e59524748..0ebc751d2fe 100644 --- a/src/main/java/org/htmlunit/html/HtmlSlot.java +++ b/src/main/java/org/htmlunit/html/HtmlSlot.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSmall.java b/src/main/java/org/htmlunit/html/HtmlSmall.java index d7b8bb502e3..a8e2f616292 100644 --- a/src/main/java/org/htmlunit/html/HtmlSmall.java +++ b/src/main/java/org/htmlunit/html/HtmlSmall.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSource.java b/src/main/java/org/htmlunit/html/HtmlSource.java index 00ca3280eee..e554dc406f6 100644 --- a/src/main/java/org/htmlunit/html/HtmlSource.java +++ b/src/main/java/org/htmlunit/html/HtmlSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSpan.java b/src/main/java/org/htmlunit/html/HtmlSpan.java index f31e6496839..abf2243c018 100644 --- a/src/main/java/org/htmlunit/html/HtmlSpan.java +++ b/src/main/java/org/htmlunit/html/HtmlSpan.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlStrike.java b/src/main/java/org/htmlunit/html/HtmlStrike.java index 3c71ce763d0..6e1156424a2 100644 --- a/src/main/java/org/htmlunit/html/HtmlStrike.java +++ b/src/main/java/org/htmlunit/html/HtmlStrike.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlStrong.java b/src/main/java/org/htmlunit/html/HtmlStrong.java index a4de4d07819..7266e15bb6d 100644 --- a/src/main/java/org/htmlunit/html/HtmlStrong.java +++ b/src/main/java/org/htmlunit/html/HtmlStrong.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlStyle.java b/src/main/java/org/htmlunit/html/HtmlStyle.java index 3bd74f6bf04..d450ea6babc 100644 --- a/src/main/java/org/htmlunit/html/HtmlStyle.java +++ b/src/main/java/org/htmlunit/html/HtmlStyle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSubmitInput.java b/src/main/java/org/htmlunit/html/HtmlSubmitInput.java index 052fd7f0786..3c1067d3788 100644 --- a/src/main/java/org/htmlunit/html/HtmlSubmitInput.java +++ b/src/main/java/org/htmlunit/html/HtmlSubmitInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSubscript.java b/src/main/java/org/htmlunit/html/HtmlSubscript.java index d88c3f4eee9..bbaf6601bc5 100644 --- a/src/main/java/org/htmlunit/html/HtmlSubscript.java +++ b/src/main/java/org/htmlunit/html/HtmlSubscript.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSummary.java b/src/main/java/org/htmlunit/html/HtmlSummary.java index 82209589bf3..3bcda51ecf1 100644 --- a/src/main/java/org/htmlunit/html/HtmlSummary.java +++ b/src/main/java/org/htmlunit/html/HtmlSummary.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSuperscript.java b/src/main/java/org/htmlunit/html/HtmlSuperscript.java index da860d55d68..99887803649 100644 --- a/src/main/java/org/htmlunit/html/HtmlSuperscript.java +++ b/src/main/java/org/htmlunit/html/HtmlSuperscript.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlSvg.java b/src/main/java/org/htmlunit/html/HtmlSvg.java index 75fa768d2d8..2d2708dff95 100644 --- a/src/main/java/org/htmlunit/html/HtmlSvg.java +++ b/src/main/java/org/htmlunit/html/HtmlSvg.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTable.java b/src/main/java/org/htmlunit/html/HtmlTable.java index fef6feba237..71731bd5601 100644 --- a/src/main/java/org/htmlunit/html/HtmlTable.java +++ b/src/main/java/org/htmlunit/html/HtmlTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableBody.java b/src/main/java/org/htmlunit/html/HtmlTableBody.java index c7487ed2010..6febca3b576 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableBody.java +++ b/src/main/java/org/htmlunit/html/HtmlTableBody.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableCell.java b/src/main/java/org/htmlunit/html/HtmlTableCell.java index 9dfc11abd39..7225fda0abd 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableCell.java +++ b/src/main/java/org/htmlunit/html/HtmlTableCell.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableColumn.java b/src/main/java/org/htmlunit/html/HtmlTableColumn.java index 2aa6d78f733..abc8e1bdbd1 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableColumn.java +++ b/src/main/java/org/htmlunit/html/HtmlTableColumn.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableColumnGroup.java b/src/main/java/org/htmlunit/html/HtmlTableColumnGroup.java index 32f221f9800..9ba63d40c1d 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableColumnGroup.java +++ b/src/main/java/org/htmlunit/html/HtmlTableColumnGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableDataCell.java b/src/main/java/org/htmlunit/html/HtmlTableDataCell.java index e3eeb446c3f..dd77fd2889b 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableDataCell.java +++ b/src/main/java/org/htmlunit/html/HtmlTableDataCell.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableFooter.java b/src/main/java/org/htmlunit/html/HtmlTableFooter.java index 87a89d4916a..38141b21ab9 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableFooter.java +++ b/src/main/java/org/htmlunit/html/HtmlTableFooter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableHeader.java b/src/main/java/org/htmlunit/html/HtmlTableHeader.java index 4fcc4929da6..f53cdad68b3 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableHeader.java +++ b/src/main/java/org/htmlunit/html/HtmlTableHeader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableHeaderCell.java b/src/main/java/org/htmlunit/html/HtmlTableHeaderCell.java index 490d9aff7c5..7885fc90b04 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableHeaderCell.java +++ b/src/main/java/org/htmlunit/html/HtmlTableHeaderCell.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTableRow.java b/src/main/java/org/htmlunit/html/HtmlTableRow.java index baaf17ec163..7d0eba3849e 100644 --- a/src/main/java/org/htmlunit/html/HtmlTableRow.java +++ b/src/main/java/org/htmlunit/html/HtmlTableRow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTelInput.java b/src/main/java/org/htmlunit/html/HtmlTelInput.java index 6e593928e37..f8068a6c9df 100644 --- a/src/main/java/org/htmlunit/html/HtmlTelInput.java +++ b/src/main/java/org/htmlunit/html/HtmlTelInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTeletype.java b/src/main/java/org/htmlunit/html/HtmlTeletype.java index 6898074a910..67520a8d239 100644 --- a/src/main/java/org/htmlunit/html/HtmlTeletype.java +++ b/src/main/java/org/htmlunit/html/HtmlTeletype.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTemplate.java b/src/main/java/org/htmlunit/html/HtmlTemplate.java index 20258ab9783..e1cb57afcde 100644 --- a/src/main/java/org/htmlunit/html/HtmlTemplate.java +++ b/src/main/java/org/htmlunit/html/HtmlTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTextArea.java b/src/main/java/org/htmlunit/html/HtmlTextArea.java index 961b7b08e4d..b308ea3cccc 100644 --- a/src/main/java/org/htmlunit/html/HtmlTextArea.java +++ b/src/main/java/org/htmlunit/html/HtmlTextArea.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTextInput.java b/src/main/java/org/htmlunit/html/HtmlTextInput.java index 736ad273312..a50abdd9571 100644 --- a/src/main/java/org/htmlunit/html/HtmlTextInput.java +++ b/src/main/java/org/htmlunit/html/HtmlTextInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTime.java b/src/main/java/org/htmlunit/html/HtmlTime.java index 9c814439dd8..65d0d378974 100644 --- a/src/main/java/org/htmlunit/html/HtmlTime.java +++ b/src/main/java/org/htmlunit/html/HtmlTime.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTimeInput.java b/src/main/java/org/htmlunit/html/HtmlTimeInput.java index 2b2e33695b8..74f38e37021 100644 --- a/src/main/java/org/htmlunit/html/HtmlTimeInput.java +++ b/src/main/java/org/htmlunit/html/HtmlTimeInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTitle.java b/src/main/java/org/htmlunit/html/HtmlTitle.java index c49e6fc0089..fc04a5c0b83 100644 --- a/src/main/java/org/htmlunit/html/HtmlTitle.java +++ b/src/main/java/org/htmlunit/html/HtmlTitle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlTrack.java b/src/main/java/org/htmlunit/html/HtmlTrack.java index be74d4e73bc..1cd0542f69b 100644 --- a/src/main/java/org/htmlunit/html/HtmlTrack.java +++ b/src/main/java/org/htmlunit/html/HtmlTrack.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlUnderlined.java b/src/main/java/org/htmlunit/html/HtmlUnderlined.java index fccdc68f4de..7d480355c53 100644 --- a/src/main/java/org/htmlunit/html/HtmlUnderlined.java +++ b/src/main/java/org/htmlunit/html/HtmlUnderlined.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlUnknownElement.java b/src/main/java/org/htmlunit/html/HtmlUnknownElement.java index 57c628e6998..0cd1dd74ead 100644 --- a/src/main/java/org/htmlunit/html/HtmlUnknownElement.java +++ b/src/main/java/org/htmlunit/html/HtmlUnknownElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlUnorderedList.java b/src/main/java/org/htmlunit/html/HtmlUnorderedList.java index a1b4ac3344a..a9b6b5ddb07 100644 --- a/src/main/java/org/htmlunit/html/HtmlUnorderedList.java +++ b/src/main/java/org/htmlunit/html/HtmlUnorderedList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlUrlInput.java b/src/main/java/org/htmlunit/html/HtmlUrlInput.java index c2c9ae192f5..5b670a4e821 100644 --- a/src/main/java/org/htmlunit/html/HtmlUrlInput.java +++ b/src/main/java/org/htmlunit/html/HtmlUrlInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlVariable.java b/src/main/java/org/htmlunit/html/HtmlVariable.java index 7e277086443..456f4c5daa1 100644 --- a/src/main/java/org/htmlunit/html/HtmlVariable.java +++ b/src/main/java/org/htmlunit/html/HtmlVariable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlVideo.java b/src/main/java/org/htmlunit/html/HtmlVideo.java index c64baad80c9..88dfdedd489 100644 --- a/src/main/java/org/htmlunit/html/HtmlVideo.java +++ b/src/main/java/org/htmlunit/html/HtmlVideo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlWeekInput.java b/src/main/java/org/htmlunit/html/HtmlWeekInput.java index afa4a4370eb..c94a7423dea 100644 --- a/src/main/java/org/htmlunit/html/HtmlWeekInput.java +++ b/src/main/java/org/htmlunit/html/HtmlWeekInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/HtmlWordBreak.java b/src/main/java/org/htmlunit/html/HtmlWordBreak.java index 7244bc185dc..90c2c7d071e 100644 --- a/src/main/java/org/htmlunit/html/HtmlWordBreak.java +++ b/src/main/java/org/htmlunit/html/HtmlWordBreak.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/Keyboard.java b/src/main/java/org/htmlunit/html/Keyboard.java index e16f6ba0578..fb935a3e7c6 100644 --- a/src/main/java/org/htmlunit/html/Keyboard.java +++ b/src/main/java/org/htmlunit/html/Keyboard.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/LabelableElement.java b/src/main/java/org/htmlunit/html/LabelableElement.java index d9f5ae80603..ab098808674 100644 --- a/src/main/java/org/htmlunit/html/LabelableElement.java +++ b/src/main/java/org/htmlunit/html/LabelableElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/ScriptElement.java b/src/main/java/org/htmlunit/html/ScriptElement.java index a955817a64c..1a96e2bea1d 100644 --- a/src/main/java/org/htmlunit/html/ScriptElement.java +++ b/src/main/java/org/htmlunit/html/ScriptElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/ScriptElementSupport.java b/src/main/java/org/htmlunit/html/ScriptElementSupport.java index b48f630f1b2..a542a2bed51 100644 --- a/src/main/java/org/htmlunit/html/ScriptElementSupport.java +++ b/src/main/java/org/htmlunit/html/ScriptElementSupport.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/SiblingDomNodeList.java b/src/main/java/org/htmlunit/html/SiblingDomNodeList.java index 009de12080e..b864693af43 100644 --- a/src/main/java/org/htmlunit/html/SiblingDomNodeList.java +++ b/src/main/java/org/htmlunit/html/SiblingDomNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/StaticDomNodeList.java b/src/main/java/org/htmlunit/html/StaticDomNodeList.java index a0305646333..8a1305c0e6b 100644 --- a/src/main/java/org/htmlunit/html/StaticDomNodeList.java +++ b/src/main/java/org/htmlunit/html/StaticDomNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/SubmittableElement.java b/src/main/java/org/htmlunit/html/SubmittableElement.java index a8c8a3006e0..b913146e4f9 100644 --- a/src/main/java/org/htmlunit/html/SubmittableElement.java +++ b/src/main/java/org/htmlunit/html/SubmittableElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/TableRowGroup.java b/src/main/java/org/htmlunit/html/TableRowGroup.java index f885b0cfafb..4c3655a8d13 100644 --- a/src/main/java/org/htmlunit/html/TableRowGroup.java +++ b/src/main/java/org/htmlunit/html/TableRowGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/UnknownElementFactory.java b/src/main/java/org/htmlunit/html/UnknownElementFactory.java index f5e640f9aaa..4ecff7bab49 100644 --- a/src/main/java/org/htmlunit/html/UnknownElementFactory.java +++ b/src/main/java/org/htmlunit/html/UnknownElementFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/ValidatableElement.java b/src/main/java/org/htmlunit/html/ValidatableElement.java index 654aa459727..844b3f7cb09 100644 --- a/src/main/java/org/htmlunit/html/ValidatableElement.java +++ b/src/main/java/org/htmlunit/html/ValidatableElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/XHtmlPage.java b/src/main/java/org/htmlunit/html/XHtmlPage.java index 0ad14093a45..6f336bf0659 100644 --- a/src/main/java/org/htmlunit/html/XHtmlPage.java +++ b/src/main/java/org/htmlunit/html/XHtmlPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/XmlSerializer.java b/src/main/java/org/htmlunit/html/XmlSerializer.java index 0eb2cb5a44b..a462cf6b7f7 100644 --- a/src/main/java/org/htmlunit/html/XmlSerializer.java +++ b/src/main/java/org/htmlunit/html/XmlSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/Color.java b/src/main/java/org/htmlunit/html/impl/Color.java index bdd1e267813..2dc3fe586e8 100644 --- a/src/main/java/org/htmlunit/html/impl/Color.java +++ b/src/main/java/org/htmlunit/html/impl/Color.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/SelectableTextInput.java b/src/main/java/org/htmlunit/html/impl/SelectableTextInput.java index 04b4560a603..9e23ec7b611 100644 --- a/src/main/java/org/htmlunit/html/impl/SelectableTextInput.java +++ b/src/main/java/org/htmlunit/html/impl/SelectableTextInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java b/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java index 0430e4460e5..334d2805102 100644 --- a/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java +++ b/src/main/java/org/htmlunit/html/impl/SelectableTextSelectionDelegate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/SelectionDelegate.java b/src/main/java/org/htmlunit/html/impl/SelectionDelegate.java index c2cdd07e260..0133077f0a5 100644 --- a/src/main/java/org/htmlunit/html/impl/SelectionDelegate.java +++ b/src/main/java/org/htmlunit/html/impl/SelectionDelegate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/SimpleRange.java b/src/main/java/org/htmlunit/html/impl/SimpleRange.java index fbef296df7e..2705f7877df 100644 --- a/src/main/java/org/htmlunit/html/impl/SimpleRange.java +++ b/src/main/java/org/htmlunit/html/impl/SimpleRange.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/SimpleSelectionDelegate.java b/src/main/java/org/htmlunit/html/impl/SimpleSelectionDelegate.java index 52458d67ba8..d45435cdb85 100644 --- a/src/main/java/org/htmlunit/html/impl/SimpleSelectionDelegate.java +++ b/src/main/java/org/htmlunit/html/impl/SimpleSelectionDelegate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/impl/package-info.java b/src/main/java/org/htmlunit/html/impl/package-info.java index bad5bdf5a12..07d9b477f31 100644 --- a/src/main/java/org/htmlunit/html/impl/package-info.java +++ b/src/main/java/org/htmlunit/html/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/package-info.java b/src/main/java/org/htmlunit/html/package-info.java index f2fb04e7dea..6aed541c35d 100644 --- a/src/main/java/org/htmlunit/html/package-info.java +++ b/src/main/java/org/htmlunit/html/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/HTMLParser.java b/src/main/java/org/htmlunit/html/parser/HTMLParser.java index 63da9984060..adeafefec45 100644 --- a/src/main/java/org/htmlunit/html/parser/HTMLParser.java +++ b/src/main/java/org/htmlunit/html/parser/HTMLParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/HTMLParserDOMBuilder.java b/src/main/java/org/htmlunit/html/parser/HTMLParserDOMBuilder.java index f5adceaa6a8..c12143e4a9f 100644 --- a/src/main/java/org/htmlunit/html/parser/HTMLParserDOMBuilder.java +++ b/src/main/java/org/htmlunit/html/parser/HTMLParserDOMBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/HTMLParserListener.java b/src/main/java/org/htmlunit/html/parser/HTMLParserListener.java index b941688e16d..0eb758ed0e6 100644 --- a/src/main/java/org/htmlunit/html/parser/HTMLParserListener.java +++ b/src/main/java/org/htmlunit/html/parser/HTMLParserListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java b/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java index 9e68ab12967..6bb68c43b4a 100644 --- a/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java +++ b/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java b/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java index 74b464f2385..1a0b8d7c79a 100644 --- a/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java +++ b/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/neko/package-info.java b/src/main/java/org/htmlunit/html/parser/neko/package-info.java index 3ee2186e58e..2944fb2de07 100644 --- a/src/main/java/org/htmlunit/html/parser/neko/package-info.java +++ b/src/main/java/org/htmlunit/html/parser/neko/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/parser/package-info.java b/src/main/java/org/htmlunit/html/parser/package-info.java index 9d946ab60cc..53b21ca71ab 100644 --- a/src/main/java/org/htmlunit/html/parser/package-info.java +++ b/src/main/java/org/htmlunit/html/parser/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java index 2396e2593c4..3e919e6a3df 100644 --- a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java +++ b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText.java b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText.java index 35006258db1..9be60feb6dd 100644 --- a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText.java +++ b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText.java b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText.java index 635a3f33d93..b57f2f485a5 100644 --- a/src/main/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText.java +++ b/src/main/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/serializer/package-info.java b/src/main/java/org/htmlunit/html/serializer/package-info.java index 040d6ac6e07..bf893024405 100644 --- a/src/main/java/org/htmlunit/html/serializer/package-info.java +++ b/src/main/java/org/htmlunit/html/serializer/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java b/src/main/java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java index 46fe6e3feda..824f7a3d240 100644 --- a/src/main/java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java +++ b/src/main/java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java b/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java index cf0b7497e3e..ade9c47c8b8 100644 --- a/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java +++ b/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/xpath/XPathHelper.java b/src/main/java/org/htmlunit/html/xpath/XPathHelper.java index cd608257e39..c2236fa1950 100644 --- a/src/main/java/org/htmlunit/html/xpath/XPathHelper.java +++ b/src/main/java/org/htmlunit/html/xpath/XPathHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/html/xpath/package-info.java b/src/main/java/org/htmlunit/html/xpath/package-info.java index 74e1b478cc0..e399cdcf4ab 100644 --- a/src/main/java/org/htmlunit/html/xpath/package-info.java +++ b/src/main/java/org/htmlunit/html/xpath/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/http/HttpStatus.java b/src/main/java/org/htmlunit/http/HttpStatus.java index 1533561f77d..436141565eb 100644 --- a/src/main/java/org/htmlunit/http/HttpStatus.java +++ b/src/main/java/org/htmlunit/http/HttpStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/http/HttpUtils.java b/src/main/java/org/htmlunit/http/HttpUtils.java index fa6cf9de713..352821b7936 100644 --- a/src/main/java/org/htmlunit/http/HttpUtils.java +++ b/src/main/java/org/htmlunit/http/HttpUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/http/package-info.java b/src/main/java/org/htmlunit/http/package-info.java index 58526dc5f98..b9e197f8bc5 100644 --- a/src/main/java/org/htmlunit/http/package-info.java +++ b/src/main/java/org/htmlunit/http/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieHeaderValueFormatter.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieHeaderValueFormatter.java index 89718701242..0b0e8b2eac4 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieHeaderValueFormatter.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieHeaderValueFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieSpec.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieSpec.java index 77ca3918c30..893ec8bf758 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieSpec.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitBrowserCompatCookieSpec.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieSpecProvider.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieSpecProvider.java index 41063f6e0d6..35b6a5bce37 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieSpecProvider.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieSpecProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieStore.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieStore.java index 79cdac2a5d4..dd371bb1f70 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieStore.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitCookieStore.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitDomainHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitDomainHandler.java index b8d0c0c8cbc..9340bdd8a0d 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitDomainHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitDomainHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitExpiresHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitExpiresHandler.java index b23bc40a79a..733632c4e33 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitExpiresHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitExpiresHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitHttpOnlyHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitHttpOnlyHandler.java index b4cd18ca563..ea38eba236c 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitHttpOnlyHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitHttpOnlyHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitMaxAgeHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitMaxAgeHandler.java index 063819cd62e..c49d93eb27f 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitMaxAgeHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitMaxAgeHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitPathHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitPathHandler.java index 40773ec4676..ec1385557a1 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitPathHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitPathHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitRedirectStrategie.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitRedirectStrategie.java index 24bbed61091..48f930f9f83 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitRedirectStrategie.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitRedirectStrategie.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java index 6fab8d69698..b98582cc863 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitSSLConnectionSocketFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitSameSiteHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitSameSiteHandler.java index 3123dadca5f..f9fb0fe5485 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitSameSiteHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitSameSiteHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitSecureHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitSecureHandler.java index beda0515837..dfd8e8055f4 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitSecureHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitSecureHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitUsernamePasswordCredentials.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitUsernamePasswordCredentials.java index 4502bcbc49d..a4095db56b1 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitUsernamePasswordCredentials.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitUsernamePasswordCredentials.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HtmlUnitVersionAttributeHandler.java b/src/main/java/org/htmlunit/httpclient/HtmlUnitVersionAttributeHandler.java index 5026a3a8626..4fc36c0f1ed 100644 --- a/src/main/java/org/htmlunit/httpclient/HtmlUnitVersionAttributeHandler.java +++ b/src/main/java/org/htmlunit/httpclient/HtmlUnitVersionAttributeHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HttpClientConverter.java b/src/main/java/org/htmlunit/httpclient/HttpClientConverter.java index 45b626c082b..455633bfadf 100644 --- a/src/main/java/org/htmlunit/httpclient/HttpClientConverter.java +++ b/src/main/java/org/htmlunit/httpclient/HttpClientConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HttpDelete.java b/src/main/java/org/htmlunit/httpclient/HttpDelete.java index 5463dfb1743..9697896df26 100644 --- a/src/main/java/org/htmlunit/httpclient/HttpDelete.java +++ b/src/main/java/org/htmlunit/httpclient/HttpDelete.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/HttpOptions.java b/src/main/java/org/htmlunit/httpclient/HttpOptions.java index 723fa53afa3..92a9a329d19 100644 --- a/src/main/java/org/htmlunit/httpclient/HttpOptions.java +++ b/src/main/java/org/htmlunit/httpclient/HttpOptions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/SocksConnectionSocketFactory.java b/src/main/java/org/htmlunit/httpclient/SocksConnectionSocketFactory.java index 0821abd4099..e71a68a4383 100644 --- a/src/main/java/org/htmlunit/httpclient/SocksConnectionSocketFactory.java +++ b/src/main/java/org/htmlunit/httpclient/SocksConnectionSocketFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/httpclient/package-info.java b/src/main/java/org/htmlunit/httpclient/package-info.java index 6ecc919c21c..a2147c5928d 100644 --- a/src/main/java/org/htmlunit/httpclient/package-info.java +++ b/src/main/java/org/htmlunit/httpclient/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/AbstractJavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/AbstractJavaScriptEngine.java index 1a36e9ecbc4..29a558c6080 100644 --- a/src/main/java/org/htmlunit/javascript/AbstractJavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/AbstractJavaScriptEngine.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/DebugFrameAdapter.java b/src/main/java/org/htmlunit/javascript/DebugFrameAdapter.java index 9322c33abd4..99bbe72727a 100644 --- a/src/main/java/org/htmlunit/javascript/DebugFrameAdapter.java +++ b/src/main/java/org/htmlunit/javascript/DebugFrameAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/DebugFrameImpl.java b/src/main/java/org/htmlunit/javascript/DebugFrameImpl.java index a67a6441683..dbfa9d33993 100644 --- a/src/main/java/org/htmlunit/javascript/DebugFrameImpl.java +++ b/src/main/java/org/htmlunit/javascript/DebugFrameImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/DebuggerAdapter.java b/src/main/java/org/htmlunit/javascript/DebuggerAdapter.java index 7d53f77c97a..f1434b77ec0 100644 --- a/src/main/java/org/htmlunit/javascript/DebuggerAdapter.java +++ b/src/main/java/org/htmlunit/javascript/DebuggerAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/DebuggerImpl.java b/src/main/java/org/htmlunit/javascript/DebuggerImpl.java index 716a619eb0c..ef35f99e8b0 100644 --- a/src/main/java/org/htmlunit/javascript/DebuggerImpl.java +++ b/src/main/java/org/htmlunit/javascript/DebuggerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/DefaultJavaScriptErrorListener.java b/src/main/java/org/htmlunit/javascript/DefaultJavaScriptErrorListener.java index 9dff512805d..10124fabc8d 100644 --- a/src/main/java/org/htmlunit/javascript/DefaultJavaScriptErrorListener.java +++ b/src/main/java/org/htmlunit/javascript/DefaultJavaScriptErrorListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/FunctionWrapper.java b/src/main/java/org/htmlunit/javascript/FunctionWrapper.java index 87f4e699086..0313778f880 100644 --- a/src/main/java/org/htmlunit/javascript/FunctionWrapper.java +++ b/src/main/java/org/htmlunit/javascript/FunctionWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/HiddenFunctionObject.java b/src/main/java/org/htmlunit/javascript/HiddenFunctionObject.java index 33c66557ad9..a26539221c7 100644 --- a/src/main/java/org/htmlunit/javascript/HiddenFunctionObject.java +++ b/src/main/java/org/htmlunit/javascript/HiddenFunctionObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java index 60231edd8c8..58c18899238 100644 --- a/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java +++ b/src/main/java/org/htmlunit/javascript/HtmlUnitContextFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/HtmlUnitScriptable.java b/src/main/java/org/htmlunit/javascript/HtmlUnitScriptable.java index f7eba4f944c..7fdf07b14bc 100644 --- a/src/main/java/org/htmlunit/javascript/HtmlUnitScriptable.java +++ b/src/main/java/org/htmlunit/javascript/HtmlUnitScriptable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/HtmlUnitScriptableProxy.java b/src/main/java/org/htmlunit/javascript/HtmlUnitScriptableProxy.java index 32bb6a37384..60d3bb07e29 100644 --- a/src/main/java/org/htmlunit/javascript/HtmlUnitScriptableProxy.java +++ b/src/main/java/org/htmlunit/javascript/HtmlUnitScriptableProxy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 2e017ce409d..0c429bddfdf 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptErrorListener.java b/src/main/java/org/htmlunit/javascript/JavaScriptErrorListener.java index 16eec0a0c10..d4524d6db09 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptErrorListener.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptErrorListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/NativeFunctionToStringFunction.java b/src/main/java/org/htmlunit/javascript/NativeFunctionToStringFunction.java index f9b6a727888..da65a397d68 100644 --- a/src/main/java/org/htmlunit/javascript/NativeFunctionToStringFunction.java +++ b/src/main/java/org/htmlunit/javascript/NativeFunctionToStringFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/PostponedAction.java b/src/main/java/org/htmlunit/javascript/PostponedAction.java index 33fff13c9c0..f2c94e67fe0 100644 --- a/src/main/java/org/htmlunit/javascript/PostponedAction.java +++ b/src/main/java/org/htmlunit/javascript/PostponedAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/RecursiveFunctionObject.java b/src/main/java/org/htmlunit/javascript/RecursiveFunctionObject.java index 2f1f8b634a9..68e619d97ff 100644 --- a/src/main/java/org/htmlunit/javascript/RecursiveFunctionObject.java +++ b/src/main/java/org/htmlunit/javascript/RecursiveFunctionObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/SilentJavaScriptErrorListener.java b/src/main/java/org/htmlunit/javascript/SilentJavaScriptErrorListener.java index 05325f65860..0912f2531c1 100644 --- a/src/main/java/org/htmlunit/javascript/SilentJavaScriptErrorListener.java +++ b/src/main/java/org/htmlunit/javascript/SilentJavaScriptErrorListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/TimeoutError.java b/src/main/java/org/htmlunit/javascript/TimeoutError.java index ae516441c1f..1cba626c18c 100644 --- a/src/main/java/org/htmlunit/javascript/TimeoutError.java +++ b/src/main/java/org/htmlunit/javascript/TimeoutError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/BackgroundJavaScriptFactory.java b/src/main/java/org/htmlunit/javascript/background/BackgroundJavaScriptFactory.java index 608ceea03c0..98a58c8508c 100644 --- a/src/main/java/org/htmlunit/javascript/background/BackgroundJavaScriptFactory.java +++ b/src/main/java/org/htmlunit/javascript/background/BackgroundJavaScriptFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/BasicJavaScriptJob.java b/src/main/java/org/htmlunit/javascript/background/BasicJavaScriptJob.java index bfdfff96105..50282b8d855 100644 --- a/src/main/java/org/htmlunit/javascript/background/BasicJavaScriptJob.java +++ b/src/main/java/org/htmlunit/javascript/background/BasicJavaScriptJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java b/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java index a4803e389be..22d8a3a1edc 100644 --- a/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java +++ b/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutionJob.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutionJob.java index 6503b3bb73d..459b0e1c20d 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutionJob.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutionJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutor.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutor.java index 2b640693703..4e9656fbea5 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutor.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptFunctionJob.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptFunctionJob.java index 51adec11eab..08686261a98 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptFunctionJob.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptFunctionJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptJob.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptJob.java index 133ed2f48ce..faa078a0134 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptJob.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManager.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManager.java index 23173ab5a14..2ae81e89a24 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManager.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManagerImpl.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManagerImpl.java index 7c902dd35a8..66cb6a73e52 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManagerImpl.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptJobManagerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavaScriptStringJob.java b/src/main/java/org/htmlunit/javascript/background/JavaScriptStringJob.java index fa469b3af2a..e7f26a1002d 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavaScriptStringJob.java +++ b/src/main/java/org/htmlunit/javascript/background/JavaScriptStringJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/JavascriptXMLHttpRequestJob.java b/src/main/java/org/htmlunit/javascript/background/JavascriptXMLHttpRequestJob.java index 80b0bae5a47..a6e8bf6c441 100644 --- a/src/main/java/org/htmlunit/javascript/background/JavascriptXMLHttpRequestJob.java +++ b/src/main/java/org/htmlunit/javascript/background/JavascriptXMLHttpRequestJob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/background/package-info.java b/src/main/java/org/htmlunit/javascript/background/package-info.java index ca516334fa0..e452ec72d1a 100644 --- a/src/main/java/org/htmlunit/javascript/background/package-info.java +++ b/src/main/java/org/htmlunit/javascript/background/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java index e95cf7b63c7..8f2eedb9a1c 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/AbstractJavaScriptConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/BrowserFeature.java b/src/main/java/org/htmlunit/javascript/configuration/BrowserFeature.java index ef79252b339..0fcc17a8855 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/BrowserFeature.java +++ b/src/main/java/org/htmlunit/javascript/configuration/BrowserFeature.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/ClassConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/ClassConfiguration.java index 64da7c68879..408daa66fdd 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/ClassConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/ClassConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java index 8dc95783f18..fa559847325 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxClass.java b/src/main/java/org/htmlunit/javascript/configuration/JsxClass.java index 2aee9b71550..663b5c9a1b5 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxClass.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxClass.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxClasses.java b/src/main/java/org/htmlunit/javascript/configuration/JsxClasses.java index 1b1491073f7..3ef6a1e9aa6 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxClasses.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxClasses.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxConstant.java b/src/main/java/org/htmlunit/javascript/configuration/JsxConstant.java index f08ce73347f..4c63dbf3c95 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxConstant.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxConstant.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxConstructor.java b/src/main/java/org/htmlunit/javascript/configuration/JsxConstructor.java index 7b4b4cdfc11..cfc877cd964 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxConstructor.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxConstructor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxConstructorAlias.java b/src/main/java/org/htmlunit/javascript/configuration/JsxConstructorAlias.java index e5dfc6f3ca3..c80f2fd40a2 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxConstructorAlias.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxConstructorAlias.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxFunction.java b/src/main/java/org/htmlunit/javascript/configuration/JsxFunction.java index ef09142c1df..3f78d731b9b 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxFunction.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxGetter.java b/src/main/java/org/htmlunit/javascript/configuration/JsxGetter.java index 96e2c1136f0..bd5a2131035 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxGetter.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxGetter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxSetter.java b/src/main/java/org/htmlunit/javascript/configuration/JsxSetter.java index f17bcabcc3a..395e5a147d6 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxSetter.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxSetter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxStaticFunction.java b/src/main/java/org/htmlunit/javascript/configuration/JsxStaticFunction.java index 10b51f76b28..2fa5d2619f4 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxStaticFunction.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxStaticFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxStaticGetter.java b/src/main/java/org/htmlunit/javascript/configuration/JsxStaticGetter.java index ce0b38bdb52..0829d2c503e 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxStaticGetter.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxStaticGetter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxSymbol.java b/src/main/java/org/htmlunit/javascript/configuration/JsxSymbol.java index eb6bd0d0f5f..744d411877d 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxSymbol.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxSymbol.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/JsxSymbolConstant.java b/src/main/java/org/htmlunit/javascript/configuration/JsxSymbolConstant.java index 862406b67f8..bbeb38906eb 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/JsxSymbolConstant.java +++ b/src/main/java/org/htmlunit/javascript/configuration/JsxSymbolConstant.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/ProxyAutoConfigJavaScriptConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/ProxyAutoConfigJavaScriptConfiguration.java index a952dba7c8e..3753ff56bac 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/ProxyAutoConfigJavaScriptConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/ProxyAutoConfigJavaScriptConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/SupportedBrowser.java b/src/main/java/org/htmlunit/javascript/configuration/SupportedBrowser.java index 84f142db2bf..550e8e23006 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/SupportedBrowser.java +++ b/src/main/java/org/htmlunit/javascript/configuration/SupportedBrowser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/WorkerJavaScriptConfiguration.java b/src/main/java/org/htmlunit/javascript/configuration/WorkerJavaScriptConfiguration.java index 2f722e4e117..1f6691f1803 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/WorkerJavaScriptConfiguration.java +++ b/src/main/java/org/htmlunit/javascript/configuration/WorkerJavaScriptConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/configuration/package-info.java b/src/main/java/org/htmlunit/javascript/configuration/package-info.java index 15c4ab736ed..63e0e305781 100644 --- a/src/main/java/org/htmlunit/javascript/configuration/package-info.java +++ b/src/main/java/org/htmlunit/javascript/configuration/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/AudioScheduledSourceNode.java b/src/main/java/org/htmlunit/javascript/host/AudioScheduledSourceNode.java index b46d88cf297..1d54156eced 100644 --- a/src/main/java/org/htmlunit/javascript/host/AudioScheduledSourceNode.java +++ b/src/main/java/org/htmlunit/javascript/host/AudioScheduledSourceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/BarProp.java b/src/main/java/org/htmlunit/javascript/host/BarProp.java index 3792a5d78eb..192b0a6ab4a 100644 --- a/src/main/java/org/htmlunit/javascript/host/BarProp.java +++ b/src/main/java/org/htmlunit/javascript/host/BarProp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/BatteryManager.java b/src/main/java/org/htmlunit/javascript/host/BatteryManager.java index 35a9a2bfdd7..d85d019cc0c 100644 --- a/src/main/java/org/htmlunit/javascript/host/BatteryManager.java +++ b/src/main/java/org/htmlunit/javascript/host/BatteryManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/BroadcastChannel.java b/src/main/java/org/htmlunit/javascript/host/BroadcastChannel.java index 34d3d341a92..7c3c412a64e 100644 --- a/src/main/java/org/htmlunit/javascript/host/BroadcastChannel.java +++ b/src/main/java/org/htmlunit/javascript/host/BroadcastChannel.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Cache.java b/src/main/java/org/htmlunit/javascript/host/Cache.java index 44cebe2cbce..277129f9e31 100644 --- a/src/main/java/org/htmlunit/javascript/host/Cache.java +++ b/src/main/java/org/htmlunit/javascript/host/Cache.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/CacheStorage.java b/src/main/java/org/htmlunit/javascript/host/CacheStorage.java index df09311b275..1c31662419d 100644 --- a/src/main/java/org/htmlunit/javascript/host/CacheStorage.java +++ b/src/main/java/org/htmlunit/javascript/host/CacheStorage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ClientRect.java b/src/main/java/org/htmlunit/javascript/host/ClientRect.java index 6b0769e22ea..0d621d67704 100644 --- a/src/main/java/org/htmlunit/javascript/host/ClientRect.java +++ b/src/main/java/org/htmlunit/javascript/host/ClientRect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ClientRectList.java b/src/main/java/org/htmlunit/javascript/host/ClientRectList.java index e56f6160b85..f1915b2e672 100644 --- a/src/main/java/org/htmlunit/javascript/host/ClientRectList.java +++ b/src/main/java/org/htmlunit/javascript/host/ClientRectList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ConsoleCustom.java b/src/main/java/org/htmlunit/javascript/host/ConsoleCustom.java index c2c0ba91476..f8d6d66bed8 100644 --- a/src/main/java/org/htmlunit/javascript/host/ConsoleCustom.java +++ b/src/main/java/org/htmlunit/javascript/host/ConsoleCustom.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Element.java b/src/main/java/org/htmlunit/javascript/host/Element.java index 73ee21d791a..c9c71943d89 100644 --- a/src/main/java/org/htmlunit/javascript/host/Element.java +++ b/src/main/java/org/htmlunit/javascript/host/Element.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/External.java b/src/main/java/org/htmlunit/javascript/host/External.java index 647dc3280a5..2457d97b8b7 100644 --- a/src/main/java/org/htmlunit/javascript/host/External.java +++ b/src/main/java/org/htmlunit/javascript/host/External.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/FontFace.java b/src/main/java/org/htmlunit/javascript/host/FontFace.java index f94d72a7d14..5f8ceb8e7bc 100644 --- a/src/main/java/org/htmlunit/javascript/host/FontFace.java +++ b/src/main/java/org/htmlunit/javascript/host/FontFace.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/FontFaceSet.java b/src/main/java/org/htmlunit/javascript/host/FontFaceSet.java index 0b05f9ece17..360858d6491 100644 --- a/src/main/java/org/htmlunit/javascript/host/FontFaceSet.java +++ b/src/main/java/org/htmlunit/javascript/host/FontFaceSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Gamepad.java b/src/main/java/org/htmlunit/javascript/host/Gamepad.java index 95468a752ae..f964a80e189 100644 --- a/src/main/java/org/htmlunit/javascript/host/Gamepad.java +++ b/src/main/java/org/htmlunit/javascript/host/Gamepad.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/GamepadButton.java b/src/main/java/org/htmlunit/javascript/host/GamepadButton.java index 8425613c6d7..e4e4ad93599 100644 --- a/src/main/java/org/htmlunit/javascript/host/GamepadButton.java +++ b/src/main/java/org/htmlunit/javascript/host/GamepadButton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/History.java b/src/main/java/org/htmlunit/javascript/host/History.java index 7098e2c1bbe..cb41ac5b197 100644 --- a/src/main/java/org/htmlunit/javascript/host/History.java +++ b/src/main/java/org/htmlunit/javascript/host/History.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ImageBitmap.java b/src/main/java/org/htmlunit/javascript/host/ImageBitmap.java index eafc195ea2a..08043337de5 100644 --- a/src/main/java/org/htmlunit/javascript/host/ImageBitmap.java +++ b/src/main/java/org/htmlunit/javascript/host/ImageBitmap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Location.java b/src/main/java/org/htmlunit/javascript/host/Location.java index 733c773de46..9db713e6902 100644 --- a/src/main/java/org/htmlunit/javascript/host/Location.java +++ b/src/main/java/org/htmlunit/javascript/host/Location.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/MessageChannel.java b/src/main/java/org/htmlunit/javascript/host/MessageChannel.java index 3d60ebb9498..ed229c3a34d 100644 --- a/src/main/java/org/htmlunit/javascript/host/MessageChannel.java +++ b/src/main/java/org/htmlunit/javascript/host/MessageChannel.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/MessagePort.java b/src/main/java/org/htmlunit/javascript/host/MessagePort.java index feca9f7139f..a258692c40c 100644 --- a/src/main/java/org/htmlunit/javascript/host/MessagePort.java +++ b/src/main/java/org/htmlunit/javascript/host/MessagePort.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/MimeType.java b/src/main/java/org/htmlunit/javascript/host/MimeType.java index 74c6961e147..91f284af070 100644 --- a/src/main/java/org/htmlunit/javascript/host/MimeType.java +++ b/src/main/java/org/htmlunit/javascript/host/MimeType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/MimeTypeArray.java b/src/main/java/org/htmlunit/javascript/host/MimeTypeArray.java index c371f221e33..2346996482d 100644 --- a/src/main/java/org/htmlunit/javascript/host/MimeTypeArray.java +++ b/src/main/java/org/htmlunit/javascript/host/MimeTypeArray.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java b/src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java index adaea078c41..ebda14e641e 100644 --- a/src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java +++ b/src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/NativeFunctionPrefixResolver.java b/src/main/java/org/htmlunit/javascript/host/NativeFunctionPrefixResolver.java index 571ec02f966..5d959e983bb 100644 --- a/src/main/java/org/htmlunit/javascript/host/NativeFunctionPrefixResolver.java +++ b/src/main/java/org/htmlunit/javascript/host/NativeFunctionPrefixResolver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Navigator.java b/src/main/java/org/htmlunit/javascript/host/Navigator.java index e96da1dd9f9..826dab6fdea 100644 --- a/src/main/java/org/htmlunit/javascript/host/Navigator.java +++ b/src/main/java/org/htmlunit/javascript/host/Navigator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Netscape.java b/src/main/java/org/htmlunit/javascript/host/Netscape.java index fde8cd8fc66..315883bea66 100644 --- a/src/main/java/org/htmlunit/javascript/host/Netscape.java +++ b/src/main/java/org/htmlunit/javascript/host/Netscape.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Notification.java b/src/main/java/org/htmlunit/javascript/host/Notification.java index 537140c76ce..8db5dbae8a6 100644 --- a/src/main/java/org/htmlunit/javascript/host/Notification.java +++ b/src/main/java/org/htmlunit/javascript/host/Notification.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/NumberCustom.java b/src/main/java/org/htmlunit/javascript/host/NumberCustom.java index 9ee2e6d8d3f..cb96d163dc3 100644 --- a/src/main/java/org/htmlunit/javascript/host/NumberCustom.java +++ b/src/main/java/org/htmlunit/javascript/host/NumberCustom.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PerformanceObserver.java b/src/main/java/org/htmlunit/javascript/host/PerformanceObserver.java index 21692f77904..77c32850024 100644 --- a/src/main/java/org/htmlunit/javascript/host/PerformanceObserver.java +++ b/src/main/java/org/htmlunit/javascript/host/PerformanceObserver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PerformanceObserverEntryList.java b/src/main/java/org/htmlunit/javascript/host/PerformanceObserverEntryList.java index b30114162b5..93d4277cb30 100644 --- a/src/main/java/org/htmlunit/javascript/host/PerformanceObserverEntryList.java +++ b/src/main/java/org/htmlunit/javascript/host/PerformanceObserverEntryList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PermissionStatus.java b/src/main/java/org/htmlunit/javascript/host/PermissionStatus.java index 243e71f9bb8..00f93795674 100644 --- a/src/main/java/org/htmlunit/javascript/host/PermissionStatus.java +++ b/src/main/java/org/htmlunit/javascript/host/PermissionStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Permissions.java b/src/main/java/org/htmlunit/javascript/host/Permissions.java index 9bac85a9b8a..15403f50c19 100644 --- a/src/main/java/org/htmlunit/javascript/host/Permissions.java +++ b/src/main/java/org/htmlunit/javascript/host/Permissions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Plugin.java b/src/main/java/org/htmlunit/javascript/host/Plugin.java index 23be04678cd..63f35f364ba 100644 --- a/src/main/java/org/htmlunit/javascript/host/Plugin.java +++ b/src/main/java/org/htmlunit/javascript/host/Plugin.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PluginArray.java b/src/main/java/org/htmlunit/javascript/host/PluginArray.java index 790dab7c1d7..95546cabac6 100644 --- a/src/main/java/org/htmlunit/javascript/host/PluginArray.java +++ b/src/main/java/org/htmlunit/javascript/host/PluginArray.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PushManager.java b/src/main/java/org/htmlunit/javascript/host/PushManager.java index a8f390c5cc4..da4c3f5b380 100644 --- a/src/main/java/org/htmlunit/javascript/host/PushManager.java +++ b/src/main/java/org/htmlunit/javascript/host/PushManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PushSubscription.java b/src/main/java/org/htmlunit/javascript/host/PushSubscription.java index c31e499eb5b..ffb78f2609c 100644 --- a/src/main/java/org/htmlunit/javascript/host/PushSubscription.java +++ b/src/main/java/org/htmlunit/javascript/host/PushSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/PushSubscriptionOptions.java b/src/main/java/org/htmlunit/javascript/host/PushSubscriptionOptions.java index a3efdbb20ca..343023b372e 100644 --- a/src/main/java/org/htmlunit/javascript/host/PushSubscriptionOptions.java +++ b/src/main/java/org/htmlunit/javascript/host/PushSubscriptionOptions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ReadableStream.java b/src/main/java/org/htmlunit/javascript/host/ReadableStream.java index ffbaf422b20..3dde04ef952 100644 --- a/src/main/java/org/htmlunit/javascript/host/ReadableStream.java +++ b/src/main/java/org/htmlunit/javascript/host/ReadableStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Screen.java b/src/main/java/org/htmlunit/javascript/host/Screen.java index 08bc870d140..a19806bf388 100644 --- a/src/main/java/org/htmlunit/javascript/host/Screen.java +++ b/src/main/java/org/htmlunit/javascript/host/Screen.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/ScreenOrientation.java b/src/main/java/org/htmlunit/javascript/host/ScreenOrientation.java index c4a36b563c5..993e595dfdb 100644 --- a/src/main/java/org/htmlunit/javascript/host/ScreenOrientation.java +++ b/src/main/java/org/htmlunit/javascript/host/ScreenOrientation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/SharedWorker.java b/src/main/java/org/htmlunit/javascript/host/SharedWorker.java index 4b174e1749e..6c61f8bc8fb 100644 --- a/src/main/java/org/htmlunit/javascript/host/SharedWorker.java +++ b/src/main/java/org/htmlunit/javascript/host/SharedWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Storage.java b/src/main/java/org/htmlunit/javascript/host/Storage.java index 1ec0e7b9341..272fd5cc28a 100644 --- a/src/main/java/org/htmlunit/javascript/host/Storage.java +++ b/src/main/java/org/htmlunit/javascript/host/Storage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/StorageManager.java b/src/main/java/org/htmlunit/javascript/host/StorageManager.java index 98a344c49b3..277b7db1750 100644 --- a/src/main/java/org/htmlunit/javascript/host/StorageManager.java +++ b/src/main/java/org/htmlunit/javascript/host/StorageManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/TextDecoder.java b/src/main/java/org/htmlunit/javascript/host/TextDecoder.java index bce56f4f004..34f8be628f8 100644 --- a/src/main/java/org/htmlunit/javascript/host/TextDecoder.java +++ b/src/main/java/org/htmlunit/javascript/host/TextDecoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/TextEncoder.java b/src/main/java/org/htmlunit/javascript/host/TextEncoder.java index d18e2f99451..210f0556d8b 100644 --- a/src/main/java/org/htmlunit/javascript/host/TextEncoder.java +++ b/src/main/java/org/htmlunit/javascript/host/TextEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Touch.java b/src/main/java/org/htmlunit/javascript/host/Touch.java index b761f7d2635..3acad8c810f 100644 --- a/src/main/java/org/htmlunit/javascript/host/Touch.java +++ b/src/main/java/org/htmlunit/javascript/host/Touch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/TouchList.java b/src/main/java/org/htmlunit/javascript/host/TouchList.java index f7d2f5e497d..f1c5b6d9688 100644 --- a/src/main/java/org/htmlunit/javascript/host/TouchList.java +++ b/src/main/java/org/htmlunit/javascript/host/TouchList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/URL.java b/src/main/java/org/htmlunit/javascript/host/URL.java index 739b0fa0ef0..d07929d8616 100644 --- a/src/main/java/org/htmlunit/javascript/host/URL.java +++ b/src/main/java/org/htmlunit/javascript/host/URL.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/URLSearchParams.java b/src/main/java/org/htmlunit/javascript/host/URLSearchParams.java index e314d8d7c46..dd5efacd697 100644 --- a/src/main/java/org/htmlunit/javascript/host/URLSearchParams.java +++ b/src/main/java/org/htmlunit/javascript/host/URLSearchParams.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/WebSocket.java b/src/main/java/org/htmlunit/javascript/host/WebSocket.java index 251b819c3af..3d3847fd89c 100644 --- a/src/main/java/org/htmlunit/javascript/host/WebSocket.java +++ b/src/main/java/org/htmlunit/javascript/host/WebSocket.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/Window.java b/src/main/java/org/htmlunit/javascript/host/Window.java index 459536bcb97..b7d7a6ec194 100644 --- a/src/main/java/org/htmlunit/javascript/host/Window.java +++ b/src/main/java/org/htmlunit/javascript/host/Window.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScope.java b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScope.java index 1d2d7dce1f5..0c2380ddc0c 100644 --- a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScope.java +++ b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScope.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java index cf81c71f210..499e7c851bf 100644 --- a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java +++ b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/WindowProxy.java b/src/main/java/org/htmlunit/javascript/host/WindowProxy.java index 8ccc106b1d7..f94896bf8f1 100644 --- a/src/main/java/org/htmlunit/javascript/host/WindowProxy.java +++ b/src/main/java/org/htmlunit/javascript/host/WindowProxy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/abort/AbortController.java b/src/main/java/org/htmlunit/javascript/host/abort/AbortController.java index 8f88e745442..7a80e77124b 100644 --- a/src/main/java/org/htmlunit/javascript/host/abort/AbortController.java +++ b/src/main/java/org/htmlunit/javascript/host/abort/AbortController.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/abort/AbortSignal.java b/src/main/java/org/htmlunit/javascript/host/abort/AbortSignal.java index 5adae3aee54..bd023b72115 100644 --- a/src/main/java/org/htmlunit/javascript/host/abort/AbortSignal.java +++ b/src/main/java/org/htmlunit/javascript/host/abort/AbortSignal.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/abort/package-info.java b/src/main/java/org/htmlunit/javascript/host/abort/package-info.java index 7fcf12e8e7c..756e3dc3d9e 100644 --- a/src/main/java/org/htmlunit/javascript/host/abort/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/abort/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/animations/Animation.java b/src/main/java/org/htmlunit/javascript/host/animations/Animation.java index 17fc9e7a444..7e90963f5c6 100644 --- a/src/main/java/org/htmlunit/javascript/host/animations/Animation.java +++ b/src/main/java/org/htmlunit/javascript/host/animations/Animation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/animations/AnimationEvent.java b/src/main/java/org/htmlunit/javascript/host/animations/AnimationEvent.java index 5fb321557b4..ec3f43c57c2 100644 --- a/src/main/java/org/htmlunit/javascript/host/animations/AnimationEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/animations/AnimationEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/animations/KeyframeEffect.java b/src/main/java/org/htmlunit/javascript/host/animations/KeyframeEffect.java index 5b553ae2c53..2ec4a767185 100644 --- a/src/main/java/org/htmlunit/javascript/host/animations/KeyframeEffect.java +++ b/src/main/java/org/htmlunit/javascript/host/animations/KeyframeEffect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/animations/package-info.java b/src/main/java/org/htmlunit/javascript/host/animations/package-info.java index 0bbf8224a9e..2b90e0343f1 100644 --- a/src/main/java/org/htmlunit/javascript/host/animations/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/animations/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/arrays/Atomics.java b/src/main/java/org/htmlunit/javascript/host/arrays/Atomics.java index 24624fef5f6..27efacfb32c 100644 --- a/src/main/java/org/htmlunit/javascript/host/arrays/Atomics.java +++ b/src/main/java/org/htmlunit/javascript/host/arrays/Atomics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/arrays/package-info.java b/src/main/java/org/htmlunit/javascript/host/arrays/package-info.java index 7a024214c80..409ec3bcb50 100644 --- a/src/main/java/org/htmlunit/javascript/host/arrays/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/arrays/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStream.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStream.java index fcacad460f5..d72cc9598d0 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStream.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStreamTrack.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStreamTrack.java index dfe4d76f99c..77e6ee0cbcb 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStreamTrack.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasCaptureMediaStreamTrack.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasGradient.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasGradient.java index 84abd0fc366..e674972f62f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasGradient.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasGradient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasPattern.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasPattern.java index f0e40b823c3..ed42883943b 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasPattern.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasPattern.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java index 8ad676c39e6..9587928012f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/ImageBitmapRenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/ImageBitmapRenderingContext.java index 0e75447114d..b553b7a16a8 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/ImageBitmapRenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/ImageBitmapRenderingContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java index c1a0183ab72..bacb7483690 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserver.java b/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserver.java index b105563164f..40c8dde6a27 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserver.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserverEntry.java b/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserverEntry.java index dddeb85340d..e3cf6225e8c 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserverEntry.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/IntersectionObserverEntry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/Path2D.java b/src/main/java/org/htmlunit/javascript/host/canvas/Path2D.java index af2e1e98dd0..8d8dabd1345 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/Path2D.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/Path2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/TextMetrics.java b/src/main/java/org/htmlunit/javascript/host/canvas/TextMetrics.java index 5c372bf377d..de557c7158d 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/TextMetrics.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/TextMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java index e8a6750596f..e4edeba676c 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java index af1d0824f6b..285dbe1c745 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java index 74bb18a88f0..d2dc13623ec 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java index 886ad028f80..68dd873bc7b 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java index 403d5bf8a42..35a5a1c2e4f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java index c13fd02c59f..95079e3153c 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java index b04bd1f8b5f..68401ce9404 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java index 067e6c7ca0a..925c2f44eba 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java index 48584bf9fda..79e78bf6ee9 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java index 5e257fee3cf..9c4eb897ada 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java index 5435c9fc098..fc63a8e5435 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java index 083eae680bd..16c88ba6525 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java index 0715860de20..99f0cf98ad9 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java index 1203b3e1221..5b48f8a8560 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java index 6ac1579afd1..dbc562eb03f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java index f1eade279e5..06537b53038 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/package-info.java b/src/main/java/org/htmlunit/javascript/host/canvas/package-info.java index 29aacdfbf0e..ed76e9b2f22 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java index 89a184a7adb..64442b1d950 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/CryptoKey.java b/src/main/java/org/htmlunit/javascript/host/crypto/CryptoKey.java index 4f18f9cacc1..f1c7c971e2a 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/CryptoKey.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/CryptoKey.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java index 9dcbd103470..4ff1abc80db 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/package-info.java b/src/main/java/org/htmlunit/javascript/host/crypto/package-info.java index 2084a6e20d5..819a0f30a80 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSS.java b/src/main/java/org/htmlunit/javascript/host/css/CSS.java index a7d1608796e..e37f0011326 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSS.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSS.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSConditionRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSConditionRule.java index 9a9ff41a7e2..58f5b564672 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSConditionRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSConditionRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSCounterStyleRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSCounterStyleRule.java index 7a16edc15eb..db4930738f9 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSCounterStyleRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSCounterStyleRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSFontFaceRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSFontFaceRule.java index e3a5690c358..ad57510610c 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSFontFaceRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSFontFaceRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java index e9415160643..8b8735f2ac7 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSImportRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSImportRule.java index c6fb2439190..2c2a805f796 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSImportRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSImportRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframeRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframeRule.java index a00586be9c4..7294f1e3a54 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframeRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframeRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframesRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframesRule.java index db59f3673de..e2a3e5c3263 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframesRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSKeyframesRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSMediaRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSMediaRule.java index 1c96ac508c8..61ff076d1e8 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSMediaRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSMediaRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSNamespaceRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSNamespaceRule.java index 06a2cd8595c..ec6547b1c89 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSNamespaceRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSNamespaceRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java index 36951b43958..4f6de687775 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java index 9f297d35b7f..042abfd78e8 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java b/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java index 1eda3efe299..0b4eecfd845 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration.java index a252647e7d9..29fe9977205 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleRule.java index 917cb57dadd..5a894dd8c33 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java index 7240fd1a7d0..7c7c602544e 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSSupportsRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSSupportsRule.java index c46f705d48c..26337f90f86 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSSupportsRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSSupportsRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CaretPosition.java b/src/main/java/org/htmlunit/javascript/host/css/CaretPosition.java index 816ac106a50..ca7dc9a586f 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CaretPosition.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CaretPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclaration.java b/src/main/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclaration.java index bfcd9ba2be4..fc0c4f0c42e 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclaration.java +++ b/src/main/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclaration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/ComputedFont.java b/src/main/java/org/htmlunit/javascript/host/css/ComputedFont.java index 0a5487f3fc8..d510013e8df 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/ComputedFont.java +++ b/src/main/java/org/htmlunit/javascript/host/css/ComputedFont.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/MediaList.java b/src/main/java/org/htmlunit/javascript/host/css/MediaList.java index a1d5f475af3..e6d3517abd3 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/MediaList.java +++ b/src/main/java/org/htmlunit/javascript/host/css/MediaList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/MediaQueryList.java b/src/main/java/org/htmlunit/javascript/host/css/MediaQueryList.java index ea92afaed16..f37c41c8c02 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/MediaQueryList.java +++ b/src/main/java/org/htmlunit/javascript/host/css/MediaQueryList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/StyleMedia.java b/src/main/java/org/htmlunit/javascript/host/css/StyleMedia.java index 094e40b6612..8995317f76c 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/StyleMedia.java +++ b/src/main/java/org/htmlunit/javascript/host/css/StyleMedia.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/StyleSheet.java b/src/main/java/org/htmlunit/javascript/host/css/StyleSheet.java index 4cbdf2284af..2103916bdc5 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/StyleSheet.java +++ b/src/main/java/org/htmlunit/javascript/host/css/StyleSheet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/StyleSheetList.java b/src/main/java/org/htmlunit/javascript/host/css/StyleSheetList.java index 333dafbe33c..4e3fbb4cd5a 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/StyleSheetList.java +++ b/src/main/java/org/htmlunit/javascript/host/css/StyleSheetList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/css/package-info.java b/src/main/java/org/htmlunit/javascript/host/css/package-info.java index 7ef3508e28b..dfdc2235971 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/css/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java b/src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java index b8ab5e21c90..70cc5f17eb2 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java index d88826d230a..7d066bdd470 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Attr.java b/src/main/java/org/htmlunit/javascript/host/dom/Attr.java index b22213d0eb3..4b9f9e659ce 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Attr.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Attr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/CDATASection.java b/src/main/java/org/htmlunit/javascript/host/dom/CDATASection.java index ad9c87d4d97..4eb680744c3 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/CDATASection.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/CDATASection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java index 3ae2fd3eb68..5f60ec3f4d1 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Comment.java b/src/main/java/org/htmlunit/javascript/host/dom/Comment.java index a9b30797c2a..ea945b2c56e 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Comment.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Comment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/CustomElementRegistry.java b/src/main/java/org/htmlunit/javascript/host/dom/CustomElementRegistry.java index 2340e741d86..b4605bad5cb 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/CustomElementRegistry.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/CustomElementRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMError.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMError.java index 1eebed3834f..295fe953c78 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMError.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java index 656d2e1368c..a5989cdf747 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMImplementation.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMImplementation.java index 8a7bfbdfb42..272fd701703 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMImplementation.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMImplementation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrix.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrix.java index 4b8477cc7da..c2bc5d203b8 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrix.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrix.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrixReadOnly.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrixReadOnly.java index 76011795ffa..ab927216b2d 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrixReadOnly.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMMatrixReadOnly.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMParser.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMParser.java index 0f6c59f2975..ecbaed15032 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMParser.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMPoint.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMPoint.java index e0d77563b92..73a0e2c1f67 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMPoint.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMPoint.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMPointReadOnly.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMPointReadOnly.java index d2c3d911793..36fe43f5906 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMPointReadOnly.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMPointReadOnly.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMRectReadOnly.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMRectReadOnly.java index 52c33fe4841..b9fc144ce93 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMRectReadOnly.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMRectReadOnly.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMStringList.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMStringList.java index 3ec75ae96a2..2ed395d09ec 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMStringList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMStringList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMStringMap.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMStringMap.java index 24a4003cca8..54febb30a08 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMStringMap.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMStringMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java index 840eb6ac56e..ae6e3f95283 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 0cc0ca41583..f66c3e9d39c 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DocumentFragment.java b/src/main/java/org/htmlunit/javascript/host/dom/DocumentFragment.java index 15343a3c432..d692876fe4c 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DocumentFragment.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DocumentFragment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java b/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java index a36aff826e2..c2ea516eade 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/IdleDeadline.java b/src/main/java/org/htmlunit/javascript/host/dom/IdleDeadline.java index f5a3bef8c06..5f705e09e54 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/IdleDeadline.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/IdleDeadline.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/MutationObserver.java b/src/main/java/org/htmlunit/javascript/host/dom/MutationObserver.java index b7635327fa6..7cb339694a8 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/MutationObserver.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/MutationObserver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/MutationRecord.java b/src/main/java/org/htmlunit/javascript/host/dom/MutationRecord.java index 8460f46e6b9..cae94524ff8 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/MutationRecord.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/MutationRecord.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Node.java b/src/main/java/org/htmlunit/javascript/host/dom/Node.java index e8572123934..3bf950c40cb 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Node.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Node.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/NodeFilter.java b/src/main/java/org/htmlunit/javascript/host/dom/NodeFilter.java index 9d0b5495794..9babfdfc0b9 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/NodeFilter.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/NodeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/NodeIterator.java b/src/main/java/org/htmlunit/javascript/host/dom/NodeIterator.java index 86a758e7f45..2503defd01b 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/NodeIterator.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/NodeIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/NodeList.java b/src/main/java/org/htmlunit/javascript/host/dom/NodeList.java index a1d1da5b094..9c0f9b5464b 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/NodeList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/NodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/ProcessingInstruction.java b/src/main/java/org/htmlunit/javascript/host/dom/ProcessingInstruction.java index 4627e9262c3..3e84edcb233 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/ProcessingInstruction.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/ProcessingInstruction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/RadioNodeList.java b/src/main/java/org/htmlunit/javascript/host/dom/RadioNodeList.java index 526c55b56fa..9ca03d07df6 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/RadioNodeList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/RadioNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Range.java b/src/main/java/org/htmlunit/javascript/host/dom/Range.java index a98aec94c0c..2848901659c 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Range.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Range.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java index 0356ca73f17..176b082b121 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/ShadowRoot.java b/src/main/java/org/htmlunit/javascript/host/dom/ShadowRoot.java index 1011e7cf211..077f0ef1ec3 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/ShadowRoot.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/ShadowRoot.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Text.java b/src/main/java/org/htmlunit/javascript/host/dom/Text.java index d286a1c7bef..b56b0ca455a 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Text.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Text.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java b/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java index ef93f7c77c2..dc1d8c0cd8a 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java index 49552d06e14..3c2eddc5749 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathExpression.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathExpression.java index bc0f397eac2..f43525d02a5 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathExpression.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathExpression.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathNSResolver.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathNSResolver.java index 4293b3f1044..3b0423bba27 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathNSResolver.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathNSResolver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java index 02fd749be05..a363cebe3b8 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/package-info.java b/src/main/java/org/htmlunit/javascript/host/dom/package-info.java index a124d06cbe2..1a8a4c24a79 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransfer.java b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransfer.java index ded587206a6..59469d7e2aa 100644 --- a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransfer.java +++ b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransfer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItem.java b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItem.java index cd6a5f332e9..10433dc8e57 100644 --- a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItem.java +++ b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemList.java b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemList.java index 9be2382e42a..739e606e8bf 100644 --- a/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemList.java +++ b/src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/draganddrop/package-info.java b/src/main/java/org/htmlunit/javascript/host/draganddrop/package-info.java index 7ac9bc2a08c..3be43775784 100644 --- a/src/main/java/org/htmlunit/javascript/host/draganddrop/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/draganddrop/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/AudioProcessingEvent.java b/src/main/java/org/htmlunit/javascript/host/event/AudioProcessingEvent.java index 3dc29cf4565..9e4952c7d2b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/AudioProcessingEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/AudioProcessingEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEvent.java b/src/main/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEvent.java index cde9b7d67f8..94e8635328c 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java b/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java index 210ea431df3..a96c1f490b3 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/BlobEvent.java b/src/main/java/org/htmlunit/javascript/host/event/BlobEvent.java index 61ef0fc214c..3063d1434b5 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/BlobEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/BlobEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/ClipboardEvent.java b/src/main/java/org/htmlunit/javascript/host/event/ClipboardEvent.java index bbd0010ab4d..b2fbba9e26f 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/ClipboardEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/ClipboardEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/CloseEvent.java b/src/main/java/org/htmlunit/javascript/host/event/CloseEvent.java index 3928e0cfbda..0ff8d77bef0 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/CloseEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/CloseEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/CompositionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/CompositionEvent.java index 1fd25916b8f..c10c724b311 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/CompositionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/CompositionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/CustomEvent.java b/src/main/java/org/htmlunit/javascript/host/event/CustomEvent.java index b371d3b8a3d..2189dbfce28 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/CustomEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/CustomEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/DeviceMotionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/DeviceMotionEvent.java index d0ce4850e6b..de430dd40db 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/DeviceMotionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/DeviceMotionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/DeviceOrientationEvent.java b/src/main/java/org/htmlunit/javascript/host/event/DeviceOrientationEvent.java index a5a32b0a121..67d54715db6 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/DeviceOrientationEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/DeviceOrientationEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/DragEvent.java b/src/main/java/org/htmlunit/javascript/host/event/DragEvent.java index c9fefa63722..ec147df1598 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/DragEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/DragEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/ErrorEvent.java b/src/main/java/org/htmlunit/javascript/host/event/ErrorEvent.java index 6d2f6196e82..7ddea4ed264 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/ErrorEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/ErrorEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/Event.java b/src/main/java/org/htmlunit/javascript/host/event/Event.java index f879d16a884..c3e436d457b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/Event.java +++ b/src/main/java/org/htmlunit/javascript/host/event/Event.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/EventHandler.java b/src/main/java/org/htmlunit/javascript/host/event/EventHandler.java index 0eac022d388..537d2829c16 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/EventHandler.java +++ b/src/main/java/org/htmlunit/javascript/host/event/EventHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/EventListenersContainer.java b/src/main/java/org/htmlunit/javascript/host/event/EventListenersContainer.java index cb3eb06f757..a4d5c17b8a7 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/EventListenersContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/event/EventListenersContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/EventSource.java b/src/main/java/org/htmlunit/javascript/host/event/EventSource.java index 07b04f62a32..c186e2b65fa 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/EventSource.java +++ b/src/main/java/org/htmlunit/javascript/host/event/EventSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/EventTarget.java b/src/main/java/org/htmlunit/javascript/host/event/EventTarget.java index c0b46a6b5be..c76d39192c9 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/EventTarget.java +++ b/src/main/java/org/htmlunit/javascript/host/event/EventTarget.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/FocusEvent.java b/src/main/java/org/htmlunit/javascript/host/event/FocusEvent.java index 23b23620569..35fa5ad69b8 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/FocusEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/FocusEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/GamepadEvent.java b/src/main/java/org/htmlunit/javascript/host/event/GamepadEvent.java index 01079023692..2e16e675b8d 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/GamepadEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/GamepadEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/HashChangeEvent.java b/src/main/java/org/htmlunit/javascript/host/event/HashChangeEvent.java index 47e795be1a8..970edf87c73 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/HashChangeEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/HashChangeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/IDBVersionChangeEvent.java b/src/main/java/org/htmlunit/javascript/host/event/IDBVersionChangeEvent.java index 466c4ea35cb..db3c454df4d 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/IDBVersionChangeEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/IDBVersionChangeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/InputEvent.java b/src/main/java/org/htmlunit/javascript/host/event/InputEvent.java index 41aad2bdb6e..2249985d3ec 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/InputEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/InputEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/KeyboardEvent.java b/src/main/java/org/htmlunit/javascript/host/event/KeyboardEvent.java index 54386be869b..0503abe53cb 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/KeyboardEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/KeyboardEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MIDIConnectionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MIDIConnectionEvent.java index 1a773f17e81..ba44d3b5e30 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MIDIConnectionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MIDIConnectionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MIDIMessageEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MIDIMessageEvent.java index 7e946e5f899..15f1825c242 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MIDIMessageEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MIDIMessageEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MediaEncryptedEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MediaEncryptedEvent.java index 79a982c44f2..a07b6777509 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MediaEncryptedEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MediaEncryptedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MediaKeyMessageEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MediaKeyMessageEvent.java index 6dcec604010..952c5a81c3f 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MediaKeyMessageEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MediaKeyMessageEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MediaQueryListEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MediaQueryListEvent.java index 8a35c5f77bb..5a40089bcd1 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MediaQueryListEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MediaQueryListEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MediaStreamEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MediaStreamEvent.java index 8436ffaebb8..c9317cf149a 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MediaStreamEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MediaStreamEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MediaStreamTrackEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MediaStreamTrackEvent.java index ebf1dac88b6..02e64b19565 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MediaStreamTrackEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MediaStreamTrackEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MessageEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MessageEvent.java index bc3274ef9a5..9848ee5aab2 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MessageEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MessageEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MouseEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MouseEvent.java index 6b8619d126d..3f737adc89d 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MouseEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MouseEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MouseScrollEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MouseScrollEvent.java index aa9527b5bcf..be7cfebcac1 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MouseScrollEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MouseScrollEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/MutationEvent.java b/src/main/java/org/htmlunit/javascript/host/event/MutationEvent.java index 429e2ac99c8..d52f3bde05b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/MutationEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/MutationEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEvent.java index 7405c2c2778..bf067edde03 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PageTransitionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PageTransitionEvent.java index 2d8252f3028..142a951579b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PageTransitionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PageTransitionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PointerEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PointerEvent.java index 2a570572f34..163f626c335 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PointerEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PointerEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PopStateEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PopStateEvent.java index 9db2aa0d53e..4129f3a191b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PopStateEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PopStateEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionAvailableEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionAvailableEvent.java index e15b7893b3a..8fea7963dc7 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionAvailableEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionAvailableEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionCloseEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionCloseEvent.java index 00ac7824a1b..b0a3c97f39f 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionCloseEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PresentationConnectionCloseEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/ProgressEvent.java b/src/main/java/org/htmlunit/javascript/host/event/ProgressEvent.java index bc74f9b2dd7..5c9a0ccb996 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/ProgressEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/ProgressEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/PromiseRejectionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/PromiseRejectionEvent.java index 2feced98c58..94262fa0acd 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/PromiseRejectionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/PromiseRejectionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/RTCDataChannelEvent.java b/src/main/java/org/htmlunit/javascript/host/event/RTCDataChannelEvent.java index d919d53a15f..53ed6e336ed 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/RTCDataChannelEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/RTCDataChannelEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/RTCPeerConnectionIceEvent.java b/src/main/java/org/htmlunit/javascript/host/event/RTCPeerConnectionIceEvent.java index 2253166175c..e6b7f68fa07 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/RTCPeerConnectionIceEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/RTCPeerConnectionIceEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/SecurityPolicyViolationEvent.java b/src/main/java/org/htmlunit/javascript/host/event/SecurityPolicyViolationEvent.java index 50350b3edbf..c19b0f19f44 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/SecurityPolicyViolationEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/SecurityPolicyViolationEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/SpeechSynthesisEvent.java b/src/main/java/org/htmlunit/javascript/host/event/SpeechSynthesisEvent.java index 70647c6abe5..5aaf8038718 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/SpeechSynthesisEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/SpeechSynthesisEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/StorageEvent.java b/src/main/java/org/htmlunit/javascript/host/event/StorageEvent.java index 2dfb0eb2c37..c7d6ffd9ead 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/StorageEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/StorageEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/SubmitEvent.java b/src/main/java/org/htmlunit/javascript/host/event/SubmitEvent.java index d4c250d731b..438190c860c 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/SubmitEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/SubmitEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/TextEvent.java b/src/main/java/org/htmlunit/javascript/host/event/TextEvent.java index f7a47769b80..7851459a6a3 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/TextEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/TextEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/TimeEvent.java b/src/main/java/org/htmlunit/javascript/host/event/TimeEvent.java index 47151c1de39..19034f74122 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/TimeEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/TimeEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/TouchEvent.java b/src/main/java/org/htmlunit/javascript/host/event/TouchEvent.java index aeb79a81a48..fcb4987541b 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/TouchEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/TouchEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/TrackEvent.java b/src/main/java/org/htmlunit/javascript/host/event/TrackEvent.java index c10053704f4..56c97fe716e 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/TrackEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/TrackEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/TransitionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/TransitionEvent.java index 0e48db6389d..bc66d1970cd 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/TransitionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/TransitionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/UIEvent.java b/src/main/java/org/htmlunit/javascript/host/event/UIEvent.java index 632749b9280..5d190c7b4ad 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/UIEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/UIEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/WebGLContextEvent.java b/src/main/java/org/htmlunit/javascript/host/event/WebGLContextEvent.java index e66bac31ed1..90f0a26039f 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/WebGLContextEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/WebGLContextEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionError.java b/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionError.java index cd6ce11e2ed..279926b1246 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionError.java +++ b/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionEvent.java b/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionEvent.java index 0d750fa0f52..c1edbf7b792 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/WebkitSpeechRecognitionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/WheelEvent.java b/src/main/java/org/htmlunit/javascript/host/event/WheelEvent.java index a38e08794a9..8224a339af4 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/WheelEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/WheelEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/event/package-info.java b/src/main/java/org/htmlunit/javascript/host/event/package-info.java index 60c2bf883e3..a358c7e4407 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/event/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/fetch/Headers.java b/src/main/java/org/htmlunit/javascript/host/fetch/Headers.java index ad311d675ac..ae1b94e2929 100644 --- a/src/main/java/org/htmlunit/javascript/host/fetch/Headers.java +++ b/src/main/java/org/htmlunit/javascript/host/fetch/Headers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/fetch/Request.java b/src/main/java/org/htmlunit/javascript/host/fetch/Request.java index 1181a8db5a3..15fd9a2c145 100644 --- a/src/main/java/org/htmlunit/javascript/host/fetch/Request.java +++ b/src/main/java/org/htmlunit/javascript/host/fetch/Request.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/fetch/Response.java b/src/main/java/org/htmlunit/javascript/host/fetch/Response.java index a750bd8110b..2c0d3a6377d 100644 --- a/src/main/java/org/htmlunit/javascript/host/fetch/Response.java +++ b/src/main/java/org/htmlunit/javascript/host/fetch/Response.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/fetch/package-info.java b/src/main/java/org/htmlunit/javascript/host/fetch/package-info.java index dc7235caf42..950ced5ba0c 100644 --- a/src/main/java/org/htmlunit/javascript/host/fetch/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/fetch/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/Blob.java b/src/main/java/org/htmlunit/javascript/host/file/Blob.java index 35130a3376f..349f03ec7e1 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/Blob.java +++ b/src/main/java/org/htmlunit/javascript/host/file/Blob.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/File.java b/src/main/java/org/htmlunit/javascript/host/file/File.java index 643d3cb058a..e549d34e1d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/File.java +++ b/src/main/java/org/htmlunit/javascript/host/file/File.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileList.java b/src/main/java/org/htmlunit/javascript/host/file/FileList.java index b6f275fd7a1..dcac5fbc819 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileList.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileReader.java b/src/main/java/org/htmlunit/javascript/host/file/FileReader.java index 2aa8fa82b4f..edb58ee1f7d 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileReader.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileReader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileSystem.java b/src/main/java/org/htmlunit/javascript/host/file/FileSystem.java index 9481152f490..c8c884ecc87 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileSystem.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileSystem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryEntry.java b/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryEntry.java index dea245e1e3f..cf7cae4a058 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryEntry.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryEntry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryReader.java b/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryReader.java index a8abc5b12c0..c2c455505cf 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryReader.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileSystemDirectoryReader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileSystemEntry.java b/src/main/java/org/htmlunit/javascript/host/file/FileSystemEntry.java index aca2aa61de7..af5d8497bf9 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileSystemEntry.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileSystemEntry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileSystemFileEntry.java b/src/main/java/org/htmlunit/javascript/host/file/FileSystemFileEntry.java index fef6491a5ed..37ef28bb6bb 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileSystemFileEntry.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileSystemFileEntry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/file/package-info.java b/src/main/java/org/htmlunit/javascript/host/file/package-info.java index ad44b8bc9e2..c158a0b67c1 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/file/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java b/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java index c2432d0b4e9..8e7dea38fb6 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java index 69fad4a225e..cd85e24b1ea 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java index 352c3e8d5bc..8b7fcf1f706 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java index f05a108b7b8..2b753056124 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/geo/package-info.java b/src/main/java/org/htmlunit/javascript/host/geo/package-info.java index 5b9983d446e..d8b9884701b 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/Audio.java b/src/main/java/org/htmlunit/javascript/host/html/Audio.java index 265af2440d6..ad53c03ef6c 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/Audio.java +++ b/src/main/java/org/htmlunit/javascript/host/html/Audio.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/DocumentProxy.java b/src/main/java/org/htmlunit/javascript/host/html/DocumentProxy.java index 679254d024a..c341ce149d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/DocumentProxy.java +++ b/src/main/java/org/htmlunit/javascript/host/html/DocumentProxy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLAllCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLAllCollection.java index 9c57b6eee50..2f471ffb195 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLAllCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLAllCollection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLAnchorElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLAnchorElement.java index 8d54387805b..53d8d1b2cdd 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLAnchorElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLAnchorElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLAreaElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLAreaElement.java index 1b516fc09d0..8e1ed0a2841 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLAreaElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLAreaElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLAudioElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLAudioElement.java index 26060ddf713..1bff4f3dae7 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLAudioElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLAudioElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLBRElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLBRElement.java index b6cc170d710..2d28e1cdfe4 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLBRElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLBRElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLBaseElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLBaseElement.java index 1671b2b81fd..95d5ec93ab2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLBaseElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLBaseElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLBodyElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLBodyElement.java index 4a54c1b1285..e73dd88f1bc 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLBodyElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLBodyElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLButtonElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLButtonElement.java index 671d57d0af8..9768718930f 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLButtonElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLButtonElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLCanvasElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLCanvasElement.java index c9d33f930df..aa7c96d53e2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLCanvasElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLCanvasElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLCollection.java index 68bc7bb7908..782b950e045 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLCollection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDListElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDListElement.java index 95669ba0178..9f29269404e 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDListElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDListElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDataElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDataElement.java index a28ccfd4f63..e6cf1ef9499 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDataElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDataElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDataListElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDataListElement.java index 19f20daeb1e..2d65b6981a3 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDataListElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDataListElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDetailsElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDetailsElement.java index cc008b4875e..d9d48bde6c9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDetailsElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDetailsElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDialogElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDialogElement.java index 4c7e1c2ac65..43261c224ee 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDialogElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDialogElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDirectoryElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDirectoryElement.java index c67ce58e406..4f74405bb93 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDirectoryElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDirectoryElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDivElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDivElement.java index 96dc04d64b4..ef88a2b49ba 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDivElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDivElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java index aafd1805f05..5416aef66c2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLElement.java index 3196f28feae..4c4b4afb265 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLEmbedElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLEmbedElement.java index c834b22c394..f294ecdf2d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLEmbedElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLEmbedElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFieldSetElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFieldSetElement.java index fd39eef0ec6..0f078fff21a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFieldSetElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFieldSetElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFontElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFontElement.java index 8226c18d523..fa845bc552e 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFontElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFontElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollection.java index f784f72cc84..872025ba148 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java index 32bf950ffdb..a1abc475604 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameElement.java index ef41c9c0dd5..19f388b4cb2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameSetElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameSetElement.java index 52e024db074..9854fff25f2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameSetElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFrameSetElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLHRElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLHRElement.java index 155cc331b50..5bdb6139035 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLHRElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLHRElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadElement.java index 3eb193cba78..9ba57be5782 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadingElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadingElement.java index 4f155bba737..824d0f34db2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadingElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLHeadingElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLHtmlElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLHtmlElement.java index 4b9b788e0f7..060a7559215 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLHtmlElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLHtmlElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLIFrameElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLIFrameElement.java index f968878b4ee..de6b29f4f4a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLIFrameElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLIFrameElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLImageElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLImageElement.java index 4dbc7b54da8..303f454999f 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLImageElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLImageElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java index 0e16270b894..3b5258c9173 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLLIElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLLIElement.java index f80efbb2b43..4cd081d74d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLLIElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLLIElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLLabelElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLLabelElement.java index 262e7d7a602..88316fe1407 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLLabelElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLLabelElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLLegendElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLLegendElement.java index c3380c315b1..959c0f0d387 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLLegendElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLLegendElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLLinkElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLLinkElement.java index f03aa246b1c..6f484725869 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLLinkElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLLinkElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLListElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLListElement.java index 31a0e06ab6a..34e0b651f20 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLListElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLListElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMapElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMapElement.java index 140ab587dca..daaf9f86cc5 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMapElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMapElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMarqueeElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMarqueeElement.java index 2b3b8e668d0..2b09a2c2c4e 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMarqueeElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMarqueeElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMediaElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMediaElement.java index 386367adbc7..296b7c0d85b 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMediaElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMediaElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMenuElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMenuElement.java index 35c8c2e818e..370f01637fc 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMenuElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMenuElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMetaElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMetaElement.java index a75804920eb..6e79fa74738 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMetaElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMetaElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLMeterElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLMeterElement.java index 7647530cf83..7b1aa7379b7 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLMeterElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLMeterElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLModElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLModElement.java index cac76f356ec..49f974ea0d5 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLModElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLModElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOListElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOListElement.java index 9347d3909ed..5186e9158cc 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOListElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOListElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLObjectElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLObjectElement.java index 62be543c1e9..0dc24251ed1 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLObjectElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLObjectElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptGroupElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptGroupElement.java index 009d25f3e7e..ce236a7772a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptGroupElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptGroupElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionElement.java index a1635a6775a..106598f49ee 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java index 55e3046bdc5..c59ff421af8 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOutputElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOutputElement.java index be8f1654139..cd083349473 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOutputElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOutputElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLParagraphElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLParagraphElement.java index 1bbc6566497..75e84b347ad 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLParagraphElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLParagraphElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLParamElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLParamElement.java index 162466ccb41..419f760615a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLParamElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLParamElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLPictureElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLPictureElement.java index 9609597ea3e..91911693ca9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLPictureElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLPictureElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLPreElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLPreElement.java index d6100936274..61d27f566c0 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLPreElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLPreElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLProgressElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLProgressElement.java index ca6c79743fe..45d72b673c5 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLProgressElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLProgressElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLQuoteElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLQuoteElement.java index a9eb27a915e..8366b576bc0 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLQuoteElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLQuoteElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLScriptElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLScriptElement.java index d35114e81d6..bcd01c3821a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLScriptElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLScriptElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLSelectElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLSelectElement.java index dbab43b7a1a..ed71efd5e35 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLSelectElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLSelectElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLSlotElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLSlotElement.java index 7fb03437bcb..c3a1938278a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLSlotElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLSlotElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLSourceElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLSourceElement.java index 2aa2ceafcf4..66421b1b2ca 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLSourceElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLSourceElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLSpanElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLSpanElement.java index 5376b696d8f..0dcde031b63 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLSpanElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLSpanElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLStyleElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLStyleElement.java index 90b92224953..f5577357dbd 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLStyleElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLStyleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElement.java index c701806ceaf..91d95844e3c 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCellElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCellElement.java index 37203b39b21..c2d908b2066 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCellElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableCellElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableColElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableColElement.java index 87894e4265d..27137d6b471 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableColElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableColElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableComponent.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableComponent.java index cffbfd68a44..aaa717eced4 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableComponent.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableComponent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java index d64b49fca0c..5bb3f36ae3c 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java index 5828e4f12c5..410236f11dc 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableSectionElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableSectionElement.java index 7866045c0c3..31307144ba8 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableSectionElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableSectionElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTemplateElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTemplateElement.java index 4c41c398903..67cb9f844ad 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTemplateElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTemplateElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java index a823f3cdf5f..f73a90c6873 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTimeElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTimeElement.java index 8a1d3c661ce..52c2fd1967c 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTimeElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTimeElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTitleElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTitleElement.java index 1b0a76524cf..e5f33d66108 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTitleElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTitleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTrackElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTrackElement.java index e8ac4669f5d..aa3a3f4f9c6 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTrackElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTrackElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLUListElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLUListElement.java index 2bee100744f..cadc979fd54 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLUListElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLUListElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLUnknownElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLUnknownElement.java index 5db5d29c706..2ff2f450142 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLUnknownElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLUnknownElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLVideoElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLVideoElement.java index 0687f9c9858..f2d0ef436ce 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLVideoElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLVideoElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/LabelsNodeList.java b/src/main/java/org/htmlunit/javascript/host/html/LabelsNodeList.java index 7872c554552..c10a72176e2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/LabelsNodeList.java +++ b/src/main/java/org/htmlunit/javascript/host/html/LabelsNodeList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java index 3564918abe9..8328f49eb03 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/ValidityState.java b/src/main/java/org/htmlunit/javascript/host/html/ValidityState.java index 50b79f1de88..93a46a73ed2 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/ValidityState.java +++ b/src/main/java/org/htmlunit/javascript/host/html/ValidityState.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/html/package-info.java b/src/main/java/org/htmlunit/javascript/host/html/package-info.java index 9e2f1dffad7..d55d4aaab6b 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/html/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBCursor.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBCursor.java index d6e3b27e9bd..e33b3becd8b 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBCursor.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBCursor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBCursorWithValue.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBCursorWithValue.java index 08d02ecdd4d..47182f71520 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBCursorWithValue.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBCursorWithValue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBDatabase.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBDatabase.java index f018f44522b..549f4672072 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBDatabase.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBFactory.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBFactory.java index 12bf1541d6f..7a509da8d2f 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBFactory.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBIndex.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBIndex.java index 873853847ee..fc308517276 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBIndex.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBIndex.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBKeyRange.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBKeyRange.java index 901625d93a7..6ef0c8e998e 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBKeyRange.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBKeyRange.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBObjectStore.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBObjectStore.java index 5913420b035..1655a9bfc6c 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBObjectStore.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBObjectStore.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBOpenDBRequest.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBOpenDBRequest.java index 29eb7948994..0a42a7c578d 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBOpenDBRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBOpenDBRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBRequest.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBRequest.java index da09b852577..6c5703caa2f 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/IDBTransaction.java b/src/main/java/org/htmlunit/javascript/host/idb/IDBTransaction.java index 1488e6f20a3..9fea9af4c5f 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/IDBTransaction.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/IDBTransaction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/idb/package-info.java b/src/main/java/org/htmlunit/javascript/host/idb/package-info.java index f55dd1bb7d5..d0c30c115f8 100644 --- a/src/main/java/org/htmlunit/javascript/host/idb/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/idb/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/Collator.java b/src/main/java/org/htmlunit/javascript/host/intl/Collator.java index 09e670dd4f2..8976ee1fa48 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/Collator.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/Collator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/DateTimeFormat.java b/src/main/java/org/htmlunit/javascript/host/intl/DateTimeFormat.java index 8fdf95eb085..c9cbe9244c2 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/DateTimeFormat.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/DateTimeFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/Intl.java b/src/main/java/org/htmlunit/javascript/host/intl/Intl.java index b6611ef09d6..87d1dd3c6b6 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/Intl.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/Intl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/NumberFormat.java b/src/main/java/org/htmlunit/javascript/host/intl/NumberFormat.java index 142708b76e0..ae64b271ae7 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/NumberFormat.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/NumberFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/V8BreakIterator.java b/src/main/java/org/htmlunit/javascript/host/intl/V8BreakIterator.java index 0c4da7721ef..06b42eb42bf 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/V8BreakIterator.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/V8BreakIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/intl/package-info.java b/src/main/java/org/htmlunit/javascript/host/intl/package-info.java index 7f943e20bc8..18d12ca685f 100644 --- a/src/main/java/org/htmlunit/javascript/host/intl/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/intl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AnalyserNode.java b/src/main/java/org/htmlunit/javascript/host/media/AnalyserNode.java index 3c5a0fc677f..3fe11dab1ef 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AnalyserNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AnalyserNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioBuffer.java b/src/main/java/org/htmlunit/javascript/host/media/AudioBuffer.java index 6113eaf24ee..0a66b59e87e 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioBuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioBufferSourceNode.java b/src/main/java/org/htmlunit/javascript/host/media/AudioBufferSourceNode.java index 872cc8477f8..f77be1e9918 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioBufferSourceNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioBufferSourceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/AudioContext.java index 41ec4f984ea..e7c1d2c78b3 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioDestinationNode.java b/src/main/java/org/htmlunit/javascript/host/media/AudioDestinationNode.java index 7f46d43ef67..12766739dda 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioDestinationNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioDestinationNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioListener.java b/src/main/java/org/htmlunit/javascript/host/media/AudioListener.java index da40adbc11e..47179174506 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioListener.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioListener.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioNode.java b/src/main/java/org/htmlunit/javascript/host/media/AudioNode.java index 93e18ce268f..1c9eae73f53 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/AudioParam.java b/src/main/java/org/htmlunit/javascript/host/media/AudioParam.java index c0976823b4d..8557e65ddf2 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/AudioParam.java +++ b/src/main/java/org/htmlunit/javascript/host/media/AudioParam.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java index 59eb7505db9..ce9a183dfeb 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/BiquadFilterNode.java b/src/main/java/org/htmlunit/javascript/host/media/BiquadFilterNode.java index 21a3f6f6e06..49d1be9e7ce 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/BiquadFilterNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/BiquadFilterNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/ChannelMergerNode.java b/src/main/java/org/htmlunit/javascript/host/media/ChannelMergerNode.java index ea2d778c522..0a499304ef7 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/ChannelMergerNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/ChannelMergerNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/ChannelSplitterNode.java b/src/main/java/org/htmlunit/javascript/host/media/ChannelSplitterNode.java index 793564b40ab..f56cc86d086 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/ChannelSplitterNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/ChannelSplitterNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/ConstantSourceNode.java b/src/main/java/org/htmlunit/javascript/host/media/ConstantSourceNode.java index d5592500fb4..6c66a1ac954 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/ConstantSourceNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/ConstantSourceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/ConvolverNode.java b/src/main/java/org/htmlunit/javascript/host/media/ConvolverNode.java index 25658e5e120..ef904dee35d 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/ConvolverNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/ConvolverNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/DelayNode.java b/src/main/java/org/htmlunit/javascript/host/media/DelayNode.java index eb15ca5a50b..363facb14b2 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/DelayNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/DelayNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/DynamicsCompressorNode.java b/src/main/java/org/htmlunit/javascript/host/media/DynamicsCompressorNode.java index 952d4cd9d84..ef4ceff832d 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/DynamicsCompressorNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/DynamicsCompressorNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/GainNode.java b/src/main/java/org/htmlunit/javascript/host/media/GainNode.java index f6acab16dc3..ad75cc67318 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/GainNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/GainNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/IIRFilterNode.java b/src/main/java/org/htmlunit/javascript/host/media/IIRFilterNode.java index d9e8968ba45..306f349f2d7 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/IIRFilterNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/IIRFilterNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/InputDeviceCapabilities.java b/src/main/java/org/htmlunit/javascript/host/media/InputDeviceCapabilities.java index a0b4e57070a..1d497a877da 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/InputDeviceCapabilities.java +++ b/src/main/java/org/htmlunit/javascript/host/media/InputDeviceCapabilities.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaDeviceInfo.java b/src/main/java/org/htmlunit/javascript/host/media/MediaDeviceInfo.java index 7c10417035f..e64b7880ae4 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaDeviceInfo.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaDeviceInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaDevices.java b/src/main/java/org/htmlunit/javascript/host/media/MediaDevices.java index dbc78967145..801a5feaaea 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaDevices.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaDevices.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaElementAudioSourceNode.java b/src/main/java/org/htmlunit/javascript/host/media/MediaElementAudioSourceNode.java index 18a7ee70f2c..7f34ea5fc41 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaElementAudioSourceNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaElementAudioSourceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaError.java b/src/main/java/org/htmlunit/javascript/host/media/MediaError.java index 2089dc460aa..ea95cf85fe1 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaError.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaKeyError.java b/src/main/java/org/htmlunit/javascript/host/media/MediaKeyError.java index 3611650ded0..eb063ac87cc 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaKeyError.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaKeyError.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaKeySession.java b/src/main/java/org/htmlunit/javascript/host/media/MediaKeySession.java index 61b717e6986..d389e3721b6 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaKeySession.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaKeySession.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaKeyStatusMap.java b/src/main/java/org/htmlunit/javascript/host/media/MediaKeyStatusMap.java index a3f69b63293..061ff91040b 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaKeyStatusMap.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaKeyStatusMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaKeySystemAccess.java b/src/main/java/org/htmlunit/javascript/host/media/MediaKeySystemAccess.java index 577a7b6bba2..fa8f3be3a1f 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaKeySystemAccess.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaKeySystemAccess.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaKeys.java b/src/main/java/org/htmlunit/javascript/host/media/MediaKeys.java index 50f57992a54..0000a1545c8 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaKeys.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaKeys.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaRecorder.java b/src/main/java/org/htmlunit/javascript/host/media/MediaRecorder.java index ca657181d44..802c358e155 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaRecorder.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaRecorder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaSource.java b/src/main/java/org/htmlunit/javascript/host/media/MediaSource.java index 9bc291b5c18..e3577c82f54 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaSource.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaStream.java b/src/main/java/org/htmlunit/javascript/host/media/MediaStream.java index a25078cad3b..fef0059ba57 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaStream.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioDestinationNode.java b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioDestinationNode.java index 2ac4ee6123d..c80a1db0d77 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioDestinationNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioDestinationNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioSourceNode.java b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioSourceNode.java index 7600e81f59c..e812b7478e7 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioSourceNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamAudioSourceNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamTrack.java b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamTrack.java index 8480e9d16ba..c6700f360d2 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/MediaStreamTrack.java +++ b/src/main/java/org/htmlunit/javascript/host/media/MediaStreamTrack.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java index 41af6549d32..e038a6abb40 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/OscillatorNode.java b/src/main/java/org/htmlunit/javascript/host/media/OscillatorNode.java index 225e97cbea8..d948a8741fa 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/OscillatorNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/OscillatorNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/PannerNode.java b/src/main/java/org/htmlunit/javascript/host/media/PannerNode.java index 957a75bd592..a2877bb4240 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/PannerNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/PannerNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/PeriodicSyncManager.java b/src/main/java/org/htmlunit/javascript/host/media/PeriodicSyncManager.java index 07c250dda6a..03e3f08eff6 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/PeriodicSyncManager.java +++ b/src/main/java/org/htmlunit/javascript/host/media/PeriodicSyncManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/PeriodicWave.java b/src/main/java/org/htmlunit/javascript/host/media/PeriodicWave.java index 08ea41cb3b8..fed64c323ce 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/PeriodicWave.java +++ b/src/main/java/org/htmlunit/javascript/host/media/PeriodicWave.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/RemotePlayback.java b/src/main/java/org/htmlunit/javascript/host/media/RemotePlayback.java index 4c0169cea3a..5a154f61f09 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/RemotePlayback.java +++ b/src/main/java/org/htmlunit/javascript/host/media/RemotePlayback.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/ScriptProcessorNode.java b/src/main/java/org/htmlunit/javascript/host/media/ScriptProcessorNode.java index bbc8b8f2163..2f026aa7d8f 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/ScriptProcessorNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/ScriptProcessorNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/SourceBuffer.java b/src/main/java/org/htmlunit/javascript/host/media/SourceBuffer.java index 5912caae59a..860bd77a743 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/SourceBuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/media/SourceBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/SourceBufferList.java b/src/main/java/org/htmlunit/javascript/host/media/SourceBufferList.java index 9d0307fd0e0..17e348dc501 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/SourceBufferList.java +++ b/src/main/java/org/htmlunit/javascript/host/media/SourceBufferList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/StereoPannerNode.java b/src/main/java/org/htmlunit/javascript/host/media/StereoPannerNode.java index edf40816154..07dde0d2e99 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/StereoPannerNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/StereoPannerNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/TextTrack.java b/src/main/java/org/htmlunit/javascript/host/media/TextTrack.java index 61d2f217369..b900bf3e699 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/TextTrack.java +++ b/src/main/java/org/htmlunit/javascript/host/media/TextTrack.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/TextTrackCue.java b/src/main/java/org/htmlunit/javascript/host/media/TextTrackCue.java index 12a19c5f343..a1b55ffd449 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/TextTrackCue.java +++ b/src/main/java/org/htmlunit/javascript/host/media/TextTrackCue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/TextTrackCueList.java b/src/main/java/org/htmlunit/javascript/host/media/TextTrackCueList.java index 52d09717daa..8f478c02523 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/TextTrackCueList.java +++ b/src/main/java/org/htmlunit/javascript/host/media/TextTrackCueList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/TextTrackList.java b/src/main/java/org/htmlunit/javascript/host/media/TextTrackList.java index 3ec923255cc..e026eeaf7f5 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/TextTrackList.java +++ b/src/main/java/org/htmlunit/javascript/host/media/TextTrackList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/TimeRanges.java b/src/main/java/org/htmlunit/javascript/host/media/TimeRanges.java index 82e4c4f6ca4..ce9018adb29 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/TimeRanges.java +++ b/src/main/java/org/htmlunit/javascript/host/media/TimeRanges.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/VTTCue.java b/src/main/java/org/htmlunit/javascript/host/media/VTTCue.java index 509fe23376b..a793ee91798 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/VTTCue.java +++ b/src/main/java/org/htmlunit/javascript/host/media/VTTCue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/VideoPlaybackQuality.java b/src/main/java/org/htmlunit/javascript/host/media/VideoPlaybackQuality.java index f153be6783c..013561d5248 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/VideoPlaybackQuality.java +++ b/src/main/java/org/htmlunit/javascript/host/media/VideoPlaybackQuality.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/WaveShaperNode.java b/src/main/java/org/htmlunit/javascript/host/media/WaveShaperNode.java index 869e5b3252d..1cd1c0e56c9 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/WaveShaperNode.java +++ b/src/main/java/org/htmlunit/javascript/host/media/WaveShaperNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIAccess.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIAccess.java index 7b285b377f8..7c7393384a5 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIAccess.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIAccess.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInput.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInput.java index fac8c4c9e6c..55627901cb5 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInput.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInputMap.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInputMap.java index 0b9b9a8af3d..48a75a6dc8d 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInputMap.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIInputMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutput.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutput.java index 1399f7631fd..816c79a2797 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutput.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutput.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutputMap.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutputMap.java index 4b14d5a0269..1a2b572c938 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutputMap.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIOutputMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIPort.java b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIPort.java index e7b7b642452..150f588db97 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIPort.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/MIDIPort.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/midi/package-info.java b/src/main/java/org/htmlunit/javascript/host/media/midi/package-info.java index 011d364a300..92418a8bdb5 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/midi/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/media/midi/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/package-info.java b/src/main/java/org/htmlunit/javascript/host/media/package-info.java index 23a525fb677..1ced8d5d4ee 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/media/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/presentation/Presentation.java b/src/main/java/org/htmlunit/javascript/host/media/presentation/Presentation.java index fd42488c0d3..ae3fe4dcff8 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/presentation/Presentation.java +++ b/src/main/java/org/htmlunit/javascript/host/media/presentation/Presentation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationAvailability.java b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationAvailability.java index aa242f823c4..c7ee22c45a4 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationAvailability.java +++ b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationAvailability.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationConnection.java b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationConnection.java index 7a88ee4c14c..585f6ba9268 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationConnection.java +++ b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationRequest.java b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationRequest.java index fce118199fd..89604eb3aee 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/media/presentation/PresentationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/presentation/package-info.java b/src/main/java/org/htmlunit/javascript/host/media/presentation/package-info.java index 50d5444efde..f7bdd0f3740 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/presentation/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/media/presentation/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCCertificate.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCCertificate.java index f405332d228..0565937c08a 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCCertificate.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCCertificate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCIceCandidate.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCIceCandidate.java index f948e10cbfe..05d66355209 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCIceCandidate.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCIceCandidate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnection.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnection.java index b16f669389e..14451349b03 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnection.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSctpTransport.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSctpTransport.java index 4534d1796f6..583a5f0b5b9 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSctpTransport.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSctpTransport.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSessionDescription.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSessionDescription.java index e8730d673ef..9c64d81df79 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSessionDescription.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCSessionDescription.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCStatsReport.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCStatsReport.java index 3e8889108b5..ffcaae32715 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCStatsReport.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/RTCStatsReport.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/media/rtc/package-info.java b/src/main/java/org/htmlunit/javascript/host/media/rtc/package-info.java index 598f712bb4d..ab09f9c9312 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/rtc/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/media/rtc/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/network/NetworkInformation.java b/src/main/java/org/htmlunit/javascript/host/network/NetworkInformation.java index 5d0f89f1e75..eb4e0ca81a8 100644 --- a/src/main/java/org/htmlunit/javascript/host/network/NetworkInformation.java +++ b/src/main/java/org/htmlunit/javascript/host/network/NetworkInformation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/network/package-info.java b/src/main/java/org/htmlunit/javascript/host/network/package-info.java index 50b855fa4d9..5c4edd3ecbd 100644 --- a/src/main/java/org/htmlunit/javascript/host/network/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/network/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/package-info.java b/src/main/java/org/htmlunit/javascript/host/package-info.java index d357e7ae782..92f272ff009 100644 --- a/src/main/java/org/htmlunit/javascript/host/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/payment/PaymentAddress.java b/src/main/java/org/htmlunit/javascript/host/payment/PaymentAddress.java index ebede0af0ae..f11c1d1aa8e 100644 --- a/src/main/java/org/htmlunit/javascript/host/payment/PaymentAddress.java +++ b/src/main/java/org/htmlunit/javascript/host/payment/PaymentAddress.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/payment/PaymentRequest.java b/src/main/java/org/htmlunit/javascript/host/payment/PaymentRequest.java index e73a4649490..88b3a540e4f 100644 --- a/src/main/java/org/htmlunit/javascript/host/payment/PaymentRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/payment/PaymentRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/payment/PaymentResponse.java b/src/main/java/org/htmlunit/javascript/host/payment/PaymentResponse.java index a0dcecb1fec..9dc3e448069 100644 --- a/src/main/java/org/htmlunit/javascript/host/payment/PaymentResponse.java +++ b/src/main/java/org/htmlunit/javascript/host/payment/PaymentResponse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/payment/package-info.java b/src/main/java/org/htmlunit/javascript/host/payment/package-info.java index daa7f262448..0eadc0b8690 100644 --- a/src/main/java/org/htmlunit/javascript/host/payment/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/payment/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/Performance.java b/src/main/java/org/htmlunit/javascript/host/performance/Performance.java index 3d8f534e8a2..5c4bacbe42e 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/Performance.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/Performance.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceEntry.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceEntry.java index f8ad8ca73f4..b266daf6d3a 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceEntry.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceEntry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMark.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMark.java index e20a60f8ddc..2d1a8742824 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMark.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMark.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMeasure.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMeasure.java index 5a14ad91dfd..073748ab6c3 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMeasure.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceMeasure.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigation.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigation.java index 01cd05caf3d..f148e6c1f9c 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigation.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTiming.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTiming.java index 574263eb80c..15780a30e4a 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTiming.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTiming.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceResourceTiming.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceResourceTiming.java index cb26dfc0885..118fd760b14 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceResourceTiming.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceResourceTiming.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceTiming.java b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceTiming.java index a7b5079fa50..17e4299a0b0 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/PerformanceTiming.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/PerformanceTiming.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/performance/package-info.java b/src/main/java/org/htmlunit/javascript/host/performance/package-info.java index 2f8bd6b7191..4fafa101562 100644 --- a/src/main/java/org/htmlunit/javascript/host/performance/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/performance/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/security/Credential.java b/src/main/java/org/htmlunit/javascript/host/security/Credential.java index b445bf49e13..24482ca8b39 100644 --- a/src/main/java/org/htmlunit/javascript/host/security/Credential.java +++ b/src/main/java/org/htmlunit/javascript/host/security/Credential.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/security/CredentialsContainer.java b/src/main/java/org/htmlunit/javascript/host/security/CredentialsContainer.java index 927d186841a..f67b2cf6e57 100644 --- a/src/main/java/org/htmlunit/javascript/host/security/CredentialsContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/security/CredentialsContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/security/FederatedCredential.java b/src/main/java/org/htmlunit/javascript/host/security/FederatedCredential.java index 67bc8f6bd24..dab5628188a 100644 --- a/src/main/java/org/htmlunit/javascript/host/security/FederatedCredential.java +++ b/src/main/java/org/htmlunit/javascript/host/security/FederatedCredential.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/security/PasswordCredential.java b/src/main/java/org/htmlunit/javascript/host/security/PasswordCredential.java index 2ba1ed537ca..8a5ba39a7d1 100644 --- a/src/main/java/org/htmlunit/javascript/host/security/PasswordCredential.java +++ b/src/main/java/org/htmlunit/javascript/host/security/PasswordCredential.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/security/package-info.java b/src/main/java/org/htmlunit/javascript/host/security/package-info.java index 4e89d0369d9..abb0b04d90a 100644 --- a/src/main/java/org/htmlunit/javascript/host/security/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/security/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesis.java b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesis.java index ba87e24c163..31218041f1f 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesis.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesis.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisErrorEvent.java b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisErrorEvent.java index ec8463e9f1d..c263a6da12c 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisErrorEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisErrorEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisUtterance.java b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisUtterance.java index e34c0db6a39..525518aeb85 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisUtterance.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisUtterance.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisVoice.java b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisVoice.java index 6f18fd9fd74..9d44952c5b6 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisVoice.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/SpeechSynthesisVoice.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammar.java b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammar.java index 4ee6c440f49..52c29d2b880 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammar.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammar.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammarList.java b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammarList.java index 14daeaf9889..88fa0eebcf4 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammarList.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechGrammarList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechRecognition.java b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechRecognition.java index 729710e0a49..1a2a0f09f24 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechRecognition.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/WebkitSpeechRecognition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/speech/package-info.java b/src/main/java/org/htmlunit/javascript/host/speech/package-info.java index b46e8ed14ed..b4d56e67a20 100644 --- a/src/main/java/org/htmlunit/javascript/host/speech/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/speech/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAElement.java index 034a179c2c3..79e90295821 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAngle.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAngle.java index 568e5ce700f..fb329cda90f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAngle.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAngle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateElement.java index 165b8868b1a..2dca6bc6c3e 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateMotionElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateMotionElement.java index e473c8c45cc..66e192adf50 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateMotionElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateMotionElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateTransformElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateTransformElement.java index 98ef814b911..a0d6dc043e2 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateTransformElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimateTransformElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedAngle.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedAngle.java index 89afb4fe043..860f1d5e9ac 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedAngle.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedAngle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedBoolean.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedBoolean.java index 58f2ee06fbe..243e66c5f82 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedBoolean.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedBoolean.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedEnumeration.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedEnumeration.java index 50815ec88d4..4bdce408686 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedEnumeration.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedEnumeration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedInteger.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedInteger.java index b974ca70c3b..6d7f0a31c42 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedInteger.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedInteger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLength.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLength.java index 0c5ded8eaf5..86e7f8ee50e 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLength.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLength.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLengthList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLengthList.java index 0f5b9cfda70..f99819f4f73 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLengthList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedLengthList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumber.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumber.java index c04b614b0a0..e9abb06400e 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumber.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumber.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumberList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumberList.java index 8b7127c28c8..70d0993b085 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumberList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedNumberList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedPreserveAspectRatio.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedPreserveAspectRatio.java index c5ecc9eeda4..59dbe261d6c 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedPreserveAspectRatio.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedPreserveAspectRatio.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedRect.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedRect.java index 1aa319527fa..f79d70cc1f1 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedRect.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedRect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedString.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedString.java index 55bd52424c3..246bffa3a6a 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedString.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedString.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedTransformList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedTransformList.java index 492578cd385..6c73c1c1788 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedTransformList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimatedTransformList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimationElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimationElement.java index f076936a21b..7af8603650c 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimationElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGAnimationElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGCircleElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGCircleElement.java index 8c2f005c5d0..eda54913a98 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGCircleElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGCircleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGClipPathElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGClipPathElement.java index c702a611698..098cdb3f5ff 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGClipPathElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGClipPathElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGComponentTransferFunctionElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGComponentTransferFunctionElement.java index b133c39e6e7..942fd812cd3 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGComponentTransferFunctionElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGComponentTransferFunctionElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGDefsElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGDefsElement.java index 2671debb25b..bc981199b93 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGDefsElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGDefsElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGDescElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGDescElement.java index a68000de43e..2ca6729a931 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGDescElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGDescElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java index a4eafbd5d08..eb8e6d563ae 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGEllipseElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGEllipseElement.java index 6b3ea4fb6e8..a413c4bdb4f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGEllipseElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGEllipseElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEBlendElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEBlendElement.java index 53983caae06..4f8038fd64e 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEBlendElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEBlendElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEColorMatrixElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEColorMatrixElement.java index 327b98c70bd..956230d4e5b 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEColorMatrixElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEColorMatrixElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEComponentTransferElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEComponentTransferElement.java index 2b7514b3339..4e12ec4b1f7 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEComponentTransferElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEComponentTransferElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFECompositeElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFECompositeElement.java index 4c276b78b49..330726300c2 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFECompositeElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFECompositeElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEConvolveMatrixElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEConvolveMatrixElement.java index e90b5ba164a..0201162675b 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEConvolveMatrixElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEConvolveMatrixElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDiffuseLightingElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDiffuseLightingElement.java index 86307218ffc..35116cbcc1d 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDiffuseLightingElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDiffuseLightingElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDisplacementMapElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDisplacementMapElement.java index a0b48463493..c4c7fdf5632 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDisplacementMapElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDisplacementMapElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDistantLightElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDistantLightElement.java index d3f5b9eb2d7..81ac12f97b0 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDistantLightElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDistantLightElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDropShadowElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDropShadowElement.java index 37dd0267f1e..8e0b5caea5d 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDropShadowElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEDropShadowElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFloodElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFloodElement.java index 994d0576888..f8341fb8f76 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFloodElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFloodElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncAElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncAElement.java index 2ca7c45993a..7c406e5494c 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncAElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncAElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncBElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncBElement.java index b3cf751529a..b5578b66d11 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncBElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncBElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncGElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncGElement.java index efe802e2d1a..33e17f60558 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncGElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncGElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncRElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncRElement.java index c7002c281a9..0a9ed0cfcd4 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncRElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEFuncRElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEGaussianBlurElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEGaussianBlurElement.java index ad0ba7a053e..c15ee9d426c 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEGaussianBlurElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEGaussianBlurElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEImageElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEImageElement.java index 57a6b199518..05cc4e42588 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEImageElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEImageElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeElement.java index e566e85f47e..4fcda5c08cf 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeNodeElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeNodeElement.java index 5c76ea97098..2ce3fc72f2b 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeNodeElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMergeNodeElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMorphologyElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMorphologyElement.java index 7872923002f..4241c116eb6 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMorphologyElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEMorphologyElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEOffsetElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEOffsetElement.java index b9e4df74621..177d32adfe6 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEOffsetElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEOffsetElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEPointLightElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEPointLightElement.java index 4e421d1e67d..b224c8ef565 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFEPointLightElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFEPointLightElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpecularLightingElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpecularLightingElement.java index 9e49ca71b09..38f3f79d72f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpecularLightingElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpecularLightingElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpotLightElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpotLightElement.java index da1d38cfdf6..bea60beaa1d 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpotLightElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFESpotLightElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFETileElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFETileElement.java index 0baac932679..a660a3a7758 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFETileElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFETileElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFETurbulenceElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFETurbulenceElement.java index 886aa50a223..5082af2c881 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFETurbulenceElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFETurbulenceElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGFilterElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGFilterElement.java index d2d450567b4..488e761fe21 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGFilterElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGFilterElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGForeignObjectElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGForeignObjectElement.java index fa3b0a095b6..8f84684320f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGForeignObjectElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGForeignObjectElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGGElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGGElement.java index fc2c0309fd4..43f7546c6f3 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGGElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGGElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGGeometryElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGGeometryElement.java index 694ae6c379f..383895386d2 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGGeometryElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGGeometryElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGGradientElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGGradientElement.java index 2d69a1ae27d..59a9fb173d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGGradientElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGGradientElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGGraphicsElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGGraphicsElement.java index 557c0e7cb18..e2281e983f8 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGGraphicsElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGGraphicsElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGImageElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGImageElement.java index 637bbf0decc..c55e036bf0f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGImageElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGImageElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGLength.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGLength.java index 8497cbdd6c8..aff9f300326 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGLength.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGLength.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGLengthList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGLengthList.java index d710532696a..bb86de698bf 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGLengthList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGLengthList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGLineElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGLineElement.java index b461c54c5df..4152c005bc9 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGLineElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGLineElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGLinearGradientElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGLinearGradientElement.java index f01f4f05843..8201622d753 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGLinearGradientElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGLinearGradientElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMPathElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMPathElement.java index 8c81d09a3d0..18492e5a776 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMPathElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMPathElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMarkerElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMarkerElement.java index 4de12a3d0fe..1b27b717240 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMarkerElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMarkerElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMaskElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMaskElement.java index f9afdaa154b..f5edaf2eadb 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMaskElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMaskElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java index 3c6a3530f14..329785124b6 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMetadataElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMetadataElement.java index e53f48ca04c..51607a81f50 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMetadataElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMetadataElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGNumber.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGNumber.java index a7e569bccd0..6b20447301f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGNumber.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGNumber.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGNumberList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGNumberList.java index 047cf4c52b8..3453d2868b4 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGNumberList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGNumberList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPathElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPathElement.java index 74f4ef59f73..eb46dacb5d0 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPathElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPathElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPatternElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPatternElement.java index 400a6a95801..3009c073f6c 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPatternElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPatternElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPoint.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPoint.java index 9c6d6592b58..535a424a3e0 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPoint.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPoint.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPointList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPointList.java index e8f19c2b6d6..9d5d31eb07b 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPointList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPointList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPolygonElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPolygonElement.java index 9f58549a55f..59d52efed60 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPolygonElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPolygonElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPolylineElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPolylineElement.java index 5e85d0dcdcc..25adba29e6a 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPolylineElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPolylineElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGPreserveAspectRatio.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGPreserveAspectRatio.java index 3040df25ef1..c6f7508fb3f 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGPreserveAspectRatio.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGPreserveAspectRatio.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGRadialGradientElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGRadialGradientElement.java index 361d26d6fbc..c0e2c7aa95a 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGRadialGradientElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGRadialGradientElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGRect.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGRect.java index 1f273aa1b23..34fdf26a4cd 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGRect.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGRect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGRectElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGRectElement.java index aff5c0927c1..e566daa4d80 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGRectElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGRectElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGSVGElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGSVGElement.java index 1de2a7f2c32..2b11e146ac8 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGSVGElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGSVGElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGScriptElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGScriptElement.java index 06683599346..b510b54d357 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGScriptElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGScriptElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGSetElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGSetElement.java index 896602ee452..9c34ff3d5cd 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGSetElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGSetElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGStopElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGStopElement.java index 13f974b1603..4433ce472a6 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGStopElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGStopElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGStringList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGStringList.java index f468e497f4b..159bd7c9842 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGStringList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGStringList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGStyleElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGStyleElement.java index 78840d3fa07..28cf264a593 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGStyleElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGStyleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGSwitchElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGSwitchElement.java index 41b4b9e22aa..31434183797 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGSwitchElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGSwitchElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGSymbolElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGSymbolElement.java index f09f54cd425..12c43fa728d 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGSymbolElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGSymbolElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTSpanElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTSpanElement.java index f8cb3a654f0..248572ccb13 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTSpanElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTSpanElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextContentElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextContentElement.java index 46f0b06a4e6..f45dffe96bd 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextContentElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextContentElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextElement.java index cd8d4ed22e5..0d41f8f6aad 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPathElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPathElement.java index d121c6474e2..daa8abc10fe 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPathElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPathElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPositioningElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPositioningElement.java index 9d4b596dde7..38818d3ef75 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPositioningElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTextPositioningElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTitleElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTitleElement.java index d518bee7f9a..c5f700f6e10 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTitleElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTitleElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTransform.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTransform.java index cdb2fcdf9e6..91546a854cf 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTransform.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTransform.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGTransformList.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGTransformList.java index 57f92924727..8c4fc06a9c2 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGTransformList.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGTransformList.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGUnitTypes.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGUnitTypes.java index 3fe6811d1ca..b59f1727b2d 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGUnitTypes.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGUnitTypes.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGUseElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGUseElement.java index 392ddff97e3..892c8073d59 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGUseElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGUseElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGViewElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGViewElement.java index fc61f4c8c67..d1f403ce427 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGViewElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGViewElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/package-info.java b/src/main/java/org/htmlunit/javascript/host/svg/package-info.java index 8a3fa762548..ba8529dab18 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScope.java b/src/main/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScope.java index 933fa5f4dd0..028a765bbe7 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScope.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScope.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorker.java b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorker.java index 36f7b83e3cb..16ea6324f8a 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorker.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerContainer.java b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerContainer.java index 8c407f32e49..49ded4e3c97 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerRegistration.java b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerRegistration.java index 5c7660203a0..e7142119427 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerRegistration.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/ServiceWorkerRegistration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/SyncManager.java b/src/main/java/org/htmlunit/javascript/host/worker/SyncManager.java index 8c7984c78b8..5f439b75c5e 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/SyncManager.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/SyncManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/Worker.java b/src/main/java/org/htmlunit/javascript/host/worker/Worker.java index eedf4e15f17..3cdcd6d7238 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/Worker.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/Worker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java index e614b741e5b..68baae7c4f1 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java index 2a1680cfe18..c537d1e4603 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java index 28e0ba464b1..c60997db6a9 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/worker/package-info.java b/src/main/java/org/htmlunit/javascript/host/worker/package-info.java index 8b68a4253cb..26a22fde722 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/FormData.java b/src/main/java/org/htmlunit/javascript/host/xml/FormData.java index 0537d827ca1..b4fa70f5992 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/FormData.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/FormData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLDocument.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLDocument.java index 6e1f57ac692..9573ec766fd 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLDocument.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLDocument.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java index 94268cf7185..4f9b6b3ca3e 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java index 766bef3cd4a..ca9549b5316 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestUpload.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestUpload.java index 13bc5dc4bd4..3b914de61d9 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestUpload.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestUpload.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLSerializer.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLSerializer.java index 506b23446a5..7b31db43363 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLSerializer.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XSLTProcessor.java b/src/main/java/org/htmlunit/javascript/host/xml/XSLTProcessor.java index 1ed621b69af..454c496236f 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XSLTProcessor.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XSLTProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/host/xml/package-info.java b/src/main/java/org/htmlunit/javascript/host/xml/package-info.java index 2e9ba3d09ed..5b77af4b18c 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/package-info.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/package-info.java b/src/main/java/org/htmlunit/javascript/package-info.java index 961da0186f9..a82fc0c0699 100644 --- a/src/main/java/org/htmlunit/javascript/package-info.java +++ b/src/main/java/org/htmlunit/javascript/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/polyfill/Polyfill.java b/src/main/java/org/htmlunit/javascript/polyfill/Polyfill.java index 028575ffffd..afd5132a4c2 100644 --- a/src/main/java/org/htmlunit/javascript/polyfill/Polyfill.java +++ b/src/main/java/org/htmlunit/javascript/polyfill/Polyfill.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/polyfill/package-info.java b/src/main/java/org/htmlunit/javascript/polyfill/package-info.java index abf68a7c9bd..9d33dd275f2 100644 --- a/src/main/java/org/htmlunit/javascript/polyfill/package-info.java +++ b/src/main/java/org/htmlunit/javascript/polyfill/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/preprocessor/package-info.java b/src/main/java/org/htmlunit/javascript/preprocessor/package-info.java index 42538286c52..b335018e32e 100644 --- a/src/main/java/org/htmlunit/javascript/preprocessor/package-info.java +++ b/src/main/java/org/htmlunit/javascript/preprocessor/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java b/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java index a3da7ef311b..f57e0157338 100644 --- a/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java +++ b/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/proxyautoconfig/package-info.java b/src/main/java/org/htmlunit/javascript/proxyautoconfig/package-info.java index 684006b8aad..8d4a9155885 100644 --- a/src/main/java/org/htmlunit/javascript/proxyautoconfig/package-info.java +++ b/src/main/java/org/htmlunit/javascript/proxyautoconfig/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy.java b/src/main/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy.java index 15327aadeb5..384d9f18be6 100644 --- a/src/main/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy.java +++ b/src/main/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter.java b/src/main/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter.java index da139801210..f99763f02c6 100644 --- a/src/main/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter.java +++ b/src/main/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/javascript/regexp/package-info.java b/src/main/java/org/htmlunit/javascript/regexp/package-info.java index 32397657a33..aae12da2580 100644 --- a/src/main/java/org/htmlunit/javascript/regexp/package-info.java +++ b/src/main/java/org/htmlunit/javascript/regexp/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/package-info.java b/src/main/java/org/htmlunit/package-info.java index ca59a11a789..351f8f55565 100644 --- a/src/main/java/org/htmlunit/package-info.java +++ b/src/main/java/org/htmlunit/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/AwtClipboardHandler.java b/src/main/java/org/htmlunit/platform/AwtClipboardHandler.java index f7e12b8ac17..b97e39a1d39 100644 --- a/src/main/java/org/htmlunit/platform/AwtClipboardHandler.java +++ b/src/main/java/org/htmlunit/platform/AwtClipboardHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/Platform.java b/src/main/java/org/htmlunit/platform/Platform.java index 96b46d082a2..d3bb85a4298 100644 --- a/src/main/java/org/htmlunit/platform/Platform.java +++ b/src/main/java/org/htmlunit/platform/Platform.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/XmlUtilsHelperAPI.java b/src/main/java/org/htmlunit/platform/XmlUtilsHelperAPI.java index 82e069d2f37..9b7b87b2602 100644 --- a/src/main/java/org/htmlunit/platform/XmlUtilsHelperAPI.java +++ b/src/main/java/org/htmlunit/platform/XmlUtilsHelperAPI.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java b/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java index c419c4f2e30..8fae3f6ecb7 100644 --- a/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java +++ b/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/canvas/rendering/NoOpRenderingBackend.java b/src/main/java/org/htmlunit/platform/canvas/rendering/NoOpRenderingBackend.java index 4a45c91ac30..4e7b0ca23b8 100644 --- a/src/main/java/org/htmlunit/platform/canvas/rendering/NoOpRenderingBackend.java +++ b/src/main/java/org/htmlunit/platform/canvas/rendering/NoOpRenderingBackend.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/canvas/rendering/RenderingBackend.java b/src/main/java/org/htmlunit/platform/canvas/rendering/RenderingBackend.java index 931bf450dc9..eb120f76e47 100644 --- a/src/main/java/org/htmlunit/platform/canvas/rendering/RenderingBackend.java +++ b/src/main/java/org/htmlunit/platform/canvas/rendering/RenderingBackend.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/canvas/rendering/package-info.java b/src/main/java/org/htmlunit/platform/canvas/rendering/package-info.java index 6ea6a887eab..296f37d1cca 100644 --- a/src/main/java/org/htmlunit/platform/canvas/rendering/package-info.java +++ b/src/main/java/org/htmlunit/platform/canvas/rendering/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/dom/traversal/DomTreeWalker.java b/src/main/java/org/htmlunit/platform/dom/traversal/DomTreeWalker.java index c5687fc98e3..9c0fa1762a6 100644 --- a/src/main/java/org/htmlunit/platform/dom/traversal/DomTreeWalker.java +++ b/src/main/java/org/htmlunit/platform/dom/traversal/DomTreeWalker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/dom/traversal/package-info.java b/src/main/java/org/htmlunit/platform/dom/traversal/package-info.java index c72f7adadbe..80b2519243b 100644 --- a/src/main/java/org/htmlunit/platform/dom/traversal/package-info.java +++ b/src/main/java/org/htmlunit/platform/dom/traversal/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/font/AwtFontUtil.java b/src/main/java/org/htmlunit/platform/font/AwtFontUtil.java index 2fe77616f87..917616790a1 100644 --- a/src/main/java/org/htmlunit/platform/font/AwtFontUtil.java +++ b/src/main/java/org/htmlunit/platform/font/AwtFontUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/font/FontUtil.java b/src/main/java/org/htmlunit/platform/font/FontUtil.java index a0d0e0556f3..db0920ec5b0 100644 --- a/src/main/java/org/htmlunit/platform/font/FontUtil.java +++ b/src/main/java/org/htmlunit/platform/font/FontUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/font/NoOpFontUtil.java b/src/main/java/org/htmlunit/platform/font/NoOpFontUtil.java index 81653e3ce7a..ec9729b76fa 100644 --- a/src/main/java/org/htmlunit/platform/font/NoOpFontUtil.java +++ b/src/main/java/org/htmlunit/platform/font/NoOpFontUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/font/package-info.java b/src/main/java/org/htmlunit/platform/font/package-info.java index a7e101e680b..79cca047d72 100644 --- a/src/main/java/org/htmlunit/platform/font/package-info.java +++ b/src/main/java/org/htmlunit/platform/font/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/geom/IntDimension2D.java b/src/main/java/org/htmlunit/platform/geom/IntDimension2D.java index eb292cb6bc4..af2364012f8 100644 --- a/src/main/java/org/htmlunit/platform/geom/IntDimension2D.java +++ b/src/main/java/org/htmlunit/platform/geom/IntDimension2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/geom/package-info.java b/src/main/java/org/htmlunit/platform/geom/package-info.java index d5a3d8ef44c..1c69bf5ffb1 100644 --- a/src/main/java/org/htmlunit/platform/geom/package-info.java +++ b/src/main/java/org/htmlunit/platform/geom/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/image/ImageData.java b/src/main/java/org/htmlunit/platform/image/ImageData.java index 44008503711..c67d9a05bb4 100644 --- a/src/main/java/org/htmlunit/platform/image/ImageData.java +++ b/src/main/java/org/htmlunit/platform/image/ImageData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/image/ImageIOImageData.java b/src/main/java/org/htmlunit/platform/image/ImageIOImageData.java index 8da792adbd2..44834d152e1 100644 --- a/src/main/java/org/htmlunit/platform/image/ImageIOImageData.java +++ b/src/main/java/org/htmlunit/platform/image/ImageIOImageData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/image/NoOpImageData.java b/src/main/java/org/htmlunit/platform/image/NoOpImageData.java index e375dda97f6..1a57ffd6fa8 100644 --- a/src/main/java/org/htmlunit/platform/image/NoOpImageData.java +++ b/src/main/java/org/htmlunit/platform/image/NoOpImageData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/image/package-info.java b/src/main/java/org/htmlunit/platform/image/package-info.java index 6ab9a5f43db..41fc902a3ea 100644 --- a/src/main/java/org/htmlunit/platform/image/package-info.java +++ b/src/main/java/org/htmlunit/platform/image/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/package-info.java b/src/main/java/org/htmlunit/platform/package-info.java index 712d49879ca..170f83e3404 100644 --- a/src/main/java/org/htmlunit/platform/package-info.java +++ b/src/main/java/org/htmlunit/platform/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/util/XmlUtilsSunXercesHelper.java b/src/main/java/org/htmlunit/platform/util/XmlUtilsSunXercesHelper.java index f4594f149b1..3cca0f508bd 100644 --- a/src/main/java/org/htmlunit/platform/util/XmlUtilsSunXercesHelper.java +++ b/src/main/java/org/htmlunit/platform/util/XmlUtilsSunXercesHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/util/XmlUtilsXercesHelper.java b/src/main/java/org/htmlunit/platform/util/XmlUtilsXercesHelper.java index 868dae1f52c..e04ba36401b 100644 --- a/src/main/java/org/htmlunit/platform/util/XmlUtilsXercesHelper.java +++ b/src/main/java/org/htmlunit/platform/util/XmlUtilsXercesHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/platform/util/package-info.java b/src/main/java/org/htmlunit/platform/util/package-info.java index 9347bc46d6d..efbe2e5a38d 100644 --- a/src/main/java/org/htmlunit/platform/util/package-info.java +++ b/src/main/java/org/htmlunit/platform/util/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/AnyHandler.java b/src/main/java/org/htmlunit/protocol/AnyHandler.java index 19e19514b60..63b1b2ae374 100644 --- a/src/main/java/org/htmlunit/protocol/AnyHandler.java +++ b/src/main/java/org/htmlunit/protocol/AnyHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/about/AboutURLConnection.java b/src/main/java/org/htmlunit/protocol/about/AboutURLConnection.java index afd6dca7abf..60c0209b184 100644 --- a/src/main/java/org/htmlunit/protocol/about/AboutURLConnection.java +++ b/src/main/java/org/htmlunit/protocol/about/AboutURLConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/about/Handler.java b/src/main/java/org/htmlunit/protocol/about/Handler.java index edea8b4add0..cd28b1b8b2c 100644 --- a/src/main/java/org/htmlunit/protocol/about/Handler.java +++ b/src/main/java/org/htmlunit/protocol/about/Handler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/about/package-info.java b/src/main/java/org/htmlunit/protocol/about/package-info.java index 57c0ae82690..5678c4b996e 100644 --- a/src/main/java/org/htmlunit/protocol/about/package-info.java +++ b/src/main/java/org/htmlunit/protocol/about/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/data/DataURLConnection.java b/src/main/java/org/htmlunit/protocol/data/DataURLConnection.java index 2a9b1b390d9..d7aa905c9e3 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataURLConnection.java +++ b/src/main/java/org/htmlunit/protocol/data/DataURLConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index 684be297424..e513aeaf7be 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/data/Handler.java b/src/main/java/org/htmlunit/protocol/data/Handler.java index b7ec55567b1..b8dc105f37f 100644 --- a/src/main/java/org/htmlunit/protocol/data/Handler.java +++ b/src/main/java/org/htmlunit/protocol/data/Handler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/data/package-info.java b/src/main/java/org/htmlunit/protocol/data/package-info.java index 5bfda2b9bdb..db8432e7f8b 100644 --- a/src/main/java/org/htmlunit/protocol/data/package-info.java +++ b/src/main/java/org/htmlunit/protocol/data/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/javascript/Handler.java b/src/main/java/org/htmlunit/protocol/javascript/Handler.java index 9b0013a5b6e..d4cda053a67 100644 --- a/src/main/java/org/htmlunit/protocol/javascript/Handler.java +++ b/src/main/java/org/htmlunit/protocol/javascript/Handler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/javascript/JavaScriptURLConnection.java b/src/main/java/org/htmlunit/protocol/javascript/JavaScriptURLConnection.java index f1eddc945cc..577fa05c124 100644 --- a/src/main/java/org/htmlunit/protocol/javascript/JavaScriptURLConnection.java +++ b/src/main/java/org/htmlunit/protocol/javascript/JavaScriptURLConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/javascript/package-info.java b/src/main/java/org/htmlunit/protocol/javascript/package-info.java index 4eb860142d9..1fb52a2c59f 100644 --- a/src/main/java/org/htmlunit/protocol/javascript/package-info.java +++ b/src/main/java/org/htmlunit/protocol/javascript/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/protocol/package-info.java b/src/main/java/org/htmlunit/protocol/package-info.java index a07dd265000..b1cb2deba61 100644 --- a/src/main/java/org/htmlunit/protocol/package-info.java +++ b/src/main/java/org/htmlunit/protocol/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAltGlyph.java b/src/main/java/org/htmlunit/svg/SvgAltGlyph.java index 92440705d70..215001ab574 100644 --- a/src/main/java/org/htmlunit/svg/SvgAltGlyph.java +++ b/src/main/java/org/htmlunit/svg/SvgAltGlyph.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAltGlyphDef.java b/src/main/java/org/htmlunit/svg/SvgAltGlyphDef.java index 6a532515e16..4b83a74d102 100644 --- a/src/main/java/org/htmlunit/svg/SvgAltGlyphDef.java +++ b/src/main/java/org/htmlunit/svg/SvgAltGlyphDef.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAltGlyphItem.java b/src/main/java/org/htmlunit/svg/SvgAltGlyphItem.java index f45c5a3cd21..e437da6c903 100644 --- a/src/main/java/org/htmlunit/svg/SvgAltGlyphItem.java +++ b/src/main/java/org/htmlunit/svg/SvgAltGlyphItem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAnchor.java b/src/main/java/org/htmlunit/svg/SvgAnchor.java index dd1dd63b847..d30e2f53f9f 100644 --- a/src/main/java/org/htmlunit/svg/SvgAnchor.java +++ b/src/main/java/org/htmlunit/svg/SvgAnchor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAnimate.java b/src/main/java/org/htmlunit/svg/SvgAnimate.java index fb57c54d82b..2dd15f6bb25 100644 --- a/src/main/java/org/htmlunit/svg/SvgAnimate.java +++ b/src/main/java/org/htmlunit/svg/SvgAnimate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAnimateColor.java b/src/main/java/org/htmlunit/svg/SvgAnimateColor.java index eef3f944f4e..3a6de33379c 100644 --- a/src/main/java/org/htmlunit/svg/SvgAnimateColor.java +++ b/src/main/java/org/htmlunit/svg/SvgAnimateColor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAnimateMotion.java b/src/main/java/org/htmlunit/svg/SvgAnimateMotion.java index d4a35cdcc4c..430691b1f43 100644 --- a/src/main/java/org/htmlunit/svg/SvgAnimateMotion.java +++ b/src/main/java/org/htmlunit/svg/SvgAnimateMotion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgAnimateTransform.java b/src/main/java/org/htmlunit/svg/SvgAnimateTransform.java index 65f0ba120c1..fd5a780262d 100644 --- a/src/main/java/org/htmlunit/svg/SvgAnimateTransform.java +++ b/src/main/java/org/htmlunit/svg/SvgAnimateTransform.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgCircle.java b/src/main/java/org/htmlunit/svg/SvgCircle.java index dd5b5f18eff..35eea9e30ca 100644 --- a/src/main/java/org/htmlunit/svg/SvgCircle.java +++ b/src/main/java/org/htmlunit/svg/SvgCircle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgClipPath.java b/src/main/java/org/htmlunit/svg/SvgClipPath.java index 9f795b390d5..660bc5e8191 100644 --- a/src/main/java/org/htmlunit/svg/SvgClipPath.java +++ b/src/main/java/org/htmlunit/svg/SvgClipPath.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgColorProfile.java b/src/main/java/org/htmlunit/svg/SvgColorProfile.java index df783f8243b..ca708fc6731 100644 --- a/src/main/java/org/htmlunit/svg/SvgColorProfile.java +++ b/src/main/java/org/htmlunit/svg/SvgColorProfile.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgCursor.java b/src/main/java/org/htmlunit/svg/SvgCursor.java index 218c15e61a6..d1216b21af3 100644 --- a/src/main/java/org/htmlunit/svg/SvgCursor.java +++ b/src/main/java/org/htmlunit/svg/SvgCursor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgDefs.java b/src/main/java/org/htmlunit/svg/SvgDefs.java index 25ee939ca89..8857c99c67b 100644 --- a/src/main/java/org/htmlunit/svg/SvgDefs.java +++ b/src/main/java/org/htmlunit/svg/SvgDefs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgDesc.java b/src/main/java/org/htmlunit/svg/SvgDesc.java index 0be568de797..15b5b9e3503 100644 --- a/src/main/java/org/htmlunit/svg/SvgDesc.java +++ b/src/main/java/org/htmlunit/svg/SvgDesc.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgElement.java b/src/main/java/org/htmlunit/svg/SvgElement.java index fb59f7905f5..a5e13326512 100644 --- a/src/main/java/org/htmlunit/svg/SvgElement.java +++ b/src/main/java/org/htmlunit/svg/SvgElement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgElementFactory.java b/src/main/java/org/htmlunit/svg/SvgElementFactory.java index ec55c81b8b2..ae7aad1a061 100644 --- a/src/main/java/org/htmlunit/svg/SvgElementFactory.java +++ b/src/main/java/org/htmlunit/svg/SvgElementFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgEllipse.java b/src/main/java/org/htmlunit/svg/SvgEllipse.java index 25012f81741..8321528b5a0 100644 --- a/src/main/java/org/htmlunit/svg/SvgEllipse.java +++ b/src/main/java/org/htmlunit/svg/SvgEllipse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeBlend.java b/src/main/java/org/htmlunit/svg/SvgFeBlend.java index 6169924adf4..059c1fefdc3 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeBlend.java +++ b/src/main/java/org/htmlunit/svg/SvgFeBlend.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeColorMatrix.java b/src/main/java/org/htmlunit/svg/SvgFeColorMatrix.java index 472b4e188d9..ffc3275210d 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeColorMatrix.java +++ b/src/main/java/org/htmlunit/svg/SvgFeColorMatrix.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeComponentTransfer.java b/src/main/java/org/htmlunit/svg/SvgFeComponentTransfer.java index 124b6f434b1..d6a85df6100 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeComponentTransfer.java +++ b/src/main/java/org/htmlunit/svg/SvgFeComponentTransfer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeComposite.java b/src/main/java/org/htmlunit/svg/SvgFeComposite.java index 1cdbb84329a..48e4bb7233a 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeComposite.java +++ b/src/main/java/org/htmlunit/svg/SvgFeComposite.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeConvolveMatrix.java b/src/main/java/org/htmlunit/svg/SvgFeConvolveMatrix.java index e9ea471e994..bcf3bc82d58 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeConvolveMatrix.java +++ b/src/main/java/org/htmlunit/svg/SvgFeConvolveMatrix.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeDiffuseLighting.java b/src/main/java/org/htmlunit/svg/SvgFeDiffuseLighting.java index 663f6e1c2ac..83129950b64 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeDiffuseLighting.java +++ b/src/main/java/org/htmlunit/svg/SvgFeDiffuseLighting.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeDisplacementMap.java b/src/main/java/org/htmlunit/svg/SvgFeDisplacementMap.java index a27b36445af..70356b19177 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeDisplacementMap.java +++ b/src/main/java/org/htmlunit/svg/SvgFeDisplacementMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeDistantLight.java b/src/main/java/org/htmlunit/svg/SvgFeDistantLight.java index 84b33c18d03..e2ca7a3346d 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeDistantLight.java +++ b/src/main/java/org/htmlunit/svg/SvgFeDistantLight.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeFlood.java b/src/main/java/org/htmlunit/svg/SvgFeFlood.java index 4e1cba2956d..70289549939 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeFlood.java +++ b/src/main/java/org/htmlunit/svg/SvgFeFlood.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeFuncA.java b/src/main/java/org/htmlunit/svg/SvgFeFuncA.java index daf59fabe1a..379b4213a5a 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeFuncA.java +++ b/src/main/java/org/htmlunit/svg/SvgFeFuncA.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeFuncB.java b/src/main/java/org/htmlunit/svg/SvgFeFuncB.java index 8021c7c15a0..b4a2f21f53e 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeFuncB.java +++ b/src/main/java/org/htmlunit/svg/SvgFeFuncB.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeFuncG.java b/src/main/java/org/htmlunit/svg/SvgFeFuncG.java index d8e04d0434c..fcb704b0fd4 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeFuncG.java +++ b/src/main/java/org/htmlunit/svg/SvgFeFuncG.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeFuncR.java b/src/main/java/org/htmlunit/svg/SvgFeFuncR.java index 53d773547a3..de61ad99dc9 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeFuncR.java +++ b/src/main/java/org/htmlunit/svg/SvgFeFuncR.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeGaussianBlur.java b/src/main/java/org/htmlunit/svg/SvgFeGaussianBlur.java index 07563325663..f95fc897ccc 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeGaussianBlur.java +++ b/src/main/java/org/htmlunit/svg/SvgFeGaussianBlur.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeImage.java b/src/main/java/org/htmlunit/svg/SvgFeImage.java index a22ece01e89..9e100836151 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeImage.java +++ b/src/main/java/org/htmlunit/svg/SvgFeImage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeMerge.java b/src/main/java/org/htmlunit/svg/SvgFeMerge.java index 507bba3d10d..40c2490a09d 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeMerge.java +++ b/src/main/java/org/htmlunit/svg/SvgFeMerge.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeMergeNode.java b/src/main/java/org/htmlunit/svg/SvgFeMergeNode.java index b4936b78602..a54f5e7f8d4 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeMergeNode.java +++ b/src/main/java/org/htmlunit/svg/SvgFeMergeNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeMorphology.java b/src/main/java/org/htmlunit/svg/SvgFeMorphology.java index 15476b71311..fdbacb8584e 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeMorphology.java +++ b/src/main/java/org/htmlunit/svg/SvgFeMorphology.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeOffset.java b/src/main/java/org/htmlunit/svg/SvgFeOffset.java index c1cf25117f3..3ecba3e0fdf 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeOffset.java +++ b/src/main/java/org/htmlunit/svg/SvgFeOffset.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFePointLight.java b/src/main/java/org/htmlunit/svg/SvgFePointLight.java index 5918ba2b8c7..f460be23a61 100644 --- a/src/main/java/org/htmlunit/svg/SvgFePointLight.java +++ b/src/main/java/org/htmlunit/svg/SvgFePointLight.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeSpecularLighting.java b/src/main/java/org/htmlunit/svg/SvgFeSpecularLighting.java index 1b7ad69f5b7..f9e90917de1 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeSpecularLighting.java +++ b/src/main/java/org/htmlunit/svg/SvgFeSpecularLighting.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeSpotLight.java b/src/main/java/org/htmlunit/svg/SvgFeSpotLight.java index 30121ccd203..6d28f616fe6 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeSpotLight.java +++ b/src/main/java/org/htmlunit/svg/SvgFeSpotLight.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeTile.java b/src/main/java/org/htmlunit/svg/SvgFeTile.java index 17cf091c3ce..8140bceaae9 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeTile.java +++ b/src/main/java/org/htmlunit/svg/SvgFeTile.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFeTurbulence.java b/src/main/java/org/htmlunit/svg/SvgFeTurbulence.java index 05bec53dd7f..046bfbcdca0 100644 --- a/src/main/java/org/htmlunit/svg/SvgFeTurbulence.java +++ b/src/main/java/org/htmlunit/svg/SvgFeTurbulence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFilter.java b/src/main/java/org/htmlunit/svg/SvgFilter.java index ba0485ede63..d3a2ff5558f 100644 --- a/src/main/java/org/htmlunit/svg/SvgFilter.java +++ b/src/main/java/org/htmlunit/svg/SvgFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFont.java b/src/main/java/org/htmlunit/svg/SvgFont.java index d4e40b02395..0ae085c8374 100644 --- a/src/main/java/org/htmlunit/svg/SvgFont.java +++ b/src/main/java/org/htmlunit/svg/SvgFont.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFontFace.java b/src/main/java/org/htmlunit/svg/SvgFontFace.java index c794c2b4ebe..dff87b33568 100644 --- a/src/main/java/org/htmlunit/svg/SvgFontFace.java +++ b/src/main/java/org/htmlunit/svg/SvgFontFace.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFontFaceFormat.java b/src/main/java/org/htmlunit/svg/SvgFontFaceFormat.java index e03940d65df..a468bd28b67 100644 --- a/src/main/java/org/htmlunit/svg/SvgFontFaceFormat.java +++ b/src/main/java/org/htmlunit/svg/SvgFontFaceFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFontFaceName.java b/src/main/java/org/htmlunit/svg/SvgFontFaceName.java index dde332af1e1..228edd97afc 100644 --- a/src/main/java/org/htmlunit/svg/SvgFontFaceName.java +++ b/src/main/java/org/htmlunit/svg/SvgFontFaceName.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFontFaceSrc.java b/src/main/java/org/htmlunit/svg/SvgFontFaceSrc.java index c40838632ef..cab280ed5ce 100644 --- a/src/main/java/org/htmlunit/svg/SvgFontFaceSrc.java +++ b/src/main/java/org/htmlunit/svg/SvgFontFaceSrc.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgFontFaceURI.java b/src/main/java/org/htmlunit/svg/SvgFontFaceURI.java index fa6de0e2801..ce4677f6c42 100644 --- a/src/main/java/org/htmlunit/svg/SvgFontFaceURI.java +++ b/src/main/java/org/htmlunit/svg/SvgFontFaceURI.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgForeignObject.java b/src/main/java/org/htmlunit/svg/SvgForeignObject.java index 012724f56de..c073faec742 100644 --- a/src/main/java/org/htmlunit/svg/SvgForeignObject.java +++ b/src/main/java/org/htmlunit/svg/SvgForeignObject.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgGlyph.java b/src/main/java/org/htmlunit/svg/SvgGlyph.java index 63e2e96db10..a6cd46b4b5f 100644 --- a/src/main/java/org/htmlunit/svg/SvgGlyph.java +++ b/src/main/java/org/htmlunit/svg/SvgGlyph.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgGlyphRef.java b/src/main/java/org/htmlunit/svg/SvgGlyphRef.java index 41265c7bc46..ffa700e26fb 100644 --- a/src/main/java/org/htmlunit/svg/SvgGlyphRef.java +++ b/src/main/java/org/htmlunit/svg/SvgGlyphRef.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgGroup.java b/src/main/java/org/htmlunit/svg/SvgGroup.java index c9306569d42..1e5c8c6a641 100644 --- a/src/main/java/org/htmlunit/svg/SvgGroup.java +++ b/src/main/java/org/htmlunit/svg/SvgGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgHKern.java b/src/main/java/org/htmlunit/svg/SvgHKern.java index 8d8b5a8b05b..dbdf2dae253 100644 --- a/src/main/java/org/htmlunit/svg/SvgHKern.java +++ b/src/main/java/org/htmlunit/svg/SvgHKern.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgImage.java b/src/main/java/org/htmlunit/svg/SvgImage.java index be8e7fdafdf..0929898c284 100644 --- a/src/main/java/org/htmlunit/svg/SvgImage.java +++ b/src/main/java/org/htmlunit/svg/SvgImage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgLine.java b/src/main/java/org/htmlunit/svg/SvgLine.java index 3a6a10d34fe..278d9863c78 100644 --- a/src/main/java/org/htmlunit/svg/SvgLine.java +++ b/src/main/java/org/htmlunit/svg/SvgLine.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgLinearGradient.java b/src/main/java/org/htmlunit/svg/SvgLinearGradient.java index 4fcab782db1..c2ccb38805b 100644 --- a/src/main/java/org/htmlunit/svg/SvgLinearGradient.java +++ b/src/main/java/org/htmlunit/svg/SvgLinearGradient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgMPath.java b/src/main/java/org/htmlunit/svg/SvgMPath.java index 83e69760ad7..debb6167fc5 100644 --- a/src/main/java/org/htmlunit/svg/SvgMPath.java +++ b/src/main/java/org/htmlunit/svg/SvgMPath.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgMarker.java b/src/main/java/org/htmlunit/svg/SvgMarker.java index ffa6d792b35..25834eda795 100644 --- a/src/main/java/org/htmlunit/svg/SvgMarker.java +++ b/src/main/java/org/htmlunit/svg/SvgMarker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgMask.java b/src/main/java/org/htmlunit/svg/SvgMask.java index 17846122d05..4949cd4a2d8 100644 --- a/src/main/java/org/htmlunit/svg/SvgMask.java +++ b/src/main/java/org/htmlunit/svg/SvgMask.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgMetadata.java b/src/main/java/org/htmlunit/svg/SvgMetadata.java index 47cc9d648c9..1ef3ef4c374 100644 --- a/src/main/java/org/htmlunit/svg/SvgMetadata.java +++ b/src/main/java/org/htmlunit/svg/SvgMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgMissingGlyph.java b/src/main/java/org/htmlunit/svg/SvgMissingGlyph.java index 801fdd593a8..7563f72aeab 100644 --- a/src/main/java/org/htmlunit/svg/SvgMissingGlyph.java +++ b/src/main/java/org/htmlunit/svg/SvgMissingGlyph.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgPath.java b/src/main/java/org/htmlunit/svg/SvgPath.java index 4e916cafd95..0536b8ccd66 100644 --- a/src/main/java/org/htmlunit/svg/SvgPath.java +++ b/src/main/java/org/htmlunit/svg/SvgPath.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgPattern.java b/src/main/java/org/htmlunit/svg/SvgPattern.java index 226bf003afd..1c122354169 100644 --- a/src/main/java/org/htmlunit/svg/SvgPattern.java +++ b/src/main/java/org/htmlunit/svg/SvgPattern.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgPolygon.java b/src/main/java/org/htmlunit/svg/SvgPolygon.java index a78b6e5d87e..29f0732c864 100644 --- a/src/main/java/org/htmlunit/svg/SvgPolygon.java +++ b/src/main/java/org/htmlunit/svg/SvgPolygon.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgPolyline.java b/src/main/java/org/htmlunit/svg/SvgPolyline.java index 40a541e0cd5..62c7930c8a7 100644 --- a/src/main/java/org/htmlunit/svg/SvgPolyline.java +++ b/src/main/java/org/htmlunit/svg/SvgPolyline.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgRadialGradient.java b/src/main/java/org/htmlunit/svg/SvgRadialGradient.java index a35b8537a78..bf2ba7041e8 100644 --- a/src/main/java/org/htmlunit/svg/SvgRadialGradient.java +++ b/src/main/java/org/htmlunit/svg/SvgRadialGradient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgRect.java b/src/main/java/org/htmlunit/svg/SvgRect.java index 53fbde3dc94..bde80d7b3bb 100644 --- a/src/main/java/org/htmlunit/svg/SvgRect.java +++ b/src/main/java/org/htmlunit/svg/SvgRect.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgScript.java b/src/main/java/org/htmlunit/svg/SvgScript.java index 1309894d0f3..73a0b4a6fa0 100644 --- a/src/main/java/org/htmlunit/svg/SvgScript.java +++ b/src/main/java/org/htmlunit/svg/SvgScript.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgSet.java b/src/main/java/org/htmlunit/svg/SvgSet.java index 01083bcc080..671bd04878d 100644 --- a/src/main/java/org/htmlunit/svg/SvgSet.java +++ b/src/main/java/org/htmlunit/svg/SvgSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgStop.java b/src/main/java/org/htmlunit/svg/SvgStop.java index 18315f62b0c..829d6d330bb 100644 --- a/src/main/java/org/htmlunit/svg/SvgStop.java +++ b/src/main/java/org/htmlunit/svg/SvgStop.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgStyle.java b/src/main/java/org/htmlunit/svg/SvgStyle.java index b66531e874f..c3dcc946035 100644 --- a/src/main/java/org/htmlunit/svg/SvgStyle.java +++ b/src/main/java/org/htmlunit/svg/SvgStyle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgSwitch.java b/src/main/java/org/htmlunit/svg/SvgSwitch.java index 5064216802b..bcfa1dfeee9 100644 --- a/src/main/java/org/htmlunit/svg/SvgSwitch.java +++ b/src/main/java/org/htmlunit/svg/SvgSwitch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgSymbol.java b/src/main/java/org/htmlunit/svg/SvgSymbol.java index 25dae00d595..1908ef0afec 100644 --- a/src/main/java/org/htmlunit/svg/SvgSymbol.java +++ b/src/main/java/org/htmlunit/svg/SvgSymbol.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgTRef.java b/src/main/java/org/htmlunit/svg/SvgTRef.java index 62dd2930b61..d296571ec22 100644 --- a/src/main/java/org/htmlunit/svg/SvgTRef.java +++ b/src/main/java/org/htmlunit/svg/SvgTRef.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgTSpan.java b/src/main/java/org/htmlunit/svg/SvgTSpan.java index d7344fc9af4..369360e38dd 100644 --- a/src/main/java/org/htmlunit/svg/SvgTSpan.java +++ b/src/main/java/org/htmlunit/svg/SvgTSpan.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgText.java b/src/main/java/org/htmlunit/svg/SvgText.java index ca19ca2915b..de46a3a2ff3 100644 --- a/src/main/java/org/htmlunit/svg/SvgText.java +++ b/src/main/java/org/htmlunit/svg/SvgText.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgTextPath.java b/src/main/java/org/htmlunit/svg/SvgTextPath.java index e59acb508b5..b0819f6ce0a 100644 --- a/src/main/java/org/htmlunit/svg/SvgTextPath.java +++ b/src/main/java/org/htmlunit/svg/SvgTextPath.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgTitle.java b/src/main/java/org/htmlunit/svg/SvgTitle.java index 5a2fabcba2e..4c807777d37 100644 --- a/src/main/java/org/htmlunit/svg/SvgTitle.java +++ b/src/main/java/org/htmlunit/svg/SvgTitle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgUse.java b/src/main/java/org/htmlunit/svg/SvgUse.java index 00431e70f97..9e6a9a86507 100644 --- a/src/main/java/org/htmlunit/svg/SvgUse.java +++ b/src/main/java/org/htmlunit/svg/SvgUse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgVKern.java b/src/main/java/org/htmlunit/svg/SvgVKern.java index 7e67b064bd3..d5ea47317e1 100644 --- a/src/main/java/org/htmlunit/svg/SvgVKern.java +++ b/src/main/java/org/htmlunit/svg/SvgVKern.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/SvgView.java b/src/main/java/org/htmlunit/svg/SvgView.java index dca3ebf6845..56fc0fc4bbe 100644 --- a/src/main/java/org/htmlunit/svg/SvgView.java +++ b/src/main/java/org/htmlunit/svg/SvgView.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/svg/package-info.java b/src/main/java/org/htmlunit/svg/package-info.java index 5c802cdc9d5..77fa20fbeda 100644 --- a/src/main/java/org/htmlunit/svg/package-info.java +++ b/src/main/java/org/htmlunit/svg/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/ArrayUtils.java b/src/main/java/org/htmlunit/util/ArrayUtils.java index 25584b80975..9fc63befe51 100644 --- a/src/main/java/org/htmlunit/util/ArrayUtils.java +++ b/src/main/java/org/htmlunit/util/ArrayUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/Cookie.java b/src/main/java/org/htmlunit/util/Cookie.java index aa03e311701..701a76cbb13 100644 --- a/src/main/java/org/htmlunit/util/Cookie.java +++ b/src/main/java/org/htmlunit/util/Cookie.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/DebuggingWebConnection.java b/src/main/java/org/htmlunit/util/DebuggingWebConnection.java index 70acc010b68..2f9f9a413c8 100644 --- a/src/main/java/org/htmlunit/util/DebuggingWebConnection.java +++ b/src/main/java/org/htmlunit/util/DebuggingWebConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/EncodingSniffer.java b/src/main/java/org/htmlunit/util/EncodingSniffer.java index 963fe3ca5f7..5121d98160e 100644 --- a/src/main/java/org/htmlunit/util/EncodingSniffer.java +++ b/src/main/java/org/htmlunit/util/EncodingSniffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/FalsifyingWebConnection.java b/src/main/java/org/htmlunit/util/FalsifyingWebConnection.java index 2dfc18c89a5..ff2aaa88ebb 100644 --- a/src/main/java/org/htmlunit/util/FalsifyingWebConnection.java +++ b/src/main/java/org/htmlunit/util/FalsifyingWebConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/HeaderUtils.java b/src/main/java/org/htmlunit/util/HeaderUtils.java index f9bb3d91887..c24e8f0a59f 100644 --- a/src/main/java/org/htmlunit/util/HeaderUtils.java +++ b/src/main/java/org/htmlunit/util/HeaderUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/KeyDataPair.java b/src/main/java/org/htmlunit/util/KeyDataPair.java index 3fdbfac2365..124ba2ad21d 100644 --- a/src/main/java/org/htmlunit/util/KeyDataPair.java +++ b/src/main/java/org/htmlunit/util/KeyDataPair.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/MimeType.java b/src/main/java/org/htmlunit/util/MimeType.java index f8053580b49..c2dc8710623 100644 --- a/src/main/java/org/htmlunit/util/MimeType.java +++ b/src/main/java/org/htmlunit/util/MimeType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/NameValuePair.java b/src/main/java/org/htmlunit/util/NameValuePair.java index 90c238bde7d..79d9e4fc22e 100644 --- a/src/main/java/org/htmlunit/util/NameValuePair.java +++ b/src/main/java/org/htmlunit/util/NameValuePair.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/OrderedFastHashMap.java b/src/main/java/org/htmlunit/util/OrderedFastHashMap.java index 76e793b6167..ba8c42d6805 100644 --- a/src/main/java/org/htmlunit/util/OrderedFastHashMap.java +++ b/src/main/java/org/htmlunit/util/OrderedFastHashMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/SerializableLock.java b/src/main/java/org/htmlunit/util/SerializableLock.java index 43a176790de..8a7442dfb17 100644 --- a/src/main/java/org/htmlunit/util/SerializableLock.java +++ b/src/main/java/org/htmlunit/util/SerializableLock.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/StringUtils.java b/src/main/java/org/htmlunit/util/StringUtils.java index b5af9eafdb8..6e949e00d18 100644 --- a/src/main/java/org/htmlunit/util/StringUtils.java +++ b/src/main/java/org/htmlunit/util/StringUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/UrlUtils.java b/src/main/java/org/htmlunit/util/UrlUtils.java index 619927ad336..f05c7b981be 100644 --- a/src/main/java/org/htmlunit/util/UrlUtils.java +++ b/src/main/java/org/htmlunit/util/UrlUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/WebClientUtils.java b/src/main/java/org/htmlunit/util/WebClientUtils.java index 472894b46f7..70264ceed47 100644 --- a/src/main/java/org/htmlunit/util/WebClientUtils.java +++ b/src/main/java/org/htmlunit/util/WebClientUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/WebConnectionWrapper.java b/src/main/java/org/htmlunit/util/WebConnectionWrapper.java index 7fc98376fb5..5a676e3d5e3 100644 --- a/src/main/java/org/htmlunit/util/WebConnectionWrapper.java +++ b/src/main/java/org/htmlunit/util/WebConnectionWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/WebResponseWrapper.java b/src/main/java/org/htmlunit/util/WebResponseWrapper.java index 3a91f6eee96..58ed2bdeb05 100644 --- a/src/main/java/org/htmlunit/util/WebResponseWrapper.java +++ b/src/main/java/org/htmlunit/util/WebResponseWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/XUserDefinedCharset.java b/src/main/java/org/htmlunit/util/XUserDefinedCharset.java index 7fa89a8ba5d..2f47fe80d99 100644 --- a/src/main/java/org/htmlunit/util/XUserDefinedCharset.java +++ b/src/main/java/org/htmlunit/util/XUserDefinedCharset.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/XmlUtils.java b/src/main/java/org/htmlunit/util/XmlUtils.java index 876312e7a42..ae3ddd811be 100644 --- a/src/main/java/org/htmlunit/util/XmlUtils.java +++ b/src/main/java/org/htmlunit/util/XmlUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Circle2D.java b/src/main/java/org/htmlunit/util/geometry/Circle2D.java index 71820ec000e..4942e2ec011 100644 --- a/src/main/java/org/htmlunit/util/geometry/Circle2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Circle2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Line2D.java b/src/main/java/org/htmlunit/util/geometry/Line2D.java index e76d30e2f7d..dd9b593eadb 100644 --- a/src/main/java/org/htmlunit/util/geometry/Line2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Line2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Point2D.java b/src/main/java/org/htmlunit/util/geometry/Point2D.java index 98f7dc71648..e0f65728a9c 100644 --- a/src/main/java/org/htmlunit/util/geometry/Point2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Point2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Polygon2D.java b/src/main/java/org/htmlunit/util/geometry/Polygon2D.java index 32787184f21..58c85ad8d1e 100644 --- a/src/main/java/org/htmlunit/util/geometry/Polygon2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Polygon2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Rectangle2D.java b/src/main/java/org/htmlunit/util/geometry/Rectangle2D.java index 35dee71069c..ebb3e82211b 100644 --- a/src/main/java/org/htmlunit/util/geometry/Rectangle2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Rectangle2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/Shape2D.java b/src/main/java/org/htmlunit/util/geometry/Shape2D.java index 0a5abf75d4f..ec5de639981 100644 --- a/src/main/java/org/htmlunit/util/geometry/Shape2D.java +++ b/src/main/java/org/htmlunit/util/geometry/Shape2D.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/geometry/package-info.java b/src/main/java/org/htmlunit/util/geometry/package-info.java index 45004498f60..8e10ee6c51f 100644 --- a/src/main/java/org/htmlunit/util/geometry/package-info.java +++ b/src/main/java/org/htmlunit/util/geometry/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/util/package-info.java b/src/main/java/org/htmlunit/util/package-info.java index 85a3cbb1bee..ad827d44773 100644 --- a/src/main/java/org/htmlunit/util/package-info.java +++ b/src/main/java/org/htmlunit/util/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/websocket/JettyWebSocketAdapter.java b/src/main/java/org/htmlunit/websocket/JettyWebSocketAdapter.java index a49b3da42e0..aededd40da1 100644 --- a/src/main/java/org/htmlunit/websocket/JettyWebSocketAdapter.java +++ b/src/main/java/org/htmlunit/websocket/JettyWebSocketAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/websocket/WebSocketAdapter.java b/src/main/java/org/htmlunit/websocket/WebSocketAdapter.java index 7ecb454f9c3..07672d0ba41 100644 --- a/src/main/java/org/htmlunit/websocket/WebSocketAdapter.java +++ b/src/main/java/org/htmlunit/websocket/WebSocketAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/websocket/WebSocketCookieStore.java b/src/main/java/org/htmlunit/websocket/WebSocketCookieStore.java index 34a522ac7e5..667b6b60aae 100644 --- a/src/main/java/org/htmlunit/websocket/WebSocketCookieStore.java +++ b/src/main/java/org/htmlunit/websocket/WebSocketCookieStore.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/websocket/package-info.java b/src/main/java/org/htmlunit/websocket/package-info.java index 16a73b267b4..eaeb642b5a5 100644 --- a/src/main/java/org/htmlunit/websocket/package-info.java +++ b/src/main/java/org/htmlunit/websocket/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/webstart/WebStartHandler.java b/src/main/java/org/htmlunit/webstart/WebStartHandler.java index dde35ceaea9..38ead0ec8c3 100644 --- a/src/main/java/org/htmlunit/webstart/WebStartHandler.java +++ b/src/main/java/org/htmlunit/webstart/WebStartHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/webstart/package-info.java b/src/main/java/org/htmlunit/webstart/package-info.java index e7c2a29ea9e..2c4c2cfce01 100644 --- a/src/main/java/org/htmlunit/webstart/package-info.java +++ b/src/main/java/org/htmlunit/webstart/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/xml/XmlPage.java b/src/main/java/org/htmlunit/xml/XmlPage.java index aab5aa08246..f2bca56956b 100644 --- a/src/main/java/org/htmlunit/xml/XmlPage.java +++ b/src/main/java/org/htmlunit/xml/XmlPage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/htmlunit/xml/package-info.java b/src/main/java/org/htmlunit/xml/package-info.java index ee348558b6c..463a78743c6 100644 --- a/src/main/java/org/htmlunit/xml/package-info.java +++ b/src/main/java/org/htmlunit/xml/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/AbstractPageTest.java b/src/test/java/org/htmlunit/AbstractPageTest.java index 0e1b38df936..ceae5fca9bd 100644 --- a/src/test/java/org/htmlunit/AbstractPageTest.java +++ b/src/test/java/org/htmlunit/AbstractPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/BinaryPageTest.java b/src/test/java/org/htmlunit/BinaryPageTest.java index 62277102b8b..3aaa5d1427f 100644 --- a/src/test/java/org/htmlunit/BinaryPageTest.java +++ b/src/test/java/org/htmlunit/BinaryPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/BrowserRunnerTest.java b/src/test/java/org/htmlunit/BrowserRunnerTest.java index aa02a1c4c64..467285fea3d 100644 --- a/src/test/java/org/htmlunit/BrowserRunnerTest.java +++ b/src/test/java/org/htmlunit/BrowserRunnerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/BrowserVersion2Test.java b/src/test/java/org/htmlunit/BrowserVersion2Test.java index 70bee6cb6a2..a5bf89c4535 100644 --- a/src/test/java/org/htmlunit/BrowserVersion2Test.java +++ b/src/test/java/org/htmlunit/BrowserVersion2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/BrowserVersionFeaturesTest.java b/src/test/java/org/htmlunit/BrowserVersionFeaturesTest.java index 0ad54fca509..4c5a36968fe 100644 --- a/src/test/java/org/htmlunit/BrowserVersionFeaturesTest.java +++ b/src/test/java/org/htmlunit/BrowserVersionFeaturesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/BrowserVersionTest.java b/src/test/java/org/htmlunit/BrowserVersionTest.java index ebdeac1c2c4..a74d00fb817 100644 --- a/src/test/java/org/htmlunit/BrowserVersionTest.java +++ b/src/test/java/org/htmlunit/BrowserVersionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CacheTest.java b/src/test/java/org/htmlunit/CacheTest.java index bfb29b9c7bc..9aca1a0407f 100644 --- a/src/test/java/org/htmlunit/CacheTest.java +++ b/src/test/java/org/htmlunit/CacheTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CodeStyleTest.java b/src/test/java/org/htmlunit/CodeStyleTest.java index 15cf2eaa059..88343c018ac 100644 --- a/src/test/java/org/htmlunit/CodeStyleTest.java +++ b/src/test/java/org/htmlunit/CodeStyleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CookieManager2Test.java b/src/test/java/org/htmlunit/CookieManager2Test.java index df8c1c96fd3..915d1c6f755 100644 --- a/src/test/java/org/htmlunit/CookieManager2Test.java +++ b/src/test/java/org/htmlunit/CookieManager2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CookieManager3Test.java b/src/test/java/org/htmlunit/CookieManager3Test.java index c5701afe7cb..16f46c56678 100644 --- a/src/test/java/org/htmlunit/CookieManager3Test.java +++ b/src/test/java/org/htmlunit/CookieManager3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CookieManager4Test.java b/src/test/java/org/htmlunit/CookieManager4Test.java index 1ef6898541e..50ec34e77ca 100644 --- a/src/test/java/org/htmlunit/CookieManager4Test.java +++ b/src/test/java/org/htmlunit/CookieManager4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CookieManager5Test.java b/src/test/java/org/htmlunit/CookieManager5Test.java index 79f49ea6873..19f53a7d7d6 100644 --- a/src/test/java/org/htmlunit/CookieManager5Test.java +++ b/src/test/java/org/htmlunit/CookieManager5Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/CookieManagerTest.java b/src/test/java/org/htmlunit/CookieManagerTest.java index bc82c12763c..52c7aa89420 100644 --- a/src/test/java/org/htmlunit/CookieManagerTest.java +++ b/src/test/java/org/htmlunit/CookieManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java b/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java index d3a8ff56164..724f6cf9bd0 100644 --- a/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java +++ b/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/DefaultCredentialsProvider3Test.java b/src/test/java/org/htmlunit/DefaultCredentialsProvider3Test.java index 9a877d814ed..488e86bc660 100644 --- a/src/test/java/org/htmlunit/DefaultCredentialsProvider3Test.java +++ b/src/test/java/org/htmlunit/DefaultCredentialsProvider3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/DefaultCredentialsProviderTest.java b/src/test/java/org/htmlunit/DefaultCredentialsProviderTest.java index eaee4983def..926a37126cf 100644 --- a/src/test/java/org/htmlunit/DefaultCredentialsProviderTest.java +++ b/src/test/java/org/htmlunit/DefaultCredentialsProviderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/DefaultPageCreator2Test.java b/src/test/java/org/htmlunit/DefaultPageCreator2Test.java index 27037f35078..0b926ffb143 100644 --- a/src/test/java/org/htmlunit/DefaultPageCreator2Test.java +++ b/src/test/java/org/htmlunit/DefaultPageCreator2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/DefaultPageCreatorTest.java b/src/test/java/org/htmlunit/DefaultPageCreatorTest.java index a3330db0e62..e5c7ee169eb 100644 --- a/src/test/java/org/htmlunit/DefaultPageCreatorTest.java +++ b/src/test/java/org/htmlunit/DefaultPageCreatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ErrorOutputChecker.java b/src/test/java/org/htmlunit/ErrorOutputChecker.java index a56b4c1733a..df1b0c04c94 100644 --- a/src/test/java/org/htmlunit/ErrorOutputChecker.java +++ b/src/test/java/org/htmlunit/ErrorOutputChecker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java b/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java index ada43a13ed6..c9f8b0b347a 100644 --- a/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java +++ b/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 34c7fb6d883..3d6b5383d03 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/FailingHttpStatusCodeExceptionTest.java b/src/test/java/org/htmlunit/FailingHttpStatusCodeExceptionTest.java index 11ff61cb9de..1e90c232b7a 100644 --- a/src/test/java/org/htmlunit/FailingHttpStatusCodeExceptionTest.java +++ b/src/test/java/org/htmlunit/FailingHttpStatusCodeExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/History2Test.java b/src/test/java/org/htmlunit/History2Test.java index 608e06eaec8..87d9001cf13 100644 --- a/src/test/java/org/htmlunit/History2Test.java +++ b/src/test/java/org/htmlunit/History2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HistoryTest.java b/src/test/java/org/htmlunit/HistoryTest.java index 5f262d870fb..da9ceee8d4b 100644 --- a/src/test/java/org/htmlunit/HistoryTest.java +++ b/src/test/java/org/htmlunit/HistoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnection2Test.java b/src/test/java/org/htmlunit/HttpWebConnection2Test.java index ec4a96ec005..e74949b8b9a 100644 --- a/src/test/java/org/htmlunit/HttpWebConnection2Test.java +++ b/src/test/java/org/htmlunit/HttpWebConnection2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnection3Test.java b/src/test/java/org/htmlunit/HttpWebConnection3Test.java index b5c7319f66c..ea0cb8848fc 100644 --- a/src/test/java/org/htmlunit/HttpWebConnection3Test.java +++ b/src/test/java/org/htmlunit/HttpWebConnection3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLTest.java b/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLTest.java index cc622a7edbd..b62022bb4f9 100644 --- a/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLTest.java +++ b/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLWithClientCertificateTest.java b/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLWithClientCertificateTest.java index 197fa70a0f4..3c7013da406 100644 --- a/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLWithClientCertificateTest.java +++ b/src/test/java/org/htmlunit/HttpWebConnectionInsecureSSLWithClientCertificateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnectionProxyTest.java b/src/test/java/org/htmlunit/HttpWebConnectionProxyTest.java index 84236df65dc..df47e09a647 100644 --- a/src/test/java/org/htmlunit/HttpWebConnectionProxyTest.java +++ b/src/test/java/org/htmlunit/HttpWebConnectionProxyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnectionTest.java b/src/test/java/org/htmlunit/HttpWebConnectionTest.java index 9dd4f7a155c..804d72e53b5 100644 --- a/src/test/java/org/htmlunit/HttpWebConnectionTest.java +++ b/src/test/java/org/htmlunit/HttpWebConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/HttpWebConnectionTruststoreTest.java b/src/test/java/org/htmlunit/HttpWebConnectionTruststoreTest.java index d72fa3f7342..f0f739a7b3c 100644 --- a/src/test/java/org/htmlunit/HttpWebConnectionTruststoreTest.java +++ b/src/test/java/org/htmlunit/HttpWebConnectionTruststoreTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ImmediateRefreshHandlerTest.java b/src/test/java/org/htmlunit/ImmediateRefreshHandlerTest.java index a113b9d9b18..2ee33ab312d 100644 --- a/src/test/java/org/htmlunit/ImmediateRefreshHandlerTest.java +++ b/src/test/java/org/htmlunit/ImmediateRefreshHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/IncorrectnessListenerTest.java b/src/test/java/org/htmlunit/IncorrectnessListenerTest.java index f1e355df3bd..996c6e68fb4 100644 --- a/src/test/java/org/htmlunit/IncorrectnessListenerTest.java +++ b/src/test/java/org/htmlunit/IncorrectnessListenerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/MiniServer.java b/src/test/java/org/htmlunit/MiniServer.java index a36cdc8d2ab..6e22eaf30b7 100644 --- a/src/test/java/org/htmlunit/MiniServer.java +++ b/src/test/java/org/htmlunit/MiniServer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/MockWebConnectionTest.java b/src/test/java/org/htmlunit/MockWebConnectionTest.java index 4b2784d7c82..d1a97b540ff 100644 --- a/src/test/java/org/htmlunit/MockWebConnectionTest.java +++ b/src/test/java/org/htmlunit/MockWebConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/NiceRefreshHandlerTest.java b/src/test/java/org/htmlunit/NiceRefreshHandlerTest.java index de64339a37d..a4071e20725 100644 --- a/src/test/java/org/htmlunit/NiceRefreshHandlerTest.java +++ b/src/test/java/org/htmlunit/NiceRefreshHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/NicelyResynchronizingAjaxControllerTest.java b/src/test/java/org/htmlunit/NicelyResynchronizingAjaxControllerTest.java index 9607ff8bbfa..91137f61f9e 100644 --- a/src/test/java/org/htmlunit/NicelyResynchronizingAjaxControllerTest.java +++ b/src/test/java/org/htmlunit/NicelyResynchronizingAjaxControllerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/NoHttpResponseTest.java b/src/test/java/org/htmlunit/NoHttpResponseTest.java index 1ef0df8478e..ec87af43283 100644 --- a/src/test/java/org/htmlunit/NoHttpResponseTest.java +++ b/src/test/java/org/htmlunit/NoHttpResponseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/NotYetImplementedTest.java b/src/test/java/org/htmlunit/NotYetImplementedTest.java index 4a86c5d829f..33f452acd72 100644 --- a/src/test/java/org/htmlunit/NotYetImplementedTest.java +++ b/src/test/java/org/htmlunit/NotYetImplementedTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ObjectInstantiationExceptionTest.java b/src/test/java/org/htmlunit/ObjectInstantiationExceptionTest.java index 83486b76e4e..e393bfa3ced 100644 --- a/src/test/java/org/htmlunit/ObjectInstantiationExceptionTest.java +++ b/src/test/java/org/htmlunit/ObjectInstantiationExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/PageReloadTest.java b/src/test/java/org/htmlunit/PageReloadTest.java index 0d2f1e7bb1c..c862bf30787 100644 --- a/src/test/java/org/htmlunit/PageReloadTest.java +++ b/src/test/java/org/htmlunit/PageReloadTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/PrimitiveWebServer.java b/src/test/java/org/htmlunit/PrimitiveWebServer.java index 6100a8304a8..c56e1650ff3 100644 --- a/src/test/java/org/htmlunit/PrimitiveWebServer.java +++ b/src/test/java/org/htmlunit/PrimitiveWebServer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ScriptExceptionTest.java b/src/test/java/org/htmlunit/ScriptExceptionTest.java index f6534045ee1..53f7a83c806 100644 --- a/src/test/java/org/htmlunit/ScriptExceptionTest.java +++ b/src/test/java/org/htmlunit/ScriptExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/ScriptPreProcessorTest.java b/src/test/java/org/htmlunit/ScriptPreProcessorTest.java index 2d66a5a9ea5..ef892f8bac4 100644 --- a/src/test/java/org/htmlunit/ScriptPreProcessorTest.java +++ b/src/test/java/org/htmlunit/ScriptPreProcessorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/SgmlPage2Test.java b/src/test/java/org/htmlunit/SgmlPage2Test.java index 1ec03fba12b..8eeb8e8b949 100644 --- a/src/test/java/org/htmlunit/SgmlPage2Test.java +++ b/src/test/java/org/htmlunit/SgmlPage2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/SgmlPageTest.java b/src/test/java/org/htmlunit/SgmlPageTest.java index 6106f399580..e910deb747a 100644 --- a/src/test/java/org/htmlunit/SgmlPageTest.java +++ b/src/test/java/org/htmlunit/SgmlPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/SimpleWebTestCase.java b/src/test/java/org/htmlunit/SimpleWebTestCase.java index c8766ab7bcd..a5bef93a4d7 100644 --- a/src/test/java/org/htmlunit/SimpleWebTestCase.java +++ b/src/test/java/org/htmlunit/SimpleWebTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/SocksProxyTest.java b/src/test/java/org/htmlunit/SocksProxyTest.java index d7245029997..f49e306b646 100644 --- a/src/test/java/org/htmlunit/SocksProxyTest.java +++ b/src/test/java/org/htmlunit/SocksProxyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/StorageHolderTest.java b/src/test/java/org/htmlunit/StorageHolderTest.java index 6bf8cc41477..d1ace040a88 100644 --- a/src/test/java/org/htmlunit/StorageHolderTest.java +++ b/src/test/java/org/htmlunit/StorageHolderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/StringWebResponseTest.java b/src/test/java/org/htmlunit/StringWebResponseTest.java index 1ecb35b6fbd..aa18ba7af65 100644 --- a/src/test/java/org/htmlunit/StringWebResponseTest.java +++ b/src/test/java/org/htmlunit/StringWebResponseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/TestCaseTest.java b/src/test/java/org/htmlunit/TestCaseTest.java index 7afaf2c0656..3335c99b360 100644 --- a/src/test/java/org/htmlunit/TestCaseTest.java +++ b/src/test/java/org/htmlunit/TestCaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/TextPageTest.java b/src/test/java/org/htmlunit/TextPageTest.java index 719f8da1687..8998c80227c 100644 --- a/src/test/java/org/htmlunit/TextPageTest.java +++ b/src/test/java/org/htmlunit/TextPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/TopLevelWindowTest.java b/src/test/java/org/htmlunit/TopLevelWindowTest.java index 51142b533f9..843c1231225 100644 --- a/src/test/java/org/htmlunit/TopLevelWindowTest.java +++ b/src/test/java/org/htmlunit/TopLevelWindowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/VersionTest.java b/src/test/java/org/htmlunit/VersionTest.java index 2d07314dee9..39eb78e3864 100644 --- a/src/test/java/org/htmlunit/VersionTest.java +++ b/src/test/java/org/htmlunit/VersionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WaitingRefreshHandlerTest.java b/src/test/java/org/htmlunit/WaitingRefreshHandlerTest.java index 1f27d5f6464..57ab2265c59 100644 --- a/src/test/java/org/htmlunit/WaitingRefreshHandlerTest.java +++ b/src/test/java/org/htmlunit/WaitingRefreshHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebAssertTest.java b/src/test/java/org/htmlunit/WebAssertTest.java index d13722a3eb7..7727111fb4b 100644 --- a/src/test/java/org/htmlunit/WebAssertTest.java +++ b/src/test/java/org/htmlunit/WebAssertTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient2Test.java b/src/test/java/org/htmlunit/WebClient2Test.java index 2846ed9efee..c8f19f107d5 100644 --- a/src/test/java/org/htmlunit/WebClient2Test.java +++ b/src/test/java/org/htmlunit/WebClient2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient3Test.java b/src/test/java/org/htmlunit/WebClient3Test.java index 298dccdc477..0d5fd725786 100644 --- a/src/test/java/org/htmlunit/WebClient3Test.java +++ b/src/test/java/org/htmlunit/WebClient3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient4Test.java b/src/test/java/org/htmlunit/WebClient4Test.java index 99e1ff87ad0..65ae5bbead8 100644 --- a/src/test/java/org/htmlunit/WebClient4Test.java +++ b/src/test/java/org/htmlunit/WebClient4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient5Test.java b/src/test/java/org/htmlunit/WebClient5Test.java index fb33eb278f6..541125860b5 100644 --- a/src/test/java/org/htmlunit/WebClient5Test.java +++ b/src/test/java/org/htmlunit/WebClient5Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient6Test.java b/src/test/java/org/htmlunit/WebClient6Test.java index b9979d6cbc2..50ed8494ae7 100644 --- a/src/test/java/org/htmlunit/WebClient6Test.java +++ b/src/test/java/org/htmlunit/WebClient6Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient7Test.java b/src/test/java/org/htmlunit/WebClient7Test.java index 81073e3ab52..8bfa8df474d 100644 --- a/src/test/java/org/htmlunit/WebClient7Test.java +++ b/src/test/java/org/htmlunit/WebClient7Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient8Test.java b/src/test/java/org/htmlunit/WebClient8Test.java index 5d3de29667f..27d708313a1 100644 --- a/src/test/java/org/htmlunit/WebClient8Test.java +++ b/src/test/java/org/htmlunit/WebClient8Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClient9Test.java b/src/test/java/org/htmlunit/WebClient9Test.java index 90802dac309..bf58e14d809 100644 --- a/src/test/java/org/htmlunit/WebClient9Test.java +++ b/src/test/java/org/htmlunit/WebClient9Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClientOptionsTest.java b/src/test/java/org/htmlunit/WebClientOptionsTest.java index ce12272e638..d2af684c155 100644 --- a/src/test/java/org/htmlunit/WebClientOptionsTest.java +++ b/src/test/java/org/htmlunit/WebClientOptionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClientTest.java b/src/test/java/org/htmlunit/WebClientTest.java index f0a2afac0f5..90fd10072f8 100644 --- a/src/test/java/org/htmlunit/WebClientTest.java +++ b/src/test/java/org/htmlunit/WebClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java b/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java index 81e79ea3a8e..8b1b5ca7f15 100644 --- a/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java +++ b/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebDriverTestCase.java b/src/test/java/org/htmlunit/WebDriverTestCase.java index e1c2e2f09a6..ad5c21e0648 100644 --- a/src/test/java/org/htmlunit/WebDriverTestCase.java +++ b/src/test/java/org/htmlunit/WebDriverTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebRequest2Test.java b/src/test/java/org/htmlunit/WebRequest2Test.java index 6a776fc3dc3..51e3056770b 100644 --- a/src/test/java/org/htmlunit/WebRequest2Test.java +++ b/src/test/java/org/htmlunit/WebRequest2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebRequestTest.java b/src/test/java/org/htmlunit/WebRequestTest.java index ac07ae40c53..ec9d572e1e1 100644 --- a/src/test/java/org/htmlunit/WebRequestTest.java +++ b/src/test/java/org/htmlunit/WebRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebResponse2Test.java b/src/test/java/org/htmlunit/WebResponse2Test.java index 79f6c434fe4..94bc0867a60 100644 --- a/src/test/java/org/htmlunit/WebResponse2Test.java +++ b/src/test/java/org/htmlunit/WebResponse2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebResponseData2Test.java b/src/test/java/org/htmlunit/WebResponseData2Test.java index ba2687af019..00dca7c4bda 100644 --- a/src/test/java/org/htmlunit/WebResponseData2Test.java +++ b/src/test/java/org/htmlunit/WebResponseData2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebResponseDataTest.java b/src/test/java/org/htmlunit/WebResponseDataTest.java index 5b082206cae..1e3c7993252 100644 --- a/src/test/java/org/htmlunit/WebResponseDataTest.java +++ b/src/test/java/org/htmlunit/WebResponseDataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebResponseTest.java b/src/test/java/org/htmlunit/WebResponseTest.java index 276be329ecb..6c600549495 100644 --- a/src/test/java/org/htmlunit/WebResponseTest.java +++ b/src/test/java/org/htmlunit/WebResponseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebServerTestCase.java b/src/test/java/org/htmlunit/WebServerTestCase.java index 86721dab290..ae4209c4dd2 100644 --- a/src/test/java/org/htmlunit/WebServerTestCase.java +++ b/src/test/java/org/htmlunit/WebServerTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebTestCase.java b/src/test/java/org/htmlunit/WebTestCase.java index c1cb0b1fa47..9fdf2f2f21e 100644 --- a/src/test/java/org/htmlunit/WebTestCase.java +++ b/src/test/java/org/htmlunit/WebTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/WebWindowListenerTest.java b/src/test/java/org/htmlunit/WebWindowListenerTest.java index 72c8b61350a..f2f1b48ddde 100644 --- a/src/test/java/org/htmlunit/WebWindowListenerTest.java +++ b/src/test/java/org/htmlunit/WebWindowListenerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/annotations/StandardsMode.java b/src/test/java/org/htmlunit/annotations/StandardsMode.java index 99e71abaee7..a4e4a845274 100644 --- a/src/test/java/org/htmlunit/annotations/StandardsMode.java +++ b/src/test/java/org/htmlunit/annotations/StandardsMode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/archunit/Architecture2Test.java b/src/test/java/org/htmlunit/archunit/Architecture2Test.java index 02f04957838..7e9b5abf6fc 100644 --- a/src/test/java/org/htmlunit/archunit/Architecture2Test.java +++ b/src/test/java/org/htmlunit/archunit/Architecture2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java index 97b4221dbbc..d2ff1690a22 100644 --- a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java +++ b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/attachment/AttachmentHandlerTest.java b/src/test/java/org/htmlunit/attachment/AttachmentHandlerTest.java index d766d93504f..1640cd95a6f 100644 --- a/src/test/java/org/htmlunit/attachment/AttachmentHandlerTest.java +++ b/src/test/java/org/htmlunit/attachment/AttachmentHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/attachment/AttachmentTest.java b/src/test/java/org/htmlunit/attachment/AttachmentTest.java index 9a07c5822d2..c8fd245c649 100644 --- a/src/test/java/org/htmlunit/attachment/AttachmentTest.java +++ b/src/test/java/org/htmlunit/attachment/AttachmentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/attachment/CollectingAttachmentHandlerTest.java b/src/test/java/org/htmlunit/attachment/CollectingAttachmentHandlerTest.java index 1f6224babc6..cdd8d7f4007 100644 --- a/src/test/java/org/htmlunit/attachment/CollectingAttachmentHandlerTest.java +++ b/src/test/java/org/htmlunit/attachment/CollectingAttachmentHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java b/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java index 46c1745cc9d..3e5065fa3ee 100644 --- a/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java +++ b/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java b/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java index 183a10aeddb..0a75c44abba 100644 --- a/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java +++ b/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/css/StyleAttributesIterableTest.java b/src/test/java/org/htmlunit/css/StyleAttributesIterableTest.java index c758c5d034f..59752847e5e 100644 --- a/src/test/java/org/htmlunit/css/StyleAttributesIterableTest.java +++ b/src/test/java/org/htmlunit/css/StyleAttributesIterableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/css/StyleAttributesTest.java b/src/test/java/org/htmlunit/css/StyleAttributesTest.java index e79557803c6..ecf03cd4b7a 100644 --- a/src/test/java/org/htmlunit/css/StyleAttributesTest.java +++ b/src/test/java/org/htmlunit/css/StyleAttributesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/doc/DetailsTest.java b/src/test/java/org/htmlunit/doc/DetailsTest.java index 00a85acb3e8..f9c430827a3 100644 --- a/src/test/java/org/htmlunit/doc/DetailsTest.java +++ b/src/test/java/org/htmlunit/doc/DetailsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/doc/DocumentationTests.java b/src/test/java/org/htmlunit/doc/DocumentationTests.java index 286cae7c219..f50bee6ebde 100644 --- a/src/test/java/org/htmlunit/doc/DocumentationTests.java +++ b/src/test/java/org/htmlunit/doc/DocumentationTests.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/doc/FaqTest.java b/src/test/java/org/htmlunit/doc/FaqTest.java index b2009b21633..b0889d1dbea 100644 --- a/src/test/java/org/htmlunit/doc/FaqTest.java +++ b/src/test/java/org/htmlunit/doc/FaqTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/doc/StorageHolderTest.java b/src/test/java/org/htmlunit/doc/StorageHolderTest.java index 5dc0434cafa..eca2f2ce497 100644 --- a/src/test/java/org/htmlunit/doc/StorageHolderTest.java +++ b/src/test/java/org/htmlunit/doc/StorageHolderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/doc/WebClientTest.java b/src/test/java/org/htmlunit/doc/WebClientTest.java index c27ff0c2d15..a49e878bd6d 100644 --- a/src/test/java/org/htmlunit/doc/WebClientTest.java +++ b/src/test/java/org/htmlunit/doc/WebClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/AbstractXMLHttpRequestEncodingTest.java b/src/test/java/org/htmlunit/encoding/AbstractXMLHttpRequestEncodingTest.java index 1c0f84d95f4..61dde2094c2 100644 --- a/src/test/java/org/htmlunit/encoding/AbstractXMLHttpRequestEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/AbstractXMLHttpRequestEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java b/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java index 76206d28531..b99ced24fad 100644 --- a/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java b/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java index 0d2737564d7..8bb3e581316 100644 --- a/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java b/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java index 52f0a7667ef..15a1f726ff2 100644 --- a/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsTextEncodingTest.java b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsTextEncodingTest.java index 576a3af37ea..3c89e82095f 100644 --- a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsTextEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsTextEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsXMLEncodingTest.java b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsXMLEncodingTest.java index c6477ecdd58..9f9f2337dde 100644 --- a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsXMLEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseAsXMLEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseTextEncodingTest.java b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseTextEncodingTest.java index ce537445c96..3708b6f037c 100644 --- a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseTextEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseTextEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseXMLEncodingTest.java b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseXMLEncodingTest.java index 3094dff73a3..04a87b04468 100644 --- a/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseXMLEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/XMLHttpRequestResponseXMLEncodingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/fuzzer/FuzzerTest.java b/src/test/java/org/htmlunit/fuzzer/FuzzerTest.java index fc7af14813a..c6a59eea6f7 100644 --- a/src/test/java/org/htmlunit/fuzzer/FuzzerTest.java +++ b/src/test/java/org/htmlunit/fuzzer/FuzzerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java index 4f9afa0f184..e7ad2192a0d 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java index 5d929df73ec..28af25ab802 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index 02d58f46f7f..0012183769d 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementChildNodesTest.java b/src/test/java/org/htmlunit/general/ElementChildNodesTest.java index a2b95e9b4fd..5e576acd705 100644 --- a/src/test/java/org/htmlunit/general/ElementChildNodesTest.java +++ b/src/test/java/org/htmlunit/general/ElementChildNodesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java index 877f70fab42..6183397d5c9 100644 --- a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java +++ b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementCreationTest.java b/src/test/java/org/htmlunit/general/ElementCreationTest.java index 7d624d9b2dd..1778dac3fad 100644 --- a/src/test/java/org/htmlunit/general/ElementCreationTest.java +++ b/src/test/java/org/htmlunit/general/ElementCreationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java b/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java index 51f947f8042..df56cf763a4 100644 --- a/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java +++ b/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java b/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java index 0be22095299..71721a04d3a 100644 --- a/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java +++ b/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index 2e5286961f1..3910a1b12d1 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index 82e4efe881b..78c64892508 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index 2699f9792ac..5ded9406c30 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostClassNameTest.java b/src/test/java/org/htmlunit/general/HostClassNameTest.java index ea3a54fef47..9f7ea4dfb2a 100644 --- a/src/test/java/org/htmlunit/general/HostClassNameTest.java +++ b/src/test/java/org/htmlunit/general/HostClassNameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostConstantsTest.java b/src/test/java/org/htmlunit/general/HostConstantsTest.java index 4de7c7d729f..f885d59d6fa 100644 --- a/src/test/java/org/htmlunit/general/HostConstantsTest.java +++ b/src/test/java/org/htmlunit/general/HostConstantsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostConstructorTest.java b/src/test/java/org/htmlunit/general/HostConstructorTest.java index 5236915c625..f0b29a93d5e 100644 --- a/src/test/java/org/htmlunit/general/HostConstructorTest.java +++ b/src/test/java/org/htmlunit/general/HostConstructorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostExtractor.java b/src/test/java/org/htmlunit/general/HostExtractor.java index f70969795bf..00402ffb5b8 100644 --- a/src/test/java/org/htmlunit/general/HostExtractor.java +++ b/src/test/java/org/htmlunit/general/HostExtractor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostTestsTest.java b/src/test/java/org/htmlunit/general/HostTestsTest.java index 05db3bc63fb..adecdadc7fb 100644 --- a/src/test/java/org/htmlunit/general/HostTestsTest.java +++ b/src/test/java/org/htmlunit/general/HostTestsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/HostTypeOfTest.java b/src/test/java/org/htmlunit/general/HostTypeOfTest.java index 6a810bc4ddd..4ee8217f147 100644 --- a/src/test/java/org/htmlunit/general/HostTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/HostTypeOfTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java b/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java index 95c0f183755..d88500d9a63 100644 --- a/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java +++ b/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOf.java b/src/test/java/org/htmlunit/general/huge/HostParentOf.java index 7fd0d9a0ebc..2a54d7a2969 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOf.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOf.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java index e1957f7cfea..6b5dfd3f307 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java index f2f67ef17af..59cd7396530 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java index 8421cbaaef7..9f39fe72759 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java index 80909973ad1..e123b4f7cbe 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java index 569716dad66..f177b9ba884 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java index c0eb78f9db2..36e0f1fe6fb 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java index 2046de55e75..3c900faa803 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java index bdfe2faa99e..4ff30fdc873 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java index 568384ba250..d08321164db 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java index 66f9966e52a..22cbdaf439b 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java b/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java index de12f48fb1f..2675682f136 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java index 743d951e28b..b63aa496ced 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java index f05ec67af60..c171190c1bb 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java index 9c188ea1df8..14dce99d11b 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/AttributesTest.java b/src/test/java/org/htmlunit/html/AttributesTest.java index c95dd11ecb5..8f81b6398b3 100644 --- a/src/test/java/org/htmlunit/html/AttributesTest.java +++ b/src/test/java/org/htmlunit/html/AttributesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java b/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java index 5cb9f97088a..ba568a8c5b5 100644 --- a/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java +++ b/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/BaseFrameElementTest.java b/src/test/java/org/htmlunit/html/BaseFrameElementTest.java index cdd9fdbf469..a080450c263 100644 --- a/src/test/java/org/htmlunit/html/BaseFrameElementTest.java +++ b/src/test/java/org/htmlunit/html/BaseFrameElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/ClickableElement2Test.java b/src/test/java/org/htmlunit/html/ClickableElement2Test.java index d9528da3d74..d2d4d341023 100644 --- a/src/test/java/org/htmlunit/html/ClickableElement2Test.java +++ b/src/test/java/org/htmlunit/html/ClickableElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/ClickableElementTest.java b/src/test/java/org/htmlunit/html/ClickableElementTest.java index b88d905e90b..21c9f527757 100644 --- a/src/test/java/org/htmlunit/html/ClickableElementTest.java +++ b/src/test/java/org/htmlunit/html/ClickableElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DefaultElementFactoryTest.java b/src/test/java/org/htmlunit/html/DefaultElementFactoryTest.java index 38d399cf599..8bad9832d3f 100644 --- a/src/test/java/org/htmlunit/html/DefaultElementFactoryTest.java +++ b/src/test/java/org/htmlunit/html/DefaultElementFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DisabledElementTest.java b/src/test/java/org/htmlunit/html/DisabledElementTest.java index 20090b363a4..07541895ec3 100644 --- a/src/test/java/org/htmlunit/html/DisabledElementTest.java +++ b/src/test/java/org/htmlunit/html/DisabledElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomAttrTest.java b/src/test/java/org/htmlunit/html/DomAttrTest.java index 07c22656a8b..f202b2ab32b 100644 --- a/src/test/java/org/htmlunit/html/DomAttrTest.java +++ b/src/test/java/org/htmlunit/html/DomAttrTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomCommentTest.java b/src/test/java/org/htmlunit/html/DomCommentTest.java index 761fc001a5a..75c1165375b 100644 --- a/src/test/java/org/htmlunit/html/DomCommentTest.java +++ b/src/test/java/org/htmlunit/html/DomCommentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java b/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java index 7e6aa887f6b..e5050d5f60e 100644 --- a/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java +++ b/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomElement2Test.java b/src/test/java/org/htmlunit/html/DomElement2Test.java index f67d317ef43..05974e38e32 100644 --- a/src/test/java/org/htmlunit/html/DomElement2Test.java +++ b/src/test/java/org/htmlunit/html/DomElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomElementTest.java b/src/test/java/org/htmlunit/html/DomElementTest.java index 7798c381ac3..cd08989eb0a 100644 --- a/src/test/java/org/htmlunit/html/DomElementTest.java +++ b/src/test/java/org/htmlunit/html/DomElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNamespaceNodeTest.java b/src/test/java/org/htmlunit/html/DomNamespaceNodeTest.java index 70203f55349..8d8f6a9bc32 100644 --- a/src/test/java/org/htmlunit/html/DomNamespaceNodeTest.java +++ b/src/test/java/org/htmlunit/html/DomNamespaceNodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index e6995c288d7..f8adf3303b6 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNodeIterator2Test.java b/src/test/java/org/htmlunit/html/DomNodeIterator2Test.java index 0ac89d7eba1..887b94f741b 100644 --- a/src/test/java/org/htmlunit/html/DomNodeIterator2Test.java +++ b/src/test/java/org/htmlunit/html/DomNodeIterator2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java b/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java index fc5dc957322..379789a166a 100644 --- a/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java +++ b/src/test/java/org/htmlunit/html/DomNodeIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNodeListTest.java b/src/test/java/org/htmlunit/html/DomNodeListTest.java index 0721b58b617..4cc71b42306 100644 --- a/src/test/java/org/htmlunit/html/DomNodeListTest.java +++ b/src/test/java/org/htmlunit/html/DomNodeListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomNodeTest.java b/src/test/java/org/htmlunit/html/DomNodeTest.java index b01d3340ad2..c4d83cb9e8d 100644 --- a/src/test/java/org/htmlunit/html/DomNodeTest.java +++ b/src/test/java/org/htmlunit/html/DomNodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/DomTextTest.java b/src/test/java/org/htmlunit/html/DomTextTest.java index 25f32ca9cbd..98c6ea9c94d 100644 --- a/src/test/java/org/htmlunit/html/DomTextTest.java +++ b/src/test/java/org/htmlunit/html/DomTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/FocusableElement2Test.java b/src/test/java/org/htmlunit/html/FocusableElement2Test.java index d00979454bd..e89ec6b7883 100644 --- a/src/test/java/org/htmlunit/html/FocusableElement2Test.java +++ b/src/test/java/org/htmlunit/html/FocusableElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/FocusableElementTest.java b/src/test/java/org/htmlunit/html/FocusableElementTest.java index 2157f64cc3a..fa2eb4a9028 100644 --- a/src/test/java/org/htmlunit/html/FocusableElementTest.java +++ b/src/test/java/org/htmlunit/html/FocusableElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java b/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java index 582c0d787e4..2d59a3aa980 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java index 0d9a5b3624b..f786c9f6ce8 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlArea2Test.java b/src/test/java/org/htmlunit/html/HtmlArea2Test.java index ef831423fca..6638a474ccd 100644 --- a/src/test/java/org/htmlunit/html/HtmlArea2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlArea2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlAreaTest.java b/src/test/java/org/htmlunit/html/HtmlAreaTest.java index 226c1bd77f3..4938fe05a63 100644 --- a/src/test/java/org/htmlunit/html/HtmlAreaTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAreaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlAttrTest.java b/src/test/java/org/htmlunit/html/HtmlAttrTest.java index 181433f254f..a25e61dfb15 100644 --- a/src/test/java/org/htmlunit/html/HtmlAttrTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAttrTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java b/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java index 73c0e6595d0..a5953fb7f74 100644 --- a/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java b/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java index 144353ef848..67f68d886ee 100644 --- a/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlBaseTest.java b/src/test/java/org/htmlunit/html/HtmlBaseTest.java index af1aaa4344a..4921e957ee5 100644 --- a/src/test/java/org/htmlunit/html/HtmlBaseTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlBodyTest.java b/src/test/java/org/htmlunit/html/HtmlBodyTest.java index 6de0d4f4d94..8c7d977d658 100644 --- a/src/test/java/org/htmlunit/html/HtmlBodyTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBodyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlBreakTest.java b/src/test/java/org/htmlunit/html/HtmlBreakTest.java index 0389f07d853..9339cd4d261 100644 --- a/src/test/java/org/htmlunit/html/HtmlBreakTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBreakTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlButton2Test.java b/src/test/java/org/htmlunit/html/HtmlButton2Test.java index 6d1f4f197cd..0323c0ba96a 100644 --- a/src/test/java/org/htmlunit/html/HtmlButton2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlButton2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java b/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java index 66840bb896a..9783deb3d6b 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java b/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java index edec0699a23..4a5b4e982cf 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlButtonTest.java b/src/test/java/org/htmlunit/html/HtmlButtonTest.java index b500ea38bec..5f124a8d59b 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonTest.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlCanvasTest.java b/src/test/java/org/htmlunit/html/HtmlCanvasTest.java index c6fcf75a239..7129356d6a6 100644 --- a/src/test/java/org/htmlunit/html/HtmlCanvasTest.java +++ b/src/test/java/org/htmlunit/html/HtmlCanvasTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlCaptionTest.java b/src/test/java/org/htmlunit/html/HtmlCaptionTest.java index 17de5f3d082..37988eb1de6 100644 --- a/src/test/java/org/htmlunit/html/HtmlCaptionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlCaptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java index 27f1c48e536..d7df1d3aa0d 100644 --- a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlCheckBoxInputTest.java b/src/test/java/org/htmlunit/html/HtmlCheckBoxInputTest.java index 200ac73d167..e41bd747162 100644 --- a/src/test/java/org/htmlunit/html/HtmlCheckBoxInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlCheckBoxInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java b/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java index 02445e09229..fe44d154565 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java index 02466b7d8b0..161b0726ddb 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDateInput2Test.java b/src/test/java/org/htmlunit/html/HtmlDateInput2Test.java index 6dcd3f1acb2..b8a51487d84 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlDateInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java index 017ee4ffb68..c01cc124c16 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java index 7ecd3da4f6e..630b5ebc8e3 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java index fa7110d191d..9f42f954aea 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDefinitionDescriptionTest.java b/src/test/java/org/htmlunit/html/HtmlDefinitionDescriptionTest.java index 1cd35f06838..63f02e54e0f 100644 --- a/src/test/java/org/htmlunit/html/HtmlDefinitionDescriptionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDefinitionDescriptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java b/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java index 76332ef256a..f71b647974a 100644 --- a/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java b/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java index a6bc8c49d03..41003d509d0 100644 --- a/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDivision2Test.java b/src/test/java/org/htmlunit/html/HtmlDivision2Test.java index 5b74390f1d7..0aa770b8bfb 100644 --- a/src/test/java/org/htmlunit/html/HtmlDivision2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlDivision2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlDivisionTest.java b/src/test/java/org/htmlunit/html/HtmlDivisionTest.java index 38add9f8ba0..838c9898fa8 100644 --- a/src/test/java/org/htmlunit/html/HtmlDivisionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDivisionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlElement2Test.java b/src/test/java/org/htmlunit/html/HtmlElement2Test.java index f86c586a5fc..3802ad48c21 100644 --- a/src/test/java/org/htmlunit/html/HtmlElement2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlElementTest.java b/src/test/java/org/htmlunit/html/HtmlElementTest.java index 4b0ab27cac8..2d256365e42 100644 --- a/src/test/java/org/htmlunit/html/HtmlElementTest.java +++ b/src/test/java/org/htmlunit/html/HtmlElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java b/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java index 55a4146d1f0..844b2ba64fb 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java index f001532b183..aed9958423c 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlEmbedTest.java b/src/test/java/org/htmlunit/html/HtmlEmbedTest.java index 07499af22c0..fd9e7caaf44 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmbedTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmbedTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java index c64d08656fa..684fa07b02e 100644 --- a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java b/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java index 101b32250dd..5417af95412 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java b/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java index 33f482d701e..70161324a4a 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java index c7dd6d29144..5e2944083e6 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFontTest.java b/src/test/java/org/htmlunit/html/HtmlFontTest.java index 42175f96542..528f93ffc26 100644 --- a/src/test/java/org/htmlunit/html/HtmlFontTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFontTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index a71b53b1e49..852798025be 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFormTest.java b/src/test/java/org/htmlunit/html/HtmlFormTest.java index a754fa303a0..4b3d707eae9 100644 --- a/src/test/java/org/htmlunit/html/HtmlFormTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFormTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlFrame2Test.java index cd2a9a76b09..f279c9d647f 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFrame2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java b/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java index 5fa2da8f657..2b4c8924be8 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlFrameTest.java b/src/test/java/org/htmlunit/html/HtmlFrameTest.java index 41a3ea9eaf9..1fd3b7070f8 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrameTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFrameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHeadTest.java b/src/test/java/org/htmlunit/html/HtmlHeadTest.java index 74345b74f66..b585ede1932 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeadTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHeadTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java index ac46f992ddf..098668d6aea 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHeadingTest.java b/src/test/java/org/htmlunit/html/HtmlHeadingTest.java index 7460a935586..ad93b697d58 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeadingTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHeadingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHiddenInput2Test.java b/src/test/java/org/htmlunit/html/HtmlHiddenInput2Test.java index 009193690d0..5f2ae43cfb6 100644 --- a/src/test/java/org/htmlunit/html/HtmlHiddenInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlHiddenInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java b/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java index cfaf1070b1e..1912f60f464 100644 --- a/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java b/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java index 62d5568d319..f229ff56fd8 100644 --- a/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlHtmlTest.java b/src/test/java/org/htmlunit/html/HtmlHtmlTest.java index 99388f21a8a..152e1b7f657 100644 --- a/src/test/java/org/htmlunit/html/HtmlHtmlTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHtmlTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlImage2Test.java b/src/test/java/org/htmlunit/html/HtmlImage2Test.java index 538b9fb6f61..ad7a8e84c54 100644 --- a/src/test/java/org/htmlunit/html/HtmlImage2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlImage2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlImageDownloadTest.java b/src/test/java/org/htmlunit/html/HtmlImageDownloadTest.java index 7a9b8ba04a4..da50e5c8555 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageDownloadTest.java +++ b/src/test/java/org/htmlunit/html/HtmlImageDownloadTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java b/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java index 94f21c839e2..0023a0ef021 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlImageInputTest.java b/src/test/java/org/htmlunit/html/HtmlImageInputTest.java index abb62b09bbd..e6d1b556242 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlImageInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlImageTest.java b/src/test/java/org/htmlunit/html/HtmlImageTest.java index dab77ef5f0d..591df83c678 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageTest.java +++ b/src/test/java/org/htmlunit/html/HtmlImageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java index 1ccccba6744..b7e0bb9f156 100644 --- a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInlineFrameTest.java b/src/test/java/org/htmlunit/html/HtmlInlineFrameTest.java index f4308e3e44e..6986f8af8c2 100644 --- a/src/test/java/org/htmlunit/html/HtmlInlineFrameTest.java +++ b/src/test/java/org/htmlunit/html/HtmlInlineFrameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index 1e1a74c104e..4a57679d211 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInput3Test.java b/src/test/java/org/htmlunit/html/HtmlInput3Test.java index aceb80fec8b..04626fcbff2 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInputTest.java b/src/test/java/org/htmlunit/html/HtmlInputTest.java index cb6575e1fae..7a82694aca5 100644 --- a/src/test/java/org/htmlunit/html/HtmlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java b/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java index cb84bf182a2..88dea6e1b09 100644 --- a/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java +++ b/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java b/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java index 770e6ae89c7..28ce752fb7c 100644 --- a/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlItalicTest.java b/src/test/java/org/htmlunit/html/HtmlItalicTest.java index f8c007d8c03..0f54e56bd95 100644 --- a/src/test/java/org/htmlunit/html/HtmlItalicTest.java +++ b/src/test/java/org/htmlunit/html/HtmlItalicTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlLabel2Test.java b/src/test/java/org/htmlunit/html/HtmlLabel2Test.java index e3a29aa8c84..07bf6150eb5 100644 --- a/src/test/java/org/htmlunit/html/HtmlLabel2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlLabel2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlLabelTest.java b/src/test/java/org/htmlunit/html/HtmlLabelTest.java index db09d2b9101..4937c39b74e 100644 --- a/src/test/java/org/htmlunit/html/HtmlLabelTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLabelTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlLegendTest.java b/src/test/java/org/htmlunit/html/HtmlLegendTest.java index 0707d4a85f9..62c8110f146 100644 --- a/src/test/java/org/htmlunit/html/HtmlLegendTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLegendTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlLink2Test.java b/src/test/java/org/htmlunit/html/HtmlLink2Test.java index b4f75b8d4d8..08d16edb381 100644 --- a/src/test/java/org/htmlunit/html/HtmlLink2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlLink2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlLinkTest.java b/src/test/java/org/htmlunit/html/HtmlLinkTest.java index 1f093ed1237..87410d347bf 100644 --- a/src/test/java/org/htmlunit/html/HtmlLinkTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLinkTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlListItemTest.java b/src/test/java/org/htmlunit/html/HtmlListItemTest.java index 46bd57ee376..01e42efdc67 100644 --- a/src/test/java/org/htmlunit/html/HtmlListItemTest.java +++ b/src/test/java/org/htmlunit/html/HtmlListItemTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlMapTest.java b/src/test/java/org/htmlunit/html/HtmlMapTest.java index a9312cdbede..ce6530ca6cc 100644 --- a/src/test/java/org/htmlunit/html/HtmlMapTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlMenuTest.java b/src/test/java/org/htmlunit/html/HtmlMenuTest.java index 09b2f5d368d..cd7e834d893 100644 --- a/src/test/java/org/htmlunit/html/HtmlMenuTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMenuTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlMetaTest.java b/src/test/java/org/htmlunit/html/HtmlMetaTest.java index 254b29a130b..b084b1e310b 100644 --- a/src/test/java/org/htmlunit/html/HtmlMetaTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMetaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlModificationTest.java b/src/test/java/org/htmlunit/html/HtmlModificationTest.java index c9f1466592c..6ced588d148 100644 --- a/src/test/java/org/htmlunit/html/HtmlModificationTest.java +++ b/src/test/java/org/htmlunit/html/HtmlModificationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java b/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java index 10f8fedab3e..b2b3f89f5f8 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index a58dacc84bc..a0e7d401193 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java b/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java index d34cd15805f..f4c12a26b89 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNoFramesTest.java b/src/test/java/org/htmlunit/html/HtmlNoFramesTest.java index c0ee481703b..15bb3e84c74 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoFramesTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNoFramesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java b/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java index 9b557174711..e99f48ac6c9 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java b/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java index 1c51d8abeb3..95f6184edfd 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java b/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java index abf9a3fe7b0..9d0f32b1e4c 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java index e3bb13833ff..54f81f9ce44 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlObject2Test.java b/src/test/java/org/htmlunit/html/HtmlObject2Test.java index 147f0ea084f..f4e7e6923c9 100644 --- a/src/test/java/org/htmlunit/html/HtmlObject2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlObject2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlObjectTest.java b/src/test/java/org/htmlunit/html/HtmlObjectTest.java index 314446eb873..09b463ee397 100644 --- a/src/test/java/org/htmlunit/html/HtmlObjectTest.java +++ b/src/test/java/org/htmlunit/html/HtmlObjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOption2Test.java b/src/test/java/org/htmlunit/html/HtmlOption2Test.java index e9f7d667841..7f4880df13e 100644 --- a/src/test/java/org/htmlunit/html/HtmlOption2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOption2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java b/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java index 332080a1557..421ff530ceb 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java b/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java index 709020c5d60..428468f12a0 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOptionTest.java b/src/test/java/org/htmlunit/html/HtmlOptionTest.java index f10eda7b145..c0444128026 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java b/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java index 1836347231c..80092c7ef47 100644 --- a/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOrderedListTest.java b/src/test/java/org/htmlunit/html/HtmlOrderedListTest.java index 1d5011be9ef..7b6f7c3cb78 100644 --- a/src/test/java/org/htmlunit/html/HtmlOrderedListTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOrderedListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlOutputTest.java b/src/test/java/org/htmlunit/html/HtmlOutputTest.java index 7cdddaa7ef1..84156b05ebc 100644 --- a/src/test/java/org/htmlunit/html/HtmlOutputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOutputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPage2Test.java b/src/test/java/org/htmlunit/html/HtmlPage2Test.java index 2d4cb3180f2..929497c52c2 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPage3Test.java b/src/test/java/org/htmlunit/html/HtmlPage3Test.java index 4db522059d7..82e3ac28cf1 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPage4Test.java b/src/test/java/org/htmlunit/html/HtmlPage4Test.java index 5646df96241..1803ea5b17b 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage4Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPageTest.java b/src/test/java/org/htmlunit/html/HtmlPageTest.java index 3b595f4be63..224a5bfed72 100644 --- a/src/test/java/org/htmlunit/html/HtmlPageTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPageTest5.java b/src/test/java/org/htmlunit/html/HtmlPageTest5.java index 6e8ef8b7dd4..d897b484381 100644 --- a/src/test/java/org/htmlunit/html/HtmlPageTest5.java +++ b/src/test/java/org/htmlunit/html/HtmlPageTest5.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlParagraphTest.java b/src/test/java/org/htmlunit/html/HtmlParagraphTest.java index 9a453a88ab2..4452d79c384 100644 --- a/src/test/java/org/htmlunit/html/HtmlParagraphTest.java +++ b/src/test/java/org/htmlunit/html/HtmlParagraphTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlParameterTest.java b/src/test/java/org/htmlunit/html/HtmlParameterTest.java index 86f393ac434..6c0a2c85592 100644 --- a/src/test/java/org/htmlunit/html/HtmlParameterTest.java +++ b/src/test/java/org/htmlunit/html/HtmlParameterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java b/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java index bd53a1a3ab8..9c4a016a5b4 100644 --- a/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java index 5947faaa4f2..a87f1e5622b 100644 --- a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPreformattedText2Test.java b/src/test/java/org/htmlunit/html/HtmlPreformattedText2Test.java index 145ab5b1e54..0d82ce824cb 100644 --- a/src/test/java/org/htmlunit/html/HtmlPreformattedText2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPreformattedText2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java b/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java index 6d10d8277e3..c030769b28c 100644 --- a/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlProgressTest.java b/src/test/java/org/htmlunit/html/HtmlProgressTest.java index 50d75e66e7f..4bddc52e48e 100644 --- a/src/test/java/org/htmlunit/html/HtmlProgressTest.java +++ b/src/test/java/org/htmlunit/html/HtmlProgressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlQuoteTest.java b/src/test/java/org/htmlunit/html/HtmlQuoteTest.java index e2545b4d626..801ed193bf9 100644 --- a/src/test/java/org/htmlunit/html/HtmlQuoteTest.java +++ b/src/test/java/org/htmlunit/html/HtmlQuoteTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java index 8271e704fb0..0e01a109f30 100644 --- a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java b/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java index 63724f4dd8a..d0e83034434 100644 --- a/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRangeInput2Test.java b/src/test/java/org/htmlunit/html/HtmlRangeInput2Test.java index 7850d23d808..149ef45e4b6 100644 --- a/src/test/java/org/htmlunit/html/HtmlRangeInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlRangeInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java index fde58ed9b60..2144753060d 100644 --- a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRbTest.java b/src/test/java/org/htmlunit/html/HtmlRbTest.java index 1d175c12a83..e0063b4a0e0 100644 --- a/src/test/java/org/htmlunit/html/HtmlRbTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRbTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java index 032601a404c..2b50168eb15 100644 --- a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlResetInputTest.java b/src/test/java/org/htmlunit/html/HtmlResetInputTest.java index aaace6e512d..21a003ca3e8 100644 --- a/src/test/java/org/htmlunit/html/HtmlResetInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlResetInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRpTest.java b/src/test/java/org/htmlunit/html/HtmlRpTest.java index 92151dc8655..f2975977288 100644 --- a/src/test/java/org/htmlunit/html/HtmlRpTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRpTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRtTest.java b/src/test/java/org/htmlunit/html/HtmlRtTest.java index 903b7ed8f1b..02a37ca9035 100644 --- a/src/test/java/org/htmlunit/html/HtmlRtTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRtTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlRtcTest.java b/src/test/java/org/htmlunit/html/HtmlRtcTest.java index 420c131b993..f6afc8bd9a3 100644 --- a/src/test/java/org/htmlunit/html/HtmlRtcTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRtcTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index 21d1fd8c484..9b5db8db5a5 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlScriptTest.java b/src/test/java/org/htmlunit/html/HtmlScriptTest.java index 0af1a8d983a..4c5f464269c 100644 --- a/src/test/java/org/htmlunit/html/HtmlScriptTest.java +++ b/src/test/java/org/htmlunit/html/HtmlScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java b/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java index f7345fd6280..81dd046ac9e 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java index cb42e122ae2..7907fb13231 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSelect2Test.java b/src/test/java/org/htmlunit/html/HtmlSelect2Test.java index e55be854907..5f62f8c07e7 100644 --- a/src/test/java/org/htmlunit/html/HtmlSelect2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSelect2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSelectTest.java b/src/test/java/org/htmlunit/html/HtmlSelectTest.java index 243d690e2e5..96f520a02bf 100644 --- a/src/test/java/org/htmlunit/html/HtmlSelectTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSelectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSlotTest.java b/src/test/java/org/htmlunit/html/HtmlSlotTest.java index 272db949db5..8618b7436b9 100644 --- a/src/test/java/org/htmlunit/html/HtmlSlotTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSlotTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSpan2Test.java b/src/test/java/org/htmlunit/html/HtmlSpan2Test.java index 2e647ea6eba..878f5b90ccc 100644 --- a/src/test/java/org/htmlunit/html/HtmlSpan2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSpan2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSpanTest.java b/src/test/java/org/htmlunit/html/HtmlSpanTest.java index 9ae1546edd4..0047e53eb61 100644 --- a/src/test/java/org/htmlunit/html/HtmlSpanTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSpanTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlStyle2Test.java b/src/test/java/org/htmlunit/html/HtmlStyle2Test.java index b154b821fd4..ee4f2a09337 100644 --- a/src/test/java/org/htmlunit/html/HtmlStyle2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlStyle2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlStyleTest.java b/src/test/java/org/htmlunit/html/HtmlStyleTest.java index cde7eb9964f..945e4f7dc48 100644 --- a/src/test/java/org/htmlunit/html/HtmlStyleTest.java +++ b/src/test/java/org/htmlunit/html/HtmlStyleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java b/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java index 9eb915f8c7e..a38baff8460 100644 --- a/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java b/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java index 17cb5608476..5abac0b4d8e 100644 --- a/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlSvgTest.java b/src/test/java/org/htmlunit/html/HtmlSvgTest.java index d62b1989aa5..b0b18a2a821 100644 --- a/src/test/java/org/htmlunit/html/HtmlSvgTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSvgTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTable2Test.java b/src/test/java/org/htmlunit/html/HtmlTable2Test.java index c8cf48447af..55481511d27 100644 --- a/src/test/java/org/htmlunit/html/HtmlTable2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTable2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableCellTest.java b/src/test/java/org/htmlunit/html/HtmlTableCellTest.java index 16e2601ecaf..87ae90835d8 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableCellTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableCellTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java b/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java index 5865379d3c6..409f79ce7c7 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableRowTest.java b/src/test/java/org/htmlunit/html/HtmlTableRowTest.java index 17b6b843b1f..c433e39b4be 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableRowTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableRowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java b/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java index e727b902ce6..f6a69d0cb8f 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableSectionTest.java b/src/test/java/org/htmlunit/html/HtmlTableSectionTest.java index 6e2dd9f17e7..0e386581110 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableSectionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableSectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTableTest.java b/src/test/java/org/htmlunit/html/HtmlTableTest.java index d782d358939..bd102f23144 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java b/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java index d3bb211e348..05a2c4a9c3c 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java index 1d5ef158718..cf3e1a52ba8 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTemplate2Test.java b/src/test/java/org/htmlunit/html/HtmlTemplate2Test.java index caafde8cfa8..e24fa80388f 100644 --- a/src/test/java/org/htmlunit/html/HtmlTemplate2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTemplate2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTemplateTest.java b/src/test/java/org/htmlunit/html/HtmlTemplateTest.java index 2e48f98ab26..9db88a5595d 100644 --- a/src/test/java/org/htmlunit/html/HtmlTemplateTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTemplateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java b/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java index 9244fb480be..4fc0a701c8c 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTextAreaTest.java b/src/test/java/org/htmlunit/html/HtmlTextAreaTest.java index df54afd1dae..900b032c712 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextAreaTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTextAreaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java b/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java index 6b010364c71..03d41d31aa5 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java index 1a7a9ac1c77..aebfae21a52 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInput2Test.java b/src/test/java/org/htmlunit/html/HtmlTimeInput2Test.java index 1343e3c848d..854cf113e76 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java index b4dd962219f..4f3d5b401f5 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTitle2Test.java b/src/test/java/org/htmlunit/html/HtmlTitle2Test.java index aa5f4f69d91..147bc3b682d 100644 --- a/src/test/java/org/htmlunit/html/HtmlTitle2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTitle2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlTitleTest.java b/src/test/java/org/htmlunit/html/HtmlTitleTest.java index 1797172f819..701ee167399 100644 --- a/src/test/java/org/htmlunit/html/HtmlTitleTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTitleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java b/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java index 5c6685c5843..b07af17a843 100644 --- a/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlUnorderedList2Test.java b/src/test/java/org/htmlunit/html/HtmlUnorderedList2Test.java index 7439a36b3dd..447879cc168 100644 --- a/src/test/java/org/htmlunit/html/HtmlUnorderedList2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlUnorderedList2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java b/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java index e8cae9f970d..42bc2d78453 100644 --- a/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java index 40debc78288..95bd94f7112 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index f1356b60e05..f4fcf86404c 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java b/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java index 90b10ed8309..1bb0770989c 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java index 58c7f18fed5..ac54144d6a4 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java b/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java index d30e5b1be13..aba1e474a5f 100644 --- a/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java b/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java index 729aa44ef68..1bc51c7843e 100644 --- a/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java +++ b/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java b/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java index 20cead17014..a75d66f16e2 100644 --- a/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java +++ b/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/LoggingRefreshHandler.java b/src/test/java/org/htmlunit/html/LoggingRefreshHandler.java index a274c629b1f..96a90a62507 100644 --- a/src/test/java/org/htmlunit/html/LoggingRefreshHandler.java +++ b/src/test/java/org/htmlunit/html/LoggingRefreshHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/NamedAttrNodeMapImplTest.java b/src/test/java/org/htmlunit/html/NamedAttrNodeMapImplTest.java index 62ce5c4f976..9b767a8aa2f 100644 --- a/src/test/java/org/htmlunit/html/NamedAttrNodeMapImplTest.java +++ b/src/test/java/org/htmlunit/html/NamedAttrNodeMapImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java index f047683ba39..3b077e22426 100644 --- a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java +++ b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/XHtmlPageTest.java b/src/test/java/org/htmlunit/html/XHtmlPageTest.java index 2cb84be0173..1c3bcaa73f9 100644 --- a/src/test/java/org/htmlunit/html/XHtmlPageTest.java +++ b/src/test/java/org/htmlunit/html/XHtmlPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/XmlSerializerTest.java b/src/test/java/org/htmlunit/html/XmlSerializerTest.java index 6cd0a4a3cf7..beaebdb12c4 100644 --- a/src/test/java/org/htmlunit/html/XmlSerializerTest.java +++ b/src/test/java/org/htmlunit/html/XmlSerializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/impl/SimpleRangeTest.java b/src/test/java/org/htmlunit/html/impl/SimpleRangeTest.java index 703e443c7c6..575c1bc35d6 100644 --- a/src/test/java/org/htmlunit/html/impl/SimpleRangeTest.java +++ b/src/test/java/org/htmlunit/html/impl/SimpleRangeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java index e4dd24352d7..1dfce08c327 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser3Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser3Test.java index 15461a76ce6..24d4d140051 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser3Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java index 83e73e4de48..d6111d66828 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java index 5bb2cfdc7f7..031f417c852 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java index 0a2492e3fc2..fa7125f7332 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParserListenerTest.java b/src/test/java/org/htmlunit/html/parser/HTMLParserListenerTest.java index 016c4e42fd2..1f12111ae7d 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParserListenerTest.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParserListenerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParserTest.java b/src/test/java/org/htmlunit/html/parser/HTMLParserTest.java index 57dcd694f22..975e3dc9695 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParserTest.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParserTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtml2Test.java b/src/test/java/org/htmlunit/html/parser/MalformedHtml2Test.java index 7f487dc2433..f201c55abe4 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtml2Test.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtml2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java index 1066b9e3748..58b6a07769e 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/performance/HugePagePerformanceTest.java b/src/test/java/org/htmlunit/html/performance/HugePagePerformanceTest.java index af3c45146fb..2a3e50dcca4 100644 --- a/src/test/java/org/htmlunit/html/performance/HugePagePerformanceTest.java +++ b/src/test/java/org/htmlunit/html/performance/HugePagePerformanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java index 5b5e50bf432..49596687e19 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java index 6c7a8f6d9c0..e56f194051c 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedTextTest.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedTextTest.java index baef7176457..45a5e045d91 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedTextTest.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java index e28883bbaae..7aab1dc7367 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleTextTest.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleTextTest.java index 730e4eceec1..572d0b8f5fd 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleTextTest.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index 1d77d8808ad..5e7b5b4beb6 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPathTest.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPathTest.java index 8179be8405c..2cc526cd0c3 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPathTest.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPathTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/http/HttpUtilsTest.java b/src/test/java/org/htmlunit/http/HttpUtilsTest.java index 8398645ddb9..bbf6cfbfe7f 100644 --- a/src/test/java/org/htmlunit/http/HttpUtilsTest.java +++ b/src/test/java/org/htmlunit/http/HttpUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/httpclient/HtmlUnitCookieStoreTest.java b/src/test/java/org/htmlunit/httpclient/HtmlUnitCookieStoreTest.java index db2020f91d4..c37ecac9c41 100644 --- a/src/test/java/org/htmlunit/httpclient/HtmlUnitCookieStoreTest.java +++ b/src/test/java/org/htmlunit/httpclient/HtmlUnitCookieStoreTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/httpclient/HttpClientTest.java b/src/test/java/org/htmlunit/httpclient/HttpClientTest.java index cafbf943022..5adff391cc5 100644 --- a/src/test/java/org/htmlunit/httpclient/HttpClientTest.java +++ b/src/test/java/org/htmlunit/httpclient/HttpClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/ArgumentsTest.java b/src/test/java/org/htmlunit/javascript/ArgumentsTest.java index 6a532e31935..18793e6cfef 100644 --- a/src/test/java/org/htmlunit/javascript/ArgumentsTest.java +++ b/src/test/java/org/htmlunit/javascript/ArgumentsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/AttributeCaseTest.java b/src/test/java/org/htmlunit/javascript/AttributeCaseTest.java index 4df8a3a2dc6..d74339b3cfd 100644 --- a/src/test/java/org/htmlunit/javascript/AttributeCaseTest.java +++ b/src/test/java/org/htmlunit/javascript/AttributeCaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/DebugFrameImplTest.java b/src/test/java/org/htmlunit/javascript/DebugFrameImplTest.java index 2df6207c318..51a5f86b5a5 100644 --- a/src/test/java/org/htmlunit/javascript/DebugFrameImplTest.java +++ b/src/test/java/org/htmlunit/javascript/DebugFrameImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java b/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java index aa50585cf38..f260b803b2f 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/FunctionsTest.java b/src/test/java/org/htmlunit/javascript/FunctionsTest.java index 113c89c762b..a6050f92a79 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java b/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java index ec7a59e31cc..cc5311f897e 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java b/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java index 72d766588aa..c89e2c63859 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java b/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java index ede63068c70..f7d524f8ed1 100644 --- a/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitContextFactoryTest.java b/src/test/java/org/htmlunit/javascript/HtmlUnitContextFactoryTest.java index 6a41f84af1c..fd1a3c0439e 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitContextFactoryTest.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitContextFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java index 7a12dba6129..3150df7c2a3 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java index c35f9ac14f6..3e6b37b9372 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java b/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java index c9d7fa9cee1..b2da952f84f 100644 --- a/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java +++ b/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/IEWeirdSyntaxTest.java b/src/test/java/org/htmlunit/javascript/IEWeirdSyntaxTest.java index 2d614e44a0c..ad689e04b2d 100644 --- a/src/test/java/org/htmlunit/javascript/IEWeirdSyntaxTest.java +++ b/src/test/java/org/htmlunit/javascript/IEWeirdSyntaxTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/IteratorTest.java b/src/test/java/org/htmlunit/javascript/IteratorTest.java index ca557c5c9ae..00c92bff6da 100644 --- a/src/test/java/org/htmlunit/javascript/IteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/IteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 58ded674ef7..6da8ed135c3 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java index 5ea46cfc807..45615879730 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/JavascriptErrorListener2Test.java b/src/test/java/org/htmlunit/javascript/JavascriptErrorListener2Test.java index 662b792ec2c..c107f65fa95 100644 --- a/src/test/java/org/htmlunit/javascript/JavascriptErrorListener2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavascriptErrorListener2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/JavascriptErrorListenerTest.java b/src/test/java/org/htmlunit/javascript/JavascriptErrorListenerTest.java index 418621d0c04..1e27cb09188 100644 --- a/src/test/java/org/htmlunit/javascript/JavascriptErrorListenerTest.java +++ b/src/test/java/org/htmlunit/javascript/JavascriptErrorListenerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeArrayTest.java b/src/test/java/org/htmlunit/javascript/NativeArrayTest.java index c0cb8879e67..68254f82dab 100644 --- a/src/test/java/org/htmlunit/javascript/NativeArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java index fd0290b24db..4143dc1f1bf 100644 --- a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java +++ b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeDateTest.java b/src/test/java/org/htmlunit/javascript/NativeDateTest.java index cab218760c9..9c64a38d77b 100644 --- a/src/test/java/org/htmlunit/javascript/NativeDateTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeDateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java index cc9e81746df..199d0e14236 100644 --- a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java index a830b285464..24613764643 100644 --- a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java b/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java index 9ab5b11d501..379bfa1eb50 100644 --- a/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java index c9a5b4debac..a4cd91edf04 100644 --- a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeMapTest.java b/src/test/java/org/htmlunit/javascript/NativeMapTest.java index 8685d2e8455..041b2517656 100644 --- a/src/test/java/org/htmlunit/javascript/NativeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java index 91cc84f6c4f..a45f86426e1 100644 --- a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java index 412865af91d..314db3efd51 100644 --- a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java b/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java index 5392b99f5bc..4c86b45507b 100644 --- a/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeStringTest.java b/src/test/java/org/htmlunit/javascript/NativeStringTest.java index d368544f2df..78e7d4caa48 100644 --- a/src/test/java/org/htmlunit/javascript/NativeStringTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeStringTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java b/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java index e9ab87f64c6..4e601057204 100644 --- a/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/PostponedActionTest.java b/src/test/java/org/htmlunit/javascript/PostponedActionTest.java index 083acf237b8..5310e522cdc 100644 --- a/src/test/java/org/htmlunit/javascript/PostponedActionTest.java +++ b/src/test/java/org/htmlunit/javascript/PostponedActionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/RhinoTest.java b/src/test/java/org/htmlunit/javascript/RhinoTest.java index 97ab621f187..d734871bba1 100644 --- a/src/test/java/org/htmlunit/javascript/RhinoTest.java +++ b/src/test/java/org/htmlunit/javascript/RhinoTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java b/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java index 892a82737e4..10f7c5a2910 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java index c45b843dc30..6ec3be85590 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/ThreadTest.java b/src/test/java/org/htmlunit/javascript/ThreadTest.java index 4a9404ea558..3826469e46d 100644 --- a/src/test/java/org/htmlunit/javascript/ThreadTest.java +++ b/src/test/java/org/htmlunit/javascript/ThreadTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerMinimalTest.java b/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerMinimalTest.java index bae255b8a84..d8699cf09a5 100644 --- a/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerMinimalTest.java +++ b/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerMinimalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerTest.java b/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerTest.java index 8ff11334468..96b5a9c6526 100644 --- a/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerTest.java +++ b/src/test/java/org/htmlunit/javascript/background/JavaScriptJobManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/background/MemoryLeakTest.java b/src/test/java/org/htmlunit/javascript/background/MemoryLeakTest.java index 2d7c0329b5a..738d7b8d491 100644 --- a/src/test/java/org/htmlunit/javascript/background/MemoryLeakTest.java +++ b/src/test/java/org/htmlunit/javascript/background/MemoryLeakTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/configuration/ClassConfigurationTest.java b/src/test/java/org/htmlunit/javascript/configuration/ClassConfigurationTest.java index 89db9de2330..c125e39fcee 100644 --- a/src/test/java/org/htmlunit/javascript/configuration/ClassConfigurationTest.java +++ b/src/test/java/org/htmlunit/javascript/configuration/ClassConfigurationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/configuration/JavaScriptConfigurationTest.java b/src/test/java/org/htmlunit/javascript/configuration/JavaScriptConfigurationTest.java index 2fb1fd227ec..7adcbb18f11 100644 --- a/src/test/java/org/htmlunit/javascript/configuration/JavaScriptConfigurationTest.java +++ b/src/test/java/org/htmlunit/javascript/configuration/JavaScriptConfigurationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java index b27f64e4824..be7e0fc9b1b 100644 --- a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java b/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java index d0cc99d39d2..6c17b747987 100644 --- a/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java index 628b36cbee3..6bd88f762fc 100644 --- a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java index 75c0b582423..988f2b2a7b6 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java index 1f5ae385754..63bd453127b 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Console2Test.java b/src/test/java/org/htmlunit/javascript/host/Console2Test.java index d47e9e36eb3..49c813b4b4e 100644 --- a/src/test/java/org/htmlunit/javascript/host/Console2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Console2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java index d6d1bfd19f1..8cea25c91f3 100644 --- a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index 576d5fd1571..a572958b911 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java index dc8a3462414..f553b3e9a90 100644 --- a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java b/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java index ffd4b1feb04..802a872f1e2 100644 --- a/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java b/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java index a6801f0f07b..df4113755d4 100644 --- a/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/History2Test.java b/src/test/java/org/htmlunit/javascript/host/History2Test.java index 93d1a11f22b..15a5535f08e 100644 --- a/src/test/java/org/htmlunit/javascript/host/History2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/History2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/HistoryTest.java b/src/test/java/org/htmlunit/javascript/host/HistoryTest.java index c0a97d043b0..0bef725e145 100644 --- a/src/test/java/org/htmlunit/javascript/host/HistoryTest.java +++ b/src/test/java/org/htmlunit/javascript/host/HistoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java b/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java index c3489ee4c40..0376edec62c 100644 --- a/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Location2Test.java b/src/test/java/org/htmlunit/javascript/host/Location2Test.java index 6f411ce6cdf..6a9c2faa23d 100644 --- a/src/test/java/org/htmlunit/javascript/host/Location2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Location2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/LocationTest.java b/src/test/java/org/htmlunit/javascript/host/LocationTest.java index 4f90516dbb2..7e3531c5d2a 100644 --- a/src/test/java/org/htmlunit/javascript/host/LocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/LocationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/MapTest.java b/src/test/java/org/htmlunit/javascript/host/MapTest.java index 20c4327c3bc..9d8a0303be2 100644 --- a/src/test/java/org/htmlunit/javascript/host/MapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java b/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java index cb62467a25b..9bfe01118ba 100644 --- a/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java b/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java index 4978218027b..49ff67777bd 100644 --- a/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java index 743e24bd5f7..a04da015134 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java b/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java index 4422b8feefe..ca4f48dfb2d 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Navigator2Test.java b/src/test/java/org/htmlunit/javascript/host/Navigator2Test.java index aa4e8b47c42..6099e88a7e3 100644 --- a/src/test/java/org/htmlunit/javascript/host/Navigator2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Navigator2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java index 25fcabeaa38..e32e450a94b 100644 --- a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java index ef7798286f9..24dcbea4d7f 100644 --- a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java index 8e25544606c..c46a978a92c 100644 --- a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/PluginTest.java b/src/test/java/org/htmlunit/javascript/host/PluginTest.java index 4e6d8e95ab9..45651ca95fc 100644 --- a/src/test/java/org/htmlunit/javascript/host/PluginTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PluginTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java index c0b819ea2e5..382d81a1955 100644 --- a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/PopupTest.java b/src/test/java/org/htmlunit/javascript/host/PopupTest.java index e529e0a1d0d..d9d23c7f95b 100644 --- a/src/test/java/org/htmlunit/javascript/host/PopupTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PopupTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/PromiseTest.java b/src/test/java/org/htmlunit/javascript/host/PromiseTest.java index 19a3c4a8010..18fe3ceaea2 100644 --- a/src/test/java/org/htmlunit/javascript/host/PromiseTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PromiseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java index 7b82377cbcf..9cd0a1d0569 100644 --- a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java index de01cd2e5ae..1b54d39f243 100644 --- a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/SetTest.java b/src/test/java/org/htmlunit/javascript/host/SetTest.java index 35b8774042f..d1d9ecaf095 100644 --- a/src/test/java/org/htmlunit/javascript/host/SetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/StorageTest.java b/src/test/java/org/htmlunit/javascript/host/StorageTest.java index 280f2ee1b48..aad2949a739 100644 --- a/src/test/java/org/htmlunit/javascript/host/StorageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/StorageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java index f1b5514bbd6..47a36f9cf14 100644 --- a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index e0d6e635251..dbadf7f76c0 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java index 595f89238c3..41fb23c82b2 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java index 40218575f79..de0304b8ae8 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/URLTest.java b/src/test/java/org/htmlunit/javascript/host/URLTest.java index 0956485ba20..69f627674b0 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java index 09ada9dbba7..a60584dc3c2 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java b/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java index 45d6ba3ce3c..9ced340dfde 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java index 00418acd72d..6e06f4e1b9b 100644 --- a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index 8bc94b0b105..a1855b32dd0 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 2d7bb53a7a4..359b4647036 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java b/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java index ed83c334158..8a86b1b411f 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WindowConcurrencyTest.java b/src/test/java/org/htmlunit/javascript/host/WindowConcurrencyTest.java index 911b94190d0..29d9ab3c6ff 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowConcurrencyTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowConcurrencyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java index 865190a7ed1..fe44421c607 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/WindowTest.java b/src/test/java/org/htmlunit/javascript/host/WindowTest.java index 8e97dd6e099..8c3e51b2e32 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java index a4b69570ae5..5b420607031 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java index 350ed1f353b..ed5570bb95c 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java index 649632239cb..bd274f424cb 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java index c74a332e028..642c1393151 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java index 957d1638746..aaf7ddc1d91 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java index f40f4fd3c78..6cec806d9ea 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java index 8e3711d4887..224367e10cf 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java index c8f566c4810..44b97c02a39 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java index 73742cd6fc9..7255f25981e 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java index fb9520f21cb..7fd4af09419 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java index eab5d8736e4..9566a4443fa 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java index 297b572073e..1ad98eb2f25 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java index fbd73f7b387..64696202015 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java index 7241ce3570d..3c399bb7c8d 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index 0bd46325e84..9ba8dd9644e 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java index 13f205956b2..f4e76f6394b 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java index 1096d748ceb..56cc12ab57b 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 2ba1b826f9b..8665d6d610f 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java index 14ed2226847..b22ba62c8d6 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java index b6c81ae22d2..24a22dd7375 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java index 76e4e9d4e06..8d723a2f594 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java index dd933a3e786..f973def88cd 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java index 407ce2b00e9..42f97e03b5b 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index 340a95180ad..5156990b1c1 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java index e880dd09a7e..ef45ee309c0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java index 56bce634d92..003ba14cec0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java index aabaf963bf1..255ee69420a 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index 5dea829c2a6..9b313656ef4 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java index 54f3385a650..357b051d73d 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java index 63c98e5cea4..42393bafa9e 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration4Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration4Test.java index ee548639f56..2da1df20122 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration4Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 4d129a26cdc..04717ec83c4 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java index 0bfd43bf4a1..ebf2d286f26 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java index 8ab8e6e9197..0f24116ea27 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java index 499a4aa9e49..abd39ea7de6 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java index a2369f9617d..21ab5d14a2b 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index 6a4e469d774..987218961a5 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java index 139bd013752..992f44b4940 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java b/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java index aacf0a94b58..6051f35cb8f 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java index 1358d0f1e10..2ba6cc383d5 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index d2765f774e0..f9f08cd66e1 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java index 928213f62c4..1706e4ead9c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java index c628aac4b60..8a0843ee825 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java index 18be685eb59..d1d83f710d3 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java index 742e89e84bb..22d373c6f3b 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 1a1d54a8825..49433a6ea78 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java index 80e0b9e7c22..69ff5e8e3bf 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java index af8ae91ba16..c4ce4bb0c0b 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java index 28ef2781228..b9d77112353 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java index d75451b8ac0..1e0abb2b5bf 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index 204551457f9..73456a410b0 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java index 701122937a8..f289426ec65 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java index bd88b35962f..3b5545ddc49 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index ce5853f4d91..dda9b8311e8 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java index 401f858be72..304b161ef20 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java index 8c2edb8014f..2218302771a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 6db32c3f3b6..5e72ac847bb 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java index 741192f736f..e7e5c66c5c1 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index 13dd95348f0..1aec3dd15e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java index 74cd6a4358d..7fa0848c010 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java index fb248531c70..288872b889d 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java index 97007f3dbd8..c8dfe307e50 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Node2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Node2Test.java index 9256ccda6c4..3b6b447e3f1 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Node2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Node2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java index fec4c8b729b..532dfaf46a4 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java index 55e1ff46a4d..2b42851457c 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java index 769b67dda23..cce6be53e1c 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index fde50f23f5c..d015daacca7 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java index 2bbe4771bec..36c8b495c86 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java index f36caa2a6f5..828d2179e60 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java index 80a6cf3702e..7b3edaa7c42 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java index d05c39582f9..3dabf45423e 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java index f7be3dbbbb0..034cd2a03cd 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java index 42535a06877..da30d01e13a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java index 0e07789a2ae..4b93b730259 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java index c2c6f14adf2..c47b2ee0f5a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java index 270b9c98a65..6ac6007c9c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java index 52cb15ffc81..17eaf301a69 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java index 6d5461fa057..50a4bd50111 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java index 5c0c6d5e557..4b98307198e 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java index 3d7f63acb8c..393b14571f0 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index 0907a53d576..f3e9379b32c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index 08d9de1531c..b29349181f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java index 932456f198d..7debe2e0218 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java index c18da184587..2fc9e195d25 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java index 6dc7d8e477f..12fe58a27ed 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java index 99e0c4453e0..e2e3234a9f9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java index bf265029cdd..cbc6f019b4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java index 63a5d804bd4..c4798423b52 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java index 925762fed5b..7af638123da 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java index bf721acadf1..4ffda90db68 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java index cd3e7684d1e..96161a89910 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java index bdb3ba3d274..9721b14a035 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java index eced74f5a01..5fdd087a769 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java b/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java index cbc8cccf531..e5400ca339a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java b/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java index 999a5d9ef64..4fc2db1fe03 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/Event4Test.java b/src/test/java/org/htmlunit/javascript/host/event/Event4Test.java index b9a38254a89..b79fefe0a90 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/Event4Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/Event4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java index b21fcaaf6a2..5373081786c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java index 079435d42b3..932625141f8 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java index 0f69bdcde1b..69b3772a30a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index 2962c593c09..dc7e211b056 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java index 54672800d02..6eb7f24771e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java index b40b80348ee..3a444b5b7d9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index efe45b20e4b..811aa058131 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java index 71a5c9e347f..cded8378a2c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java index be6a288edd8..aadad026bb7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java index 506c5168e2a..c7834919f7e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index 398f2f2a368..7a23955a581 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java index e3b0eb6c6c1..a7c061f0eb5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java index 6ade6ae3260..170ee8afca3 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java index 7f2580412d8..eecbbb32a13 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java index 0885ea87d40..b4517820a9a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java index d90a45e24bf..c9198c2db28 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java index 6ae1a2ea9eb..b39c354999c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java index baa23791f8b..e70db3aca08 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java index 68f47f8dc9a..b702afb3429 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java index 10172bfd476..600597109ea 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java index 9b23c78e7db..3d5a8a2e511 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java index 27ef2164169..affa7944490 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java index ab48e226348..4602b9d24f0 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java index 29bdfd6eb1d..05fbc5d3db3 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java index 17162be81d3..f51916b3ced 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java index dcffe1f594a..8204468d676 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java index 29a2ce2639b..429c26b94b9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java index 8f56c4f6500..cddb72e7e11 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java b/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java index 9b3b54a504c..f041f1543e3 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java index 911fcf846f6..4900cf96303 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java index 05137987894..e857875740e 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileTest.java index 53abb9e06a4..0f20db72f3a 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java index ea2f83b5d29..e057e1e9499 100644 --- a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java index 4fc74975ed9..98da9fc879a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java b/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java index 84641f3f1ef..494dd469536 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java index f2fead3a425..e9ebc6fcb86 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java index 99ebe5f5a65..e8a6659e258 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElementTest.java index eb9d85bdc5d..044118ed7f8 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java index 971bf38eb38..2ced7203041 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java index 5e7555ca5cb..1b61a19dcd8 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java index c34788663f7..88f8520757e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java index a81a3a0bb41..06a4b12e5e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java index 45db3c5be34..0e2b56fd1df 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java index f04cbbb3a94..d8b59039962 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java index 03b1d5a38fb..5a230d74600 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java index 72a007069f7..7e6b1d56e94 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java index df5f46a6f4d..96b6ea1bbe3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java index a26df3018e4..ce7d04cb4e0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java index bf17e8baa16..4c65b442c5b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java index 54fd6a6ae4a..d3a8472a1b5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java index 5aeebf3b80c..43054550a72 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java index 7ce81db6504..77e37453b5f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java index 48c0aeb8d76..3a09f720df3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElement2Test.java index 730b3b1808c..30204e2007a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java index c74a81b3ad7..2ce99e625ff 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java index 15b03293f80..f963b530812 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java index 5a9e3f9a6d2..122c74072eb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java index cd9c98962e6..c2c72082853 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument3Test.java index 4f878b1b107..c06cae7317f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java index 8af52d3bc2e..f73dc2be644 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java index 997be99489c..e8ff70acfa6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java index 35a005446a0..2f47ad0741a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java index fbd1797512c..5d0e579db9a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java index 56e76e73559..77cee47d46a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index 30562f1c5b0..f284fefb429 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java index 440d75f98af..247b869ef7b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java index f21b0415734..419f0808fef 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java index 9e7a9342a3d..8f97ac79edc 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java index ebd20d5cc3a..3fe6b743e8d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java index 664a27c34e9..d5523521e52 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index 04c32367e8e..d5daf9be118 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java index e267f17f99f..4c7c6205491 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java index b6d0ce3523f..24b14682994 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java index aad8e2bf44b..d5f7f9a4dd2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java index 8b706f564ea..a686f59e30d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java index 9a2a283d3c0..92c9c951c1e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java index e2ed8346d2d..5e96dfaa81e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java index 90e593c5404..198c383e432 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElementTest.java index cd4d2836401..a3831c6767c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElement2Test.java index 363112552d4..8231c0c3662 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java index 2eae4d7b8cc..41f843a061e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java index 1a932625f89..79188a0e3c6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java index 3bf52eba369..7ef5dd54d6c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java index 13270252c92..3139174095d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java index 7048114252b..565750c1ffc 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java index f130f091aea..851d5eb8cab 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java index 809908fe25a..d9f23a2fc6b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java index 48ca48e0430..f3096424341 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java index ed07eb413ab..83c4310db7f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java index 415a0328914..a4e49c39c2b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java index 91b94ce46b5..2e6cb80a259 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java index 3f398158080..ceee3369786 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java index 7e48500300e..050e2dcc613 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java index a063c9c1349..ead2bb094b3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java index cd6b58c7c01..cf9efa9c05d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java index 91149b18ee2..d8c0628a165 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java index df9f209bb52..e6864ca25cb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java index d562affab23..bf0924120a8 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java index eac38a33130..63676ce21bf 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index bc10105f267..35c3bd3537a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java index 4ff1030f9eb..a9f08124ab6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java index eaa5ee1747f..10ce900798c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java index 7b67e2cc08f..dc4e1edf806 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java index 643c74c0e2a..fe74cfa3866 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java index 7ca456d6468..5e3c7cb91d9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java index 2469866eae5..29129b0e0a1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java index 85dbaf0f0a2..84fcbc4a2c0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java index e50f50f6a00..41a1fbac4a2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElement2Test.java index 49f6d7b7742..953d088ebfd 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index bf07095754a..c840ca87df2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java index 96e4c4756fb..b43ca48ee89 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java index dc0de2a58a0..5e8db81e896 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java index 4a115c91b44..3e09ce14a28 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java index 8798e2c85cd..3dedf954458 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java index 7f8b3f6248f..3cbb305a894 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElement2Test.java index 75ef903f0f4..9dca6d7e547 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index 1e50cf202dd..bd3c9e3cab7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 5c620c9851d..82efb5a1c03 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index 2c5499b5618..7e028260e56 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java index 6654c4a4815..49f8f87cfc3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement2Test.java index 157c0970b57..96b5002323b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java index 6c18ec8ecd9..639569a8726 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java index 3a061bdcfbf..9e7c2a61b3b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java index ee373ad6ee3..67e468038ce 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java index bbeaa0120b1..56492dc4add 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java index c20c60cd466..8726c40c6b0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java index f61bc1f684d..9f85a668559 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java b/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java index 38bdf09713b..cc9b1d518c7 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java index 5a85ab60975..fde3c020e1a 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java index 097acb17223..20cb59df54b 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java index b19de4d101f..15d3c0d5399 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java index 7adea574ace..b4a9ee0dae3 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java index 6ba4f0c64dd..90cb3fc9d39 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java b/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java index 08d71aad5a4..3a7c96b60e8 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java index efb75715293..0c6eeb60a39 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java b/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java index a275274d2e4..906a247cd44 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java index 63604a410f9..4b5c4fcd51d 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java b/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java index 43f5eab2571..5b434db83c3 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java index e8792b711d8..14429bff779 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java index e73c8b540af..91b9f567079 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java index 6ddd9091ace..9f3f7b3dd4a 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java index efaec2e0ec9..0a638afa44e 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java b/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java index 3ad238b271f..522e1eff963 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java b/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java index 7fa589a0126..a1767b87628 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java b/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java index 02ed3707859..8006516658d 100644 --- a/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java index 562ceff69b3..a8689dfe04c 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java index e123bdce245..a664324fef1 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java index be18b723105..d0eb3ac7483 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java index 1b5e2e92568..0a8d633560e 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java index 4f24d82077f..c7bb7636f09 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java index 146279a0f58..c93340efd26 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java index 2f64350f328..d55a4f19df7 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java index 4639347a6ae..7641df4e9f5 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java index 8e55ca83245..40e974cb737 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java index 121a829848e..c988ffd3290 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java index 30277372101..3b0cdee3143 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java index ff0803032c6..418701f1038 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java index 0f5aca6f63c..60d70343047 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index d90f323b548..d3bb5e0fa41 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java index f63d4cf5b51..6b7c9ae276c 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java index 53c01b87706..38f36383027 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java index cd0fa971612..22f4d499891 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java index a2f5b6873f0..f16cdea524e 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java index 08f75ff85d6..dbbbb07cb90 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java index 6b2e0fffd36..861fcd57e7f 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java index 09e0bbed023..caec9f0d505 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java index 4053886be4b..ce60e79a38f 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java index 273fbf58486..6f08291c039 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java index 82be7c6d5b8..7de355bee11 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java index 39960d3352d..407bc21db96 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java index 8bc3f2c62e1..3a9b542de2a 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestSentContentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestSentContentTest.java index 3c7588464b5..1f155d25076 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestSentContentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestSentContentTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index ff62b32378c..e646b5caa69 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java index 3489643e009..0b8ea40e654 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 0b9753df24d..1c059e5b239 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java b/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java index 8c68574e866..6792ccf720f 100644 --- a/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java +++ b/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfigTest.java b/src/test/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfigTest.java index 1f0d41fcc8b..8bd8efa0109 100644 --- a/src/test/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfigTest.java +++ b/src/test/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy2Test.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy2Test.java index 32ff634af2e..236fe2d8687 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy2Test.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy3Test.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy3Test.java index 03f07f8d95b..2c4ecddb249 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy3Test.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxy3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java index 4a645fe60ed..6d37c9ba432 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java index eeeed7a34b6..85a117924b6 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java index bbdbe4fcbf8..b072f25639e 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java index 448e1f1a8f0..3166de39d9d 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java index 40c93cd4f81..45b4cf37bf9 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverterTest.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverterTest.java index b85b5ebc921..823132e5838 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverterTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java index fd15b499d90..b556bb52f3c 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/MozillaTestGenerator.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/MozillaTestGenerator.java index 1dbe98c548f..a43c6e9cd4f 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/MozillaTestGenerator.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/MozillaTestGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java index 8623618a423..f25fe64e41f 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java index 356e4ef9281..e64c3f0ef0e 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java index a95326ca48e..0e8cafcb5eb 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java index f94707f5f69..e61ee246cbc 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java index 632b342d307..abc48585b22 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java index 46dca409eff..69c8d8299e7 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java index be95811f280..a836d3797c0 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java index 3b67340111e..dbb6646300e 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java index 4fd167b94c7..9e0ede27b49 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java index 5db82b79d76..444b6ae37f7 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java index 7a3ae115b54..1c39c93e2f2 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java index 45b0ffea06a..81963ef9a12 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java index 66f341004fb..4355a80ae47 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java index e27d9009602..3b2d487466f 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java index 9807f786038..0d9d176c306 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java index 92ec3c40077..e3332319d94 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java index 5417c56ae7b..317bfbaa5d7 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java index d10ac6447c0..9e8457f0fdf 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java index e70d38a4a8f..93de058dfa2 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java index 9bc0c7fdc64..164b54c237d 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java index ae72d5188cf..323f0d999fc 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java index 22f39e527d3..162a795f8b3 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java index 888e0e2f4d4..750bb4af432 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java index 355db2da629..ab1509e74cc 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java index 4be689cb353..5f6f39d58bd 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java index eb2512a632d..eefc24a9b0b 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java index d3f24a019b3..301f0ec5936 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java b/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java index 1be863deda9..79185380f44 100644 --- a/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/BrowserRunner.java b/src/test/java/org/htmlunit/junit/BrowserRunner.java index 47b80f1ac41..e11fe32a97e 100644 --- a/src/test/java/org/htmlunit/junit/BrowserRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/BrowserStatement.java b/src/test/java/org/htmlunit/junit/BrowserStatement.java index 6245b2421d2..f8d0b7b2d2a 100644 --- a/src/test/java/org/htmlunit/junit/BrowserStatement.java +++ b/src/test/java/org/htmlunit/junit/BrowserStatement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java index 52bc323d52c..9bcc207f300 100644 --- a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunnerWithParameters.java b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunnerWithParameters.java index 9d7b23f825c..0c6928cf566 100644 --- a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunnerWithParameters.java +++ b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunnerWithParameters.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/FrameworkMethodWithParameters.java b/src/test/java/org/htmlunit/junit/FrameworkMethodWithParameters.java index 1f79b432476..6bc6990f0a8 100644 --- a/src/test/java/org/htmlunit/junit/FrameworkMethodWithParameters.java +++ b/src/test/java/org/htmlunit/junit/FrameworkMethodWithParameters.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/Retry.java b/src/test/java/org/htmlunit/junit/Retry.java index 7303957cf2d..541b88c99c6 100644 --- a/src/test/java/org/htmlunit/junit/Retry.java +++ b/src/test/java/org/htmlunit/junit/Retry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/RetryRule.java b/src/test/java/org/htmlunit/junit/RetryRule.java index 63583c26ff6..dc6016e0313 100644 --- a/src/test/java/org/htmlunit/junit/RetryRule.java +++ b/src/test/java/org/htmlunit/junit/RetryRule.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/StandardsFrameworkMethod.java b/src/test/java/org/htmlunit/junit/StandardsFrameworkMethod.java index 8c3c6751d5c..309054a13eb 100644 --- a/src/test/java/org/htmlunit/junit/StandardsFrameworkMethod.java +++ b/src/test/java/org/htmlunit/junit/StandardsFrameworkMethod.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/StandardsTestClass.java b/src/test/java/org/htmlunit/junit/StandardsTestClass.java index 92a3f8d5f68..a7ea79dae70 100644 --- a/src/test/java/org/htmlunit/junit/StandardsTestClass.java +++ b/src/test/java/org/htmlunit/junit/StandardsTestClass.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/junit/TestCaseCorrector.java b/src/test/java/org/htmlunit/junit/TestCaseCorrector.java index 8024ba16aff..625bd2a85c5 100644 --- a/src/test/java/org/htmlunit/junit/TestCaseCorrector.java +++ b/src/test/java/org/htmlunit/junit/TestCaseCorrector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/BirdTest.java b/src/test/java/org/htmlunit/libraries/BirdTest.java index 9dd084ed60a..28b53c8a889 100644 --- a/src/test/java/org/htmlunit/libraries/BirdTest.java +++ b/src/test/java/org/htmlunit/libraries/BirdTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/ChartJs2x9x4Test.java b/src/test/java/org/htmlunit/libraries/ChartJs2x9x4Test.java index 7ff23517769..ad17abd141d 100644 --- a/src/test/java/org/htmlunit/libraries/ChartJs2x9x4Test.java +++ b/src/test/java/org/htmlunit/libraries/ChartJs2x9x4Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/ChartJs4x4x6Test.java b/src/test/java/org/htmlunit/libraries/ChartJs4x4x6Test.java index 8ecfb309788..191d9e311cb 100644 --- a/src/test/java/org/htmlunit/libraries/ChartJs4x4x6Test.java +++ b/src/test/java/org/htmlunit/libraries/ChartJs4x4x6Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/CurvyCornersTest.java b/src/test/java/org/htmlunit/libraries/CurvyCornersTest.java index fa3e25c3a0f..941621d487d 100644 --- a/src/test/java/org/htmlunit/libraries/CurvyCornersTest.java +++ b/src/test/java/org/htmlunit/libraries/CurvyCornersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Dojo102Test.java b/src/test/java/org/htmlunit/libraries/Dojo102Test.java index 5aadcaac3b2..20f62fff309 100644 --- a/src/test/java/org/htmlunit/libraries/Dojo102Test.java +++ b/src/test/java/org/htmlunit/libraries/Dojo102Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Dojo193Test.java b/src/test/java/org/htmlunit/libraries/Dojo193Test.java index 06e99f7b00f..fbc22ff187b 100644 --- a/src/test/java/org/htmlunit/libraries/Dojo193Test.java +++ b/src/test/java/org/htmlunit/libraries/Dojo193Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/DojoTestBase.java b/src/test/java/org/htmlunit/libraries/DojoTestBase.java index 5df1e2309d1..2abac403c2b 100644 --- a/src/test/java/org/htmlunit/libraries/DojoTestBase.java +++ b/src/test/java/org/htmlunit/libraries/DojoTestBase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/ExtJS22Test.java b/src/test/java/org/htmlunit/libraries/ExtJS22Test.java index df82f566060..1a779412574 100644 --- a/src/test/java/org/htmlunit/libraries/ExtJS22Test.java +++ b/src/test/java/org/htmlunit/libraries/ExtJS22Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/GWTTest.java b/src/test/java/org/htmlunit/libraries/GWTTest.java index 53f76d5696e..30ed33ffa27 100644 --- a/src/test/java/org/htmlunit/libraries/GWTTest.java +++ b/src/test/java/org/htmlunit/libraries/GWTTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/GWTTest2x11x0.java b/src/test/java/org/htmlunit/libraries/GWTTest2x11x0.java index 0a7b3e79f24..888de7f7991 100644 --- a/src/test/java/org/htmlunit/libraries/GWTTest2x11x0.java +++ b/src/test/java/org/htmlunit/libraries/GWTTest2x11x0.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/GWTTest2x5x0.java b/src/test/java/org/htmlunit/libraries/GWTTest2x5x0.java index b527f8c7f18..2ddd82207a3 100644 --- a/src/test/java/org/htmlunit/libraries/GWTTest2x5x0.java +++ b/src/test/java/org/htmlunit/libraries/GWTTest2x5x0.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest.java b/src/test/java/org/htmlunit/libraries/HtmxTest.java index 33f0d40d0dc..c09f63a70e1 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java index 5424a791a6b..160ff46a8dc 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java index 8b7674df0e5..027a95c1e71 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java index 65a164bf936..3aa464f782d 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java index a9fa7f7704d..a932bc90edb 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java index 4c8d40f351c..e94d9cdc578 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java index 0dfeac2873b..d27a2f68350 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java index 0839c0a73e6..8919ff025b7 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java b/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java index 155093e4fee..70806e47617 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java b/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java index f34c52fae3b..73be8e352f5 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java b/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java index 70fd6fd275d..adfdecd3239 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/JQueryTestBase.java b/src/test/java/org/htmlunit/libraries/JQueryTestBase.java index 0607f43e42e..95dd18a17b4 100644 --- a/src/test/java/org/htmlunit/libraries/JQueryTestBase.java +++ b/src/test/java/org/htmlunit/libraries/JQueryTestBase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java b/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java index ccb335658de..085ed7620ce 100644 --- a/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java +++ b/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java b/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java index 1b7cb5551ca..42f78a90418 100644 --- a/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java +++ b/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/MochiKitTest.java b/src/test/java/org/htmlunit/libraries/MochiKitTest.java index f69410dc345..e83b0719e8a 100644 --- a/src/test/java/org/htmlunit/libraries/MochiKitTest.java +++ b/src/test/java/org/htmlunit/libraries/MochiKitTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x1.java b/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x1.java index 48e55effedc..6a62c4d6236 100644 --- a/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x1.java +++ b/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x1.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x2.java b/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x2.java index 8bab516b003..52bf95cfcb0 100644 --- a/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x2.java +++ b/src/test/java/org/htmlunit/libraries/MochiKitTest1x4x2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/MooTools121Test.java b/src/test/java/org/htmlunit/libraries/MooTools121Test.java index ad54b742aca..9f43bccaa9c 100644 --- a/src/test/java/org/htmlunit/libraries/MooTools121Test.java +++ b/src/test/java/org/htmlunit/libraries/MooTools121Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/MyFacesTest.java b/src/test/java/org/htmlunit/libraries/MyFacesTest.java index 9f7a82fa8d5..59bc1aa99ee 100644 --- a/src/test/java/org/htmlunit/libraries/MyFacesTest.java +++ b/src/test/java/org/htmlunit/libraries/MyFacesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java b/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java index 36c93e9f739..bc16ac4271a 100644 --- a/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java +++ b/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java b/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java index 1b72ce98652..c1ce429112f 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Prototype160Test.java b/src/test/java/org/htmlunit/libraries/Prototype160Test.java index f1e63c74de3..94075dd0ed2 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype160Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype160Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Prototype161Test.java b/src/test/java/org/htmlunit/libraries/Prototype161Test.java index c3b109399ca..0b66f023868 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype161Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype161Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Prototype171Test.java b/src/test/java/org/htmlunit/libraries/Prototype171Test.java index 2cb9fb30de6..c96ffda0cb9 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype171Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype171Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/PrototypeTestBase.java b/src/test/java/org/htmlunit/libraries/PrototypeTestBase.java index e29c5e96e32..408620411c0 100644 --- a/src/test/java/org/htmlunit/libraries/PrototypeTestBase.java +++ b/src/test/java/org/htmlunit/libraries/PrototypeTestBase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java b/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java index 73345510ce6..e076c902e62 100644 --- a/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java +++ b/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java b/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java index 588a15e1aa9..f4d0308d2bb 100644 --- a/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java +++ b/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/TinyMceTest.java b/src/test/java/org/htmlunit/libraries/TinyMceTest.java index 110bd3eda5a..5459cdc5db8 100644 --- a/src/test/java/org/htmlunit/libraries/TinyMceTest.java +++ b/src/test/java/org/htmlunit/libraries/TinyMceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/VueTest.java b/src/test/java/org/htmlunit/libraries/VueTest.java index 0e594a25dc8..d961e286ca7 100644 --- a/src/test/java/org/htmlunit/libraries/VueTest.java +++ b/src/test/java/org/htmlunit/libraries/VueTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/libraries/YuiTest.java b/src/test/java/org/htmlunit/libraries/YuiTest.java index 4403bfa9cd8..90667c021ad 100644 --- a/src/test/java/org/htmlunit/libraries/YuiTest.java +++ b/src/test/java/org/htmlunit/libraries/YuiTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java b/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java index b335e641430..df35e390875 100644 --- a/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java +++ b/src/test/java/org/htmlunit/platform/dom/traversal/DomTreeWalkerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/protocol/data/DataURLDecoder2Test.java b/src/test/java/org/htmlunit/protocol/data/DataURLDecoder2Test.java index ba3e71b5adb..56868d334af 100644 --- a/src/test/java/org/htmlunit/protocol/data/DataURLDecoder2Test.java +++ b/src/test/java/org/htmlunit/protocol/data/DataURLDecoder2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java b/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java index 0898718c2fb..64e67b95d60 100644 --- a/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java +++ b/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/selenium/IsDisplayedTest.java b/src/test/java/org/htmlunit/selenium/IsDisplayedTest.java index c45e08ec63a..9d05962f22b 100644 --- a/src/test/java/org/htmlunit/selenium/IsDisplayedTest.java +++ b/src/test/java/org/htmlunit/selenium/IsDisplayedTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/selenium/SeleniumTest.java b/src/test/java/org/htmlunit/selenium/SeleniumTest.java index 9d6fb5d79d8..5effeae6cdf 100644 --- a/src/test/java/org/htmlunit/selenium/SeleniumTest.java +++ b/src/test/java/org/htmlunit/selenium/SeleniumTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/selenium/TypingTest.java b/src/test/java/org/htmlunit/selenium/TypingTest.java index 80be0b3bc81..43c311cdc96 100644 --- a/src/test/java/org/htmlunit/selenium/TypingTest.java +++ b/src/test/java/org/htmlunit/selenium/TypingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/source/ElementTestSource.java b/src/test/java/org/htmlunit/source/ElementTestSource.java index e425e46b89c..6eb372f5035 100644 --- a/src/test/java/org/htmlunit/source/ElementTestSource.java +++ b/src/test/java/org/htmlunit/source/ElementTestSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/source/JQueryExtractor.java b/src/test/java/org/htmlunit/source/JQueryExtractor.java index fa535da750c..8c59e07e4ed 100644 --- a/src/test/java/org/htmlunit/source/JQueryExtractor.java +++ b/src/test/java/org/htmlunit/source/JQueryExtractor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/source/Patch.java b/src/test/java/org/htmlunit/source/Patch.java index 29035dcb7d1..7b78fca45af 100644 --- a/src/test/java/org/htmlunit/source/Patch.java +++ b/src/test/java/org/htmlunit/source/Patch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/source/TestCaseCreator.java b/src/test/java/org/htmlunit/source/TestCaseCreator.java index b948c759786..0b1a17babf6 100644 --- a/src/test/java/org/htmlunit/source/TestCaseCreator.java +++ b/src/test/java/org/htmlunit/source/TestCaseCreator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java index 70a04669cfa..7f23f992d01 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java index e9b468fd919..06510fb3a68 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java index 04a258d5280..6dbe70161b7 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAnchorTest.java b/src/test/java/org/htmlunit/svg/SvgAnchorTest.java index 53a1fd17a5d..feb51d87ced 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnchorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnchorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java index 849e2b86884..aec1637c8b9 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java index eec20971a24..f0387472eec 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateTest.java index e775ef22489..9437ecf2f0f 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java index 6a7e9922193..fb679350875 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgCircleTest.java b/src/test/java/org/htmlunit/svg/SvgCircleTest.java index 825a5735462..b600834982f 100644 --- a/src/test/java/org/htmlunit/svg/SvgCircleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgCircleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgClipPathTest.java b/src/test/java/org/htmlunit/svg/SvgClipPathTest.java index 00bc8c30720..2996e2a484c 100644 --- a/src/test/java/org/htmlunit/svg/SvgClipPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgClipPathTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java b/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java index 48141233ac8..ff8b09a40df 100644 --- a/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java +++ b/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgCursorTest.java b/src/test/java/org/htmlunit/svg/SvgCursorTest.java index 363ba443c8c..0c85f92d8de 100644 --- a/src/test/java/org/htmlunit/svg/SvgCursorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgCursorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgDefsTest.java b/src/test/java/org/htmlunit/svg/SvgDefsTest.java index e329c7392a0..89635593394 100644 --- a/src/test/java/org/htmlunit/svg/SvgDefsTest.java +++ b/src/test/java/org/htmlunit/svg/SvgDefsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgDescTest.java b/src/test/java/org/htmlunit/svg/SvgDescTest.java index d274d11b6ad..1c9b2708d23 100644 --- a/src/test/java/org/htmlunit/svg/SvgDescTest.java +++ b/src/test/java/org/htmlunit/svg/SvgDescTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgElementTest.java b/src/test/java/org/htmlunit/svg/SvgElementTest.java index 335062562b0..8b2d96684a3 100644 --- a/src/test/java/org/htmlunit/svg/SvgElementTest.java +++ b/src/test/java/org/htmlunit/svg/SvgElementTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgEllipseTest.java b/src/test/java/org/htmlunit/svg/SvgEllipseTest.java index 5d4a79551f2..9ea150c7a05 100644 --- a/src/test/java/org/htmlunit/svg/SvgEllipseTest.java +++ b/src/test/java/org/htmlunit/svg/SvgEllipseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java b/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java index d7edba18ccf..4e5ffe8cf16 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java index c51d2ca1476..d9f09d3a8e9 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java b/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java index 2ba3bdd4cf8..431e18c1545 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java b/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java index 7ff76d82ef0..6b190ab4bdc 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java index 15b640c8008..d544fa91ae0 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java b/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java index df3c0573f03..c9ebf573d80 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java b/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java index f01c2450a43..902f81f1809 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java b/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java index 3dd16ac5d10..14e3e7d3609 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java b/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java index ba398d7a9d0..03f2acef262 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java index 5cb8afee6b1..d254137fe0a 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java index f30bbf2ee25..3c57e607ba3 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java index bb1c3e56680..a8b6d889f3c 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java index 2307b3c7208..12683d7323d 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java b/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java index 8643c1f6ec0..aef9c61336d 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeImageTest.java b/src/test/java/org/htmlunit/svg/SvgFeImageTest.java index 6d83f3c7b84..d368165091f 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeImageTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeImageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java b/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java index 2411e6d5897..9e8d0b7ed95 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java b/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java index 3b9650766e3..f3a016bd37a 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java b/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java index 68e448fe8c9..99039aa4d91 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java b/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java index be35e2a9d98..0a6924f5e1b 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java b/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java index a9a553db2da..151ce5cef93 100644 --- a/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java b/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java index e7bd782a4bb..54fbc97a9fe 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java b/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java index ca614143542..d7047266319 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeTileTest.java b/src/test/java/org/htmlunit/svg/SvgFeTileTest.java index 4b20aeb12b8..6cb09ab9f43 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeTileTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeTileTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java b/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java index 49ae2a5de1d..70e00cccfd2 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFilterTest.java b/src/test/java/org/htmlunit/svg/SvgFilterTest.java index 5b791dfe1fb..0cdf03ffabc 100644 --- a/src/test/java/org/htmlunit/svg/SvgFilterTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFilterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java index 7360220dd84..70433b7c0f5 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java index a2164edcdb4..621d27620aa 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java index 03311653838..86c603ec6b6 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java index 8a2425b6475..41f7ed14acc 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java index c0dfabf214b..8134c77a35d 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgFontTest.java b/src/test/java/org/htmlunit/svg/SvgFontTest.java index ec5729e4367..de1b5fa03a3 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java b/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java index 94f852d0bda..36761457ed4 100644 --- a/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java +++ b/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java b/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java index bda7f376b80..d1c2fbaecd3 100644 --- a/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgGlyphTest.java index 24d9432d8d9..b6c0672beaa 100644 --- a/src/test/java/org/htmlunit/svg/SvgGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGlyphTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgGroupTest.java b/src/test/java/org/htmlunit/svg/SvgGroupTest.java index e091c77ea3d..36d12de1c59 100644 --- a/src/test/java/org/htmlunit/svg/SvgGroupTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGroupTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgHKernTest.java b/src/test/java/org/htmlunit/svg/SvgHKernTest.java index 842a58edead..73d4f5ade1c 100644 --- a/src/test/java/org/htmlunit/svg/SvgHKernTest.java +++ b/src/test/java/org/htmlunit/svg/SvgHKernTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgImageTest.java b/src/test/java/org/htmlunit/svg/SvgImageTest.java index 7980743d6d0..7d5a1cb8082 100644 --- a/src/test/java/org/htmlunit/svg/SvgImageTest.java +++ b/src/test/java/org/htmlunit/svg/SvgImageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java b/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java index 421e9f8f8ad..40a9f65f944 100644 --- a/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java +++ b/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgLineTest.java b/src/test/java/org/htmlunit/svg/SvgLineTest.java index 3a3c7977a5e..150f9ebf178 100644 --- a/src/test/java/org/htmlunit/svg/SvgLineTest.java +++ b/src/test/java/org/htmlunit/svg/SvgLineTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java b/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java index 06a9236add7..2c7147473ca 100644 --- a/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java +++ b/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMPathTest.java b/src/test/java/org/htmlunit/svg/SvgMPathTest.java index 7b0575884f9..efc755e1ad6 100644 --- a/src/test/java/org/htmlunit/svg/SvgMPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMPathTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMarkerTest.java b/src/test/java/org/htmlunit/svg/SvgMarkerTest.java index d0a0eaa5d30..720d777e486 100644 --- a/src/test/java/org/htmlunit/svg/SvgMarkerTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMarkerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMaskTest.java b/src/test/java/org/htmlunit/svg/SvgMaskTest.java index c372312d35b..63f68371918 100644 --- a/src/test/java/org/htmlunit/svg/SvgMaskTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMaskTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java index 49a0386bc9c..88d70fde6dc 100644 --- a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMetadataTest.java b/src/test/java/org/htmlunit/svg/SvgMetadataTest.java index 0cc5d834949..ae480d17aea 100644 --- a/src/test/java/org/htmlunit/svg/SvgMetadataTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMetadataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java index 389e8d66baa..ec98060dc17 100644 --- a/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgPathTest.java b/src/test/java/org/htmlunit/svg/SvgPathTest.java index 54fab0245fd..e839c7bc6ec 100644 --- a/src/test/java/org/htmlunit/svg/SvgPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPathTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgPatternTest.java b/src/test/java/org/htmlunit/svg/SvgPatternTest.java index a9a275b2afd..eb7ce1abccb 100644 --- a/src/test/java/org/htmlunit/svg/SvgPatternTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPatternTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgPolygonTest.java b/src/test/java/org/htmlunit/svg/SvgPolygonTest.java index 190aac27b02..c56ec50eb0c 100644 --- a/src/test/java/org/htmlunit/svg/SvgPolygonTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPolygonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgPolylineTest.java b/src/test/java/org/htmlunit/svg/SvgPolylineTest.java index 3e326f79f25..7fabd7073ed 100644 --- a/src/test/java/org/htmlunit/svg/SvgPolylineTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPolylineTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java b/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java index b82723f4b68..9255f2e01fa 100644 --- a/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java +++ b/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgRectTest.java b/src/test/java/org/htmlunit/svg/SvgRectTest.java index ede4b5d264e..b8bfd6100bc 100644 --- a/src/test/java/org/htmlunit/svg/SvgRectTest.java +++ b/src/test/java/org/htmlunit/svg/SvgRectTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgScriptTest.java b/src/test/java/org/htmlunit/svg/SvgScriptTest.java index 54c639ab08f..37f472220d6 100644 --- a/src/test/java/org/htmlunit/svg/SvgScriptTest.java +++ b/src/test/java/org/htmlunit/svg/SvgScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgSetTest.java b/src/test/java/org/htmlunit/svg/SvgSetTest.java index 0e2f53e3660..65af4b95a61 100644 --- a/src/test/java/org/htmlunit/svg/SvgSetTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSetTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgStopTest.java b/src/test/java/org/htmlunit/svg/SvgStopTest.java index add6dd99fcd..63aab1fa4ba 100644 --- a/src/test/java/org/htmlunit/svg/SvgStopTest.java +++ b/src/test/java/org/htmlunit/svg/SvgStopTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgStyleTest.java b/src/test/java/org/htmlunit/svg/SvgStyleTest.java index 5c996cde548..9bfd1ae6b09 100644 --- a/src/test/java/org/htmlunit/svg/SvgStyleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgStyleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgSwitchTest.java b/src/test/java/org/htmlunit/svg/SvgSwitchTest.java index 2a3d286684f..0abca5df2b8 100644 --- a/src/test/java/org/htmlunit/svg/SvgSwitchTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSwitchTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgSymbolTest.java b/src/test/java/org/htmlunit/svg/SvgSymbolTest.java index b20aed51763..2067769bdfc 100644 --- a/src/test/java/org/htmlunit/svg/SvgSymbolTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSymbolTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgTRefTest.java b/src/test/java/org/htmlunit/svg/SvgTRefTest.java index 09b70d5dce5..a3be31ed78e 100644 --- a/src/test/java/org/htmlunit/svg/SvgTRefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTRefTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgTSpanTest.java b/src/test/java/org/htmlunit/svg/SvgTSpanTest.java index 207725f9023..3dbdb95a20f 100644 --- a/src/test/java/org/htmlunit/svg/SvgTSpanTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTSpanTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgTextPathTest.java b/src/test/java/org/htmlunit/svg/SvgTextPathTest.java index a7479bc49f9..d770de1be7a 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextPathTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgTextTest.java b/src/test/java/org/htmlunit/svg/SvgTextTest.java index 57cc74166e5..f3176c95c73 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgTitleTest.java b/src/test/java/org/htmlunit/svg/SvgTitleTest.java index 65a021e5ee2..a89bff11923 100644 --- a/src/test/java/org/htmlunit/svg/SvgTitleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTitleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgUseTest.java b/src/test/java/org/htmlunit/svg/SvgUseTest.java index 165ef0d4d20..2db364844ba 100644 --- a/src/test/java/org/htmlunit/svg/SvgUseTest.java +++ b/src/test/java/org/htmlunit/svg/SvgUseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgVKernTest.java b/src/test/java/org/htmlunit/svg/SvgVKernTest.java index 15f86c45f5e..d82f183ae9e 100644 --- a/src/test/java/org/htmlunit/svg/SvgVKernTest.java +++ b/src/test/java/org/htmlunit/svg/SvgVKernTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/svg/SvgViewTest.java b/src/test/java/org/htmlunit/svg/SvgViewTest.java index b98a74525f8..704f8fae78f 100644 --- a/src/test/java/org/htmlunit/svg/SvgViewTest.java +++ b/src/test/java/org/htmlunit/svg/SvgViewTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/ArrayUtilsTest.java b/src/test/java/org/htmlunit/util/ArrayUtilsTest.java index 56ef9914a04..1b56d2755d5 100644 --- a/src/test/java/org/htmlunit/util/ArrayUtilsTest.java +++ b/src/test/java/org/htmlunit/util/ArrayUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/CookieTest.java b/src/test/java/org/htmlunit/util/CookieTest.java index 3576d5f6ea8..2a95d2fcd55 100644 --- a/src/test/java/org/htmlunit/util/CookieTest.java +++ b/src/test/java/org/htmlunit/util/CookieTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/DebuggingWebConnectionTest.java b/src/test/java/org/htmlunit/util/DebuggingWebConnectionTest.java index 956e85a915b..54a32d513e6 100644 --- a/src/test/java/org/htmlunit/util/DebuggingWebConnectionTest.java +++ b/src/test/java/org/htmlunit/util/DebuggingWebConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/EncodingSnifferTest.java b/src/test/java/org/htmlunit/util/EncodingSnifferTest.java index 60e69d25fc9..eb895094c57 100644 --- a/src/test/java/org/htmlunit/util/EncodingSnifferTest.java +++ b/src/test/java/org/htmlunit/util/EncodingSnifferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/FalsifyingWebConnectionTest.java b/src/test/java/org/htmlunit/util/FalsifyingWebConnectionTest.java index 4bc4b9a1ab1..e3efba199db 100644 --- a/src/test/java/org/htmlunit/util/FalsifyingWebConnectionTest.java +++ b/src/test/java/org/htmlunit/util/FalsifyingWebConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/MemoryLeakDetector.java b/src/test/java/org/htmlunit/util/MemoryLeakDetector.java index 1c44732e9f5..955ad25be2f 100644 --- a/src/test/java/org/htmlunit/util/MemoryLeakDetector.java +++ b/src/test/java/org/htmlunit/util/MemoryLeakDetector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/OrderedFastHashMapTest.java b/src/test/java/org/htmlunit/util/OrderedFastHashMapTest.java index 5d2d89d6f5f..58cd7c07e5f 100644 --- a/src/test/java/org/htmlunit/util/OrderedFastHashMapTest.java +++ b/src/test/java/org/htmlunit/util/OrderedFastHashMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/RandomUtils.java b/src/test/java/org/htmlunit/util/RandomUtils.java index 9ffc45900d6..af4ab9be338 100644 --- a/src/test/java/org/htmlunit/util/RandomUtils.java +++ b/src/test/java/org/htmlunit/util/RandomUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/ServletContentWrapper.java b/src/test/java/org/htmlunit/util/ServletContentWrapper.java index 83aa211430d..3aff5eb337c 100644 --- a/src/test/java/org/htmlunit/util/ServletContentWrapper.java +++ b/src/test/java/org/htmlunit/util/ServletContentWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/StringUtilsTest.java b/src/test/java/org/htmlunit/util/StringUtilsTest.java index b2acbbb3cf7..23cb3803556 100644 --- a/src/test/java/org/htmlunit/util/StringUtilsTest.java +++ b/src/test/java/org/htmlunit/util/StringUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/UrlUtilsTest.java b/src/test/java/org/htmlunit/util/UrlUtilsTest.java index ef99aa228b8..6c55c1d27ff 100644 --- a/src/test/java/org/htmlunit/util/UrlUtilsTest.java +++ b/src/test/java/org/htmlunit/util/UrlUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/WebConnectionWrapperTest.java b/src/test/java/org/htmlunit/util/WebConnectionWrapperTest.java index 56738afe472..9c823c19b3e 100644 --- a/src/test/java/org/htmlunit/util/WebConnectionWrapperTest.java +++ b/src/test/java/org/htmlunit/util/WebConnectionWrapperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/geometry/Circle2DTest.java b/src/test/java/org/htmlunit/util/geometry/Circle2DTest.java index fb98705b4c2..9bfe04f75fe 100644 --- a/src/test/java/org/htmlunit/util/geometry/Circle2DTest.java +++ b/src/test/java/org/htmlunit/util/geometry/Circle2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/geometry/Line2DTest.java b/src/test/java/org/htmlunit/util/geometry/Line2DTest.java index 6f53113f7f2..75065cf1a74 100644 --- a/src/test/java/org/htmlunit/util/geometry/Line2DTest.java +++ b/src/test/java/org/htmlunit/util/geometry/Line2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/geometry/Point2DTest.java b/src/test/java/org/htmlunit/util/geometry/Point2DTest.java index db1ae270250..87f440a3f73 100644 --- a/src/test/java/org/htmlunit/util/geometry/Point2DTest.java +++ b/src/test/java/org/htmlunit/util/geometry/Point2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/geometry/Polygon2DTest.java b/src/test/java/org/htmlunit/util/geometry/Polygon2DTest.java index 970273c0aca..3c477623e4a 100644 --- a/src/test/java/org/htmlunit/util/geometry/Polygon2DTest.java +++ b/src/test/java/org/htmlunit/util/geometry/Polygon2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/geometry/Rectangle2DTest.java b/src/test/java/org/htmlunit/util/geometry/Rectangle2DTest.java index 6aff7258e08..9fb163a6ef3 100644 --- a/src/test/java/org/htmlunit/util/geometry/Rectangle2DTest.java +++ b/src/test/java/org/htmlunit/util/geometry/Rectangle2DTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/util/mocks/WebResponseMock.java b/src/test/java/org/htmlunit/util/mocks/WebResponseMock.java index 66ff37ee4da..6ddcb7a2b32 100644 --- a/src/test/java/org/htmlunit/util/mocks/WebResponseMock.java +++ b/src/test/java/org/htmlunit/util/mocks/WebResponseMock.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/xml/XmlPage2Test.java b/src/test/java/org/htmlunit/xml/XmlPage2Test.java index d65bdd3c300..89150249da5 100644 --- a/src/test/java/org/htmlunit/xml/XmlPage2Test.java +++ b/src/test/java/org/htmlunit/xml/XmlPage2Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/htmlunit/xml/XmlPageTest.java b/src/test/java/org/htmlunit/xml/XmlPageTest.java index 74cbf2d145f..37a1d2711b8 100644 --- a/src/test/java/org/htmlunit/xml/XmlPageTest.java +++ b/src/test/java/org/htmlunit/xml/XmlPageTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2024 Gargoyle Software Inc. + * Copyright (c) 2002-2025 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 7d0d2f9eae261c790359cb4ce1514d8a8912d530 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 1 Jan 2025 18:18:57 +0100 Subject: [PATCH 024/516] Happy New Year! --- checkstyle.xml | 2 +- src/main/java/org/htmlunit/Version.java | 2 +- src/test/java/org/htmlunit/CodeStyleTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checkstyle.xml b/checkstyle.xml index 801f430d970..46466aa5cdb 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -24,7 +24,7 @@ - + diff --git a/src/main/java/org/htmlunit/Version.java b/src/main/java/org/htmlunit/Version.java index e57d14f80b2..dcb6d452021 100644 --- a/src/main/java/org/htmlunit/Version.java +++ b/src/main/java/org/htmlunit/Version.java @@ -79,6 +79,6 @@ public static String getProductVersion() { * @return the copyright notice */ public static String getCopyright() { - return "Copyright (c) 2002-2024 Gargoyle Software Inc. All rights reserved."; + return "Copyright (c) 2002-2025 Gargoyle Software Inc. All rights reserved."; } } diff --git a/src/test/java/org/htmlunit/CodeStyleTest.java b/src/test/java/org/htmlunit/CodeStyleTest.java index 88343c018ac..ed5145b3f86 100644 --- a/src/test/java/org/htmlunit/CodeStyleTest.java +++ b/src/test/java/org/htmlunit/CodeStyleTest.java @@ -353,7 +353,7 @@ private void licenseYear() throws IOException { for (final String line : lines) { if (line.contains(" Date: Thu, 2 Jan 2025 08:18:19 +0100 Subject: [PATCH 025/516] Apache commons-text is no longer a runtime dependency --- pom.xml | 24 ++- src/changes/changes.xml | 3 + .../java/org/htmlunit/html/HtmlTextArea.java | 3 +- .../java/org/htmlunit/util/StringUtils.java | 188 +++++++++++++++--- .../org/htmlunit/util/StringUtilsTest.java | 129 +++++++++++- 5 files changed, 306 insertions(+), 41 deletions(-) diff --git a/pom.xml b/pom.xml index fdaf2a41a55..0b3dee5317a 100644 --- a/pom.xml +++ b/pom.xml @@ -1257,17 +1257,6 @@ commons-lang3 3.17.0 - - org.apache.commons - commons-text - 1.13.0 - - - org.apache.commons - commons-lang3 - - - commons-io commons-io @@ -1381,6 +1370,19 @@ + + org.apache.commons + commons-text + 1.13.0 + test + + + org.apache.commons + commons-lang3 + + + + commons-fileupload commons-fileupload diff --git a/src/changes/changes.xml b/src/changes/changes.xml index ee1ea36ca09..b3c8d8d398a 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Apache commons-text is no longer a runtime dependency. + core-js: Extract function calling out of the interpreter loop for performance. diff --git a/src/main/java/org/htmlunit/html/HtmlTextArea.java b/src/main/java/org/htmlunit/html/HtmlTextArea.java index b308ea3cccc..8358d359b9f 100644 --- a/src/main/java/org/htmlunit/html/HtmlTextArea.java +++ b/src/main/java/org/htmlunit/html/HtmlTextArea.java @@ -21,7 +21,6 @@ import java.util.Map; import org.apache.commons.lang3.StringUtils; -import org.apache.commons.text.StringEscapeUtils; import org.htmlunit.SgmlPage; import org.htmlunit.html.impl.SelectableTextInput; import org.htmlunit.html.impl.SelectableTextSelectionDelegate; @@ -436,7 +435,7 @@ protected void printXml(final String indent, final PrintWriter printWriter) { printOpeningTagContentAsXml(printWriter); printWriter.print(">"); - printWriter.print(StringEscapeUtils.escapeXml10(getText())); + printWriter.print(org.htmlunit.util.StringUtils.escapeXml(getText())); printWriter.print(""); } diff --git a/src/main/java/org/htmlunit/util/StringUtils.java b/src/main/java/org/htmlunit/util/StringUtils.java index 6e949e00d18..77c6ac89434 100644 --- a/src/main/java/org/htmlunit/util/StringUtils.java +++ b/src/main/java/org/htmlunit/util/StringUtils.java @@ -100,11 +100,7 @@ public static boolean startsWithIgnoreCase(final String s, final String expected } /** - * Escapes the characters '<', '>' and '&' into their XML entity equivalents. Note that - * sometimes we have to use this method instead of - * {@link org.apache.commons.lang3.StringEscapeUtils#escapeXml(String)} or - * {@link org.apache.commons.lang3.StringEscapeUtils#escapeHtml4(String)} because those methods - * escape some unicode characters as well. + * Escapes the characters '<', '>' and '&' into their XML entity equivalents. * * @param s the string to escape * @return the escaped form of the specified string @@ -114,6 +110,83 @@ public static String escapeXmlChars(final String s) { replaceEach(s, new String[] {"&", "<", ">"}, new String[] {"&", "<", ">"}); } + /** + * Escape the string to be used as xml 1.0 content be replacing the + * characters '"', '&', ''', '<', and '>' into their XML entity equivalents. + * @param text the attribute value + * @return the escaped value + */ + public static String escapeXml(final String text) { + if (text == null) { + return null; + } + + StringBuilder escaped = null; + + final int offset = 0; + final int max = text.length(); + + int readOffset = offset; + + for (int i = offset; i < max; i++) { + final int codepoint = Character.codePointAt(text, i); + final boolean codepointValid = supportedByXML10(codepoint); + + if (!codepointValid + || codepoint == '<' + || codepoint == '>' + || codepoint == '&' + || codepoint == '\'' + || codepoint == '"') { + + // replacement required + if (escaped == null) { + escaped = new StringBuilder(max); + } + + if (i > readOffset) { + escaped.append(text, readOffset, i); + } + + if (Character.charCount(codepoint) > 1) { + i++; + } + readOffset = i + 1; + + // skip + if (!codepointValid) { + continue; + } + + if (codepoint == '<') { + escaped.append("<"); + } + else if (codepoint == '>') { + escaped.append(">"); + } + else if (codepoint == '&') { + escaped.append("&"); + } + else if (codepoint == '\'') { + escaped.append("'"); + } + else if (codepoint == '\"') { + escaped.append("""); + } + } + } + + if (escaped == null) { + return text; + } + + if (max > readOffset) { + escaped.append(text, readOffset, max); + } + + return escaped.toString(); + } + /** * Escape the string to be used as attribute value. * Only {@code <}, {@code &} and {@code "} have to be escaped (see @@ -122,33 +195,96 @@ public static String escapeXmlChars(final String s) { * @return the escaped value */ public static String escapeXmlAttributeValue(final String attValue) { - final int len = attValue.length(); - StringBuilder sb = null; - for (int i = len - 1; i >= 0; --i) { - final char c = attValue.charAt(i); - String replacement = null; - if (c == '<') { - replacement = "<"; - } - else if (c == '&') { - replacement = "&"; - } - else if (c == '\"') { - replacement = """; - } + if (attValue == null) { + return null; + } + + StringBuilder escaped = null; + + final int offset = 0; + final int max = attValue.length(); + + int readOffset = offset; + + for (int i = offset; i < max; i++) { + final int codepoint = Character.codePointAt(attValue, i); + final boolean codepointValid = supportedByXML10(codepoint); + + if (!codepointValid + || codepoint == '<' + || codepoint == '&' + || codepoint == '"') { + + // replacement required + if (escaped == null) { + escaped = new StringBuilder(max); + } + + if (i > readOffset) { + escaped.append(attValue, readOffset, i); + } + + if (Character.charCount(codepoint) > 1) { + i++; + } + readOffset = i + 1; + + // skip + if (!codepointValid) { + continue; + } - if (replacement != null) { - if (sb == null) { - sb = new StringBuilder(attValue); + if (codepoint == '<') { + escaped.append("<"); + } + else if (codepoint == '&') { + escaped.append("&"); + } + else if (codepoint == '\"') { + escaped.append("""); } - sb.replace(i, i + 1, replacement); } } - if (sb != null) { - return sb.toString(); + if (escaped == null) { + return attValue; + } + + if (max > readOffset) { + escaped.append(attValue, readOffset, max); } - return attValue; + + return escaped.toString(); + } + + /* + * XML 1.0 does not allow control characters or unpaired Unicode surrogate codepoints. + * We will remove characters that do not fit in the following ranges: + * #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] + */ + private static boolean supportedByXML10(final int codepoint) { + if (codepoint < 0x20) { + return codepoint == 0x9 || codepoint == 0xA || codepoint == 0xD; + } + if (codepoint <= 0xD7FF) { + return true; + } + + if (codepoint < 0xE000) { + return false; + } + if (codepoint <= 0xFFFD) { + return true; + } + + if (codepoint < 0x10000) { + return false; + } + if (codepoint <= 0x10FFFF) { + return true; + } + + return true; } /** diff --git a/src/test/java/org/htmlunit/util/StringUtilsTest.java b/src/test/java/org/htmlunit/util/StringUtilsTest.java index 23cb3803556..b091bfae969 100644 --- a/src/test/java/org/htmlunit/util/StringUtilsTest.java +++ b/src/test/java/org/htmlunit/util/StringUtilsTest.java @@ -15,9 +15,12 @@ package org.htmlunit.util; import static java.nio.charset.StandardCharsets.UTF_8; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertThrows; -import org.htmlunit.SimpleWebTestCase; import org.htmlunit.html.impl.Color; import org.junit.Test; @@ -26,7 +29,7 @@ * * @author Ronald Brill */ -public class StringUtilsTest extends SimpleWebTestCase { +public class StringUtilsTest { /** * @throws Exception if the test fails @@ -199,4 +202,126 @@ public void stringToByteArray() throws Exception { assertEquals(8, result.length); assertEquals(104, result[0]); } + + /** + * @throws Exception if the test fails + */ + @Test + public void escapeXmlAttributeValue() throws Exception { + final StringBuilder sb = new StringBuilder(); + for (int i = 0; i < 1024; i++) { + sb.append((char) i); + } + + final StringBuilder expected = new StringBuilder("\t\n\r"); + for (int i = 32; i < 1024; i++) { + if (i == '&') { + expected.append("&"); + } + else if (i == '<') { + expected.append("<"); + } + else if (i == '"') { + expected.append("""); + } + else { + expected.append((char) i); + } + } + + assertEquals(expected.toString(), StringUtils.escapeXmlAttributeValue(sb.toString())); + } + + /** + * @throws Exception if the test fails + */ + @Test + public void escapeXmlAttributeValueBorderCases() throws Exception { + assertEquals(null, StringUtils.escapeXmlAttributeValue(null)); + assertEquals("", StringUtils.escapeXmlAttributeValue("")); + + // [#x20-#xD7FF] + assertEquals("", StringUtils.escapeXmlAttributeValue("\u001f")); + assertEquals("\u0020", StringUtils.escapeXmlAttributeValue("\u0020")); + assertEquals("\u0021", StringUtils.escapeXmlAttributeValue("\u0021")); + + assertEquals("\uD7FE", StringUtils.escapeXmlAttributeValue("\uD7FE")); + assertEquals("\uD7FF", StringUtils.escapeXmlAttributeValue("\uD7FF")); + assertEquals("", StringUtils.escapeXmlAttributeValue("\uD800")); + + // [#xE000-#xFFFD] + assertEquals("", StringUtils.escapeXmlAttributeValue("\uDFFF")); + assertEquals("\uE000", StringUtils.escapeXmlAttributeValue("\uE000")); + assertEquals("\uE001", StringUtils.escapeXmlAttributeValue("\uE001")); + + assertEquals("\uFFFC", StringUtils.escapeXmlAttributeValue("\uFFFC")); + assertEquals("\uFFFD", StringUtils.escapeXmlAttributeValue("\uFFFD")); + assertEquals("", StringUtils.escapeXmlAttributeValue("\uFFFE")); + + // [#x10000-#x10FFFF] + } + + /** + * @throws Exception if the test fails + */ + @Test + public void escapeXml() throws Exception { + final StringBuilder sb = new StringBuilder(); + for (int i = 0; i < 1024; i++) { + sb.append((char) i); + } + + final StringBuilder expected = new StringBuilder("\t\n\r"); + for (int i = 32; i < 1024; i++) { + if (i == '&') { + expected.append("&"); + } + else if (i == '<') { + expected.append("<"); + } + else if (i == '>') { + expected.append(">"); + } + else if (i == '\'') { + expected.append("'"); + } + else if (i == '"') { + expected.append("""); + } + else { + expected.append((char) i); + } + } + + assertEquals(expected.toString(), StringUtils.escapeXml(sb.toString())); + } + + /** + * @throws Exception if the test fails + */ + @Test + public void escapeXmlBorderCases() throws Exception { + assertEquals(null, StringUtils.escapeXml(null)); + assertEquals("", StringUtils.escapeXml("")); + + // [#x20-#xD7FF] + assertEquals("", StringUtils.escapeXml("\u001f")); + assertEquals("\u0020", StringUtils.escapeXml("\u0020")); + assertEquals("\u0021", StringUtils.escapeXml("\u0021")); + + assertEquals("\uD7FE", StringUtils.escapeXml("\uD7FE")); + assertEquals("\uD7FF", StringUtils.escapeXml("\uD7FF")); + assertEquals("", StringUtils.escapeXml("\uD800")); + + // [#xE000-#xFFFD] + assertEquals("", StringUtils.escapeXml("\uDFFF")); + assertEquals("\uE000", StringUtils.escapeXml("\uE000")); + assertEquals("\uE001", StringUtils.escapeXml("\uE001")); + + assertEquals("\uFFFC", StringUtils.escapeXml("\uFFFC")); + assertEquals("\uFFFD", StringUtils.escapeXml("\uFFFD")); + assertEquals("", StringUtils.escapeXml("\uFFFE")); + + // [#x10000-#x10FFFF] + } } From 1ffb453132f8956ab89175a24fe6adf83bdff037 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 2 Jan 2025 08:19:25 +0100 Subject: [PATCH 026/516] pmd 7.9.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0b3dee5317a..e31c44ab3e8 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ 10.21.2 4.8.6 - 7.8.0 + 7.9.0 4.13.2 1.3.0 10.0.4 From 2056b4dbd6cfa32079b3bd53a73bc3dd40a94496 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 2 Jan 2025 09:39:43 +0100 Subject: [PATCH 027/516] jdoc fix --- src/main/java/org/htmlunit/util/StringUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/util/StringUtils.java b/src/main/java/org/htmlunit/util/StringUtils.java index 77c6ac89434..f75b9cc2ff8 100644 --- a/src/main/java/org/htmlunit/util/StringUtils.java +++ b/src/main/java/org/htmlunit/util/StringUtils.java @@ -112,7 +112,7 @@ public static String escapeXmlChars(final String s) { /** * Escape the string to be used as xml 1.0 content be replacing the - * characters '"', '&', ''', '<', and '>' into their XML entity equivalents. + * characters '"', '&', ''', '<', and '>' into their XML entity equivalents. * @param text the attribute value * @return the escaped value */ From 7a3c32b354eaf9a90a9c7ae549aa6c7eb9694f62 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 2 Jan 2025 12:58:52 +0100 Subject: [PATCH 028/516] use java.util.Base64 --- .../host/WindowOrWorkerGlobalScopeMixin.java | 6 +++--- .../htmlunit/javascript/host/file/FileReader.java | 4 ++-- .../canvas/rendering/AwtRenderingBackend.java | 4 ++-- .../htmlunit/protocol/data/DataUrlDecoder.java | 15 +++++++-------- src/test/java/org/htmlunit/WebTestCase.java | 6 +++--- .../org/htmlunit/archunit/ArchitectureTest.java | 3 +-- 6 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java index 499e7c851bf..395a9d23790 100644 --- a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java +++ b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java @@ -16,8 +16,8 @@ import java.nio.charset.StandardCharsets; import java.util.Arrays; +import java.util.Base64; -import org.apache.commons.codec.binary.Base64; import org.htmlunit.Page; import org.htmlunit.WebWindow; import org.htmlunit.corejs.javascript.Context; @@ -63,7 +63,7 @@ public static String atob(final String encodedData) { } } final byte[] bytes = encodedData.getBytes(StandardCharsets.ISO_8859_1); - return new String(Base64.decodeBase64(bytes), StandardCharsets.ISO_8859_1); + return new String(Base64.getDecoder().decode(bytes), StandardCharsets.ISO_8859_1); } /** @@ -79,7 +79,7 @@ public static String btoa(final String stringToEncode) { } } final byte[] bytes = stringToEncode.getBytes(StandardCharsets.ISO_8859_1); - return new String(Base64.encodeBase64(bytes), StandardCharsets.UTF_8); + return new String(Base64.getEncoder().encode(bytes), StandardCharsets.UTF_8); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/file/FileReader.java b/src/main/java/org/htmlunit/javascript/host/file/FileReader.java index edb58ee1f7d..a2de02792e1 100644 --- a/src/main/java/org/htmlunit/javascript/host/file/FileReader.java +++ b/src/main/java/org/htmlunit/javascript/host/file/FileReader.java @@ -18,9 +18,9 @@ import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.charset.UnsupportedCharsetException; +import java.util.Base64; import java.util.Locale; -import org.apache.commons.codec.binary.Base64; import org.apache.commons.io.Charsets; import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; @@ -106,7 +106,7 @@ public void readAsDataURL(final Object object) throws IOException { result_ = DataURLConnection.DATA_PREFIX; final byte[] bytes = ((Blob) object).getBytes(); - final String value = new String(Base64.encodeBase64(bytes), StandardCharsets.US_ASCII); + final String value = new String(Base64.getEncoder().encode(bytes), StandardCharsets.US_ASCII); String contentType = ((Blob) object).getType(); if (StringUtils.isEmpty(contentType)) { diff --git a/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java b/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java index 8fae3f6ecb7..c2c93436740 100644 --- a/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java +++ b/src/main/java/org/htmlunit/platform/canvas/rendering/AwtRenderingBackend.java @@ -34,6 +34,7 @@ import java.nio.charset.StandardCharsets; import java.util.ArrayDeque; import java.util.ArrayList; +import java.util.Base64; import java.util.Deque; import java.util.HashMap; import java.util.List; @@ -43,7 +44,6 @@ import javax.imageio.ImageIO; import javax.imageio.ImageReader; -import org.apache.commons.codec.binary.Base64; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.htmlunit.platform.image.ImageIOImageData; @@ -537,7 +537,7 @@ public String encodeToString(final String type) throws IOException { ImageIO.write(image_, imageType, bos); final byte[] imageBytes = bos.toByteArray(); - return new String(Base64.encodeBase64(imageBytes), StandardCharsets.US_ASCII); + return new String(Base64.getEncoder().encode(imageBytes), StandardCharsets.US_ASCII); } } diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index e513aeaf7be..a1d73dde950 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -23,9 +23,8 @@ import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; import java.nio.charset.UnsupportedCharsetException; +import java.util.Base64; -import org.apache.commons.codec.DecoderException; -import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.StringUtils; import org.htmlunit.util.MimeType; @@ -93,11 +92,11 @@ public static DataUrlDecoder decodeDataURL(final String url) throws UnsupportedE byte[] data = url.substring(comma + 1).getBytes(charset); data = decodeUrl(data); if (base64) { - data = Base64.decodeBase64(data); + data = Base64.getDecoder().decode(data); } return new DataUrlDecoder(data, mediaType, charset); } - catch (final DecoderException e) { + catch (final IllegalArgumentException e) { final UnsupportedEncodingException ex = new UnsupportedEncodingException("Invalid data url: '" + url + "' (data decoding failed)"); ex.initCause(e); @@ -167,7 +166,7 @@ public String getDataAsString() throws UnsupportedEncodingException { } // adapted from apache commons codec - private static byte[] decodeUrl(final byte[] bytes) throws DecoderException { + private static byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentException { if (bytes == null) { return null; } @@ -181,7 +180,7 @@ private static byte[] decodeUrl(final byte[] bytes) throws DecoderException { buffer.write((char) ((u << 4) + l)); } catch (final ArrayIndexOutOfBoundsException e) { - throw new DecoderException("Invalid URL encoding: ", e); + throw new IllegalArgumentException("Invalid URL encoding: ", e); } } else { @@ -191,10 +190,10 @@ private static byte[] decodeUrl(final byte[] bytes) throws DecoderException { return buffer.toByteArray(); } - private static int digit16(final byte b) throws DecoderException { + private static int digit16(final byte b) throws IllegalArgumentException { final int i = Character.digit((char) b, 16); if (i == -1) { - throw new DecoderException("Invalid URL encoding: not a valid digit (radix 16): " + b); + throw new IllegalArgumentException("Invalid URL encoding: not a valid digit (radix 16): " + b); } return i; } diff --git a/src/test/java/org/htmlunit/WebTestCase.java b/src/test/java/org/htmlunit/WebTestCase.java index 9fdf2f2f21e..38b613befd8 100644 --- a/src/test/java/org/htmlunit/WebTestCase.java +++ b/src/test/java/org/htmlunit/WebTestCase.java @@ -29,6 +29,7 @@ import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; +import java.util.Base64; import java.util.List; import java.util.Locale; import java.util.Objects; @@ -36,7 +37,6 @@ import javax.imageio.ImageIO; -import org.apache.commons.codec.binary.Base64; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.SerializationUtils; import org.htmlunit.junit.RetryRule; @@ -553,7 +553,7 @@ protected String getFileContent(final String fileName) throws IOException { protected void compareImages(final String expected, final String current) throws IOException { final String currentBase64Image = current.split(",")[1]; - final byte[] currentImageBytes = Base64.decodeBase64(currentBase64Image); + final byte[] currentImageBytes = Base64.getDecoder().decode(currentBase64Image); try (ByteArrayInputStream currentBis = new ByteArrayInputStream(currentImageBytes)) { final BufferedImage currentImage = ImageIO.read(currentBis); @@ -565,7 +565,7 @@ protected void compareImages(final String expected, final String current) throws protected void compareImages(final String expected, final String current, final BufferedImage currentImage) throws IOException { final String expectedBase64Image = expected.split(",")[1]; - final byte[] expectedImageBytes = Base64.decodeBase64(expectedBase64Image); + final byte[] expectedImageBytes = Base64.getDecoder().decode(expectedBase64Image); try (ByteArrayInputStream expectedBis = new ByteArrayInputStream(expectedImageBytes)) { final BufferedImage expectedImage = ImageIO.read(expectedBis); diff --git a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java index d2ff1690a22..b0097dbea54 100644 --- a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java +++ b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java @@ -97,8 +97,7 @@ public class ArchitectureTest { public static final ArchRule jdkBase64Rule = noClasses() .that() .resideOutsideOfPackage("org.htmlunit.jetty..") - .and().resideOutsideOfPackage("org.htmlunit.csp..") - .should().dependOnClassesThat().haveFullyQualifiedName("java.util.Base64"); + .should().dependOnClassesThat().haveFullyQualifiedName("org.apache.commons.codec.binary.Base64"); /** From e1203b4780d6b714d29e5761ec0b5cd9c50126f9 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 2 Jan 2025 14:08:24 +0100 Subject: [PATCH 029/516] reduce dependencies --- pom.xml | 18 +-- src/changes/changes.xml | 3 + .../proxyautoconfig/ProxyAutoConfig.java | 4 +- .../protocol/data/DataUrlDecoder.java | 37 +---- .../java/org/htmlunit/util/SubnetUtils.java | 137 ++++++++++++++++++ src/main/java/org/htmlunit/util/UrlUtils.java | 97 ++++++++++++- 6 files changed, 238 insertions(+), 58 deletions(-) create mode 100644 src/main/java/org/htmlunit/util/SubnetUtils.java diff --git a/pom.xml b/pom.xml index e31c44ab3e8..56c4577ace0 100644 --- a/pom.xml +++ b/pom.xml @@ -26,9 +26,9 @@ 8 4.8.0-SNAPSHOT - 4.7.0 + 4.8.0-SNAPSHOT 4.7.0 - 4.7.0 + 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT 4.7.0 @@ -1204,10 +1204,6 @@ httpmime ${httpcomponents.version} - - commons-codec - commons-codec - commons-logging commons-logging @@ -1267,16 +1263,6 @@ commons-logging 1.3.4 - - commons-net - commons-net - 3.11.1 - - - commons-codec - commons-codec - 1.17.1 - org.brotli dec diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b3c8d8d398a..6885f62648b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Apache commons-net is no longer a runtime dependency. + Apache commons-text is no longer a runtime dependency. diff --git a/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java b/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java index f57e0157338..96eb64829cd 100644 --- a/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java +++ b/src/main/java/org/htmlunit/javascript/proxyautoconfig/ProxyAutoConfig.java @@ -21,11 +21,11 @@ import java.util.TimeZone; import org.apache.commons.lang3.StringUtils; -import org.apache.commons.net.util.SubnetUtils; import org.htmlunit.javascript.HtmlUnitScriptable; import org.htmlunit.javascript.JavaScriptEngine; import org.htmlunit.javascript.configuration.JsxClass; import org.htmlunit.javascript.configuration.JsxFunction; +import org.htmlunit.util.SubnetUtils; /** * Provides an implementation of Proxy Auto-Config (PAC). @@ -107,7 +107,7 @@ public static boolean isInNet(final String host, final String pattern, final Str } final SubnetUtils subnetUtils = new SubnetUtils(pattern, mask); - return subnetUtils.getInfo().isInRange(dnsResolve); + return subnetUtils.isInRange(dnsResolve); } /** diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index a1d73dde950..236aed510f2 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -17,7 +17,6 @@ import static java.nio.charset.StandardCharsets.US_ASCII; import static org.htmlunit.protocol.data.DataURLConnection.DATA_PREFIX; -import java.io.ByteArrayOutputStream; import java.io.UnsupportedEncodingException; import java.net.URL; import java.nio.charset.Charset; @@ -27,6 +26,7 @@ import org.apache.commons.lang3.StringUtils; import org.htmlunit.util.MimeType; +import org.htmlunit.util.UrlUtils; /** * Helper to work with data URLs. @@ -90,7 +90,7 @@ public static DataUrlDecoder decodeDataURL(final String url) throws UnsupportedE try { byte[] data = url.substring(comma + 1).getBytes(charset); - data = decodeUrl(data); + data = UrlUtils.decodeDataUrl(data); if (base64) { data = Base64.getDecoder().decode(data); } @@ -164,37 +164,4 @@ public byte[] getBytes() { public String getDataAsString() throws UnsupportedEncodingException { return new String(content_, charset_); } - - // adapted from apache commons codec - private static byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentException { - if (bytes == null) { - return null; - } - final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); - for (int i = 0; i < bytes.length; i++) { - final int b = bytes[i]; - if (b == '%') { - try { - final int u = digit16(bytes[++i]); - final int l = digit16(bytes[++i]); - buffer.write((char) ((u << 4) + l)); - } - catch (final ArrayIndexOutOfBoundsException e) { - throw new IllegalArgumentException("Invalid URL encoding: ", e); - } - } - else { - buffer.write(b); - } - } - return buffer.toByteArray(); - } - - private static int digit16(final byte b) throws IllegalArgumentException { - final int i = Character.digit((char) b, 16); - if (i == -1) { - throw new IllegalArgumentException("Invalid URL encoding: not a valid digit (radix 16): " + b); - } - return i; - } } diff --git a/src/main/java/org/htmlunit/util/SubnetUtils.java b/src/main/java/org/htmlunit/util/SubnetUtils.java new file mode 100644 index 00000000000..a08ba05c118 --- /dev/null +++ b/src/main/java/org/htmlunit/util/SubnetUtils.java @@ -0,0 +1,137 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.util; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Performs subnet calculations given a network address and a subnet mask. + * Inspired by org.apache.commons.net.util.SubnetUtils. + * + * @see "http://www.faqs.org/rfcs/rfc1519.html" + * + * @author Ronald Brill + */ +public class SubnetUtils { + + private static final String IP_ADDRESS = "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})"; + private static final Pattern ADDRESS_PATTERN = Pattern.compile(IP_ADDRESS); + private static final String PARSE_FAIL = "Could not parse [%s]"; + private static final long UNSIGNED_INT_MASK = 0x0FFFFFFFFL; + + private final int netmask_; + private final int address_; + private final int network_; + private final int broadcast_; + + /** + * Constructs an instance from a dotted decimal address and a dotted decimal mask. + * + * @param address An IP address, e.g. "192.168.0.1" + * @param mask A dotted decimal netmask e.g. "255.255.0.0" + * @throws IllegalArgumentException if the address or mask is invalid, i.e. does not match n.n.n.n where n=1-3 decimal digits and the mask is not all zeros + */ + public SubnetUtils(final String address, final String mask) { + address_ = toInteger(address); + netmask_ = toInteger(mask); + + if ((netmask_ & -netmask_) - 1 != ~netmask_) { + throw new IllegalArgumentException(String.format(PARSE_FAIL, mask)); + } + + network_ = address_ & netmask_; + broadcast_ = network_ | ~netmask_; + } + + /* + * Extracts the components of a dotted decimal address and pack into an integer using a regex match + */ + private static int matchAddress(final Matcher matcher) { + int addr = 0; + for (int i = 1; i <= 4; ++i) { + final int n = rangeCheck(Integer.parseInt(matcher.group(i)), 0, 255); + addr |= (n & 0xff) << 8 * (4 - i); + } + return addr; + } + + /* + * Checks integer boundaries. Checks if a value x is in the range [begin,end]. Returns x if it is in range, throws an exception otherwise. + */ + private static int rangeCheck(final int value, final int begin, final int end) { + // (begin,end] + if (value >= begin && value <= end) { + return value; + } + throw new IllegalArgumentException("Value [" + value + "] not in range [" + begin + "," + end + "]"); + } + + /* + * Converts a dotted decimal format address to a packed integer format + */ + private static int toInteger(final String address) { + final Matcher matcher = ADDRESS_PATTERN.matcher(address); + if (matcher.matches()) { + return matchAddress(matcher); + } + throw new IllegalArgumentException(String.format(PARSE_FAIL, address)); + } + + private long broadcastLong() { + return broadcast_ & UNSIGNED_INT_MASK; + } + + private int high() { + return broadcastLong() - networkLong() > 1 ? broadcast_ - 1 : 0; + } + + private int low() { + return broadcastLong() - networkLong() > 1 ? network_ + 1 : 0; + } + + /** Long versions of the values (as unsigned int) which are more suitable for range checking. */ + private long networkLong() { + return network_ & UNSIGNED_INT_MASK; + } + + /** + * Tests if the parameter address is in the range of usable endpoint addresses for this subnet. This excludes the network and broadcast + * addresses by default. Use {@link SubnetUtils#setInclusiveHostCount(boolean)} to change this. + * + * @param address the address to check + * @return true if it is in range + */ + private boolean isInRange(final int address) { + if (address == 0) { + return false; + } + final long addLong = address & UNSIGNED_INT_MASK; + final long lowLong = low() & UNSIGNED_INT_MASK; + final long highLong = high() & UNSIGNED_INT_MASK; + return addLong >= lowLong && addLong <= highLong; + } + + /** + * Tests if the parameter address is in the range of usable endpoint addresses for this subnet. This excludes the network and broadcast + * addresses. Use {@link SubnetUtils#setInclusiveHostCount(boolean)} to change this. + * + * @param address A dot-delimited IPv4 address, e.g. "192.168.0.1" + * @return true if in range, false otherwise + */ + public boolean isInRange(final String address) { + return isInRange(toInteger(address)); + } +} diff --git a/src/main/java/org/htmlunit/util/UrlUtils.java b/src/main/java/org/htmlunit/util/UrlUtils.java index f05c7b981be..729161d9e0b 100644 --- a/src/main/java/org/htmlunit/util/UrlUtils.java +++ b/src/main/java/org/htmlunit/util/UrlUtils.java @@ -17,6 +17,7 @@ import static java.nio.charset.StandardCharsets.US_ASCII; import static java.nio.charset.StandardCharsets.UTF_8; +import java.io.ByteArrayOutputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URI; @@ -29,8 +30,6 @@ import java.util.Locale; import java.util.Objects; -import org.apache.commons.codec.DecoderException; -import org.apache.commons.codec.net.URLCodec; import org.htmlunit.WebAssert; import org.htmlunit.protocol.AnyHandler; import org.htmlunit.protocol.javascript.JavaScriptURLConnection; @@ -347,10 +346,10 @@ public static String encodeQuery(final String query) { public static String decode(final String escaped) { try { final byte[] bytes = escaped.getBytes(US_ASCII); - final byte[] bytes2 = URLCodec.decodeUrl(bytes); + final byte[] bytes2 = decodeUrl(bytes); return new String(bytes2, UTF_8); } - catch (final DecoderException e) { + catch (final IllegalArgumentException e) { // Should never happen. throw new RuntimeException(e); } @@ -366,7 +365,7 @@ public static String decode(final String escaped) { */ private static String encode(final String unescaped, final BitSet allowed, final Charset charset) { final byte[] bytes = unescaped.getBytes(charset); - final byte[] bytes2 = URLCodec.encodeUrl(allowed, bytes); + final byte[] bytes2 = encodeUrl(allowed, bytes); return encodePercentSign(bytes2); } @@ -1380,4 +1379,92 @@ public static URL removeRedundantPort(final URL url) throws MalformedURLExceptio return url; } + // adapted from apache commons codec + public static byte[] decodeDataUrl(final byte[] bytes) throws IllegalArgumentException { + if (bytes == null) { + return null; + } + final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); + for (int i = 0; i < bytes.length; i++) { + final int b = bytes[i]; + if (b == '%') { + try { + final int u = digit16(bytes[++i]); + final int l = digit16(bytes[++i]); + buffer.write((char) ((u << 4) + l)); + } + catch (final ArrayIndexOutOfBoundsException e) { + throw new IllegalArgumentException("Invalid URL encoding: ", e); + } + } + else { + buffer.write(b); + } + } + return buffer.toByteArray(); + } + + public static final byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentException { + if (bytes == null) { + return null; + } + final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); + for (int i = 0; i < bytes.length; i++) { + final int b = bytes[i]; + if (b == '+') { + buffer.write(' '); + } else if (b == '%') { + try { + final int u = digit16(bytes[++i]); + final int l = digit16(bytes[++i]); + buffer.write((char) ((u << 4) + l)); + } catch (final ArrayIndexOutOfBoundsException e) { + throw new IllegalArgumentException("Invalid URL encoding: ", e); + } + } else { + buffer.write(b); + } + } + return buffer.toByteArray(); + } + + private static int digit16(final byte b) throws IllegalArgumentException { + final int i = Character.digit((char) b, 16); + if (i == -1) { + throw new IllegalArgumentException("Invalid URL encoding: not a valid digit (radix 16): " + b); + } + return i; + } + + // adapted from apache commons codec + public static final byte[] encodeUrl(BitSet urlsafe, final byte[] bytes) { + if (bytes == null) { + return null; + } + + final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); + for (final byte c : bytes) { + int b = c; + if (b < 0) { + b = 256 + b; + } + if (urlsafe.get(b)) { + if (b == ' ') { + b = '+'; + } + buffer.write(b); + } else { + buffer.write('%'); + final char hex1 = hexDigit(b >> 4); + final char hex2 = hexDigit(b); + buffer.write(hex1); + buffer.write(hex2); + } + } + return buffer.toByteArray(); + } + + private static char hexDigit(final int b) { + return Character.toUpperCase(Character.forDigit(b & 0xF, 16)); + } } From 664fbdc720c5560cb16141064fed65867171c4a0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 2 Jan 2025 16:41:41 +0100 Subject: [PATCH 030/516] commons codec is still needed --- pom.xml | 9 +++++++++ .../java/org/htmlunit/protocol/data/DataUrlDecoder.java | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 56c4577ace0..45c42d209c3 100644 --- a/pom.xml +++ b/pom.xml @@ -1204,6 +1204,10 @@ httpmime ${httpcomponents.version} + + commons-codec + commons-codec + commons-logging commons-logging @@ -1263,6 +1267,11 @@ commons-logging 1.3.4 + + commons-codec + commons-codec + 1.17.1 + org.brotli dec diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index 236aed510f2..1c1018ec96f 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -22,8 +22,8 @@ import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; import java.nio.charset.UnsupportedCharsetException; -import java.util.Base64; +import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.StringUtils; import org.htmlunit.util.MimeType; import org.htmlunit.util.UrlUtils; @@ -92,7 +92,8 @@ public static DataUrlDecoder decodeDataURL(final String url) throws UnsupportedE byte[] data = url.substring(comma + 1).getBytes(charset); data = UrlUtils.decodeDataUrl(data); if (base64) { - data = Base64.getDecoder().decode(data); + // the commons codec decoder skip's invalid chars + data = Base64.decodeBase64(data); } return new DataUrlDecoder(data, mediaType, charset); } From 9a40459ddbda488d5516bcccae6049dad17ddf1d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 3 Jan 2025 11:47:05 +0100 Subject: [PATCH 031/516] fix arch unit tests --- src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java | 1 - src/test/java/org/htmlunit/archunit/ArchitectureTest.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index 1c1018ec96f..15891265ecd 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -24,7 +24,6 @@ import java.nio.charset.UnsupportedCharsetException; import org.apache.commons.codec.binary.Base64; -import org.apache.commons.lang3.StringUtils; import org.htmlunit.util.MimeType; import org.htmlunit.util.UrlUtils; diff --git a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java index b0097dbea54..4e47a3e66e9 100644 --- a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java +++ b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java @@ -97,6 +97,7 @@ public class ArchitectureTest { public static final ArchRule jdkBase64Rule = noClasses() .that() .resideOutsideOfPackage("org.htmlunit.jetty..") + .and().doNotHaveFullyQualifiedName("org.htmlunit.protocol.data.DataUrlDecoder") .should().dependOnClassesThat().haveFullyQualifiedName("org.apache.commons.codec.binary.Base64"); From 97938e3f1c153246f9f49a1f57f562f77d8ac187 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 3 Jan 2025 11:59:00 +0100 Subject: [PATCH 032/516] checkstyle --- .../htmlunit/protocol/data/DataUrlDecoder.java | 1 + src/main/java/org/htmlunit/util/UrlUtils.java | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java index 15891265ecd..1c1018ec96f 100644 --- a/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java +++ b/src/main/java/org/htmlunit/protocol/data/DataUrlDecoder.java @@ -24,6 +24,7 @@ import java.nio.charset.UnsupportedCharsetException; import org.apache.commons.codec.binary.Base64; +import org.apache.commons.lang3.StringUtils; import org.htmlunit.util.MimeType; import org.htmlunit.util.UrlUtils; diff --git a/src/main/java/org/htmlunit/util/UrlUtils.java b/src/main/java/org/htmlunit/util/UrlUtils.java index 729161d9e0b..226ec5c5faa 100644 --- a/src/main/java/org/htmlunit/util/UrlUtils.java +++ b/src/main/java/org/htmlunit/util/UrlUtils.java @@ -1404,7 +1404,7 @@ public static byte[] decodeDataUrl(final byte[] bytes) throws IllegalArgumentExc return buffer.toByteArray(); } - public static final byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentException { + public static byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentException { if (bytes == null) { return null; } @@ -1413,15 +1413,18 @@ public static final byte[] decodeUrl(final byte[] bytes) throws IllegalArgumentE final int b = bytes[i]; if (b == '+') { buffer.write(' '); - } else if (b == '%') { + } + else if (b == '%') { try { final int u = digit16(bytes[++i]); final int l = digit16(bytes[++i]); buffer.write((char) ((u << 4) + l)); - } catch (final ArrayIndexOutOfBoundsException e) { + } + catch (final ArrayIndexOutOfBoundsException e) { throw new IllegalArgumentException("Invalid URL encoding: ", e); } - } else { + } + else { buffer.write(b); } } @@ -1437,7 +1440,7 @@ private static int digit16(final byte b) throws IllegalArgumentException { } // adapted from apache commons codec - public static final byte[] encodeUrl(BitSet urlsafe, final byte[] bytes) { + public static byte[] encodeUrl(final BitSet urlsafe, final byte[] bytes) { if (bytes == null) { return null; } @@ -1453,7 +1456,8 @@ public static final byte[] encodeUrl(BitSet urlsafe, final byte[] bytes) { b = '+'; } buffer.write(b); - } else { + } + else { buffer.write('%'); final char hex1 = hexDigit(b >> 4); final char hex2 = hexDigit(b); From ca2487f25705dc138618263c4b48dfdf92c2e1ab Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 8 Jan 2025 13:49:48 +0100 Subject: [PATCH 033/516] upgrade commons-codec to 1.17.2 --- pom.xml | 2 +- src/changes/changes.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 45c42d209c3..83d6db68bbe 100644 --- a/pom.xml +++ b/pom.xml @@ -1270,7 +1270,7 @@ commons-codec commons-codec - 1.17.1 + 1.17.2 org.brotli diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6885f62648b..efc685193d7 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Upgrade commons-codec to 1.17.2. + Apache commons-net is no longer a runtime dependency. From 3e9b0eb0feee074fc76f45f673cb326dde979221 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 9 Jan 2025 15:20:37 +0100 Subject: [PATCH 034/516] jetty updated to 9.4.57.v20241219 --- pom.xml | 4 ++-- src/changes/changes.xml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 83d6db68bbe..0c22b04c86e 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ 4.7.0 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT - 4.7.0 + 4.8.0-SNAPSHOT 4.5.14 @@ -38,7 +38,7 @@ 4.27.0 selenium-devtools-v131 - 9.4.56.v20240826 + 9.4.57.v20241219 2.24.3 2.0.16 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index efc685193d7..2af80bac6c4 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,15 @@ + + websocket-client: jetty updated to 9.4.57.v20241219. + + + core-js: add an empty slot map (singleton) for cases where no slots exist; this should reduce the memory needed a bit + + + core-js: methods cannot be used as constructor fixed + Upgrade commons-codec to 1.17.2. From 6a473f0480a2324bcce61286e687c24502ad4bc8 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 11:36:40 +0100 Subject: [PATCH 035/516] document last css work --- src/changes/changes.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2af80bac6c4..f36fdd1a312 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,18 @@ + + cssparser: support plain color definitions with var/calc. + + + cssparser: 'and' is a valid class name. + + + cssparser: support relative color definitions. + + + cssparser: support 'none' in color definitions. + websocket-client: jetty updated to 9.4.57.v20241219. From d44f44ea1adc7806496bcb15f45a2a00a4c64e83 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 11:36:50 +0100 Subject: [PATCH 036/516] latest neko --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0c22b04c86e..2ad5975bc1e 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT - 4.7.0 + 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT 4.8.0-SNAPSHOT From 0ef820d529f8dbe1f4bbfc38b35b5c445715c93d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 12:27:26 +0100 Subject: [PATCH 037/516] fail faster --- .../java/org/htmlunit/CookieManager4Test.java | 11 +++++++ .../java/org/htmlunit/CookieManager5Test.java | 29 ++++++++++++------- .../java/org/htmlunit/WebServerTestCase.java | 2 +- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/test/java/org/htmlunit/CookieManager4Test.java b/src/test/java/org/htmlunit/CookieManager4Test.java index 50ec34e77ca..bdc7de17b17 100644 --- a/src/test/java/org/htmlunit/CookieManager4Test.java +++ b/src/test/java/org/htmlunit/CookieManager4Test.java @@ -1151,4 +1151,15 @@ public void sameSiteIFrameFromSubDomain() throws Exception { assertEquals("unknown", mgr.getCookie("c5").getSameSite()); } } + + @Override + protected final WebDriver getWebDriver() { + final WebDriver driver = super.getWebDriver(); + if (driver instanceof HtmlUnitDriver) { + // set timeout to fail fast when the url not mapped + ((HtmlUnitDriver) driver).getWebClient().getOptions().setTimeout(1000); + } + + return driver; + } } diff --git a/src/test/java/org/htmlunit/CookieManager5Test.java b/src/test/java/org/htmlunit/CookieManager5Test.java index 19f53a7d7d6..f8fdc73d30c 100644 --- a/src/test/java/org/htmlunit/CookieManager5Test.java +++ b/src/test/java/org/htmlunit/CookieManager5Test.java @@ -172,16 +172,25 @@ public void updateCookieExpires() throws Exception { servlets.put(SetCookieExpires1000Servlet.URL, SetCookieExpires1000Servlet.class); startWebServer("./", null, servlets); - final WebClient webClient = getWebClient(); - webClient.getPage("http://localhost:" + PORT + SetCookieExpires10Servlet.URL); - assertEquals(1, webClient.getCookieManager().getCookies().size()); - Cookie cookie = webClient.getCookieManager().getCookies().iterator().next(); - assertFalse("" + cookie.getExpires(), cookie.getExpires().after(date)); - - webClient.getPage("http://localhost:" + PORT + SetCookieExpires1000Servlet.URL); - assertEquals(1, webClient.getCookieManager().getCookies().size()); - cookie = webClient.getCookieManager().getCookies().iterator().next(); - assertTrue("" + cookie.getExpires(), cookie.getExpires().after(date)); + try (WebClient webClient = getWebClient()) { + webClient.getPage("http://localhost:" + PORT + SetCookieExpires10Servlet.URL); + assertEquals(1, webClient.getCookieManager().getCookies().size()); + Cookie cookie = webClient.getCookieManager().getCookies().iterator().next(); + assertFalse("" + cookie.getExpires(), cookie.getExpires().after(date)); + + webClient.getPage("http://localhost:" + PORT + SetCookieExpires1000Servlet.URL); + assertEquals(1, webClient.getCookieManager().getCookies().size()); + cookie = webClient.getCookieManager().getCookies().iterator().next(); + assertTrue("" + cookie.getExpires(), cookie.getExpires().after(date)); + } + } + + @Override + protected WebClient getWebClient() { + final WebClient webClient = super.getWebClient(); + // set timeout to fail fast when the url not mapped + webClient.getOptions().setTimeout(1000); + return webClient; } /** diff --git a/src/test/java/org/htmlunit/WebServerTestCase.java b/src/test/java/org/htmlunit/WebServerTestCase.java index ae4209c4dd2..cf55669d921 100644 --- a/src/test/java/org/htmlunit/WebServerTestCase.java +++ b/src/test/java/org/htmlunit/WebServerTestCase.java @@ -493,7 +493,7 @@ protected SslConnectionFactory getSslConnectionFactory() { * Returns the WebClient instance for the current test with the current {@link BrowserVersion}. * @return a WebClient with the current {@link BrowserVersion} */ - protected final WebClient getWebClient() { + protected WebClient getWebClient() { if (webClient_ == null) { webClient_ = new WebClient(getBrowserVersion()); webClient_.setAlertHandler(alertHandler_); From 53e9727bd6edb881ecf9a0f90c1be77bc58839e3 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 12:49:04 +0100 Subject: [PATCH 038/516] refactor for better timeout handling --- .../java/org/htmlunit/CookieManager4Test.java | 41 +++++++++++++++++ .../java/org/htmlunit/CookieManagerTest.java | 44 ------------------- 2 files changed, 41 insertions(+), 44 deletions(-) diff --git a/src/test/java/org/htmlunit/CookieManager4Test.java b/src/test/java/org/htmlunit/CookieManager4Test.java index bdc7de17b17..533bfc1a73d 100644 --- a/src/test/java/org/htmlunit/CookieManager4Test.java +++ b/src/test/java/org/htmlunit/CookieManager4Test.java @@ -1152,6 +1152,47 @@ public void sameSiteIFrameFromSubDomain() throws Exception { } } + /** + * Test for issue #270. + * @throws Exception in case of error + */ + @Test + @Alerts("JDSessionID=1234567890") + public void issue270() throws Exception { + final List responseHeader1 = new ArrayList<>(); + responseHeader1.add(new NameValuePair("Set-Cookie", "first=1; path=/c")); + + final String html = "\n" + + "\n" + + "\n" + + ""; + + final URL firstUrl = new URL(URL_HOST1); + getMockWebConnection().setResponse(firstUrl, html); + loadPage2(html, firstUrl); + + loadPage2(HTML_ALERT_COOKIE, firstUrl); + verifyTitle2(getWebDriver(), getExpectedAlerts()); + } + @Override protected final WebDriver getWebDriver() { final WebDriver driver = super.getWebDriver(); diff --git a/src/test/java/org/htmlunit/CookieManagerTest.java b/src/test/java/org/htmlunit/CookieManagerTest.java index 52c7aa89420..67eaec733c6 100644 --- a/src/test/java/org/htmlunit/CookieManagerTest.java +++ b/src/test/java/org/htmlunit/CookieManagerTest.java @@ -808,48 +808,4 @@ public void cookieSetFromJSWithoutPathUsesCurrentLocation2() throws Exception { loadPage2(firstUrl, StandardCharsets.ISO_8859_1); verifyTitle2(getWebDriver(), getExpectedAlerts()); } - - /** - * Test for issue #270. - * @throws Exception in case of error - * - * This requires an entry in your hosts file - * 127.0.0.1 host1.htmlunit.org - */ - @Test - @Alerts("JDSessionID=1234567890") - public void issue270() throws Exception { - final List responseHeader1 = new ArrayList<>(); - responseHeader1.add(new NameValuePair("Set-Cookie", "first=1; path=/c")); - - final String html = "\n" - + "\n" - + "\n" - + ""; - - final URL firstUrl = new URL("http://host1.htmlunit.org:" + PORT + "/"); - getMockWebConnection().setResponse(firstUrl, html); - loadPage2(html, firstUrl); - - loadPage2(HTML_ALERT_COOKIE, firstUrl); - verifyTitle2(getWebDriver(), getExpectedAlerts()); - } } From 7a2873b3b1120094da55893f2e03bc5d1c34de6a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 16:16:30 +0100 Subject: [PATCH 039/516] better kill testing --- .../background/DefaultJavaScriptExecutor.java | 10 ++++- .../javascript/JavaScriptEngineTest.java | 38 +++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java b/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java index 22d8a3a1edc..aeb731f6779 100644 --- a/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java +++ b/src/main/java/org/htmlunit/javascript/background/DefaultJavaScriptExecutor.java @@ -102,7 +102,13 @@ private void killThread() { } // Stop the thread - eventLoopThread_.stop(); + try { + eventLoopThread_.stop(); + } + catch (final Exception e) { + LOG.warn("JS thread did not interrupt after 10s, maybe there is an endless loop." + + "Please consider setting an JavaScriptTimeout for the WebClient.", e); + } } } @@ -174,6 +180,8 @@ public void run() { catch (final InterruptedException e) { // restore interrupted status Thread.currentThread().interrupt(); + + break; } } } diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java index 45615879730..59eded705db 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java @@ -1182,6 +1182,44 @@ public void shutdownShouldKill() throws Exception { + ""; try (WebClient webClient = getWebClient()) { + // there is no way to kill a thread in later JDK's + // to make the test running we need a final timeout for js stuff + webClient.setJavaScriptTimeout(DEFAULT_WAIT_TIME * 20); + + final List collectedAlerts = new ArrayList<>(); + webClient.setAlertHandler(new CollectingAlertHandler(collectedAlerts)); + + loadPage(html); + Thread.sleep(100); + assertEquals(getExpectedAlerts(), collectedAlerts); + + } + Thread.sleep(400); + assertTrue(getJavaScriptThreads().isEmpty()); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Retry + @Alerts("starting") + public void shutdownShouldKillJavaScriptTimeout() throws Exception { + final String html = "\n" + + "Test page\n" + + "\n" + + "\n" + + "\n" + + ""; + + try (WebClient webClient = getWebClient()) { + webClient.setJavaScriptTimeout(DEFAULT_WAIT_TIME); + final List collectedAlerts = new ArrayList<>(); webClient.setAlertHandler(new CollectingAlertHandler(collectedAlerts)); From 932df0fac15a9ed148190d0b4e9bee9db89e9a14 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 16:51:05 +0100 Subject: [PATCH 040/516] fix javadoc --- src/main/java/org/htmlunit/util/SubnetUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/htmlunit/util/SubnetUtils.java b/src/main/java/org/htmlunit/util/SubnetUtils.java index a08ba05c118..527e0c12c0a 100644 --- a/src/main/java/org/htmlunit/util/SubnetUtils.java +++ b/src/main/java/org/htmlunit/util/SubnetUtils.java @@ -125,8 +125,8 @@ private boolean isInRange(final int address) { } /** - * Tests if the parameter address is in the range of usable endpoint addresses for this subnet. This excludes the network and broadcast - * addresses. Use {@link SubnetUtils#setInclusiveHostCount(boolean)} to change this. + * Tests if the parameter address is in the range of usable endpoint addresses for this subnet. + * This excludes the network and broadcast addresses. * * @param address A dot-delimited IPv4 address, e.g. "192.168.0.1" * @return true if in range, false otherwise From 0d911759bdc38bf466ffffc247c737411eef5cc0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 17:11:09 +0100 Subject: [PATCH 041/516] remove sysout --- .../java/org/htmlunit/javascript/host/crypto/CryptoTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 8665d6d610f..7b3658018c7 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -102,7 +102,6 @@ public void randomUUID() throws Exception { final WebDriver driver = loadPage2(html); final String title = driver.getTitle(); - System.out.println(title); assertTrue(title, title.matches(getExpectedAlerts()[0])); } From 33b9f3a57c1e82207de346dae77363b6604d1de6 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 10 Jan 2025 19:04:49 +0100 Subject: [PATCH 042/516] fix checkstyle dep --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2ad5975bc1e..05df2042465 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 2.0.16 - 10.21.2 + 10.21.1 4.8.6 7.9.0 4.13.2 From e151c3b7ffbc8811f5f1b1c1fceeca229e97409f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 11:13:10 +0100 Subject: [PATCH 043/516] use first release builds --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 05df2042465..1da9954e127 100644 --- a/pom.xml +++ b/pom.xml @@ -26,11 +26,11 @@ 8 4.8.0-SNAPSHOT - 4.8.0-SNAPSHOT + 4.8.0 4.8.0-SNAPSHOT - 4.8.0-SNAPSHOT + 4.8.0 4.8.0-SNAPSHOT - 4.8.0-SNAPSHOT + 4.8.0 4.5.14 From b62c0e6ce3d9d7cfac86ac4e1c1d28ba5d9554f2 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 11:45:04 +0100 Subject: [PATCH 044/516] more release builds --- pom.xml | 4 ++-- src/changes/changes.xml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 1da9954e127..69c5e052a19 100644 --- a/pom.xml +++ b/pom.xml @@ -25,11 +25,11 @@ 8 8 - 4.8.0-SNAPSHOT + 4.8.0 4.8.0 4.8.0-SNAPSHOT 4.8.0 - 4.8.0-SNAPSHOT + 4.8.0 4.8.0 4.5.14 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index f36fdd1a312..2c8c92cf99e 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -17,9 +17,6 @@ cssparser: support relative color definitions. - - cssparser: support 'none' in color definitions. - websocket-client: jetty updated to 9.4.57.v20241219. From a57fe1850e326b527e64e27656307d14985f418e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 13:39:53 +0100 Subject: [PATCH 045/516] xml typo --- src/site/fml/faq.fml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index c0e1d5b3ef4..9b9b7e1fc4e 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -337,9 +337,9 @@ INFO: Redirect requested but followRedirects is disabled

      Make sure

        -
      1. that you are using the latest version of HtmlUnit, and -
      2. that you are calling WebClient.close() (or use try-with-resources) when you are finished with your WebClient instance. -
          +
        1. that you are using the latest version of HtmlUnit, and
        2. +
        3. that you are calling WebClient.close() (or use try-with-resources) when you are finished with your WebClient instance.
        4. +

        Like real browsers HtmlUnit maintains a history for every window to be able to support the back() action. If you don't need this From 54e0b8fa109c856ce625b32f73ad83e6185e6e1f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 13:40:13 +0100 Subject: [PATCH 046/516] ignore owasp 12 --- src/test/java/org/htmlunit/ExternalTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 3d6b5383d03..2cac8dcd0c4 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -339,9 +339,9 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI return true; } - // 11.x requires java11 + // >= 11.x requires java11 if ("org.owasp".equals(groupId) - && version.startsWith("11.")) { + && (version.startsWith("11.") || version.startsWith("12."))) { return true; } From f33c7c39ab9eb6a605990458fc3e1e83f5bb350c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 13:40:27 +0100 Subject: [PATCH 047/516] version 4.8.0 --- README.md | 19 +++++++------------ pom.xml | 4 ++-- src/changes/changes.xml | 2 +- src/site/xdoc/index.xml | 6 +++--- 4 files changed, 13 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 031d258e762..31f3b72101a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ![HtmlUnit Logo](https://github.com/HtmlUnit/htmlunit/blob/master/src/site/resources/images/htmlunit.png) -Version 4.7.0 / November 29, 2024 +Version 4.8.0 / January 12, 2025 :heart: [Sponsor](https://github.com/sponsors/rbri) @@ -15,9 +15,7 @@ Version 4.7.0 / November 29, 2024 **[Developer Blog](https://htmlunit.github.io/htmlunit-blog/)** -[HtmlUnit@mastodon][13] | [HtmlUnit@Twitter][3] - -[HtmlUnit Kanban Board][6] +[HtmlUnit@mastodon](https://fosstodon.org/@HtmlUnit) | [HtmlUnit@bsky](https://bsky.app/profile/htmlunit.bsky.social) | [HtmlUnit@Twitter](https://twitter.com/HtmlUnit) > **Check out HtmlUnit [satellite projects](https://github.com/orgs/HtmlUnit/repositories)**, such as: @@ -53,7 +51,7 @@ Add to your `pom.xml`: org.htmlunit htmlunit - 4.7.0 + 4.8.0 ``` @@ -62,7 +60,7 @@ Add to your `pom.xml`: Add to your `build.gradle`: ```groovy -implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.7.0' +implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.8.0' ``` ## Vulnerabilities @@ -164,7 +162,7 @@ Add the snapshot repository and dependency to your `pom.xml`: org.htmlunit htmlunit - 4.8.0-SNAPSHOT + 4.9.0-SNAPSHOT @@ -183,7 +181,7 @@ repositories { } // ... dependencies { - implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.8.0-SNAPSHOT' + implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.9.0-SNAPSHOT' // ... } ``` @@ -229,15 +227,12 @@ Please try to keep your pull requests small (don't bundle unrelated changes) and [1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/4.1.0/ "HtmlUnit on sourceforge" [2]: https://jenkins.wetator.org/view/HtmlUnit/ "HtmlUnit CI" -[3]: https://twitter.com/HtmlUnit "https://twitter.com/HtmlUnit" [4]: https://www.htmlunit.org "https://www.htmlunit.org" [5]: https://www.openhub.net/p/HtmlUnit "https://www.openhub.net/p/HtmlUnit" -[6]: https://github.com/HtmlUnit/htmlunit/projects/1 "https://github.com/HtmlUnit/htmlunit/projects/1" [7]: https://www.htmlunit.org/gettingStarted.html [8]: https://www.scrapingbee.com/java-webscraping-book/ [9]: https://www.innoq.com/en/blog/webscraping/ [10]: https://www.webscrapingapi.com/java-web-scraping/ [11]: http://www.mastertheboss.com/java-ee/jsf/how-to-test-jakarta-faces-with-htmlunit-and-arquillian [12]: https://github.com/HtmlUnit/htmlunit/releases -[13]: https://fosstodon.org/@HtmlUnit -[14]: https://webscraping.ai/faq/htmlunit \ No newline at end of file +[13]: https://webscraping.ai/faq/htmlunit \ No newline at end of file diff --git a/pom.xml b/pom.xml index 69c5e052a19..1838413f2c9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit htmlunit - 4.8.0-SNAPSHOT + 4.8.0 HtmlUnit Gargoyle Software Inc. @@ -27,7 +27,7 @@ 4.8.0 4.8.0 - 4.8.0-SNAPSHOT + 4.8.0 4.8.0 4.8.0 4.8.0 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2c8c92cf99e..c383175d285 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,7 +7,7 @@ - + cssparser: support plain color definitions with var/calc. diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 822ca00dd26..ef3136d9d03 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -83,9 +83,9 @@

        -
        Latest release November 29, 2024
        +
        Latest release January 12, 2025
        -

        version 4.7.0

        +

        version 4.8.0

        Source code
        @@ -210,7 +210,7 @@ org.htmlunit htmlunit - 4.7.0 + 4.8.0 ]]>

        From e214a21d2a6dc971b3cc8c1948dd06d366b21fe5 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 12 Jan 2025 18:12:52 +0100 Subject: [PATCH 048/516] start working on 4.9.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1838413f2c9..bb61bbbe144 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit htmlunit - 4.8.0 + 4.9.0-SNAPSHOT HtmlUnit Gargoyle Software Inc. From 3ce9948dac9e31697e2f8cd215bdc183e53f79b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 12:39:43 +0000 Subject: [PATCH 049/516] Bump actions/setup-java from 4.5.0 to 4.6.0 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.5.0 to 4.6.0. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/8df1039502a15bceb9433410b1a100fbe190c53b...7a6d8a8234af8eb26422e24e3006232cccaa061b) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/checkstyle.yml | 2 +- .github/workflows/maven.yml | 2 +- .github/workflows/pmd.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 594e9878e8d..205db2f9460 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set up JDK - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: java-version: 21 distribution: 'temurin' diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e0c5c1693ce..c557dc66663 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set up JDK ${{ matrix.Java }} - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: java-version: ${{ matrix.Java }} distribution: 'temurin' diff --git a/.github/workflows/pmd.yml b/.github/workflows/pmd.yml index b5f1a3d3c9f..9aaf21e9ff6 100644 --- a/.github/workflows/pmd.yml +++ b/.github/workflows/pmd.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set up JDK - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: java-version: 21 distribution: 'temurin' From 88dba24ff93aedf496bed1a813f9483b612b0502 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 13 Jan 2025 10:25:28 +0100 Subject: [PATCH 050/516] add a quill test (not working at the moment) --- .../org/htmlunit/libraries/QuillTest.java | 89 +++++++++++++++++++ .../resources/libraries/quill/QuillTest.html | 38 ++++++++ src/test/resources/libraries/quill/quill.js | 3 + .../resources/libraries/quill/quill.snow.css | 10 +++ 4 files changed, 140 insertions(+) create mode 100644 src/test/java/org/htmlunit/libraries/QuillTest.java create mode 100644 src/test/resources/libraries/quill/QuillTest.html create mode 100644 src/test/resources/libraries/quill/quill.js create mode 100644 src/test/resources/libraries/quill/quill.snow.css diff --git a/src/test/java/org/htmlunit/libraries/QuillTest.java b/src/test/java/org/htmlunit/libraries/QuillTest.java new file mode 100644 index 00000000000..586b21a9d11 --- /dev/null +++ b/src/test/java/org/htmlunit/libraries/QuillTest.java @@ -0,0 +1,89 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.libraries; + +import java.net.URL; + +import org.eclipse.jetty.server.Server; +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.WebServerTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; + +/** + * Tests for https://github.com/slab/quill. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class QuillTest extends WebDriverTestCase { + + /** The server. */ + protected static Server SERVER_; + + /** + * @throws Exception if an error occurs + */ + @BeforeClass + public static void startSesrver() throws Exception { + SERVER_ = WebServerTestCase.createWebServer("src/test/resources/libraries/quill/", null); + } + + /** + * @throws Exception if an error occurs + */ + @AfterClass + public static void stopServer() throws Exception { + if (SERVER_ != null) { + SERVER_.stop(); + SERVER_.destroy(); + SERVER_ = null; + } + } + + /** + * @return the resource base URL + */ + protected URL getBaseUrl() { + return URL_FIRST; + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("Bold Italic\\nHello World!\\nSome initial bold text") + @HtmlUnitNYI + public void basic() throws Exception { + // fails because the lib uses classes + doTest("QuillTest.html"); + } + + private void doTest(final String filename) throws Exception { + final WebDriver driver = getWebDriver(); + driver.get(getBaseUrl() + filename); + + String content = driver.findElement(By.tagName("body")).getText(); + content = content.replace("\r", "").replace("\n", "\\n"); + assertEquals(getExpectedAlerts()[0], content); + } +} diff --git a/src/test/resources/libraries/quill/QuillTest.html b/src/test/resources/libraries/quill/QuillTest.html new file mode 100644 index 00000000000..e8143ac940f --- /dev/null +++ b/src/test/resources/libraries/quill/QuillTest.html @@ -0,0 +1,38 @@ + + + + QuillTest + + + + + + + + + +
        + + +
        + + +
        +

        Hello World!

        +

        Some initial bold text

        +


        +
        + + + + + + + + + + diff --git a/src/test/resources/libraries/quill/quill.js b/src/test/resources/libraries/quill/quill.js new file mode 100644 index 00000000000..aeddaa17729 --- /dev/null +++ b/src/test/resources/libraries/quill/quill.js @@ -0,0 +1,3 @@ +/*! For license information please see quill.js.LICENSE.txt */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}(self,(function(){return function(){var t={9698:function(t,e,n){"use strict";n.d(e,{Ay:function(){return c},Ji:function(){return d},mG:function(){return h},zo:function(){return u}});var r=n(6003),i=n(5232),s=n.n(i),o=n(3036),l=n(4850),a=n(5508);class c extends r.BlockBlot{cache={};delta(){return null==this.cache.delta&&(this.cache.delta=h(this)),this.cache.delta}deleteAt(t,e){super.deleteAt(t,e),this.cache={}}formatAt(t,e,n,i){e<=0||(this.scroll.query(n,r.Scope.BLOCK)?t+e===this.length()&&this.format(n,i):super.formatAt(t,Math.min(e,this.length()-t-1),n,i),this.cache={})}insertAt(t,e,n){if(null!=n)return super.insertAt(t,e,n),void(this.cache={});if(0===e.length)return;const r=e.split("\n"),i=r.shift();i.length>0&&(t(s=s.split(t,!0),s.insertAt(0,e),e.length)),t+i.length)}insertBefore(t,e){const{head:n}=this.children;super.insertBefore(t,e),n instanceof o.A&&n.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(t,e){super.moveChildren(t,e),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&(0===t||t>=this.length()-1)){const e=this.clone();return 0===t?(this.parent.insertBefore(e,this),this):(this.parent.insertBefore(e,this.next),e)}const n=super.split(t,e);return this.cache={},n}}c.blotName="block",c.tagName="P",c.defaultChild=o.A,c.allowedChildren=[o.A,l.A,r.EmbedBlot,a.A];class u extends r.EmbedBlot{attach(){super.attach(),this.attributes=new r.AttributorStore(this.domNode)}delta(){return(new(s())).insert(this.value(),{...this.formats(),...this.attributes.values()})}format(t,e){const n=this.scroll.query(t,r.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}formatAt(t,e,n,r){this.format(n,r)}insertAt(t,e,n){if(null!=n)return void super.insertAt(t,e,n);const r=e.split("\n"),i=r.pop(),s=r.map((t=>{const e=this.scroll.create(c.blotName);return e.insertAt(0,t),e})),o=this.split(t);s.forEach((t=>{this.parent.insertBefore(t,o)})),i&&this.parent.insertBefore(this.scroll.create("text",i),o)}}function h(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.descendants(r.LeafBlot).reduce(((t,n)=>0===n.length()?t:t.insert(n.value(),d(n,{},e))),new(s())).insert("\n",d(t))}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null==t?e:("formats"in t&&"function"==typeof t.formats&&(e={...e,...t.formats()},n&&delete e["code-token"]),null==t.parent||"scroll"===t.parent.statics.blotName||t.parent.statics.scope!==t.statics.scope?e:d(t.parent,e,n))}u.scope=r.Scope.BLOCK_BLOT},3036:function(t,e,n){"use strict";var r=n(6003);class i extends r.EmbedBlot{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}i.blotName="break",i.tagName="BR",e.A=i},580:function(t,e,n){"use strict";var r=n(6003);class i extends r.ContainerBlot{}e.A=i},4541:function(t,e,n){"use strict";var r=n(6003),i=n(5508);class s extends r.EmbedBlot{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\ufeff";static value(){}constructor(t,e,n){super(t,e),this.selection=n,this.textNode=document.createTextNode(s.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(t,e){if(0!==this.savedLength)return void super.format(t,e);let n=this,i=0;for(;null!=n&&n.statics.scope!==r.Scope.BLOCK_BLOT;)i+=n.offset(n.parent),n=n.parent;null!=n&&(this.savedLength=s.CONTENTS.length,n.optimize(),n.formatAt(i,s.CONTENTS.length,t,e),this.savedLength=0)}index(t,e){return t===this.textNode?0:super.index(t,e)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||null==this.parent)return null;const t=this.selection.getNativeRange();for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const e=this.prev instanceof i.A?this.prev:null,n=e?e.length():0,r=this.next instanceof i.A?this.next:null,o=r?r.text:"",{textNode:l}=this,a=l.data.split(s.CONTENTS).join("");let c;if(l.data=s.CONTENTS,e)c=e,(a||r)&&(e.insertAt(e.length(),a+o),r&&r.remove());else if(r)c=r,r.insertAt(0,a);else{const t=document.createTextNode(a);c=this.scroll.create(t),this.parent.insertBefore(c,this)}if(this.remove(),t){const i=(t,i)=>e&&t===e.domNode?i:t===l?n+i-1:r&&t===r.domNode?n+a.length+i:null,s=i(t.start.node,t.start.offset),o=i(t.end.node,t.end.offset);if(null!==s&&null!==o)return{startNode:c.domNode,startOffset:s,endNode:c.domNode,endOffset:o}}return null}update(t,e){if(t.some((t=>"characterData"===t.type&&t.target===this.textNode))){const t=this.restore();t&&(e.range=t)}}optimize(t){super.optimize(t);let{parent:e}=this;for(;e;){if("A"===e.domNode.tagName){this.savedLength=s.CONTENTS.length,e.isolate(this.offset(e),this.length()).unwrap(),this.savedLength=0;break}e=e.parent}}value(){return""}}e.A=s},746:function(t,e,n){"use strict";var r=n(6003),i=n(5508);const s="\ufeff";class o extends r.EmbedBlot{constructor(t,e){super(t,e),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach((t=>{this.contentNode.appendChild(t)})),this.leftGuard=document.createTextNode(s),this.rightGuard=document.createTextNode(s),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(t,e){return t===this.leftGuard?0:t===this.rightGuard?1:super.index(t,e)}restore(t){let e,n=null;const r=t.data.split(s).join("");if(t===this.leftGuard)if(this.prev instanceof i.A){const t=this.prev.length();this.prev.insertAt(t,r),n={startNode:this.prev.domNode,startOffset:t+r.length}}else e=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(e),this),n={startNode:e,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof i.A?(this.next.insertAt(0,r),n={startNode:this.next.domNode,startOffset:r.length}):(e=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(e),this.next),n={startNode:e,startOffset:r.length}));return t.data=s,n}update(t,e){t.forEach((t=>{if("characterData"===t.type&&(t.target===this.leftGuard||t.target===this.rightGuard)){const n=this.restore(t.target);n&&(e.range=n)}}))}}e.A=o},4850:function(t,e,n){"use strict";var r=n(6003),i=n(3036),s=n(5508);class o extends r.InlineBlot{static allowedChildren=[o,i.A,r.EmbedBlot,s.A];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(t,e){const n=o.order.indexOf(t),r=o.order.indexOf(e);return n>=0||r>=0?n-r:t===e?0:t0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}}e.A=o},5508:function(t,e,n){"use strict";n.d(e,{A:function(){return i},X:function(){return o}});var r=n(6003);class i extends r.TextBlot{}const s={"&":"&","<":"<",">":">",'"':""","'":"'"};function o(t){return t.replace(/[&<>"']/g,(t=>s[t]))}},3729:function(t,e,n){"use strict";n.d(e,{default:function(){return R}});var r=n(6142),i=n(9698),s=n(3036),o=n(580),l=n(4541),a=n(746),c=n(4850),u=n(6003),h=n(5232),d=n.n(h),f=n(5374);function p(t){return t instanceof i.Ay||t instanceof i.zo}function g(t){return"function"==typeof t.updateContent}class m extends u.ScrollBlot{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=i.Ay;static allowedChildren=[i.Ay,i.zo,o.A];constructor(t,e,n){let{emitter:r}=n;super(t,e),this.emitter=r,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",(t=>this.handleDragStart(t)))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;const t=this.batch;this.batch=!1,this.update(t)}emitMount(t){this.emitter.emit(f.A.events.SCROLL_BLOT_MOUNT,t)}emitUnmount(t){this.emitter.emit(f.A.events.SCROLL_BLOT_UNMOUNT,t)}emitEmbedUpdate(t,e){this.emitter.emit(f.A.events.SCROLL_EMBED_UPDATE,t,e)}deleteAt(t,e){const[n,r]=this.line(t),[o]=this.line(t+e);if(super.deleteAt(t,e),null!=o&&n!==o&&r>0){if(n instanceof i.zo||o instanceof i.zo)return void this.optimize();const t=o.children.head instanceof s.A?null:o.children.head;n.moveChildren(o,t),n.remove()}this.optimize()}enable(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t?"true":"false")}formatAt(t,e,n,r){super.formatAt(t,e,n,r),this.optimize()}insertAt(t,e,n){if(t>=this.length())if(null==n||null==this.scroll.query(e,u.Scope.BLOCK)){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t),null==n&&e.endsWith("\n")?t.insertAt(0,e.slice(0,-1),n):t.insertAt(0,e,n)}else{const t=this.scroll.create(e,n);this.appendChild(t)}else super.insertAt(t,e,n);this.optimize()}insertBefore(t,e){if(t.statics.scope===u.Scope.INLINE_BLOT){const n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(t),super.insertBefore(n,e)}else super.insertBefore(t,e)}insertContents(t,e){const n=this.deltaToRenderBlocks(e.concat((new(d())).insert("\n"))),r=n.pop();if(null==r)return;this.batchStart();const s=n.shift();if(s){const e="block"===s.type&&(0===s.delta.length()||!this.descendant(i.zo,t)[0]&&t{this.formatAt(o-1,1,t,a[t])})),t=o}let[o,l]=this.children.find(t);n.length&&(o&&(o=o.split(l),l=0),n.forEach((t=>{if("block"===t.type)b(this.createBlock(t.attributes,o||void 0),0,t.delta);else{const e=this.create(t.key,t.value);this.insertBefore(e,o||void 0),Object.keys(t.attributes).forEach((n=>{e.format(n,t.attributes[n])}))}}))),"block"===r.type&&r.delta.length()&&b(this,o?o.offset(o.scroll)+l:this.length(),r.delta),this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(t){const e=this.path(t).pop();if(!e)return[null,-1];const[n,r]=e;return n instanceof u.LeafBlot?[n,r]:[null,-1]}line(t){return t===this.length()?this.line(t-1):this.descendant(p,t)}lines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;const n=(t,e,r)=>{let i=[],s=r;return t.children.forEachAt(e,r,((t,e,r)=>{p(t)?i.push(t):t instanceof u.ContainerBlot&&(i=i.concat(n(t,e,s))),s-=r})),i};return n(this,t,e)}optimize(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.batch||(super.optimize(t,e),t.length>0&&this.emitter.emit(f.A.events.SCROLL_OPTIMIZE,t,e))}path(t){return super.path(t).slice(1)}remove(){}update(t){if(this.batch)return void(Array.isArray(t)&&(this.batch=this.batch.concat(t)));let e=f.A.sources.USER;"string"==typeof t&&(e=t),Array.isArray(t)||(t=this.observer.takeRecords()),(t=t.filter((t=>{let{target:e}=t;const n=this.find(e,!0);return n&&!g(n)}))).length>0&&this.emitter.emit(f.A.events.SCROLL_BEFORE_UPDATE,e,t),super.update(t.concat([])),t.length>0&&this.emitter.emit(f.A.events.SCROLL_UPDATE,e,t)}updateEmbedAt(t,e,n){const[r]=this.descendant((t=>t instanceof i.zo),t);r&&r.statics.blotName===e&&g(r)&&r.updateContent(n)}handleDragStart(t){t.preventDefault()}deltaToRenderBlocks(t){const e=[];let n=new(d());return t.forEach((t=>{const r=t?.insert;if(r)if("string"==typeof r){const i=r.split("\n");i.slice(0,-1).forEach((r=>{n.insert(r,t.attributes),e.push({type:"block",delta:n,attributes:t.attributes??{}}),n=new(d())}));const s=i[i.length-1];s&&n.insert(s,t.attributes)}else{const i=Object.keys(r)[0];if(!i)return;this.query(i,u.Scope.INLINE)?n.push(t):(n.length()&&e.push({type:"block",delta:n,attributes:{}}),n=new(d()),e.push({type:"blockEmbed",key:i,value:r[i],attributes:t.attributes??{}}))}})),n.length()&&e.push({type:"block",delta:n,attributes:{}}),e}createBlock(t,e){let n;const r={};Object.entries(t).forEach((t=>{let[e,i]=t;null!=this.query(e,u.Scope.BLOCK&u.Scope.BLOT)?n=e:r[e]=i}));const i=this.create(n||this.statics.defaultChild.blotName,n?t[n]:void 0);this.insertBefore(i,e||void 0);const s=i.length();return Object.entries(r).forEach((t=>{let[e,n]=t;i.formatAt(0,s,e,n)})),i}}function b(t,e,n){n.reduce(((e,n)=>{const r=h.Op.length(n);let s=n.attributes||{};if(null!=n.insert)if("string"==typeof n.insert){const r=n.insert;t.insertAt(e,r);const[o]=t.descendant(u.LeafBlot,e),l=(0,i.Ji)(o);s=h.AttributeMap.diff(l,s)||{}}else if("object"==typeof n.insert){const r=Object.keys(n.insert)[0];if(null==r)return e;if(t.insertAt(e,r,n.insert[r]),null!=t.scroll.query(r,u.Scope.INLINE)){const[n]=t.descendant(u.LeafBlot,e),r=(0,i.Ji)(n);s=h.AttributeMap.diff(r,s)||{}}}return Object.keys(s).forEach((n=>{t.formatAt(e,r,n,s[n])})),e+r}),e)}var y=m,v=n(5508),A=n(584),x=n(4266);class N extends x.A{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(t,e){super(t,e),this.quill.on(r.Ay.events.EDITOR_CHANGE,((t,e,n,i)=>{t===r.Ay.events.SELECTION_CHANGE?e&&i!==r.Ay.sources.SILENT&&(this.currentRange=e):t===r.Ay.events.TEXT_CHANGE&&(this.ignoreChange||(this.options.userOnly&&i!==r.Ay.sources.USER?this.transform(e):this.record(e,n)),this.currentRange=w(this.currentRange,e))})),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",(t=>{"historyUndo"===t.inputType?(this.undo(),t.preventDefault()):"historyRedo"===t.inputType&&(this.redo(),t.preventDefault())}))}change(t,e){if(0===this.stack[t].length)return;const n=this.stack[t].pop();if(!n)return;const i=this.quill.getContents(),s=n.delta.invert(i);this.stack[e].push({delta:s,range:w(n.range,s)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n.delta,r.Ay.sources.USER),this.ignoreChange=!1,this.restoreSelection(n)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(t,e){if(0===t.ops.length)return;this.stack.redo=[];let n=t.invert(e),r=this.currentRange;const i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){const t=this.stack.undo.pop();t&&(n=n.compose(t.delta),r=t.range)}else this.lastRecorded=i;0!==n.length()&&(this.stack.undo.push({delta:n,range:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(t){E(this.stack.undo,t),E(this.stack.redo,t)}undo(){this.change("undo","redo")}restoreSelection(t){if(t.range)this.quill.setSelection(t.range,r.Ay.sources.USER);else{const e=function(t,e){const n=e.reduce(((t,e)=>t+(e.delete||0)),0);let r=e.length()-n;return function(t,e){const n=e.ops[e.ops.length-1];return null!=n&&(null!=n.insert?"string"==typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some((e=>null!=t.query(e,u.Scope.BLOCK))))}(t,e)&&(r-=1),r}(this.quill.scroll,t.delta);this.quill.setSelection(e,r.Ay.sources.USER)}}}function E(t,e){let n=e;for(let e=t.length-1;e>=0;e-=1){const r=t[e];t[e]={delta:n.transform(r.delta,!0),range:r.range&&w(r.range,n)},n=r.delta.transform(n),0===t[e].delta.length()&&t.splice(e,1)}}function w(t,e){if(!t)return t;const n=e.transformPosition(t.index);return{index:n,length:e.transformPosition(t.index+t.length)-n}}var q=n(8123);class k extends x.A{constructor(t,e){super(t,e),t.root.addEventListener("drop",(e=>{e.preventDefault();let n=null;if(document.caretRangeFromPoint)n=document.caretRangeFromPoint(e.clientX,e.clientY);else if(document.caretPositionFromPoint){const t=document.caretPositionFromPoint(e.clientX,e.clientY);n=document.createRange(),n.setStart(t.offsetNode,t.offset),n.setEnd(t.offsetNode,t.offset)}const r=n&&t.selection.normalizeNative(n);if(r){const n=t.selection.normalizedToRange(r);e.dataTransfer?.files&&this.upload(n,e.dataTransfer.files)}}))}upload(t,e){const n=[];Array.from(e).forEach((t=>{t&&this.options.mimetypes?.includes(t.type)&&n.push(t)})),n.length>0&&this.options.handler.call(this,t,n)}}k.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(t,e){if(!this.quill.scroll.query("image"))return;const n=e.map((t=>new Promise((e=>{const n=new FileReader;n.onload=()=>{e(n.result)},n.readAsDataURL(t)}))));Promise.all(n).then((e=>{const n=e.reduce(((t,e)=>t.insert({image:e})),(new(d())).retain(t.index).delete(t.length));this.quill.updateContents(n,f.A.sources.USER),this.quill.setSelection(t.index+e.length,f.A.sources.SILENT)}))}};var _=k;const L=["insertText","insertReplacementText"];class S extends x.A{constructor(t,e){super(t,e),t.root.addEventListener("beforeinput",(t=>{this.handleBeforeInput(t)})),/Android/i.test(navigator.userAgent)||t.on(r.Ay.events.COMPOSITION_BEFORE_START,(()=>{this.handleCompositionStart()}))}deleteRange(t){(0,q.Xo)({range:t,quill:this.quill})}replaceText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===t.length)return!1;if(e){const n=this.quill.getFormat(t.index,1);this.deleteRange(t),this.quill.updateContents((new(d())).retain(t.index).insert(e,n),r.Ay.sources.USER)}else this.deleteRange(t);return this.quill.setSelection(t.index+e.length,0,r.Ay.sources.SILENT),!0}handleBeforeInput(t){if(this.quill.composition.isComposing||t.defaultPrevented||!L.includes(t.inputType))return;const e=t.getTargetRanges?t.getTargetRanges()[0]:null;if(!e||!0===e.collapsed)return;const n=function(t){return"string"==typeof t.data?t.data:t.dataTransfer?.types.includes("text/plain")?t.dataTransfer.getData("text/plain"):null}(t);if(null==n)return;const r=this.quill.selection.normalizeNative(e),i=r?this.quill.selection.normalizedToRange(r):null;i&&this.replaceText(i,n)&&t.preventDefault()}handleCompositionStart(){const t=this.quill.getSelection();t&&this.replaceText(t)}}var O=S;const T=/Mac/i.test(navigator.platform);class j extends x.A{isListening=!1;selectionChangeDeadline=0;constructor(t,e){super(t,e),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,e){let{line:n,event:i}=e;if(!(n instanceof u.ParentBlot&&n.uiNode))return!0;const s="rtl"===getComputedStyle(n.domNode).direction;return!!(s&&"ArrowRight"!==i.key||!s&&"ArrowLeft"!==i.key)||(this.quill.setSelection(t.index-1,t.length+(i.shiftKey?1:0),r.Ay.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",(t=>{!t.defaultPrevented&&(t=>"ArrowLeft"===t.key||"ArrowRight"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"Home"===t.key||!(!T||"a"!==t.key||!0!==t.ctrlKey))(t)&&this.ensureListeningToSelectionChange()}))}ensureListeningToSelectionChange(){this.selectionChangeDeadline=Date.now()+100,this.isListening||(this.isListening=!0,document.addEventListener("selectionchange",(()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()}),{once:!0}))}handleSelectionChange(){const t=document.getSelection();if(!t)return;const e=t.getRangeAt(0);if(!0!==e.collapsed||0!==e.startOffset)return;const n=this.quill.scroll.find(e.startContainer);if(!(n instanceof u.ParentBlot&&n.uiNode))return;const r=document.createRange();r.setStartAfter(n.uiNode),r.setEndAfter(n.uiNode),t.removeAllRanges(),t.addRange(r)}}var C=j;r.Ay.register({"blots/block":i.Ay,"blots/block/embed":i.zo,"blots/break":s.A,"blots/container":o.A,"blots/cursor":l.A,"blots/embed":a.A,"blots/inline":c.A,"blots/scroll":y,"blots/text":v.A,"modules/clipboard":A.Ay,"modules/history":N,"modules/keyboard":q.Ay,"modules/uploader":_,"modules/input":O,"modules/uiNode":C});var R=r.Ay},5374:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(8920),i=n(7356);const s=(0,n(6078).A)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((t=>{document.addEventListener(t,(function(){for(var t=arguments.length,e=new Array(t),n=0;n{const n=i.A.get(t);n&&n.emitter&&n.emitter.handleDOM(...e)}))}))}));var o=class extends r{static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",s.error)}emit(){for(var t=arguments.length,e=new Array(t),n=0;n1?e-1:0),r=1;r{let{node:r,handler:i}=e;(t.target===r||r.contains(t.target))&&i(t,...n)}))}listenDOM(t,e,n){this.domListeners[t]||(this.domListeners[t]=[]),this.domListeners[t].push({node:e,handler:n})}}},7356:function(t,e){"use strict";e.A=new WeakMap},6078:function(t,e){"use strict";const n=["error","warn","log","info"];let r="warn";function i(t){if(r&&n.indexOf(t)<=n.indexOf(r)){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s(e[n]=i.bind(console,n,t),e)),{})}s.level=t=>{r=t},i.level=s.level,e.A=s},4266:function(t,e){"use strict";e.A=class{static DEFAULTS={};constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=t,this.options=e}}},6142:function(t,e,n){"use strict";n.d(e,{Ay:function(){return I}});var r=n(8347),i=n(6003),s=n(5232),o=n.n(s),l=n(3707),a=n(5123),c=n(9698),u=n(3036),h=n(4541),d=n(5508),f=n(8298);const p=/^[ -~]*$/;function g(t,e,n){if(0===t.length){const[t]=y(n.pop());return e<=0?`
      3. `:`${g([],e-1,n)}`}const[{child:r,offset:i,length:s,indent:o,type:l},...a]=t,[c,u]=y(l);if(o>e)return n.push(l),o===e+1?`<${c}>${m(r,i,s)}${g(a,o,n)}`:`<${c}>
      4. ${g(t,e+1,n)}`;const h=n[n.length-1];if(o===e&&l===h)return`
      5. ${m(r,i,s)}${g(a,o,n)}`;const[d]=y(n.pop());return`${g(t,e-1,n)}`}function m(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in t&&"function"==typeof t.html)return t.html(e,n);if(t instanceof d.A)return(0,d.X)(t.value().slice(e,e+n)).replaceAll(" "," ");if(t instanceof i.ParentBlot){if("list-container"===t.statics.blotName){const r=[];return t.children.forEachAt(e,n,((t,e,n)=>{const i="formats"in t&&"function"==typeof t.formats?t.formats():{};r.push({child:t,offset:e,length:n,indent:i.indent||0,type:i.list})})),g(r,-1,[])}const i=[];if(t.children.forEachAt(e,n,((t,e,n)=>{i.push(m(t,e,n))})),r||"list"===t.statics.blotName)return i.join("");const{outerHTML:s,innerHTML:o}=t.domNode,[l,a]=s.split(`>${o}<`);return"${i.join("")}<${a}`:`${l}>${i.join("")}<${a}`}return t.domNode instanceof Element?t.domNode.outerHTML:""}function b(t,e){return Object.keys(e).reduce(((n,r)=>{if(null==t[r])return n;const i=e[r];return i===t[r]?n[r]=i:Array.isArray(i)?i.indexOf(t[r])<0?n[r]=i.concat([t[r]]):n[r]=i:n[r]=[i,t[r]],n}),{})}function y(t){const e="ordered"===t?"ol":"ul";switch(t){case"checked":return[e,' data-list="checked"'];case"unchecked":return[e,' data-list="unchecked"'];default:return[e,""]}}function v(t){return t.reduce(((t,e)=>{if("string"==typeof e.insert){const n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)}),new(o()))}function A(t,e){let{index:n,length:r}=t;return new f.Q(n+e,r)}var x=class{constructor(t){this.scroll=t,this.delta=this.getDelta()}applyDelta(t){this.scroll.update();let e=this.scroll.length();this.scroll.batchStart();const n=v(t),l=new(o());return function(t){const e=[];return t.forEach((t=>{"string"==typeof t.insert?t.insert.split("\n").forEach(((n,r)=>{r&&e.push({insert:"\n",attributes:t.attributes}),n&&e.push({insert:n,attributes:t.attributes})})):e.push(t)})),e}(n.ops.slice()).reduce(((t,n)=>{const o=s.Op.length(n);let a=n.attributes||{},u=!1,h=!1;if(null!=n.insert){if(l.retain(o),"string"==typeof n.insert){const o=n.insert;h=!o.endsWith("\n")&&(e<=t||!!this.scroll.descendant(c.zo,t)[0]),this.scroll.insertAt(t,o);const[l,u]=this.scroll.line(t);let d=(0,r.A)({},(0,c.Ji)(l));if(l instanceof c.Ay){const[t]=l.descendant(i.LeafBlot,u);t&&(d=(0,r.A)(d,(0,c.Ji)(t)))}a=s.AttributeMap.diff(d,a)||{}}else if("object"==typeof n.insert){const o=Object.keys(n.insert)[0];if(null==o)return t;const l=null!=this.scroll.query(o,i.Scope.INLINE);if(l)(e<=t||this.scroll.descendant(c.zo,t)[0])&&(h=!0);else if(t>0){const[e,n]=this.scroll.descendant(i.LeafBlot,t-1);e instanceof d.A?"\n"!==e.value()[n]&&(u=!0):e instanceof i.EmbedBlot&&e.statics.scope===i.Scope.INLINE_BLOT&&(u=!0)}if(this.scroll.insertAt(t,o,n.insert[o]),l){const[e]=this.scroll.descendant(i.LeafBlot,t);if(e){const t=(0,r.A)({},(0,c.Ji)(e));a=s.AttributeMap.diff(t,a)||{}}}}e+=o}else if(l.push(n),null!==n.retain&&"object"==typeof n.retain){const e=Object.keys(n.retain)[0];if(null==e)return t;this.scroll.updateEmbedAt(t,e,n.retain[e])}Object.keys(a).forEach((e=>{this.scroll.formatAt(t,o,e,a[e])}));const f=u?1:0,p=h?1:0;return e+=f+p,l.retain(f),l.delete(p),t+o+f+p}),0),l.reduce(((t,e)=>"number"==typeof e.delete?(this.scroll.deleteAt(t,e.delete),t):t+s.Op.length(e)),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(t,e){return this.scroll.deleteAt(t,e),this.update((new(o())).retain(t).delete(e))}formatLine(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach((r=>{this.scroll.lines(t,Math.max(e,1)).forEach((t=>{t.format(r,n[r])}))})),this.scroll.optimize();const r=(new(o())).retain(t).retain(e,(0,l.A)(n));return this.update(r)}formatText(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(n).forEach((r=>{this.scroll.formatAt(t,e,r,n[r])}));const r=(new(o())).retain(t).retain(e,(0,l.A)(n));return this.update(r)}getContents(t,e){return this.delta.slice(t,t+e)}getDelta(){return this.scroll.lines().reduce(((t,e)=>t.concat(e.delta())),new(o()))}getFormat(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach((t=>{const[e]=t;e instanceof c.Ay?n.push(e):e instanceof i.LeafBlot&&r.push(e)})):(n=this.scroll.lines(t,e),r=this.scroll.descendants(i.LeafBlot,t,e));const[s,o]=[n,r].map((t=>{const e=t.shift();if(null==e)return{};let n=(0,c.Ji)(e);for(;Object.keys(n).length>0;){const e=t.shift();if(null==e)return n;n=b((0,c.Ji)(e),n)}return n}));return{...s,...o}}getHTML(t,e){const[n,r]=this.scroll.line(t);if(n){const i=n.length();return n.length()>=r+e&&(0!==r||e!==i)?m(n,r,e,!0):m(this.scroll,t,e,!0)}return""}getText(t,e){return this.getContents(t,e).filter((t=>"string"==typeof t.insert)).map((t=>t.insert)).join("")}insertContents(t,e){const n=v(e),r=(new(o())).retain(t).concat(n);return this.scroll.insertContents(t,n),this.update(r)}insertEmbed(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new(o())).retain(t).insert({[e]:n}))}insertText(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(n).forEach((r=>{this.scroll.formatAt(t,e.length,r,n[r])})),this.update((new(o())).retain(t).insert(e,(0,l.A)(n)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;const t=this.scroll.children.head;if(t?.statics.blotName!==c.Ay.blotName)return!1;const e=t;return!(e.children.length>1)&&e.children.head instanceof u.A}removeFormat(t,e){const n=this.getText(t,e),[r,i]=this.scroll.line(t+e);let s=0,l=new(o());null!=r&&(s=r.length()-i,l=r.delta().slice(i,i+s-1).insert("\n"));const a=this.getContents(t,e+s).diff((new(o())).insert(n).concat(l)),c=(new(o())).retain(t).concat(a);return this.applyDelta(c)}update(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(p)&&this.scroll.find(e[0].target)){const i=this.scroll.find(e[0].target),s=(0,c.Ji)(i),l=i.offset(this.scroll),a=e[0].oldValue.replace(h.A.CONTENTS,""),u=(new(o())).insert(a),d=(new(o())).insert(i.value()),f=n&&{oldRange:A(n.oldRange,-l),newRange:A(n.newRange,-l)};t=(new(o())).retain(l).concat(u.diff(d,f)).reduce(((t,e)=>e.insert?t.insert(e.insert,s):t.push(e)),new(o())),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,a.A)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}},N=n(5374),E=n(7356),w=n(6078),q=n(4266),k=n(746),_=class{isComposing=!1;constructor(t,e){this.scroll=t,this.emitter=e,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",(t=>{this.isComposing||this.handleCompositionStart(t)})),this.scroll.domNode.addEventListener("compositionend",(t=>{this.isComposing&&queueMicrotask((()=>{this.handleCompositionEnd(t)}))}))}handleCompositionStart(t){const e=t.target instanceof Node?this.scroll.find(t.target,!0):null;!e||e instanceof k.A||(this.emitter.emit(N.A.events.COMPOSITION_BEFORE_START,t),this.scroll.batchStart(),this.emitter.emit(N.A.events.COMPOSITION_START,t),this.isComposing=!0)}handleCompositionEnd(t){this.emitter.emit(N.A.events.COMPOSITION_BEFORE_END,t),this.scroll.batchEnd(),this.emitter.emit(N.A.events.COMPOSITION_END,t),this.isComposing=!1}},L=n(9609);const S=t=>{const e=t.getBoundingClientRect(),n="offsetWidth"in t&&Math.abs(e.width)/t.offsetWidth||1,r="offsetHeight"in t&&Math.abs(e.height)/t.offsetHeight||1;return{top:e.top,right:e.left+t.clientWidth*n,bottom:e.top+t.clientHeight*r,left:e.left}},O=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},T=(t,e,n,r,i,s)=>tr?0:tr?e-t>r-n?t+i-n:e-r+s:0;const j=["block","break","cursor","inline","scroll","text"];const C=(0,w.A)("quill"),R=new i.Registry;i.ParentBlot.uiClass="ql-ui";class I{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:R,theme:"default"};static events=N.A.events;static sources=N.A.sources;static version="2.0.3";static imports={delta:o(),parchment:i,"core/module":q.A,"core/theme":L.A};static debug(t){!0===t&&(t="log"),w.A.level(t)}static find(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return E.A.get(t)||R.find(t,e)}static import(t){return null==this.imports[t]&&C.error(`Cannot import ${t}. Are you sure it was registered?`),this.imports[t]}static register(){if("string"!=typeof(arguments.length<=0?void 0:arguments[0])){const t=arguments.length<=0?void 0:arguments[0],e=!!(arguments.length<=1?void 0:arguments[1]),n="attrName"in t?t.attrName:t.blotName;"string"==typeof n?this.register(`formats/${n}`,t,e):Object.keys(t).forEach((n=>{this.register(n,t[n],e)}))}else{const t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=!!(arguments.length<=2?void 0:arguments[2]);null==this.imports[t]||n||C.warn(`Overwriting ${t} with`,e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&e&&"boolean"!=typeof e&&"abstract"!==e.blotName&&R.register(e),"function"==typeof e.register&&e.register(R)}}constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=function(t,e){const n=B(t);if(!n)throw new Error("Invalid Quill container");const s=!e.theme||e.theme===I.DEFAULTS.theme?L.A:I.import(`themes/${e.theme}`);if(!s)throw new Error(`Invalid theme ${e.theme}. Did you register it?`);const{modules:o,...l}=I.DEFAULTS,{modules:a,...c}=s.DEFAULTS;let u=M(e.modules);null!=u&&u.toolbar&&u.toolbar.constructor!==Object&&(u={...u,toolbar:{container:u.toolbar}});const h=(0,r.A)({},M(o),M(a),u),d={...l,...U(c),...U(e)};let f=e.registry;return f?e.formats&&C.warn('Ignoring "formats" option because "registry" is specified'):f=e.formats?((t,e,n)=>{const r=new i.Registry;return j.forEach((t=>{const n=e.query(t);n&&r.register(n)})),t.forEach((t=>{let i=e.query(t);i||n.error(`Cannot register "${t}" specified in "formats" config. Are you sure it was registered?`);let s=0;for(;i;)if(r.register(i),i="blotName"in i?i.requiredContainer??null:null,s+=1,s>100){n.error(`Cycle detected in registering blot requiredContainer: "${t}"`);break}})),r})(e.formats,d.registry,C):d.registry,{...d,registry:f,container:n,theme:s,modules:Object.entries(h).reduce(((t,e)=>{let[n,i]=e;if(!i)return t;const s=I.import(`modules/${n}`);return null==s?(C.error(`Cannot load ${n} module. Are you sure you registered it?`),t):{...t,[n]:(0,r.A)({},s.DEFAULTS||{},i)}}),{}),bounds:B(d.bounds)}}(t,e),this.container=this.options.container,null==this.container)return void C.error("Invalid Quill container",t);this.options.debug&&I.debug(this.options.debug);const n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",E.A.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new N.A;const s=i.ScrollBlot.blotName,l=this.options.registry.query(s);if(!l||!("blotName"in l))throw new Error(`Cannot initialize Quill without "${s}" blot`);if(this.scroll=new l(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new x(this.scroll),this.selection=new f.A(this.scroll,this.emitter),this.composition=new _(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(N.A.events.EDITOR_CHANGE,(t=>{t===N.A.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())})),this.emitter.on(N.A.events.SCROLL_UPDATE,((t,e)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;D.call(this,(()=>this.editor.update(null,e,i)),t)})),this.emitter.on(N.A.events.SCROLL_EMBED_UPDATE,((t,e)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;D.call(this,(()=>{const n=(new(o())).retain(t.offset(this)).retain({[t.statics.blotName]:e});return this.editor.update(n,[],i)}),I.sources.USER)})),n){const t=this.clipboard.convert({html:`${n}


        `,text:"\n"});this.setContents(t)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){const e=t;(t=document.createElement("div")).classList.add(e)}return this.container.insertBefore(t,e),t}blur(){this.selection.setRange(null)}deleteText(t,e,n){return[t,e,,n]=P(t,e,n),D.call(this,(()=>this.editor.deleteText(t,e)),n,t,-1*e)}disable(){this.enable(!1)}editReadOnly(t){this.allowReadOnlyEdits=!0;const e=t();return this.allowReadOnlyEdits=!1,e}enable(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}focus(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),t.preventScroll||this.scrollSelectionIntoView()}format(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.A.sources.API;return D.call(this,(()=>{const n=this.getSelection(!0);let r=new(o());if(null==n)return r;if(this.scroll.query(t,i.Scope.BLOCK))r=this.editor.formatLine(n.index,n.length,{[t]:e});else{if(0===n.length)return this.selection.format(t,e),r;r=this.editor.formatText(n.index,n.length,{[t]:e})}return this.setSelection(n,N.A.sources.SILENT),r}),n)}formatLine(t,e,n,r,i){let s;return[t,e,s,i]=P(t,e,n,r,i),D.call(this,(()=>this.editor.formatLine(t,e,s)),i,t,0)}formatText(t,e,n,r,i){let s;return[t,e,s,i]=P(t,e,n,r,i),D.call(this,(()=>this.editor.formatText(t,e,s)),i,t,0)}getBounds(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length),!n)return null;const r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}getContents(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t;return[t,e]=P(t,e),this.editor.getContents(t,e)}getFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}getIndex(t){return t.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(t){return this.scroll.leaf(t)}getLine(t){return this.scroll.line(t)}getLines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}getModule(t){return this.theme.modules[t]}getSelection(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=P(t,e),this.editor.getHTML(t,e)}getText(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=P(t,e),this.editor.getText(t,e)}hasFocus(){return this.selection.hasFocus()}insertEmbed(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I.sources.API;return D.call(this,(()=>this.editor.insertEmbed(t,e,n)),r,t)}insertText(t,e,n,r,i){let s;return[t,,s,i]=P(t,0,n,r,i),D.call(this,(()=>this.editor.insertText(t,e,s)),i,t,e.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(t,e,n){return[t,e,,n]=P(t,e,n),D.call(this,(()=>this.editor.removeFormat(t,e)),n,t)}scrollRectIntoView(t){((t,e)=>{const n=t.ownerDocument;let r=e,i=t;for(;i;){const t=i===n.body,e=t?{top:0,right:window.visualViewport?.width??n.documentElement.clientWidth,bottom:window.visualViewport?.height??n.documentElement.clientHeight,left:0}:S(i),o=getComputedStyle(i),l=T(r.left,r.right,e.left,e.right,O(o.scrollPaddingLeft),O(o.scrollPaddingRight)),a=T(r.top,r.bottom,e.top,e.bottom,O(o.scrollPaddingTop),O(o.scrollPaddingBottom));if(l||a)if(t)n.defaultView?.scrollBy(l,a);else{const{scrollLeft:t,scrollTop:e}=i;a&&(i.scrollTop+=a),l&&(i.scrollLeft+=l);const n=i.scrollLeft-t,s=i.scrollTop-e;r={left:r.left-n,top:r.top-s,right:r.right-n,bottom:r.bottom-s}}i=t||"fixed"===o.position?null:(s=i).parentElement||s.getRootNode().host||null}var s})(this.root,t)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){const t=this.selection.lastRange,e=t&&this.selection.getBounds(t.index,t.length);e&&this.scrollRectIntoView(e)}setContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.A.sources.API;return D.call(this,(()=>{t=new(o())(t);const e=this.getLength(),n=this.editor.deleteText(0,e),r=this.editor.insertContents(0,t),i=this.editor.deleteText(this.getLength()-1,1);return n.compose(r).compose(i)}),e)}setSelection(t,e,n){null==t?this.selection.setRange(null,e||I.sources.API):([t,e,,n]=P(t,e,n),this.selection.setRange(new f.Q(Math.max(0,t),e),n),n!==N.A.sources.SILENT&&this.scrollSelectionIntoView())}setText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.A.sources.API;const n=(new(o())).insert(t);return this.setContents(n,e)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N.A.sources.USER;const e=this.scroll.update(t);return this.selection.update(t),e}updateContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.A.sources.API;return D.call(this,(()=>(t=new(o())(t),this.editor.applyDelta(t))),e,!0)}}function B(t){return"string"==typeof t?document.querySelector(t):t}function M(t){return Object.entries(t??{}).reduce(((t,e)=>{let[n,r]=e;return{...t,[n]:!0===r?{}:r}}),{})}function U(t){return Object.fromEntries(Object.entries(t).filter((t=>void 0!==t[1])))}function D(t,e,n,r){if(!this.isEnabled()&&e===N.A.sources.USER&&!this.allowReadOnlyEdits)return new(o());let i=null==n?null:this.getSelection();const s=this.editor.delta,l=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=z(i,l,e):0!==r&&(i=z(i,n,r,e)),this.setSelection(i,N.A.sources.SILENT)),l.length()>0){const t=[N.A.events.TEXT_CHANGE,l,s,e];this.emitter.emit(N.A.events.EDITOR_CHANGE,...t),e!==N.A.sources.SILENT&&this.emitter.emit(...t)}return l}function P(t,e,n,r,i){let s={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(i=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(i=r,r=n,n=e,e=0),"object"==typeof n?(s=n,i=r):"string"==typeof n&&(null!=r?s[n]=r:i=n),[t,e,s,i=i||N.A.sources.API]}function z(t,e,n,r){const i="number"==typeof n?n:0;if(null==t)return null;let s,o;return e&&"function"==typeof e.transformPosition?[s,o]=[t.index,t.index+t.length].map((t=>e.transformPosition(t,r!==N.A.sources.USER))):[s,o]=[t.index,t.index+t.length].map((t=>t=0?t+i:Math.max(e,t+i))),new f.Q(s,o-s)}},8298:function(t,e,n){"use strict";n.d(e,{Q:function(){return a}});var r=n(6003),i=n(5123),s=n(3707),o=n(5374);const l=(0,n(6078).A)("quill:selection");class a{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=t,this.length=e}}function c(t,e){try{e.parentNode}catch(t){return!1}return t.contains(e)}e.A=class{constructor(t,e){this.emitter=e,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new a(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(()=>{this.mouseDown||this.composing||setTimeout(this.update.bind(this,o.A.sources.USER),1)})),this.emitter.on(o.A.events.SCROLL_BEFORE_UPDATE,(()=>{if(!this.hasFocus())return;const t=this.getNativeRange();null!=t&&t.start.node!==this.cursor.textNode&&this.emitter.once(o.A.events.SCROLL_UPDATE,((e,n)=>{try{this.root.contains(t.start.node)&&this.root.contains(t.end.node)&&this.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset);const r=n.some((t=>"characterData"===t.type||"childList"===t.type||"attributes"===t.type&&t.target===this.root));this.update(r?o.A.sources.SILENT:e)}catch(t){}}))})),this.emitter.on(o.A.events.SCROLL_OPTIMIZE,((t,e)=>{if(e.range){const{startNode:t,startOffset:n,endNode:r,endOffset:i}=e.range;this.setNativeRange(t,n,r,i),this.update(o.A.sources.SILENT)}})),this.update(o.A.sources.SILENT)}handleComposition(){this.emitter.on(o.A.events.COMPOSITION_BEFORE_START,(()=>{this.composing=!0})),this.emitter.on(o.A.events.COMPOSITION_END,(()=>{if(this.composing=!1,this.cursor.parent){const t=this.cursor.restore();if(!t)return;setTimeout((()=>{this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}handleDragging(){this.emitter.listenDOM("mousedown",document.body,(()=>{this.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(()=>{this.mouseDown=!1,this.update(o.A.sources.USER)}))}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(t,e){this.scroll.update();const n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!this.scroll.query(t,r.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){const t=this.scroll.find(n.start.node,!1);if(null==t)return;if(t instanceof r.LeafBlot){const e=t.split(n.start.offset);t.parent.insertBefore(this.cursor,e)}else t.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.scroll.length();let r;t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;let[i,s]=this.scroll.leaf(t);if(null==i)return null;if(e>0&&s===i.length()){const[e]=this.scroll.leaf(t+1);if(e){const[n]=this.scroll.line(t),[r]=this.scroll.line(t+1);n===r&&(i=e,s=0)}}[r,s]=i.position(s,!0);const o=document.createRange();if(e>0)return o.setStart(r,s),[i,s]=this.scroll.leaf(t+e),null==i?null:([r,s]=i.position(s,!0),o.setEnd(r,s),o.getBoundingClientRect());let l,a="left";if(r instanceof Text){if(!r.data.length)return null;s0&&(a="right")}return{bottom:l.top+l.height,height:l.height,left:l[a],right:l[a],top:l.top,width:0}}getNativeRange(){const t=document.getSelection();if(null==t||t.rangeCount<=0)return null;const e=t.getRangeAt(0);if(null==e)return null;const n=this.normalizeNative(e);return l.info("getNativeRange",n),n}getRange(){const t=this.scroll.domNode;if("isConnected"in t&&!t.isConnected)return[null,null];const e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&c(this.root,document.activeElement)}normalizedToRange(t){const e=[[t.start.node,t.start.offset]];t.native.collapsed||e.push([t.end.node,t.end.offset]);const n=e.map((t=>{const[e,n]=t,i=this.scroll.find(e,!0),s=i.offset(this.scroll);return 0===n?s:i instanceof r.LeafBlot?s+i.index(e,n):s+i.length()})),i=Math.min(Math.max(...n),this.scroll.length()-1),s=Math.min(i,...n);return new a(s,i-s)}normalizeNative(t){if(!c(this.root,t.startContainer)||!t.collapsed&&!c(this.root,t.endContainer))return null;const e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((t=>{let{node:e,offset:n}=t;for(;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length>0?e.childNodes.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}rangeToNative(t){const e=this.scroll.length(),n=(t,n)=>{t=Math.min(e-1,t);const[r,i]=this.scroll.leaf(t);return r?r.position(i,n):[null,-1]};return[...n(t.index,!1),...n(t.index+t.length,!0)]}setNativeRange(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(l.info("setNativeRange",t,e,n,r),null!=t&&(null==this.root.parentNode||null==t.parentNode||null==n.parentNode))return;const s=document.getSelection();if(null!=s)if(null!=t){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:o}=this.getNativeRange()||{};if(null==o||i||t!==o.startContainer||e!==o.startOffset||n!==o.endContainer||r!==o.endOffset){t instanceof Element&&"BR"===t.tagName&&(e=Array.from(t.parentNode.childNodes).indexOf(t),t=t.parentNode),n instanceof Element&&"BR"===n.tagName&&(r=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const i=document.createRange();i.setStart(t,e),i.setEnd(n,r),s.removeAllRanges(),s.addRange(i)}}else s.removeAllRanges(),this.root.blur()}setRange(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.A.sources.API;if("string"==typeof e&&(n=e,e=!1),l.info("setRange",t),null!=t){const n=this.rangeToNative(t);this.setNativeRange(...n,e)}else this.setNativeRange(null);this.update(n)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.A.sources.USER;const e=this.lastRange,[n,r]=this.getRange();if(this.lastRange=n,this.lastNative=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,i.A)(e,this.lastRange)){if(!this.composing&&null!=r&&r.native.collapsed&&r.start.node!==this.cursor.textNode){const t=this.cursor.restore();t&&this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}const n=[o.A.events.SELECTION_CHANGE,(0,s.A)(this.lastRange),(0,s.A)(e),t];this.emitter.emit(o.A.events.EDITOR_CHANGE,...n),t!==o.A.sources.SILENT&&this.emitter.emit(...n)}}}},9609:function(t,e){"use strict";class n{static DEFAULTS={modules:{}};static themes={default:n};modules={};constructor(t,e){this.quill=t,this.options=e}init(){Object.keys(this.options.modules).forEach((t=>{null==this.modules[t]&&this.addModule(t)}))}addModule(t){const e=this.quill.constructor.import(`modules/${t}`);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}e.A=n},8276:function(t,e,n){"use strict";n.d(e,{Hu:function(){return l},gS:function(){return s},qh:function(){return o}});var r=n(6003);const i={scope:r.Scope.BLOCK,whitelist:["right","center","justify"]},s=new r.Attributor("align","align",i),o=new r.ClassAttributor("align","ql-align",i),l=new r.StyleAttributor("align","text-align",i)},9541:function(t,e,n){"use strict";n.d(e,{l:function(){return s},s:function(){return o}});var r=n(6003),i=n(8638);const s=new r.ClassAttributor("background","ql-bg",{scope:r.Scope.INLINE}),o=new i.a2("background","background-color",{scope:r.Scope.INLINE})},9404:function(t,e,n){"use strict";n.d(e,{Ay:function(){return h},Cy:function(){return d},EJ:function(){return u}});var r=n(9698),i=n(3036),s=n(4541),o=n(4850),l=n(5508),a=n(580),c=n(6142);class u extends a.A{static create(t){const e=super.create(t);return e.setAttribute("spellcheck","false"),e}code(t,e){return this.children.map((t=>t.length()<=1?"":t.domNode.innerText)).join("\n").slice(t,t+e)}html(t,e){return`
        \n${(0,l.X)(this.code(t,e))}\n
        `}}class h extends r.Ay{static TAB=" ";static register(){c.Ay.register(u)}}class d extends o.A{}d.blotName="code",d.tagName="CODE",h.blotName="code-block",h.className="ql-code-block",h.tagName="DIV",u.blotName="code-block-container",u.className="ql-code-block-container",u.tagName="DIV",u.allowedChildren=[h],h.allowedChildren=[l.A,i.A,s.A],h.requiredContainer=u},8638:function(t,e,n){"use strict";n.d(e,{JM:function(){return o},a2:function(){return i},g3:function(){return s}});var r=n(6003);class i extends r.StyleAttributor{value(t){let e=super.value(t);return e.startsWith("rgb(")?(e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),`#${e.split(",").map((t=>`00${parseInt(t,10).toString(16)}`.slice(-2))).join("")}`):e}}const s=new r.ClassAttributor("color","ql-color",{scope:r.Scope.INLINE}),o=new i("color","color",{scope:r.Scope.INLINE})},7912:function(t,e,n){"use strict";n.d(e,{Mc:function(){return s},VL:function(){return l},sY:function(){return o}});var r=n(6003);const i={scope:r.Scope.BLOCK,whitelist:["rtl"]},s=new r.Attributor("direction","dir",i),o=new r.ClassAttributor("direction","ql-direction",i),l=new r.StyleAttributor("direction","direction",i)},6772:function(t,e,n){"use strict";n.d(e,{q:function(){return s},z:function(){return l}});var r=n(6003);const i={scope:r.Scope.INLINE,whitelist:["serif","monospace"]},s=new r.ClassAttributor("font","ql-font",i);class o extends r.StyleAttributor{value(t){return super.value(t).replace(/["']/g,"")}}const l=new o("font","font-family",i)},664:function(t,e,n){"use strict";n.d(e,{U:function(){return i},r:function(){return s}});var r=n(6003);const i=new r.ClassAttributor("size","ql-size",{scope:r.Scope.INLINE,whitelist:["small","large","huge"]}),s=new r.StyleAttributor("size","font-size",{scope:r.Scope.INLINE,whitelist:["10px","18px","32px"]})},584:function(t,e,n){"use strict";n.d(e,{Ay:function(){return S},hV:function(){return I}});var r=n(6003),i=n(5232),s=n.n(i),o=n(9698),l=n(6078),a=n(4266),c=n(6142),u=n(8276),h=n(9541),d=n(9404),f=n(8638),p=n(7912),g=n(6772),m=n(664),b=n(8123);const y=/font-weight:\s*normal/,v=["P","OL","UL"],A=t=>t&&v.includes(t.tagName),x=/\bmso-list:[^;]*ignore/i,N=/\bmso-list:[^;]*\bl(\d+)/i,E=/\bmso-list:[^;]*\blevel(\d+)/i,w=[function(t){"urn:schemas-microsoft-com:office:word"===t.documentElement.getAttribute("xmlns:w")&&(t=>{const e=Array.from(t.querySelectorAll("[style*=mso-list]")),n=[],r=[];e.forEach((t=>{(t.getAttribute("style")||"").match(x)?n.push(t):r.push(t)})),n.forEach((t=>t.parentNode?.removeChild(t)));const i=t.documentElement.innerHTML,s=r.map((t=>((t,e)=>{const n=t.getAttribute("style"),r=n?.match(N);if(!r)return null;const i=Number(r[1]),s=n?.match(E),o=s?Number(s[1]):1,l=new RegExp(`@list l${i}:level${o}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),a=e.match(l);return{id:i,indent:o,type:a&&"bullet"===a[1]?"bullet":"ordered",element:t}})(t,i))).filter((t=>t));for(;s.length;){const t=[];let e=s.shift();for(;e;)t.push(e),e=s.length&&s[0]?.element===e.element.nextElementSibling&&s[0].id===e.id?s.shift():null;const n=document.createElement("ul");t.forEach((t=>{const e=document.createElement("li");e.setAttribute("data-list",t.type),t.indent>1&&e.setAttribute("class","ql-indent-"+(t.indent-1)),e.innerHTML=t.element.innerHTML,n.appendChild(e)}));const r=t[0]?.element,{parentNode:i}=r??{};r&&i?.replaceChild(n,r),t.slice(1).forEach((t=>{let{element:e}=t;i?.removeChild(e)}))}})(t)},function(t){t.querySelector('[id^="docs-internal-guid-"]')&&((t=>{Array.from(t.querySelectorAll('b[style*="font-weight"]')).filter((t=>t.getAttribute("style")?.match(y))).forEach((e=>{const n=t.createDocumentFragment();n.append(...e.childNodes),e.parentNode?.replaceChild(n,e)}))})(t),(t=>{Array.from(t.querySelectorAll("br")).filter((t=>A(t.previousElementSibling)&&A(t.nextElementSibling))).forEach((t=>{t.parentNode?.removeChild(t)}))})(t))}];const q=(0,l.A)("quill:clipboard"),k=[[Node.TEXT_NODE,function(t,e,n){let r=t.data;if("O:P"===t.parentElement?.tagName)return e.insert(r.trim());if(!R(t)){if(0===r.trim().length&&r.includes("\n")&&!function(t,e){return t.previousElementSibling&&t.nextElementSibling&&!j(t.previousElementSibling,e)&&!j(t.nextElementSibling,e)}(t,n))return e;r=r.replace(/[^\S\u00a0]/g," "),r=r.replace(/ {2,}/g," "),(null==t.previousSibling&&null!=t.parentElement&&j(t.parentElement,n)||t.previousSibling instanceof Element&&j(t.previousSibling,n))&&(r=r.replace(/^ /,"")),(null==t.nextSibling&&null!=t.parentElement&&j(t.parentElement,n)||t.nextSibling instanceof Element&&j(t.nextSibling,n))&&(r=r.replace(/ $/,"")),r=r.replaceAll(" "," ")}return e.insert(r)}],[Node.TEXT_NODE,M],["br",function(t,e){return T(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,function(t,e,n){const i=n.query(t);if(null==i)return e;if(i.prototype instanceof r.EmbedBlot){const e={},r=i.value(t);if(null!=r)return e[i.blotName]=r,(new(s())).insert(e,i.formats(t,n))}else if(i.prototype instanceof r.BlockBlot&&!T(e,"\n")&&e.insert("\n"),"blotName"in i&&"formats"in i&&"function"==typeof i.formats)return O(e,i.blotName,i.formats(t,n),n);return e}],[Node.ELEMENT_NODE,function(t,e,n){const i=r.Attributor.keys(t),s=r.ClassAttributor.keys(t),o=r.StyleAttributor.keys(t),l={};return i.concat(s).concat(o).forEach((e=>{let i=n.query(e,r.Scope.ATTRIBUTE);null!=i&&(l[i.attrName]=i.value(t),l[i.attrName])||(i=_[e],null==i||i.attrName!==e&&i.keyName!==e||(l[i.attrName]=i.value(t)||void 0),i=L[e],null==i||i.attrName!==e&&i.keyName!==e||(i=L[e],l[i.attrName]=i.value(t)||void 0))})),Object.entries(l).reduce(((t,e)=>{let[r,i]=e;return O(t,r,i,n)}),e)}],[Node.ELEMENT_NODE,function(t,e,n){const r={},i=t.style||{};return"italic"===i.fontStyle&&(r.italic=!0),"underline"===i.textDecoration&&(r.underline=!0),"line-through"===i.textDecoration&&(r.strike=!0),(i.fontWeight?.startsWith("bold")||parseInt(i.fontWeight,10)>=700)&&(r.bold=!0),e=Object.entries(r).reduce(((t,e)=>{let[r,i]=e;return O(t,r,i,n)}),e),parseFloat(i.textIndent||0)>0?(new(s())).insert("\t").concat(e):e}],["li",function(t,e,n){const r=n.query(t);if(null==r||"list"!==r.blotName||!T(e,"\n"))return e;let i=-1,o=t.parentNode;for(;null!=o;)["OL","UL"].includes(o.tagName)&&(i+=1),o=o.parentNode;return i<=0?e:e.reduce(((t,e)=>e.insert?e.attributes&&"number"==typeof e.attributes.indent?t.push(e):t.insert(e.insert,{indent:i,...e.attributes||{}}):t),new(s()))}],["ol, ul",function(t,e,n){const r=t;let i="OL"===r.tagName?"ordered":"bullet";const s=r.getAttribute("data-checked");return s&&(i="true"===s?"checked":"unchecked"),O(e,"list",i,n)}],["pre",function(t,e,n){const r=n.query("code-block");return O(e,"code-block",!r||!("formats"in r)||"function"!=typeof r.formats||r.formats(t,n),n)}],["tr",function(t,e,n){const r="TABLE"===t.parentElement?.tagName?t.parentElement:t.parentElement?.parentElement;return null!=r?O(e,"table",Array.from(r.querySelectorAll("tr")).indexOf(t)+1,n):e}],["b",B("bold")],["i",B("italic")],["strike",B("strike")],["style",function(){return new(s())}]],_=[u.gS,p.Mc].reduce(((t,e)=>(t[e.keyName]=e,t)),{}),L=[u.Hu,h.s,f.JM,p.VL,g.z,m.r].reduce(((t,e)=>(t[e.keyName]=e,t)),{});class S extends a.A{static DEFAULTS={matchers:[]};constructor(t,e){super(t,e),this.quill.root.addEventListener("copy",(t=>this.onCaptureCopy(t,!1))),this.quill.root.addEventListener("cut",(t=>this.onCaptureCopy(t,!0))),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],k.concat(this.options.matchers??[]).forEach((t=>{let[e,n]=t;this.addMatcher(e,n)}))}addMatcher(t,e){this.matchers.push([t,e])}convert(t){let{html:e,text:n}=t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r[d.Ay.blotName])return(new(s())).insert(n||"",{[d.Ay.blotName]:r[d.Ay.blotName]});if(!e)return(new(s())).insert(n||"",r);const i=this.convertHTML(e);return T(i,"\n")&&(null==i.ops[i.ops.length-1].attributes||r.table)?i.compose((new(s())).retain(i.length()-1).delete(1)):i}normalizeHTML(t){(t=>{t.documentElement&&w.forEach((e=>{e(t)}))})(t)}convertHTML(t){const e=(new DOMParser).parseFromString(t,"text/html");this.normalizeHTML(e);const n=e.body,r=new WeakMap,[i,s]=this.prepareMatching(n,r);return I(this.quill.scroll,n,i,s,r)}dangerouslyPasteHTML(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.Ay.sources.API;if("string"==typeof t){const n=this.convert({html:t,text:""});this.quill.setContents(n,e),this.quill.setSelection(0,c.Ay.sources.SILENT)}else{const r=this.convert({html:e,text:""});this.quill.updateContents((new(s())).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),c.Ay.sources.SILENT)}}onCaptureCopy(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.defaultPrevented)return;t.preventDefault();const[n]=this.quill.selection.getRange();if(null==n)return;const{html:r,text:i}=this.onCopy(n,e);t.clipboardData?.setData("text/plain",i),t.clipboardData?.setData("text/html",r),e&&(0,b.Xo)({range:n,quill:this.quill})}normalizeURIList(t){return t.split(/\r?\n/).filter((t=>"#"!==t[0])).join("\n")}onCapturePaste(t){if(t.defaultPrevented||!this.quill.isEnabled())return;t.preventDefault();const e=this.quill.getSelection(!0);if(null==e)return;const n=t.clipboardData?.getData("text/html");let r=t.clipboardData?.getData("text/plain");if(!n&&!r){const e=t.clipboardData?.getData("text/uri-list");e&&(r=this.normalizeURIList(e))}const i=Array.from(t.clipboardData?.files||[]);if(!n&&i.length>0)this.quill.uploader.upload(e,i);else{if(n&&i.length>0){const t=(new DOMParser).parseFromString(n,"text/html");if(1===t.body.childElementCount&&"IMG"===t.body.firstElementChild?.tagName)return void this.quill.uploader.upload(e,i)}this.onPaste(e,{html:n,text:r})}}onCopy(t){const e=this.quill.getText(t);return{html:this.quill.getSemanticHTML(t),text:e}}onPaste(t,e){let{text:n,html:r}=e;const i=this.quill.getFormat(t.index),o=this.convert({text:n,html:r},i);q.log("onPaste",o,{text:n,html:r});const l=(new(s())).retain(t.index).delete(t.length).concat(o);this.quill.updateContents(l,c.Ay.sources.USER),this.quill.setSelection(l.length()-t.length,c.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(t,e){const n=[],r=[];return this.matchers.forEach((i=>{const[s,o]=i;switch(s){case Node.TEXT_NODE:r.push(o);break;case Node.ELEMENT_NODE:n.push(o);break;default:Array.from(t.querySelectorAll(s)).forEach((t=>{if(e.has(t)){const n=e.get(t);n?.push(o)}else e.set(t,[o])}))}})),[n,r]}}function O(t,e,n,r){return r.query(e)?t.reduce(((t,r)=>{if(!r.insert)return t;if(r.attributes&&r.attributes[e])return t.push(r);const i=n?{[e]:n}:{};return t.insert(r.insert,{...i,...r.attributes})}),new(s())):t}function T(t,e){let n="";for(let r=t.ops.length-1;r>=0&&n.lengthr(e,n,t)),new(s())):e.nodeType===e.ELEMENT_NODE?Array.from(e.childNodes||[]).reduce(((s,o)=>{let l=I(t,o,n,r,i);return o.nodeType===e.ELEMENT_NODE&&(l=n.reduce(((e,n)=>n(o,e,t)),l),l=(i.get(o)||[]).reduce(((e,n)=>n(o,e,t)),l)),s.concat(l)}),new(s())):new(s())}function B(t){return(e,n,r)=>O(n,t,!0,r)}function M(t,e,n){if(!T(e,"\n")){if(j(t,n)&&(t.childNodes.length>0||t instanceof HTMLParagraphElement))return e.insert("\n");if(e.length()>0&&t.nextSibling){let r=t.nextSibling;for(;null!=r;){if(j(r,n))return e.insert("\n");const t=n.query(r);if(t&&t.prototype instanceof o.zo)return e.insert("\n");r=r.firstChild}}}return e}},8123:function(t,e,n){"use strict";n.d(e,{Ay:function(){return f},Xo:function(){return v}});var r=n(5123),i=n(3707),s=n(5232),o=n.n(s),l=n(6003),a=n(6142),c=n(6078),u=n(4266);const h=(0,c.A)("quill:keyboard"),d=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class f extends u.A{static match(t,e){return!["altKey","ctrlKey","metaKey","shiftKey"].some((n=>!!e[n]!==t[n]&&null!==e[n]))&&(e.key===t.key||e.key===t.which)}constructor(t,e){super(t,e),this.bindings={},Object.keys(this.options.bindings).forEach((t=>{this.options.bindings[t]&&this.addBinding(this.options.bindings[t])})),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},(()=>{})),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=function(t){if("string"==typeof t||"number"==typeof t)t={key:t};else{if("object"!=typeof t)return null;t=(0,i.A)(t)}return t.shortKey&&(t[d]=t.shortKey,delete t.shortKey),t}(t);null!=r?("function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),(Array.isArray(r.key)?r.key:[r.key]).forEach((t=>{const i={...r,key:t,...e,...n};this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}))):h.warn("Attempted to add invalid keyboard binding",r)}listen(){this.quill.root.addEventListener("keydown",(t=>{if(t.defaultPrevented||t.isComposing)return;if(229===t.keyCode&&("Enter"===t.key||"Backspace"===t.key))return;const e=(this.bindings[t.key]||[]).concat(this.bindings[t.which]||[]).filter((e=>f.match(t,e)));if(0===e.length)return;const n=a.Ay.find(t.target,!0);if(n&&n.scroll!==this.quill.scroll)return;const i=this.quill.getSelection();if(null==i||!this.quill.hasFocus())return;const[s,o]=this.quill.getLine(i.index),[c,u]=this.quill.getLeaf(i.index),[h,d]=0===i.length?[c,u]:this.quill.getLeaf(i.index+i.length),p=c instanceof l.TextBlot?c.value().slice(0,u):"",g=h instanceof l.TextBlot?h.value().slice(d):"",m={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:this.quill.getFormat(i),line:s,offset:o,prefix:p,suffix:g,event:t};e.some((t=>{if(null!=t.collapsed&&t.collapsed!==m.collapsed)return!1;if(null!=t.empty&&t.empty!==m.empty)return!1;if(null!=t.offset&&t.offset!==m.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((t=>null==m.format[t])))return!1}else if("object"==typeof t.format&&!Object.keys(t.format).every((e=>!0===t.format[e]?null!=m.format[e]:!1===t.format[e]?null==m.format[e]:(0,r.A)(t.format[e],m.format[e]))))return!1;return!(null!=t.prefix&&!t.prefix.test(m.prefix)||null!=t.suffix&&!t.suffix.test(m.suffix)||!0===t.handler.call(this,i,m,t))}))&&t.preventDefault()}))}handleBackspace(t,e){const n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;if(0===t.index||this.quill.getLength()<=1)return;let r={};const[i]=this.quill.getLine(t.index);let l=(new(o())).retain(t.index-n).delete(n);if(0===e.offset){const[e]=this.quill.getLine(t.index-1);if(e&&!("block"===e.statics.blotName&&e.length()<=1)){const e=i.formats(),n=this.quill.getFormat(t.index-1,1);if(r=s.AttributeMap.diff(e,n)||{},Object.keys(r).length>0){const e=(new(o())).retain(t.index+i.length()-2).retain(1,r);l=l.compose(e)}}}this.quill.updateContents(l,a.Ay.sources.USER),this.quill.focus()}handleDelete(t,e){const n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(t.index>=this.quill.getLength()-n)return;let r={};const[i]=this.quill.getLine(t.index);let l=(new(o())).retain(t.index).delete(n);if(e.offset>=i.length()-1){const[e]=this.quill.getLine(t.index+1);if(e){const n=i.formats(),o=this.quill.getFormat(t.index,1);r=s.AttributeMap.diff(n,o)||{},Object.keys(r).length>0&&(l=l.retain(e.length()-1).retain(1,r))}}this.quill.updateContents(l,a.Ay.sources.USER),this.quill.focus()}handleDeleteRange(t){v({range:t,quill:this.quill}),this.quill.focus()}handleEnter(t,e){const n=Object.keys(e.format).reduce(((t,n)=>(this.quill.scroll.query(n,l.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t)),{}),r=(new(o())).retain(t.index).delete(t.length).insert("\n",n);this.quill.updateContents(r,a.Ay.sources.USER),this.quill.setSelection(t.index+1,a.Ay.sources.SILENT),this.quill.focus()}}const p={bindings:{bold:b("bold"),italic:b("italic"),underline:b("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(t,e){return!(!e.collapsed||0===e.offset)||(this.quill.format("indent","+1",a.Ay.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(t,e){return!(!e.collapsed||0===e.offset)||(this.quill.format("indent","-1",a.Ay.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(t,e){null!=e.format.indent?this.quill.format("indent","-1",a.Ay.sources.USER):null!=e.format.list&&this.quill.format("list",!1,a.Ay.sources.USER)}},"indent code-block":g(!0),"outdent code-block":g(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(t){this.quill.deleteText(t.index-1,1,a.Ay.sources.USER)}},tab:{key:"Tab",handler(t,e){if(e.format.table)return!0;this.quill.history.cutoff();const n=(new(o())).retain(t.index).delete(t.length).insert("\t");return this.quill.updateContents(n,a.Ay.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,a.Ay.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,a.Ay.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(t,e){const n={list:!1};e.format.indent&&(n.indent=!1),this.quill.formatLine(t.index,t.length,n,a.Ay.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(t){const[e,n]=this.quill.getLine(t.index),r={...e.formats(),list:"checked"},i=(new(o())).retain(t.index).insert("\n",r).retain(e.length()-n-1).retain(1,{list:"unchecked"});this.quill.updateContents(i,a.Ay.sources.USER),this.quill.setSelection(t.index+1,a.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(t,e){const[n,r]=this.quill.getLine(t.index),i=(new(o())).retain(t.index).insert("\n",e.format).retain(n.length()-r-1).retain(1,{header:null});this.quill.updateContents(i,a.Ay.sources.USER),this.quill.setSelection(t.index+1,a.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(t){const e=this.quill.getModule("table");if(e){const[n,r,i,s]=e.getTable(t),l=function(t,e,n,r){return null==e.prev&&null==e.next?null==n.prev&&null==n.next?0===r?-1:1:null==n.prev?-1:1:null==e.prev?-1:null==e.next?1:null}(0,r,i,s);if(null==l)return;let c=n.offset();if(l<0){const e=(new(o())).retain(c).insert("\n");this.quill.updateContents(e,a.Ay.sources.USER),this.quill.setSelection(t.index+1,t.length,a.Ay.sources.SILENT)}else if(l>0){c+=n.length();const t=(new(o())).retain(c).insert("\n");this.quill.updateContents(t,a.Ay.sources.USER),this.quill.setSelection(c,a.Ay.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(t,e){const{event:n,line:r}=e,i=r.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(i-1,a.Ay.sources.USER):this.quill.setSelection(i+r.length(),a.Ay.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(t,e){if(null==this.quill.scroll.query("list"))return!0;const{length:n}=e.prefix,[r,i]=this.quill.getLine(t.index);if(i>n)return!0;let s;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",a.Ay.sources.USER),this.quill.history.cutoff();const l=(new(o())).retain(t.index-i).delete(n+1).retain(r.length()-2-i).retain(1,{list:s});return this.quill.updateContents(l,a.Ay.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,a.Ay.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(t){const[e,n]=this.quill.getLine(t.index);let r=2,i=e;for(;null!=i&&i.length()<=1&&i.formats()["code-block"];)if(i=i.prev,r-=1,r<=0){const r=(new(o())).retain(t.index+e.length()-n-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(r,a.Ay.sources.USER),this.quill.setSelection(t.index-1,a.Ay.sources.SILENT),!1}return!0}},"embed left":m("ArrowLeft",!1),"embed left shift":m("ArrowLeft",!0),"embed right":m("ArrowRight",!1),"embed right shift":m("ArrowRight",!0),"table down":y(!1),"table up":y(!0)}};function g(t){return{key:"Tab",shiftKey:!t,format:{"code-block":!0},handler(e,n){let{event:r}=n;const i=this.quill.scroll.query("code-block"),{TAB:s}=i;if(0===e.length&&!r.shiftKey)return this.quill.insertText(e.index,s,a.Ay.sources.USER),void this.quill.setSelection(e.index+s.length,a.Ay.sources.SILENT);const o=0===e.length?this.quill.getLines(e.index,1):this.quill.getLines(e);let{index:l,length:c}=e;o.forEach(((e,n)=>{t?(e.insertAt(0,s),0===n?l+=s.length:c+=s.length):e.domNode.textContent.startsWith(s)&&(e.deleteAt(0,s.length),0===n?l-=s.length:c-=s.length)})),this.quill.update(a.Ay.sources.USER),this.quill.setSelection(l,c,a.Ay.sources.SILENT)}}}function m(t,e){return{key:t,shiftKey:e,altKey:null,["ArrowLeft"===t?"prefix":"suffix"]:/^$/,handler(n){let{index:r}=n;"ArrowRight"===t&&(r+=n.length+1);const[i]=this.quill.getLeaf(r);return!(i instanceof l.EmbedBlot&&("ArrowLeft"===t?e?this.quill.setSelection(n.index-1,n.length+1,a.Ay.sources.USER):this.quill.setSelection(n.index-1,a.Ay.sources.USER):e?this.quill.setSelection(n.index,n.length+1,a.Ay.sources.USER):this.quill.setSelection(n.index+n.length+1,a.Ay.sources.USER),1))}}}function b(t){return{key:t[0],shortKey:!0,handler(e,n){this.quill.format(t,!n.format[t],a.Ay.sources.USER)}}}function y(t){return{key:t?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(e,n){const r=t?"prev":"next",i=n.line,s=i.parent[r];if(null!=s){if("table-row"===s.statics.blotName){let t=s.children.head,e=i;for(;null!=e.prev;)e=e.prev,t=t.next;const r=t.offset(this.quill.scroll)+Math.min(n.offset,t.length()-1);this.quill.setSelection(r,0,a.Ay.sources.USER)}}else{const e=i.table()[r];null!=e&&(t?this.quill.setSelection(e.offset(this.quill.scroll)+e.length()-1,0,a.Ay.sources.USER):this.quill.setSelection(e.offset(this.quill.scroll),0,a.Ay.sources.USER))}return!1}}}function v(t){let{quill:e,range:n}=t;const r=e.getLines(n);let i={};if(r.length>1){const t=r[0].formats(),e=r[r.length-1].formats();i=s.AttributeMap.diff(e,t)||{}}e.deleteText(n,a.Ay.sources.USER),Object.keys(i).length>0&&e.formatLine(n.index,1,i,a.Ay.sources.USER),e.setSelection(n.index,a.Ay.sources.SILENT)}f.DEFAULTS=p},8920:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function s(t,e,r,s,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new i(r,s||t,o),a=n?n+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],l]:t._events[a].push(l):(t._events[a]=l,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,s=r.length,o=new Array(s);io)){var d=e.slice(0,h);if((g=e.slice(h))===c){var f=Math.min(l,h);if((b=a.slice(0,f))===(A=d.slice(0,f)))return v(b,a.slice(f),d.slice(f),c)}}if(null===u||u===l){var p=l,g=(d=e.slice(0,p),e.slice(p));if(d===a){var m=Math.min(s-p,o-p);if((y=c.slice(c.length-m))===(x=g.slice(g.length-m)))return v(a,c.slice(0,c.length-m),g.slice(0,g.length-m),y)}}}if(r.length>0&&i&&0===i.length){var b=t.slice(0,r.index),y=t.slice(r.index+r.length);if(!(o<(f=b.length)+(m=y.length))){var A=e.slice(0,f),x=e.slice(o-m);if(b===A&&y===x)return v(b,t.slice(f,s-m),e.slice(f,o-m),y)}}return null}(t,g,m);if(A)return A}var x=o(t,g),N=t.substring(0,x);x=a(t=t.substring(x),g=g.substring(x));var E=t.substring(t.length-x),w=function(t,l){var c;if(!t)return[[n,l]];if(!l)return[[e,t]];var u=t.length>l.length?t:l,h=t.length>l.length?l:t,d=u.indexOf(h);if(-1!==d)return c=[[n,u.substring(0,d)],[r,h],[n,u.substring(d+h.length)]],t.length>l.length&&(c[0][0]=c[2][0]=e),c;if(1===h.length)return[[e,t],[n,l]];var f=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length=t.length?[r,i,s,l,h]:null}var s,l,c,u,h,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(s=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(l=s[0],c=s[1],u=s[2],h=s[3]):(u=s[0],h=s[1],l=s[2],c=s[3]),[l,c,u,h,s[4]]):null}(t,l);if(f){var p=f[0],g=f[1],m=f[2],b=f[3],y=f[4],v=i(p,m),A=i(g,b);return v.concat([[r,y]],A)}return function(t,r){for(var i=t.length,o=r.length,l=Math.ceil((i+o)/2),a=l,c=2*l,u=new Array(c),h=new Array(c),d=0;di)m+=2;else if(N>o)g+=2;else if(p&&(q=a+f-A)>=0&&q=(w=i-h[q]))return s(t,r,_,N)}for(var E=-v+b;E<=v-y;E+=2){for(var w,q=a+E,k=(w=E===-v||E!==v&&h[q-1]i)y+=2;else if(k>o)b+=2;else if(!p){var _;if((x=a+f-E)>=0&&x=(w=i-w))return s(t,r,_,N)}}}return[[e,t],[n,r]]}(t,l)}(t=t.substring(0,t.length-x),g=g.substring(0,g.length-x));return N&&w.unshift([r,N]),E&&w.push([r,E]),p(w,y),b&&function(t){for(var i=!1,s=[],o=0,g=null,m=0,b=0,y=0,v=0,A=0;m0?s[o-1]:-1,b=0,y=0,v=0,A=0,g=null,i=!0)),m++;for(i&&p(t),function(t){function e(t,e){if(!t||!e)return 6;var n=t.charAt(t.length-1),r=e.charAt(0),i=n.match(c),s=r.match(c),o=i&&n.match(u),l=s&&r.match(u),a=o&&n.match(h),p=l&&r.match(h),g=a&&t.match(d),m=p&&e.match(f);return g||m?5:a||p?4:i&&!o&&l?3:o||l?2:i||s?1:0}for(var n=1;n=y&&(y=v,g=i,m=s,b=o)}t[n-1][1]!=g&&(g?t[n-1][1]=g:(t.splice(n-1,1),n--),t[n][1]=m,b?t[n+1][1]=b:(t.splice(n+1,1),n--))}n++}}(t),m=1;m=w?(E>=x.length/2||E>=N.length/2)&&(t.splice(m,0,[r,N.substring(0,E)]),t[m-1][1]=x.substring(0,x.length-E),t[m+1][1]=N.substring(E),m++):(w>=x.length/2||w>=N.length/2)&&(t.splice(m,0,[r,x.substring(0,w)]),t[m-1][0]=n,t[m-1][1]=N.substring(0,N.length-w),t[m+1][0]=e,t[m+1][1]=x.substring(w),m++),m++}m++}}(w),w}function s(t,e,n,r){var s=t.substring(0,n),o=e.substring(0,r),l=t.substring(n),a=e.substring(r),c=i(s,o),u=i(l,a);return c.concat(u)}function o(t,e){if(!t||!e||t.charAt(0)!==e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,s=0;nr?t=t.substring(n-r):n=0&&y(t[f][1])){var g=t[f][1].slice(-1);if(t[f][1]=t[f][1].slice(0,-1),h=g+h,d=g+d,!t[f][1]){t.splice(f,1),l--;var m=f-1;t[m]&&t[m][0]===n&&(u++,d=t[m][1]+d,m--),t[m]&&t[m][0]===e&&(c++,h=t[m][1]+h,m--),f=m}}b(t[l][1])&&(g=t[l][1].charAt(0),t[l][1]=t[l][1].slice(1),h+=g,d+=g)}if(l0||d.length>0){h.length>0&&d.length>0&&(0!==(s=o(d,h))&&(f>=0?t[f][1]+=d.substring(0,s):(t.splice(0,0,[r,d.substring(0,s)]),l++),d=d.substring(s),h=h.substring(s)),0!==(s=a(d,h))&&(t[l][1]=d.substring(d.length-s)+t[l][1],d=d.substring(0,d.length-s),h=h.substring(0,h.length-s)));var v=u+c;0===h.length&&0===d.length?(t.splice(l-v,v),l-=v):0===h.length?(t.splice(l-v,v,[n,d]),l=l-v+1):0===d.length?(t.splice(l-v,v,[e,h]),l=l-v+1):(t.splice(l-v,v,[e,h],[n,d]),l=l-v+2)}0!==l&&t[l-1][0]===r?(t[l-1][1]+=t[l][1],t.splice(l,1)):l++,u=0,c=0,h="",d=""}""===t[t.length-1][1]&&t.pop();var A=!1;for(l=1;l=55296&&t<=56319}function m(t){return t>=56320&&t<=57343}function b(t){return m(t.charCodeAt(0))}function y(t){return g(t.charCodeAt(t.length-1))}function v(t,i,s,o){return y(t)||b(o)?null:function(t){for(var e=[],n=0;n0&&e.push(t[n]);return e}([[r,t],[e,i],[n,s],[r,o]])}function A(t,e,n,r){return i(t,e,n,r,!0)}A.INSERT=n,A.DELETE=e,A.EQUAL=r,t.exports=A},9629:function(t,e,n){t=n.nmd(t);var r="__lodash_hash_undefined__",i=9007199254740991,s="[object Arguments]",o="[object Boolean]",l="[object Date]",a="[object Function]",c="[object GeneratorFunction]",u="[object Map]",h="[object Number]",d="[object Object]",f="[object Promise]",p="[object RegExp]",g="[object Set]",m="[object String]",b="[object Symbol]",y="[object WeakMap]",v="[object ArrayBuffer]",A="[object DataView]",x="[object Float32Array]",N="[object Float64Array]",E="[object Int8Array]",w="[object Int16Array]",q="[object Int32Array]",k="[object Uint8Array]",_="[object Uint8ClampedArray]",L="[object Uint16Array]",S="[object Uint32Array]",O=/\w*$/,T=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,C={};C[s]=C["[object Array]"]=C[v]=C[A]=C[o]=C[l]=C[x]=C[N]=C[E]=C[w]=C[q]=C[u]=C[h]=C[d]=C[p]=C[g]=C[m]=C[b]=C[k]=C[_]=C[L]=C[S]=!0,C["[object Error]"]=C[a]=C[y]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,B=R||I||Function("return this")(),M=e&&!e.nodeType&&e,U=M&&t&&!t.nodeType&&t,D=U&&U.exports===M;function P(t,e){return t.set(e[0],e[1]),t}function z(t,e){return t.add(e),t}function F(t,e,n,r){var i=-1,s=t?t.length:0;for(r&&s&&(n=t[++i]);++i-1},_t.prototype.set=function(t,e){var n=this.__data__,r=Tt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Lt.prototype.clear=function(){this.__data__={hash:new kt,map:new(pt||_t),string:new kt}},Lt.prototype.delete=function(t){return It(this,t).delete(t)},Lt.prototype.get=function(t){return It(this,t).get(t)},Lt.prototype.has=function(t){return It(this,t).has(t)},Lt.prototype.set=function(t,e){return It(this,t).set(t,e),this},St.prototype.clear=function(){this.__data__=new _t},St.prototype.delete=function(t){return this.__data__.delete(t)},St.prototype.get=function(t){return this.__data__.get(t)},St.prototype.has=function(t){return this.__data__.has(t)},St.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _t){var r=n.__data__;if(!pt||r.length<199)return r.push([t,e]),this;n=this.__data__=new Lt(r)}return n.set(t,e),this};var Mt=ut?V(ut,Object):function(){return[]},Ut=function(t){return et.call(t)};function Dt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||j.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=i}(t.length)&&!Kt(t)}var Vt=ht||function(){return!1};function Kt(t){var e=Wt(t)?et.call(t):"";return e==a||e==c}function Wt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Zt(t){return $t(t)?function(t,e){var n=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&$t(t)}(t)&&tt.call(t,"callee")&&(!at.call(t,"callee")||et.call(t)==s)}(t)?function(t,e){for(var n=-1,r=Array(t);++nc))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var d=-1,f=!0,p=n&s?new kt:void 0;for(l.set(t,e),l.set(e,t);++d-1},wt.prototype.set=function(t,e){var n=this.__data__,r=Lt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},qt.prototype.clear=function(){this.size=0,this.__data__={hash:new Et,map:new(ht||wt),string:new Et}},qt.prototype.delete=function(t){var e=Rt(this,t).delete(t);return this.size-=e?1:0,e},qt.prototype.get=function(t){return Rt(this,t).get(t)},qt.prototype.has=function(t){return Rt(this,t).has(t)},qt.prototype.set=function(t,e){var n=Rt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},kt.prototype.add=kt.prototype.push=function(t){return this.__data__.set(t,r),this},kt.prototype.has=function(t){return this.__data__.has(t)},_t.prototype.clear=function(){this.__data__=new wt,this.size=0},_t.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},_t.prototype.get=function(t){return this.__data__.get(t)},_t.prototype.has=function(t){return this.__data__.has(t)},_t.prototype.set=function(t,e){var n=this.__data__;if(n instanceof wt){var r=n.__data__;if(!ht||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new qt(r)}return n.set(t,e),this.size=n.size,this};var Bt=lt?function(t){return null==t?[]:(t=Object(t),function(e,n){for(var r=-1,i=null==e?0:e.length,s=0,o=[];++r-1&&t%1==0&&t-1&&t%1==0&&t<=o}function Kt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Wt(t){return null!=t&&"object"==typeof t}var Zt=D?function(t){return function(e){return t(e)}}(D):function(t){return Wt(t)&&Vt(t.length)&&!!O[St(t)]};function Gt(t){return null!=(e=t)&&Vt(e.length)&&!$t(e)?function(t,e){var n=Ft(t),r=!n&&zt(t),i=!n&&!r&&Ht(t),s=!n&&!r&&!i&&Zt(t),o=n||r||i||s,l=o?function(t,e){for(var n=-1,r=Array(t);++n(null!=i[e]&&(t[e]=i[e]),t)),{}));for(const n in t)void 0!==t[n]&&void 0===e[n]&&(i[n]=t[n]);return Object.keys(i).length>0?i:void 0},t.diff=function(t={},e={}){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});const n=Object.keys(t).concat(Object.keys(e)).reduce(((n,r)=>(i(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n)),{});return Object.keys(n).length>0?n:void 0},t.invert=function(t={},e={}){t=t||{};const n=Object.keys(e).reduce(((n,r)=>(e[r]!==t[r]&&void 0!==t[r]&&(n[r]=e[r]),n)),{});return Object.keys(t).reduce(((n,r)=>(t[r]!==e[r]&&void 0===e[r]&&(n[r]=null),n)),n)},t.transform=function(t,e,n=!1){if("object"!=typeof t)return e;if("object"!=typeof e)return;if(!n)return e;const r=Object.keys(e).reduce(((n,r)=>(void 0===t[r]&&(n[r]=e[r]),n)),{});return Object.keys(r).length>0?r:void 0}}(s||(s={})),e.default=s},5232:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const r=n(5090),i=n(9629),s=n(4162),o=n(1270);e.AttributeMap=o.default;const l=n(4123);e.Op=l.default;const a=n(7033);e.OpIterator=a.default;const c=String.fromCharCode(0),u=(t,e)=>{if("object"!=typeof t||null===t)throw new Error("cannot retain a "+typeof t);if("object"!=typeof e||null===e)throw new Error("cannot retain a "+typeof e);const n=Object.keys(t)[0];if(!n||n!==Object.keys(e)[0])throw new Error(`embed types not matched: ${n} != ${Object.keys(e)[0]}`);return[n,t[n],e[n]]};class h{constructor(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}static registerEmbed(t,e){this.handlers[t]=e}static unregisterEmbed(t){delete this.handlers[t]}static getHandler(t){const e=this.handlers[t];if(!e)throw new Error(`no handlers for embed type "${t}"`);return e}insert(t,e){const n={};return"string"==typeof t&&0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))}delete(t){return t<=0?this:this.push({delete:t})}retain(t,e){if("number"==typeof t&&t<=0)return this;const n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)}push(t){let e=this.ops.length,n=this.ops[e-1];if(t=i(t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!=typeof n))return this.ops.unshift(t),this;if(s(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this}chop(){const t=this.ops[this.ops.length-1];return t&&"number"==typeof t.retain&&!t.attributes&&this.ops.pop(),this}filter(t){return this.ops.filter(t)}forEach(t){this.ops.forEach(t)}map(t){return this.ops.map(t)}partition(t){const e=[],n=[];return this.forEach((r=>{(t(r)?e:n).push(r)})),[e,n]}reduce(t,e){return this.ops.reduce(t,e)}changeLength(){return this.reduce(((t,e)=>e.insert?t+l.default.length(e):e.delete?t-e.delete:t),0)}length(){return this.reduce(((t,e)=>t+l.default.length(e)),0)}slice(t=0,e=1/0){const n=[],r=new a.default(this.ops);let i=0;for(;i0&&n.next(i.retain-t)}const l=new h(r);for(;e.hasNext()||n.hasNext();)if("insert"===n.peekType())l.push(n.next());else if("delete"===e.peekType())l.push(e.next());else{const t=Math.min(e.peekLength(),n.peekLength()),r=e.next(t),i=n.next(t);if(i.retain){const a={};if("number"==typeof r.retain)a.retain="number"==typeof i.retain?t:i.retain;else if("number"==typeof i.retain)null==r.retain?a.insert=r.insert:a.retain=r.retain;else{const t=null==r.retain?"insert":"retain",[e,n,s]=u(r[t],i.retain),o=h.getHandler(e);a[t]={[e]:o.compose(n,s,"retain"===t)}}const c=o.default.compose(r.attributes,i.attributes,"number"==typeof r.retain);if(c&&(a.attributes=c),l.push(a),!n.hasNext()&&s(l.ops[l.ops.length-1],a)){const t=new h(e.rest());return l.concat(t).chop()}}else"number"==typeof i.delete&&("number"==typeof r.retain||"object"==typeof r.retain&&null!==r.retain)&&l.push(i)}return l.chop()}concat(t){const e=new h(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e}diff(t,e){if(this.ops===t.ops)return new h;const n=[this,t].map((e=>e.map((n=>{if(null!=n.insert)return"string"==typeof n.insert?n.insert:c;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join(""))),i=new h,l=r(n[0],n[1],e,!0),u=new a.default(this.ops),d=new a.default(t.ops);return l.forEach((t=>{let e=t[1].length;for(;e>0;){let n=0;switch(t[0]){case r.INSERT:n=Math.min(d.peekLength(),e),i.push(d.next(n));break;case r.DELETE:n=Math.min(e,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);const t=u.next(n),l=d.next(n);s(t.insert,l.insert)?i.retain(n,o.default.diff(t.attributes,l.attributes)):i.push(l).delete(n)}e-=n}})),i.chop()}eachLine(t,e="\n"){const n=new a.default(this.ops);let r=new h,i=0;for(;n.hasNext();){if("insert"!==n.peekType())return;const s=n.peek(),o=l.default.length(s)-n.peekLength(),a="string"==typeof s.insert?s.insert.indexOf(e,o)-o:-1;if(a<0)r.push(n.next());else if(a>0)r.push(n.next(a));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new h}}r.length()>0&&t(r,{},i)}invert(t){const e=new h;return this.reduce(((n,r)=>{if(r.insert)e.delete(l.default.length(r));else{if("number"==typeof r.retain&&null==r.attributes)return e.retain(r.retain),n+r.retain;if(r.delete||"number"==typeof r.retain){const i=r.delete||r.retain;return t.slice(n,n+i).forEach((t=>{r.delete?e.push(t):r.retain&&r.attributes&&e.retain(l.default.length(t),o.default.invert(r.attributes,t.attributes))})),n+i}if("object"==typeof r.retain&&null!==r.retain){const i=t.slice(n,n+1),s=new a.default(i.ops).next(),[l,c,d]=u(r.retain,s.insert),f=h.getHandler(l);return e.retain({[l]:f.invert(c,d)},o.default.invert(r.attributes,s.attributes)),n+1}}return n}),0),e.chop()}transform(t,e=!1){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);const n=t,r=new a.default(this.ops),i=new a.default(n.ops),s=new h;for(;r.hasNext()||i.hasNext();)if("insert"!==r.peekType()||!e&&"insert"===i.peekType())if("insert"===i.peekType())s.push(i.next());else{const t=Math.min(r.peekLength(),i.peekLength()),n=r.next(t),l=i.next(t);if(n.delete)continue;if(l.delete)s.push(l);else{const r=n.retain,i=l.retain;let a="object"==typeof i&&null!==i?i:t;if("object"==typeof r&&null!==r&&"object"==typeof i&&null!==i){const t=Object.keys(r)[0];if(t===Object.keys(i)[0]){const n=h.getHandler(t);n&&(a={[t]:n.transform(r[t],i[t],e)})}}s.retain(a,o.default.transform(n.attributes,l.attributes,e))}}else s.retain(l.default.length(r.next()));return s.chop()}transformPosition(t,e=!1){e=!!e;const n=new a.default(this.ops);let r=0;for(;n.hasNext()&&r<=t;){const i=n.peekLength(),s=n.peekType();n.next(),"delete"!==s?("insert"===s&&(r=i-n?(t=i-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};{const r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"object"==typeof e.retain&&null!==e.retain?r.retain=e.retain:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const t=this.ops[this.index];return t?"number"==typeof t.delete?"delete":"number"==typeof t.retain||"object"==typeof t.retain&&null!==t.retain?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);{const t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}}return[]}}},8820:function(t,e,n){"use strict";n.d(e,{A:function(){return l}});var r=n(8138),i=function(t,e){for(var n=t.length;n--;)if((0,r.A)(t[n][0],e))return n;return-1},s=Array.prototype.splice;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var l=o},2461:function(t,e,n){"use strict";var r=n(2281),i=n(5507),s=(0,r.A)(i.A,"Map");e.A=s},3558:function(t,e,n){"use strict";n.d(e,{A:function(){return d}});var r=(0,n(2281).A)(Object,"create"),i=Object.prototype.hasOwnProperty,s=Object.prototype.hasOwnProperty;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&tc))return!1;var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=-1,p=!0,g=2&n?new o:void 0;for(s.set(t,e),s.set(e,t);++f-1&&t%1==0&&t<=9007199254740991}},659:function(t,e){"use strict";e.A=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7948:function(t,e){"use strict";e.A=function(t){return null!=t&&"object"==typeof t}},5755:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(2159),i=n(1628),s=n(7948),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var l=n(5771),a=n(8795),c=a.A&&a.A.isTypedArray,u=c?(0,l.A)(c):function(t){return(0,s.A)(t)&&(0,i.A)(t.length)&&!!o[(0,r.A)(t)]}},3169:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(6753),i=n(501),s=(0,n(2217).A)(Object.keys,Object),o=Object.prototype.hasOwnProperty,l=n(3628),a=function(t){return(0,l.A)(t)?(0,r.A)(t):function(t){if(!(0,i.A)(t))return s(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}},2624:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var r=n(6753),i=n(659),s=n(501),o=Object.prototype.hasOwnProperty,l=function(t){if(!(0,i.A)(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=(0,s.A)(t),n=[];for(var r in t)("constructor"!=r||!e&&o.call(t,r))&&n.push(r);return n},a=n(3628),c=function(t){return(0,a.A)(t)?(0,r.A)(t,!0):l(t)}},8347:function(t,e,n){"use strict";n.d(e,{A:function(){return $}});var r,i,s,o,l=n(2673),a=n(6770),c=n(8138),u=function(t,e,n){(void 0!==n&&!(0,c.A)(t[e],n)||void 0===n&&!(e in t))&&(0,a.A)(t,e,n)},h=function(t,e,n){for(var r=-1,i=Object(t),s=n(t),o=s.length;o--;){var l=s[++r];if(!1===e(i[l],l,i))break}return t},d=n(3812),f=n(1827),p=n(4405),g=n(1683),m=n(8412),b=n(723),y=n(3628),v=n(7948),A=n(776),x=n(7572),N=n(659),E=n(2159),w=n(8769),q=Function.prototype,k=Object.prototype,_=q.toString,L=k.hasOwnProperty,S=_.call(Object),O=n(5755),T=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},j=n(9601),C=n(2624),R=function(t,e,n,r,i,s,o){var l,a=T(t,n),c=T(e,n),h=o.get(c);if(h)u(t,n,h);else{var q=s?s(a,c,n+"",t,e,o):void 0,k=void 0===q;if(k){var R=(0,b.A)(c),I=!R&&(0,A.A)(c),B=!R&&!I&&(0,O.A)(c);q=c,R||I||B?(0,b.A)(a)?q=a:(l=a,(0,v.A)(l)&&(0,y.A)(l)?q=(0,p.A)(a):I?(k=!1,q=(0,d.A)(c,!0)):B?(k=!1,q=(0,f.A)(c,!0)):q=[]):function(t){if(!(0,v.A)(t)||"[object Object]"!=(0,E.A)(t))return!1;var e=(0,w.A)(t);if(null===e)return!0;var n=L.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==S}(c)||(0,m.A)(c)?(q=a,(0,m.A)(a)?q=function(t){return(0,j.A)(t,(0,C.A)(t))}(a):(0,N.A)(a)&&!(0,x.A)(a)||(q=(0,g.A)(c))):k=!1}k&&(o.set(c,q),i(q,c,r,s,o),o.delete(c)),u(t,n,q)}},I=function t(e,n,r,i,s){e!==n&&h(n,(function(o,a){if(s||(s=new l.A),(0,N.A)(o))R(e,n,a,r,t,i,s);else{var c=i?i(T(e,a),o,a+"",e,n,s):void 0;void 0===c&&(c=o),u(e,a,c)}}),C.A)},B=function(t){return t},M=Math.max,U=n(7889),D=U.A?function(t,e){return(0,U.A)(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:B,P=Date.now,z=(r=D,i=0,s=0,function(){var t=P(),e=16-(t-s);if(s=t,e>0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}),F=function(t,e){return z(function(t,e,n){return e=M(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=M(r.length-e,0),o=Array(s);++i1?e[r-1]:void 0,s=r>2?e[2]:void 0;for(i=o.length>3&&"function"==typeof i?(r--,i):void 0,s&&function(t,e,n){if(!(0,N.A)(n))return!1;var r=typeof e;return!!("number"==r?(0,y.A)(n)&&(0,H.A)(e,n.length):"string"==r&&e in n)&&(0,c.A)(n[e],t)}(e[0],e[1],s)&&(i=r<3?void 0:i,r=1),t=Object(t);++n(t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY",t))(r||{});class i{constructor(t,e,n={}){this.attrName=t,this.keyName=e;const i=r.TYPE&r.ATTRIBUTE;this.scope=null!=n.scope?n.scope&r.LEVEL|i:r.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}static keys(t){return Array.from(t.attributes).map((t=>t.name))}add(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)}canAdd(t,e){return null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1)}remove(t){t.removeAttribute(this.keyName)}value(t){const e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""}}class s extends Error{constructor(t){super(t="[Parchment] "+t),this.message=t,this.name=this.constructor.name}}const o=class t{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(t,e=!1){if(null==t)return null;if(this.blots.has(t))return this.blots.get(t)||null;if(e){let n=null;try{n=t.parentNode}catch{return null}return this.find(n,e)}return null}create(e,n,r){const i=this.query(n);if(null==i)throw new s(`Unable to create ${n} blot`);const o=i,l=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:o.create(r),a=new o(e,l,r);return t.blots.set(a.domNode,a),a}find(e,n=!1){return t.find(e,n)}query(t,e=r.ANY){let n;return"string"==typeof t?n=this.types[t]||this.attributes[t]:t instanceof Text||t.nodeType===Node.TEXT_NODE?n=this.types.text:"number"==typeof t?t&r.LEVEL&r.BLOCK?n=this.types.block:t&r.LEVEL&r.INLINE&&(n=this.types.inline):t instanceof Element&&((t.getAttribute("class")||"").split(/\s+/).some((t=>(n=this.classes[t],!!n))),n=n||this.tags[t.tagName]),null==n?null:"scope"in n&&e&r.LEVEL&n.scope&&e&r.TYPE&n.scope?n:null}register(...t){return t.map((t=>{const e="blotName"in t,n="attrName"in t;if(!e&&!n)throw new s("Invalid definition");if(e&&"abstract"===t.blotName)throw new s("Cannot register abstract class");const r=e?t.blotName:n?t.attrName:void 0;return this.types[r]=t,n?"string"==typeof t.keyName&&(this.attributes[t.keyName]=t):e&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map((t=>t.toUpperCase())):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach((e=>{(null==this.tags[e]||null==t.className)&&(this.tags[e]=t)})))),t}))}};o.blots=new WeakMap;let l=o;function a(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((t=>0===t.indexOf(`${e}-`)))}const c=class extends i{static keys(t){return(t.getAttribute("class")||"").split(/\s+/).map((t=>t.split("-").slice(0,-1).join("-")))}add(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(`${this.keyName}-${e}`),!0)}remove(t){a(t,this.keyName).forEach((e=>{t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")}value(t){const e=(a(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""}};function u(t){const e=t.split("-"),n=e.slice(1).map((t=>t[0].toUpperCase()+t.slice(1))).join("");return e[0]+n}const h=class extends i{static keys(t){return(t.getAttribute("style")||"").split(";").map((t=>t.split(":")[0].trim()))}add(t,e){return!!this.canAdd(t,e)&&(t.style[u(this.keyName)]=e,!0)}remove(t){t.style[u(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")}value(t){const e=t.style[u(this.keyName)];return this.canAdd(t,e)?e:""}},d=class{constructor(t){this.attributes={},this.domNode=t,this.build()}attribute(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])}build(){this.attributes={};const t=l.find(this.domNode);if(null==t)return;const e=i.keys(this.domNode),n=c.keys(this.domNode),s=h.keys(this.domNode);e.concat(n).concat(s).forEach((e=>{const n=t.scroll.query(e,r.ATTRIBUTE);n instanceof i&&(this.attributes[n.attrName]=n)}))}copy(t){Object.keys(this.attributes).forEach((e=>{const n=this.attributes[e].value(this.domNode);t.format(e,n)}))}move(t){this.copy(t),Object.keys(this.attributes).forEach((t=>{this.attributes[t].remove(this.domNode)})),this.attributes={}}values(){return Object.keys(this.attributes).reduce(((t,e)=>(t[e]=this.attributes[e].value(this.domNode),t)),{})}},f=class{constructor(t,e){this.scroll=t,this.domNode=e,l.blots.set(e,this),this.prev=null,this.next=null}static create(t){if(null==this.tagName)throw new s("Blot definition missing tagName");let e,n;return Array.isArray(this.tagName)?("string"==typeof t?(n=t.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):"number"==typeof t&&(n=t),e="number"==typeof n?document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?document.createElement(n):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e}get statics(){return this.constructor}attach(){}clone(){const t=this.domNode.cloneNode(!1);return this.scroll.create(t)}detach(){null!=this.parent&&this.parent.removeChild(this),l.blots.delete(this.domNode)}deleteAt(t,e){this.isolate(t,e).remove()}formatAt(t,e,n,i){const s=this.isolate(t,e);if(null!=this.scroll.query(n,r.BLOT)&&i)s.wrap(n,i);else if(null!=this.scroll.query(n,r.ATTRIBUTE)){const t=this.scroll.create(this.statics.scope);s.wrap(t),t.format(n,i)}}insertAt(t,e,n){const r=null==n?this.scroll.create("text",e):this.scroll.create(e,n),i=this.split(t);this.parent.insertBefore(r,i||void 0)}isolate(t,e){const n=this.split(t);if(null==n)throw new Error("Attempt to isolate at end");return n.split(e),n}length(){return 1}offset(t=this.parent){return null==this.parent||this===t?0:this.parent.children.offset(this)+this.parent.offset(t)}optimize(t){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(t,e){const n="string"==typeof t?this.scroll.create(t,e):t;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(t,e){return 0===t?this:this.next}update(t,e){}wrap(t,e){const n="string"==typeof t?this.scroll.create(t,e):t;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!=typeof n.appendChild)throw new s(`Cannot wrap ${t}`);return n.appendChild(this),n}};f.blotName="abstract";let p=f;const g=class extends p{static value(t){return!0}index(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1}position(t,e){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};g.scope=r.INLINE_BLOT;const m=g;class b{constructor(){this.head=null,this.tail=null,this.length=0}append(...t){if(this.insertBefore(t[0],null),t.length>1){const e=t.slice(1);this.append(...e)}}at(t){const e=this.iterator();let n=e();for(;n&&t>0;)t-=1,n=e();return n}contains(t){const e=this.iterator();let n=e();for(;n;){if(n===t)return!0;n=e()}return!1}indexOf(t){const e=this.iterator();let n=e(),r=0;for(;n;){if(n===t)return r;r+=1,n=e()}return-1}insertBefore(t,e){null!=t&&(this.remove(t),t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)}offset(t){let e=0,n=this.head;for(;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1}remove(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)}iterator(t=this.head){return()=>{const e=t;return null!=t&&(t=t.next),e}}find(t,e=!1){const n=this.iterator();let r=n();for(;r;){const i=r.length();if(ts?n(l,t-s,Math.min(e,s+r-t)):n(l,0,Math.min(r,t+e-s)),s+=r,l=o()}}map(t){return this.reduce(((e,n)=>(e.push(t(n)),e)),[])}reduce(t,e){const n=this.iterator();let r=n();for(;r;)e=t(e,r),r=n();return e}}function y(t,e){const n=e.find(t);if(n)return n;try{return e.create(t)}catch{const n=e.create(r.INLINE);return Array.from(t.childNodes).forEach((t=>{n.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(n.domNode,t),n.attach(),n}}const v=class t extends p{constructor(t,e){super(t,e),this.uiNode=null,this.build()}appendChild(t){this.insertBefore(t)}attach(){super.attach(),this.children.forEach((t=>{t.attach()}))}attachUI(e){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=e,t.uiClass&&this.uiNode.classList.add(t.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new b,Array.from(this.domNode.childNodes).filter((t=>t!==this.uiNode)).reverse().forEach((t=>{try{const e=y(t,this.scroll);this.insertBefore(e,this.children.head||void 0)}catch(t){if(t instanceof s)return;throw t}}))}deleteAt(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,((t,e,n)=>{t.deleteAt(e,n)}))}descendant(e,n=0){const[r,i]=this.children.find(n);return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,i]:r instanceof t?r.descendant(e,i):[null,-1]}descendants(e,n=0,r=Number.MAX_VALUE){let i=[],s=r;return this.children.forEachAt(n,r,((n,r,o)=>{(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&i.push(n),n instanceof t&&(i=i.concat(n.descendants(e,r,s))),s-=o})),i}detach(){this.children.forEach((t=>{t.detach()})),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach((n=>{e||this.statics.allowedChildren.some((t=>n instanceof t))||(n.statics.scope===r.BLOCK_BLOT?(null!=n.next&&this.splitAfter(n),null!=n.prev&&this.splitAfter(n.prev),n.parent.unwrap(),e=!0):n instanceof t?n.unwrap():n.remove())}))}formatAt(t,e,n,r){this.children.forEachAt(t,e,((t,e,i)=>{t.formatAt(e,i,n,r)}))}insertAt(t,e,n){const[r,i]=this.children.find(t);if(r)r.insertAt(i,e,n);else{const t=null==n?this.scroll.create("text",e):this.scroll.create(e,n);this.appendChild(t)}}insertBefore(t,e){null!=t.parent&&t.parent.children.remove(t);let n=null;this.children.insertBefore(t,e||null),t.parent=this,null!=e&&(n=e.domNode),(this.domNode.parentNode!==t.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(t.domNode,n),t.attach()}length(){return this.children.reduce(((t,e)=>t+e.length()),0)}moveChildren(t,e){this.children.forEach((n=>{t.insertBefore(n,e)}))}optimize(t){if(super.optimize(t),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,n=!1){const[r,i]=this.children.find(e,n),s=[[this,e]];return r instanceof t?s.concat(r.path(i,n)):(null!=r&&s.push([r,i]),s)}removeChild(t){this.children.remove(t)}replaceWith(e,n){const r="string"==typeof e?this.scroll.create(e,n):e;return r instanceof t&&this.moveChildren(r),super.replaceWith(r)}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(t,this.length(),((t,r,i)=>{const s=t.split(r,e);null!=s&&n.appendChild(s)})),n}splitAfter(t){const e=this.clone();for(;null!=t.next;)e.appendChild(t.next);return this.parent&&this.parent.insertBefore(e,this.next||void 0),e}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(t,e){const n=[],r=[];t.forEach((t=>{t.target===this.domNode&&"childList"===t.type&&(n.push(...t.addedNodes),r.push(...t.removedNodes))})),r.forEach((t=>{if(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const e=this.scroll.find(t);null!=e&&(null==e.domNode.parentNode||e.domNode.parentNode===this.domNode)&&e.detach()})),n.filter((t=>t.parentNode===this.domNode&&t!==this.uiNode)).sort(((t,e)=>t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1)).forEach((t=>{let e=null;null!=t.nextSibling&&(e=this.scroll.find(t.nextSibling));const n=y(t,this.scroll);(n.next!==e||null==n.next)&&(null!=n.parent&&n.parent.removeChild(this),this.insertBefore(n,e||void 0))})),this.enforceAllowedChildren()}};v.uiClass="";const A=v,x=class t extends A{static create(t){return super.create(t)}static formats(e,n){const r=n.query(t.blotName);if(null==r||e.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new d(this.domNode)}format(e,n){if(e!==this.statics.blotName||n){const t=this.scroll.query(e,r.INLINE);if(null==t)return;t instanceof i?this.attributes.attribute(t,n):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n)}else this.children.forEach((e=>{e instanceof t||(e=e.wrap(t.blotName,!0)),this.attributes.copy(e)})),this.unwrap()}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,n,i){null!=this.formats()[n]||this.scroll.query(n,r.ATTRIBUTE)?this.isolate(t,e).format(n,i):super.formatAt(t,e,n,i)}optimize(e){super.optimize(e);const n=this.formats();if(0===Object.keys(n).length)return this.unwrap();const r=this.next;r instanceof t&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}(n,r.formats())&&(r.moveChildren(this),r.remove())}replaceWith(t,e){const n=super.replaceWith(t,e);return this.attributes.copy(n),n}update(t,e){super.update(t,e),t.some((t=>t.target===this.domNode&&"attributes"===t.type))&&this.attributes.build()}wrap(e,n){const r=super.wrap(e,n);return r instanceof t&&this.attributes.move(r),r}};x.allowedChildren=[x,m],x.blotName="inline",x.scope=r.INLINE_BLOT,x.tagName="SPAN";const N=x,E=class t extends A{static create(t){return super.create(t)}static formats(e,n){const r=n.query(t.blotName);if(null==r||e.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new d(this.domNode)}format(e,n){const s=this.scroll.query(e,r.BLOCK);null!=s&&(s instanceof i?this.attributes.attribute(s,n):e!==this.statics.blotName||n?n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n):this.replaceWith(t.blotName))}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,n,i){null!=this.scroll.query(n,r.BLOCK)?this.format(n,i):super.formatAt(t,e,n,i)}insertAt(t,e,n){if(null==n||null!=this.scroll.query(e,r.INLINE))super.insertAt(t,e,n);else{const r=this.split(t);if(null==r)throw new Error("Attempt to insertAt after block boundaries");{const t=this.scroll.create(e,n);r.parent.insertBefore(t,r)}}}replaceWith(t,e){const n=super.replaceWith(t,e);return this.attributes.copy(n),n}update(t,e){super.update(t,e),t.some((t=>t.target===this.domNode&&"attributes"===t.type))&&this.attributes.build()}};E.blotName="block",E.scope=r.BLOCK_BLOT,E.tagName="P",E.allowedChildren=[N,E,m];const w=E,q=class extends A{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(t,e){super.deleteAt(t,e),this.enforceAllowedChildren()}formatAt(t,e,n,r){super.formatAt(t,e,n,r),this.enforceAllowedChildren()}insertAt(t,e,n){super.insertAt(t,e,n),this.enforceAllowedChildren()}optimize(t){super.optimize(t),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};q.blotName="container",q.scope=r.BLOCK_BLOT;const k=q,_=class extends m{static formats(t,e){}format(t,e){super.formatAt(0,this.length(),t,e)}formatAt(t,e,n,r){0===t&&e===this.length()?this.format(n,r):super.formatAt(t,e,n,r)}formats(){return this.statics.formats(this.domNode,this.scroll)}},L={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},S=class extends A{constructor(t,e){super(null,e),this.registry=t,this.scroll=this,this.build(),this.observer=new MutationObserver((t=>{this.update(t)})),this.observer.observe(this.domNode,L),this.attach()}create(t,e){return this.registry.create(this,t,e)}find(t,e=!1){const n=this.registry.find(t,e);return n?n.scroll===this?n:e?this.find(n.scroll.domNode.parentNode,!0):null:null}query(t,e=r.ANY){return this.registry.query(t,e)}register(...t){return this.registry.register(...t)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(t,e){this.update(),0===t&&e===this.length()?this.children.forEach((t=>{t.remove()})):super.deleteAt(t,e)}formatAt(t,e,n,r){this.update(),super.formatAt(t,e,n,r)}insertAt(t,e,n){this.update(),super.insertAt(t,e,n)}optimize(t=[],e={}){super.optimize(e);const n=e.mutationsMap||new WeakMap;let r=Array.from(this.observer.takeRecords());for(;r.length>0;)t.push(r.pop());const i=(t,e=!0)=>{null==t||t===this||null!=t.domNode.parentNode&&(n.has(t.domNode)||n.set(t.domNode,[]),e&&i(t.parent))},s=t=>{n.has(t.domNode)&&(t instanceof A&&t.children.forEach(s),n.delete(t.domNode),t.optimize(e))};let o=t;for(let e=0;o.length>0;e+=1){if(e>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(o.forEach((t=>{const e=this.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(i(this.find(t.previousSibling,!1)),Array.from(t.addedNodes).forEach((t=>{const e=this.find(t,!1);i(e,!1),e instanceof A&&e.children.forEach((t=>{i(t,!1)}))}))):"attributes"===t.type&&i(e.prev)),i(e))})),this.children.forEach(s),o=Array.from(this.observer.takeRecords()),r=o.slice();r.length>0;)t.push(r.pop())}}update(t,e={}){t=t||this.observer.takeRecords();const n=new WeakMap;t.map((t=>{const e=this.find(t.target,!0);return null==e?null:n.has(e.domNode)?(n.get(e.domNode).push(t),null):(n.set(e.domNode,[t]),e)})).forEach((t=>{null!=t&&t!==this&&n.has(t.domNode)&&t.update(n.get(t.domNode)||[],e)})),e.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),e),this.optimize(t,e)}};S.blotName="scroll",S.defaultChild=w,S.allowedChildren=[w,k],S.scope=r.BLOCK_BLOT,S.tagName="DIV";const O=S,T=class t extends m{static create(t){return document.createTextNode(t)}static value(t){return t.data}constructor(t,e){super(t,e),this.text=this.statics.value(this.domNode)}deleteAt(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)}index(t,e){return this.domNode===t?e:-1}insertAt(t,e,n){null==n?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):super.insertAt(t,e,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(t,e=!1){return[this.domNode,t]}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(t,e){t.some((t=>"characterData"===t.type&&t.target===this.domNode))&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};T.blotName="text",T.scope=r.INLINE_BLOT;const j=T}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,loaded:!1,exports:{}};return t[r](s,s.exports,n),s.loaded=!0,s.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var r={};return function(){"use strict";n.d(r,{default:function(){return It}});var t=n(3729),e=n(8276),i=n(7912),s=n(6003);class o extends s.ClassAttributor{add(t,e){let n=0;if("+1"===e||"-1"===e){const r=this.value(t)||0;n="+1"===e?r+1:r-1}else"number"==typeof e&&(n=e);return 0===n?(this.remove(t),!0):super.add(t,n.toString())}canAdd(t,e){return super.canAdd(t,e)||super.canAdd(t,parseInt(e,10))}value(t){return parseInt(super.value(t),10)||void 0}}var l=new o("indent","ql-indent",{scope:s.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]}),a=n(9698);class c extends a.Ay{static blotName="blockquote";static tagName="blockquote"}var u=c;class h extends a.Ay{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(t){return this.tagName.indexOf(t.tagName)+1}}var d=h,f=n(580),p=n(6142);class g extends f.A{}g.blotName="list-container",g.tagName="OL";class m extends a.Ay{static create(t){const e=super.create();return e.setAttribute("data-list",t),e}static formats(t){return t.getAttribute("data-list")||void 0}static register(){p.Ay.register(g)}constructor(t,e){super(t,e);const n=e.ownerDocument.createElement("span"),r=n=>{if(!t.isEnabled())return;const r=this.statics.formats(e,t);"checked"===r?(this.format("list","unchecked"),n.preventDefault()):"unchecked"===r&&(this.format("list","checked"),n.preventDefault())};n.addEventListener("mousedown",r),n.addEventListener("touchstart",r),this.attachUI(n)}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-list",e):super.format(t,e)}}m.blotName="list",m.tagName="LI",g.allowedChildren=[m],m.requiredContainer=g;var b=n(9541),y=n(8638),v=n(6772),A=n(664),x=n(4850);class N extends x.A{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(t){super.optimize(t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}var E=N;class w extends x.A{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(t){const e=super.create(t);return e.setAttribute("href",this.sanitize(t)),e.setAttribute("rel","noopener noreferrer"),e.setAttribute("target","_blank"),e}static formats(t){return t.getAttribute("href")}static sanitize(t){return q(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("href",this.constructor.sanitize(e)):super.format(t,e)}}function q(t,e){const n=document.createElement("a");n.href=t;const r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}class k extends x.A{static blotName="script";static tagName=["SUB","SUP"];static create(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):super.create(t)}static formats(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}var _=k;class L extends x.A{static blotName="underline";static tagName="U"}var S=L,O=n(746);class T extends O.A{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(t){if(null==window.katex)throw new Error("Formula module requires KaTeX.");const e=super.create(t);return"string"==typeof t&&(window.katex.render(t,e,{throwOnError:!1,errorColor:"#f00"}),e.setAttribute("data-value",t)),e}static value(t){return t.getAttribute("data-value")}html(){const{formula:t}=this.value();return`${t}`}}var j=T;const C=["alt","height","width"];class R extends s.EmbedBlot{static blotName="image";static tagName="IMG";static create(t){const e=super.create(t);return"string"==typeof t&&e.setAttribute("src",this.sanitize(t)),e}static formats(t){return C.reduce(((e,n)=>(t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e)),{})}static match(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}static sanitize(t){return q(t,["http","https","data"])?t:"//:0"}static value(t){return t.getAttribute("src")}format(t,e){C.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}}var I=R;const B=["height","width"];class M extends a.zo{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(t){const e=super.create(t);return e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","true"),e.setAttribute("src",this.sanitize(t)),e}static formats(t){return B.reduce(((e,n)=>(t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e)),{})}static sanitize(t){return w.sanitize(t)}static value(t){return t.getAttribute("src")}format(t,e){B.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}html(){const{video:t}=this.value();return`${t}`}}var U=M,D=n(9404),P=n(5232),z=n.n(P),F=n(4266),H=n(3036),$=n(4541),V=n(5508),K=n(584);const W=new s.ClassAttributor("code-token","hljs",{scope:s.Scope.INLINE});class Z extends x.A{static formats(t,e){for(;null!=t&&t!==e.domNode;){if(t.classList&&t.classList.contains(D.Ay.className))return super.formats(t,e);t=t.parentNode}}constructor(t,e,n){super(t,e,n),W.add(this.domNode,n)}format(t,e){t!==Z.blotName?super.format(t,e):e?W.add(this.domNode,e):(W.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),W.value(this.domNode)||this.unwrap()}}Z.blotName="code-token",Z.className="ql-token";class G extends D.Ay{static create(t){const e=super.create(t);return"string"==typeof t&&e.setAttribute("data-language",t),e}static formats(t){return t.getAttribute("data-language")||"plain"}static register(){}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-language",e):super.format(t,e)}replaceWith(t,e){return this.formatAt(0,this.length(),Z.blotName,!1),super.replaceWith(t,e)}}class X extends D.EJ{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(t,e){t===G.blotName&&(this.forceNext=!0,this.children.forEach((n=>{n.format(t,e)})))}formatAt(t,e,n,r){n===G.blotName&&(this.forceNext=!0),super.formatAt(t,e,n,r)}highlight(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;const n=`${Array.from(this.domNode.childNodes).filter((t=>t!==this.uiNode)).map((t=>t.textContent)).join("\n")}\n`,r=G.formats(this.children.head.domNode);if(e||this.forceNext||this.cachedText!==n){if(n.trim().length>0||null==this.cachedText){const e=this.children.reduce(((t,e)=>t.concat((0,a.mG)(e,!1))),new(z())),i=t(n,r);e.diff(i).reduce(((t,e)=>{let{retain:n,attributes:r}=e;return n?(r&&Object.keys(r).forEach((e=>{[G.blotName,Z.blotName].includes(e)&&this.formatAt(t,n,e,r[e])})),t+n):t}),0)}this.cachedText=n,this.forceNext=!1}}html(t,e){const[n]=this.children.find(t);return`
        \n${(0,V.X)(this.code(t,e))}\n
        `}optimize(t){if(super.optimize(t),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){const t=G.formats(this.children.head.domNode);t!==this.uiNode.value&&(this.uiNode.value=t)}}}X.allowedChildren=[G],G.requiredContainer=X,G.allowedChildren=[Z,$.A,V.A,H.A];class Q extends F.A{static register(){p.Ay.register(Z,!0),p.Ay.register(G,!0),p.Ay.register(X,!0)}constructor(t,e){if(super(t,e),null==this.options.hljs)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce(((t,e)=>{let{key:n}=e;return t[n]=!0,t}),{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(p.Ay.events.SCROLL_BLOT_MOUNT,(t=>{if(!(t instanceof X))return;const e=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach((t=>{let{key:n,label:r}=t;const i=e.ownerDocument.createElement("option");i.textContent=r,i.setAttribute("value",n),e.appendChild(i)})),e.addEventListener("change",(()=>{t.format(G.blotName,e.value),this.quill.root.focus(),this.highlight(t,!0)})),null==t.uiNode&&(t.attachUI(e),t.children.head&&(e.value=G.formats(t.children.head.domNode)))}))}initTimer(){let t=null;this.quill.on(p.Ay.events.SCROLL_OPTIMIZE,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{this.highlight(),t=null}),this.options.interval)}))}highlight(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(p.Ay.sources.USER);const n=this.quill.getSelection();(null==t?this.quill.scroll.descendants(X):[t]).forEach((t=>{t.highlight(this.highlightBlot,e)})),this.quill.update(p.Ay.sources.SILENT),null!=n&&this.quill.setSelection(n,p.Ay.sources.SILENT)}highlightBlot(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if(e=this.languages[e]?e:"plain","plain"===e)return(0,V.X)(t).split("\n").reduce(((t,n,r)=>(0!==r&&t.insert("\n",{[D.Ay.blotName]:e}),t.insert(n))),new(z()));const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(D.Ay.className),n.innerHTML=((t,e,n)=>{if("string"==typeof t.versionString){const r=t.versionString.split(".")[0];if(parseInt(r,10)>=11)return t.highlight(n,{language:e}).value}return t.highlight(e,n).value})(this.options.hljs,e,t),(0,K.hV)(this.quill.scroll,n,[(t,e)=>{const n=W.value(t);return n?e.compose((new(z())).retain(e.length(),{[Z.blotName]:n})):e}],[(t,n)=>t.data.split("\n").reduce(((t,n,r)=>(0!==r&&t.insert("\n",{[D.Ay.blotName]:e}),t.insert(n))),n)],new WeakMap)}}Q.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class J extends a.Ay{static blotName="table";static tagName="TD";static create(t){const e=super.create();return t?e.setAttribute("data-row",t):e.setAttribute("data-row",nt()),e}static formats(t){if(t.hasAttribute("data-row"))return t.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(t,e){t===J.blotName&&e?this.domNode.setAttribute("data-row",e):super.format(t,e)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class Y extends f.A{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){const t=this.children.head.formats(),e=this.children.tail.formats(),n=this.next.children.head.formats(),r=this.next.children.tail.formats();return t.table===e.table&&t.table===n.table&&t.table===r.table}return!1}optimize(t){super.optimize(t),this.children.forEach((t=>{if(null==t.next)return;const e=t.formats(),n=t.next.formats();if(e.table!==n.table){const e=this.splitAfter(t);e&&e.optimize(),this.prev&&this.prev.optimize()}}))}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class tt extends f.A{static blotName="table-body";static tagName="TBODY"}class et extends f.A{static blotName="table-container";static tagName="TABLE";balanceCells(){const t=this.descendants(Y),e=t.reduce(((t,e)=>Math.max(e.children.length,t)),0);t.forEach((t=>{new Array(e-t.children.length).fill(0).forEach((()=>{let e;null!=t.children.head&&(e=J.formats(t.children.head.domNode));const n=this.scroll.create(J.blotName,e);t.appendChild(n),n.optimize()}))}))}cells(t){return this.rows().map((e=>e.children.at(t)))}deleteColumn(t){const[e]=this.descendant(tt);null!=e&&null!=e.children.head&&e.children.forEach((e=>{const n=e.children.at(t);null!=n&&n.remove()}))}insertColumn(t){const[e]=this.descendant(tt);null!=e&&null!=e.children.head&&e.children.forEach((e=>{const n=e.children.at(t),r=J.formats(e.children.head.domNode),i=this.scroll.create(J.blotName,r);e.insertBefore(i,n)}))}insertRow(t){const[e]=this.descendant(tt);if(null==e||null==e.children.head)return;const n=nt(),r=this.scroll.create(Y.blotName);e.children.head.children.forEach((()=>{const t=this.scroll.create(J.blotName,n);r.appendChild(t)}));const i=e.children.at(t);e.insertBefore(r,i)}rows(){const t=this.children.head;return null==t?[]:t.children.map((t=>t))}}function nt(){return`row-${Math.random().toString(36).slice(2,6)}`}et.allowedChildren=[tt],tt.requiredContainer=et,tt.allowedChildren=[Y],Y.requiredContainer=tt,Y.allowedChildren=[J],J.requiredContainer=Y;class rt extends F.A{static register(){p.Ay.register(J),p.Ay.register(Y),p.Ay.register(tt),p.Ay.register(et)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(et).forEach((t=>{t.balanceCells()}))}deleteColumn(){const[t,,e]=this.getTable();null!=e&&(t.deleteColumn(e.cellOffset()),this.quill.update(p.Ay.sources.USER))}deleteRow(){const[,t]=this.getTable();null!=t&&(t.remove(),this.quill.update(p.Ay.sources.USER))}deleteTable(){const[t]=this.getTable();if(null==t)return;const e=t.offset();t.remove(),this.quill.update(p.Ay.sources.USER),this.quill.setSelection(e,p.Ay.sources.SILENT)}getTable(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==t)return[null,null,null,-1];const[e,n]=this.quill.getLine(t.index);if(null==e||e.statics.blotName!==J.blotName)return[null,null,null,-1];const r=e.parent;return[r.parent.parent,r,e,n]}insertColumn(t){const e=this.quill.getSelection();if(!e)return;const[n,r,i]=this.getTable(e);if(null==i)return;const s=i.cellOffset();n.insertColumn(s+t),this.quill.update(p.Ay.sources.USER);let o=r.rowOffset();0===t&&(o+=1),this.quill.setSelection(e.index+o,e.length,p.Ay.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(t){const e=this.quill.getSelection();if(!e)return;const[n,r,i]=this.getTable(e);if(null==i)return;const s=r.rowOffset();n.insertRow(s+t),this.quill.update(p.Ay.sources.USER),t>0?this.quill.setSelection(e,p.Ay.sources.SILENT):this.quill.setSelection(e.index+r.children.length,e.length,p.Ay.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(t,e){const n=this.quill.getSelection();if(null==n)return;const r=new Array(t).fill(0).reduce((t=>{const n=new Array(e).fill("\n").join("");return t.insert(n,{table:nt()})}),(new(z())).retain(n.index));this.quill.updateContents(r,p.Ay.sources.USER),this.quill.setSelection(n.index,p.Ay.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(p.Ay.events.SCROLL_OPTIMIZE,(t=>{t.some((t=>!!["TD","TR","TBODY","TABLE"].includes(t.target.tagName)&&(this.quill.once(p.Ay.events.TEXT_CHANGE,((t,e,n)=>{n===p.Ay.sources.USER&&this.balanceTables()})),!0)))}))}}var it=rt;const st=(0,n(6078).A)("quill:toolbar");class ot extends F.A{constructor(t,e){if(super(t,e),Array.isArray(this.options.container)){const e=document.createElement("div");e.setAttribute("role","toolbar"),function(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((e=>{const n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((t=>{if("string"==typeof t)lt(n,t);else{const e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){const r=document.createElement("select");r.classList.add(`ql-${e}`),n.forEach((t=>{const e=document.createElement("option");!1!==t?e.setAttribute("value",String(t)):e.setAttribute("selected","selected"),r.appendChild(e)})),t.appendChild(r)}(n,e,r):lt(n,e,r)}})),t.appendChild(n)}))}(e,this.options.container),t.container?.parentNode?.insertBefore(e,t.container),this.container=e}else"string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;this.container instanceof HTMLElement?(this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach((t=>{const e=this.options.handlers?.[t];e&&this.addHandler(t,e)})),Array.from(this.container.querySelectorAll("button, select")).forEach((t=>{this.attach(t)})),this.quill.on(p.Ay.events.EDITOR_CHANGE,(()=>{const[t]=this.quill.selection.getRange();this.update(t)}))):st.error("Container required for toolbar",this.options)}addHandler(t,e){this.handlers[t]=e}attach(t){let e=Array.from(t.classList).find((t=>0===t.indexOf("ql-")));if(!e)return;if(e=e.slice(3),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[e]&&null==this.quill.scroll.query(e))return void st.warn("ignoring attaching to nonexistent format",e,t);const n="SELECT"===t.tagName?"change":"click";t.addEventListener(n,(n=>{let r;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;const e=t.options[t.selectedIndex];r=!e.hasAttribute("selected")&&(e.value||!1)}else r=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),n.preventDefault();this.quill.focus();const[i]=this.quill.selection.getRange();if(null!=this.handlers[e])this.handlers[e].call(this,r);else if(this.quill.scroll.query(e).prototype instanceof s.EmbedBlot){if(r=prompt(`Enter ${e}`),!r)return;this.quill.updateContents((new(z())).retain(i.index).delete(i.length).insert({[e]:r}),p.Ay.sources.USER)}else this.quill.format(e,r,p.Ay.sources.USER);this.update(i)})),this.controls.push([e,t])}update(t){const e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((n=>{const[r,i]=n;if("SELECT"===i.tagName){let n=null;if(null==t)n=null;else if(null==e[r])n=i.querySelector("option[selected]");else if(!Array.isArray(e[r])){let t=e[r];"string"==typeof t&&(t=t.replace(/"/g,'\\"')),n=i.querySelector(`option[value="${t}"]`)}null==n?(i.value="",i.selectedIndex=-1):n.selected=!0}else if(null==t)i.classList.remove("ql-active"),i.setAttribute("aria-pressed","false");else if(i.hasAttribute("value")){const t=e[r],n=t===i.getAttribute("value")||null!=t&&t.toString()===i.getAttribute("value")||null==t&&!i.getAttribute("value");i.classList.toggle("ql-active",n),i.setAttribute("aria-pressed",n.toString())}else{const t=null!=e[r];i.classList.toggle("ql-active",t),i.setAttribute("aria-pressed",t.toString())}}))}}function lt(t,e,n){const r=document.createElement("button");r.setAttribute("type","button"),r.classList.add(`ql-${e}`),r.setAttribute("aria-pressed","false"),null!=n?(r.value=n,r.setAttribute("aria-label",`${e}: ${n}`)):r.setAttribute("aria-label",e),t.appendChild(r)}ot.DEFAULTS={},ot.DEFAULTS={container:null,handlers:{clean(){const t=this.quill.getSelection();if(null!=t)if(0===t.length){const t=this.quill.getFormat();Object.keys(t).forEach((t=>{null!=this.quill.scroll.query(t,s.Scope.INLINE)&&this.quill.format(t,!1,p.Ay.sources.USER)}))}else this.quill.removeFormat(t.index,t.length,p.Ay.sources.USER)},direction(t){const{align:e}=this.quill.getFormat();"rtl"===t&&null==e?this.quill.format("align","right",p.Ay.sources.USER):t||"right"!==e||this.quill.format("align",!1,p.Ay.sources.USER),this.quill.format("direction",t,p.Ay.sources.USER)},indent(t){const e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0,10);if("+1"===t||"-1"===t){let e="+1"===t?1:-1;"rtl"===n.direction&&(e*=-1),this.quill.format("indent",r+e,p.Ay.sources.USER)}},link(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,p.Ay.sources.USER)},list(t){const e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,p.Ay.sources.USER):this.quill.format("list","unchecked",p.Ay.sources.USER):this.quill.format("list",t,p.Ay.sources.USER)}}};const at='';var ct={align:{"":'',center:'',right:'',justify:''},background:'',blockquote:'',bold:'',clean:'',code:at,"code-block":at,color:'',direction:{"":'',rtl:''},formula:'',header:{1:'',2:'',3:'',4:'',5:'',6:''},italic:'',image:'',indent:{"+1":'',"-1":''},link:'',list:{bullet:'',check:'',ordered:''},script:{sub:'',super:''},strike:'',table:'',underline:'',video:''};let ut=0;function ht(t,e){t.setAttribute(e,`${!("true"===t.getAttribute(e))}`)}var dt=class{constructor(t){this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(()=>{this.togglePicker()})),this.label.addEventListener("keydown",(t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),ht(this.label,"aria-expanded"),ht(this.options,"aria-hidden")}buildItem(t){const e=document.createElement("span");e.tabIndex="0",e.setAttribute("role","button"),e.classList.add("ql-picker-item");const n=t.getAttribute("value");return n&&e.setAttribute("data-value",n),t.textContent&&e.setAttribute("data-label",t.textContent),e.addEventListener("click",(()=>{this.selectItem(e,!0)})),e.addEventListener("keydown",(t=>{switch(t.key){case"Enter":this.selectItem(e,!0),t.preventDefault();break;case"Escape":this.escape(),t.preventDefault()}})),e}buildLabel(){const t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML='',t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}buildOptions(){const t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id=`ql-picker-options-${ut}`,ut+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,Array.from(this.select.options).forEach((e=>{const n=this.buildItem(e);t.appendChild(n),!0===e.selected&&this.selectItem(n)})),this.container.appendChild(t)}buildPicker(){Array.from(this.select.attributes).forEach((t=>{this.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout((()=>this.label.focus()),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.container.querySelector(".ql-selected");t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=Array.from(t.parentNode.children).indexOf(t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let t;if(this.select.selectedIndex>-1){const e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);const e=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",e)}},ft=class extends dt{constructor(t,e){super(t),this.label.innerHTML=e,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach((t=>{t.classList.add("ql-primary")}))}buildItem(t){const e=super.buildItem(t);return e.style.backgroundColor=t.getAttribute("value")||"",e}selectItem(t,e){super.selectItem(t,e);const n=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=r:n.style.fill=r)}},pt=class extends dt{constructor(t,e){super(t),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((t=>{t.innerHTML=e[t.getAttribute("data-value")||""]})),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(t,e){super.selectItem(t,e);const n=t||this.defaultItem;if(null!=n){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}},gt=class{constructor(t,e){this.quill=t,this.boundsContainer=e||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,(t=>{const{overflowY:e}=getComputedStyle(t,null);return"visible"!==e&&"clip"!==e})(this.quill.root)&&this.quill.root.addEventListener("scroll",(()=>{this.root.style.marginTop=-1*this.quill.root.scrollTop+"px"})),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(t){const e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=`${e}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect();let s=0;if(i.right>r.right&&(s=r.right-i.right,this.root.style.left=`${e+s}px`),i.leftr.bottom){const e=i.bottom-i.top,r=t.bottom-t.top+e;this.root.style.top=n-r+"px",this.root.classList.add("ql-flip")}return s}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}},mt=n(8347),bt=n(5374),yt=n(9609);const vt=[!1,"center","right","justify"],At=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],xt=[!1,"serif","monospace"],Nt=["1","2","3",!1],Et=["small",!1,"large","huge"];class wt extends yt.A{constructor(t,e){super(t,e);const n=e=>{document.body.contains(t.root)?(null==this.tooltip||this.tooltip.root.contains(e.target)||document.activeElement===this.tooltip.textbox||this.quill.hasFocus()||this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach((t=>{t.container.contains(e.target)||t.close()}))):document.body.removeEventListener("click",n)};t.emitter.listenDOM("click",document.body,n)}addModule(t){const e=super.addModule(t);return"toolbar"===t&&this.extendToolbar(e),e}buildButtons(t,e){Array.from(t).forEach((t=>{(t.getAttribute("class")||"").split(/\s+/).forEach((n=>{if(n.startsWith("ql-")&&(n=n.slice(3),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{const r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}}))}))}buildPickers(t,e){this.pickers=Array.from(t).map((t=>{if(t.classList.contains("ql-align")&&(null==t.querySelector("option")&&kt(t,vt),"object"==typeof e.align))return new pt(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){const n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&kt(t,At,"background"===n?"#ffffff":"#000000"),new ft(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?kt(t,xt):t.classList.contains("ql-header")?kt(t,Nt):t.classList.contains("ql-size")&&kt(t,Et)),new dt(t)})),this.quill.on(bt.A.events.EDITOR_CHANGE,(()=>{this.pickers.forEach((t=>{t.update()}))}))}}wt.DEFAULTS=(0,mt.A)({},yt.A.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let t=this.container.querySelector("input.ql-image[type=file]");null==t&&(t=document.createElement("input"),t.setAttribute("type","file"),t.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),t.classList.add("ql-image"),t.addEventListener("change",(()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,t.files),t.value=""})),this.container.appendChild(t)),t.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class qt extends gt{constructor(t,e){super(t,e),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",(t=>{"Enter"===t.key?(this.save(),t.preventDefault()):"Escape"===t.key&&(this.cancel(),t.preventDefault())}))}cancel(){this.hide(),this.restoreFocus()}edit(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);null!=n&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${t}`)||""),this.root.setAttribute("data-mode",t)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:t}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:e}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,bt.A.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,bt.A.sources.USER)),this.quill.root.scrollTop=e;break}case"video":t=function(t){let e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`:(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`:t}(t);case"formula":{if(!t)break;const e=this.quill.getSelection(!0);if(null!=e){const n=e.index+e.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),t,bt.A.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",bt.A.sources.USER),this.quill.setSelection(n+2,bt.A.sources.USER)}break}}this.textbox.value="",this.hide()}}function kt(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((e=>{const r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",String(e)),t.appendChild(r)}))}var _t=n(8298);const Lt=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class St extends qt{static TEMPLATE=['','
        ','','',"
        "].join("");constructor(t,e){super(t,e),this.quill.on(bt.A.events.EDITOR_CHANGE,((t,e,n,r)=>{if(t===bt.A.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===bt.A.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const t=this.quill.getLines(e.index,e.length);if(1===t.length){const t=this.quill.getBounds(e);null!=t&&this.position(t)}else{const n=t[t.length-1],r=this.quill.getIndex(n),i=Math.min(n.length()-1,e.index+e.length-r),s=this.quill.getBounds(new _t.Q(r,i));null!=s&&this.position(s)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()}))}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",(()=>{this.root.classList.remove("ql-editing")})),this.quill.on(bt.A.events.SCROLL_OPTIMIZE,(()=>{setTimeout((()=>{if(this.root.classList.contains("ql-hidden"))return;const t=this.quill.getSelection();if(null!=t){const e=this.quill.getBounds(t);null!=e&&this.position(e)}}),1)}))}cancel(){this.show()}position(t){const e=super.position(t),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",0!==e&&(n.style.marginLeft=-1*e-n.offsetWidth/2+"px"),e}}class Ot extends wt{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=Lt),super(t,e),this.quill.container.classList.add("ql-bubble")}extendToolbar(t){this.tooltip=new St(this.quill,this.options.bounds),null!=t.container&&(this.tooltip.root.appendChild(t.container),this.buildButtons(t.container.querySelectorAll("button"),ct),this.buildPickers(t.container.querySelectorAll("select"),ct))}}Ot.DEFAULTS=(0,mt.A)({},wt.DEFAULTS,{modules:{toolbar:{handlers:{link(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1,p.Ay.sources.USER)}}}}});const Tt=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class jt extends qt{static TEMPLATE=['','','',''].join("");preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",(t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(t=>{if(null!=this.linkRange){const t=this.linkRange;this.restoreFocus(),this.quill.formatText(t,"link",!1,bt.A.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()})),this.quill.on(bt.A.events.SELECTION_CHANGE,((t,e,n)=>{if(null!=t){if(0===t.length&&n===bt.A.sources.USER){const[e,n]=this.quill.scroll.descendant(w,t.index);if(null!=e){this.linkRange=new _t.Q(t.index-n,e.length());const r=w.formats(e.domNode);this.preview.textContent=r,this.preview.setAttribute("href",r),this.show();const i=this.quill.getBounds(this.linkRange);return void(null!=i&&this.position(i))}}else delete this.linkRange;this.hide()}}))}show(){super.show(),this.root.removeAttribute("data-mode")}}class Ct extends wt{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=Tt),super(t,e),this.quill.container.classList.add("ql-snow")}extendToolbar(t){null!=t.container&&(t.container.classList.add("ql-snow"),this.buildButtons(t.container.querySelectorAll("button"),ct),this.buildPickers(t.container.querySelectorAll("select"),ct),this.tooltip=new jt(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},((e,n)=>{t.handlers.link.call(t,!n.format.link)})))}}Ct.DEFAULTS=(0,mt.A)({},wt.DEFAULTS,{modules:{toolbar:{handlers:{link(t){if(t){const t=this.quill.getSelection();if(null==t||0===t.length)return;let e=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(e)&&0!==e.indexOf("mailto:")&&(e=`mailto:${e}`);const{tooltip:n}=this.quill.theme;n.edit("link",e)}else this.quill.format("link",!1,p.Ay.sources.USER)}}}}});var Rt=Ct;t.default.register({"attributors/attribute/direction":i.Mc,"attributors/class/align":e.qh,"attributors/class/background":b.l,"attributors/class/color":y.g3,"attributors/class/direction":i.sY,"attributors/class/font":v.q,"attributors/class/size":A.U,"attributors/style/align":e.Hu,"attributors/style/background":b.s,"attributors/style/color":y.JM,"attributors/style/direction":i.VL,"attributors/style/font":v.z,"attributors/style/size":A.r},!0),t.default.register({"formats/align":e.qh,"formats/direction":i.sY,"formats/indent":l,"formats/background":b.s,"formats/color":y.JM,"formats/font":v.q,"formats/size":A.U,"formats/blockquote":u,"formats/code-block":D.Ay,"formats/header":d,"formats/list":m,"formats/bold":E,"formats/code":D.Cy,"formats/italic":class extends E{static blotName="italic";static tagName=["EM","I"]},"formats/link":w,"formats/script":_,"formats/strike":class extends E{static blotName="strike";static tagName=["S","STRIKE"]},"formats/underline":S,"formats/formula":j,"formats/image":I,"formats/video":U,"modules/syntax":Q,"modules/table":it,"modules/toolbar":ot,"themes/bubble":Ot,"themes/snow":Rt,"ui/icons":ct,"ui/picker":dt,"ui/icon-picker":pt,"ui/color-picker":ft,"ui/tooltip":gt},!0);var It=t.default}(),r.default}()})); +//# sourceMappingURL=quill.js.map \ No newline at end of file diff --git a/src/test/resources/libraries/quill/quill.snow.css b/src/test/resources/libraries/quill/quill.snow.css new file mode 100644 index 00000000000..c95a80e2331 --- /dev/null +++ b/src/test/resources/libraries/quill/quill.snow.css @@ -0,0 +1,10 @@ +/*! + * Quill Editor v2.0.3 + * https://quilljs.com + * Copyright (c) 2017-2024, Slab + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */ +.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc} + +/*# sourceMappingURL=quill.snow.css.map*/ \ No newline at end of file From 4109ff23185cf04e0a96df1c1bc67dea26084ec5 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 15 Jan 2025 07:49:26 +0100 Subject: [PATCH 051/516] use first core-js snapshot --- src/changes/changes.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c383175d285..53537b4b690 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,6 +7,15 @@ + + + core-js: Symbol.hasInstance for Function.prototype implemented + + + core-js: Context#emptyArgs is deprecated + + + cssparser: support plain color definitions with var/calc. From 23d7c2d41ec8ef9a6f1dfb1a115542b7f460a046 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 15 Jan 2025 07:49:47 +0100 Subject: [PATCH 052/516] use first core-js snapshot --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index bb61bbbe144..a71433c8449 100644 --- a/pom.xml +++ b/pom.xml @@ -25,12 +25,12 @@ 8 8 - 4.8.0 + 4.9.0-SNAPSHOT 4.8.0 + 4.8.0 4.8.0 - 4.8.0 - 4.8.0 4.8.0 + 4.8.0 4.5.14 From 84a95dc1c2fea15619f42ec7379efe8a97ac2d61 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 15 Jan 2025 08:31:55 +0100 Subject: [PATCH 053/516] BigInt support added --- src/changes/changes.xml | 13 +++-- .../htmlunit/javascript/JavaScriptEngine.java | 2 +- ...dicatedWorkerGlobalScopeClassNameTest.java | 9 ++++ .../DedicatedWorkerGlobalScopeTypeOfTest.java | 9 ++++ .../htmlunit/general/HostClassNameTest.java | 9 ++++ .../org/htmlunit/general/HostTypeOfTest.java | 9 ++++ .../htmlunit/javascript/NativeBigIntTest.java | 50 +++++++++++++++++++ 7 files changed, 97 insertions(+), 4 deletions(-) create mode 100644 src/test/java/org/htmlunit/javascript/NativeBigIntTest.java diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 53537b4b690..d5e5f0f4e95 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,12 +7,19 @@ - + + + core-js: junit-vintage-engine was NOT marked as 'test' dependency, therefore we had junit + as part of our depenencies/lib/diestribution (regression from 4.8.0) + + + BigInt support added. + - core-js: Symbol.hasInstance for Function.prototype implemented + core-js: Symbol.hasInstance for Function.prototype implemented. - core-js: Context#emptyArgs is deprecated + core-js: Context#emptyArgs is deprecated. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 0c429bddfdf..197daeef1cd 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -423,7 +423,7 @@ public static void configureRhino(final WebClient webClient, NumberCustom.class, ScriptableObject.DONTENUM); // remove some objects, that Rhino defines in top scope but that we don't want - deleteProperties(scope, "Continuation", "StopIteration", "BigInt"); + deleteProperties(scope, "Continuation", "StopIteration"); if (!browserVersion.hasFeature(JS_ITERATOR_VISIBLE_IN_WINDOW)) { deleteProperties(scope, "Iterator"); } diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java index e7ad2192a0d..18b7c808109 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java @@ -508,6 +508,15 @@ public void beforeUnloadEvent() throws Exception { test("BeforeUnloadEvent"); } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("function BigInt() { [native code] }") + public void bigInt() throws Exception { + test("BigInt"); + } + /** * @throws Exception if the test fails */ diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index 0012183769d..c53175db82e 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -505,6 +505,15 @@ public void beforeUnloadEvent() throws Exception { test("BeforeUnloadEvent"); } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("function") + public void bigInt() throws Exception { + test("BigInt"); + } + /** * @throws Exception if the test fails */ diff --git a/src/test/java/org/htmlunit/general/HostClassNameTest.java b/src/test/java/org/htmlunit/general/HostClassNameTest.java index 9f7ea4dfb2a..d00c4345fa9 100644 --- a/src/test/java/org/htmlunit/general/HostClassNameTest.java +++ b/src/test/java/org/htmlunit/general/HostClassNameTest.java @@ -522,6 +522,15 @@ public void beforeUnloadEvent() throws Exception { test("BeforeUnloadEvent"); } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("function BigInt() { [native code] }") + public void bigInt() throws Exception { + test("BigInt"); + } + /** * @throws Exception if the test fails */ diff --git a/src/test/java/org/htmlunit/general/HostTypeOfTest.java b/src/test/java/org/htmlunit/general/HostTypeOfTest.java index 4ee8217f147..b96d007af34 100644 --- a/src/test/java/org/htmlunit/general/HostTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/HostTypeOfTest.java @@ -498,6 +498,15 @@ public void beforeUnloadEvent() throws Exception { test("BeforeUnloadEvent"); } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("function") + public void bigInt() throws Exception { + test("BigInt"); + } + /** * @throws Exception if the test fails */ diff --git a/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java new file mode 100644 index 00000000000..20e3dcdec7b --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Some test for BigInt support. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class NativeBigIntTest extends WebDriverTestCase { + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"bigint", "bigint"}) + public void typeof() throws Exception { + final String html + = "" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } +} From 03ced16ede07f30dfd4b2f2b2fac6b06d506f365 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 09:41:58 +0100 Subject: [PATCH 054/516] Chrome/Edge 132, Firefox 134 --- src/changes/changes.xml | 2 +- .../java/org/htmlunit/BrowserVersion.java | 12 ++++----- .../org/htmlunit/css/StyleAttributes.java | 4 +-- .../java/org/htmlunit/BrowserVersionTest.java | 6 ++--- src/test/java/org/htmlunit/ExternalTest.java | 2 +- .../general/ElementOwnPropertiesTest.java | 24 +++++++++++------ .../general/ElementPropertiesTest.java | 24 +++++++++++------ .../HtmlSerializerInnerOuterText2Test.java | 2 -- .../HtmlSerializerVisibleText2Test.java | 26 ++++++------------- .../htmlunit/javascript/NativeBigIntTest.java | 3 +-- .../htmlunit/javascript/NativeDate2Test.java | 2 +- .../canvas/CanvasRenderingContext2DTest.java | 22 ++++++++-------- .../host/css/CSSStyleDeclaration2Test.java | 8 +++++- .../host/css/CSSStyleDeclarationTest.java | 16 +++++++++--- .../css/ComputedCSSStyleDeclarationTest.java | 2 +- .../javascript/host/html/HTMLElementTest.java | 6 +---- .../host/worker/WorkerNavigatorTest.java | 10 +++---- ...dCSSStyleDeclarationTest.properties.FF.txt | 4 +-- 18 files changed, 94 insertions(+), 81 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d5e5f0f4e95..203990b93dd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,7 +7,7 @@ - + core-js: junit-vintage-engine was NOT marked as 'test' dependency, therefore we had junit as part of our depenencies/lib/diestribution (regression from 4.8.0) diff --git a/src/main/java/org/htmlunit/BrowserVersion.java b/src/main/java/org/htmlunit/BrowserVersion.java index 274518314a9..eca62e39bed 100644 --- a/src/main/java/org/htmlunit/BrowserVersion.java +++ b/src/main/java/org/htmlunit/BrowserVersion.java @@ -64,7 +64,7 @@ public final class BrowserVersion implements Serializable { /** Latest Firefox. */ - public static final BrowserVersion FIREFOX = new BrowserVersion(133, "FF"); + public static final BrowserVersion FIREFOX = new BrowserVersion(134, "FF"); private static final int FIREFOX_ESR_NUMERIC = 128; @@ -72,10 +72,10 @@ public final class BrowserVersion implements Serializable { public static final BrowserVersion FIREFOX_ESR = new BrowserVersion(FIREFOX_ESR_NUMERIC, "FF-ESR"); /** Latest Edge. */ - public static final BrowserVersion EDGE = new BrowserVersion(131, "Edge"); + public static final BrowserVersion EDGE = new BrowserVersion(132, "Edge"); /** Latest Chrome. */ - public static final BrowserVersion CHROME = new BrowserVersion(131, "Chrome"); + public static final BrowserVersion CHROME = new BrowserVersion(132, "Chrome"); /** * Array with all supported browsers. @@ -195,9 +195,9 @@ public final class BrowserVersion implements Serializable { CHROME.imgAcceptHeader_ = "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"; CHROME.cssAcceptHeader_ = "text/css,*/*;q=0.1"; CHROME.scriptAcceptHeader_ = "*/*"; - CHROME.secClientHintUserAgentHeader_ = "\"Google Chrome\";v=\"" - + CHROME.getBrowserVersionNumeric() + "\", \"Chromium\";v=\"" - + CHROME.getBrowserVersionNumeric() + "\", \"Not_A Brand\";v=\"24\""; + CHROME.secClientHintUserAgentHeader_ = "\"Not A(Brand\";v=\"8\", \"Chromium\";v=\"" + + CHROME.getBrowserVersionNumeric() + "\", \"Google Chrome\";v=\"" + + CHROME.getBrowserVersionNumeric() + "\""; CHROME.fontHeights_ = new int[] { 0, 1, 2, 4, 5, 5, 6, 8, 9, 10, 11, 12, 15, 16, 16, 17, 18, 20, 21, 22, 23, 25, 26, 26, 27, 28, 30, 31, 32, 33, 34, 36, 37, 37, 38, 40, 42, 43, 44, 45, 47, 48, 48, 49, 51, 52, 53, 54, 55, 57, diff --git a/src/main/java/org/htmlunit/css/StyleAttributes.java b/src/main/java/org/htmlunit/css/StyleAttributes.java index 40764c86553..04c778afcd1 100644 --- a/src/main/java/org/htmlunit/css/StyleAttributes.java +++ b/src/main/java/org/htmlunit/css/StyleAttributes.java @@ -695,10 +695,10 @@ public enum Definition { BORDER_RIGHT_WIDTH_("border-right-width", "border-right-width", ff("0px")), /** The style property {@code borderSpacing}. */ - BORDER_SPACING("borderSpacing", "border-spacing", chromeAndEdge("0px 0px"), ff("0px 0px")), + BORDER_SPACING("borderSpacing", "border-spacing", chromeAndEdge("0px 0px"), ffEsr("0px 0px"), ffLatest("0px")), /** The style property {@code border-spacing}. */ - BORDER_SPACING_("border-spacing", "border-spacing", ff("0px 0px")), + BORDER_SPACING_("border-spacing", "border-spacing", ffEsr("0px 0px"), ffLatest("0px")), /** The style property {@code borderStartEndRadius}. */ BORDER_START_END_RADIUS("borderStartEndRadius", "border-start-end-radius", chromeAndEdge("0px"), ff("0px")), diff --git a/src/test/java/org/htmlunit/BrowserVersionTest.java b/src/test/java/org/htmlunit/BrowserVersionTest.java index a74d00fb817..4c3a60bd475 100644 --- a/src/test/java/org/htmlunit/BrowserVersionTest.java +++ b/src/test/java/org/htmlunit/BrowserVersionTest.java @@ -38,10 +38,10 @@ public class BrowserVersionTest { */ @Test public void getBrowserVersionNumeric() { - assertEquals(133, BrowserVersion.FIREFOX.getBrowserVersionNumeric()); + assertEquals(134, BrowserVersion.FIREFOX.getBrowserVersionNumeric()); assertEquals(128, BrowserVersion.FIREFOX_ESR.getBrowserVersionNumeric()); - assertEquals(131, BrowserVersion.CHROME.getBrowserVersionNumeric()); - assertEquals(131, BrowserVersion.EDGE.getBrowserVersionNumeric()); + assertEquals(132, BrowserVersion.CHROME.getBrowserVersionNumeric()); + assertEquals(132, BrowserVersion.EDGE.getBrowserVersionNumeric()); } /** diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 2cac8dcd0c4..d2d083df1f2 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -55,7 +55,7 @@ public class ExternalTest { static String MAVEN_REPO_URL_ = "https://repo1.maven.org/maven2/"; /** Chrome driver. */ - static String CHROME_DRIVER_ = "131.0.6778"; + static String CHROME_DRIVER_ = "132.0.6834"; static String CHROME_DRIVER_URL_ = "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"; diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index 3910a1b12d1..6926b146b27 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -17871,12 +17871,14 @@ public void xmlHttpRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],cache[GCE],clone(),constructor(),credentials[GCE]," + @Alerts(CHROME = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],bytes()," + + "cache[GCE],clone(),constructor(),credentials[GCE]," + "destination[GCE],duplex[GCE],formData(),headers[GCE],integrity[GCE],isHistoryNavigation[GCE],json()," + "keepalive[GCE],method[GCE],mode[GCE],redirect[GCE],referrer[GCE],referrerPolicy[GCE],signal[GCE]," + "targetAddressSpace[GCE],text()," + "url[GCE]", - EDGE = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],cache[GCE],clone(),constructor(),credentials[GCE]," + EDGE = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],bytes()," + + "cache[GCE],clone(),constructor(),credentials[GCE]," + "destination[GCE],duplex[GCE],formData(),headers[GCE],integrity[GCE],isHistoryNavigation[GCE],json()," + "keepalive[GCE],method[GCE],mode[GCE],redirect[GCE],referrer[GCE],referrerPolicy[GCE],signal[GCE]," + "targetAddressSpace[GCE],text()," @@ -17903,10 +17905,12 @@ public void request() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],clone(),constructor(),formData(),headers[GCE]," + @Alerts(CHROME = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],bytes()," + + "clone(),constructor(),formData(),headers[GCE]," + "json(),ok[GCE],redirected[GCE],status[GCE],statusText[GCE],text(),type[GCE]," + "url[GCE]", - EDGE = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],clone(),constructor(),formData(),headers[GCE]," + EDGE = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],bytes()," + + "clone(),constructor(),formData(),headers[GCE]," + "json(),ok[GCE],redirected[GCE],status[GCE],statusText[GCE],text(),type[GCE]," + "url[GCE]", FF = "arrayBuffer(),blob(),body[GCE],bodyUsed[GCE],bytes(),clone(),constructor(),formData()," @@ -18141,8 +18145,10 @@ public void mimeType() throws Exception { + "canLoadAdAuctionFencedFrame(),canShare(),clearAppBadge(),clearOriginJoinedAdInterestGroups()," + "clipboard[GCE],connection[GCE],constructor(),cookieEnabled[GCE],createAuctionNonce()," + "credentials[GCE],deprecatedReplaceInURN(),deprecatedRunAdAuctionEnforcesKAnonymity[GCE]," - + "deprecatedURNToURL(),deviceMemory[GCE],doNotTrack[GCE],geolocation[GCE],getBattery()," - + "getGamepads(),getInstalledRelatedApps(),getUserMedia(),gpu[GCE],hardwareConcurrency[GCE]," + + "deprecatedURNToURL(),deviceMemory[GCE],devicePosture[GCE]," + + "doNotTrack[GCE],geolocation[GCE],getBattery()," + + "getGamepads(),getInstalledRelatedApps(),getInterestGroupAdAuctionData()," + + "getUserMedia(),gpu[GCE],hardwareConcurrency[GCE]," + "hid[GCE],ink[GCE],javaEnabled(),joinAdInterestGroup(),keyboard[GCE],language[GCE],languages[GCE]," + "leaveAdInterestGroup(),locks[GCE],login[GCE],managed[GCE],maxTouchPoints[GCE]," + "mediaCapabilities[GCE],mediaDevices[GCE],mediaSession[GCE],mimeTypes[GCE],onLine[GCE]," @@ -18159,8 +18165,10 @@ public void mimeType() throws Exception { + "canLoadAdAuctionFencedFrame(),canShare(),clearAppBadge(),clearOriginJoinedAdInterestGroups()," + "clipboard[GCE],connection[GCE],constructor(),cookieEnabled[GCE],createAuctionNonce()," + "credentials[GCE],deprecatedReplaceInURN(),deprecatedRunAdAuctionEnforcesKAnonymity[GCE]," - + "deprecatedURNToURL(),deviceMemory[GCE],doNotTrack[GCE],geolocation[GCE],getBattery()," - + "getGamepads(),getInstalledRelatedApps(),getUserMedia(),gpu[GCE],hardwareConcurrency[GCE]," + + "deprecatedURNToURL(),deviceMemory[GCE],devicePosture[GCE]," + + "doNotTrack[GCE],geolocation[GCE],getBattery()," + + "getGamepads(),getInstalledRelatedApps(),getInterestGroupAdAuctionData()," + + "getUserMedia(),gpu[GCE],hardwareConcurrency[GCE]," + "hid[GCE],ink[GCE],javaEnabled(),joinAdInterestGroup(),keyboard[GCE],language[GCE],languages[GCE]," + "leaveAdInterestGroup(),locks[GCE],login[GCE],managed[GCE],maxTouchPoints[GCE]," + "mediaCapabilities[GCE],mediaDevices[GCE],mediaSession[GCE],mimeTypes[GCE],onLine[GCE]," diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index 5ded9406c30..c4f972f7971 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -8990,11 +8990,13 @@ public void xmlHttpRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "arrayBuffer(),blob(),body,bodyUsed,cache,clone(),credentials,destination,duplex,formData()," + @Alerts(CHROME = "arrayBuffer(),blob(),body,bodyUsed,bytes()," + + "cache,clone(),credentials,destination,duplex,formData()," + "headers,integrity,isHistoryNavigation,json(),keepalive,method,mode,redirect,referrer," + "referrerPolicy,signal,targetAddressSpace,text()," + "url", - EDGE = "arrayBuffer(),blob(),body,bodyUsed,cache,clone(),credentials,destination,duplex,formData()," + EDGE = "arrayBuffer(),blob(),body,bodyUsed,bytes()," + + "cache,clone(),credentials,destination,duplex,formData()," + "headers,integrity,isHistoryNavigation,json(),keepalive,method,mode,redirect,referrer," + "referrerPolicy,signal,targetAddressSpace,text()," + "url", @@ -9018,10 +9020,12 @@ public void request() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "arrayBuffer(),blob(),body,bodyUsed,clone(),formData(),headers,json(),ok,redirected,status," + @Alerts(CHROME = "arrayBuffer(),blob(),body,bodyUsed,bytes()," + + "clone(),formData(),headers,json(),ok,redirected,status," + "statusText,text(),type," + "url", - EDGE = "arrayBuffer(),blob(),body,bodyUsed,clone(),formData(),headers,json(),ok,redirected,status," + EDGE = "arrayBuffer(),blob(),body,bodyUsed,bytes()," + + "clone(),formData(),headers,json(),ok,redirected,status," + "statusText,text(),type," + "url", FF = "arrayBuffer(),blob(),body,bodyUsed,bytes(),clone(),formData(),headers,json(),ok,redirected," @@ -9265,8 +9269,10 @@ public void mimeType() throws Exception { @Alerts(CHROME = "adAuctionComponents(),appCodeName,appName,appVersion,bluetooth,canLoadAdAuctionFencedFrame()," + "canShare(),clearAppBadge(),clearOriginJoinedAdInterestGroups(),clipboard,connection," + "cookieEnabled,createAuctionNonce(),credentials,deprecatedReplaceInURN()," - + "deprecatedRunAdAuctionEnforcesKAnonymity,deprecatedURNToURL(),deviceMemory,doNotTrack," - + "geolocation,getBattery(),getGamepads(),getInstalledRelatedApps(),getUserMedia(),gpu," + + "deprecatedRunAdAuctionEnforcesKAnonymity,deprecatedURNToURL(),deviceMemory,devicePosture," + + "doNotTrack," + + "geolocation,getBattery(),getGamepads(),getInstalledRelatedApps(),getInterestGroupAdAuctionData()," + + "getUserMedia(),gpu," + "hardwareConcurrency,hid,ink,javaEnabled(),joinAdInterestGroup(),keyboard,language,languages," + "leaveAdInterestGroup(),locks,login,managed,maxTouchPoints,mediaCapabilities,mediaDevices," + "mediaSession,mimeTypes,onLine,pdfViewerEnabled,permissions,platform,plugins,presentation,product," @@ -9280,8 +9286,10 @@ public void mimeType() throws Exception { EDGE = "adAuctionComponents(),appCodeName,appName,appVersion,bluetooth,canLoadAdAuctionFencedFrame()," + "canShare(),clearAppBadge(),clearOriginJoinedAdInterestGroups(),clipboard,connection," + "cookieEnabled,createAuctionNonce(),credentials,deprecatedReplaceInURN()," - + "deprecatedRunAdAuctionEnforcesKAnonymity,deprecatedURNToURL(),deviceMemory,doNotTrack," - + "geolocation,getBattery(),getGamepads(),getInstalledRelatedApps(),getUserMedia(),gpu," + + "deprecatedRunAdAuctionEnforcesKAnonymity,deprecatedURNToURL(),deviceMemory,devicePosture," + + "doNotTrack," + + "geolocation,getBattery(),getGamepads(),getInstalledRelatedApps(),getInterestGroupAdAuctionData()," + + "getUserMedia(),gpu," + "hardwareConcurrency,hid,ink,javaEnabled(),joinAdInterestGroup(),keyboard,language,languages," + "leaveAdInterestGroup(),locks,login,managed,maxTouchPoints,mediaCapabilities,mediaDevices," + "mediaSession,mimeTypes,onLine,pdfViewerEnabled,permissions,platform,plugins,presentation,product," diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java index 49596687e19..4663120b319 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java @@ -1316,7 +1316,6 @@ public void getInnerTextWhiteSpaceOrderedListPreWrap() throws Exception { @Test @Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", - FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item", FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item") @HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", @@ -1425,7 +1424,6 @@ public void getInnerTextWhiteSpaceUnorderedListPreWrap() throws Exception { @Test @Alerts(DEFAULT = "\n\nfirst item\n\n\nA B C D\nEF\nG\nH\nI\n" + "\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", - FF = "first item\nA B C D\nEF\nG\nH\nI\nthird item\n4. item\nsome text\n\nlast item", FF_ESR = "first item\nA B C D\nEFGH\nI\nthird item\n4. item\nsome text\nlast item") @HtmlUnitNYI(CHROME = "first item\n\n\n A B C D\nEF\nG\nH\n I" + "\n\n\nthird item\n4. item\n\nsome text\n\nlast item\n\n", diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java index 7aab1dc7367..213158f4501 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java @@ -799,9 +799,9 @@ private void getVisibleTextWhiteSpaceTitle(final String whiteSpace) throws Excep * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "A B C D EF G H I\nSecond", - CHROME = " A B C D EF G H\nI\n Second\n ", - EDGE = " A B C D EF G H\nI\n Second\n ") + @Alerts(DEFAULT = " A B C D EF G H I\n Second\n ", + FF = "A B C D EF G H I\nSecond", + FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", EDGE = "A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelect() throws Exception { @@ -813,11 +813,7 @@ public void getVisibleTextWhiteSpaceSelect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", - FF = "A B C D EF G H I\nSecond", - FF_ESR = "A B C D EF G H I\nSecond") - @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", - EDGE = "A B C D EF G H I\nSecond") + @Alerts("A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelectNormal() throws Exception { getVisibleTextWhiteSpaceSelect("normal"); } @@ -827,11 +823,7 @@ public void getVisibleTextWhiteSpaceSelectNormal() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", - FF = "A B C D EF G H I\nSecond", - FF_ESR = "A B C D EF G H I\nSecond") - @HtmlUnitNYI(CHROME = "A B C D EF G H I\nSecond", - EDGE = "A B C D EF G H I\nSecond") + @Alerts("A B C D EF G H I\nSecond") public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception { getVisibleTextWhiteSpaceSelect("nowrap"); } @@ -841,7 +833,7 @@ public void getVisibleTextWhiteSpaceSelectNowrap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ", + @Alerts(DEFAULT = " A B C D EF G H I\n Second\n ", FF = "A B C D EF G H I\nSecond", FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ", @@ -857,7 +849,7 @@ public void getVisibleTextWhiteSpaceSelectPre() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = " A B C D EF G H\nI\n Second\n ", + @Alerts(DEFAULT = " A B C D EF G H I\n Second\n ", FF = "A B C D EF G H I\nSecond", FF_ESR = "A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = " A B C D \nEF\nG \n H I \n Second\n ", @@ -873,9 +865,7 @@ public void getVisibleTextWhiteSpaceSelectPreWrap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "A B C D EF G H\nI\nSecond", - FF = "A B C D EF G H I\nSecond", - FF_ESR = "A B C D EF G H I\nSecond") + @Alerts("A B C D EF G H I\nSecond") @HtmlUnitNYI(CHROME = "A B C D \nEF\nG \n H I\n Second", EDGE = "A B C D \nEF\nG \n H I\n Second", FF = "A B C D \nEF\nG \n H I\n Second", diff --git a/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java index 20e3dcdec7b..4a94eac3801 100644 --- a/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java @@ -17,7 +17,6 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; @@ -33,7 +32,7 @@ public class NativeBigIntTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = {"bigint", "bigint"}) + @Alerts({"bigint", "bigint"}) public void typeof() throws Exception { final String html = "" diff --git a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java index 4143dc1f1bf..58cc19ed083 100644 --- a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java +++ b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java @@ -545,7 +545,7 @@ public void toTimeStringUTC() throws Exception { } @Test - @Alerts("17:23:00 GMT-0500 (GMT-05:00)") + @Alerts("17:23:00 GMT-0500 (Eastern Standard Time)") @BuggyWebDriver(FF = "23:23:00 GMT+0100 (Central European Standard Time)", FF_ESR = "23:23:00 GMT+0100 (Central European Standard Time)") @HtmlUnitNYI(CHROME = "17:23:00 GMT-0500 (-05:00)", diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index 9ba8dd9644e..f25d33f0122 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -834,12 +834,12 @@ private void draw(final String canvasSetup, final String drawJS) throws Exceptio */ @Test @Alerts(DEFAULT = "data:image/png;base64," - + "iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAVpJREFUWEft1L1KHVEUxfHffQTJC4iN" - + "dgFbrQSNBNLEwuKa2qCVYCepQjpBSBGwlVhoYSlYWNqm1s4XSG2rW+bCOOj9gK02e6qZc2avs/b/rHN6nj6z+IyD1nC/eT/G" - + "Mv7hf6eu+/kBW9jHd5zjpvkp5n5h7wWddm34uYva3gRGz7CLP69stG1pZ9DkJEZD4C8OcYpVrDSq2/iBT1jE9ZhEQ+ML1hud" - + "du0VLnGB/nNGT/CxQ3oDbaJz+IboeL4xGRGJ8aWG+jhbH0Zn8BMLw2onIdo1Oo3I7WCBWGyQ8aMJiN4+ZD/oDa19C6NfW9Ri" - + "o9qNxS68itG4DYLkb0yNSTTMRd1mE6fHzDUHcpTROLxrkeEu0RG3zvtNl9Fs9kW0iGYTyNarjBbRbALZepXRIppNIFuvMlpE" - + "swlk61VGi2g2gWy9ymgRzSaQrVcZLaLZBLL1KqNFNJtAtt49X4NjZWyu/AkAAAAASUVORK5CYII=", + + "iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAVlJREFUWEftlK1OA0EUhb9a3qCGBIvA" + + "gKgqQdQBCsFPQusJCkENlh9N6+tIsOAJaLA8AIYH4AXYQ+4mw4Syu8lta+4mm+zO7D1z5rtntsXvax0YAKfJ8Lk93wCHwBPw" + + "mdXlr23gGjgBroAJ8GYfae4OOJiik9ZuAF+qbTUwOgZ0D2dsNLV0W26yiVEJiNKzGT4Ceqa6D4yAZWAXeK1J9Ni6tGY6ae0j" + + "cA98AJ2/jL4ASxlpUUyJqiVnhaHtwviWmewAGt8z6nVaL6OrQL9o785/tU2I5ka1gHJbLqDFyoxfNiD6XtQ9VNXOw6gOVElN" + + "jUo3poM6E6PKzQpwAeh01iEqc6rbtDj9ZM4OZJVRdVFR6uZEK/46i5sOo97sg2gQ9SbgrRcZDaLeBLz1IqNB1JuAt15kNIh6" + + "E/DWi4wGUW8C3nqR0SDqTcBbLzIaRL0JeOtFRoOoNwFvvW9NqWN35u+ZcQAAAABJRU5ErkJggg==", FF = "data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABPUlEQVRYR+2UMW7CUBBE7WOEMs4doKUxNwhNCiQacoGUKVKG" + "C8ABUiQ3QEKi4BpA6WuQWWmNNl82YDESKcbS6n9j7zD/7ch59vcqcfuBGoSfP33/hvUbNU562m5neDD09y/pNmnE/izvYHTd" @@ -1974,11 +1974,11 @@ public void clipWindingEvenOdd() throws Exception { */ @Test @Alerts(DEFAULT = "data:image/png;base64," - + "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAO5JREFUOE/t1K9KREEUx/HP1C2CCIIg" - + "GxbBJhiFxSb6Dgb/sAbBIBpkLSLYfIbV4isYhX0Cg8lkMG/VYLg66ywOV1gvF+P9lQPDme/85pwzE3CB9a8YNUyxdghpZ4RG" - + "TWIDrF6BrIY7i9yMsIEVbBPuclTx3bwzbKb1/cAgzykDP3CMFq5wToiHjJWAB+ihjSOcBt4mOWXgw4+rIoLvCc8lYCe6KpiL" - + "MFxOA1Zx+CcwDfbWDIfvrHZYmGd3wO1rXp8e7WVmT3hconXN2h7DEdHIWPHKGbD7Qv+pek9/Z06pYT1s8/Sa36bG5Pz72HwC" - + "6OxElc5l3LEAAAAASUVORK5CYII=", + + "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAOpJREFUOE/t1KFOA0EQxvHfiiIIqAYB" + + "ElECJAheAEMdBIFCUF4A0YSkbYLBkdaSoHF9AzyiEoHlBUg9CnP0kr2wOZJyuSBvzJfszvwz++3sBtzhaKF5vEStLSFW5tA8" + + "Cm2A1R1IPBx0GK+ii1xHhHGKyjiNPh/G9WFgkuaUgVs4wTqmuCB8FAUR2MfZYn8Ht+gFPoucMvDtp6vsAU+E1xJwN+8qYxP3" + + "uF4GrNLhn8A42JdtblbY26bVYjhl8p76M6Czz8YVswPWHjk+53nOV3rkBNid05tVv9PfmUs8rIdtnl7z29SYnH8fm2/FgECV" + + "q9xRJAAAAABJRU5ErkJggg==", FF = "data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAA40lEQVQ4T2NkYGBoAGJ7IGYE4gNATBEAGQIC9VADQYZTBEa2" + "gZNNGRhyvgIDMAwaiJnAeJqBHKD/GRiygPwEIAaqBYMeYJiVIqtBCkOwgUZAQ6QgCv4D9TPC5CEiUAOBgmZAtgpQ6DCQLYnP" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java index 357b051d73d..3f78df1df4c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java @@ -19,6 +19,7 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; @@ -157,7 +158,7 @@ public void width_like_properties_heightWidth() throws Exception { "success", "success", "wordSpacing 42% - 42em"}, - FF = {"success", "letterSpacing 42% - 42em", + FF = {"success", "success", "outlineWidth 42.0 - ; 42.7 - ; 42 - ; 42% - 42em", "success", "success", @@ -167,6 +168,11 @@ public void width_like_properties_heightWidth() throws Exception { "success", "success", "success"}) + @HtmlUnitNYI(FF = {"success", "letterSpacing 42% - 42em", + "outlineWidth 42.0 - ; 42.7 - ; 42 - ; 42% - 42em", + "success", + "success", + "success"}) public void width_like_properties_font() throws Exception { width_like_properties("fontSize", "letterSpacing", "outlineWidth", "textIndent", "verticalAlign", "wordSpacing"); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 04717ec83c4..a9903f108d5 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -2699,8 +2699,12 @@ public void setWordSpacing() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"4px", "5px", "6em", "17px", "17px", "initial", "inherit", - "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) + @Alerts(DEFAULT = {"4px", "5px", "6em", "17px", "17px", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}, + FF = {"4px", "5px", "6em", "17px", "7%", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) + @HtmlUnitNYI(FF = {"4px", "5px", "6em", "17px", "17px", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) public void setLetterSpacingProperty() throws Exception { setLengthProperty("letter-spacing", "letterSpacing"); } @@ -2709,8 +2713,12 @@ public void setLetterSpacingProperty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"4px", "5px", "6em", "17px", "17px", "initial", "inherit", - "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) + @Alerts(DEFAULT = {"4px", "5px", "6em", "17px", "17px", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}, + FF = {"4px", "5px", "6em", "17px", "70%", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) + @HtmlUnitNYI(FF = {"4px", "5px", "6em", "17px", "17px", "initial", "inherit", + "17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"}) public void setLetterSpacing() throws Exception { setLength("letter-spacing", "letterSpacing"); } diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index 987218961a5..7cdf5dd4bdd 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -132,7 +132,7 @@ public void stringProperties() throws Exception { final WebDriver driver = loadPage2(html); final String expected = loadExpectation("ComputedCSSStyleDeclarationTest.properties", ".txt"); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(expected, actual); } diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index f284fefb429..ea51a33d3a2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -5366,11 +5366,7 @@ public void clickAnElementThatDisappears() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "", - FF = "", - FF_ESR = "") - @HtmlUnitNYI(CHROME = "", - EDGE = "") + @Alerts("") public void innerHTML() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index d3bb5e0fa41..92e93e83a1d 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -82,9 +82,9 @@ public void appName() throws Exception { */ @Test @Alerts(CHROME = "5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36", EDGE = "5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", FF = "5.0\\s(Windows)", FF_ESR = "5.0\\s(Windows)") public void appVersion() throws Exception { @@ -161,10 +161,10 @@ public void product() throws Exception { */ @Test @Alerts(CHROME = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36", EDGE = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/131.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", - FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:133.0)\\sGecko/20100101\\sFirefox/133.0", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", + FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:134.0)\\sGecko/20100101\\sFirefox/134.0", FF_ESR = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:128.0)\\sGecko/20100101\\sFirefox/128.0") public void userAgent() throws Exception { final String workerJs = "postMessage(navigator.userAgent);\n"; diff --git a/src/test/resources/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.FF.txt b/src/test/resources/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.FF.txt index a7597637637..a1302da6566 100644 --- a/src/test/resources/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.FF.txt +++ b/src/test/resources/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.FF.txt @@ -345,7 +345,7 @@ border-right-color=:rgb(0, 0, 0) border-right-style=:none border-right-width=:0px border-right=:0px rgb(0, 0, 0) -border-spacing=:0px 0px +border-spacing=:0px border-start-end-radius=:0px border-start-start-radius=:0px border-style=:none @@ -406,7 +406,7 @@ borderRight=:0px rgb(0, 0, 0) borderRightColor=:rgb(0, 0, 0) borderRightStyle=:none borderRightWidth=:0px -borderSpacing=:0px 0px +borderSpacing=:0px borderStartEndRadius=:0px borderStartStartRadius=:0px borderStyle=:none From 0f6c2016c40639c30eeaf21909d89e8373e3d609 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 12:51:18 +0100 Subject: [PATCH 055/516] fix some warnings --- .../java/org/htmlunit/WebDriverTestCase.java | 16 +++------------- .../java/org/htmlunit/svg/SvgJavaScriptTest.java | 4 ++-- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/test/java/org/htmlunit/WebDriverTestCase.java b/src/test/java/org/htmlunit/WebDriverTestCase.java index ad5c21e0648..4a36d791fb0 100644 --- a/src/test/java/org/htmlunit/WebDriverTestCase.java +++ b/src/test/java/org/htmlunit/WebDriverTestCase.java @@ -614,16 +614,6 @@ private FirefoxDriver createFirefoxDriver(final String geckodriverBinary, final return new FirefoxDriver(service, options); } - private static String getBrowserName(final BrowserVersion browserVersion) { - if (browserVersion == BrowserVersion.FIREFOX) { - return browserVersion.getNickname() + '-' + browserVersion.getBrowserVersionNumeric(); - } - if (browserVersion == BrowserVersion.FIREFOX_ESR) { - return browserVersion.getNickname() + '-' + browserVersion.getBrowserVersionNumeric(); - } - return browserVersion.getNickname(); - } - /** * Starts the web server delivering response from the provided connection. * @param mockConnection the sources for responses @@ -1152,14 +1142,14 @@ protected final WebDriver verifyTextArea2(final WebDriver driver, final WebElement textArea = driver.findElement(By.id("myLog")); if (expectedAlerts.length == 0) { - assertEquals("", textArea.getAttribute("value")); + assertEquals("", textArea.getDomProperty("value")); return driver; } if (!useRealBrowser() && expectedAlerts.length == 1 && expectedAlerts[0].startsWith("data:image/png;base64,")) { - String value = textArea.getAttribute("value"); + String value = textArea.getDomProperty("value"); if (value.endsWith("\u00A7")) { value = value.substring(0, value.length() - 1); } @@ -1171,7 +1161,7 @@ protected final WebDriver verifyTextArea2(final WebDriver driver, for (int i = 0; i < expectedAlerts.length; i++) { expected.append(expectedAlerts[i]).append('\u00A7'); } - verify(() -> textArea.getAttribute("value"), expected.toString()); + verify(() -> textArea.getDomProperty("value"), expected.toString()); return driver; } diff --git a/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java b/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java index 40a9f65f944..f5063e8e6ac 100644 --- a/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java +++ b/src/test/java/org/htmlunit/svg/SvgJavaScriptTest.java @@ -48,9 +48,9 @@ public void onclick() throws Exception { final WebDriver driver = loadPage2(html, URL_FIRST, "image/svg+xml", ISO_8859_1); final WebElement rect = driver.findElement(By.id("rect")); - assertEquals("blue", rect.getAttribute("fill")); + assertEquals("blue", rect.getDomAttribute("fill")); rect.click(); - assertEquals("green", rect.getAttribute("fill")); + assertEquals("green", rect.getDomAttribute("fill")); } } From 9c440d5dc441b687ea1cf5d64e0f7773f4aa9605 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 13:07:30 +0100 Subject: [PATCH 056/516] move test annotations into separate classes/package --- .../org/htmlunit/BrowserVersion2Test.java | 2 +- src/test/java/org/htmlunit/CacheTest.java | 2 +- .../java/org/htmlunit/CookieManager2Test.java | 2 +- .../java/org/htmlunit/CookieManager4Test.java | 4 +- .../java/org/htmlunit/CookieManagerTest.java | 2 +- .../DefaultCredentialsProvider2Test.java | 2 +- .../org/htmlunit/ErrorOutputCheckerTest.java | 2 +- src/test/java/org/htmlunit/History2Test.java | 2 +- src/test/java/org/htmlunit/HistoryTest.java | 2 +- .../org/htmlunit/HttpWebConnection3Test.java | 8 +- .../java/org/htmlunit/NoHttpResponseTest.java | 4 +- .../java/org/htmlunit/PageReloadTest.java | 2 +- src/test/java/org/htmlunit/SgmlPage2Test.java | 2 +- .../java/org/htmlunit/TopLevelWindowTest.java | 2 +- .../java/org/htmlunit/WebClient2Test.java | 8 +- .../java/org/htmlunit/WebClient3Test.java | 6 +- .../java/org/htmlunit/WebClient6Test.java | 4 +- .../java/org/htmlunit/WebClient7Test.java | 6 +- src/test/java/org/htmlunit/WebClientTest.java | 2 +- .../WebClientWaitForBackgroundJobsTest.java | 2 +- .../org/htmlunit/WebWindowListenerTest.java | 2 +- .../css/StyleAttributesIterable2Test.java | 2 +- .../encoding/CssStyleSheetEncodingTest.java | 2 +- .../encoding/HtmlPageEncodingTest.java | 4 +- .../htmlunit/encoding/ScriptEncodingTest.java | 4 +- ...dicatedWorkerGlobalScopeClassNameTest.java | 4 +- ...dicatedWorkerGlobalScopeConstantsTest.java | 2 +- .../DedicatedWorkerGlobalScopeTypeOfTest.java | 4 +- .../general/ElementChildNodesTest.java | 2 +- .../general/ElementClosesItselfTest.java | 2 +- .../htmlunit/general/ElementCreationTest.java | 2 +- .../ElementDefaultStyleDisplayTest.java | 4 +- .../general/ElementOuterHtmlTest.java | 2 +- .../general/ElementOwnPropertiesTest.java | 4 +- .../ElementOwnPropertySymbolsTest.java | 4 +- .../general/ElementPropertiesTest.java | 4 +- .../htmlunit/general/HostClassNameTest.java | 6 +- .../htmlunit/general/HostConstructorTest.java | 2 +- .../org/htmlunit/general/HostTypeOfTest.java | 4 +- .../huge/ElementClosesElementTest.java | 4 +- .../htmlunit/general/huge/HostParentOf.java | 2 +- .../general/huge/HostParentOfATest.java | 4 +- .../general/huge/HostParentOfBTest.java | 2 +- .../general/huge/HostParentOfCTest.java | 4 +- .../general/huge/HostParentOfDTest.java | 4 +- .../general/huge/HostParentOfFTest.java | 2 +- .../general/huge/HostParentOfHTest.java | 4 +- .../general/huge/HostParentOfITest.java | 2 +- .../general/huge/HostParentOfMTest.java | 2 +- .../general/huge/HostParentOfNTest.java | 4 +- .../general/huge/HostParentOfPTest.java | 2 +- .../general/huge/HostParentOfS2Test.java | 4 +- .../general/huge/HostParentOfSTest.java | 2 +- .../general/huge/HostParentOfTTest.java | 2 +- .../general/huge/HostParentOfWTest.java | 2 +- .../htmlunit/html/BaseFrameElement2Test.java | 2 +- .../htmlunit/html/ClickableElement2Test.java | 2 +- .../htmlunit/html/ClickableElementTest.java | 4 +- .../html/DomDocumentFragmentTest.java | 2 +- .../org/htmlunit/html/DomElementTest.java | 2 +- .../java/org/htmlunit/html/DomNode2Test.java | 2 +- .../java/org/htmlunit/html/DomNodeTest.java | 2 +- .../htmlunit/html/FocusableElement2Test.java | 4 +- .../org/htmlunit/html/HtmlAnchor2Test.java | 2 +- .../org/htmlunit/html/HtmlAnchorTest.java | 6 +- .../java/org/htmlunit/html/HtmlAreaTest.java | 4 +- .../html/HtmlBackgroundSoundTest.java | 2 +- .../org/htmlunit/html/HtmlBaseFontTest.java | 2 +- .../java/org/htmlunit/html/HtmlBaseTest.java | 2 +- .../java/org/htmlunit/html/HtmlBodyTest.java | 2 +- .../java/org/htmlunit/html/HtmlBreakTest.java | 2 +- .../org/htmlunit/html/HtmlButton2Test.java | 2 +- .../htmlunit/html/HtmlButtonInput2Test.java | 2 +- .../htmlunit/html/HtmlButtonInputTest.java | 2 +- .../org/htmlunit/html/HtmlButtonTest.java | 2 +- .../org/htmlunit/html/HtmlCanvasTest.java | 2 +- .../org/htmlunit/html/HtmlCaptionTest.java | 2 +- .../htmlunit/html/HtmlCheckBoxInput2Test.java | 2 +- .../htmlunit/html/HtmlColorInput2Test.java | 2 +- .../org/htmlunit/html/HtmlColorInputTest.java | 2 +- .../org/htmlunit/html/HtmlDateInputTest.java | 4 +- .../htmlunit/html/HtmlDateTimeInputTest.java | 2 +- .../html/HtmlDateTimeLocalInputTest.java | 2 +- .../htmlunit/html/HtmlDefinitionListTest.java | 2 +- .../org/htmlunit/html/HtmlDirectoryTest.java | 2 +- .../org/htmlunit/html/HtmlDivision2Test.java | 2 +- .../org/htmlunit/html/HtmlElement2Test.java | 6 +- .../org/htmlunit/html/HtmlElementTest.java | 2 +- .../htmlunit/html/HtmlEmailInput2Test.java | 2 +- .../org/htmlunit/html/HtmlEmailInputTest.java | 4 +- .../java/org/htmlunit/html/HtmlEmbedTest.java | 2 +- .../org/htmlunit/html/HtmlFieldSetTest.java | 2 +- .../org/htmlunit/html/HtmlFileInput2Test.java | 2 +- .../org/htmlunit/html/HtmlFileInput3Test.java | 2 +- .../org/htmlunit/html/HtmlFileInputTest.java | 4 +- .../java/org/htmlunit/html/HtmlFontTest.java | 2 +- .../java/org/htmlunit/html/HtmlForm2Test.java | 4 +- .../java/org/htmlunit/html/HtmlFormTest.java | 2 +- .../org/htmlunit/html/HtmlFrame2Test.java | 6 +- .../org/htmlunit/html/HtmlFrameSetTest.java | 2 +- .../java/org/htmlunit/html/HtmlFrameTest.java | 2 +- .../java/org/htmlunit/html/HtmlHeadTest.java | 2 +- .../org/htmlunit/html/HtmlHeading2Test.java | 2 +- .../htmlunit/html/HtmlHiddenInputTest.java | 2 +- .../htmlunit/html/HtmlHorizontalRuleTest.java | 2 +- .../org/htmlunit/html/HtmlImage2Test.java | 8 +- .../htmlunit/html/HtmlImageInput2Test.java | 2 +- .../org/htmlunit/html/HtmlImageInputTest.java | 10 +- .../java/org/htmlunit/html/HtmlImageTest.java | 2 +- .../htmlunit/html/HtmlInlineFrame2Test.java | 10 +- .../org/htmlunit/html/HtmlInput2Test.java | 4 +- .../org/htmlunit/html/HtmlInput3Test.java | 2 +- .../htmlunit/html/HtmlInsertedTextTest.java | 2 +- .../org/htmlunit/html/HtmlIsIndex2Test.java | 2 +- .../java/org/htmlunit/html/HtmlLabelTest.java | 2 +- .../org/htmlunit/html/HtmlLegendTest.java | 2 +- .../java/org/htmlunit/html/HtmlLink2Test.java | 2 +- .../java/org/htmlunit/html/HtmlLinkTest.java | 2 +- .../org/htmlunit/html/HtmlListItemTest.java | 2 +- .../java/org/htmlunit/html/HtmlMapTest.java | 4 +- .../java/org/htmlunit/html/HtmlMenuTest.java | 2 +- .../java/org/htmlunit/html/HtmlMetaTest.java | 2 +- .../htmlunit/html/HtmlModificationTest.java | 2 +- .../htmlunit/html/HtmlMonthInput2Test.java | 6 +- .../org/htmlunit/html/HtmlMonthInputTest.java | 8 +- .../org/htmlunit/html/HtmlNoFrames2Test.java | 2 +- .../org/htmlunit/html/HtmlNoScript2Test.java | 2 +- .../org/htmlunit/html/HtmlNoScriptTest.java | 2 +- .../htmlunit/html/HtmlNumberInput2Test.java | 2 +- .../htmlunit/html/HtmlNumberInputTest.java | 4 +- .../org/htmlunit/html/HtmlObject2Test.java | 2 +- .../org/htmlunit/html/HtmlObjectTest.java | 2 +- .../org/htmlunit/html/HtmlOption2Test.java | 6 +- .../htmlunit/html/HtmlOptionGroup2Test.java | 2 +- .../htmlunit/html/HtmlOptionGroupTest.java | 2 +- .../org/htmlunit/html/HtmlOptionTest.java | 2 +- .../htmlunit/html/HtmlOrderedList2Test.java | 2 +- .../org/htmlunit/html/HtmlOutputTest.java | 2 +- .../java/org/htmlunit/html/HtmlPage2Test.java | 2 +- .../java/org/htmlunit/html/HtmlPage3Test.java | 8 +- .../java/org/htmlunit/html/HtmlPage4Test.java | 2 +- .../java/org/htmlunit/html/HtmlPageTest.java | 2 +- .../java/org/htmlunit/html/HtmlPageTest5.java | 2 +- .../org/htmlunit/html/HtmlParameterTest.java | 2 +- .../htmlunit/html/HtmlPasswordInput2Test.java | 2 +- .../htmlunit/html/HtmlPasswordInputTest.java | 2 +- .../html/HtmlPreformattedTextTest.java | 2 +- .../org/htmlunit/html/HtmlProgressTest.java | 2 +- .../java/org/htmlunit/html/HtmlQuoteTest.java | 2 +- .../html/HtmlRadioButtonInput2Test.java | 2 +- .../html/HtmlRadioButtonInputTest.java | 2 +- .../org/htmlunit/html/HtmlRangeInputTest.java | 2 +- .../java/org/htmlunit/html/HtmlRbTest.java | 2 +- .../htmlunit/html/HtmlResetInput2Test.java | 2 +- .../java/org/htmlunit/html/HtmlRpTest.java | 2 +- .../java/org/htmlunit/html/HtmlRtTest.java | 2 +- .../java/org/htmlunit/html/HtmlRtcTest.java | 2 +- .../org/htmlunit/html/HtmlScript2Test.java | 4 +- .../org/htmlunit/html/HtmlScriptTest.java | 2 +- .../htmlunit/html/HtmlSearchInput2Test.java | 2 +- .../htmlunit/html/HtmlSearchInputTest.java | 2 +- .../org/htmlunit/html/HtmlSelect2Test.java | 2 +- .../java/org/htmlunit/html/HtmlSlotTest.java | 2 +- .../java/org/htmlunit/html/HtmlSpan2Test.java | 2 +- .../org/htmlunit/html/HtmlStyle2Test.java | 2 +- .../htmlunit/html/HtmlSubmitInput2Test.java | 2 +- .../htmlunit/html/HtmlSubmitInputTest.java | 2 +- .../java/org/htmlunit/html/HtmlSvgTest.java | 2 +- .../org/htmlunit/html/HtmlTable2Test.java | 2 +- .../org/htmlunit/html/HtmlTableCellTest.java | 2 +- .../htmlunit/html/HtmlTableColumnTest.java | 2 +- .../org/htmlunit/html/HtmlTableRowTest.java | 2 +- .../htmlunit/html/HtmlTableSection2Test.java | 2 +- .../org/htmlunit/html/HtmlTelInput2Test.java | 2 +- .../org/htmlunit/html/HtmlTelInputTest.java | 2 +- .../org/htmlunit/html/HtmlTemplateTest.java | 2 +- .../org/htmlunit/html/HtmlTextArea2Test.java | 2 +- .../org/htmlunit/html/HtmlTextInput2Test.java | 2 +- .../org/htmlunit/html/HtmlTextInputTest.java | 2 +- .../org/htmlunit/html/HtmlTimeInputTest.java | 6 +- .../org/htmlunit/html/HtmlTitle2Test.java | 2 +- .../java/org/htmlunit/html/HtmlTitleTest.java | 2 +- .../htmlunit/html/HtmlUnknownElementTest.java | 2 +- .../htmlunit/html/HtmlUnorderedListTest.java | 2 +- .../org/htmlunit/html/HtmlUrlInput2Test.java | 2 +- .../org/htmlunit/html/HtmlUrlInputTest.java | 2 +- .../org/htmlunit/html/HtmlWeekInput2Test.java | 6 +- .../org/htmlunit/html/HtmlWeekInputTest.java | 8 +- .../org/htmlunit/html/HtmlWordBreakTest.java | 2 +- ...itionalCommentExpressionEvaluatorTest.java | 2 +- .../html/IEConditionalCommentsTest.java | 2 +- .../org/htmlunit/html/XHtmlPage2Test.java | 4 +- .../htmlunit/html/parser/HTMLParser2Test.java | 4 +- .../htmlunit/html/parser/HTMLParser4Test.java | 6 +- .../htmlunit/html/parser/HTMLParser5Test.java | 2 +- .../htmlunit/html/parser/HTMLParser6Test.java | 2 +- .../html/parser/MalformedHtmlTest.java | 4 +- .../HtmlSerializerInnerOuterText2Test.java | 4 +- .../HtmlSerializerNormalizedText2Test.java | 2 +- .../HtmlSerializerVisibleText2Test.java | 4 +- .../html/xpath/HtmlUnitXPath2Test.java | 2 +- .../htmlunit/javascript/ArgumentsTest.java | 2 +- .../FunctionsRestParametersTest.java | 2 +- .../htmlunit/javascript/FunctionsTest.java | 4 +- .../javascript/FunctionsWrapper2Test.java | 2 +- .../javascript/FunctionsWrapperTest.java | 2 +- .../javascript/GlobalFunctionsTest.java | 2 +- .../javascript/HtmlUnitScriptable2Test.java | 4 +- .../javascript/HtmlUnitScriptableTest.java | 2 +- .../IEConditionalCompilationTest.java | 2 +- .../org/htmlunit/javascript/IteratorTest.java | 2 +- .../javascript/JavaScriptEngine2Test.java | 6 +- .../javascript/JavaScriptEngineTest.java | 4 +- .../htmlunit/javascript/NativeArrayTest.java | 4 +- .../htmlunit/javascript/NativeBigIntTest.java | 2 +- .../htmlunit/javascript/NativeDate2Test.java | 6 +- .../htmlunit/javascript/NativeDateTest.java | 2 +- .../htmlunit/javascript/NativeErrorTest.java | 4 +- .../javascript/NativeFunctionTest.java | 2 +- .../htmlunit/javascript/NativeGlobalTest.java | 2 +- .../htmlunit/javascript/NativeJSONTest.java | 2 +- .../htmlunit/javascript/NativeMapTest.java | 2 +- .../htmlunit/javascript/NativeNumberTest.java | 2 +- .../htmlunit/javascript/NativeObjectTest.java | 4 +- .../htmlunit/javascript/NativeRegExpTest.java | 2 +- .../htmlunit/javascript/NativeStringTest.java | 2 +- .../javascript/NativeTypedArrayTest.java | 4 +- .../javascript/PostponedActionTest.java | 2 +- .../org/htmlunit/javascript/RhinoTest.java | 4 +- .../javascript/ScriptRuntimeTest.java | 2 +- .../javascript/ScriptableObjectTest.java | 6 +- .../javascript/host/ActiveXObject2Test.java | 2 +- .../javascript/host/ApplicationCacheTest.java | 2 +- .../javascript/host/BoxObjectTest.java | 2 +- .../javascript/host/ClientRectListTest.java | 2 +- .../javascript/host/ClientRectTest.java | 2 +- .../javascript/host/Console2Test.java | 2 +- .../htmlunit/javascript/host/ConsoleTest.java | 4 +- .../htmlunit/javascript/host/ElementTest.java | 4 +- .../javascript/host/ExternalTest.java | 2 +- .../javascript/host/FontFaceSetTest.java | 2 +- .../javascript/host/FontFaceTest.java | 2 +- .../javascript/host/History2Test.java | 4 +- .../javascript/host/InstallTriggerTest.java | 4 +- .../javascript/host/Location2Test.java | 6 +- .../javascript/host/LocationTest.java | 2 +- .../org/htmlunit/javascript/host/MapTest.java | 2 +- .../javascript/host/MessageChannelTest.java | 2 +- .../javascript/host/MimeTypeTest.java | 2 +- .../javascript/host/NamedNodeMapTest.java | 2 +- .../javascript/host/NamespaceTest.java | 2 +- .../javascript/host/NavigatorTest.java | 2 +- .../javascript/host/NetscapeTest.java | 4 +- .../javascript/host/NotificationTest.java | 2 +- .../htmlunit/javascript/host/PluginTest.java | 2 +- .../htmlunit/javascript/host/Popup2Test.java | 2 +- .../htmlunit/javascript/host/PopupTest.java | 2 +- .../htmlunit/javascript/host/PromiseTest.java | 2 +- .../htmlunit/javascript/host/ReflectTest.java | 2 +- .../htmlunit/javascript/host/ScreenTest.java | 2 +- .../org/htmlunit/javascript/host/SetTest.java | 2 +- .../htmlunit/javascript/host/StorageTest.java | 8 +- .../htmlunit/javascript/host/SymbolTest.java | 2 +- .../javascript/host/TextDecoderTest.java | 2 +- .../javascript/host/TextEncoderTest.java | 2 +- .../javascript/host/URLSearchParamsTest.java | 4 +- .../org/htmlunit/javascript/host/URLTest.java | 4 +- .../htmlunit/javascript/host/WeakMapTest.java | 2 +- .../htmlunit/javascript/host/WeakSetTest.java | 2 +- .../javascript/host/WebSocketTest.java | 10 +- .../htmlunit/javascript/host/Window2Test.java | 10 +- .../htmlunit/javascript/host/Window3Test.java | 4 +- .../host/WindowConcurrency2Test.java | 2 +- .../host/WindowPostMessageTest.java | 2 +- .../htmlunit/javascript/host/WindowTest.java | 4 +- .../host/arrays/ArrayBufferTest.java | 2 +- .../host/arrays/ArrayBufferViewTest.java | 2 +- .../javascript/host/arrays/DataViewTest.java | 2 +- .../host/arrays/Float32ArrayTest.java | 2 +- .../host/arrays/Float64ArrayTest.java | 2 +- .../host/arrays/Int16ArrayTest.java | 2 +- .../host/arrays/Int32ArrayTest.java | 2 +- .../javascript/host/arrays/Int8ArrayTest.java | 2 +- .../host/arrays/SharedArrayBufferTest.java | 8 +- .../host/arrays/Uint16ArrayTest.java | 2 +- .../host/arrays/Uint32ArrayTest.java | 2 +- .../host/arrays/Uint8ArrayTest.java | 2 +- .../host/arrays/Uint8ClampedArrayTest.java | 2 +- .../host/canvas/CanvasGradientTest.java | 2 +- .../canvas/CanvasRenderingContext2DTest.java | 10 +- .../javascript/host/canvas/ImageDataTest.java | 2 +- .../host/canvas/IntersectionObserverTest.java | 2 +- .../javascript/host/crypto/CryptoTest.java | 2 +- .../host/crypto/SubtleCryptoTest.java | 6 +- .../host/css/CSSCharsetRuleTest.java | 2 +- .../host/css/CSSFontFaceRuleTest.java | 2 +- .../host/css/CSSImportRuleTest.java | 2 +- .../host/css/CSSKeyframesRuleTest.java | 4 +- .../javascript/host/css/CSSMediaRuleTest.java | 4 +- .../javascript/host/css/CSSPageRuleTest.java | 4 +- .../javascript/host/css/CSSRuleListTest.java | 2 +- .../javascript/host/css/CSSSelector2Test.java | 2 +- .../javascript/host/css/CSSSelectorTest.java | 4 +- .../host/css/CSSStyleDeclaration2Test.java | 4 +- .../host/css/CSSStyleDeclaration3Test.java | 4 +- .../host/css/CSSStyleDeclarationTest.java | 6 +- .../javascript/host/css/CSSStyleRuleTest.java | 4 +- .../host/css/CSSStyleSheet2Test.java | 2 +- .../host/css/CSSStyleSheetTest.java | 2 +- .../htmlunit/javascript/host/css/CSSTest.java | 4 +- .../css/ComputedCSSStyleDeclarationTest.java | 10 +- .../javascript/host/css/ComputedFontTest.java | 4 +- .../host/css/MediaQueryListTest.java | 2 +- .../javascript/host/css/StyleMediaTest.java | 2 +- .../host/css/StyleSheetListTest.java | 4 +- .../css/property/ElementClientHeightTest.java | 4 +- .../css/property/ElementClientWidthTest.java | 4 +- .../css/property/ElementOffsetHeightTest.java | 6 +- .../css/property/ElementOffsetWidthTest.java | 4 +- .../host/dom/AbstractRangeTest.java | 2 +- .../javascript/host/dom/AttrTest.java | 2 +- .../javascript/host/dom/CDATASectionTest.java | 2 +- .../host/dom/CharacterDataTest.java | 2 +- .../javascript/host/dom/CommentTest.java | 2 +- .../javascript/host/dom/DOMExceptionTest.java | 2 +- .../host/dom/DOMImplementationTest.java | 2 +- .../javascript/host/dom/DOMMatrixTest.java | 2 +- .../javascript/host/dom/DOMParserTest.java | 2 +- .../javascript/host/dom/DOMStringMapTest.java | 2 +- .../javascript/host/dom/DOMTokenListTest.java | 4 +- .../javascript/host/dom/Document2Test.java | 8 +- .../host/dom/DocumentFragmentTest.java | 2 +- .../javascript/host/dom/DocumentTest.java | 8 +- .../javascript/host/dom/DocumentTypeTest.java | 2 +- .../javascript/host/dom/EventNodeTest.java | 2 +- .../host/dom/MutationObserverTest.java | 4 +- .../javascript/host/dom/NodeFilterTest.java | 2 +- .../javascript/host/dom/NodeIteratorTest.java | 2 +- .../javascript/host/dom/NodeListTest.java | 2 +- .../javascript/host/dom/NodeTest.java | 4 +- .../host/dom/RadioNodeListTest.java | 2 +- .../javascript/host/dom/RangeTest.java | 2 +- .../javascript/host/dom/Selection2Test.java | 8 +- .../javascript/host/dom/SelectionTest.java | 4 +- .../javascript/host/dom/TextRangeTest.java | 2 +- .../javascript/host/dom/TextTest.java | 2 +- .../javascript/host/dom/TreeWalkerTest.java | 2 +- .../host/dom/XPathEvaluatorTest.java | 2 +- .../host/dom/XPathExpressionTest.java | 2 +- .../javascript/host/dom/XPathResultTest.java | 2 +- .../draganddrop/DataTransferItemListTest.java | 2 +- .../draganddrop/DataTransferItemTest.java | 2 +- .../host/draganddrop/DataTransferTest.java | 4 +- .../host/event/AnimationEventTest.java | 4 +- .../host/event/AudioProcessingEventTest.java | 4 +- .../event/BeforeInstallPromptEventTest.java | 4 +- .../host/event/BeforeUnloadEvent2Test.java | 2 +- .../host/event/BeforeUnloadEventTest.java | 2 +- .../javascript/host/event/BlobEventTest.java | 2 +- .../javascript/host/event/CloseEventTest.java | 2 +- .../host/event/CompositionEventTest.java | 4 +- .../host/event/CustomEventTest.java | 4 +- .../host/event/DeviceMotionEventTest.java | 4 +- .../event/DeviceOrientationEventTest.java | 4 +- .../javascript/host/event/DragEventTest.java | 4 +- .../javascript/host/event/ErrorEventTest.java | 4 +- .../javascript/host/event/Event2Test.java | 6 +- .../javascript/host/event/Event3Test.java | 4 +- .../host/event/EventHandlerTest.java | 2 +- .../event/EventListenersContainerTest.java | 2 +- .../host/event/EventTargetTest.java | 2 +- .../javascript/host/event/EventTest.java | 4 +- .../javascript/host/event/FocusEventTest.java | 4 +- .../host/event/GamepadEventTest.java | 4 +- .../host/event/HashChangeEventTest.java | 2 +- .../javascript/host/event/InputEventTest.java | 4 +- .../host/event/KeyboardEvent2Test.java | 2 +- .../host/event/KeyboardEventTest.java | 6 +- .../host/event/MessageEventTest.java | 2 +- .../javascript/host/event/MouseEventTest.java | 4 +- .../host/event/MutationEventTest.java | 2 +- .../OfflineAudioCompletionEventTest.java | 2 +- .../host/event/PageTransitionEventTest.java | 4 +- .../host/event/PointerEventTest.java | 2 +- .../host/event/PopStateEventTest.java | 8 +- .../host/event/ProgressEventTest.java | 2 +- .../host/event/StorageEventTest.java | 4 +- .../host/event/SubmitEventTest.java | 4 +- .../javascript/host/event/TextEventTest.java | 2 +- .../javascript/host/event/TimeEventTest.java | 2 +- .../javascript/host/event/TouchEventTest.java | 4 +- .../javascript/host/event/TrackEventTest.java | 4 +- .../host/event/TransitionEventTest.java | 4 +- .../javascript/host/event/UIEventTest.java | 2 +- .../host/event/WebGLContextEventTest.java | 2 +- .../javascript/host/event/WheelEventTest.java | 4 +- .../javascript/host/file/BlobTest.java | 2 +- .../javascript/host/file/FileListTest.java | 2 +- .../javascript/host/file/FileReaderTest.java | 2 +- .../javascript/host/file/FileTest.java | 2 +- .../javascript/host/geo/GeolocationTest.java | 2 +- .../javascript/host/html/EnumeratorTest.java | 2 +- .../javascript/host/html/FormChildTest.java | 2 +- .../host/html/HTMLAllCollectionTest.java | 2 +- .../host/html/HTMLAnchorElement2Test.java | 6 +- .../host/html/HTMLAreaElementTest.java | 2 +- .../host/html/HTMLAudioElementTest.java | 4 +- .../host/html/HTMLBRElementTest.java | 2 +- .../host/html/HTMLBaseElementTest.java | 2 +- .../host/html/HTMLBaseFontElementTest.java | 2 +- .../host/html/HTMLBodyElementTest.java | 4 +- .../host/html/HTMLButtonElementTest.java | 2 +- .../host/html/HTMLCanvasElementTest.java | 4 +- .../host/html/HTMLCollection2Test.java | 2 +- .../host/html/HTMLCollectionTest.java | 2 +- .../host/html/HTMLDDElementTest.java | 2 +- .../host/html/HTMLDListElementTest.java | 2 +- .../host/html/HTMLDTElementTest.java | 2 +- .../host/html/HTMLDataElementTest.java | 2 +- .../host/html/HTMLDetailsElementTest.java | 2 +- .../host/html/HTMLDialogElementTest.java | 4 +- .../host/html/HTMLDirectoryElementTest.java | 2 +- .../host/html/HTMLDivElementTest.java | 2 +- .../host/html/HTMLDocument2Test.java | 2 +- .../host/html/HTMLDocumentTest.java | 6 +- .../host/html/HTMLDocumentWrite2Test.java | 6 +- .../host/html/HTMLDocumentWriteTest.java | 2 +- .../host/html/HTMLElement2Test.java | 10 +- .../host/html/HTMLElement3Test.java | 2 +- .../javascript/host/html/HTMLElementTest.java | 10 +- .../host/html/HTMLEmbedElementTest.java | 8 +- .../host/html/HTMLFieldSetElementTest.java | 2 +- .../html/HTMLFormControlsCollectionTest.java | 2 +- .../host/html/HTMLFormElement2Test.java | 2 +- .../host/html/HTMLFormElementTest.java | 4 +- .../host/html/HTMLFrameElement2Test.java | 4 +- .../host/html/HTMLFrameElementTest.java | 2 +- .../host/html/HTMLFrameSetElementTest.java | 2 +- .../host/html/HTMLHRElementTest.java | 2 +- .../host/html/HTMLHeadingElementTest.java | 2 +- .../host/html/HTMLHtmlElementTest.java | 4 +- .../host/html/HTMLIFrameElement2Test.java | 4 +- .../host/html/HTMLIFrameElement3Test.java | 4 +- .../host/html/HTMLImageElementTest.java | 12 +- .../host/html/HTMLInputElement2Test.java | 2 +- .../host/html/HTMLInputElementTest.java | 4 +- .../host/html/HTMLIsIndexElementTest.java | 2 +- .../host/html/HTMLLabelElementTest.java | 2 +- .../host/html/HTMLLegendElementTest.java | 2 +- .../host/html/HTMLLinkElementTest.java | 2 +- .../host/html/HTMLMapElementTest.java | 2 +- .../host/html/HTMLMarqueeElementTest.java | 2 +- .../host/html/HTMLMediaElementTest.java | 4 +- .../host/html/HTMLMenuElementTest.java | 2 +- .../host/html/HTMLMetaElementTest.java | 2 +- .../host/html/HTMLMeterElementTest.java | 2 +- .../host/html/HTMLOListElementTest.java | 2 +- .../host/html/HTMLObjectElement2Test.java | 2 +- .../host/html/HTMLObjectElementTest.java | 2 +- .../host/html/HTMLOptGroupElementTest.java | 2 +- .../host/html/HTMLOptionElement2Test.java | 12 +- .../host/html/HTMLOptionElementTest.java | 2 +- .../host/html/HTMLOptionsCollectionTest.java | 2 +- .../host/html/HTMLOutputElementTest.java | 2 +- .../host/html/HTMLParagraphElementTest.java | 2 +- .../host/html/HTMLParamElementTest.java | 2 +- .../host/html/HTMLPhraseElementTest.java | 2 +- .../host/html/HTMLPreElementTest.java | 2 +- .../host/html/HTMLProgressElementTest.java | 2 +- .../host/html/HTMLQuoteElementTest.java | 2 +- .../host/html/HTMLScriptElementTest.java | 4 +- .../host/html/HTMLSelectElementTest.java | 4 +- .../host/html/HTMLSpanElementTest.java | 2 +- .../host/html/HTMLStyleElementTest.java | 2 +- .../html/HTMLTableCaptionElementTest.java | 2 +- .../host/html/HTMLTableCellElementTest.java | 4 +- .../host/html/HTMLTableColElementTest.java | 2 +- .../host/html/HTMLTableElementTest.java | 2 +- .../host/html/HTMLTableRowElementTest.java | 2 +- .../html/HTMLTableSectionElementTest.java | 2 +- .../host/html/HTMLTemplateElementTest.java | 2 +- .../host/html/HTMLTextAreaElementTest.java | 2 +- .../host/html/HTMLTextElementTest.java | 2 +- .../host/html/HTMLTimeElementTest.java | 2 +- .../host/html/HTMLTitleElementTest.java | 2 +- .../host/html/HTMLUListElementTest.java | 2 +- .../host/html/HTMLVideoElementTest.java | 2 +- .../javascript/host/intl/CollatorTest.java | 2 +- .../host/intl/DateTimeFormat2Test.java | 12 +- .../host/intl/DateTimeFormatTest.java | 6 +- .../javascript/host/intl/IntlTest.java | 2 +- .../host/intl/NumberFormat2Test.java | 2 +- .../host/intl/NumberFormatTest.java | 4 +- .../host/intl/V8BreakIteratorTest.java | 2 +- .../host/media/AudioContextTest.java | 2 +- .../javascript/host/media/AudioParamTest.java | 2 +- .../host/media/BaseAudioContextTest.java | 2 +- .../javascript/host/media/GainNodeTest.java | 2 +- .../host/media/MediaDevicesTest.java | 2 +- .../host/media/MediaSourceTest.java | 4 +- .../host/media/MediaStreamTest.java | 2 +- .../host/media/OfflineAudioContextTest.java | 2 +- .../host/media/PeriodicSyncManagerTest.java | 2 +- .../host/media/rtc/RTCPeerConnectionTest.java | 2 +- .../host/network/NetworkInformationTest.java | 2 +- .../PerformanceNavigationTest.java | 2 +- .../host/performance/PerformanceTest.java | 2 +- .../performance/PerformanceTimingTest.java | 4 +- .../javascript/host/svg/SVGAngleTest.java | 2 +- .../host/svg/SVGPathElementTest.java | 4 +- .../host/svg/SVGSVGElementTest.java | 2 +- .../host/svg/SVGTSpanElementTest.java | 4 +- .../htmlunit/javascript/host/svg/SVGTest.java | 2 +- .../host/svg/SVGTextContentElementTest.java | 2 +- .../host/svg/SVGTextElementTest.java | 4 +- .../host/svg/SVGTextPathElementTest.java | 4 +- .../DedicatedWorkerGlobalScopeTest.java | 2 +- .../host/worker/WorkerLocationTest.java | 2 +- .../host/worker/WorkerNavigatorTest.java | 2 +- .../javascript/host/worker/WorkerTest.java | 2 +- .../javascript/host/xml/FormDataTest.java | 4 +- .../javascript/host/xml/XMLDocument2Test.java | 2 +- .../javascript/host/xml/XMLDocument3Test.java | 2 +- .../javascript/host/xml/XMLDocumentTest.java | 4 +- .../host/xml/XMLHttpRequest2Test.java | 4 +- .../host/xml/XMLHttpRequest3Test.java | 4 +- .../host/xml/XMLHttpRequest4Test.java | 2 +- .../host/xml/XMLHttpRequest5Test.java | 4 +- .../host/xml/XMLHttpRequestCORSTest.java | 2 +- .../xml/XMLHttpRequestEventTargetTest.java | 4 +- .../host/xml/XMLHttpRequestLifeCycleTest.java | 4 +- .../host/xml/XMLHttpRequestTest.java | 8 +- .../host/xml/XMLSerializerTest.java | 4 +- .../host/xml/XSLTProcessorTest.java | 4 +- .../javascript/polyfill/PolyfillTest.java | 2 +- ...xyGlobalPropertiesStringFunctionsTest.java | 2 +- ...mlUnitRegExpProxyGlobalPropertiesTest.java | 2 +- ...UnitRegExpProxyInstancePropertiesTest.java | 4 +- .../regexp/HtmlUnitRegExpProxyTest.java | 2 +- .../regexp/RegExpJsToJavaConverter2Test.java | 2 +- .../javascript/regexp/RegExpTest.java | 4 +- .../mozilla/js1_2/AlphanumericTest.java | 2 +- .../regexp/mozilla/js1_2/AsteriskTest.java | 2 +- .../regexp/mozilla/js1_2/BackslashTest.java | 2 +- .../regexp/mozilla/js1_2/BackspaceTest.java | 2 +- .../regexp/mozilla/js1_2/BeginLineTest.java | 2 +- .../mozilla/js1_2/CharacterClassTest.java | 2 +- .../regexp/mozilla/js1_2/CompileTest.java | 2 +- .../regexp/mozilla/js1_2/DigitTest.java | 2 +- .../regexp/mozilla/js1_2/DotTest.java | 2 +- .../regexp/mozilla/js1_2/EndLineTest.java | 2 +- .../regexp/mozilla/js1_2/EverythingTest.java | 2 +- .../regexp/mozilla/js1_2/ExecTest.java | 2 +- .../regexp/mozilla/js1_2/FlagsTest.java | 2 +- .../regexp/mozilla/js1_2/GlobalTest.java | 2 +- .../regexp/mozilla/js1_2/HexadecimalTest.java | 2 +- .../regexp/mozilla/js1_2/IgnoreCaseTest.java | 2 +- .../regexp/mozilla/js1_2/IntervalTest.java | 2 +- .../regexp/mozilla/js1_2/OctalTest.java | 2 +- .../regexp/mozilla/js1_2/ParenthesesTest.java | 2 +- .../regexp/mozilla/js1_2/PlusTest.java | 2 +- .../mozilla/js1_2/QuestionMarkTest.java | 2 +- .../regexp/mozilla/js1_2/SimpleFormTest.java | 2 +- .../regexp/mozilla/js1_2/SourceTest.java | 2 +- .../mozilla/js1_2/StringReplaceTest.java | 2 +- .../mozilla/js1_2/StringSearchTest.java | 2 +- .../regexp/mozilla/js1_2/StringSplitTest.java | 2 +- .../regexp/mozilla/js1_2/TestTest.java | 2 +- .../junit/BrowserParameterizedRunner.java | 6 +- .../org/htmlunit/junit/BrowserRunner.java | 257 ------------------ .../org/htmlunit/junit/BrowserStatement.java | 6 +- .../junit/BrowserVersionClassRunner.java | 18 +- .../java/org/htmlunit/junit/RetryRule.java | 1 + .../org/htmlunit/junit/TestCaseCorrector.java | 2 +- .../org/htmlunit/junit/annotation/Alerts.java | 79 ++++++ .../junit/annotation/AlertsStandards.java | 74 +++++ .../junit/annotation/AnnotationUtils.java | 41 +++ .../junit/annotation/AnnotationUtilsTest.java | 42 +++ .../junit/annotation/BuggyWebDriver.java | 71 +++++ .../junit/annotation/HtmlUnitNYI.java | 65 +++++ .../junit/annotation/NotYetImplemented.java | 55 ++++ .../org/htmlunit/junit/annotation/OS.java | 31 +++ .../junit/{ => annotation}/Retry.java | 2 +- .../junit/annotation/TestedBrowser.java | 37 +++ .../org/htmlunit/junit/annotation/Tries.java | 40 +++ .../java/org/htmlunit/libraries/BirdTest.java | 2 +- .../org/htmlunit/libraries/ExtJS22Test.java | 2 +- .../org/htmlunit/libraries/HtmxTest1x7x0.java | 4 +- .../org/htmlunit/libraries/HtmxTest1x8x4.java | 4 +- .../htmlunit/libraries/HtmxTest1x9x10.java | 4 +- .../htmlunit/libraries/HtmxTest1x9x12.java | 4 +- .../org/htmlunit/libraries/HtmxTest1x9x2.java | 4 +- .../org/htmlunit/libraries/HtmxTest2x0x0.java | 4 +- .../org/htmlunit/libraries/HtmxTest2x0x2.java | 4 +- .../htmlunit/libraries/JQuery1x11x3Test.java | 8 +- .../htmlunit/libraries/JQuery1x8x2Test.java | 8 +- .../htmlunit/libraries/JQuery3x3x1Test.java | 12 +- .../libraries/JQueryUsage3x7x1Test.java | 2 +- .../libraries/LibraryDependencyTest.java | 2 +- .../htmlunit/libraries/MooTools121Test.java | 2 +- .../org/htmlunit/libraries/MyFacesTest.java | 2 +- .../libraries/PolymerWebComponentsTest.java | 2 +- .../libraries/Prototype150rc1Test.java | 2 +- .../htmlunit/libraries/Prototype160Test.java | 2 +- .../htmlunit/libraries/Prototype161Test.java | 2 +- .../htmlunit/libraries/Prototype171Test.java | 2 +- .../org/htmlunit/libraries/QuillTest.java | 4 +- .../htmlunit/libraries/Sarissa0993Test.java | 2 +- .../htmlunit/libraries/Sarissa0997Test.java | 2 +- .../org/htmlunit/libraries/TinyMceTest.java | 4 +- .../java/org/htmlunit/libraries/VueTest.java | 2 +- .../java/org/htmlunit/libraries/YuiTest.java | 4 +- .../protocol/data/DataURLDecoderTest.java | 2 +- .../org/htmlunit/selenium/TypingTest.java | 4 +- .../org/htmlunit/source/JQueryExtractor.java | 4 +- .../org/htmlunit/svg/SvgAltGlyphDefTest.java | 2 +- .../org/htmlunit/svg/SvgAltGlyphItemTest.java | 2 +- .../org/htmlunit/svg/SvgAltGlyphTest.java | 2 +- .../java/org/htmlunit/svg/SvgAnchorTest.java | 2 +- .../org/htmlunit/svg/SvgAnimateColorTest.java | 2 +- .../htmlunit/svg/SvgAnimateMotionTest.java | 2 +- .../java/org/htmlunit/svg/SvgAnimateTest.java | 2 +- .../htmlunit/svg/SvgAnimateTransformTest.java | 2 +- .../java/org/htmlunit/svg/SvgCircleTest.java | 2 +- .../org/htmlunit/svg/SvgClipPathTest.java | 2 +- .../org/htmlunit/svg/SvgColorProfileTest.java | 2 +- .../java/org/htmlunit/svg/SvgCursorTest.java | 2 +- .../java/org/htmlunit/svg/SvgDefsTest.java | 2 +- .../java/org/htmlunit/svg/SvgDescTest.java | 2 +- .../java/org/htmlunit/svg/SvgElementTest.java | 2 +- .../java/org/htmlunit/svg/SvgEllipseTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeBlendTest.java | 2 +- .../htmlunit/svg/SvgFeColorMatrixTest.java | 2 +- .../svg/SvgFeComponentTransferTest.java | 2 +- .../org/htmlunit/svg/SvgFeCompositeTest.java | 2 +- .../htmlunit/svg/SvgFeConvolveMatrixTest.java | 2 +- .../svg/SvgFeDiffuseLightingTest.java | 2 +- .../svg/SvgFeDisplacementMapTest.java | 2 +- .../htmlunit/svg/SvgFeDistantLightTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeFloodTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeFuncATest.java | 2 +- .../java/org/htmlunit/svg/SvgFeFuncBTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeFuncGTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeFuncRTest.java | 2 +- .../htmlunit/svg/SvgFeGaussianBlurTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeImageTest.java | 2 +- .../org/htmlunit/svg/SvgFeMergeNodeTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeMergeTest.java | 2 +- .../org/htmlunit/svg/SvgFeMorphologyTest.java | 2 +- .../org/htmlunit/svg/SvgFeOffsetTest.java | 2 +- .../org/htmlunit/svg/SvgFePointLightTest.java | 2 +- .../svg/SvgFeSpecularLightingTest.java | 2 +- .../org/htmlunit/svg/SvgFeSpotLightTest.java | 2 +- .../java/org/htmlunit/svg/SvgFeTileTest.java | 2 +- .../org/htmlunit/svg/SvgFeTurbulenceTest.java | 2 +- .../java/org/htmlunit/svg/SvgFilterTest.java | 2 +- .../htmlunit/svg/SvgFontFaceFormatTest.java | 2 +- .../org/htmlunit/svg/SvgFontFaceNameTest.java | 2 +- .../org/htmlunit/svg/SvgFontFaceSrcTest.java | 2 +- .../org/htmlunit/svg/SvgFontFaceTest.java | 2 +- .../org/htmlunit/svg/SvgFontFaceURITest.java | 2 +- .../java/org/htmlunit/svg/SvgFontTest.java | 2 +- .../htmlunit/svg/SvgForeignObjectTest.java | 2 +- .../org/htmlunit/svg/SvgGlyphRefTest.java | 2 +- .../java/org/htmlunit/svg/SvgGlyphTest.java | 2 +- .../java/org/htmlunit/svg/SvgGroupTest.java | 2 +- .../java/org/htmlunit/svg/SvgHKernTest.java | 2 +- .../java/org/htmlunit/svg/SvgImageTest.java | 2 +- .../java/org/htmlunit/svg/SvgLineTest.java | 2 +- .../htmlunit/svg/SvgLinearGradientTest.java | 2 +- .../java/org/htmlunit/svg/SvgMPathTest.java | 2 +- .../java/org/htmlunit/svg/SvgMarkerTest.java | 2 +- .../java/org/htmlunit/svg/SvgMaskTest.java | 2 +- .../java/org/htmlunit/svg/SvgMatrixTest.java | 2 +- .../org/htmlunit/svg/SvgMetadataTest.java | 2 +- .../org/htmlunit/svg/SvgMissingGlyphTest.java | 2 +- .../java/org/htmlunit/svg/SvgPathTest.java | 2 +- .../java/org/htmlunit/svg/SvgPatternTest.java | 2 +- .../java/org/htmlunit/svg/SvgPolygonTest.java | 2 +- .../org/htmlunit/svg/SvgPolylineTest.java | 2 +- .../htmlunit/svg/SvgRadialGradientTest.java | 2 +- .../java/org/htmlunit/svg/SvgRectTest.java | 2 +- .../java/org/htmlunit/svg/SvgScriptTest.java | 4 +- .../java/org/htmlunit/svg/SvgSetTest.java | 2 +- .../java/org/htmlunit/svg/SvgStopTest.java | 2 +- .../java/org/htmlunit/svg/SvgStyleTest.java | 2 +- .../java/org/htmlunit/svg/SvgSwitchTest.java | 2 +- .../java/org/htmlunit/svg/SvgSymbolTest.java | 2 +- .../java/org/htmlunit/svg/SvgTRefTest.java | 2 +- .../java/org/htmlunit/svg/SvgTSpanTest.java | 2 +- .../org/htmlunit/svg/SvgTextPathTest.java | 2 +- .../java/org/htmlunit/svg/SvgTextTest.java | 2 +- .../java/org/htmlunit/svg/SvgTitleTest.java | 2 +- .../java/org/htmlunit/svg/SvgUseTest.java | 2 +- .../java/org/htmlunit/svg/SvgVKernTest.java | 2 +- .../java/org/htmlunit/svg/SvgViewTest.java | 2 +- .../java/org/htmlunit/xml/XmlPage2Test.java | 2 +- 697 files changed, 1518 insertions(+), 1239 deletions(-) create mode 100644 src/test/java/org/htmlunit/junit/annotation/Alerts.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/AlertsStandards.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/BuggyWebDriver.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/HtmlUnitNYI.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/NotYetImplemented.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/OS.java rename src/test/java/org/htmlunit/junit/{ => annotation}/Retry.java (95%) create mode 100644 src/test/java/org/htmlunit/junit/annotation/TestedBrowser.java create mode 100644 src/test/java/org/htmlunit/junit/annotation/Tries.java diff --git a/src/test/java/org/htmlunit/BrowserVersion2Test.java b/src/test/java/org/htmlunit/BrowserVersion2Test.java index a5bf89c4535..f672b7c6c13 100644 --- a/src/test/java/org/htmlunit/BrowserVersion2Test.java +++ b/src/test/java/org/htmlunit/BrowserVersion2Test.java @@ -20,7 +20,7 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/CacheTest.java b/src/test/java/org/htmlunit/CacheTest.java index 9aca1a0407f..3764dccafc9 100644 --- a/src/test/java/org/htmlunit/CacheTest.java +++ b/src/test/java/org/htmlunit/CacheTest.java @@ -35,7 +35,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.http.HttpStatus; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.htmlunit.util.mocks.WebResponseMock; diff --git a/src/test/java/org/htmlunit/CookieManager2Test.java b/src/test/java/org/htmlunit/CookieManager2Test.java index 915d1c6f755..4c743d6cb65 100644 --- a/src/test/java/org/htmlunit/CookieManager2Test.java +++ b/src/test/java/org/htmlunit/CookieManager2Test.java @@ -22,7 +22,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.Cookie; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/CookieManager4Test.java b/src/test/java/org/htmlunit/CookieManager4Test.java index 533bfc1a73d..13d2a2a0ff2 100644 --- a/src/test/java/org/htmlunit/CookieManager4Test.java +++ b/src/test/java/org/htmlunit/CookieManager4Test.java @@ -27,8 +27,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Before; diff --git a/src/test/java/org/htmlunit/CookieManagerTest.java b/src/test/java/org/htmlunit/CookieManagerTest.java index 67eaec733c6..46ba3da7268 100644 --- a/src/test/java/org/htmlunit/CookieManagerTest.java +++ b/src/test/java/org/htmlunit/CookieManagerTest.java @@ -26,7 +26,7 @@ import org.apache.http.client.utils.DateUtils; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java b/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java index 724f6cf9bd0..432bc690c94 100644 --- a/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java +++ b/src/test/java/org/htmlunit/DefaultCredentialsProvider2Test.java @@ -28,7 +28,7 @@ import org.apache.logging.log4j.core.layout.PatternLayout; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java b/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java index c9f8b0b347a..f9b2e3aa74e 100644 --- a/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java +++ b/src/test/java/org/htmlunit/ErrorOutputCheckerTest.java @@ -15,7 +15,7 @@ package org.htmlunit; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/History2Test.java b/src/test/java/org/htmlunit/History2Test.java index 87d9001cf13..6eafdc13360 100644 --- a/src/test/java/org/htmlunit/History2Test.java +++ b/src/test/java/org/htmlunit/History2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/HistoryTest.java b/src/test/java/org/htmlunit/HistoryTest.java index da9ceee8d4b..797df7bee09 100644 --- a/src/test/java/org/htmlunit/HistoryTest.java +++ b/src/test/java/org/htmlunit/HistoryTest.java @@ -29,7 +29,7 @@ import javax.servlet.http.HttpServletResponse; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Assert; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/HttpWebConnection3Test.java b/src/test/java/org/htmlunit/HttpWebConnection3Test.java index ea0cb8848fc..9a58ea8b174 100644 --- a/src/test/java/org/htmlunit/HttpWebConnection3Test.java +++ b/src/test/java/org/htmlunit/HttpWebConnection3Test.java @@ -24,10 +24,10 @@ import org.apache.commons.lang3.StringUtils; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.BrowserRunner.OS; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.OS; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/NoHttpResponseTest.java b/src/test/java/org/htmlunit/NoHttpResponseTest.java index ec87af43283..d20e6e1fc1a 100644 --- a/src/test/java/org/htmlunit/NoHttpResponseTest.java +++ b/src/test/java/org/htmlunit/NoHttpResponseTest.java @@ -21,8 +21,8 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.After; import org.junit.Test; import org.junit.experimental.runners.Enclosed; diff --git a/src/test/java/org/htmlunit/PageReloadTest.java b/src/test/java/org/htmlunit/PageReloadTest.java index c862bf30787..3246e5a2d78 100644 --- a/src/test/java/org/htmlunit/PageReloadTest.java +++ b/src/test/java/org/htmlunit/PageReloadTest.java @@ -17,7 +17,7 @@ import java.net.URL; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/SgmlPage2Test.java b/src/test/java/org/htmlunit/SgmlPage2Test.java index 8eeb8e8b949..6611c52eaa8 100644 --- a/src/test/java/org/htmlunit/SgmlPage2Test.java +++ b/src/test/java/org/htmlunit/SgmlPage2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/TopLevelWindowTest.java b/src/test/java/org/htmlunit/TopLevelWindowTest.java index 843c1231225..6cdbe6a52c2 100644 --- a/src/test/java/org/htmlunit/TopLevelWindowTest.java +++ b/src/test/java/org/htmlunit/TopLevelWindowTest.java @@ -25,7 +25,7 @@ import org.htmlunit.javascript.background.JavaScriptJob; import org.htmlunit.javascript.background.JavaScriptJobManager; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/WebClient2Test.java b/src/test/java/org/htmlunit/WebClient2Test.java index c8f19f107d5..dd947fcbc80 100644 --- a/src/test/java/org/htmlunit/WebClient2Test.java +++ b/src/test/java/org/htmlunit/WebClient2Test.java @@ -28,10 +28,10 @@ import org.apache.commons.lang3.SerializationUtils; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.Retry; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.Retry; import org.htmlunit.util.Cookie; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/WebClient3Test.java b/src/test/java/org/htmlunit/WebClient3Test.java index 0d5fd725786..32c903e610c 100644 --- a/src/test/java/org/htmlunit/WebClient3Test.java +++ b/src/test/java/org/htmlunit/WebClient3Test.java @@ -28,9 +28,9 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.html.HtmlInlineFrame; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/WebClient6Test.java b/src/test/java/org/htmlunit/WebClient6Test.java index 50ed8494ae7..130b1cbc786 100644 --- a/src/test/java/org/htmlunit/WebClient6Test.java +++ b/src/test/java/org/htmlunit/WebClient6Test.java @@ -20,8 +20,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.NameValuePair; import org.junit.Assert; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/WebClient7Test.java b/src/test/java/org/htmlunit/WebClient7Test.java index 8bfa8df474d..3a365ddba68 100644 --- a/src/test/java/org/htmlunit/WebClient7Test.java +++ b/src/test/java/org/htmlunit/WebClient7Test.java @@ -18,9 +18,9 @@ import java.nio.charset.Charset; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/WebClientTest.java b/src/test/java/org/htmlunit/WebClientTest.java index 90fd10072f8..233f1ac27d1 100644 --- a/src/test/java/org/htmlunit/WebClientTest.java +++ b/src/test/java/org/htmlunit/WebClientTest.java @@ -51,7 +51,7 @@ import org.htmlunit.http.HttpStatus; import org.htmlunit.javascript.host.html.HTMLStyleElement; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.htmlunit.util.UrlUtils; diff --git a/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java b/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java index 8b1b5ca7f15..fd876b0209b 100644 --- a/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java +++ b/src/test/java/org/htmlunit/WebClientWaitForBackgroundJobsTest.java @@ -25,7 +25,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.javascript.background.JavaScriptJobManager; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Tries; +import org.htmlunit.junit.annotation.Tries; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/WebWindowListenerTest.java b/src/test/java/org/htmlunit/WebWindowListenerTest.java index f2f1b48ddde..78a4f07d4c4 100644 --- a/src/test/java/org/htmlunit/WebWindowListenerTest.java +++ b/src/test/java/org/htmlunit/WebWindowListenerTest.java @@ -16,7 +16,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java b/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java index 0a75c44abba..51a6d0d4bdf 100644 --- a/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java +++ b/src/test/java/org/htmlunit/css/StyleAttributesIterable2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.javascript.host.css.CSSStyleDeclaration; import org.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java b/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java index b99ced24fad..88877361e19 100644 --- a/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/CssStyleSheetEncodingTest.java @@ -29,7 +29,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java b/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java index 8bb3e581316..05a98777bb1 100644 --- a/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/HtmlPageEncodingTest.java @@ -32,8 +32,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java b/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java index 15a1f726ff2..9c905e93e38 100644 --- a/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java +++ b/src/test/java/org/htmlunit/encoding/ScriptEncodingTest.java @@ -35,8 +35,8 @@ import org.htmlunit.html.HtmlScript; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java index 18b7c808109..33a1ddf5095 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java @@ -21,8 +21,8 @@ import org.htmlunit.javascript.host.css.CSSStyleRule; import org.htmlunit.javascript.host.css.CSSStyleSheet; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java index 28af25ab802..a258ed750e0 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeConstantsTest.java @@ -31,7 +31,7 @@ import org.htmlunit.javascript.configuration.WorkerJavaScriptConfiguration; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index c53175db82e..ea145c9a02d 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -21,8 +21,8 @@ import org.htmlunit.javascript.host.css.CSSStyleRule; import org.htmlunit.javascript.host.css.CSSStyleSheet; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementChildNodesTest.java b/src/test/java/org/htmlunit/general/ElementChildNodesTest.java index 5e576acd705..fb28d6f8ddd 100644 --- a/src/test/java/org/htmlunit/general/ElementChildNodesTest.java +++ b/src/test/java/org/htmlunit/general/ElementChildNodesTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java index 6183397d5c9..af7cb4eebcb 100644 --- a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java +++ b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementCreationTest.java b/src/test/java/org/htmlunit/general/ElementCreationTest.java index 1778dac3fad..c1ea92432de 100644 --- a/src/test/java/org/htmlunit/general/ElementCreationTest.java +++ b/src/test/java/org/htmlunit/general/ElementCreationTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java b/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java index df56cf763a4..a37a7ac7bd2 100644 --- a/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java +++ b/src/test/java/org/htmlunit/general/ElementDefaultStyleDisplayTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.annotations.StandardsMode; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.AlertsStandards; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.AlertsStandards; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java b/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java index 71721a04d3a..1ee159cba65 100644 --- a/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java +++ b/src/test/java/org/htmlunit/general/ElementOuterHtmlTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index 6926b146b27..f36aa7e1488 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -45,8 +45,8 @@ import org.htmlunit.javascript.host.html.HTMLCollection; import org.htmlunit.javascript.host.performance.Performance; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.junit.BrowserVersionClassRunner; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index 78c64892508..be50faa89e0 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -45,8 +45,8 @@ import org.htmlunit.javascript.host.html.HTMLCollection; import org.htmlunit.javascript.host.performance.Performance; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.junit.BrowserVersionClassRunner; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index c4f972f7971..0f8ff98bc32 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -44,8 +44,8 @@ import org.htmlunit.javascript.host.html.HTMLCollection; import org.htmlunit.javascript.host.performance.Performance; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.junit.BrowserVersionClassRunner; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; diff --git a/src/test/java/org/htmlunit/general/HostClassNameTest.java b/src/test/java/org/htmlunit/general/HostClassNameTest.java index d00c4345fa9..89f88ac4c32 100644 --- a/src/test/java/org/htmlunit/general/HostClassNameTest.java +++ b/src/test/java/org/htmlunit/general/HostClassNameTest.java @@ -30,9 +30,9 @@ import org.htmlunit.javascript.host.css.MediaList; import org.htmlunit.javascript.host.css.StyleSheetList; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.AlertsStandards; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.AlertsStandards; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.w3c.dom.css.CSS2Properties; diff --git a/src/test/java/org/htmlunit/general/HostConstructorTest.java b/src/test/java/org/htmlunit/general/HostConstructorTest.java index f0b29a93d5e..5229efb28d7 100644 --- a/src/test/java/org/htmlunit/general/HostConstructorTest.java +++ b/src/test/java/org/htmlunit/general/HostConstructorTest.java @@ -25,7 +25,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/HostTypeOfTest.java b/src/test/java/org/htmlunit/general/HostTypeOfTest.java index b96d007af34..2ab79f9d7dd 100644 --- a/src/test/java/org/htmlunit/general/HostTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/HostTypeOfTest.java @@ -19,8 +19,8 @@ import org.htmlunit.javascript.host.css.CSSStyleRule; import org.htmlunit.javascript.host.css.CSSStyleSheet; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java b/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java index d88500d9a63..ec55357d316 100644 --- a/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java +++ b/src/test/java/org/htmlunit/general/huge/ElementClosesElementTest.java @@ -24,8 +24,8 @@ import org.htmlunit.html.DefaultElementFactory; import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOf.java b/src/test/java/org/htmlunit/general/huge/HostParentOf.java index 2a54d7a2969..b613c91a0da 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOf.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOf.java @@ -24,7 +24,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserParameterizedRunner.Default; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.After; import org.junit.Test; import org.junit.runners.Parameterized.Parameter; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java index 6b5dfd3f307..7bde3ff4508 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfATest.java @@ -17,8 +17,8 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java index 59cd7396530..79135e439c6 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfBTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java index 9f39fe72759..7c72ec953d7 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfCTest.java @@ -17,8 +17,8 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java index e123b4f7cbe..f708116b521 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfDTest.java @@ -17,8 +17,8 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java index f177b9ba884..59d4449c74b 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfFTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java index 36e0f1fe6fb..665a5f01ef7 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfHTest.java @@ -17,8 +17,8 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java index 3c900faa803..cad8052c7d8 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfITest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java index 4ff30fdc873..8ffdad8e860 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfMTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java index d08321164db..90c7b4deb7e 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfNTest.java @@ -17,8 +17,8 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java index 22cbdaf439b..8cdbcb7f9df 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfPTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java b/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java index 2675682f136..6a84794588d 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfS2Test.java @@ -18,8 +18,8 @@ import org.apache.commons.lang3.StringUtils; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java index b63aa496ced..e073009708a 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfSTest.java @@ -18,7 +18,7 @@ import org.apache.commons.lang3.StringUtils; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java index c171190c1bb..0594b18fc33 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfTTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java b/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java index 14dce99d11b..be977b4ba25 100644 --- a/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java +++ b/src/test/java/org/htmlunit/general/huge/HostParentOfWTest.java @@ -17,7 +17,7 @@ import java.util.Collection; import org.htmlunit.junit.BrowserParameterizedRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized.Parameters; diff --git a/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java b/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java index ba568a8c5b5..f148ea22ea1 100644 --- a/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java +++ b/src/test/java/org/htmlunit/html/BaseFrameElement2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/ClickableElement2Test.java b/src/test/java/org/htmlunit/html/ClickableElement2Test.java index d2d4d341023..766bb65d841 100644 --- a/src/test/java/org/htmlunit/html/ClickableElement2Test.java +++ b/src/test/java/org/htmlunit/html/ClickableElement2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/ClickableElementTest.java b/src/test/java/org/htmlunit/html/ClickableElementTest.java index 21c9f527757..90c7bda5332 100644 --- a/src/test/java/org/htmlunit/html/ClickableElementTest.java +++ b/src/test/java/org/htmlunit/html/ClickableElementTest.java @@ -22,8 +22,8 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java b/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java index e5050d5f60e..53bbf491eaf 100644 --- a/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java +++ b/src/test/java/org/htmlunit/html/DomDocumentFragmentTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/DomElementTest.java b/src/test/java/org/htmlunit/html/DomElementTest.java index cd08989eb0a..c536c8319e5 100644 --- a/src/test/java/org/htmlunit/html/DomElementTest.java +++ b/src/test/java/org/htmlunit/html/DomElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index f8adf3303b6..e1a7f969924 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/DomNodeTest.java b/src/test/java/org/htmlunit/html/DomNodeTest.java index c4d83cb9e8d..3916fc8a99b 100644 --- a/src/test/java/org/htmlunit/html/DomNodeTest.java +++ b/src/test/java/org/htmlunit/html/DomNodeTest.java @@ -24,7 +24,7 @@ import org.htmlunit.WebClient; import org.htmlunit.html.DomNode.DescendantHtmlElementsIterator; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.xml.XmlPage; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/FocusableElement2Test.java b/src/test/java/org/htmlunit/html/FocusableElement2Test.java index e89ec6b7883..b076cbc49cc 100644 --- a/src/test/java/org/htmlunit/html/FocusableElement2Test.java +++ b/src/test/java/org/htmlunit/html/FocusableElement2Test.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java b/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java index 2d59a3aa980..71c8898f637 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchor2Test.java @@ -40,7 +40,7 @@ import org.htmlunit.WebWindow; import org.htmlunit.attachment.AttachmentHandler; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java index f786c9f6ce8..b894686be0e 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java @@ -29,9 +29,9 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlAreaTest.java b/src/test/java/org/htmlunit/html/HtmlAreaTest.java index 4938fe05a63..81c6dd9f14e 100644 --- a/src/test/java/org/htmlunit/html/HtmlAreaTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAreaTest.java @@ -24,8 +24,8 @@ import org.htmlunit.Page; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java b/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java index a5953fb7f74..fe8b0f1afcc 100644 --- a/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBackgroundSoundTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java b/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java index 67f68d886ee..a651b089aa6 100644 --- a/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBaseFontTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlBaseTest.java b/src/test/java/org/htmlunit/html/HtmlBaseTest.java index 4921e957ee5..2411a00712b 100644 --- a/src/test/java/org/htmlunit/html/HtmlBaseTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBaseTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlBodyTest.java b/src/test/java/org/htmlunit/html/HtmlBodyTest.java index 8c7d977d658..ea7e092ea97 100644 --- a/src/test/java/org/htmlunit/html/HtmlBodyTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBodyTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlBreakTest.java b/src/test/java/org/htmlunit/html/HtmlBreakTest.java index 9339cd4d261..c08ad7eb952 100644 --- a/src/test/java/org/htmlunit/html/HtmlBreakTest.java +++ b/src/test/java/org/htmlunit/html/HtmlBreakTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlButton2Test.java b/src/test/java/org/htmlunit/html/HtmlButton2Test.java index 0323c0ba96a..54442516d39 100644 --- a/src/test/java/org/htmlunit/html/HtmlButton2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlButton2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.NameValuePair; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java b/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java index 9783deb3d6b..f4924ecbde9 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java b/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java index 4a5b4e982cf..74be629a11b 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonInputTest.java @@ -19,7 +19,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlButtonTest.java b/src/test/java/org/htmlunit/html/HtmlButtonTest.java index 5f124a8d59b..f6f8b1ae1a9 100644 --- a/src/test/java/org/htmlunit/html/HtmlButtonTest.java +++ b/src/test/java/org/htmlunit/html/HtmlButtonTest.java @@ -20,7 +20,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.NameValuePair; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlCanvasTest.java b/src/test/java/org/htmlunit/html/HtmlCanvasTest.java index 7129356d6a6..53da8e4a8d2 100644 --- a/src/test/java/org/htmlunit/html/HtmlCanvasTest.java +++ b/src/test/java/org/htmlunit/html/HtmlCanvasTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlCaptionTest.java b/src/test/java/org/htmlunit/html/HtmlCaptionTest.java index 37988eb1de6..765b5d24775 100644 --- a/src/test/java/org/htmlunit/html/HtmlCaptionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlCaptionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java index d7df1d3aa0d..aa28a091673 100644 --- a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java b/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java index fe44d154565..23eb208f6b5 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java index 161b0726ddb..4caa65c0496 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java index c01cc124c16..4a8ff16c887 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java index 630b5ebc8e3..3814b051a82 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java index 9f42f954aea..24393e2fb7a 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java b/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java index f71b647974a..b5084391605 100644 --- a/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDefinitionListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java b/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java index 41003d509d0..01ec729e60f 100644 --- a/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDirectoryTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlDivision2Test.java b/src/test/java/org/htmlunit/html/HtmlDivision2Test.java index 0aa770b8bfb..31f25cadd47 100644 --- a/src/test/java/org/htmlunit/html/HtmlDivision2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlDivision2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlElement2Test.java b/src/test/java/org/htmlunit/html/HtmlElement2Test.java index 3802ad48c21..7bd60951eee 100644 --- a/src/test/java/org/htmlunit/html/HtmlElement2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlElement2Test.java @@ -21,9 +21,9 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlElementTest.java b/src/test/java/org/htmlunit/html/HtmlElementTest.java index 2d256365e42..9d1e42e676f 100644 --- a/src/test/java/org/htmlunit/html/HtmlElementTest.java +++ b/src/test/java/org/htmlunit/html/HtmlElementTest.java @@ -22,7 +22,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.w3c.dom.NodeList; diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java b/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java index 844b2ba64fb..b4100754e7d 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInput2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.javascript.host.event.KeyboardEvent; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java index aed9958423c..8df3784eae4 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlEmbedTest.java b/src/test/java/org/htmlunit/html/HtmlEmbedTest.java index fd9e7caaf44..e8252ff6ec8 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmbedTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmbedTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java index 684fa07b02e..4fef865d2aa 100644 --- a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java b/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java index 5417af95412..bfa3b41a22a 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInput2Test.java @@ -51,7 +51,7 @@ import org.htmlunit.WebRequest; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.KeyDataPair; import org.htmlunit.util.MimeType; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java b/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java index 70161324a4a..8988d424111 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInput3Test.java @@ -34,7 +34,7 @@ import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java index 5e2944083e6..63922a182d8 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java @@ -23,8 +23,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebRequest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.Retry; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.Retry; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlFontTest.java b/src/test/java/org/htmlunit/html/HtmlFontTest.java index 528f93ffc26..c513ec1422c 100644 --- a/src/test/java/org/htmlunit/html/HtmlFontTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFontTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index 852798025be..72bb9960fdb 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -40,8 +40,8 @@ import org.htmlunit.WebClient; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.htmlunit.util.UrlUtils; diff --git a/src/test/java/org/htmlunit/html/HtmlFormTest.java b/src/test/java/org/htmlunit/html/HtmlFormTest.java index 4b3d707eae9..241a8605fe1 100644 --- a/src/test/java/org/htmlunit/html/HtmlFormTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFormTest.java @@ -32,7 +32,7 @@ import org.htmlunit.WebRequest; import org.htmlunit.WebWindow; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlFrame2Test.java index f279c9d647f..b7232495a6d 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlFrame2Test.java @@ -19,9 +19,9 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java b/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java index 2b4c8924be8..6c144cffb4e 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFrameSetTest.java @@ -26,7 +26,7 @@ import org.htmlunit.WebClient; import org.htmlunit.WebWindow; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlFrameTest.java b/src/test/java/org/htmlunit/html/HtmlFrameTest.java index 1fd3b7070f8..968e8e858b2 100644 --- a/src/test/java/org/htmlunit/html/HtmlFrameTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFrameTest.java @@ -27,7 +27,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlHeadTest.java b/src/test/java/org/htmlunit/html/HtmlHeadTest.java index b585ede1932..5624d7a7cd8 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeadTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHeadTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java index 098668d6aea..c9abe571c41 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java b/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java index 1912f60f464..615aab476e3 100644 --- a/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHiddenInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java b/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java index f229ff56fd8..1020d49e2b3 100644 --- a/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java +++ b/src/test/java/org/htmlunit/html/HtmlHorizontalRuleTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlImage2Test.java b/src/test/java/org/htmlunit/html/HtmlImage2Test.java index ad7a8e84c54..3c54c7d920f 100644 --- a/src/test/java/org/htmlunit/html/HtmlImage2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlImage2Test.java @@ -14,8 +14,8 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import java.io.InputStream; import java.net.URL; @@ -24,8 +24,8 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java b/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java index 0023a0ef021..973d3b73992 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlImageInput2Test.java @@ -27,7 +27,7 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.NameValuePair; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlImageInputTest.java b/src/test/java/org/htmlunit/html/HtmlImageInputTest.java index e6d1b556242..ca065308ba2 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlImageInputTest.java @@ -14,8 +14,8 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import java.io.InputStream; import java.net.URL; @@ -24,9 +24,9 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlImageTest.java b/src/test/java/org/htmlunit/html/HtmlImageTest.java index 591df83c678..ac66c7daac3 100644 --- a/src/test/java/org/htmlunit/html/HtmlImageTest.java +++ b/src/test/java/org/htmlunit/html/HtmlImageTest.java @@ -24,7 +24,7 @@ import org.htmlunit.Page; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java index b7e0bb9f156..3dcb5792ae5 100644 --- a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java @@ -14,8 +14,8 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import java.io.File; import java.net.URL; @@ -25,9 +25,9 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index 4a57679d211..128be9056d3 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -20,8 +20,8 @@ import org.apache.commons.lang3.StringUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlInput3Test.java b/src/test/java/org/htmlunit/html/HtmlInput3Test.java index 04626fcbff2..76a8b71625a 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput3Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java b/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java index 88dea6e1b09..d2ee05dec57 100644 --- a/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java +++ b/src/test/java/org/htmlunit/html/HtmlInsertedTextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java b/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java index 28ce752fb7c..88dad2a9df9 100644 --- a/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlIsIndex2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlLabelTest.java b/src/test/java/org/htmlunit/html/HtmlLabelTest.java index 4937c39b74e..733826b4636 100644 --- a/src/test/java/org/htmlunit/html/HtmlLabelTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLabelTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlLegendTest.java b/src/test/java/org/htmlunit/html/HtmlLegendTest.java index 62c8110f146..d30d330574b 100644 --- a/src/test/java/org/htmlunit/html/HtmlLegendTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLegendTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlLink2Test.java b/src/test/java/org/htmlunit/html/HtmlLink2Test.java index 08d16edb381..77f05d0c143 100644 --- a/src/test/java/org/htmlunit/html/HtmlLink2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlLink2Test.java @@ -28,7 +28,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebResponse; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlLinkTest.java b/src/test/java/org/htmlunit/html/HtmlLinkTest.java index 87410d347bf..105ce749720 100644 --- a/src/test/java/org/htmlunit/html/HtmlLinkTest.java +++ b/src/test/java/org/htmlunit/html/HtmlLinkTest.java @@ -18,7 +18,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlListItemTest.java b/src/test/java/org/htmlunit/html/HtmlListItemTest.java index 01e42efdc67..9fa4ab0ea6e 100644 --- a/src/test/java/org/htmlunit/html/HtmlListItemTest.java +++ b/src/test/java/org/htmlunit/html/HtmlListItemTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlMapTest.java b/src/test/java/org/htmlunit/html/HtmlMapTest.java index ce6530ca6cc..8e32daf8087 100644 --- a/src/test/java/org/htmlunit/html/HtmlMapTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMapTest.java @@ -23,8 +23,8 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlMenuTest.java b/src/test/java/org/htmlunit/html/HtmlMenuTest.java index cd7e834d893..d09b1899358 100644 --- a/src/test/java/org/htmlunit/html/HtmlMenuTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMenuTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlMetaTest.java b/src/test/java/org/htmlunit/html/HtmlMetaTest.java index b084b1e310b..5d775b91f37 100644 --- a/src/test/java/org/htmlunit/html/HtmlMetaTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMetaTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlModificationTest.java b/src/test/java/org/htmlunit/html/HtmlModificationTest.java index 6ced588d148..88debda5459 100644 --- a/src/test/java/org/htmlunit/html/HtmlModificationTest.java +++ b/src/test/java/org/htmlunit/html/HtmlModificationTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java b/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java index b2b3f89f5f8..3ac1d5abe6d 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInput2Test.java @@ -14,12 +14,12 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index a0e7d401193..1dd160dbe11 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -14,13 +14,13 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java b/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java index f4c12a26b89..6437e39a90f 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNoFrames2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java b/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java index e99f48ac6c9..4d2eafa962a 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNoScript2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java b/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java index 95f6184edfd..e4f268b8ded 100644 --- a/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNoScriptTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java b/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java index 9d0f32b1e4c..ce76e07cd24 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInput2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.javascript.host.event.KeyboardEvent; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java index 54f81f9ce44..bd26aaa7fdc 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java @@ -20,8 +20,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlObject2Test.java b/src/test/java/org/htmlunit/html/HtmlObject2Test.java index f4e7e6923c9..251565d8f44 100644 --- a/src/test/java/org/htmlunit/html/HtmlObject2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlObject2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlObjectTest.java b/src/test/java/org/htmlunit/html/HtmlObjectTest.java index 09b463ee397..f013bda7bad 100644 --- a/src/test/java/org/htmlunit/html/HtmlObjectTest.java +++ b/src/test/java/org/htmlunit/html/HtmlObjectTest.java @@ -22,7 +22,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlOption2Test.java b/src/test/java/org/htmlunit/html/HtmlOption2Test.java index 7f4880df13e..bfebe5cc2fc 100644 --- a/src/test/java/org/htmlunit/html/HtmlOption2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOption2Test.java @@ -19,9 +19,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java b/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java index 421ff530ceb..4d6f619f045 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionGroup2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java b/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java index 428468f12a0..7ceefda8a02 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionGroupTest.java @@ -16,7 +16,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlOptionTest.java b/src/test/java/org/htmlunit/html/HtmlOptionTest.java index c0444128026..f2785add345 100644 --- a/src/test/java/org/htmlunit/html/HtmlOptionTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOptionTest.java @@ -18,7 +18,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java b/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java index 80092c7ef47..d4447de5f7f 100644 --- a/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOrderedList2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlOutputTest.java b/src/test/java/org/htmlunit/html/HtmlOutputTest.java index 84156b05ebc..ed3ffdd520b 100644 --- a/src/test/java/org/htmlunit/html/HtmlOutputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOutputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlPage2Test.java b/src/test/java/org/htmlunit/html/HtmlPage2Test.java index 929497c52c2..e807096fb89 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage2Test.java @@ -33,7 +33,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Rule; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlPage3Test.java b/src/test/java/org/htmlunit/html/HtmlPage3Test.java index 82e3ac28cf1..6e4d2f45d46 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage3Test.java @@ -15,8 +15,8 @@ package org.htmlunit.html; import static java.nio.charset.StandardCharsets.ISO_8859_1; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.net.URL; import java.util.List; @@ -25,8 +25,8 @@ import org.htmlunit.HttpHeader; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlPage4Test.java b/src/test/java/org/htmlunit/html/HtmlPage4Test.java index 1803ea5b17b..7d337aebbb8 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage4Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage4Test.java @@ -31,7 +31,7 @@ import org.htmlunit.WebClient; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.ServletContentWrapper; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlPageTest.java b/src/test/java/org/htmlunit/html/HtmlPageTest.java index 224a5bfed72..37bfb5cb2a0 100644 --- a/src/test/java/org/htmlunit/html/HtmlPageTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPageTest.java @@ -50,7 +50,7 @@ import org.htmlunit.WebResponse; import org.htmlunit.html.HtmlElementTest.HtmlAttributeChangeListenerTestImpl; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.Cookie; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; diff --git a/src/test/java/org/htmlunit/html/HtmlPageTest5.java b/src/test/java/org/htmlunit/html/HtmlPageTest5.java index d897b484381..8d44ea29644 100644 --- a/src/test/java/org/htmlunit/html/HtmlPageTest5.java +++ b/src/test/java/org/htmlunit/html/HtmlPageTest5.java @@ -19,7 +19,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlParameterTest.java b/src/test/java/org/htmlunit/html/HtmlParameterTest.java index 6c0a2c85592..1131c4bd555 100644 --- a/src/test/java/org/htmlunit/html/HtmlParameterTest.java +++ b/src/test/java/org/htmlunit/html/HtmlParameterTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java b/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java index 9c4a016a5b4..7bcd6ba8003 100644 --- a/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPasswordInput2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.javascript.host.event.KeyboardEvent; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java index a87f1e5622b..d0b5e255a36 100644 --- a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java @@ -20,7 +20,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java b/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java index c030769b28c..ae251e622f2 100644 --- a/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPreformattedTextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlProgressTest.java b/src/test/java/org/htmlunit/html/HtmlProgressTest.java index 4bddc52e48e..ba0377f92f8 100644 --- a/src/test/java/org/htmlunit/html/HtmlProgressTest.java +++ b/src/test/java/org/htmlunit/html/HtmlProgressTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlQuoteTest.java b/src/test/java/org/htmlunit/html/HtmlQuoteTest.java index 801ed193bf9..5ea8e06386f 100644 --- a/src/test/java/org/htmlunit/html/HtmlQuoteTest.java +++ b/src/test/java/org/htmlunit/html/HtmlQuoteTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java index 0e01a109f30..537914829fa 100644 --- a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java b/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java index d0e83034434..c0a23793d27 100644 --- a/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRadioButtonInputTest.java @@ -21,7 +21,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java index 2144753060d..10febc6c4eb 100644 --- a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlRbTest.java b/src/test/java/org/htmlunit/html/HtmlRbTest.java index e0063b4a0e0..96ea589e3a0 100644 --- a/src/test/java/org/htmlunit/html/HtmlRbTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRbTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java index 2b50168eb15..6702734e535 100644 --- a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlRpTest.java b/src/test/java/org/htmlunit/html/HtmlRpTest.java index f2975977288..70f116f1078 100644 --- a/src/test/java/org/htmlunit/html/HtmlRpTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRpTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlRtTest.java b/src/test/java/org/htmlunit/html/HtmlRtTest.java index 02a37ca9035..8f946b3e94d 100644 --- a/src/test/java/org/htmlunit/html/HtmlRtTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRtTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlRtcTest.java b/src/test/java/org/htmlunit/html/HtmlRtcTest.java index f6afc8bd9a3..ad15d5b015a 100644 --- a/src/test/java/org/htmlunit/html/HtmlRtcTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRtcTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index 9b5db8db5a5..795bac75e62 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -26,8 +26,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.http.HttpStatus; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlScriptTest.java b/src/test/java/org/htmlunit/html/HtmlScriptTest.java index 4c5f464269c..c901b9f1ace 100644 --- a/src/test/java/org/htmlunit/html/HtmlScriptTest.java +++ b/src/test/java/org/htmlunit/html/HtmlScriptTest.java @@ -26,7 +26,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java b/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java index 81dd046ac9e..7930ff80e24 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java index 7907fb13231..eee276e87f4 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlSelect2Test.java b/src/test/java/org/htmlunit/html/HtmlSelect2Test.java index 5f62f8c07e7..a336615dcf1 100644 --- a/src/test/java/org/htmlunit/html/HtmlSelect2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSelect2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlSlotTest.java b/src/test/java/org/htmlunit/html/HtmlSlotTest.java index 8618b7436b9..ae945e45504 100644 --- a/src/test/java/org/htmlunit/html/HtmlSlotTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSlotTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlSpan2Test.java b/src/test/java/org/htmlunit/html/HtmlSpan2Test.java index 878f5b90ccc..db48fe0ecfa 100644 --- a/src/test/java/org/htmlunit/html/HtmlSpan2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSpan2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlStyle2Test.java b/src/test/java/org/htmlunit/html/HtmlStyle2Test.java index ee4f2a09337..a91d73b49b9 100644 --- a/src/test/java/org/htmlunit/html/HtmlStyle2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlStyle2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java b/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java index a38baff8460..9de8074054d 100644 --- a/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlSubmitInput2Test.java @@ -19,7 +19,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java b/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java index 5abac0b4d8e..c0111f0e7a7 100644 --- a/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSubmitInputTest.java @@ -22,7 +22,7 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.NameValuePair; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlSvgTest.java b/src/test/java/org/htmlunit/html/HtmlSvgTest.java index b0b18a2a821..b08b5f80afc 100644 --- a/src/test/java/org/htmlunit/html/HtmlSvgTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSvgTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlTable2Test.java b/src/test/java/org/htmlunit/html/HtmlTable2Test.java index 55481511d27..beeb664bd80 100644 --- a/src/test/java/org/htmlunit/html/HtmlTable2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTable2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlTableCellTest.java b/src/test/java/org/htmlunit/html/HtmlTableCellTest.java index 87ae90835d8..9b53b241694 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableCellTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableCellTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java b/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java index 409f79ce7c7..107208d55ad 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableColumnTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlTableRowTest.java b/src/test/java/org/htmlunit/html/HtmlTableRowTest.java index c433e39b4be..337d30bc598 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableRowTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTableRowTest.java @@ -18,7 +18,7 @@ import org.htmlunit.corejs.javascript.ScriptableObject; import org.htmlunit.javascript.host.html.HTMLElement; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java b/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java index f6a69d0cb8f..a900919ba0f 100644 --- a/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTableSection2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java b/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java index 05a2c4a9c3c..5bd2a6e1063 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java index cf3e1a52ba8..85bdb0b8694 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlTemplateTest.java b/src/test/java/org/htmlunit/html/HtmlTemplateTest.java index 9db88a5595d..fdfcd13d85d 100644 --- a/src/test/java/org/htmlunit/html/HtmlTemplateTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTemplateTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java b/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java index 4fc0a701c8c..17bd15a24f7 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTextArea2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java b/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java index 03d41d31aa5..21c81745977 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTextInput2Test.java @@ -24,7 +24,7 @@ import org.htmlunit.WebClient; import org.htmlunit.javascript.host.event.KeyboardEvent; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.platform.AwtClipboardHandler; import org.junit.Assume; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java index aebfae21a52..ec196b720ea 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java @@ -23,7 +23,7 @@ import org.apache.commons.lang3.ArrayUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Assume; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java index 4f3d5b401f5..048888cb022 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java @@ -16,9 +16,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlTitle2Test.java b/src/test/java/org/htmlunit/html/HtmlTitle2Test.java index 147bc3b682d..7f033c16251 100644 --- a/src/test/java/org/htmlunit/html/HtmlTitle2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlTitle2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlTitleTest.java b/src/test/java/org/htmlunit/html/HtmlTitleTest.java index 701ee167399..f8eb3bec5aa 100644 --- a/src/test/java/org/htmlunit/html/HtmlTitleTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTitleTest.java @@ -17,7 +17,7 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java b/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java index b07af17a843..3a7b0aca4ac 100644 --- a/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUnknownElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java b/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java index 42bc2d78453..6480a2a1799 100644 --- a/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUnorderedListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java index 95bd94f7112..48947b91265 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInput2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index f4fcf86404c..8071a6faef6 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java b/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java index 1bb0770989c..aa8b08d07a5 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInput2Test.java @@ -14,12 +14,12 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java index ac54144d6a4..fa0b58c014d 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java @@ -14,13 +14,13 @@ */ package org.htmlunit.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java b/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java index aba1e474a5f..3b57cad5228 100644 --- a/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWordBreakTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java b/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java index 1bc51c7843e..619e53fccc1 100644 --- a/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java +++ b/src/test/java/org/htmlunit/html/IEConditionalCommentExpressionEvaluatorTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java b/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java index a75d66f16e2..938131a4d13 100644 --- a/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java +++ b/src/test/java/org/htmlunit/html/IEConditionalCommentsTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java index 3b077e22426..f2ac03245a8 100644 --- a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java +++ b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java @@ -18,8 +18,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java index 1dfce08c327..288e18ba3e2 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java index d6111d66828..0c734736516 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java @@ -17,9 +17,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java index 031f417c852..7bc816a6df8 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser5Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.JavascriptExecutor; diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java index fa7125f7332..6282c45a381 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java index 58b6a07769e..1820ffe1cf8 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java index 4663120b319..7f843e1da51 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText2Test.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java index e56f194051c..dbb494166f9 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java @@ -22,7 +22,7 @@ import org.htmlunit.html.HtmlTable; import org.htmlunit.html.HtmlTableCell; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java index 213158f4501..bec3f3a5545 100644 --- a/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java +++ b/src/test/java/org/htmlunit/html/serializer/HtmlSerializerVisibleText2Test.java @@ -21,8 +21,8 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.serializer.HtmlSerializerVisibleText.HtmlSerializerTextBuilder; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.xml.XmlPage; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index 5e7b5b4beb6..f2968a4e618 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/ArgumentsTest.java b/src/test/java/org/htmlunit/javascript/ArgumentsTest.java index 18793e6cfef..4b3161c8501 100644 --- a/src/test/java/org/htmlunit/javascript/ArgumentsTest.java +++ b/src/test/java/org/htmlunit/javascript/ArgumentsTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java b/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java index f260b803b2f..d691ef4d51f 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsRestParametersTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/FunctionsTest.java b/src/test/java/org/htmlunit/javascript/FunctionsTest.java index a6050f92a79..ed8c9ad6bf4 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java b/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java index cc5311f897e..fc601c11061 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsWrapper2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.Page; import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java b/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java index c89e2c63859..3af3a524505 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsWrapperTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java b/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java index f7d524f8ed1..6df102bfea2 100644 --- a/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/GlobalFunctionsTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java index 3150df7c2a3..24817952297 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java index 3e6b37b9372..678b4d62b69 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptableTest.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java b/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java index b2da952f84f..8a3374adc44 100644 --- a/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java +++ b/src/test/java/org/htmlunit/javascript/IEConditionalCompilationTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/IteratorTest.java b/src/test/java/org/htmlunit/javascript/IteratorTest.java index 00c92bff6da..6ea50fb0cf5 100644 --- a/src/test/java/org/htmlunit/javascript/IteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/IteratorTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 6da8ed135c3..09acb93a062 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -18,9 +18,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java index 59eded705db..db6bebfba15 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java @@ -50,8 +50,8 @@ import org.htmlunit.html.HtmlScript; import org.htmlunit.html.HtmlTextInput; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.Retry; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.Retry; import org.htmlunit.util.NameValuePair; import org.htmlunit.util.UrlUtils; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/NativeArrayTest.java b/src/test/java/org/htmlunit/javascript/NativeArrayTest.java index 68254f82dab..420e95a4ffe 100644 --- a/src/test/java/org/htmlunit/javascript/NativeArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeArrayTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java index 4a94eac3801..8875af661b7 100644 --- a/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeBigIntTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java index 58cc19ed083..64840aa22e9 100644 --- a/src/test/java/org/htmlunit/javascript/NativeDate2Test.java +++ b/src/test/java/org/htmlunit/javascript/NativeDate2Test.java @@ -19,9 +19,9 @@ import org.htmlunit.BrowserVersion; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeDateTest.java b/src/test/java/org/htmlunit/javascript/NativeDateTest.java index 9c64a38d77b..005e8dc2777 100644 --- a/src/test/java/org/htmlunit/javascript/NativeDateTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeDateTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java index 199d0e14236..2814cc2ce23 100644 --- a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java index 24613764643..71517898d58 100644 --- a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java b/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java index 379bfa1eb50..3cfdc37dc49 100644 --- a/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeGlobalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java index a4cd91edf04..311b29f96fd 100644 --- a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeMapTest.java b/src/test/java/org/htmlunit/javascript/NativeMapTest.java index 041b2517656..cf571495b65 100644 --- a/src/test/java/org/htmlunit/javascript/NativeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeMapTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java index a45f86426e1..58e2c4b8e90 100644 --- a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java index 314db3efd51..877f2766a12 100644 --- a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java b/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java index 4c86b45507b..774d39ed184 100644 --- a/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeRegExpTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeStringTest.java b/src/test/java/org/htmlunit/javascript/NativeStringTest.java index 78e7d4caa48..94db5c3470a 100644 --- a/src/test/java/org/htmlunit/javascript/NativeStringTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeStringTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java b/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java index 4e601057204..bd90ddcc354 100644 --- a/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeTypedArrayTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/PostponedActionTest.java b/src/test/java/org/htmlunit/javascript/PostponedActionTest.java index 5310e522cdc..bf0a72519d3 100644 --- a/src/test/java/org/htmlunit/javascript/PostponedActionTest.java +++ b/src/test/java/org/htmlunit/javascript/PostponedActionTest.java @@ -19,7 +19,7 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/RhinoTest.java b/src/test/java/org/htmlunit/javascript/RhinoTest.java index d734871bba1..27901e953d5 100644 --- a/src/test/java/org/htmlunit/javascript/RhinoTest.java +++ b/src/test/java/org/htmlunit/javascript/RhinoTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java b/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java index 10f7c5a2910..71d96c11451 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptRuntimeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java index 6ec3be85590..fc5f91a269a 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java @@ -16,9 +16,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java index be7e0fc9b1b..157268a2c15 100644 --- a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java b/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java index 6c17b747987..ac5266cc892 100644 --- a/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ApplicationCacheTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java index 6bd88f762fc..2ba15278349 100644 --- a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java index 988f2b2a7b6..c7cb84792bb 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java index 63bd453127b..521272ecef8 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/Console2Test.java b/src/test/java/org/htmlunit/javascript/host/Console2Test.java index 49c813b4b4e..efac15ad0f8 100644 --- a/src/test/java/org/htmlunit/javascript/host/Console2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Console2Test.java @@ -22,7 +22,7 @@ import org.htmlunit.WebConsole; import org.htmlunit.WebConsole.Logger; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java index 8cea25c91f3..3fff6ccee83 100644 --- a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java @@ -18,8 +18,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index a572958b911..37fbbc39877 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -18,8 +18,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.javascript.host.xml.XMLDocumentTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java index f553b3e9a90..52ea2cd5884 100644 --- a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java b/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java index 802a872f1e2..c516af48c97 100644 --- a/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/FontFaceSetTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java b/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java index df4113755d4..ff01ccbce29 100644 --- a/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/FontFaceTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/History2Test.java b/src/test/java/org/htmlunit/javascript/host/History2Test.java index 15a5535f08e..14d7b3fe6c9 100644 --- a/src/test/java/org/htmlunit/javascript/host/History2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/History2Test.java @@ -22,8 +22,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.NameValuePair; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java b/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java index 0376edec62c..e902ca76736 100644 --- a/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/InstallTriggerTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/Location2Test.java b/src/test/java/org/htmlunit/javascript/host/Location2Test.java index 6a9c2faa23d..19c9a4f9765 100644 --- a/src/test/java/org/htmlunit/javascript/host/Location2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Location2Test.java @@ -23,9 +23,9 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/LocationTest.java b/src/test/java/org/htmlunit/javascript/host/LocationTest.java index 7e3531c5d2a..3037d842a7e 100644 --- a/src/test/java/org/htmlunit/javascript/host/LocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/LocationTest.java @@ -25,7 +25,7 @@ import org.htmlunit.html.HtmlAnchor; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/MapTest.java b/src/test/java/org/htmlunit/javascript/host/MapTest.java index 9d8a0303be2..b084733c06b 100644 --- a/src/test/java/org/htmlunit/javascript/host/MapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MapTest.java @@ -19,7 +19,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java b/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java index 9bfe01118ba..ae0a921a715 100644 --- a/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MessageChannelTest.java @@ -19,7 +19,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java b/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java index 49ff67777bd..a41184d3aab 100644 --- a/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MimeTypeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java index a04da015134..203400c263f 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.javascript.host.xml.XMLDocumentTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java b/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java index ca4f48dfb2d..7eac2df6440 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamespaceTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java index e32e450a94b..076ace7ca09 100644 --- a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java index 24dcbea4d7f..505b2830efe 100644 --- a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java index c46a978a92c..1ba683cf981 100644 --- a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/PluginTest.java b/src/test/java/org/htmlunit/javascript/host/PluginTest.java index 45651ca95fc..f544e021396 100644 --- a/src/test/java/org/htmlunit/javascript/host/PluginTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PluginTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java index 382d81a1955..ada9d4a8f97 100644 --- a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/PopupTest.java b/src/test/java/org/htmlunit/javascript/host/PopupTest.java index d9d23c7f95b..7705c90d21a 100644 --- a/src/test/java/org/htmlunit/javascript/host/PopupTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PopupTest.java @@ -23,7 +23,7 @@ import org.htmlunit.html.HtmlElement; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/PromiseTest.java b/src/test/java/org/htmlunit/javascript/host/PromiseTest.java index 18fe3ceaea2..8d6fe493b0e 100644 --- a/src/test/java/org/htmlunit/javascript/host/PromiseTest.java +++ b/src/test/java/org/htmlunit/javascript/host/PromiseTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.corejs.javascript.NativePromise; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java index 9cd0a1d0569..20c63d4880f 100644 --- a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java index 1b54d39f243..110ae69672a 100644 --- a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/SetTest.java b/src/test/java/org/htmlunit/javascript/host/SetTest.java index d1d9ecaf095..63bb6b57c4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/SetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SetTest.java @@ -19,7 +19,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/StorageTest.java b/src/test/java/org/htmlunit/javascript/host/StorageTest.java index aad2949a739..160672e5a20 100644 --- a/src/test/java/org/htmlunit/javascript/host/StorageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/StorageTest.java @@ -18,10 +18,10 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java index 47a36f9cf14..5c20b592b52 100644 --- a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index dbadf7f76c0..3bf22f762a0 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java index 41fb23c82b2..d65c4b5291a 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextEncoderTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java index de0304b8ae8..0825f00284c 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/URLTest.java b/src/test/java/org/htmlunit/javascript/host/URLTest.java index 69f627674b0..2d8b7195bf7 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLTest.java @@ -22,8 +22,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java index a60584dc3c2..e374bd47d14 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java b/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java index 9ced340dfde..b90b9d83eef 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakSetTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java index 6e06f4e1b9b..641311e6d9d 100644 --- a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java @@ -15,8 +15,8 @@ package org.htmlunit.javascript.host; import static java.nio.charset.StandardCharsets.UTF_16LE; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.io.IOException; import java.nio.ByteBuffer; @@ -33,9 +33,9 @@ import org.htmlunit.HttpHeader; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index a1855b32dd0..76fa974f05a 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.io.ByteArrayOutputStream; import java.io.File; @@ -28,9 +28,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 359b4647036..5151c2eb5bd 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -29,8 +29,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java b/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java index 8a86b1b411f..a747bd630e9 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowConcurrency2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java index fe44421c607..fa4b4e19b16 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowTest.java b/src/test/java/org/htmlunit/javascript/host/WindowTest.java index 8c3e51b2e32..e84211fbbfc 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowTest.java @@ -47,8 +47,8 @@ import org.htmlunit.html.HtmlInput; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java index 5b420607031..25bdeac53c6 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java index ed5570bb95c..b27ad1f2101 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java index bd274f424cb..47228fe6dc8 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java index 642c1393151..4f0a32cf628 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java index aaf7ddc1d91..002a6bc4185 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java index 6cec806d9ea..1bf3ad61881 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java index 224367e10cf..7789db9530e 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java index 44b97c02a39..ddd93d5eabb 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java index 7255f25981e..a2cb5256b63 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java @@ -14,13 +14,13 @@ */ package org.htmlunit.javascript.host.arrays; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java index 7fd4af09419..9237a635b26 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java index 9566a4443fa..e60ff09e4ce 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java index 1ad98eb2f25..57f85f55eaa 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java index 64696202015..5dc1cc20a57 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java index 3c399bb7c8d..d14a34e17b7 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasGradientTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index f25d33f0122..2cbd7789c50 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host.canvas; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import java.io.InputStream; import java.util.Collections; @@ -23,9 +23,9 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java index f4e76f6394b..5eff0110aef 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java index 56cc12ab57b..66cb62ffd84 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/IntersectionObserverTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 7b3658018c7..8e91ca1f983 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java index b22ba62c8d6..1a5c71e0b02 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java @@ -16,9 +16,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java index 24a22dd7375..0e3647a20d0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSCharsetRuleTest.java @@ -19,7 +19,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.cssparser.dom.CSSCharsetRuleImpl; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java index 8d723a2f594..4688b0e17f0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java index f973def88cd..5e6e79d6e8a 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java index 42f97e03b5b..fdefbadb3ef 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index 5156990b1c1..98334f4d9b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java index ef45ee309c0..31603f78a74 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java index 003ba14cec0..e80b9362eee 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java index 255ee69420a..e8645b3ccee 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelector2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index 9b313656ef4..b17ee276469 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -19,8 +19,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.UrlUtils; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java index 3f78df1df4c..2a14a9e6b9c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java @@ -18,8 +18,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java index 42393bafa9e..b91546a86e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration3Test.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index a9903f108d5..10fa291a1f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -32,9 +32,9 @@ import org.htmlunit.javascript.configuration.ClassConfiguration; import org.htmlunit.javascript.configuration.ClassConfiguration.PropertyInfo; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java index ebf2d286f26..d928cabf2af 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java index 0f24116ea27..77c69d3af09 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheet2Test.java @@ -34,7 +34,7 @@ import org.htmlunit.html.HtmlStyle; import org.htmlunit.javascript.host.html.HTMLStyleElement; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.w3c.dom.NodeList; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java index abd39ea7de6..b8cade4df11 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java @@ -24,7 +24,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java index 21ab5d14a2b..52e3be49f2c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index 7cdf5dd4bdd..331c303992c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host.css; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.io.InputStream; import java.net.URL; @@ -25,9 +25,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java index 992f44b4940..183f49ec20d 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedFontTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java b/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java index 6051f35cb8f..45e2a2488a3 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/MediaQueryListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java index 2ba6cc383d5..e84c98b122f 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleMediaTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index f9f08cd66e1..4ac52bd5913 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -20,8 +20,8 @@ import org.htmlunit.HttpHeader; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java index 1706e4ead9c..2764478c2ff 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java index 8a0843ee825..80ad6ba93a0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientWidthTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java index d1d83f710d3..779cead9170 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java @@ -16,9 +16,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java index 22d373c6f3b..90ec476657b 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 49433a6ea78..264a996e53b 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java index 69ff5e8e3bf..5e20636513a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java index c4ce4bb0c0b..45d66d98fe5 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CDATASectionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java index b9d77112353..b7a25a07af9 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java index 1e0abb2b5bf..f57ece94b3a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CommentTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index 73456a410b0..bcf31699401 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java index f289426ec65..460da7c3f9c 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java index 3b5545ddc49..ea40f25f527 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMMatrixTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index dda9b8311e8..d1ec6ef44a3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java index 304b161ef20..fe695aa2eb2 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMStringMapTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java index 2218302771a..0f32a0bd772 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 5e72ac847bb..68b291c8b8c 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -14,16 +14,16 @@ */ package org.htmlunit.javascript.host.dom; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.net.URL; import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java index e7e5c66c5c1..bfd61b471d4 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentFragmentTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index 1aec3dd15e7..22885157644 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -22,10 +22,10 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.Retry; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.Retry; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java index 7fa0848c010..a58fe43058a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTypeTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java index 288872b889d..e1efa8e45f6 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java index c8dfe307e50..0a928f41695 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java @@ -19,8 +19,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java index 532dfaf46a4..f0eb344e772 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java index 2b42851457c..6b6b12fabe5 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeIteratorTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java index cce6be53e1c..3e860df389d 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index d015daacca7..db3918a5dc6 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -23,8 +23,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java index 36c8b495c86..6865610b6d3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java index 828d2179e60..01959478c80 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java index 7b3edaa7c42..812903a96b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host.dom; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import java.util.ArrayList; import java.util.List; @@ -30,8 +30,8 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.impl.SimpleRange; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java index 3dabf45423e..12f94604927 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java index 034cd2a03cd..5bb8c20e3e5 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java index da30d01e13a..517dafcc261 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java index 4b93b730259..c8f9704eb98 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java index c47b2ee0f5a..d3673c0544b 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java index 6ac6007c9c5..099531d64dd 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathExpressionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java index 17eaf301a69..aee54932aec 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java index 50a4bd50111..ab16c904f21 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemListTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java index 4b98307198e..3033f3fca50 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java index 393b14571f0..af3803ebf50 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index f3e9379b32c..17b4a8d5639 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -18,8 +18,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.javascript.host.animations.AnimationEvent; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index b29349181f2..14f7b46066d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java index 7debe2e0218..83f197f04a1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java index 2fc9e195d25..6c6f62af499 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java @@ -20,7 +20,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java index 12fe58a27ed..055bf70d977 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java index e2e3234a9f9..4063ba3a547 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java index cbc6f019b4d..0373fc0b07e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java index c4798423b52..b0c243f0f6d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java index 7af638123da..535dececff5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java index 4ffda90db68..d01afb9e197 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java index 96161a89910..8013ab183c4 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java index 9721b14a035..f47002d3766 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java index 5fdd087a769..1a509ce66be 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java b/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java index e5400ca339a..7eb73b17c4f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/Event2Test.java @@ -17,9 +17,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java b/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java index 4fc2db1fe03..e29c1beb640 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/Event3Test.java @@ -26,8 +26,8 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.Keyboard; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java index 5373081786c..97bf73b31d9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventHandlerTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java index 932625141f8..c1e2e1f5d0e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java index 69b3772a30a..cb821233b81 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTargetTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index dc7e211b056..e64e201c964 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java index 6eb7f24771e..88f7cf20d15 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java index 3a444b5b7d9..3364fbb4441 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index 811aa058131..ca789e607ad 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java index cded8378a2c..dba97c3cda7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java index aadad026bb7..e4e57b82028 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEvent2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java index c7834919f7e..27dbb9ed27c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java @@ -19,9 +19,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index 7a23955a581..031ea543277 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java index a7c061f0eb5..e9dc2fffa0a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java index 170ee8afca3..2d9c1675c35 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java index eecbbb32a13..94be609960a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java index b4517820a9a..d3fb3912ae6 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java index c9198c2db28..f3950082ce8 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java index b39c354999c..920bede4499 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java @@ -14,14 +14,14 @@ */ package org.htmlunit.javascript.host.event; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java index e70db3aca08..0de54e878c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java index b702afb3429..127f4774bcc 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java index 600597109ea..72936c45b2c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java index 3d5a8a2e511..22db974c167 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java index affa7944490..e2c5843cc4a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java index 4602b9d24f0..e4eb7ff3a85 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java index 05fbc5d3db3..98d638dbef9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java index f51916b3ced..686009829ce 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java index 8204468d676..78ed51ea55a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java index 429c26b94b9..ad1fc361e22 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java index cddb72e7e11..409ff420ea9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java b/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java index f041f1543e3..dc9e5d41a13 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/BlobTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java index 4900cf96303..cc070b14b55 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileListTest.java @@ -22,7 +22,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java index e857875740e..402b6f23dce 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileReaderTest.java @@ -23,7 +23,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/file/FileTest.java b/src/test/java/org/htmlunit/javascript/host/file/FileTest.java index 0f20db72f3a..749a9e8505b 100644 --- a/src/test/java/org/htmlunit/javascript/host/file/FileTest.java +++ b/src/test/java/org/htmlunit/javascript/host/file/FileTest.java @@ -25,7 +25,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java index e057e1e9499..d7b705d7915 100644 --- a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java @@ -20,7 +20,7 @@ import org.htmlunit.WebClientOptions; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java index 98da9fc879a..f5938ba7b22 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java b/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java index 494dd469536..f889b6c4af9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/FormChildTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java index e9ebc6fcb86..a983913f98c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java index e8a6659e258..ff50e3b558e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java @@ -36,9 +36,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.UrlUtils; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java index 2ced7203041..43a337e3d2a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java index 1b61a19dcd8..407cbc1e476 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java index 88f8520757e..7b758afa1b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBRElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java index 06a4b12e5e7..d9ed5196c12 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java index 0e2b56fd1df..a8d371f57f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java index d8b59039962..d0e74b36aee 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java index 5a230d74600..41d250c0263 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java index 7e6b1d56e94..80b83bb3959 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java index 96b6ea1bbe3..6f59d6fc0f1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollection2Test.java @@ -25,7 +25,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java index ce7d04cb4e0..62e0d5d1158 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java index 4c65b442c5b..4b5e351611f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDDElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java index d3a8472a1b5..b743b140539 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlDefinitionList; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java index 43054550a72..25e937435a1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDTElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java index 77e37453b5f..ee627215c3c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDataElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java index 3a09f720df3..9da0f01b32c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDetailsElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java index 2ce99e625ff..6fe7200f511 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDialogElementTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java index f963b530812..b618837db9c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlDirectory; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java index 122c74072eb..cad370a77a0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java index c2c72082853..f492f4c9f69 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java @@ -27,7 +27,7 @@ import org.htmlunit.WebClient; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.Cookie; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java index f73dc2be644..7d31caad0a0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java @@ -34,9 +34,9 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java index e8ff70acfa6..06b37953f8a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java @@ -24,9 +24,9 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java index 2f47ad0741a..de2aa16d625 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java @@ -22,7 +22,7 @@ import org.htmlunit.html.FrameWindow; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java index 5d0e579db9a..fdd518c826c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java @@ -14,15 +14,15 @@ */ package org.htmlunit.javascript.host.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java index 77cee47d46a..1391ee5014b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement3Test.java @@ -26,7 +26,7 @@ import org.htmlunit.html.HtmlElement; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index ea51a33d3a2..c3cf6b1b30a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -14,17 +14,17 @@ */ package org.htmlunit.javascript.host.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.net.URL; import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java index 247b869ef7b..949d5139600 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java @@ -14,13 +14,13 @@ */ package org.htmlunit.javascript.host.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java index 419f0808fef..906f3afdb88 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java index 8f97ac79edc..125d09f0c64 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java index 3fe6b743e8d..8f7e0501794 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElement2Test.java @@ -25,7 +25,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlSubmitInput; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java index d5523521e52..83a621d8821 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java @@ -28,8 +28,8 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index d5daf9be118..cd20ab18909 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -21,8 +21,8 @@ import org.apache.commons.lang3.ArrayUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java index 4c7c6205491..1280da5472e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElementTest.java @@ -20,7 +20,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java index 24b14682994..6bac81a56f6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameSetElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java index d5f7f9a4dd2..1b8a86437dc 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java index a686f59e30d..888b6a668eb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java index 92c9c951c1e..1760e3944fb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlHtml; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java index 5e96dfaa81e..e3d462214d9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java @@ -18,8 +18,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java index 198c383e432..2f1154866f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java @@ -26,8 +26,8 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Ignore; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java index 41f843a061e..59e4e22fc23 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.io.File; import java.io.FileInputStream; @@ -30,10 +30,10 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java index 79188a0e3c6..889ef79c12a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElement2Test.java @@ -21,7 +21,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlTextInput; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java index 7ef5dd54d6c..d0ce852bed5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java @@ -22,8 +22,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java index 3139174095d..3b49dfa75ce 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIsIndexElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java index 565750c1ffc..ed28c48ad33 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java index 851d5eb8cab..2ab919bcfeb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java index d9f23a2fc6b..4cc246f0b34 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java index f3096424341..5f0c4be4671 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMapElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java index 83c4310db7f..baad77d5b8b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMarqueeElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java index a4e49c39c2b..6f61580e767 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java index 2e6cb80a259..b986500b5ec 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlMenu; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java index ceee3369786..a00fb71fcf6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMetaElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.HttpHeader; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java index 050e2dcc613..68f8e7dcf7f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMeterElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java index ead2bb094b3..2ad18dff025 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlOrderedList; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java index cf9efa9c05d..3c50bae6a7a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java index d8c0628a165..1233ff9d299 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java index e6864ca25cb..f48b252f30f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptGroupElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java index bf0924120a8..582b119f27d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java @@ -14,8 +14,8 @@ */ package org.htmlunit.javascript.host.html; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import java.util.LinkedList; import java.util.List; @@ -23,10 +23,10 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java index 63676ce21bf..63155d4126a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElementTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlSelect; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index 35c3bd3537a..29b769b22e6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java index a9f08124ab6..b352f085a52 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOutputElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java index 10ce900798c..e5b365c9138 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlParagraph; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java index dc4e1edf806..67ee54cbcfd 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParamElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java index fe74cfa3866..3fc5126ed9b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLPhraseElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java index 5e3c7cb91d9..22f9836f16b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLPreElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java index 29129b0e0a1..4dbce163df4 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLProgressElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java index 84fcbc4a2c0..183e44f25cf 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLQuoteElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java index 41a1fbac4a2..dc257908088 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java @@ -19,8 +19,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index c840ca87df2..071fb1ee76e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -20,8 +20,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java index b43ca48ee89..e481a1a2065 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSpanElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java index 5e8db81e896..b6ca8e00831 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLStyleElementTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java index 3e09ce14a28..2c7e297ad9d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java index 3dedf954458..fa1fd8305d1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java index 3cbb305a894..401e3fce754 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index bd3c9e3cab7..3f360aeb98a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 82efb5a1c03..15ae53dad91 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index 7e028260e56..bacc6f64b4e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java index 49f8f87cfc3..e03d4863a35 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java index 639569a8726..08664c13630 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java index 9e7c2a61b3b..4f5ef5adf50 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java index 67e468038ce..8589f656d44 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTimeElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java index 56492dc4add..bf550b9186a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTitleElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java index 8726c40c6b0..64ef13ecfc6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlUnorderedList; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java index 9f85a668559..7d3018033c1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java b/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java index cc9b1d518c7..3bf97af90ea 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/CollatorTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java index fde3c020e1a..0a5da391b40 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java @@ -14,17 +14,17 @@ */ package org.htmlunit.javascript.host.intl; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.apache.commons.lang3.CharUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.ComparisonFailure; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java index 20cb59df54b..f3626c1f6f1 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormatTest.java @@ -21,9 +21,9 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java index 15d3c0d5399..44cf427d386 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java index b4a9ee0dae3..387cb41471b 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.ComparisonFailure; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java index 90cb3fc9d39..4ec0020c52d 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormatTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java b/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java index 3a7c96b60e8..6ee1a9c6da8 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/V8BreakIteratorTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java index 0c6eeb60a39..e9ae58dd8d7 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java b/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java index 906a247cd44..d88bb3323c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/AudioParamTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java index 4b5c4fcd51d..7face56e0aa 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java b/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java index 5b434db83c3..d7ecf5f92a9 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/GainNodeTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java index 14429bff779..657f222afdd 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java index 91b9f567079..107e3ea98c2 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaSourceTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java index 9f3f7b3dd4a..dea1b1bacdb 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaStreamTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java index 0a638afa44e..fb94db33ce9 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java b/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java index 522e1eff963..c3b76953015 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/PeriodicSyncManagerTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java b/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java index a1767b87628..da8975e38c1 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/rtc/RTCPeerConnectionTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java b/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java index 8006516658d..e80022d01f5 100644 --- a/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/network/NetworkInformationTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java index a8689dfe04c..cc7337f31df 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceNavigationTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java index a664324fef1..74ef261a670 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java index d0eb3ac7483..33c09bb101f 100644 --- a/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java +++ b/src/test/java/org/htmlunit/javascript/host/performance/PerformanceTimingTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java index 0a8d633560e..f91e7131b04 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGAngleTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java index c7bb7636f09..b11a22fad29 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGPathElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java index c93340efd26..9c4e4b9f06b 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGSVGElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java index d55a4f19df7..4a66fa12005 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTSpanElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java index 7641df4e9f5..d3c5f7d5991 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java index 40e974cb737..679011662d2 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextContentElementTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java index c988ffd3290..662f64706d6 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java index 3b0cdee3143..33b3219b81a 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTextPathElementTest.java @@ -17,8 +17,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java index 418701f1038..fda0c8de35a 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java index 60d70343047..d8608b30cfd 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index 92e93e83a1d..d1aa6295085 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java index 6b7c9ae276c..ea6297be5dc 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java index 38f36383027..66fb9c851b9 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java @@ -38,8 +38,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java index 22f4d499891..556d3490df6 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java index f16cdea524e..b0c43cbd0e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument3Test.java @@ -25,7 +25,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java index dbbbb07cb90..84906f522cc 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java @@ -20,8 +20,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java index 861fcd57e7f..894892fa65f 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java @@ -45,8 +45,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.javascript.host.xml.XMLHttpRequestTest.BasicAuthenticationServlet; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Ignore; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java index caec9f0d505..76a179f41d4 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest3Test.java @@ -45,8 +45,8 @@ import org.htmlunit.html.HtmlSubmitInput; import org.htmlunit.javascript.host.xml.XMLHttpRequestTest.StreamingServlet; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java index ce60e79a38f..36ce3de9d97 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java @@ -22,7 +22,7 @@ import org.htmlunit.WebWindow; import org.htmlunit.html.HtmlPage; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java index 6f08291c039..c6846f56c58 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest5Test.java @@ -25,8 +25,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.NameValuePair; import org.junit.Assert; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java index 7de355bee11..70182f89271 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java @@ -33,7 +33,7 @@ import org.htmlunit.HttpHeader; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java index 407bc21db96..c409b598901 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java index 3a9b542de2a..6bf7c3d9116 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java @@ -38,8 +38,8 @@ import org.htmlunit.WebTestCase; import org.htmlunit.http.HttpStatus; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.Retry; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.Retry; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.After; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index e646b5caa69..d61e266b0d0 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -39,10 +39,10 @@ import org.htmlunit.WebRequest; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.BrowserRunner.Tries; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.Tries; import org.htmlunit.util.MimeType; import org.htmlunit.util.NameValuePair; import org.junit.ComparisonFailure; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java index 0b8ea40e654..9734d6a47d7 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLSerializerTest.java @@ -19,8 +19,8 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 1c059e5b239..2e276215964 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -19,8 +19,8 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java b/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java index 6792ccf720f..af8e0e23a23 100644 --- a/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java +++ b/src/test/java/org/htmlunit/javascript/polyfill/PolyfillTest.java @@ -18,7 +18,7 @@ import org.htmlunit.SimpleWebTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java index 6d37c9ba432..f6509e14840 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesStringFunctionsTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java index 85a117924b6..8b2927d5630 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyGlobalPropertiesTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java index b072f25639e..1e4a7529a3f 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyInstancePropertiesTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java index 3166de39d9d..e6ceedf10ab 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/HtmlUnitRegExpProxyTest.java @@ -19,7 +19,7 @@ import org.apache.commons.io.IOUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java index 45b4cf37bf9..a203edcb771 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpJsToJavaConverter2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlTextInput; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java index b556bb52f3c..6f66d452e90 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java @@ -16,8 +16,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java index f25fe64e41f..6b81d55b8b5 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AlphanumericTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java index e64c3f0ef0e..696914b41a4 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/AsteriskTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java index 0e8cafcb5eb..3e8f6ce555d 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackslashTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java index e61ee246cbc..e6466436521 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BackspaceTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java index abc48585b22..eb170d4c7ea 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/BeginLineTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java index 69c8d8299e7..2df6fd8ce9a 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CharacterClassTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java index a836d3797c0..91231a5811c 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/CompileTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java index dbb6646300e..9c43e5544bf 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DigitTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java index 9e0ede27b49..6e333950648 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/DotTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java index 444b6ae37f7..9280f4d12cc 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EndLineTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java index 1c39c93e2f2..3d6dbb520a1 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/EverythingTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java index 81963ef9a12..8055824d7ab 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ExecTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java index 4355a80ae47..b456f4f1577 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/FlagsTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java index 3b2d487466f..a8efa4436b3 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/GlobalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java index 0d9d176c306..804473a551e 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/HexadecimalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java index e3332319d94..db6a30441da 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IgnoreCaseTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java index 317bfbaa5d7..5a61b05de86 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/IntervalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java index 9e8457f0fdf..0c846b05571 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/OctalTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java index 93de058dfa2..17c69b665fa 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/ParenthesesTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java index 164b54c237d..458cddf968c 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/PlusTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java index 323f0d999fc..f0b3441410e 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/QuestionMarkTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java index 162a795f8b3..0ab3969b996 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java index 750bb4af432..a9b4d53042b 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SourceTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java index ab1509e74cc..0a424abec7c 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringReplaceTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java index 5f6f39d58bd..5d56c0baa5b 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSearchTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java index eefc24a9b0b..3c7da8ba3e6 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/StringSplitTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java index 301f0ec5936..16ba0fc4930 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/TestTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java b/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java index 79185380f44..d4f09020a8d 100644 --- a/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserParameterizedRunner.java @@ -45,10 +45,10 @@ * It uses {@link org.junit.runners.Parameterized.Parameter} for field injection. * * You must define a single {@link Default} method, which has global - * {@link org.htmlunit.junit.BrowserRunner.Alerts}. + * {@link org.htmlunit.junit.annotation.Alerts}. * You can add other specific tests, which will not be parameterized, and they can have other - * {@link org.htmlunit.junit.BrowserRunner.Alerts} or - * {@link org.htmlunit.junit.BrowserRunner.NotYetImplemented}. + * {@link org.htmlunit.junit.annotation.Alerts} or + * {@link org.htmlunit.junit.annotation.NotYetImplemented}. * * The method name will start with underscore '_' and have the parameters joined by an underscore. * If the method of a data entry already exists, then it will not be considered, as the actual method will override it. diff --git a/src/test/java/org/htmlunit/junit/BrowserRunner.java b/src/test/java/org/htmlunit/junit/BrowserRunner.java index e11fe32a97e..e47d137afbc 100644 --- a/src/test/java/org/htmlunit/junit/BrowserRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserRunner.java @@ -14,25 +14,14 @@ */ package org.htmlunit.junit; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import org.htmlunit.BrowserVersion; -import org.htmlunit.SimpleWebTestCase; import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebTestCase; -import org.htmlunit.annotations.StandardsMode; import org.junit.runner.Runner; import org.junit.runner.manipulation.Filter; import org.junit.runner.manipulation.Filterable; @@ -162,250 +151,4 @@ protected List getChildren() { */ public static final String EMPTY_DEFAULT = "~InTerNal_To_BrowSeRRunNer#@$"; - /** - * Browser under test. - */ - public enum TestedBrowser { - /** Latest version of Chrome. */ - CHROME, - - /** Edge. */ - EDGE, - - /** Firefox. */ - FF, - - /** Firefox ESR. */ - FF_ESR - } - - /** - * Allows to express the expected alerts (i.e. the messages passed to the - * window.alert function) for the different browsers for a unit test. - * Expected alerts can be retrieved within a unit test with {@link SimpleWebTestCase#getExpectedAlerts()} - * (resp. {@link WebDriverTestCase#getExpectedAlerts}) to be compared with the actual alerts but most of the time - * utility functions like {@link SimpleWebTestCase#loadPageWithAlerts(String)} - * (resp. {@link WebDriverTestCase#loadPageWithAlerts2(String)}) are used which do it - * after having loaded the page. - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface Alerts { - - /** - * Alerts that is used for all browsers (if defined, the other values are ignored). - * @return the alerts - */ - String[] value() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Edge. - * @return the alerts - */ - String[] EDGE() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Firefox. - * @return the alerts - */ - String[] FF() default { EMPTY_DEFAULT }; - - /** - * Alerts for Firefox ESR. - * @return the alerts - */ - String[] FF_ESR() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Chrome. - * @return the alerts - */ - String[] CHROME() default { EMPTY_DEFAULT }; - - /** - * The default alerts, if nothing more specific is defined. - * @return the alerts - */ - String[] DEFAULT() default { EMPTY_DEFAULT }; - } - - /** - * Same as {@link Alerts} but only in {@code Standards Mode}. - * - * It is typically used with {@link StandardsMode}. - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface AlertsStandards { - - /** - * Alerts that is used for all browsers (if defined, the other values are ignored). - * @return the alerts - */ - String[] value() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Edge. - * @return the alerts - */ - String[] EDGE() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Firefox. - * @return the alerts - */ - String[] FF() default { EMPTY_DEFAULT }; - - /** - * Alerts for Firefox ESR. - * @return the alerts - */ - String[] FF_ESR() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Chrome. - * @return the alerts - */ - String[] CHROME() default { EMPTY_DEFAULT }; - - /** - * The default alerts, if nothing more specific is defined. - * @return the alerts - */ - String[] DEFAULT() default { EMPTY_DEFAULT }; - } - - /** - * Marks the os. - */ - public enum OS { - /** Linux. */ - Linux, - - /** Windows. */ - Windows - } - - /** - * Marks a test as not yet working for a particular browser (default value is all). - * This will cause a failure to be considered as success and a success as failure forcing - * us to remove this annotation when a feature has been implemented even unintentionally. - * @see TestedBrowser - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface NotYetImplemented { - - /** - * The browsers with which the case is not yet implemented. - * @return the browsers - */ - TestedBrowser[] value() default { - EDGE, FF_ESR, FF, CHROME - }; - - /** - * The operating systems with which the case is not yet implemented. - * @return the operating systems - */ - OS[] os() default {}; - } - - /** - * Indicates that the test runs manually in a real browser but not when using WebDriver to drive the browser. - * @see TestedBrowser - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface BuggyWebDriver { - /** - * Alerts that is used for all browsers (if defined, the other values are ignored). - * @return the alerts - */ - String[] value() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Edge. - * @return the alerts - */ - String[] EDGE() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Firefox. - * @return the alerts - */ - String[] FF() default { EMPTY_DEFAULT }; - - /** - * Alerts for Firefox ESR. - * @return the alerts - */ - String[] FF_ESR() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Chrome. - * @return the alerts - */ - String[] CHROME() default { EMPTY_DEFAULT }; - - /** - * The default alerts, if nothing more specific is defined. - * @return the alerts - */ - String[] DEFAULT() default { EMPTY_DEFAULT }; - } - - /** - * Indicates that the test produces different result when running with HtmlUnit. - * @see TestedBrowser - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface HtmlUnitNYI { - /** - * Alerts that is used for all browsers (if defined, the other values are ignored). - * @return the alerts - */ - String[] value() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Edge. - * @return the alerts - */ - String[] EDGE() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Firefox. - * @return the alerts - */ - String[] FF() default { EMPTY_DEFAULT }; - - /** - * Alerts for Firefox ESR. - * @return the alerts - */ - String[] FF_ESR() default { EMPTY_DEFAULT }; - - /** - * Alerts for latest Chrome. - * @return the alerts - */ - String[] CHROME() default { EMPTY_DEFAULT }; - } - - /** - * The number of tries that test will be executed. - * The test will fail if and only if all trials failed. - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.METHOD) - public @interface Tries { - - /** - * The value. - * @return the value - */ - int value() default 1; - } - } diff --git a/src/test/java/org/htmlunit/junit/BrowserStatement.java b/src/test/java/org/htmlunit/junit/BrowserStatement.java index f8d0b7b2d2a..88de5e28ec3 100644 --- a/src/test/java/org/htmlunit/junit/BrowserStatement.java +++ b/src/test/java/org/htmlunit/junit/BrowserStatement.java @@ -20,9 +20,9 @@ import org.htmlunit.BrowserVersion; import org.htmlunit.WebDriverTestCase; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.AlertsStandards; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.AlertsStandards; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.Statement; diff --git a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java index 9bcc207f300..3d5e35e32cd 100644 --- a/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java +++ b/src/test/java/org/htmlunit/junit/BrowserVersionClassRunner.java @@ -26,14 +26,14 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebTestCase; import org.htmlunit.annotations.StandardsMode; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.AlertsStandards; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.BrowserRunner.OS; -import org.htmlunit.junit.BrowserRunner.TestedBrowser; -import org.htmlunit.junit.BrowserRunner.Tries; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.AlertsStandards; +import org.htmlunit.junit.annotation.BuggyWebDriver; +import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.OS; +import org.htmlunit.junit.annotation.TestedBrowser; +import org.htmlunit.junit.annotation.Tries; import org.junit.Test; import org.junit.internal.runners.model.ReflectiveCallable; import org.junit.internal.runners.statements.Fail; @@ -46,7 +46,7 @@ import org.junit.runners.model.TestClass; /** - * The runner for test methods that run with a specific browser ({@link BrowserRunner.TestedBrowser}). + * The runner for test methods that run with a specific browser ({@link TestedBrowser}). * * @author Ahmed Ashour * @author Frank Danek diff --git a/src/test/java/org/htmlunit/junit/RetryRule.java b/src/test/java/org/htmlunit/junit/RetryRule.java index dc6016e0313..da141090662 100644 --- a/src/test/java/org/htmlunit/junit/RetryRule.java +++ b/src/test/java/org/htmlunit/junit/RetryRule.java @@ -16,6 +16,7 @@ import java.util.concurrent.atomic.AtomicInteger; +import org.htmlunit.junit.annotation.Retry; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; diff --git a/src/test/java/org/htmlunit/junit/TestCaseCorrector.java b/src/test/java/org/htmlunit/junit/TestCaseCorrector.java index 625bd2a85c5..7d0a838891d 100644 --- a/src/test/java/org/htmlunit/junit/TestCaseCorrector.java +++ b/src/test/java/org/htmlunit/junit/TestCaseCorrector.java @@ -37,7 +37,7 @@ /** * This is meant to automatically correct the test case to put either the real browser expectations, - * or the {@link org.htmlunit.junit.BrowserRunner.NotYetImplemented} annotation for HtmlUnit. + * or the {@link org.htmlunit.junit.annotation.NotYetImplemented} annotation for HtmlUnit. * * @author Ahmed Ashour * @author Ronald Brill diff --git a/src/test/java/org/htmlunit/junit/annotation/Alerts.java b/src/test/java/org/htmlunit/junit/annotation/Alerts.java new file mode 100644 index 00000000000..83bc013c522 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/Alerts.java @@ -0,0 +1,79 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.htmlunit.SimpleWebTestCase; +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; + +/** + * Allows to express the expected alerts (i.e. the messages passed to the + * window.alert function) for the different browsers for a unit test. + * Expected alerts can be retrieved within a unit test with {@link SimpleWebTestCase#getExpectedAlerts()} + * (resp. {@link WebDriverTestCase#getExpectedAlerts}) to be compared with the actual alerts but most of the time + * utility functions like {@link SimpleWebTestCase#loadPageWithAlerts(String)} + * (resp. {@link WebDriverTestCase#loadPageWithAlerts2(String)}) are used which do it + * after having loaded the page. + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface Alerts { + + /** + * Alerts that is used for all browsers (if defined, the other values are ignored). + * @return the alerts + */ + String[] value() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Edge. + * @return the alerts + */ + String[] EDGE() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Firefox. + * @return the alerts + */ + String[] FF() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for Firefox ESR. + * @return the alerts + */ + String[] FF_ESR() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Chrome. + * @return the alerts + */ + String[] CHROME() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * The default alerts, if nothing more specific is defined. + * @return the alerts + */ + String[] DEFAULT() default { BrowserRunner.EMPTY_DEFAULT }; +} diff --git a/src/test/java/org/htmlunit/junit/annotation/AlertsStandards.java b/src/test/java/org/htmlunit/junit/annotation/AlertsStandards.java new file mode 100644 index 00000000000..857f09bcb27 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/AlertsStandards.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.htmlunit.annotations.StandardsMode; +import org.htmlunit.junit.BrowserRunner; + +/** + * Same as {@link Alerts} but only in {@code Standards Mode}. + * + * It is typically used with {@link StandardsMode}. + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface AlertsStandards { + + /** + * Alerts that is used for all browsers (if defined, the other values are ignored). + * @return the alerts + */ + String[] value() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Edge. + * @return the alerts + */ + String[] EDGE() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Firefox. + * @return the alerts + */ + String[] FF() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for Firefox ESR. + * @return the alerts + */ + String[] FF_ESR() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Chrome. + * @return the alerts + */ + String[] CHROME() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * The default alerts, if nothing more specific is defined. + * @return the alerts + */ + String[] DEFAULT() default { BrowserRunner.EMPTY_DEFAULT }; +} diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java new file mode 100644 index 00000000000..1a28d6e7721 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.reflect.Method; + +/** + * Utility functions for working with our annotations. + * + * @author Ronald Brill + */ +public final class AnnotationUtils { + + /** + * Disallow instantiation of this class. + */ + private AnnotationUtils() { + // Empty. + } + + /** + * Helper to validate defined annotations for various errors. + * + * @param method the method to validate + */ + public static void assertAlerts(final Method method) { + + } +} diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java new file mode 100644 index 00000000000..b62ae7804b5 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link AnnotationUtils}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class AnnotationUtilsTest extends WebDriverTestCase { + + /** + * @throws Exception if something goes wrong + */ + @Test + public void dataProtocol() throws Exception { + } + +// @Alerts("default") +// @HtmlUnitNYI("default") +// public void defaultAlertAndSameForHtmlUnitNYI() throws Exception { +// } + +} diff --git a/src/test/java/org/htmlunit/junit/annotation/BuggyWebDriver.java b/src/test/java/org/htmlunit/junit/annotation/BuggyWebDriver.java new file mode 100644 index 00000000000..909e07a65f7 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/BuggyWebDriver.java @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.htmlunit.junit.BrowserRunner; + +/** + * Indicates that the test runs manually in a real browser but not when using WebDriver to drive the browser. + * @see TestedBrowser + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface BuggyWebDriver { + /** + * Alerts that is used for all browsers (if defined, the other values are ignored). + * @return the alerts + */ + String[] value() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Edge. + * @return the alerts + */ + String[] EDGE() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Firefox. + * @return the alerts + */ + String[] FF() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for Firefox ESR. + * @return the alerts + */ + String[] FF_ESR() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Chrome. + * @return the alerts + */ + String[] CHROME() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * The default alerts, if nothing more specific is defined. + * @return the alerts + */ + String[] DEFAULT() default { BrowserRunner.EMPTY_DEFAULT }; +} diff --git a/src/test/java/org/htmlunit/junit/annotation/HtmlUnitNYI.java b/src/test/java/org/htmlunit/junit/annotation/HtmlUnitNYI.java new file mode 100644 index 00000000000..d845c4bed21 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/HtmlUnitNYI.java @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.htmlunit.junit.BrowserRunner; + +/** + * Indicates that the test produces different result when running with HtmlUnit. + * @see TestedBrowser + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface HtmlUnitNYI { + /** + * Alerts that is used for all browsers (if defined, the other values are ignored). + * @return the alerts + */ + String[] value() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Edge. + * @return the alerts + */ + String[] EDGE() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Firefox. + * @return the alerts + */ + String[] FF() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for Firefox ESR. + * @return the alerts + */ + String[] FF_ESR() default { BrowserRunner.EMPTY_DEFAULT }; + + /** + * Alerts for latest Chrome. + * @return the alerts + */ + String[] CHROME() default { BrowserRunner.EMPTY_DEFAULT }; +} diff --git a/src/test/java/org/htmlunit/junit/annotation/NotYetImplemented.java b/src/test/java/org/htmlunit/junit/annotation/NotYetImplemented.java new file mode 100644 index 00000000000..17dd61c2ce7 --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/NotYetImplemented.java @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Marks a test as not yet working for a particular browser (default value is all). + * This will cause a failure to be considered as success and a success as failure forcing + * us to remove this annotation when a feature has been implemented even unintentionally. + * @see TestedBrowser + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface NotYetImplemented { + + /** + * The browsers with which the case is not yet implemented. + * @return the browsers + */ + TestedBrowser[] value() default { + EDGE, FF_ESR, FF, CHROME + }; + + /** + * The operating systems with which the case is not yet implemented. + * @return the operating systems + */ + OS[] os() default {}; +} diff --git a/src/test/java/org/htmlunit/junit/annotation/OS.java b/src/test/java/org/htmlunit/junit/annotation/OS.java new file mode 100644 index 00000000000..a5cd4f0f3cc --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/OS.java @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +/** + * Marks the os. + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +public enum OS { + /** Linux. */ + Linux, + + /** Windows. */ + Windows +} diff --git a/src/test/java/org/htmlunit/junit/Retry.java b/src/test/java/org/htmlunit/junit/annotation/Retry.java similarity index 95% rename from src/test/java/org/htmlunit/junit/Retry.java rename to src/test/java/org/htmlunit/junit/annotation/Retry.java index 541b88c99c6..06fe8b0a732 100644 --- a/src/test/java/org/htmlunit/junit/Retry.java +++ b/src/test/java/org/htmlunit/junit/annotation/Retry.java @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.htmlunit.junit; +package org.htmlunit.junit.annotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/src/test/java/org/htmlunit/junit/annotation/TestedBrowser.java b/src/test/java/org/htmlunit/junit/annotation/TestedBrowser.java new file mode 100644 index 00000000000..8d563570f6a --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/TestedBrowser.java @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +/** + * Browser under test. + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +public enum TestedBrowser { + /** Latest version of Chrome. */ + CHROME, + + /** Edge. */ + EDGE, + + /** Firefox. */ + FF, + + /** Firefox ESR. */ + FF_ESR +} diff --git a/src/test/java/org/htmlunit/junit/annotation/Tries.java b/src/test/java/org/htmlunit/junit/annotation/Tries.java new file mode 100644 index 00000000000..8b138b6438a --- /dev/null +++ b/src/test/java/org/htmlunit/junit/annotation/Tries.java @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.junit.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * The number of tries that test will be executed. + * The test will fail if and only if all trials failed. + * + * @author Ahmed Ashour + * @author Frank Danek + * @author Ronald Brill + * @author cd alexndr + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface Tries { + + /** + * The value. + * @return the value + */ + int value() default 1; +} diff --git a/src/test/java/org/htmlunit/libraries/BirdTest.java b/src/test/java/org/htmlunit/libraries/BirdTest.java index 28b53c8a889..d1ebf0a5fb7 100644 --- a/src/test/java/org/htmlunit/libraries/BirdTest.java +++ b/src/test/java/org/htmlunit/libraries/BirdTest.java @@ -20,7 +20,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/libraries/ExtJS22Test.java b/src/test/java/org/htmlunit/libraries/ExtJS22Test.java index 1a779412574..05389ca6b1d 100644 --- a/src/test/java/org/htmlunit/libraries/ExtJS22Test.java +++ b/src/test/java/org/htmlunit/libraries/ExtJS22Test.java @@ -20,7 +20,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java index 160ff46a8dc..3d64f8f9014 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x7x0.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java index 027a95c1e71..07ec02128a7 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x8x4.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java index 3aa464f782d..c7d06fbf25c 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java @@ -16,8 +16,8 @@ import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java index a932bc90edb..41d7a9eccaf 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x12.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java index e94d9cdc578..ce1accdc544 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest1x9x2.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.BuggyWebDriver; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.BuggyWebDriver; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java index d27a2f68350..471e8590643 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x0.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java index 8919ff025b7..1540c020700 100644 --- a/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java +++ b/src/test/java/org/htmlunit/libraries/HtmxTest2x0x2.java @@ -15,8 +15,8 @@ package org.htmlunit.libraries; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java b/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java index 70806e47617..0c3ea69bd61 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery1x11x3Test.java @@ -14,12 +14,12 @@ */ package org.htmlunit.libraries; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java b/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java index 73be8e352f5..28ace3a2892 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery1x8x2Test.java @@ -14,12 +14,12 @@ */ package org.htmlunit.libraries; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java b/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java index adfdecd3239..a9c481c91d5 100644 --- a/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java +++ b/src/test/java/org/htmlunit/libraries/JQuery3x3x1Test.java @@ -14,14 +14,14 @@ */ package org.htmlunit.libraries; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.CHROME; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.EDGE; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF; -import static org.htmlunit.junit.BrowserRunner.TestedBrowser.FF_ESR; +import static org.htmlunit.junit.annotation.TestedBrowser.CHROME; +import static org.htmlunit.junit.annotation.TestedBrowser.EDGE; +import static org.htmlunit.junit.annotation.TestedBrowser.FF; +import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java b/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java index 085ed7620ce..5cb20e71cf5 100644 --- a/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java +++ b/src/test/java/org/htmlunit/libraries/JQueryUsage3x7x1Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebClient; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java b/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java index 42f78a90418..e5ec31ccb07 100644 --- a/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java +++ b/src/test/java/org/htmlunit/libraries/LibraryDependencyTest.java @@ -23,7 +23,7 @@ import org.htmlunit.MockWebConnection; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/MooTools121Test.java b/src/test/java/org/htmlunit/libraries/MooTools121Test.java index 9f43bccaa9c..9bdfcf8104f 100644 --- a/src/test/java/org/htmlunit/libraries/MooTools121Test.java +++ b/src/test/java/org/htmlunit/libraries/MooTools121Test.java @@ -23,7 +23,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/libraries/MyFacesTest.java b/src/test/java/org/htmlunit/libraries/MyFacesTest.java index 59bc1aa99ee..fb53bec4087 100644 --- a/src/test/java/org/htmlunit/libraries/MyFacesTest.java +++ b/src/test/java/org/htmlunit/libraries/MyFacesTest.java @@ -18,7 +18,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java b/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java index bc16ac4271a..8a2e465cd41 100644 --- a/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java +++ b/src/test/java/org/htmlunit/libraries/PolymerWebComponentsTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java b/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java index c1ce429112f..4062a636d2a 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype150rc1Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/Prototype160Test.java b/src/test/java/org/htmlunit/libraries/Prototype160Test.java index 94075dd0ed2..e4341c104b1 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype160Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype160Test.java @@ -18,7 +18,7 @@ import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/Prototype161Test.java b/src/test/java/org/htmlunit/libraries/Prototype161Test.java index 0b66f023868..73596325d14 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype161Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype161Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/Prototype171Test.java b/src/test/java/org/htmlunit/libraries/Prototype171Test.java index c96ffda0cb9..e88ab3fef8c 100644 --- a/src/test/java/org/htmlunit/libraries/Prototype171Test.java +++ b/src/test/java/org/htmlunit/libraries/Prototype171Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/QuillTest.java b/src/test/java/org/htmlunit/libraries/QuillTest.java index 586b21a9d11..bfc0611661c 100644 --- a/src/test/java/org/htmlunit/libraries/QuillTest.java +++ b/src/test/java/org/htmlunit/libraries/QuillTest.java @@ -20,8 +20,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.WebServerTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java b/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java index e076c902e62..15aa5afd0f9 100644 --- a/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java +++ b/src/test/java/org/htmlunit/libraries/Sarissa0993Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java b/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java index f4d0308d2bb..4c7756efb4a 100644 --- a/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java +++ b/src/test/java/org/htmlunit/libraries/Sarissa0997Test.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/libraries/TinyMceTest.java b/src/test/java/org/htmlunit/libraries/TinyMceTest.java index 5459cdc5db8..6c41d121229 100644 --- a/src/test/java/org/htmlunit/libraries/TinyMceTest.java +++ b/src/test/java/org/htmlunit/libraries/TinyMceTest.java @@ -19,8 +19,8 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/VueTest.java b/src/test/java/org/htmlunit/libraries/VueTest.java index d961e286ca7..da22b5f9cb2 100644 --- a/src/test/java/org/htmlunit/libraries/VueTest.java +++ b/src/test/java/org/htmlunit/libraries/VueTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/libraries/YuiTest.java b/src/test/java/org/htmlunit/libraries/YuiTest.java index 90667c021ad..1fba6433394 100644 --- a/src/test/java/org/htmlunit/libraries/YuiTest.java +++ b/src/test/java/org/htmlunit/libraries/YuiTest.java @@ -25,8 +25,8 @@ import org.apache.commons.logging.LogFactory; import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.NotYetImplemented; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; diff --git a/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java b/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java index 64e67b95d60..bdad884b138 100644 --- a/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java +++ b/src/test/java/org/htmlunit/protocol/data/DataURLDecoderTest.java @@ -16,7 +16,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/selenium/TypingTest.java b/src/test/java/org/htmlunit/selenium/TypingTest.java index 43c311cdc96..c2ddc16c291 100644 --- a/src/test/java/org/htmlunit/selenium/TypingTest.java +++ b/src/test/java/org/htmlunit/selenium/TypingTest.java @@ -15,8 +15,8 @@ package org.htmlunit.selenium; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; diff --git a/src/test/java/org/htmlunit/source/JQueryExtractor.java b/src/test/java/org/htmlunit/source/JQueryExtractor.java index 8c59e07e4ed..b4f85af6002 100644 --- a/src/test/java/org/htmlunit/source/JQueryExtractor.java +++ b/src/test/java/org/htmlunit/source/JQueryExtractor.java @@ -39,8 +39,8 @@ import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.reflect.MethodUtils; import org.htmlunit.WebDriverTestCase; -import org.htmlunit.junit.BrowserRunner.NotYetImplemented; -import org.htmlunit.junit.BrowserRunner.TestedBrowser; +import org.htmlunit.junit.annotation.NotYetImplemented; +import org.htmlunit.junit.annotation.TestedBrowser; import org.htmlunit.libraries.JQuery1x8x2Test; /** diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java index 7f23f992d01..267e0393c97 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphDefTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java index 06510fb3a68..63f32d9c585 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphItemTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java index 6dbe70161b7..442ed9f77ee 100644 --- a/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAltGlyphTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAnchorTest.java b/src/test/java/org/htmlunit/svg/SvgAnchorTest.java index feb51d87ced..d8b8d172035 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnchorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnchorTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java index aec1637c8b9..8888150c925 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateColorTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java index f0387472eec..728cef7ea08 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateMotionTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateTest.java index 9437ecf2f0f..2022f7b73e7 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java b/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java index fb679350875..32802861040 100644 --- a/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java +++ b/src/test/java/org/htmlunit/svg/SvgAnimateTransformTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgCircleTest.java b/src/test/java/org/htmlunit/svg/SvgCircleTest.java index b600834982f..825be47482e 100644 --- a/src/test/java/org/htmlunit/svg/SvgCircleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgCircleTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgClipPathTest.java b/src/test/java/org/htmlunit/svg/SvgClipPathTest.java index 2996e2a484c..dc2be65b450 100644 --- a/src/test/java/org/htmlunit/svg/SvgClipPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgClipPathTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java b/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java index ff8b09a40df..c6e0f7b1b29 100644 --- a/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java +++ b/src/test/java/org/htmlunit/svg/SvgColorProfileTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgCursorTest.java b/src/test/java/org/htmlunit/svg/SvgCursorTest.java index 0c85f92d8de..d42e2520899 100644 --- a/src/test/java/org/htmlunit/svg/SvgCursorTest.java +++ b/src/test/java/org/htmlunit/svg/SvgCursorTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgDefsTest.java b/src/test/java/org/htmlunit/svg/SvgDefsTest.java index 89635593394..246ef091ec7 100644 --- a/src/test/java/org/htmlunit/svg/SvgDefsTest.java +++ b/src/test/java/org/htmlunit/svg/SvgDefsTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgDescTest.java b/src/test/java/org/htmlunit/svg/SvgDescTest.java index 1c9b2708d23..a13ad8032d2 100644 --- a/src/test/java/org/htmlunit/svg/SvgDescTest.java +++ b/src/test/java/org/htmlunit/svg/SvgDescTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgElementTest.java b/src/test/java/org/htmlunit/svg/SvgElementTest.java index 8b2d96684a3..2d2f588fbbd 100644 --- a/src/test/java/org/htmlunit/svg/SvgElementTest.java +++ b/src/test/java/org/htmlunit/svg/SvgElementTest.java @@ -19,7 +19,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgEllipseTest.java b/src/test/java/org/htmlunit/svg/SvgEllipseTest.java index 9ea150c7a05..3d4e04a5d19 100644 --- a/src/test/java/org/htmlunit/svg/SvgEllipseTest.java +++ b/src/test/java/org/htmlunit/svg/SvgEllipseTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java b/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java index 4e5ffe8cf16..0e6c612dfb6 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeBlendTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java index d9f09d3a8e9..12be79d6aae 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeColorMatrixTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java b/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java index 431e18c1545..c323c82a2a5 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeComponentTransferTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java b/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java index 6b190ab4bdc..ce556f036ce 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeCompositeTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java index d544fa91ae0..f0956c4a866 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeConvolveMatrixTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java b/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java index c9ebf573d80..0eda310237b 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDiffuseLightingTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java b/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java index 902f81f1809..495495ae682 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDisplacementMapTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java b/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java index 14e3e7d3609..625dc1bdc70 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeDistantLightTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java b/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java index 03f2acef262..9fc59c3b885 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFloodTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java index d254137fe0a..919f0ab4507 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncATest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java index 3c57e607ba3..63394af46e3 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncBTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java index a8b6d889f3c..4dc6cf05418 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncGTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java b/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java index 12683d7323d..4299182b6f5 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeFuncRTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java b/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java index aef9c61336d..14af2fdced5 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeGaussianBlurTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeImageTest.java b/src/test/java/org/htmlunit/svg/SvgFeImageTest.java index d368165091f..f944042c37b 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeImageTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeImageTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java b/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java index 9e8d0b7ed95..27a59d34f4c 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMergeNodeTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java b/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java index f3a016bd37a..970fde36c01 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMergeTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java b/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java index 99039aa4d91..7c3fa3dd08f 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeMorphologyTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java b/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java index 0a6924f5e1b..73b2d5c5765 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeOffsetTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java b/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java index 151ce5cef93..fb624a17408 100644 --- a/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFePointLightTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java b/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java index 54fbc97a9fe..609a7a1cbaa 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeSpecularLightingTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java b/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java index d7047266319..b81897c105c 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeSpotLightTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeTileTest.java b/src/test/java/org/htmlunit/svg/SvgFeTileTest.java index 6cb09ab9f43..e621b926e18 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeTileTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeTileTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java b/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java index 70e00cccfd2..7feb4a22562 100644 --- a/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFeTurbulenceTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFilterTest.java b/src/test/java/org/htmlunit/svg/SvgFilterTest.java index 0cdf03ffabc..9cdef14ca6e 100644 --- a/src/test/java/org/htmlunit/svg/SvgFilterTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFilterTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java index 70433b7c0f5..52c36ab17f6 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceFormatTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java index 621d27620aa..60bc64c87c3 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceNameTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java index 86c603ec6b6..fcddd0dd384 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceSrcTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java index 41f7ed14acc..54362c50bf2 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java b/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java index 8134c77a35d..f1190e17448 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontFaceURITest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgFontTest.java b/src/test/java/org/htmlunit/svg/SvgFontTest.java index de1b5fa03a3..643c21d5d67 100644 --- a/src/test/java/org/htmlunit/svg/SvgFontTest.java +++ b/src/test/java/org/htmlunit/svg/SvgFontTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java b/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java index 36761457ed4..cd17b4708bf 100644 --- a/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java +++ b/src/test/java/org/htmlunit/svg/SvgForeignObjectTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java b/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java index d1c2fbaecd3..dfc100c60cb 100644 --- a/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGlyphRefTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgGlyphTest.java index b6c0672beaa..b5cc497ecc7 100644 --- a/src/test/java/org/htmlunit/svg/SvgGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGlyphTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgGroupTest.java b/src/test/java/org/htmlunit/svg/SvgGroupTest.java index 36d12de1c59..e9cc98acd70 100644 --- a/src/test/java/org/htmlunit/svg/SvgGroupTest.java +++ b/src/test/java/org/htmlunit/svg/SvgGroupTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgHKernTest.java b/src/test/java/org/htmlunit/svg/SvgHKernTest.java index 73d4f5ade1c..22be577425a 100644 --- a/src/test/java/org/htmlunit/svg/SvgHKernTest.java +++ b/src/test/java/org/htmlunit/svg/SvgHKernTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgImageTest.java b/src/test/java/org/htmlunit/svg/SvgImageTest.java index 7d5a1cb8082..8b2cf86d59f 100644 --- a/src/test/java/org/htmlunit/svg/SvgImageTest.java +++ b/src/test/java/org/htmlunit/svg/SvgImageTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgLineTest.java b/src/test/java/org/htmlunit/svg/SvgLineTest.java index 150f9ebf178..94a68946005 100644 --- a/src/test/java/org/htmlunit/svg/SvgLineTest.java +++ b/src/test/java/org/htmlunit/svg/SvgLineTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java b/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java index 2c7147473ca..32503264d41 100644 --- a/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java +++ b/src/test/java/org/htmlunit/svg/SvgLinearGradientTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgMPathTest.java b/src/test/java/org/htmlunit/svg/SvgMPathTest.java index efc755e1ad6..3c2c1b21715 100644 --- a/src/test/java/org/htmlunit/svg/SvgMPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMPathTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgMarkerTest.java b/src/test/java/org/htmlunit/svg/SvgMarkerTest.java index 720d777e486..0c69d8f222a 100644 --- a/src/test/java/org/htmlunit/svg/SvgMarkerTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMarkerTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgMaskTest.java b/src/test/java/org/htmlunit/svg/SvgMaskTest.java index 63f68371918..78dae61a8d2 100644 --- a/src/test/java/org/htmlunit/svg/SvgMaskTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMaskTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java index 88d70fde6dc..4faf2e74144 100644 --- a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/src/test/java/org/htmlunit/svg/SvgMetadataTest.java b/src/test/java/org/htmlunit/svg/SvgMetadataTest.java index ae480d17aea..043b82135a7 100644 --- a/src/test/java/org/htmlunit/svg/SvgMetadataTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMetadataTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java b/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java index ec98060dc17..354c1ae1fd6 100644 --- a/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMissingGlyphTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgPathTest.java b/src/test/java/org/htmlunit/svg/SvgPathTest.java index e839c7bc6ec..6cf1b884da4 100644 --- a/src/test/java/org/htmlunit/svg/SvgPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPathTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgPatternTest.java b/src/test/java/org/htmlunit/svg/SvgPatternTest.java index eb7ce1abccb..422ae9e587f 100644 --- a/src/test/java/org/htmlunit/svg/SvgPatternTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPatternTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgPolygonTest.java b/src/test/java/org/htmlunit/svg/SvgPolygonTest.java index c56ec50eb0c..113cb52b9c0 100644 --- a/src/test/java/org/htmlunit/svg/SvgPolygonTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPolygonTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgPolylineTest.java b/src/test/java/org/htmlunit/svg/SvgPolylineTest.java index 7fabd7073ed..e345bbb0523 100644 --- a/src/test/java/org/htmlunit/svg/SvgPolylineTest.java +++ b/src/test/java/org/htmlunit/svg/SvgPolylineTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java b/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java index 9255f2e01fa..e1b6f080ddd 100644 --- a/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java +++ b/src/test/java/org/htmlunit/svg/SvgRadialGradientTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgRectTest.java b/src/test/java/org/htmlunit/svg/SvgRectTest.java index b8bfd6100bc..1d32f7c8fd3 100644 --- a/src/test/java/org/htmlunit/svg/SvgRectTest.java +++ b/src/test/java/org/htmlunit/svg/SvgRectTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgScriptTest.java b/src/test/java/org/htmlunit/svg/SvgScriptTest.java index 37f472220d6..779c52097e4 100644 --- a/src/test/java/org/htmlunit/svg/SvgScriptTest.java +++ b/src/test/java/org/htmlunit/svg/SvgScriptTest.java @@ -20,8 +20,8 @@ import org.htmlunit.html.HtmlPageTest; import org.htmlunit.html.HtmlScript; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; -import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI; +import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgSetTest.java b/src/test/java/org/htmlunit/svg/SvgSetTest.java index 65af4b95a61..4a3a6766ca6 100644 --- a/src/test/java/org/htmlunit/svg/SvgSetTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSetTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgStopTest.java b/src/test/java/org/htmlunit/svg/SvgStopTest.java index 63aab1fa4ba..58f1a6fe62b 100644 --- a/src/test/java/org/htmlunit/svg/SvgStopTest.java +++ b/src/test/java/org/htmlunit/svg/SvgStopTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgStyleTest.java b/src/test/java/org/htmlunit/svg/SvgStyleTest.java index 9bfd1ae6b09..2ba83b469b4 100644 --- a/src/test/java/org/htmlunit/svg/SvgStyleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgStyleTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgSwitchTest.java b/src/test/java/org/htmlunit/svg/SvgSwitchTest.java index 0abca5df2b8..065c116bdbb 100644 --- a/src/test/java/org/htmlunit/svg/SvgSwitchTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSwitchTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgSymbolTest.java b/src/test/java/org/htmlunit/svg/SvgSymbolTest.java index 2067769bdfc..2305e0b1728 100644 --- a/src/test/java/org/htmlunit/svg/SvgSymbolTest.java +++ b/src/test/java/org/htmlunit/svg/SvgSymbolTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgTRefTest.java b/src/test/java/org/htmlunit/svg/SvgTRefTest.java index a3be31ed78e..f45851abe28 100644 --- a/src/test/java/org/htmlunit/svg/SvgTRefTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTRefTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgTSpanTest.java b/src/test/java/org/htmlunit/svg/SvgTSpanTest.java index 3dbdb95a20f..cc756483159 100644 --- a/src/test/java/org/htmlunit/svg/SvgTSpanTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTSpanTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgTextPathTest.java b/src/test/java/org/htmlunit/svg/SvgTextPathTest.java index d770de1be7a..cbbbe6d2910 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextPathTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextPathTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgTextTest.java b/src/test/java/org/htmlunit/svg/SvgTextTest.java index f3176c95c73..05d1721cb79 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgTitleTest.java b/src/test/java/org/htmlunit/svg/SvgTitleTest.java index a89bff11923..6c825da816e 100644 --- a/src/test/java/org/htmlunit/svg/SvgTitleTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTitleTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgUseTest.java b/src/test/java/org/htmlunit/svg/SvgUseTest.java index 2db364844ba..87cd56f06fd 100644 --- a/src/test/java/org/htmlunit/svg/SvgUseTest.java +++ b/src/test/java/org/htmlunit/svg/SvgUseTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgVKernTest.java b/src/test/java/org/htmlunit/svg/SvgVKernTest.java index d82f183ae9e..a40d2649d85 100644 --- a/src/test/java/org/htmlunit/svg/SvgVKernTest.java +++ b/src/test/java/org/htmlunit/svg/SvgVKernTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/svg/SvgViewTest.java b/src/test/java/org/htmlunit/svg/SvgViewTest.java index 704f8fae78f..647c0c04444 100644 --- a/src/test/java/org/htmlunit/svg/SvgViewTest.java +++ b/src/test/java/org/htmlunit/svg/SvgViewTest.java @@ -18,7 +18,7 @@ import org.htmlunit.html.HtmlPage; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; diff --git a/src/test/java/org/htmlunit/xml/XmlPage2Test.java b/src/test/java/org/htmlunit/xml/XmlPage2Test.java index 89150249da5..92dff1b0913 100644 --- a/src/test/java/org/htmlunit/xml/XmlPage2Test.java +++ b/src/test/java/org/htmlunit/xml/XmlPage2Test.java @@ -17,7 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.javascript.host.xml.XMLDocumentTest; import org.htmlunit.junit.BrowserRunner; -import org.htmlunit.junit.BrowserRunner.Alerts; +import org.htmlunit.junit.annotation.Alerts; import org.htmlunit.util.MimeType; import org.junit.Test; import org.junit.runner.RunWith; From 7fd5fa83622a2e74cf22dc6f30ffd9d55582224d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 13:14:25 +0100 Subject: [PATCH 057/516] move some stuff into separate class for better unit testing --- .../org/htmlunit/junit/BrowserStatement.java | 101 +----------------- .../junit/annotation/AnnotationUtils.java | 96 +++++++++++++++++ 2 files changed, 98 insertions(+), 99 deletions(-) diff --git a/src/test/java/org/htmlunit/junit/BrowserStatement.java b/src/test/java/org/htmlunit/junit/BrowserStatement.java index 88de5e28ec3..7ea59d15eac 100644 --- a/src/test/java/org/htmlunit/junit/BrowserStatement.java +++ b/src/test/java/org/htmlunit/junit/BrowserStatement.java @@ -14,15 +14,9 @@ */ package org.htmlunit.junit; -import static org.junit.Assert.assertFalse; - -import java.util.Arrays; - import org.htmlunit.BrowserVersion; import org.htmlunit.WebDriverTestCase; -import org.htmlunit.junit.annotation.Alerts; -import org.htmlunit.junit.annotation.AlertsStandards; -import org.htmlunit.junit.annotation.HtmlUnitNYI; +import org.htmlunit.junit.annotation.AnnotationUtils; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.Statement; @@ -75,98 +69,7 @@ public void evaluate() throws Throwable { } } } - assertAlerts(); - } - - private void assertAlerts() { - final Alerts alerts = method_.getAnnotation(Alerts.class); - if (alerts != null) { - if (!BrowserVersionClassRunner.isDefined(alerts.value())) { - assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", - BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(alerts.CHROME()) - && BrowserVersionClassRunner.isDefined(alerts.FF()) - && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) - && BrowserVersionClassRunner.isDefined(alerts.EDGE())); - - assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", - BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(alerts.CHROME()) - && BrowserVersionClassRunner.isDefined(alerts.FF()) - && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) - && BrowserVersionClassRunner.isDefined(alerts.EDGE())); - - assertNotEquals(BrowserVersion.EDGE, alerts.EDGE(), alerts.DEFAULT()); - assertNotEquals(BrowserVersion.CHROME, alerts.CHROME(), alerts.DEFAULT()); - assertNotEquals(BrowserVersion.FIREFOX, alerts.FF(), alerts.DEFAULT()); - assertNotEquals(BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), alerts.DEFAULT()); - } - - final HtmlUnitNYI nyiAlerts = method_.getAnnotation(HtmlUnitNYI.class); - if (nyiAlerts != null) { - if (BrowserVersionClassRunner.isDefined(alerts.CHROME()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { - assertNotEquals(BrowserVersion.CHROME, alerts.CHROME(), nyiAlerts.CHROME()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { - assertNotEquals(BrowserVersion.CHROME, alerts.DEFAULT(), nyiAlerts.CHROME()); - } - - if (BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { - assertNotEquals(BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), nyiAlerts.FF_ESR()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { - assertNotEquals(BrowserVersion.FIREFOX_ESR, alerts.DEFAULT(), nyiAlerts.FF_ESR()); - } - - if (BrowserVersionClassRunner.isDefined(alerts.FF()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { - assertNotEquals(BrowserVersion.FIREFOX, alerts.FF(), nyiAlerts.FF()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { - assertNotEquals(BrowserVersion.FIREFOX, alerts.DEFAULT(), nyiAlerts.FF()); - } - - if (BrowserVersionClassRunner.isDefined(alerts.EDGE()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { - assertNotEquals(BrowserVersion.EDGE, alerts.EDGE(), nyiAlerts.EDGE()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { - assertNotEquals(BrowserVersion.EDGE, alerts.DEFAULT(), nyiAlerts.EDGE()); - } - } - } - - final AlertsStandards alerts2 = method_.getAnnotation(AlertsStandards.class); - if (alerts2 != null) { - if (!BrowserVersionClassRunner.isDefined(alerts2.value())) { - assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", - BrowserVersionClassRunner.isDefined(alerts2.DEFAULT()) - && BrowserVersionClassRunner.isDefined(alerts2.CHROME()) - && BrowserVersionClassRunner.isDefined(alerts2.FF()) - && BrowserVersionClassRunner.isDefined(alerts2.FF_ESR()) - && BrowserVersionClassRunner.isDefined(alerts2.EDGE())); - - assertNotEquals(BrowserVersion.EDGE, alerts2.EDGE(), alerts2.DEFAULT()); - assertNotEquals(BrowserVersion.CHROME, alerts2.CHROME(), alerts2.DEFAULT()); - assertNotEquals(BrowserVersion.FIREFOX, alerts2.FF(), alerts2.DEFAULT()); - assertNotEquals(BrowserVersion.FIREFOX_ESR, alerts2.FF_ESR(), alerts2.DEFAULT()); - } - } - } - - private void assertNotEquals(final BrowserVersion browser, final String[] value1, final String[] value2) { - if (value1.length != 0 && !BrowserRunner.EMPTY_DEFAULT.equals(value1[0]) - && value1.length == value2.length - && Arrays.asList(value1).toString().equals(Arrays.asList(value2).toString())) { - throw new AssertionError("Redundant alert for " + browser.getNickname() + " in " - + method_.getDeclaringClass().getSimpleName() + '.' + method_.getName() + "()"); - } + AnnotationUtils.assertAlerts(method_.getMethod()); } public void evaluateSolo() throws Throwable { diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java index 1a28d6e7721..e0aa663b4e4 100644 --- a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java @@ -14,11 +14,19 @@ */ package org.htmlunit.junit.annotation; +import static org.junit.Assert.assertFalse; + import java.lang.reflect.Method; +import java.util.Arrays; + +import org.htmlunit.BrowserVersion; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.BrowserVersionClassRunner; /** * Utility functions for working with our annotations. * + * @author Ahmed Ashour * @author Ronald Brill */ public final class AnnotationUtils { @@ -36,6 +44,94 @@ private AnnotationUtils() { * @param method the method to validate */ public static void assertAlerts(final Method method) { + final Alerts alerts = method.getAnnotation(Alerts.class); + if (alerts != null) { + if (!BrowserVersionClassRunner.isDefined(alerts.value())) { + assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", + BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(alerts.CHROME()) + && BrowserVersionClassRunner.isDefined(alerts.FF()) + && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) + && BrowserVersionClassRunner.isDefined(alerts.EDGE())); + + assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", + BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(alerts.CHROME()) + && BrowserVersionClassRunner.isDefined(alerts.FF()) + && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) + && BrowserVersionClassRunner.isDefined(alerts.EDGE())); + + assertNotEquals(method, BrowserVersion.EDGE, alerts.EDGE(), alerts.DEFAULT()); + assertNotEquals(method, BrowserVersion.CHROME, alerts.CHROME(), alerts.DEFAULT()); + assertNotEquals(method, BrowserVersion.FIREFOX, alerts.FF(), alerts.DEFAULT()); + assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), alerts.DEFAULT()); + } + + final HtmlUnitNYI nyiAlerts = method.getAnnotation(HtmlUnitNYI.class); + if (nyiAlerts != null) { + if (BrowserVersionClassRunner.isDefined(alerts.CHROME()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { + assertNotEquals(method, BrowserVersion.CHROME, alerts.CHROME(), nyiAlerts.CHROME()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { + assertNotEquals(method, BrowserVersion.CHROME, alerts.DEFAULT(), nyiAlerts.CHROME()); + } + + if (BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { + assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), nyiAlerts.FF_ESR()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { + assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.DEFAULT(), nyiAlerts.FF_ESR()); + } + + if (BrowserVersionClassRunner.isDefined(alerts.FF()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { + assertNotEquals(method, BrowserVersion.FIREFOX, alerts.FF(), nyiAlerts.FF()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { + assertNotEquals(method, BrowserVersion.FIREFOX, alerts.DEFAULT(), nyiAlerts.FF()); + } + + if (BrowserVersionClassRunner.isDefined(alerts.EDGE()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { + assertNotEquals(method, BrowserVersion.EDGE, alerts.EDGE(), nyiAlerts.EDGE()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) + && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { + assertNotEquals(method, BrowserVersion.EDGE, alerts.DEFAULT(), nyiAlerts.EDGE()); + } + } + } + + final AlertsStandards alerts2 = method.getAnnotation(AlertsStandards.class); + if (alerts2 != null) { + if (!BrowserVersionClassRunner.isDefined(alerts2.value())) { + assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", + BrowserVersionClassRunner.isDefined(alerts2.DEFAULT()) + && BrowserVersionClassRunner.isDefined(alerts2.CHROME()) + && BrowserVersionClassRunner.isDefined(alerts2.FF()) + && BrowserVersionClassRunner.isDefined(alerts2.FF_ESR()) + && BrowserVersionClassRunner.isDefined(alerts2.EDGE())); + + assertNotEquals(method, BrowserVersion.EDGE, alerts2.EDGE(), alerts2.DEFAULT()); + assertNotEquals(method, BrowserVersion.CHROME, alerts2.CHROME(), alerts2.DEFAULT()); + assertNotEquals(method, BrowserVersion.FIREFOX, alerts2.FF(), alerts2.DEFAULT()); + assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts2.FF_ESR(), alerts2.DEFAULT()); + } + } + } + private static void assertNotEquals(final Method method, final BrowserVersion browser, + final String[] value1, final String[] value2) { + if (value1.length != 0 && !BrowserRunner.EMPTY_DEFAULT.equals(value1[0]) + && value1.length == value2.length + && Arrays.asList(value1).toString().equals(Arrays.asList(value2).toString())) { + throw new AssertionError("Redundant alert for " + browser.getNickname() + " in " + + method.getDeclaringClass().getSimpleName() + '.' + method.getName() + "()"); + } } } From 66a02f9415aa2c2554697c7bc1abe2a0b5d3953a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 14:59:12 +0100 Subject: [PATCH 058/516] move annotation checking to the archunit tests --- .../htmlunit/archunit/Architecture2Test.java | 29 +++ .../css/property/ElementClientHeightTest.java | 4 +- .../org/htmlunit/junit/BrowserStatement.java | 2 - .../junit/annotation/AnnotationUtils.java | 124 ++++++---- .../junit/annotation/AnnotationUtilsTest.java | 223 +++++++++++++++++- 5 files changed, 322 insertions(+), 60 deletions(-) diff --git a/src/test/java/org/htmlunit/archunit/Architecture2Test.java b/src/test/java/org/htmlunit/archunit/Architecture2Test.java index 7e9b5abf6fc..54adb3954e5 100644 --- a/src/test/java/org/htmlunit/archunit/Architecture2Test.java +++ b/src/test/java/org/htmlunit/archunit/Architecture2Test.java @@ -14,6 +14,7 @@ */ package org.htmlunit.archunit; +import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.methods; import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.noClasses; import java.util.HashSet; @@ -21,14 +22,20 @@ import java.util.stream.Collectors; import org.htmlunit.BrowserVersion; +import org.htmlunit.junit.annotation.AnnotationUtils; import org.junit.Assert; +import org.junit.Test; import org.junit.runner.RunWith; import com.tngtech.archunit.core.domain.JavaClasses; +import com.tngtech.archunit.core.domain.JavaMethod; import com.tngtech.archunit.junit.AnalyzeClasses; import com.tngtech.archunit.junit.ArchTest; import com.tngtech.archunit.junit.ArchUnitRunner; +import com.tngtech.archunit.lang.ArchCondition; import com.tngtech.archunit.lang.ArchRule; +import com.tngtech.archunit.lang.ConditionEvents; +import com.tngtech.archunit.lang.SimpleConditionEvent; /** * Architecture tests for our test cases. @@ -176,4 +183,26 @@ else if (oneTests.size() == 0) { @ArchTest public static final ArchRule hamcrest = noClasses() .should().dependOnClassesThat().resideInAPackage("org.hamcrest.."); + + private static final ArchCondition haveConsistentTestAnnotations = + new ArchCondition("have consistent HtmlUnit test annotations") { + @Override + public void check(final JavaMethod method, final ConditionEvents events) { + try { + AnnotationUtils.assertAlerts(method.reflect()); + } + catch (final AssertionError e) { + events.add(SimpleConditionEvent.violated(method, e.getMessage())); + } + } + }; + + /** + * Validate test annotations. + */ + @ArchTest + public static final ArchRule jsxGetterAnnotationStartsWithGet = methods() + .that().areAnnotatedWith(Test.class) + .and().areNotDeclaredIn("org.htmlunit.junit.annotation.AnnotationUtilsTest") + .should(haveConsistentTestAnnotations); } diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java index 2764478c2ff..b951ca673f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java @@ -1195,9 +1195,7 @@ public void nolayer() throws Exception { @Test @Alerts("0") @HtmlUnitNYI(CHROME = "18", - EDGE = "18", - FF = "0", - FF_ESR = "0") + EDGE = "18") public void noscript() throws Exception { loadPageVerifyTitle2(test("noscript")); } diff --git a/src/test/java/org/htmlunit/junit/BrowserStatement.java b/src/test/java/org/htmlunit/junit/BrowserStatement.java index 7ea59d15eac..210e8337c30 100644 --- a/src/test/java/org/htmlunit/junit/BrowserStatement.java +++ b/src/test/java/org/htmlunit/junit/BrowserStatement.java @@ -16,7 +16,6 @@ import org.htmlunit.BrowserVersion; import org.htmlunit.WebDriverTestCase; -import org.htmlunit.junit.annotation.AnnotationUtils; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.Statement; @@ -69,7 +68,6 @@ public void evaluate() throws Throwable { } } } - AnnotationUtils.assertAlerts(method_.getMethod()); } public void evaluateSolo() throws Throwable { diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java index e0aa663b4e4..827a6bb7b17 100644 --- a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtils.java @@ -47,62 +47,94 @@ public static void assertAlerts(final Method method) { final Alerts alerts = method.getAnnotation(Alerts.class); if (alerts != null) { if (!BrowserVersionClassRunner.isDefined(alerts.value())) { - assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", - BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(alerts.CHROME()) - && BrowserVersionClassRunner.isDefined(alerts.FF()) - && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) - && BrowserVersionClassRunner.isDefined(alerts.EDGE())); - - assertFalse("Obsolete DEFAULT because all browser expectations are defined individually", + assertFalse("Obsolete DEFAULT because all browser expectations defined individually", BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) && BrowserVersionClassRunner.isDefined(alerts.CHROME()) && BrowserVersionClassRunner.isDefined(alerts.FF()) && BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) && BrowserVersionClassRunner.isDefined(alerts.EDGE())); - assertNotEquals(method, BrowserVersion.EDGE, alerts.EDGE(), alerts.DEFAULT()); - assertNotEquals(method, BrowserVersion.CHROME, alerts.CHROME(), alerts.DEFAULT()); - assertNotEquals(method, BrowserVersion.FIREFOX, alerts.FF(), alerts.DEFAULT()); - assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), alerts.DEFAULT()); + assertNotEquals("@Alerts", method, BrowserVersion.CHROME, alerts.CHROME(), alerts.DEFAULT()); + assertNotEquals("@Alerts", method, BrowserVersion.FIREFOX, alerts.FF(), alerts.DEFAULT()); + assertNotEquals("@Alerts", method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), alerts.DEFAULT()); + assertNotEquals("@Alerts", method, BrowserVersion.EDGE, alerts.EDGE(), alerts.DEFAULT()); } final HtmlUnitNYI nyiAlerts = method.getAnnotation(HtmlUnitNYI.class); if (nyiAlerts != null) { - if (BrowserVersionClassRunner.isDefined(alerts.CHROME()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { - assertNotEquals(method, BrowserVersion.CHROME, alerts.CHROME(), nyiAlerts.CHROME()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { - assertNotEquals(method, BrowserVersion.CHROME, alerts.DEFAULT(), nyiAlerts.CHROME()); + if (BrowserVersionClassRunner.isDefined(nyiAlerts.value())) { + if (BrowserVersionClassRunner.isDefined(alerts.CHROME())) { + assertNotEquals("@HtmlUnitNYI", + method, null, alerts.CHROME(), nyiAlerts.value()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT())) { + assertNotEquals("@HtmlUnitNYI", + method, null, alerts.DEFAULT(), nyiAlerts.value()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.value())) { + assertNotEquals("@HtmlUnitNYI", + method, null, alerts.value(), nyiAlerts.value()); + } } - if (BrowserVersionClassRunner.isDefined(alerts.FF_ESR()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { - assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), nyiAlerts.FF_ESR()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { - assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts.DEFAULT(), nyiAlerts.FF_ESR()); + if (BrowserVersionClassRunner.isDefined(nyiAlerts.CHROME())) { + if (BrowserVersionClassRunner.isDefined(alerts.CHROME())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.CHROME, alerts.CHROME(), nyiAlerts.CHROME()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.CHROME, alerts.DEFAULT(), nyiAlerts.CHROME()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.value())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.CHROME, alerts.value(), nyiAlerts.CHROME()); + } } - if (BrowserVersionClassRunner.isDefined(alerts.FF()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { - assertNotEquals(method, BrowserVersion.FIREFOX, alerts.FF(), nyiAlerts.FF()); - } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { - assertNotEquals(method, BrowserVersion.FIREFOX, alerts.DEFAULT(), nyiAlerts.FF()); + if (BrowserVersionClassRunner.isDefined(nyiAlerts.FF_ESR())) { + if (BrowserVersionClassRunner.isDefined(alerts.FF_ESR())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX_ESR, alerts.FF_ESR(), nyiAlerts.FF_ESR()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX_ESR, alerts.DEFAULT(), nyiAlerts.FF_ESR()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.value())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX_ESR, alerts.value(), nyiAlerts.FF_ESR()); + } } - if (BrowserVersionClassRunner.isDefined(alerts.EDGE()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { - assertNotEquals(method, BrowserVersion.EDGE, alerts.EDGE(), nyiAlerts.EDGE()); + if (BrowserVersionClassRunner.isDefined(nyiAlerts.FF())) { + if (BrowserVersionClassRunner.isDefined(alerts.FF())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX, alerts.FF(), nyiAlerts.FF()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX, alerts.DEFAULT(), nyiAlerts.FF()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.value())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.FIREFOX, alerts.value(), nyiAlerts.FF()); + } } - else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) - && BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { - assertNotEquals(method, BrowserVersion.EDGE, alerts.DEFAULT(), nyiAlerts.EDGE()); + + if (BrowserVersionClassRunner.isDefined(nyiAlerts.EDGE())) { + if (BrowserVersionClassRunner.isDefined(alerts.EDGE())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.EDGE, alerts.EDGE(), nyiAlerts.EDGE()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.EDGE, alerts.DEFAULT(), nyiAlerts.EDGE()); + } + else if (BrowserVersionClassRunner.isDefined(alerts.value())) { + assertNotEquals("@HtmlUnitNYI", + method, BrowserVersion.EDGE, alerts.value(), nyiAlerts.EDGE()); + } } } } @@ -117,20 +149,22 @@ else if (BrowserVersionClassRunner.isDefined(alerts.DEFAULT()) && BrowserVersionClassRunner.isDefined(alerts2.FF_ESR()) && BrowserVersionClassRunner.isDefined(alerts2.EDGE())); - assertNotEquals(method, BrowserVersion.EDGE, alerts2.EDGE(), alerts2.DEFAULT()); - assertNotEquals(method, BrowserVersion.CHROME, alerts2.CHROME(), alerts2.DEFAULT()); - assertNotEquals(method, BrowserVersion.FIREFOX, alerts2.FF(), alerts2.DEFAULT()); - assertNotEquals(method, BrowserVersion.FIREFOX_ESR, alerts2.FF_ESR(), alerts2.DEFAULT()); + assertNotEquals("@AlertsStandards", method, BrowserVersion.EDGE, alerts2.EDGE(), alerts2.DEFAULT()); + assertNotEquals("@AlertsStandards", method, BrowserVersion.CHROME, alerts2.CHROME(), alerts2.DEFAULT()); + assertNotEquals("@AlertsStandards", method, BrowserVersion.FIREFOX, alerts2.FF(), alerts2.DEFAULT()); + assertNotEquals("@AlertsStandards", + method, BrowserVersion.FIREFOX_ESR, alerts2.FF_ESR(), alerts2.DEFAULT()); } } } - private static void assertNotEquals(final Method method, final BrowserVersion browser, + private static void assertNotEquals(final String annotation, final Method method, final BrowserVersion browser, final String[] value1, final String[] value2) { if (value1.length != 0 && !BrowserRunner.EMPTY_DEFAULT.equals(value1[0]) && value1.length == value2.length && Arrays.asList(value1).toString().equals(Arrays.asList(value2).toString())) { - throw new AssertionError("Redundant alert for " + browser.getNickname() + " in " + final String nickname = browser == null ? "DEFAULT" : browser.getNickname(); + throw new AssertionError("Redundant " + annotation + " for " + nickname + " in " + method.getDeclaringClass().getSimpleName() + '.' + method.getName() + "()"); } } diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java index b62ae7804b5..492a611d32b 100644 --- a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java @@ -14,29 +14,232 @@ */ package org.htmlunit.junit.annotation; -import org.htmlunit.WebDriverTestCase; -import org.htmlunit.junit.BrowserRunner; +import java.lang.reflect.Method; + +import org.junit.Assert; import org.junit.Test; -import org.junit.runner.RunWith; /** * Tests for {@link AnnotationUtils}. * * @author Ronald Brill */ -@RunWith(BrowserRunner.class) -public class AnnotationUtilsTest extends WebDriverTestCase { +public class AnnotationUtilsTest { + + @Test + @Alerts(DEFAULT = "default", + CHROME = "chrome", + EDGE = "edge", + FF = "ff", + FF_ESR = "ff esr") + /** + * @throws Exception if something goes wrong + */ + public void obsoleteDefaultBecauseAllBrowserExpectationsDefinedIndividually() throws Exception { + testFail("Obsolete DEFAULT because all browser expectations defined individually", + "obsoleteDefaultBecauseAllBrowserExpectationsDefinedIndividually"); + } + + @Test + @Alerts(DEFAULT = "redundant", + CHROME = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantAlertChrome() throws Exception { + testFail("Redundant @Alerts for Chrome in AnnotationUtilsTest.redundantAlertChrome()", + "redundantAlertChrome"); + } + + @Test + @Alerts(DEFAULT = "redundant", + EDGE = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantAlertEdge() throws Exception { + testFail("Redundant @Alerts for Edge in AnnotationUtilsTest.redundantAlertEdge()", + "redundantAlertEdge"); + } + + @Test + @Alerts(DEFAULT = "redundant", + FF = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantAlertFf() throws Exception { + testFail("Redundant @Alerts for FF in AnnotationUtilsTest.redundantAlertFf()", + "redundantAlertFf"); + } + + @Test + @Alerts(DEFAULT = "redundant", + FF_ESR = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantAlertFfEsr() throws Exception { + testFail("Redundant @Alerts for FF-ESR in AnnotationUtilsTest.redundantAlertFfEsr()", + "redundantAlertFfEsr"); + } + + @Test + @Alerts("redundant") + @HtmlUnitNYI("redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantHtmlUnitNYI() throws Exception { + testFail("Redundant @HtmlUnitNYI for DEFAULT in AnnotationUtilsTest.redundantHtmlUnitNYI()", + "redundantHtmlUnitNYI"); + } + + @Test + @Alerts("redundant") + @HtmlUnitNYI(CHROME = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantHtmlUnitNYIChrome() throws Exception { + testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantHtmlUnitNYIChrome()", + "redundantHtmlUnitNYIChrome"); + } + + @Test + @Alerts("redundant") + @HtmlUnitNYI(EDGE = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantHtmlUnitNYIEdge() throws Exception { + testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantHtmlUnitNYIEdge()", + "redundantHtmlUnitNYIEdge"); + } + + @Test + @Alerts("redundant") + @HtmlUnitNYI(FF = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantHtmlUnitNYIFf() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantHtmlUnitNYIFf()", + "redundantHtmlUnitNYIFf"); + } + + @Test + @Alerts("redundant") + @HtmlUnitNYI(FF_ESR = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantHtmlUnitNYIFfEsr() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantHtmlUnitNYIFfEsr()", + "redundantHtmlUnitNYIFfEsr"); + } + + @Test + @Alerts(DEFAULT = "", + CHROME = "redundant") + @HtmlUnitNYI(CHROME = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantChromeHtmlUnitNYIChrome() throws Exception { + testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantChromeHtmlUnitNYIChrome()", + "redundantChromeHtmlUnitNYIChrome"); + } + + @Test + @Alerts(DEFAULT = "", + EDGE = "redundant") + @HtmlUnitNYI(EDGE = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantEdgeHtmlUnitNYIEdge() throws Exception { + testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantEdgeHtmlUnitNYIEdge()", + "redundantEdgeHtmlUnitNYIEdge"); + } + + @Test + @Alerts(DEFAULT = "", + FF = "redundant") + @HtmlUnitNYI(FF = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantFfHtmlUnitNYIFf() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantFfHtmlUnitNYIFf()", + "redundantFfHtmlUnitNYIFf"); + } + + @Test + @Alerts(DEFAULT = "", + FF_ESR = "redundant") + @HtmlUnitNYI(FF_ESR = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantFfEsrHtmlUnitNYIFfEsr() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantFfEsrHtmlUnitNYIFfEsr()", + "redundantFfEsrHtmlUnitNYIFfEsr"); + } + + @Test + @Alerts(CHROME = "redundant") + @HtmlUnitNYI(CHROME = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantChrome2HtmlUnitNYIChrome() throws Exception { + testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantChrome2HtmlUnitNYIChrome()", + "redundantChrome2HtmlUnitNYIChrome"); + } + @Test + @Alerts(EDGE = "redundant") + @HtmlUnitNYI(EDGE = "redundant") /** * @throws Exception if something goes wrong */ + public void redundantEdge2HtmlUnitNYIEdge() throws Exception { + testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantEdge2HtmlUnitNYIEdge()", + "redundantEdge2HtmlUnitNYIEdge"); + } + @Test - public void dataProtocol() throws Exception { + @Alerts(FF = "redundant") + @HtmlUnitNYI(FF = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantFf2HtmlUnitNYIFf() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantFf2HtmlUnitNYIFf()", + "redundantFf2HtmlUnitNYIFf"); } -// @Alerts("default") -// @HtmlUnitNYI("default") -// public void defaultAlertAndSameForHtmlUnitNYI() throws Exception { -// } + @Test + @Alerts(FF_ESR = "redundant") + @HtmlUnitNYI(FF_ESR = "redundant") + /** + * @throws Exception if something goes wrong + */ + public void redundantFfEsr2HtmlUnitNYIFfEsr() throws Exception { + testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantFfEsr2HtmlUnitNYIFfEsr()", + "redundantFfEsr2HtmlUnitNYIFfEsr"); + } + + private void testFail(final String expectedMsg, final String methodName) throws Exception { + final Method method = getClass().getMethod(methodName, null); + try { + AnnotationUtils.assertAlerts(method); + Assert.fail("AssertionError expected"); + } + catch (final AssertionError e) { + Assert.assertEquals(expectedMsg, e.getMessage()); + } + } } From 03059f3ad23753cba4cf0c91fec01429366274da Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 16:25:50 +0100 Subject: [PATCH 059/516] fix --- src/test/java/org/htmlunit/NotYetImplementedTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/htmlunit/NotYetImplementedTest.java b/src/test/java/org/htmlunit/NotYetImplementedTest.java index 33f452acd72..d16ebc43688 100644 --- a/src/test/java/org/htmlunit/NotYetImplementedTest.java +++ b/src/test/java/org/htmlunit/NotYetImplementedTest.java @@ -58,6 +58,7 @@ private void process(final File dir) throws IOException { else { if (fileName.endsWith(".java") && !"SimpleWebTestCase.java".equals(fileName) + && !"AnnotationUtilsTest.java".equals(fileName) && !"NotYetImplementedTest.java".equals(fileName) && !"CodeStyleTest.java".equals(fileName)) { final List lines = FileUtils.readLines(file, ISO_8859_1); From 21a5bd493edaeaa3ee4b1a7fd557433605e91209 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 16 Jan 2025 19:48:36 +0100 Subject: [PATCH 060/516] fix expectations --- .../htmlunit/javascript/host/worker/WorkerNavigatorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index d1aa6295085..400ead61093 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -84,7 +84,7 @@ public void appName() throws Exception { @Alerts(CHROME = "5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36", EDGE = "5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/132.0.0.0", FF = "5.0\\s(Windows)", FF_ESR = "5.0\\s(Windows)") public void appVersion() throws Exception { @@ -163,7 +163,7 @@ public void product() throws Exception { @Alerts(CHROME = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36", EDGE = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64)\\sAppleWebKit/537.36\\s" - + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/131.0.0.0", + + "(KHTML,\\slike\\sGecko)\\sChrome/132.0.0.0\\sSafari/537.36\\sEdg/132.0.0.0", FF = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:134.0)\\sGecko/20100101\\sFirefox/134.0", FF_ESR = "Mozilla/5.0\\s(Windows\\sNT\\s10.0;\\sWin64;\\sx64;\\srv:128.0)\\sGecko/20100101\\sFirefox/128.0") public void userAgent() throws Exception { From e0a89f1320c3f9ceeddd1a5dc815079e3a83a153 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 21 Jan 2025 10:24:42 +0100 Subject: [PATCH 061/516] make sure DomElement.ATTRIBUTE_VALUE_EMPTY is used --- src/main/java/org/htmlunit/html/DomAttr.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/html/DomAttr.java b/src/main/java/org/htmlunit/html/DomAttr.java index a126dc5c166..19affc2d36d 100644 --- a/src/main/java/org/htmlunit/html/DomAttr.java +++ b/src/main/java/org/htmlunit/html/DomAttr.java @@ -108,7 +108,13 @@ public void setNodeValue(final String value) { */ @Override public void setValue(final String value) { - value_ = value; + if (value != null + && value.isEmpty()) { + value_ = DomElement.ATTRIBUTE_VALUE_EMPTY; + } + else { + value_ = value; + } specified_ = true; } From bf9b040bc705245fe761f8e81577e82cc65ad6c3 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 21 Jan 2025 19:08:34 +0100 Subject: [PATCH 062/516] spotbugs --- pom.xml | 2 +- src/test/java/org/htmlunit/ExternalTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a71433c8449..e926bbf37f0 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ 10.21.1 - 4.8.6 + 4.9.0 7.9.0 4.13.2 1.3.0 diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index d2d083df1f2..36aa1566f37 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -59,7 +59,7 @@ public class ExternalTest { static String CHROME_DRIVER_URL_ = "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"; - static String EDGE_DRIVER_ = "130.0.2849"; + static String EDGE_DRIVER_ = "132.0.2957"; static String EDGE_DRIVER_URL_ = "https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/"; /** Gecko driver. */ From e76e30f507696a0daa55fb2f6f0a72fed531d6ad Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 08:05:59 +0100 Subject: [PATCH 063/516] on the road to 4.9.0 --- pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index e926bbf37f0..f7f568708f9 100644 --- a/pom.xml +++ b/pom.xml @@ -25,12 +25,12 @@ 8 8 - 4.9.0-SNAPSHOT - 4.8.0 - 4.8.0 - 4.8.0 - 4.8.0 - 4.8.0 + 4.9.0 + 4.9.0 + 4.9.0 + 4.9.0 + 4.9.0 + 4.9.0 4.5.14 From 6cf9e2b12fbf75560bdbcc3ad12339e176bd2da5 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 08:21:07 +0100 Subject: [PATCH 064/516] add cast to fix javac warning --- .../java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java index 492a611d32b..ea80f959c02 100644 --- a/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java +++ b/src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java @@ -232,7 +232,7 @@ public void redundantFfEsr2HtmlUnitNYIFfEsr() throws Exception { } private void testFail(final String expectedMsg, final String methodName) throws Exception { - final Method method = getClass().getMethod(methodName, null); + final Method method = getClass().getMethod(methodName, (Class[]) null); try { AnnotationUtils.assertAlerts(method); From ed2d44bbbce5c39cd11edad7551f224460f1f914 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 08:35:59 +0100 Subject: [PATCH 065/516] make HtmlDomTreeWalker serializable --- .../org/htmlunit/html/HtmlDomTreeWalker.java | 4 +- .../htmlunit/html/HtmlDomTreeWalkerTest.java | 48 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 src/test/java/org/htmlunit/html/HtmlDomTreeWalkerTest.java diff --git a/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java b/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java index 594a3dc760b..e2db02a4411 100644 --- a/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java +++ b/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java @@ -14,6 +14,8 @@ */ package org.htmlunit.html; +import java.io.Serializable; + import org.w3c.dom.DOMException; import org.w3c.dom.Node; import org.w3c.dom.traversal.NodeFilter; @@ -30,7 +32,7 @@ * @author Ahmed Ashour * @author Ronald Brill */ -public class HtmlDomTreeWalker { +public class HtmlDomTreeWalker implements Serializable { private final DomNode root_; private DomNode currentNode_; diff --git a/src/test/java/org/htmlunit/html/HtmlDomTreeWalkerTest.java b/src/test/java/org/htmlunit/html/HtmlDomTreeWalkerTest.java new file mode 100644 index 00000000000..42223a63139 --- /dev/null +++ b/src/test/java/org/htmlunit/html/HtmlDomTreeWalkerTest.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.html; + +import org.apache.commons.lang3.SerializationUtils; +import org.htmlunit.SimpleWebTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link HtmlDomTreeWalker}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class HtmlDomTreeWalkerTest extends SimpleWebTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + public void serialization() throws Exception { + final String html = "\n" + + "
        1
        2
        \n" + + ""; + + final HtmlPage page = loadPage(html); + + final byte[] bytes = SerializationUtils.serialize(new HtmlDomTreeWalker(page.getBody(), 0, null, false)); + + final HtmlDomTreeWalker deserialized = (HtmlDomTreeWalker) SerializationUtils.deserialize(bytes); + Assert.assertEquals(page.getBody().getNodeName(), deserialized.getRoot().getNodeName()); + } +} From dd0ae11de848f761dabd7a948cf03184480b3ec3 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 08:46:00 +0100 Subject: [PATCH 066/516] WebClientOptions.Geolocation is serializable now --- .../java/org/htmlunit/WebClientOptions.java | 2 +- .../java/org/htmlunit/WebClientOptionsTest.java | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/WebClientOptions.java b/src/main/java/org/htmlunit/WebClientOptions.java index 092ee7fb86e..8060c673e70 100644 --- a/src/main/java/org/htmlunit/WebClientOptions.java +++ b/src/main/java/org/htmlunit/WebClientOptions.java @@ -848,7 +848,7 @@ public void setGeolocation(final Geolocation geolocation) { geolocation_ = geolocation; } - public static class Geolocation { + public static class Geolocation implements Serializable { private final double accuracy_; private final double latitude_; private final double longitude_; diff --git a/src/test/java/org/htmlunit/WebClientOptionsTest.java b/src/test/java/org/htmlunit/WebClientOptionsTest.java index d2af684c155..5ac04f22ecf 100644 --- a/src/test/java/org/htmlunit/WebClientOptionsTest.java +++ b/src/test/java/org/htmlunit/WebClientOptionsTest.java @@ -17,6 +17,7 @@ import javax.net.ssl.SSLContext; import org.apache.commons.lang3.SerializationUtils; +import org.htmlunit.WebClientOptions.Geolocation; import org.htmlunit.junit.BrowserRunner; import org.junit.Test; import org.junit.runner.RunWith; @@ -48,6 +49,9 @@ public void serialization() throws Exception { assertEquals(original.isThrowExceptionOnScriptError(), deserialized.isThrowExceptionOnScriptError()); assertEquals(original.isPopupBlockerEnabled(), deserialized.isPopupBlockerEnabled()); assertEquals(original.isRedirectEnabled(), deserialized.isRedirectEnabled()); + + assertEquals(original.isGeolocationEnabled(), deserialized.isGeolocationEnabled()); + assertEquals(original.getGeolocation(), deserialized.getGeolocation()); } /** @@ -65,6 +69,9 @@ public void serializationChanged() throws Exception { original.setPopupBlockerEnabled(true); original.setRedirectEnabled(false); + original.setGeolocationEnabled(true); + original.setGeolocation(new WebClientOptions.Geolocation(1d, 2d, 3d, 4d, 5d, 6d, 7d)); + final byte[] bytes = SerializationUtils.serialize(original); final WebClientOptions deserialized = (WebClientOptions) SerializationUtils.deserialize(bytes); @@ -77,6 +84,16 @@ public void serializationChanged() throws Exception { assertEquals(original.isThrowExceptionOnScriptError(), deserialized.isThrowExceptionOnScriptError()); assertEquals(original.isPopupBlockerEnabled(), deserialized.isPopupBlockerEnabled()); assertEquals(original.isRedirectEnabled(), deserialized.isRedirectEnabled()); + + assertEquals(original.isGeolocationEnabled(), deserialized.isGeolocationEnabled()); + assertEquals(original.getGeolocation().getAccuracy(), deserialized.getGeolocation().getAccuracy()); + assertEquals(original.getGeolocation().getLatitude(), deserialized.getGeolocation().getLatitude()); + assertEquals(original.getGeolocation().getLongitude(), deserialized.getGeolocation().getLongitude()); + assertEquals(original.getGeolocation().getAltitude(), deserialized.getGeolocation().getAltitude()); + assertEquals(original.getGeolocation().getAltitudeAccuracy(), + deserialized.getGeolocation().getAltitudeAccuracy()); + assertEquals(original.getGeolocation().getHeading(), deserialized.getGeolocation().getHeading()); + assertEquals(original.getGeolocation().getSpeed(), deserialized.getGeolocation().getSpeed()); } /** From a19c3deca863fd5d35b7b5ab7b793338ffb3cb6e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 08:47:24 +0100 Subject: [PATCH 067/516] code style --- src/changes/changes.xml | 6 ++++++ src/test/java/org/htmlunit/WebClientOptionsTest.java | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 203990b93dd..fe3d80410fa 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,12 @@ + + WebClientOptions.Geolocation is serializable now + + + HtmlDomTreeWalker is serializable now + core-js: junit-vintage-engine was NOT marked as 'test' dependency, therefore we had junit as part of our depenencies/lib/diestribution (regression from 4.8.0) diff --git a/src/test/java/org/htmlunit/WebClientOptionsTest.java b/src/test/java/org/htmlunit/WebClientOptionsTest.java index 5ac04f22ecf..e40298eae20 100644 --- a/src/test/java/org/htmlunit/WebClientOptionsTest.java +++ b/src/test/java/org/htmlunit/WebClientOptionsTest.java @@ -17,7 +17,6 @@ import javax.net.ssl.SSLContext; import org.apache.commons.lang3.SerializationUtils; -import org.htmlunit.WebClientOptions.Geolocation; import org.htmlunit.junit.BrowserRunner; import org.junit.Test; import org.junit.runner.RunWith; From 0d7fd315b8aeaf8a64e35bec75ec863162d86fa8 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 10:41:47 +0100 Subject: [PATCH 068/516] WebClientOptions SSLTrustStore is transient --- src/changes/changes.xml | 3 +++ .../java/org/htmlunit/WebClientOptions.java | 4 +++- .../org/htmlunit/WebClientOptionsTest.java | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index fe3d80410fa..83113663108 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + WebClientOptions SSLTrustStore is transient. + WebClientOptions.Geolocation is serializable now diff --git a/src/main/java/org/htmlunit/WebClientOptions.java b/src/main/java/org/htmlunit/WebClientOptions.java index 8060c673e70..65748a875f2 100644 --- a/src/main/java/org/htmlunit/WebClientOptions.java +++ b/src/main/java/org/htmlunit/WebClientOptions.java @@ -55,7 +55,7 @@ public class WebClientOptions implements Serializable { private KeyStore sslClientCertificateStore_; private char[] sslClientCertificatePassword_; - private KeyStore sslTrustStore_; + private transient KeyStore sslTrustStore_; private String[] sslClientProtocols_; private String[] sslClientCipherSuites_; @@ -541,6 +541,7 @@ public String getSSLInsecureProtocol() { /** * Sets the SSL server certificate trust store. All server certificates will be validated against * this trust store. + *

        This property is transient (because KeyStore is not serializable) *

        * The needed parameters are used to construct a {@link java.security.KeyStore}. * @@ -564,6 +565,7 @@ void setSSLTrustStore(final KeyStore keyStore) { /** * Gets the SSL TrustStore. + *

        This property is transient (because KeyStore is not serializable) * @return the SSL TrustStore for insecure SSL connections */ public KeyStore getSSLTrustStore() { diff --git a/src/test/java/org/htmlunit/WebClientOptionsTest.java b/src/test/java/org/htmlunit/WebClientOptionsTest.java index e40298eae20..fbcc6816c7b 100644 --- a/src/test/java/org/htmlunit/WebClientOptionsTest.java +++ b/src/test/java/org/htmlunit/WebClientOptionsTest.java @@ -14,6 +14,8 @@ */ package org.htmlunit; +import java.security.KeyStore; + import javax.net.ssl.SSLContext; import org.apache.commons.lang3.SerializationUtils; @@ -108,4 +110,20 @@ public void serializationSSLContextProvider() throws Exception { assertNull(deserialized.getSSLContext()); } + + /** + * @throws Exception if an error occurs + */ + @Test + public void serializationSSLTrustStore() throws Exception { + final WebClientOptions original = new WebClientOptions(); + + final KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); + original.setSSLTrustStore(keyStore); + + final byte[] bytes = SerializationUtils.serialize(original); + final WebClientOptions deserialized = (WebClientOptions) SerializationUtils.deserialize(bytes); + + assertNull(deserialized.getSSLTrustStore()); + } } From feba50361ae31b2305fae6b35704139dc1852c44 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 16:30:01 +0100 Subject: [PATCH 069/516] small optimizations --- src/test/java/org/htmlunit/WebDriverTestCase.java | 14 ++++++++++++-- .../DownloadingAttachmentHandlerTest.java | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/WebDriverTestCase.java b/src/test/java/org/htmlunit/WebDriverTestCase.java index 4a36d791fb0..766dbc3379c 100644 --- a/src/test/java/org/htmlunit/WebDriverTestCase.java +++ b/src/test/java/org/htmlunit/WebDriverTestCase.java @@ -1087,18 +1087,28 @@ protected final WebDriver loadPageVerifyTitle2(final String html, final String.. protected final WebDriver verifyTitle2(final long maxWaitTime, final WebDriver driver, final String... expectedAlerts) throws Exception { + + final StringBuilder expected = new StringBuilder(); + for (int i = 0; i < expectedAlerts.length; i++) { + expected.append(expectedAlerts[i]).append('\u00A7'); + } + final String expectedTitle = expected.toString(); + final long maxWait = System.currentTimeMillis() + maxWaitTime; while (System.currentTimeMillis() < maxWait) { try { - return verifyTitle2(driver, expectedAlerts); + final String title = driver.getTitle(); + assertEquals(expectedTitle, title); + return driver; } catch (final AssertionError e) { // ignore and wait } } - return verifyTitle2(driver, expectedAlerts); + assertEquals(expectedTitle, driver.getTitle()); + return driver; } protected final WebDriver verifyTitle2(final WebDriver driver, diff --git a/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java b/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java index 3e5065fa3ee..0eac7e885c4 100644 --- a/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java +++ b/src/test/java/org/htmlunit/attachment/DownloadingAttachmentHandlerTest.java @@ -164,6 +164,7 @@ public void basicFileNameFromHeader() throws Exception { final File tmpFolder = new File(System.getProperty("java.io.tmpdir")); final File downloadFolder = new File(tmpFolder, "downloading-attachment-test"); + FileUtils.deleteDirectory(downloadFolder); try { FileUtils.forceMkdir(downloadFolder); From 5d2c9c0a38a2e8f2f41340b1d8fdc3dd087e8a0a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 16:55:34 +0100 Subject: [PATCH 070/516] run on later jdk --- .../org/htmlunit/javascript/JavaScriptEngineTest.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java index db6bebfba15..e13b18de8b9 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngineTest.java @@ -1184,7 +1184,7 @@ public void shutdownShouldKill() throws Exception { try (WebClient webClient = getWebClient()) { // there is no way to kill a thread in later JDK's // to make the test running we need a final timeout for js stuff - webClient.setJavaScriptTimeout(DEFAULT_WAIT_TIME * 20); + webClient.setJavaScriptTimeout(DEFAULT_WAIT_TIME * 10); final List collectedAlerts = new ArrayList<>(); webClient.setAlertHandler(new CollectingAlertHandler(collectedAlerts)); @@ -1195,7 +1195,13 @@ public void shutdownShouldKill() throws Exception { } Thread.sleep(400); - assertTrue(getJavaScriptThreads().isEmpty()); + try { + assertTrue(getJavaScriptThreads().isEmpty()); + } + catch (final AssertionError e) { + Thread.sleep(DEFAULT_WAIT_TIME * 10); + assertTrue(getJavaScriptThreads().isEmpty()); + } } /** From 59a3c8bd7de8555e0c85cd597bc5aff502352877 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 22 Jan 2025 19:03:11 +0100 Subject: [PATCH 071/516] version 4.9.0 --- README.md | 8 ++++---- pom.xml | 2 +- src/changes/changes.xml | 2 +- src/site/xdoc/index.xml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 31f3b72101a..5b336df1758 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ![HtmlUnit Logo](https://github.com/HtmlUnit/htmlunit/blob/master/src/site/resources/images/htmlunit.png) -Version 4.8.0 / January 12, 2025 +Version 4.9.0 / January 22, 2025 :heart: [Sponsor](https://github.com/sponsors/rbri) @@ -51,7 +51,7 @@ Add to your `pom.xml`: org.htmlunit htmlunit - 4.8.0 + 4.9.0 ``` @@ -60,7 +60,7 @@ Add to your `pom.xml`: Add to your `build.gradle`: ```groovy -implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.8.0' +implementation group: 'org.htmlunit', name: 'htmlunit', version: '4.9.0' ``` ## Vulnerabilities @@ -162,7 +162,7 @@ Add the snapshot repository and dependency to your `pom.xml`: org.htmlunit htmlunit - 4.9.0-SNAPSHOT + 4.10.0-SNAPSHOT diff --git a/pom.xml b/pom.xml index f7f568708f9..6ffd92ba062 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit htmlunit - 4.9.0-SNAPSHOT + 4.9.0 HtmlUnit Gargoyle Software Inc. diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 83113663108..d844c34855b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,7 +7,7 @@ - + WebClientOptions SSLTrustStore is transient. diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index ef3136d9d03..2529e6664f4 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -83,9 +83,9 @@

        -
        Latest release January 12, 2025
        +
        Latest release January 22, 2025
        -

        version 4.8.0

        +

        version 4.9.0

        Source code
        @@ -210,7 +210,7 @@ org.htmlunit htmlunit - 4.8.0 + 4.9.0 ]]>

        From 0062e1f9dc1a04f16dc990c6e36d8d25ce41c140 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 23 Jan 2025 09:17:48 +0100 Subject: [PATCH 072/516] start working on 4.10.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6ffd92ba062..18cffbf95bc 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit htmlunit - 4.9.0 + 4.10.0-SNAPSHOT HtmlUnit Gargoyle Software Inc. From 470e5bd566f6bffc88395a435b92df0a7a0d3f17 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 23 Jan 2025 09:18:06 +0100 Subject: [PATCH 073/516] add https://selenide.org/ --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5b336df1758..2f6a6a0e5f3 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ HtmlUnit is used as the underlying "browser" by different Open Source tools like * [WETATOR](https://www.wetator.org/) * [Selenium Foundation](https://github.com/sbabcoc/Selenium-Foundation) * [Spring Testing](https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#spring-mvc-test-server-htmlunit) + * [Selenide](https://selenide.org/) * [JWebUnit](https://jwebunit.github.io/jwebunit/) * [JSFUnit](http://www.jboss.org/jsfunit/) * ... From 2d8e709104b98650e880dc00c65a0f6cfffd540a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 26 Jan 2025 11:44:32 +0100 Subject: [PATCH 074/516] cleanup --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f6a6a0e5f3..9102f708bcf 100644 --- a/README.md +++ b/README.md @@ -128,10 +128,13 @@ You can start here: * [The Complete Guide to Web Scraping with Java][10] A small straightforward guide to web scraping with Java. * [How to test Jakarta Faces with HtmlUnit and Arquillian][11] * [WebScraping.AI HtmlUnit FAQ][13]: + ## Contributing Pull Requests and all other Community Contributions are essential for open source software. Every contribution - from bug reports to feature requests, typos to full new features - are greatly appreciated. +Please try to keep your pull requests small (don't bundle unrelated changes) and try to include test cases. + ## Last CI build The latest builds are available from our [Jenkins CI build server][2] @@ -214,10 +217,6 @@ check dependencies for known security problems mvn dependency-check:check ``` -### Contributing - -I welcome contributions, especially in the form of pull requests. -Please try to keep your pull requests small (don't bundle unrelated changes) and try to include test cases. ## Some insights [HtmlUnit at openhub][5] From aaedfbbefdf46ff983953fe1700229b6218fa2d5 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 26 Jan 2025 11:45:34 +0100 Subject: [PATCH 075/516] WebClientOptions sslClientCertificateStore is transient --- src/changes/changes.xml | 8 ++++++++ .../java/org/htmlunit/WebClientOptions.java | 9 ++++++--- .../org/htmlunit/WebClientOptionsTest.java | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d844c34855b..475aa35f8e8 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,6 +7,13 @@ + + + WebClientOptions sslClientCertificateStore is transient. + + + + WebClientOptions SSLTrustStore is transient. @@ -32,6 +39,7 @@ + cssparser: support plain color definitions with var/calc. diff --git a/src/main/java/org/htmlunit/WebClientOptions.java b/src/main/java/org/htmlunit/WebClientOptions.java index 65748a875f2..88a5a02cf9a 100644 --- a/src/main/java/org/htmlunit/WebClientOptions.java +++ b/src/main/java/org/htmlunit/WebClientOptions.java @@ -53,7 +53,7 @@ public class WebClientOptions implements Serializable { private boolean isRedirectEnabled_ = true; private File tempFileDirectory_; - private KeyStore sslClientCertificateStore_; + private transient KeyStore sslClientCertificateStore_; private char[] sslClientCertificatePassword_; private transient KeyStore sslTrustStore_; private String[] sslClientProtocols_; @@ -188,6 +188,7 @@ public boolean isRedirectEnabled() { * In some cases the impl seems to pick old certificates from the {@link KeyStore}. To avoid * that, wrap your {@link KeyStore} inside your own {@link KeyStore} impl and filter out outdated * certificates. + *

        This property is transient (because KeyStore is not serializable) * * @param keyStore {@link KeyStore} to use * @param keyStorePassword the keystore password @@ -205,6 +206,7 @@ public void setSSLClientCertificateKeyStore(final KeyStore keyStore, final char[ * "sun.security.ssl.allowUnsafeRenegotiation" to true, as hinted in * * TLS Renegotiation Issue. + *

        This property is transient (because KeyStore is not serializable) * * @param keyStoreUrl the URL which locates the certificate {@link KeyStore} * @param keyStorePassword the certificate {@link KeyStore} password @@ -253,6 +255,8 @@ public void setSSLClientCertificateKeyStore(final InputStream keyStoreInputStrea /** * Gets the SSLClientCertificateStore. + *

        This property is transient (because KeyStore is not serializable) + * * @return the KeyStore for use on SSL connections */ public KeyStore getSSLClientCertificateStore() { @@ -542,8 +546,7 @@ public String getSSLInsecureProtocol() { * Sets the SSL server certificate trust store. All server certificates will be validated against * this trust store. *

        This property is transient (because KeyStore is not serializable) - *

        - * The needed parameters are used to construct a {@link java.security.KeyStore}. + *

        The needed parameters are used to construct a {@link java.security.KeyStore}. * * @param sslTrustStoreUrl the URL which locates the trust store * @param sslTrustStorePassword the trust store password diff --git a/src/test/java/org/htmlunit/WebClientOptionsTest.java b/src/test/java/org/htmlunit/WebClientOptionsTest.java index fbcc6816c7b..ce5c18718cc 100644 --- a/src/test/java/org/htmlunit/WebClientOptionsTest.java +++ b/src/test/java/org/htmlunit/WebClientOptionsTest.java @@ -20,6 +20,7 @@ import org.apache.commons.lang3.SerializationUtils; import org.htmlunit.junit.BrowserRunner; +import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; @@ -126,4 +127,21 @@ public void serializationSSLTrustStore() throws Exception { assertNull(deserialized.getSSLTrustStore()); } + + /** + * @throws Exception if an error occurs + */ + @Test + public void sslClientCertificateStore() throws Exception { + final WebClientOptions original = new WebClientOptions(); + + final KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); + original.setSSLClientCertificateKeyStore(keyStore, "secret".toCharArray()); + + final byte[] bytes = SerializationUtils.serialize(original); + final WebClientOptions deserialized = (WebClientOptions) SerializationUtils.deserialize(bytes); + + assertNull(deserialized.getSSLClientCertificateStore()); + Assert.assertArrayEquals("secret".toCharArray(), deserialized.getSSLClientCertificatePassword()); + } } From 09711a2bb5c4c9451b31bfaba987b2f9d6714fbc Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 28 Jan 2025 12:19:58 +0100 Subject: [PATCH 076/516] add some more tests --- .../html/xpath/HtmlUnitXPath2Test.java | 96 ++++++++++++++++++- 1 file changed, 93 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index f2968a4e618..398c7808cc6 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -30,6 +30,14 @@ @RunWith(BrowserRunner.class) public class HtmlUnitXPath2Test extends WebDriverTestCase { + /** + * {@inheritDoc} + */ + @Override + protected boolean isWebClientCached() { + return true; + } + /** * @throws Exception if the test fails */ @@ -254,6 +262,51 @@ public void number() throws Exception { compare("//p[@y=number(\" 13\t \")]"); } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("false") + public void startsWith() throws Exception { + compareBooleanValue("starts-with(\"haystack\", \"needle\")"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void startsWithFound() throws Exception { + compareBooleanValue("starts-with(\"haystack\", \"hay\")"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void startsWithWhole() throws Exception { + compareBooleanValue("starts-with(\"haystack\", \"haystack\")"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void startsWithEmpty() throws Exception { + compareBooleanValue("starts-with(\"haystack\", \"\")"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("true") + public void startsWithEmptyEmpty() throws Exception { + compareBooleanValue("starts-with(\"\", \"\")"); + } + /** * @throws Exception if the test fails */ @@ -319,9 +372,27 @@ public void attrib() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("error") + @Alerts("SyntaxError") public void lowerCaseNotSupported() throws Exception { - compare("//*[lower-case(@id) = \"a\"]"); + compareError("//*[lower-case(@id) = \"a\"]"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("SyntaxError") + public void upperCaseNotSupported() throws Exception { + compareError("//*[upper-case(@id) = \"A\"]"); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("SyntaxError") + public void endsWithNotSupported() throws Exception { + compareError("ends-with(\"haystack\", \"haystack\")"); } private void compare(final String xpath) throws Exception { @@ -338,7 +409,7 @@ private void compare(final String xpath) throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -399,6 +470,25 @@ private void compareBooleanValue(final String xpath) throws Exception { loadPageVerifyTitle2(content); } + private void compareError(final String xpath) throws Exception { + final String content = "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(content); + } + /** * @throws Exception if the test fails */ From 9192409703ba94031d6c8c959f16020c92288eef Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 30 Jan 2025 09:33:15 +0100 Subject: [PATCH 077/516] htmlunit driver update --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 18cffbf95bc..f02c7495f73 100644 --- a/pom.xml +++ b/pom.xml @@ -34,16 +34,16 @@ 4.5.14 - 4.27.0 - 4.27.0 - selenium-devtools-v131 + 4.28.0 + 4.28.0 + selenium-devtools-v132 9.4.57.v20241219 2.24.3 2.0.16 - 10.21.1 + 10.21.2 4.9.0 7.9.0 4.13.2 From e20c72e2c122363a10a935daf9771eb56a2de74f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 30 Jan 2025 10:51:30 +0100 Subject: [PATCH 078/516] commons-codec to 1.18.0 --- pom.xml | 2 +- src/changes/changes.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f02c7495f73..8b1e2a6b795 100644 --- a/pom.xml +++ b/pom.xml @@ -1270,7 +1270,7 @@ commons-codec commons-codec - 1.17.2 + 1.18.0 org.brotli diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 475aa35f8e8..5932d7619e7 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Upgrade commons-codec to 1.18.0. + WebClientOptions sslClientCertificateStore is transient. From df5df39577f19f175175b1134c9cf34b6dcbdeb5 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 09:42:40 +0100 Subject: [PATCH 079/516] Document.evaluate() now throws a SyntaxError instead of an InternalError --- src/changes/changes.xml | 3 + .../htmlunit/javascript/JavaScriptEngine.java | 10 +++ .../javascript/host/dom/Document.java | 2 +- .../html/xpath/HtmlUnitXPath2Test.java | 64 +++++++++++++++++-- 4 files changed, 73 insertions(+), 6 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5932d7619e7..d1fad61ee24 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Document.evaluate() now throws a SyntaxError instead of an InternalError. + Upgrade commons-codec to 1.18.0. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 197daeef1cd..314b1ad1648 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1150,6 +1150,16 @@ public static RuntimeException reportRuntimeError(final String message) { throw Context.reportRuntimeError(message); } + /** + * Report a runtime error using the error reporter for the current thread. + * + * @param message the error message to report + * @return EcmaError + */ + public static EcmaError syntaxError(final String message) { + return ScriptRuntime.syntaxError(message); + } + /** * Report a runtime error using the error reporter for the current thread. * diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index f66c3e9d39c..2b48776a12b 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -580,7 +580,7 @@ else if (resolver instanceof PrefixResolver) { return xPathResult; } catch (final Exception e) { - throw JavaScriptEngine.reportRuntimeError("Failed to execute 'evaluate': " + e.getMessage()); + throw JavaScriptEngine.syntaxError("Failed to execute 'evaluate': " + e.getMessage()); } } diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index 398c7808cc6..f1513098834 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -38,6 +38,60 @@ protected boolean isWebClientCached() { return true; } + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"4", "null"}) + public void xPathNull() throws Exception { + final String content = "\n" + + "\n" + + "\n" + + " \n" + + ""; + + loadPageVerifyTitle2(content); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"4", "null"}) + public void xPathUndefined() throws Exception { + final String content = "\n" + + "\n" + + "\n" + + " \n" + + ""; + + loadPageVerifyTitle2(content); + } + /** * @throws Exception if the test fails */ @@ -55,7 +109,7 @@ public void optionText() throws Exception { + " for (var i = 0; i < value.length; i++) {\n" + " log(value.charCodeAt(i));\n" + " }\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -84,7 +138,7 @@ public void pipe() throws Exception { + " res += node;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -114,7 +168,7 @@ public void math() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -433,7 +487,7 @@ private void compareStringValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(\"'\" + result.stringValue + \"'\");\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -457,7 +511,7 @@ private void compareBooleanValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(result.booleanValue);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" From 2bb31f64e004a591512c1be971e25e8e104a24ac Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 13:43:24 +0100 Subject: [PATCH 080/516] DOMException name property was missing Handling of the error code when construction DOMException is fixed --- src/changes/changes.xml | 6 + .../htmlunit/javascript/JavaScriptEngine.java | 21 +- .../javascript/host/dom/DOMException.java | 90 ++++++- .../general/ElementOwnPropertiesTest.java | 93 ++++--- .../ElementOwnPropertySymbolsTest.java | 47 ++-- .../general/ElementPropertiesTest.java | 84 +++++-- .../javascript/host/dom/DOMExceptionTest.java | 233 +++++++++++++++++- 7 files changed, 479 insertions(+), 95 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d1fad61ee24..5ff2e8bd470 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,12 @@ + + DOMException name property was missing. + + + Handling of the error code when construction DOMException is fixed. + Document.evaluate() now throws a SyntaxError instead of an InternalError. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 314b1ad1648..ed348347efb 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -46,7 +46,6 @@ import org.htmlunit.corejs.javascript.EcmaError; import org.htmlunit.corejs.javascript.Function; import org.htmlunit.corejs.javascript.FunctionObject; -import org.htmlunit.corejs.javascript.Interpreter; import org.htmlunit.corejs.javascript.JavaScriptException; import org.htmlunit.corejs.javascript.NativeArray; import org.htmlunit.corejs.javascript.NativeArrayIterator; @@ -1212,24 +1211,10 @@ public static RhinoException asJavaScriptException(final Window window, final DO exception.setParentScope(window); exception.setPrototype(window.getPrototype(exception.getClass())); - // get current line and file name - // this method can only be used in interpreted mode. If one day we choose to use compiled mode, - // then we'll have to find an other way here. - final String fileName; - final int lineNumber; - if (Context.getCurrentContext().getOptimizationLevel() == -1) { - final int[] linep = new int[1]; - final String sourceName = new Interpreter().getSourcePositionFromStack(Context.getCurrentContext(), linep); - fileName = sourceName.replaceFirst("script in (.*) from .*", "$1"); - lineNumber = linep[0]; - } - else { - throw new Error("HtmlUnit not ready to run in compiled mode"); - } - - exception.setLocation(fileName, lineNumber); + final EcmaError helper = ScriptRuntime.syntaxError("helper"); + exception.setLocation(helper.lineSource(), helper.lineNumber()); - return new JavaScriptException(exception, fileName, lineNumber); + return new JavaScriptException(exception, helper.lineSource(), helper.lineNumber()); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java index a5989cdf747..9bd7e426a8a 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java @@ -17,6 +17,9 @@ import static org.htmlunit.javascript.configuration.SupportedBrowser.FF; import static org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR; +import java.util.Arrays; +import java.util.List; + import org.htmlunit.javascript.HtmlUnitScriptable; import org.htmlunit.javascript.JavaScriptEngine; import org.htmlunit.javascript.configuration.JsxClass; @@ -36,83 +39,138 @@ */ @JsxClass public class DOMException extends HtmlUnitScriptable { + /** If the specified range of text does not fit into a DOMString. */ @JsxConstant public static final int DOMSTRING_SIZE_ERR = org.w3c.dom.DOMException.DOMSTRING_SIZE_ERR; + /** If any node is inserted somewhere it doesn't belong. */ @JsxConstant public static final int HIERARCHY_REQUEST_ERR = org.w3c.dom.DOMException.HIERARCHY_REQUEST_ERR; + /** If index or size is negative, or greater than the allowed value. */ @JsxConstant public static final int INDEX_SIZE_ERR = org.w3c.dom.DOMException.INDEX_SIZE_ERR; + /** If an attempt is made to add an attribute that is already in use elsewhere. */ @JsxConstant public static final int INUSE_ATTRIBUTE_ERR = org.w3c.dom.DOMException.INUSE_ATTRIBUTE_ERR; + /** If a parameter or an operation is not supported by the underlying object. */ @JsxConstant public static final int INVALID_ACCESS_ERR = org.w3c.dom.DOMException.INVALID_ACCESS_ERR; + /** If an invalid or illegal character is specified, such as in a name. */ @JsxConstant public static final int INVALID_CHARACTER_ERR = org.w3c.dom.DOMException.INVALID_CHARACTER_ERR; + /** If an attempt is made to modify the type of the underlying object. */ @JsxConstant public static final int INVALID_MODIFICATION_ERR = org.w3c.dom.DOMException.INVALID_MODIFICATION_ERR; + /** If an attempt is made to use an object that is not, or is no longer, usable. */ @JsxConstant public static final int INVALID_STATE_ERR = org.w3c.dom.DOMException.INVALID_STATE_ERR; + /** If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces. */ @JsxConstant public static final int NAMESPACE_ERR = org.w3c.dom.DOMException.NAMESPACE_ERR; + /** If data is specified for a node which does not support data. */ @JsxConstant public static final int NO_DATA_ALLOWED_ERR = org.w3c.dom.DOMException.NO_DATA_ALLOWED_ERR; + /** If an attempt is made to modify an object where modifications are not allowed. */ @JsxConstant public static final int NO_MODIFICATION_ALLOWED_ERR = org.w3c.dom.DOMException.NO_MODIFICATION_ALLOWED_ERR; + /** If an attempt is made to reference a node in a context where it does not exist. */ @JsxConstant public static final int NOT_FOUND_ERR = org.w3c.dom.DOMException.NOT_FOUND_ERR; + /** If the implementation does not support the requested type of object or operation. */ @JsxConstant public static final int NOT_SUPPORTED_ERR = org.w3c.dom.DOMException.NOT_SUPPORTED_ERR; + /** If an invalid or illegal string is specified. */ @JsxConstant public static final int SYNTAX_ERR = org.w3c.dom.DOMException.SYNTAX_ERR; + /** If a node is used in a different document than the one that created it (that doesn't support it). */ @JsxConstant public static final int WRONG_DOCUMENT_ERR = org.w3c.dom.DOMException.WRONG_DOCUMENT_ERR; + /** If a call to a method would make the {@code Node} invalid with respect to "partial validity". */ @JsxConstant public static final int VALIDATION_ERR = org.w3c.dom.DOMException.VALIDATION_ERR; + /** If the type of an object is incompatible with the expected type of the parameter. */ @JsxConstant public static final int TYPE_MISMATCH_ERR = org.w3c.dom.DOMException.TYPE_MISMATCH_ERR; + /** Security error. */ @JsxConstant public static final int SECURITY_ERR = 18; + /** Network error. */ @JsxConstant public static final int NETWORK_ERR = 19; + /** Abort error. */ @JsxConstant public static final int ABORT_ERR = 20; + /** URL mismatch error. */ @JsxConstant public static final int URL_MISMATCH_ERR = 21; + /** Quota exceeded error. */ @JsxConstant public static final int QUOTA_EXCEEDED_ERR = 22; + /** Timeout error. */ @JsxConstant public static final int TIMEOUT_ERR = 23; + /** Invalid node type error. */ @JsxConstant public static final int INVALID_NODE_TYPE_ERR = 24; + /** Data clone error. */ @JsxConstant public static final int DATA_CLONE_ERR = 25; + private static final List COMMON_ERROR_NAMES = Arrays.asList(new String[] { + "IndexSizeError", + null, + "HierarchyRequestError", + "WrongDocumentError", + "InvalidCharacterError", + null, + "NoModificationAllowedError", + "NotFoundError", + "NotSupportedError", + null, + "InvalidStateError", + "InUseAttributeError", + null, + "SyntaxError", + "InvalidModificationError", + "NamespaceError", + "InvalidAccessError", + null, + "TypeMismatchError", + "SecurityError", + "NetworkError", + "AbortError", + "URLMismatchError", + "QuotaExceededError", + "TimeoutError", + "InvalidNodeTypeError", + "DataCloneError"}); + private final int code_; + private final String name_; private final String message_; private int lineNumber_; private String fileName_; @@ -121,7 +179,7 @@ public class DOMException extends HtmlUnitScriptable { * Default constructor used to build the prototype. */ public DOMException() { - this(null, -1); + this(null, null); } /** @@ -135,12 +193,27 @@ public void jsConstructor() { /** * Constructor. * @param message the exception message - * @param errorCode the error code + * @param error the error code (text) */ - public DOMException(final String message, final int errorCode) { + public DOMException(final String message, final Object error) { super(); - code_ = errorCode; message_ = message; + + if (error == null) { + code_ = 0; + name_ = "Error"; + return; + } + + name_ = JavaScriptEngine.toString(error); + + final int idx = COMMON_ERROR_NAMES.indexOf(name_); + if (idx != -1) { + code_ = idx; + return; + } + + code_ = 0; } /** @@ -155,6 +228,15 @@ public Object getCode() { return code_; } + /** + * Gets the exception name. + * @return the exception name + */ + @JsxGetter + public String getName() { + return name_; + } + /** * Gets the exception message. * @return the exception message diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index f36aa7e1488..ba479983c6c 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -88,10 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {\n" - + " log('exception');\n" - + " return;" - + " }\n" + + " } catch (e) {log(e.name); return;}\n" + " }\n" + "\n" + " /*\n" @@ -888,10 +885,10 @@ public void element2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @Alerts(CHROME = "TypeError", + EDGE = "TypeError", + FF = "TypeError", + FF_ESR = "TypeError") public void currentStyle() throws Exception { testString("", "document.body.currentStyle"); } @@ -14972,10 +14969,10 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent')"); } @@ -14992,8 +14989,8 @@ public void pointerEvent2() throws Exception { EDGE = "constructor(),deltaMode[GCE],deltaX[GCE],deltaY[GCE],deltaZ[GCE],DOM_DELTA_LINE[E]," + "DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E],wheelDelta[GCE],wheelDeltaX[GCE]," + "wheelDeltaY[GCE]", - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") @HtmlUnitNYI(CHROME = "constructor(),DOM_DELTA_LINE[E],DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E]", EDGE = "constructor(),DOM_DELTA_LINE[E],DOM_DELTA_PAGE[E],DOM_DELTA_PIXEL[E]") public void wheelEvent() throws Exception { @@ -15110,10 +15107,10 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -15124,7 +15121,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -15159,8 +15156,8 @@ public void textEvent() throws Exception { EDGE = "altKey[GCE],changedTouches[GCE],constructor(),ctrlKey[GCE],metaKey[GCE],shiftKey[GCE]," + "targetTouches[GCE]," + "touches[GCE]", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = "constructor()", EDGE = "constructor()") public void touchEvent2() throws Exception { @@ -15839,8 +15836,8 @@ public void blobEvent() throws Exception { EDGE = "altKey[GCE],changedTouches[GCE],constructor(),ctrlKey[GCE],metaKey[GCE],shiftKey[GCE]," + "targetTouches[GCE]," + "touches[GCE]", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = "constructor()", EDGE = "constructor()") public void touchEvent() throws Exception { @@ -15913,8 +15910,8 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", FF = "ADDITION[E],attrChange[GCE],attrName[GCE],constructor(),initMutationEvent(),MODIFICATION[E]," + "newValue[GCE],prevValue[GCE],relatedNode[GCE]," + "REMOVAL[E]", @@ -15933,7 +15930,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } @@ -17695,8 +17692,8 @@ public void mutationObserver() throws Exception { @Test @Alerts(CHROME = "constructor(),disconnect(),observe(),takeRecords()", EDGE = "constructor(),disconnect(),observe(),takeRecords()", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void webKitMutationObserver() throws Exception { testString("", "new WebKitMutationObserver(function(m) {})"); } @@ -18220,4 +18217,44 @@ public void mimeType() throws Exception { public void navigator() throws Exception { testString("", "navigator"); } + + /** + * Test {@link org.htmlunit.javascript.host.dom.DOMException}. + * + * @throws Exception if an error occurs + */ + @Test + @Alerts(CHROME = "ABORT_ERR[E],code[GCE],constructor(),DATA_CLONE_ERR[E],DOMSTRING_SIZE_ERR[E]," + + "HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E],INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E]," + + "INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E],INVALID_NODE_TYPE_ERR[E]," + + "INVALID_STATE_ERR[E],message[GCE],name[GCE],NAMESPACE_ERR[E],NETWORK_ERR[E]," + + "NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E],NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E]," + + "QUOTA_EXCEEDED_ERR[E],SECURITY_ERR[E],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E]," + + "URL_MISMATCH_ERR[E],VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]", + EDGE = "ABORT_ERR[E],code[GCE],constructor(),DATA_CLONE_ERR[E],DOMSTRING_SIZE_ERR[E]," + + "HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E],INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E]," + + "INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E],INVALID_NODE_TYPE_ERR[E]," + + "INVALID_STATE_ERR[E],message[GCE],name[GCE],NAMESPACE_ERR[E],NETWORK_ERR[E]," + + "NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E],NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E]," + + "QUOTA_EXCEEDED_ERR[E],SECURITY_ERR[E],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E]," + + "URL_MISMATCH_ERR[E],VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]", + FF = "ABORT_ERR[E],code[GCE],columnNumber[GCE],constructor(),data[GCE],DATA_CLONE_ERR[E]," + + "DOMSTRING_SIZE_ERR[E],filename[GCE],HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E]," + + "INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E],INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E]," + + "INVALID_NODE_TYPE_ERR[E],INVALID_STATE_ERR[E],lineNumber[GCE],message[GCE],name[GCE]," + + "NAMESPACE_ERR[E],NETWORK_ERR[E],NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E]," + + "NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E],QUOTA_EXCEEDED_ERR[E],result[GCE],SECURITY_ERR[E]," + + "stack[GSCE],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E],URL_MISMATCH_ERR[E]," + + "VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]", + FF_ESR = "ABORT_ERR[E],code[GCE],columnNumber[GCE],constructor(),data[GCE],DATA_CLONE_ERR[E]," + + "DOMSTRING_SIZE_ERR[E],filename[GCE],HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E]," + + "INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E],INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E]," + + "INVALID_NODE_TYPE_ERR[E],INVALID_STATE_ERR[E],lineNumber[GCE],message[GCE],name[GCE]," + + "NAMESPACE_ERR[E],NETWORK_ERR[E],NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E]," + + "NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E],QUOTA_EXCEEDED_ERR[E],result[GCE],SECURITY_ERR[E]," + + "stack[GSCE],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E],URL_MISMATCH_ERR[E]," + + "VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]") + public void domException() throws Exception { + testString("", "new DOMException('message', 'name')"); + } } diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index be50faa89e0..db6796f95e3 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -88,10 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {\n" - + " log('exception');\n" - + " return;" - + " }\n" + + " } catch (e) {log(e.name);return;}\n" + " }\n" + "\n" + " /*\n" @@ -533,7 +530,7 @@ public void element2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void currentStyle() throws Exception { testString("", "document.body.currentStyle"); } @@ -2260,7 +2257,7 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent')"); } @@ -2272,8 +2269,8 @@ public void pointerEvent2() throws Exception { */ @Test @Alerts(DEFAULT = "Symbol(Symbol.toStringTag) [C] [WheelEvent]", - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void wheelEvent() throws Exception { testString("", "document.createEvent('WheelEvent')"); } @@ -2330,7 +2327,7 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -2341,7 +2338,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -2365,8 +2362,8 @@ public void textEvent() throws Exception { */ @Test @Alerts(DEFAULT = "Symbol(Symbol.toStringTag) [C] [TouchEvent]", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void touchEvent2() throws Exception { testString("", "new TouchEvent('touch')"); } @@ -2544,8 +2541,8 @@ public void blobEvent() throws Exception { */ @Test @Alerts(DEFAULT = "Symbol(Symbol.toStringTag) [C] [TouchEvent]", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void touchEvent() throws Exception { testString("", "new TouchEvent('touch')"); } @@ -2589,7 +2586,7 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "NotSupportedError", FF = "Symbol(Symbol.toStringTag) [C] [MutationEvent]", FF_ESR = "Symbol(Symbol.toStringTag) [C] [MutationEvent]") public void mutationEvent() throws Exception { @@ -2602,7 +2599,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } @@ -2958,8 +2955,8 @@ public void mutationObserver() throws Exception { */ @Test @Alerts(DEFAULT = "Symbol(Symbol.toStringTag) [C] [MutationObserver]", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void webKitMutationObserver() throws Exception { testString("", "new WebKitMutationObserver(function(m) {})"); } @@ -3285,4 +3282,18 @@ public void mimeType() throws Exception { public void navigator() throws Exception { testString("", "navigator"); } + + /** + * Test {@link org.htmlunit.javascript.host.dom.DOMException}. + * + * @throws Exception if an error occurs + */ + @Test + @Alerts(CHROME = "Symbol(Symbol.toStringTag) [C] [DOMException]", + EDGE = "Symbol(Symbol.toStringTag) [C] [DOMException]", + FF = "Symbol(Symbol.toStringTag) [C] [DOMException]", + FF_ESR = "Symbol(Symbol.toStringTag) [C] [DOMException]") + public void domException() throws Exception { + testString("", "new DOMException('message', 'name')"); + } } diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index 0f8ff98bc32..dbebb8b2e08 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -88,10 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {\n" - + " log('exception');\n" - + " return;" - + " }\n" + + " } catch (e) {log(e.name);return;}\n" + " }\n" + "\n" + " /*\n" @@ -1038,7 +1035,8 @@ public void event() throws Exception { + "cancelIdleCallback(),captureEvents(),cdc_adoQpoasnfa76pfcZLmcfl_Array()," + "cdc_adoQpoasnfa76pfcZLmcfl_JSON,cdc_adoQpoasnfa76pfcZLmcfl_Object()," + "cdc_adoQpoasnfa76pfcZLmcfl_Promise(),cdc_adoQpoasnfa76pfcZLmcfl_Proxy()," - + "cdc_adoQpoasnfa76pfcZLmcfl_Symbol(),chrome,clearInterval(),clearTimeout(),clientInformation," + + "cdc_adoQpoasnfa76pfcZLmcfl_Symbol(),cdc_adoQpoasnfa76pfcZLmcfl_Window()," + + "chrome,clearInterval(),clearTimeout(),clientInformation," + "close(),closed,confirm(),cookieStore,createImageBitmap(),credentialless,crossOriginIsolated," + "crypto,customElements,devicePixelRatio,dispatchEvent(),document,documentPictureInPicture,event," + "external,fence,fetch(),find(),focus(),frameElement,frames,getComputedStyle(),getScreenDetails()," @@ -3821,10 +3819,10 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent'), document.createEvent('MouseEvent')"); } @@ -3839,8 +3837,8 @@ public void pointerEvent2() throws Exception { + "DOM_DELTA_PIXEL,wheelDelta,wheelDeltaX,wheelDeltaY", EDGE = "deltaMode,deltaX,deltaY,deltaZ,DOM_DELTA_LINE,DOM_DELTA_PAGE," + "DOM_DELTA_PIXEL,wheelDelta,wheelDeltaX,wheelDeltaY", - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") @HtmlUnitNYI(CHROME = "DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL", EDGE = "DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL") public void wheelEvent() throws Exception { @@ -4084,10 +4082,10 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -4098,7 +4096,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -4172,8 +4170,8 @@ public void textEvent() throws Exception { + "srcElement,stopImmediatePropagation(),stopPropagation(),target,targetTouches,timeStamp,touches," + "type,view," + "which", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble," + "CAPTURING_PHASE,composed,currentTarget," + "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault()," @@ -4206,8 +4204,8 @@ public void touchEvent() throws Exception { + "srcElement,stopImmediatePropagation(),stopPropagation(),target,targetTouches,timeStamp,touches," + "type,view," + "which", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed," + "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault()," + "returnValue,srcElement,stopImmediatePropagation(),stopPropagation()," @@ -5910,8 +5908,8 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "exception", - EDGE = "exception", + @Alerts(CHROME = "NotSupportedError", + EDGE = "NotSupportedError", FF = "ADDITION,ALT_MASK,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble," + "CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase," + "explicitOriginalTarget,initEvent(),initMutationEvent(),isTrusted,META_MASK,MODIFICATION,newValue," @@ -5940,7 +5938,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } @@ -8709,8 +8707,8 @@ public void mutationObserver() throws Exception { @Test @Alerts(CHROME = "disconnect(),observe(),takeRecords()", EDGE = "disconnect(),observe(),takeRecords()", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void webKitMutationObserver() throws Exception { testString("", "new WebKitMutationObserver(function(m) {})"); } @@ -9331,4 +9329,40 @@ public void mimeType() throws Exception { public void navigator() throws Exception { testString("", "navigator"); } + + /** + * Test {@link org.htmlunit.javascript.host.dom.DOMException}. + * + * @throws Exception if an error occurs + */ + @Test + @Alerts(CHROME = "ABORT_ERR,code,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,HIERARCHY_REQUEST_ERR,INDEX_SIZE_ERR," + + "INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR,INVALID_CHARACTER_ERR,INVALID_MODIFICATION_ERR," + + "INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR,message,name,NAMESPACE_ERR,NETWORK_ERR," + + "NO_DATA_ALLOWED_ERR,NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR," + + "QUOTA_EXCEEDED_ERR,SECURITY_ERR,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR," + + "VALIDATION_ERR,WRONG_DOCUMENT_ERR", + EDGE = "ABORT_ERR,code,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,HIERARCHY_REQUEST_ERR,INDEX_SIZE_ERR," + + "INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR,INVALID_CHARACTER_ERR,INVALID_MODIFICATION_ERR," + + "INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR,message,name,NAMESPACE_ERR,NETWORK_ERR," + + "NO_DATA_ALLOWED_ERR,NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR," + + "QUOTA_EXCEEDED_ERR,SECURITY_ERR,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR," + + "VALIDATION_ERR,WRONG_DOCUMENT_ERR", + FF = "ABORT_ERR,code,columnNumber,data,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,filename," + + "HIERARCHY_REQUEST_ERR,INDEX_SIZE_ERR,INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR," + + "INVALID_CHARACTER_ERR,INVALID_MODIFICATION_ERR,INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR," + + "lineNumber,message,name,NAMESPACE_ERR,NETWORK_ERR,NO_DATA_ALLOWED_ERR," + + "NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR,QUOTA_EXCEEDED_ERR,result," + + "SECURITY_ERR,stack,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR,VALIDATION_ERR," + + "WRONG_DOCUMENT_ERR", + FF_ESR = "ABORT_ERR,code,columnNumber,data,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,filename," + + "HIERARCHY_REQUEST_ERR,INDEX_SIZE_ERR,INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR," + + "INVALID_CHARACTER_ERR,INVALID_MODIFICATION_ERR,INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR," + + "lineNumber,message,name,NAMESPACE_ERR,NETWORK_ERR,NO_DATA_ALLOWED_ERR," + + "NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR,QUOTA_EXCEEDED_ERR,result," + + "SECURITY_ERR,stack,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR,VALIDATION_ERR," + + "WRONG_DOCUMENT_ERR") + public void domException() throws Exception { + testString("", "new DOMException('message', 'name')"); + } } diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index bcf31699401..a91b4ebbd55 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -47,7 +47,236 @@ public void constants() throws Exception { + " for (var i = 0; i < properties.length; i++) {\n" + " log(DOMException[properties[i]]);\n" + " }\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"IndexSizeError - 1 IndexSizeError", + "INDEX_SIZE_ERR - 0 INDEX_SIZE_ERR", + "HierarchyRequestError - 3 HierarchyRequestError", + "HIERARCHY_REQUEST_ERR - 0 HIERARCHY_REQUEST_ERR", + "WrongDocumentError - 4 WrongDocumentError", + "WRONG_DOCUMENT_ERR - 0 WRONG_DOCUMENT_ERR", + "InvalidCharacterError - 5 InvalidCharacterError", + "INVALID_CHARACTER_ERR - 0 INVALID_CHARACTER_ERR", + "NoModificationAllowedError - 7 NoModificationAllowedError", + "NO_MODIFICATION_ALLOWED_ERR - 0 NO_MODIFICATION_ALLOWED_ERR", + "NotFoundError - 8 NotFoundError", + "NOT_FOUND_ERR - 0 NOT_FOUND_ERR", + "NotSupportedError - 9 NotSupportedError", + "NOT_SUPPORTED_ERR - 0 NOT_SUPPORTED_ERR", + "InvalidStateError - 11 InvalidStateError", + "INVALID_STATE_ERR - 0 INVALID_STATE_ERR", + "InUseAttributeError - 10 InUseAttributeError", + "INUSE_ATTRIBUTE_ERR - 0 INUSE_ATTRIBUTE_ERR", + "SyntaxError - 12 SyntaxError", + "SYNTAX_ERR - 0 SYNTAX_ERR", + "InvalidModificationError - 13 InvalidModificationError", + "INVALID_MODIFICATION_ERR - 0 INVALID_MODIFICATION_ERR", + "NamespaceError - 14 NamespaceError", + "NAMESPACE_ERR - 0 NAMESPACE_ERR", + "InvalidAccessError - 15 InvalidAccessError", + "INVALID_ACCESS_ERR - 0 INVALID_ACCESS_ERR", + "TypeMismatchError - 17 TypeMismatchError", + "TYPE_MISMATCH_ERR - 0 TYPE_MISMATCH_ERR", + "SecurityError - 18 SecurityError", + "SECURITY_ERR - 0 SECURITY_ERR", + "NetworkError - 19 NetworkError", + "NETWORK_ERR - 0 NETWORK_ERR", + "AbortError - 20 AbortError", + "ABORT_ERR - 0 ABORT_ERR", + "URLMismatchError - 21 URLMismatchError", + "URL_MISMATCH_ERR - 0 URL_MISMATCH_ERR", + "QuotaExceededError - 22 QuotaExceededError", + "QUOTA_EXCEEDED_ERR - 0 QUOTA_EXCEEDED_ERR", + "TimeoutError - 23 TimeoutError", + "TIMEOUT_ERR - 0 TIMEOUT_ERR", + "InvalidNodeTypeError - 24 InvalidNodeTypeError", + "INVALID_NODE_TYPE_ERR - 0 INVALID_NODE_TYPE_ERR", + "DataCloneError - 25 DataCloneError", + "DATA_CLONE_ERR - 0 DATA_CLONE_ERR", + "EncodingError - 0 EncodingError", + "NotReadableError - 0 NotReadableError", + "UnknownError - 0 UnknownError", + "ConstraintError - 0 ConstraintError", + "DataError - 0 DataError", + "TransactionInactiveError - 0 TransactionInactiveError", + "ReadOnlyError - 0 ReadOnlyError", + "VersionError - 0 VersionError", + "OperationError - 0 OperationError", + "NotAllowedError - 0 NotAllowedError"}) + public void name() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "urlMismatchERRoR"}) + public void nameCaseSensitive() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "Error"}) + public void nameNotProvided() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "null"}) + public void nameNull() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "Error"}) + public void nameUndefined() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "unKnown"}) + public void nameUnknown() throws Exception { + final String html = "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts({"0", "7"}) + public void nameNumber() throws Exception { + final String html = "\n" + + "\n" + ""; @@ -68,7 +297,7 @@ public void properties() throws Exception { + " log(DOMException.filename);\n" + " log(DOMException.lineNumber);\n" + " log(DOMException.message);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + "\n" + ""; From 949b9e6b424f298a0b95f71261d4134e25b7ec52 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 14:13:12 +0100 Subject: [PATCH 081/516] more fixes for DOMException --- .../htmlunit/javascript/JavaScriptEngine.java | 5 +- .../javascript/host/dom/DOMException.java | 47 +++++++++++-------- .../javascript/host/dom/DOMExceptionTest.java | 1 - 3 files changed, 31 insertions(+), 22 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index ed348347efb..c5d39731031 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1212,9 +1212,10 @@ public static RhinoException asJavaScriptException(final Window window, final DO exception.setPrototype(window.getPrototype(exception.getClass())); final EcmaError helper = ScriptRuntime.syntaxError("helper"); - exception.setLocation(helper.lineSource(), helper.lineNumber()); + final String fileName = helper.sourceName().replaceFirst("script in (.*) from .*", "$1"); + exception.setLocation(fileName, helper.lineNumber()); - return new JavaScriptException(exception, helper.lineSource(), helper.lineNumber()); + return new JavaScriptException(exception, fileName, helper.lineNumber()); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java index 9bd7e426a8a..9293ae1aa27 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java @@ -150,10 +150,8 @@ public class DOMException extends HtmlUnitScriptable { "NoModificationAllowedError", "NotFoundError", "NotSupportedError", - null, - "InvalidStateError", "InUseAttributeError", - null, + "InvalidStateError", "SyntaxError", "InvalidModificationError", "NamespaceError", @@ -169,9 +167,9 @@ public class DOMException extends HtmlUnitScriptable { "InvalidNodeTypeError", "DataCloneError"}); - private final int code_; - private final String name_; - private final String message_; + private int code_; + private String name_; + private String message_; private int lineNumber_; private String fileName_; @@ -179,27 +177,27 @@ public class DOMException extends HtmlUnitScriptable { * Default constructor used to build the prototype. */ public DOMException() { - this(null, null); } /** * JavaScript constructor. + * @param message a description of the exception. If not present, the empty string '' is used + * @param error If the specified name is a standard error name, + * then getting the code property of the DOMException object will return the + * code number corresponding to the specified name. + * If not present, the string 'Error' is used. */ @JsxConstructor - public void jsConstructor() { - // nothing to do - } - - /** - * Constructor. - * @param message the exception message - * @param error the error code (text) - */ - public DOMException(final String message, final Object error) { - super(); + public void jsConstructor(final String message, final Object error) { message_ = message; if (error == null) { + code_ = 0; + name_ = null; + return; + } + + if (JavaScriptEngine.isUndefined(error)) { code_ = 0; name_ = "Error"; return; @@ -209,13 +207,24 @@ public DOMException(final String message, final Object error) { final int idx = COMMON_ERROR_NAMES.indexOf(name_); if (idx != -1) { - code_ = idx; + code_ = idx + 1; return; } code_ = 0; } + /** + * Constructor. + * @param message the exception message + * @param error the error code (on of the constants from the class) + */ + public DOMException(final String message, final int error) { + message_ = message; + code_ = error; + name_ = COMMON_ERROR_NAMES.get(error); + } + /** * Gets the exception code. * @return the exception code diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index a91b4ebbd55..28269cacff3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -316,7 +316,6 @@ public void properties() throws Exception { * Messages: * CHROME: "A Node was inserted somewhere it doesn't belong." * FF: "Node cannot be inserted at the specified point in the hierarchy" - * IE: "HierarchyRequestError" */ public void appendChild_illegal_node() throws Exception { final String html = "\n" From 31305e46150cb5253f16128ecf09557f387ea88d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 14:29:27 +0100 Subject: [PATCH 082/516] Document.createEvent() creates the correct exception when the event type is not supported --- src/changes/changes.xml | 3 ++ .../javascript/host/dom/DOMException.java | 2 +- .../javascript/host/dom/Document.java | 7 +++-- .../general/ElementOwnPropertiesTest.java | 30 ++++++++++++++----- .../ElementOwnPropertySymbolsTest.java | 16 +++++----- .../general/ElementPropertiesTest.java | 22 +++++++++++--- 6 files changed, 57 insertions(+), 23 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5ff2e8bd470..3b8a84cacb2 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Document.createEvent() creates the correct exception when the event type is not supported. + DOMException name property was missing. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java index 9293ae1aa27..e52829d1c8c 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMException.java @@ -222,7 +222,7 @@ public void jsConstructor(final String message, final Object error) { public DOMException(final String message, final int error) { message_ = message; code_ = error; - name_ = COMMON_ERROR_NAMES.get(error); + name_ = COMMON_ERROR_NAMES.get(error - 1); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 2b48776a12b..89b198a9f9d 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -1159,8 +1159,11 @@ && getBrowserVersion().hasFeature(EVENT_ONANIMATION_DOCUMENT_CREATE_NOT_SUPPORTE } if (clazz == null) { - throw JavaScriptEngine.throwAsScriptRuntimeEx(new DOMException(DOMException.NOT_SUPPORTED_ERR, - "Event Type is not supported: " + eventType)); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Event Type '" + eventType + "' is not supported.", + org.htmlunit.javascript.host.dom.DOMException.NOT_SUPPORTED_ERR)); } try { diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index ba479983c6c..9f00e5194dd 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -15391,10 +15391,10 @@ public void slot() throws Exception { + "scrollingElement[GCE],selectedStyleSheetSet[GSCE],styleSheets[GCE],styleSheetSets[GCE]," + "timeline[GCE],title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],write()," + "writeln()") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF_ESR = "exception", - FF = "exception") + @HtmlUnitNYI(CHROME = "InternalError", + EDGE = "InternalError", + FF_ESR = "InternalError", + FF = "InternalError") public void document() throws Exception { testString("", "new Document()"); } @@ -15961,10 +15961,10 @@ public void pageTransitionEvent() throws Exception { EDGE = "constructor(),length[GCE],onaddsourcebuffer[GSCE],onremovesourcebuffer[GSCE]", FF = "constructor(),length[GCE],onaddsourcebuffer[GSCE],onremovesourcebuffer[GSCE]", FF_ESR = "constructor(),length[GCE],onaddsourcebuffer[GSCE],onremovesourcebuffer[GSCE]") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF = "TypeError", + FF_ESR = "TypeError") public void sourceBufferList() throws Exception { testString("var mediaSource = new MediaSource;", "mediaSource.sourceBuffers"); } @@ -18254,6 +18254,20 @@ public void navigator() throws Exception { + "NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E],QUOTA_EXCEEDED_ERR[E],result[GCE],SECURITY_ERR[E]," + "stack[GSCE],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E],URL_MISMATCH_ERR[E]," + "VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]") + @HtmlUnitNYI(FF = "ABORT_ERR[E],code[GCE],constructor(),DATA_CLONE_ERR[E],DOMSTRING_SIZE_ERR[E],filename[GCE]," + + "HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E],INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E]," + + "INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E],INVALID_NODE_TYPE_ERR[E]," + + "INVALID_STATE_ERR[E],lineNumber[GCE],message[GCE],name[GCE],NAMESPACE_ERR[E],NETWORK_ERR[E]," + + "NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E],NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E]," + + "QUOTA_EXCEEDED_ERR[E],SECURITY_ERR[E],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E]," + + "URL_MISMATCH_ERR[E],VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]", + FF_ESR = "ABORT_ERR[E],code[GCE],constructor(),DATA_CLONE_ERR[E],DOMSTRING_SIZE_ERR[E],filename[GCE]," + + "HIERARCHY_REQUEST_ERR[E],INDEX_SIZE_ERR[E],INUSE_ATTRIBUTE_ERR[E],INVALID_ACCESS_ERR[E]," + + "INVALID_CHARACTER_ERR[E],INVALID_MODIFICATION_ERR[E],INVALID_NODE_TYPE_ERR[E]," + + "INVALID_STATE_ERR[E],lineNumber[GCE],message[GCE],name[GCE],NAMESPACE_ERR[E],NETWORK_ERR[E]," + + "NO_DATA_ALLOWED_ERR[E],NO_MODIFICATION_ALLOWED_ERR[E],NOT_FOUND_ERR[E],NOT_SUPPORTED_ERR[E]," + + "QUOTA_EXCEEDED_ERR[E],SECURITY_ERR[E],SYNTAX_ERR[E],TIMEOUT_ERR[E],TYPE_MISMATCH_ERR[E]," + + "URL_MISMATCH_ERR[E],VALIDATION_ERR[E],WRONG_DOCUMENT_ERR[E]") public void domException() throws Exception { testString("", "new DOMException('message', 'name')"); } diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index db6796f95e3..ef2f13ac112 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -2394,10 +2394,10 @@ public void slot() throws Exception { FF_ESR = "Symbol(Symbol.toStringTag) [C] [Document]," + "Symbol(Symbol.unscopables) [C] [{\"fullscreen\":true,\"prepend\":true," + "\"append\":true,\"replaceChildren\":true}]") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "InternalError", + EDGE = "InternalError", + FF = "InternalError", + FF_ESR = "InternalError") public void document() throws Exception { testString("", "new Document()"); } @@ -2620,10 +2620,10 @@ public void pageTransitionEvent() throws Exception { */ @Test @Alerts("Symbol(Symbol.iterator) [WC] [function],Symbol(Symbol.toStringTag) [C] [SourceBufferList]") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF = "TypeError", + FF_ESR = "TypeError") public void sourceBufferList() throws Exception { testString("var mediaSource = new MediaSource;", "mediaSource.sourceBuffers"); } diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index dbebb8b2e08..c82bae60948 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -4434,10 +4434,10 @@ public void slot() throws Exception { + "requestStorageAccess(),rootElement,scripts,scrollingElement,selectedStyleSheetSet,styleSheets," + "styleSheetSets,TEXT_NODE,textContent,timeline,title,URL,visibilityState,vlinkColor,write()," + "writeln()") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF_ESR = "exception", - FF = "exception") + @HtmlUnitNYI(CHROME = "InternalError", + EDGE = "InternalError", + FF_ESR = "InternalError", + FF = "InternalError") public void document() throws Exception { testString("", "new Document()"); } @@ -9362,6 +9362,20 @@ public void navigator() throws Exception { + "NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR,QUOTA_EXCEEDED_ERR,result," + "SECURITY_ERR,stack,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR,VALIDATION_ERR," + "WRONG_DOCUMENT_ERR") + @HtmlUnitNYI(FF = "ABORT_ERR,code,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,filename,HIERARCHY_REQUEST_ERR," + + "INDEX_SIZE_ERR,INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR,INVALID_CHARACTER_ERR," + + "INVALID_MODIFICATION_ERR," + + "INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR,lineNumber,message,name,NAMESPACE_ERR,NETWORK_ERR," + + "NO_DATA_ALLOWED_ERR,NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR," + + "QUOTA_EXCEEDED_ERR,SECURITY_ERR,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR," + + "VALIDATION_ERR,WRONG_DOCUMENT_ERR", + FF_ESR = "ABORT_ERR,code,DATA_CLONE_ERR,DOMSTRING_SIZE_ERR,filename,HIERARCHY_REQUEST_ERR," + + "INDEX_SIZE_ERR,INUSE_ATTRIBUTE_ERR,INVALID_ACCESS_ERR,INVALID_CHARACTER_ERR," + + "INVALID_MODIFICATION_ERR," + + "INVALID_NODE_TYPE_ERR,INVALID_STATE_ERR,lineNumber,message,name,NAMESPACE_ERR,NETWORK_ERR," + + "NO_DATA_ALLOWED_ERR,NO_MODIFICATION_ALLOWED_ERR,NOT_FOUND_ERR,NOT_SUPPORTED_ERR," + + "QUOTA_EXCEEDED_ERR,SECURITY_ERR,SYNTAX_ERR,TIMEOUT_ERR,TYPE_MISMATCH_ERR,URL_MISMATCH_ERR," + + "VALIDATION_ERR,WRONG_DOCUMENT_ERR") public void domException() throws Exception { testString("", "new DOMException('message', 'name')"); } From 5f8c6294ff85cbd62371fa943cf5650e869cdee0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 14:36:23 +0100 Subject: [PATCH 083/516] more on error handling --- .../javascript/host/dom/Document.java | 34 +++++++++---------- .../html/xpath/HtmlUnitXPath2Test.java | 14 ++++---- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 89b198a9f9d..d412211c21f 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -546,28 +546,28 @@ public HtmlUnitScriptable createComment(final String comment) { @JsxFunction public XPathResult evaluate(final String expression, final Node contextNode, final Object resolver, final int type, final Object result) { - try { - XPathResult xPathResult = null; - if (result instanceof XPathResult) { - xPathResult = (XPathResult) result; - - if (getBrowserVersion().hasFeature(JS_DOCUMENT_EVALUATE_RECREATES_RESULT)) { - xPathResult = new XPathResult(); - xPathResult.setParentScope(getParentScope()); - xPathResult.setPrototype(getPrototype(xPathResult.getClass())); - } - } - else if (result == null - || JavaScriptEngine.isUndefined(result) - || result instanceof ScriptableObject) { + XPathResult xPathResult = null; + if (result instanceof XPathResult) { + xPathResult = (XPathResult) result; + + if (getBrowserVersion().hasFeature(JS_DOCUMENT_EVALUATE_RECREATES_RESULT)) { xPathResult = new XPathResult(); xPathResult.setParentScope(getParentScope()); xPathResult.setPrototype(getPrototype(xPathResult.getClass())); } - else { - throw JavaScriptEngine.typeError("Argument 5 of Document.evaluate has to be an XPathResult or null."); - } + } + else if (result == null + || JavaScriptEngine.isUndefined(result) + || result instanceof ScriptableObject) { + xPathResult = new XPathResult(); + xPathResult.setParentScope(getParentScope()); + xPathResult.setPrototype(getPrototype(xPathResult.getClass())); + } + else { + throw JavaScriptEngine.typeError("Argument 5 of Document.evaluate has to be an XPathResult or null."); + } + try { PrefixResolver prefixResolver = null; if (resolver instanceof NativeFunction) { prefixResolver = new NativeFunctionPrefixResolver( diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index f1513098834..f5d018e4450 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -561,7 +561,7 @@ public void minimalParameters() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -591,7 +591,7 @@ public void undefinedResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -606,7 +606,7 @@ public void undefinedResult() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("error") + @Alerts("TypeError") public void stringResult() throws Exception { final String content = "\n" + "\n" @@ -621,7 +621,7 @@ public void stringResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -651,7 +651,7 @@ public void objectResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -696,7 +696,7 @@ public void reuseResult() throws Exception { + " }\n" + " log(res);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -722,7 +722,7 @@ public void documentEvaluateFirst() throws Exception { + " var res = '';\n" + " var result = document.evaluate('//div', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE);\n" + " log(result.singleNodeValue.id);\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + "}\n" + "\n" + "\n" From f7e08a8baa339e58128eca98e0a197a5f6a29a59 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 14:44:32 +0100 Subject: [PATCH 084/516] improved exception tests --- .../html/parser/MalformedHtmlTest.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java index 1820ffe1cf8..59011898f01 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java @@ -368,21 +368,21 @@ public void sectionWithUnknownClosingTag() throws Exception { "innerA", "DIV:null", "1", "#text:X", "false", "true"}) @HtmlUnitNYI( CHROME = {"4", "#text:\\n\\s\\s", "A:null", "A:null", "#text:YZ\\n\\n", - "2", "innerDiv", "A:null", "1", "#text:W", "exception", + "2", "innerDiv", "A:null", "1", "#text:W", "TypeError", "outerA", "BODY:null", "2", "#text:V", "true", "false", - "innerA", "BODY:null", "1", "#text:X", "false", "true", "exception"}, + "innerA", "BODY:null", "1", "#text:X", "false", "true", "TypeError"}, EDGE = {"4", "#text:\\n\\s\\s", "A:null", "A:null", "#text:YZ\\n\\n", - "2", "innerDiv", "A:null", "1", "#text:W", "exception", + "2", "innerDiv", "A:null", "1", "#text:W", "TypeError", "outerA", "BODY:null", "2", "#text:V", "true", "false", - "innerA", "BODY:null", "1", "#text:X", "false", "true", "exception"}, + "innerA", "BODY:null", "1", "#text:X", "false", "true", "TypeError"}, FF = {"4", "#text:\\n\\s\\s", "A:null", "A:null", "#text:YZ\\n\\n", - "2", "innerDiv", "A:null", "1", "#text:W", "exception", + "2", "innerDiv", "A:null", "1", "#text:W", "TypeError", "outerA", "BODY:null", "2", "#text:V", "true", "false", - "innerA", "BODY:null", "1", "#text:X", "false", "true", "exception"}, + "innerA", "BODY:null", "1", "#text:X", "false", "true", "TypeError"}, FF_ESR = {"4", "#text:\\n\\s\\s", "A:null", "A:null", "#text:YZ\\n\\n", - "2", "innerDiv", "A:null", "1", "#text:W", "exception", + "2", "innerDiv", "A:null", "1", "#text:W", "TypeError", "outerA", "BODY:null", "2", "#text:V", "true", "false", - "innerA", "BODY:null", "1", "#text:X", "false", "true", "exception"}) + "innerA", "BODY:null", "1", "#text:X", "false", "true", "TypeError"}) // Input: // V

        Z // CHROME and IE generate: @@ -406,7 +406,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(document.body.childNodes[2]);\n" + " dump(document.body.childNodes[3]);\n" + " log(document.getElementsByTagName('a').length);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " log(innerDiv.id);\n" @@ -415,7 +415,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(innerDiv.childNodes[0]);\n" + " dump(innerDiv.childNodes[1]);\n" + " dump(innerDiv.childNodes[2]);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " log(anchors[0].id);\n" @@ -424,7 +424,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[0].childNodes[0]);\n" + " log(anchors[0] == outerA);\n" + " log(anchors[0] == innerA);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " log(anchors[1].id);\n" @@ -433,7 +433,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[1].childNodes[0]);\n" + " log(anchors[1] == outerA);\n" + " log(anchors[1] == innerA);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " log(anchors[2].id);\n" @@ -442,7 +442,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[2].childNodes[0]);\n" + " log(anchors[2] == outerA);\n" + " log(anchors[2] == innerA);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " function dump(e) {\n" + " log(e.nodeName + ':' + e.nodeValue);\n" From 7b3c02d1364e72274ab1dab21f685d1e4b3c8e5e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 16:11:38 +0100 Subject: [PATCH 085/516] Document.querySelectorAll() throws a SyntaxError if the selector is invalid --- src/changes/changes.xml | 3 +++ .../htmlunit/javascript/JavaScriptEngine.java | 8 +++--- .../org/htmlunit/javascript/host/Element.java | 4 +-- .../javascript/host/dom/Document.java | 6 ++--- .../javascript/host/dom/XPathEvaluator.java | 2 +- .../host/css/CSSFontFaceRuleTest.java | 8 +++--- .../javascript/host/css/CSSSelectorTest.java | 4 +-- .../host/css/CSSStyleDeclarationTest.java | 26 ++++++++----------- .../htmlunit/javascript/host/css/CSSTest.java | 12 ++++----- .../css/ComputedCSSStyleDeclarationTest.java | 6 ++--- 10 files changed, 39 insertions(+), 40 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3b8a84cacb2..215dcb62dd5 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Document.querySelectorAll() throws a SyntaxError if the selector is invalid. + Document.createEvent() creates the correct exception when the event type is not supported. diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index c5d39731031..45da51c9396 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1203,13 +1203,13 @@ public static EcmaError constructError(final String error, final String message) * * Encapsulates the given {@link DOMException} into a Rhino-compatible exception. * - * @param window the window to be used as parent scope + * @param scope the parent scope * @param exception the exception to encapsulate * @return the created exception */ - public static RhinoException asJavaScriptException(final Window window, final DOMException exception) { - exception.setParentScope(window); - exception.setPrototype(window.getPrototype(exception.getClass())); + public static RhinoException asJavaScriptException(final HtmlUnitScriptable scope, final DOMException exception) { + exception.setParentScope(scope); + exception.setPrototype(scope.getPrototype(exception.getClass())); final EcmaError helper = ScriptRuntime.syntaxError("helper"); final String fileName = helper.sourceName().replaceFirst("script in (.*) from .*", "$1"); diff --git a/src/main/java/org/htmlunit/javascript/host/Element.java b/src/main/java/org/htmlunit/javascript/host/Element.java index c9c71943d89..135f5ea6585 100644 --- a/src/main/java/org/htmlunit/javascript/host/Element.java +++ b/src/main/java/org/htmlunit/javascript/host/Element.java @@ -1522,7 +1522,7 @@ public static boolean matches(final Context context, final Scriptable scope, return domNode != null && ((DomElement) domNode).matches(selectorString); } catch (final CSSException e) { - throw JavaScriptEngine.constructError("SyntaxError", + throw JavaScriptEngine.syntaxError( "An invalid or illegal selector was specified (selector: '" + selectorString + "' error: " + e.getMessage() + ")."); } @@ -1578,7 +1578,7 @@ public static Element closest(final Context context, final Scriptable scope, return elem.getScriptableObject(); } catch (final CSSException e) { - throw JavaScriptEngine.constructError("SyntaxError", + throw JavaScriptEngine.syntaxError( "An invalid or illegal selector was specified (selector: '" + selectorString + "' error: " + e.getMessage() + ")."); } diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index d412211c21f..ade74c2e79b 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -969,7 +969,7 @@ public Node querySelector(final String selectors) { return null; } catch (final CSSException e) { - throw JavaScriptEngine.constructError("SyntaxError", + throw JavaScriptEngine.syntaxError( "An invalid or illegal selector was specified (selector: '" + selectors + "' error: " + e.getMessage() + ")."); } @@ -988,7 +988,7 @@ public NodeList querySelectorAll(final String selectors) { return NodeList.staticNodeList(this, getDomNodeOrDie().querySelectorAll(selectors)); } catch (final CSSException e) { - throw JavaScriptEngine.reportRuntimeError("An invalid or illegal selector was specified (selector: '" + throw JavaScriptEngine.syntaxError("An invalid or illegal selector was specified (selector: '" + selectors + "' error: " + e.getMessage() + ")."); } } @@ -1160,7 +1160,7 @@ && getBrowserVersion().hasFeature(EVENT_ONANIMATION_DOCUMENT_CREATE_NOT_SUPPORTE if (clazz == null) { throw JavaScriptEngine.asJavaScriptException( - getWindow(), + this, new org.htmlunit.javascript.host.dom.DOMException( "Event Type '" + eventType + "' is not supported.", org.htmlunit.javascript.host.dom.DOMException.NOT_SUPPORTED_ERR)); diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java index 3c2eddc5749..24bd3fcb380 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathEvaluator.java @@ -149,7 +149,7 @@ else if (resolver instanceof NativeFunction) { return xPathExpression; } catch (final Exception e) { - throw JavaScriptEngine.constructError("SyntaxError", + throw JavaScriptEngine.syntaxError( "Failed to compile xpath '" + args[0] + "' (" + e.getMessage() + ")"); } } diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java index 4688b0e17f0..9d3e9df0e81 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java @@ -52,7 +52,7 @@ public void simple() throws Exception { + " log(rule.type);\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); @@ -78,7 +78,7 @@ public void urlSlashSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); @@ -104,7 +104,7 @@ public void urlSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); @@ -130,7 +130,7 @@ public void urlSlashSlash() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index b17ee276469..dd2c6f9b694 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -189,7 +189,7 @@ public void childSelector_html_body() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void nth_child_no_argument() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 10fa291a1f2..72e393c3123 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -888,7 +888,7 @@ public void getPropertyValue_WithDash() throws Exception { + " try{\n" + " var p = span.style.getPropertyValue(prop);\n" + " log(p);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " function test() {\n" @@ -1276,7 +1276,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1284,7 +1284,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1311,7 +1311,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1319,7 +1319,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1357,13 +1357,13 @@ public void zIndexSetString() throws Exception { + " style.zIndex = '4';\n" + " try {\n" + " style.zIndex = ' ';\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + " style.zIndex = '1';\n" + " try {\n" + " style.zIndex = 'NAN';\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1389,14 +1389,14 @@ public void zIndexSetInvalid() throws Exception { + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { log('error'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(style.zIndex);\n" + "}\n" @@ -3114,16 +3114,12 @@ public void setToNull() throws Exception { + " log(div1.style.border);\n" + " try {\n" + " div1.style.border = null;\n" - + " } catch (e) {\n" - + " log('error');\n" - + " }\n" + + " } catch (e) {log(e.name);}\n" + " log(div1.style.border);\n" + " log(div1.style.display);\n" + " try {\n" + " div1.style.display = null;\n" - + " } catch (e) {\n" - + " log('error');\n" - + " }\n" + + " } catch (e) {log(e.name);}\n" + " log(div1.style.display);\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java index 52e3be49f2c..ca9572a1dcc 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java @@ -43,7 +43,7 @@ public void global() throws Exception { + " try {\n" + " log(CSS);" + " log(CSS.prototype);" - + " } catch (e) { log('Exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -54,7 +54,7 @@ public void global() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("ctor Exception") + @Alerts("TypeError") public void constructor() throws Exception { final String html = "\n" @@ -64,7 +64,7 @@ public void constructor() throws Exception { + " try {\n" + " var o = Object.create(CSS.prototype);\n" + " log(o);" - + " } catch (e) { log('ctor Exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -85,7 +85,7 @@ public void supports() throws Exception { + " log(CSS.supports('display', 'flex'));" + " log(CSS.supports('display', 'grid'));" + " log(CSS.supports('color', 'red'));" - + " } catch (e) { log('Exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -105,7 +105,7 @@ public void supportsCondition() throws Exception { + " try {\n" + " log(CSS.supports('display: flex'));" + " log(CSS.supports('color: red'));" - + " } catch (e) { log('Exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -129,7 +129,7 @@ public void supportsSelector() throws Exception { + " try {\n" + " log(CSS.supports('selector(div)'));" + " log(CSS.supports('selector(div, span)'));" - + " } catch (e) { log('Exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index 331c303992c..0db0722cf96 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -125,7 +125,7 @@ public void stringProperties() throws Exception { + " if(typeof s1 == 'string')\n" + " array.push(i + '=' + s1 + ':' + s2);\n" + " }\n" - + "} catch (e) { array[array.length] = 'exception'; }\n" + + "} catch (e) { array[array.length] = e.name; }\n" + "array.sort();\n" + "document.getElementById('myTextarea').value = array.join('\\n');\n" + ""; @@ -162,7 +162,7 @@ public void stringPropertiesNotAttached() throws Exception { + " if(typeof s1 == 'string')\n" + " array.push(i + '=' + s1 + ':' + s2);\n" + " }\n" - + "} catch (e) { array[array.length] = 'exception'; }\n" + + "} catch (e) { array[array.length] = e.name; }\n" + "array.sort();\n" + "document.getElementById('myTextarea').value = array.join('\\n');\n" + ""; @@ -1624,7 +1624,7 @@ public void getPropertyValue() throws Exception { + " var s = window.getComputedStyle(d, null);\n" + " log(s.getPropertyValue('test'));\n" + " log(s.getPropertyValue('color'));\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" From f04c1a9e06ab4eb47c52d300a813d14323231d88 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 16:16:26 +0100 Subject: [PATCH 086/516] more on error handling --- .../javascript/host/html/HTMLFormElement.java | 4 ++-- .../java/org/htmlunit/html/HtmlFieldSetTest.java | 4 +--- .../java/org/htmlunit/html/HtmlForm2Test.java | 16 ++++++++-------- .../canvas/CanvasRenderingContext2DTest.java | 4 ++-- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java index a1abc475604..95601c7ce9d 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java @@ -533,7 +533,7 @@ public Object get(final int index, final Scriptable start) { */ @Override public Object call(final Context cx, final Scriptable scope, final Scriptable thisObj, final Object[] args) { - throw JavaScriptEngine.reportRuntimeError("Not a function."); + throw JavaScriptEngine.typeError("Not a function."); } /** @@ -541,7 +541,7 @@ public Object call(final Context cx, final Scriptable scope, final Scriptable th */ @Override public Scriptable construct(final Context cx, final Scriptable scope, final Object[] args) { - throw JavaScriptEngine.reportRuntimeError("Not a function."); + throw JavaScriptEngine.typeError("Not a function."); } @Override diff --git a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java index 4fef865d2aa..f70f4461d25 100644 --- a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java @@ -88,9 +88,7 @@ public void align() throws Exception { + " function set(fs, value) {\n" + " try {\n" + " fs.align = value;\n" - + " } catch (e) {\n" - + " log('error');\n" - + " }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " var fs1 = document.getElementById('fs1');\n" + " var fs2 = document.getElementById('fs2');\n" diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index 72bb9960fdb..2ad3f1fd457 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -123,7 +123,7 @@ public void formsAccessor_FormsAsFunction2() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"error", "error", "error"}) + @Alerts({"TypeError", "TypeError", "TypeError"}) public void asFunction() throws Exception { final String html = "\n" @@ -131,9 +131,9 @@ public void asFunction() throws Exception { + LOG_TITLE_FUNCTION + "function test() {\n" + " var f1 = document.forms[0];\n" - + " try { log(f1('textfieldid').id) } catch (e) { log('error') }\n" - + " try { log(f1('textfieldname').name) } catch (e) { log('error') }\n" - + " try { log(f1(0).id) } catch (e) { log('error') }\n" + + " try { log(f1('textfieldid').id) } catch (e) { log(e.name) }\n" + + " try { log(f1('textfieldname').name) } catch (e) { log(e.name) }\n" + + " try { log(f1(0).id) } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "

        hello world

        \n" @@ -159,10 +159,10 @@ public void asFunctionFormsFunction() throws Exception { + "function test() {\n" + " try {\n" + " var f1 = document.forms(0);\n" - + " try { log(f1('textfieldid').id) } catch (e) { log('error') }\n" - + " try { log(f1('textfieldname').name) } catch (e) { log('error') }\n" - + " try { log(f1(0).id) } catch (e) { log('error') }\n" - + " } catch (e) { log('TypeError') }\n" + + " try { log(f1('textfieldid').id) } catch (e) { log(e.name) }\n" + + " try { log(f1('textfieldname').name) } catch (e) { log(e.name) }\n" + + " try { log(f1(0).id) } catch (e) { log(e.name) }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "

        hello world

        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index 2cbd7789c50..db30ea13df7 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -215,7 +215,7 @@ public void drawImage_noImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); @@ -247,7 +247,7 @@ public void drawImage_invalidImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); From 2da940371c467f49cd753b65fb291e9d4ceafdf0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 16:25:05 +0100 Subject: [PATCH 087/516] add JakartaEE TCK --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9102f708bcf..b383900bae3 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ HtmlUnit is used by many projects for automated web testing * [Apache Maven Surefire](https://maven.apache.org/surefire/) * [JSCover](http://tntim96.github.io/JSCover/) * [Apache Jackrabbit](https://jackrabbit.apache.org/jcr/index.html) + * [JakartaEE TCK](https://github.com/jakartaee/platform-tck) * [OpenXava](https://github.com/openxava/openxava) * [Cargo](https://github.com/codehaus-cargo/cargo) * ... From 8bfd9e19df29a57f59e6f1b3ba6027bbfcb339eb Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 16:27:20 +0100 Subject: [PATCH 088/516] code style --- .../javascript/host/dom/DOMExceptionTest.java | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index 28269cacff3..c09fa4618f3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -173,9 +173,9 @@ public void nameCaseSensitive() throws Exception { + "\n" + ""; @@ -193,9 +193,9 @@ public void nameNotProvided() throws Exception { + "\n" + ""; @@ -213,9 +213,9 @@ public void nameNull() throws Exception { + "\n" + ""; @@ -233,9 +233,9 @@ public void nameUndefined() throws Exception { + "\n" + ""; @@ -253,9 +253,9 @@ public void nameUnknown() throws Exception { + "\n" + ""; @@ -273,9 +273,9 @@ public void nameNumber() throws Exception { + "\n" + ""; From e7b2b7c74fa87fda0bddddaa1ee082aa67677aef Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 18:11:21 +0100 Subject: [PATCH 089/516] pmd 7.10.0 --- pom.xml | 2 +- src/test/java/org/htmlunit/ExternalTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8b1e2a6b795..020644263f4 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ 10.21.2 4.9.0 - 7.9.0 + 7.10.0 4.13.2 1.3.0 10.0.4 diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java index 36aa1566f37..2ce64fc81b8 100644 --- a/src/test/java/org/htmlunit/ExternalTest.java +++ b/src/test/java/org/htmlunit/ExternalTest.java @@ -95,7 +95,7 @@ public void pom() throws Exception { } if (line.contains("artifactId") && !line.contains(">htmlunit<") - && !line.contains(">selenium-devtools-v131<")) { + && !line.contains(">selenium-devtools-v")) { final String artifactId = getValue(line); final String groupId = getValue(lines.get(i - 1)); if (!lines.get(i + 1).contains("")) { From 57da32c287ef04bc057dc1f933eaf8e9d918425d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 18:17:59 +0100 Subject: [PATCH 090/516] more on error handling --- .../javascript/host/dom/CharacterData.java | 12 +++++-- .../host/dom/AbstractRangeTest.java | 2 +- .../host/dom/CharacterDataTest.java | 34 +++++++++---------- 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java index 5f60ec3f4d1..d715dac606d 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java @@ -91,12 +91,20 @@ public void appendData(final String arg) { @JsxFunction public void deleteData(final int offset, final int count) { if (offset < 0) { - throw JavaScriptEngine.reportRuntimeError("Provided offset: " + offset + " is less than zero."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Provided offset: " + offset + " is less than zero.", + org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR)); } final DomCharacterData domCharacterData = getDomCharacterDataOrDie(); if (offset > domCharacterData.getLength()) { - throw JavaScriptEngine.reportRuntimeError("Provided offset: " + offset + " is greater than length."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Provided offset: " + offset + " is greater than length.", + org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR)); } domCharacterData.deleteData(offset, count); diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 264a996e53b..80cf9b9d0a1 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -60,7 +60,7 @@ public void ctor() throws Exception { + " function test() {\n" + " try {\n" + " new AbstractRange();\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java index b7a25a07af9..38390beecb6 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java @@ -143,27 +143,27 @@ public void deleteData() throws Exception { + " try {\n" + " text1.deleteData(5, 11);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(4, 5);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(1, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; @@ -189,22 +189,22 @@ public void deleteDataEmptyImput() throws Exception { + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(0, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(0, -1);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "
        -
        "; @@ -216,7 +216,7 @@ public void deleteDataEmptyImput() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception", "exception", "exception"}) + @Alerts({"IndexSizeError", "IndexSizeError", "IndexSizeError", "IndexSizeError"}) public void deleteDataInvalidStart() throws Exception { final String html = "\n" @@ -228,22 +228,22 @@ public void deleteDataInvalidStart() throws Exception { + " try {\n" + " text1.deleteData(-1, 4);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(20, 4);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(20, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(20, -18);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "
        abcde
        "; @@ -267,17 +267,17 @@ public void deleteDataNegativeCount() throws Exception { + " try {\n" + " text1.deleteData(18, -15);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(5, -4);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " try {\n" + " text1.deleteData(2, -4);\n" + " log(text1.data);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; From 4f9c94d28176f7ef81923efef0c3d1540a79ad2a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 18:34:32 +0100 Subject: [PATCH 091/516] more on error handling --- .../javascript/host/canvas/ImageData.java | 33 +++++++++++++++---- .../javascript/host/canvas/ImageDataTest.java | 17 +++++----- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java index bacb7483690..eddc8c68826 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java @@ -25,6 +25,7 @@ import org.htmlunit.javascript.configuration.JsxClass; import org.htmlunit.javascript.configuration.JsxConstructor; import org.htmlunit.javascript.configuration.JsxGetter; +import org.htmlunit.javascript.host.dom.DOMException; import org.htmlunit.platform.canvas.rendering.RenderingBackend; /** @@ -61,7 +62,7 @@ public ImageData() { public static ImageData jsConstructor(final Context cx, final Scriptable scope, final Object[] args, final Function ctorObj, final boolean inNewExpr) { if (args.length < 2) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - too less arguments"); + throw JavaScriptEngine.typeError("ImageData ctor - too less arguments"); } NativeUint8ClampedArray data = null; @@ -70,7 +71,11 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, if (args[0] instanceof NativeUint8ClampedArray) { data = (NativeUint8ClampedArray) args[0]; if (data.getArrayLength() % 4 != 0) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - data length mod 4 not zero"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), + new DOMException( + "ImageData ctor - data length mod 4 not zero", + DOMException.INVALID_STATE_ERR)); } width = (int) JavaScriptEngine.toInteger(args[1]); @@ -78,7 +83,11 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, height = data.getArrayLength() / 4 / width; if (data.getArrayLength() != 4 * width * height) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - width not correct"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), + new DOMException( + "ImageData ctor - width not correct", + DOMException.INDEX_SIZE_ERR)); } } else { @@ -86,7 +95,11 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, } if (data.getArrayLength() != 4 * width * height) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - width/height not correct"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), + new DOMException( + "ImageData ctor - width/height not correct", + DOMException.INDEX_SIZE_ERR)); } } else { @@ -95,10 +108,18 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, } if (width < 0) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - width negative"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), + new DOMException( + "ImageData ctor - width negative", + DOMException.INDEX_SIZE_ERR)); } if (height < 0) { - throw JavaScriptEngine.reportRuntimeError("ImageData ctor - height negative"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), + new DOMException( + "ImageData ctor - height negative", + DOMException.INDEX_SIZE_ERR)); } final ImageData result = new ImageData(null, 0, 0, width, height); diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java index 5eff0110aef..ef41f0eabdd 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java @@ -122,7 +122,8 @@ public void ctorArrayWidthHeight() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"exception", "exception", "exception", "exception", "exception", "exception", "exception"}) + @Alerts({"TypeError", "IndexSizeError", "IndexSizeError", "IndexSizeError", + "IndexSizeError", "InvalidStateError", "IndexSizeError"}) public void ctorArrayInvalid() throws Exception { final String html = "\n" From 0d311a1fe5d0f0ec57ea9b092108374943fba61d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 19:17:59 +0100 Subject: [PATCH 092/516] more on error handling --- .../javascript/host/dom/Document.java | 13 ++- .../javascript/host/html/HTMLDocument.java | 6 +- .../org/htmlunit/html/HtmlInput2Test.java | 6 +- .../org/htmlunit/html/HtmlScript2Test.java | 2 +- .../javascript/host/dom/Document2Test.java | 4 +- .../host/dom/DocumentFragmentTest.java | 2 +- .../javascript/host/dom/DocumentTest.java | 83 +++++++------------ 7 files changed, 54 insertions(+), 62 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index ade74c2e79b..06c1563a459 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -616,7 +616,11 @@ public HtmlUnitScriptable createElement(final Object tagName) { if (LOG.isInfoEnabled()) { LOG.info("createElement: Provided string '" + tagNameString + "' contains an invalid character"); } - throw JavaScriptEngine.reportRuntimeError("String contains an invalid character"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "createElement: Provided string '" + tagNameString + "' contains an invalid character", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); } for (int i = 1; i < tagNameString.length(); i++) { final int c = tagNameString.charAt(i); @@ -629,7 +633,12 @@ public HtmlUnitScriptable createElement(final Object tagName) { LOG.info("createElement: Provided string '" + tagNameString + "' contains an invalid character"); } - throw JavaScriptEngine.reportRuntimeError("String contains an invalid character"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "createElement: Provided string '" + tagNameString + + "' contains an invalid character", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); } } } diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java index 5416aef66c2..fceafee38fd 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java @@ -501,7 +501,11 @@ private void implicitCloseIfNecessary() { */ @Override public Node appendChild(final Object childObject) { - throw JavaScriptEngine.reportRuntimeError("Node cannot be inserted at the specified point in the hierarchy."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Node cannot be inserted at the specified point in the hierarchy.", + org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR)); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index 128be9056d3..03256822ba2 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -42,7 +42,7 @@ public final class HtmlInput2Test extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"null", "error", "handler", "null", "error"}) + @Alerts({"null", "TypeError", "handler", "null", "TypeError"}) public void onchangeDirectCall() throws Exception { final String html = "\n" @@ -55,7 +55,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + " elem.onchange = handler;\n" + " elem.onchange();\n" @@ -65,7 +65,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {log('error')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index 795bac75e62..a248a508cac 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -462,7 +462,7 @@ public void setTextMultipleTextNodes() throws Exception { + " script.appendChild(document.createTextNode('log(\"2\");'));\n" + " script.text = 'log(\"3\");';\n" + " document.body.appendChild(script);\n" - + " } catch (e) {log('exception');}\n" + + " } catch (e) {log(e.name);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 68b291c8b8c..eacd2b52a6a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -56,7 +56,7 @@ public void createElementWithAngleBrackets() throws Exception { + " var select = document.createElement('\n" @@ -2578,7 +2562,7 @@ public void documentCloneNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void createStyleSheet() throws Exception { final String html = "\n" @@ -2587,10 +2571,7 @@ public void createStyleSheet() throws Exception { + "try {\n" + " var s = document.createStyleSheet('foo.css', 1);\n" + " log(s);\n" - + "}\n" - + "catch(ex) {\n" - + " log('exception');\n" - + "}\n" + + "} catch(e) {log(e.name);}\n" + "\n" + ""; @@ -2653,7 +2634,7 @@ public void createEvent_HTMLEvents() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void createEvent_Bogus() throws Exception { createEvent("Bogus"); } @@ -2670,7 +2651,7 @@ private void createEvent(final String eventType) throws Exception { + " log(e);\n" + " log(e.cancelable);\n" + "}\n" - + "catch (e) { log('exception') }\n" + + "catch (e) { log(e.name) }\n" + "\n" + ""; @@ -2697,7 +2678,7 @@ public void createEvent_target() throws Exception { + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " log(event.target);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " \n" + " \n" @@ -2724,7 +2705,7 @@ public void createEvent_overridden() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " \n" + " \n" @@ -2752,7 +2733,7 @@ public void createEvent_caller() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " \n" + " \n" @@ -2809,7 +2790,7 @@ public void caller_event() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void createEventObject_IE() throws Exception { final String html = "\n" @@ -2820,9 +2801,7 @@ public void createEventObject_IE() throws Exception { + " log(e != null);\n" + " log(typeof e);\n" + " log(e);\n" - + "} catch(ex) {\n" - + " log('exception');\n" - + "}\n" + + "} catch(e) {log(e.name);}\n" + "\n" + ""; @@ -3714,10 +3693,10 @@ public void useInWeakSet() throws Exception { */ @Test @Alerts({"about:blank", "about:blank", "undefined", "null", "null"}) - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "InternalError", + EDGE = "InternalError", + FF = "InternalError", + FF_ESR = "InternalError") public void newDoc() throws Exception { final String html = "\n" + "\n" @@ -3733,7 +3712,7 @@ public void newDoc() throws Exception { + " log(doc.origin);\n" + " log(doc.firstElementChild);\n" + " log(doc.defaultView);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" From b5976cf2d3dd6e78793395bea339994b82a1d507 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 19:34:51 +0100 Subject: [PATCH 093/516] more on error handling --- .../htmlunit/javascript/host/dom/Node.java | 29 +++++++---- .../javascript/host/dom/DOMParserTest.java | 2 +- .../javascript/host/dom/NodeTest.java | 52 +++++++++---------- 3 files changed, 47 insertions(+), 36 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Node.java b/src/main/java/org/htmlunit/javascript/host/dom/Node.java index 3bf950c40cb..ac6169872aa 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Node.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Node.java @@ -277,8 +277,10 @@ protected Node insertBeforeImpl(final Object[] args) { // is the node allowed here? if (!isNodeInsertable(newChild)) { - throw JavaScriptEngine.constructError("ReferenceError", - "Node cannot be inserted at the specified point in the hierarchy"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException("Node cannot be inserted at the specified point in the hierarchy", + DOMException.HIERARCHY_REQUEST_ERR)); } final DomNode newChildNode = newChild.getDomNodeOrDie(); @@ -318,7 +320,10 @@ else if (refChildObject == null) { domNode.insertBefore(newChildNode, refChildNode); } catch (final org.w3c.dom.DOMException e) { - throw JavaScriptEngine.constructError("ReferenceError", e.getMessage()); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException(e.getMessage(), + org.htmlunit.javascript.host.dom.DOMException.NOT_FOUND_ERR)); } return newChild; } @@ -362,9 +367,12 @@ public Node removeChild(final Object childObject) { final DomNode childDomNode = childObjectNode.getDomNodeOrDie(); if (!getDomNodeOrDie().isAncestorOf(childDomNode)) { - throw JavaScriptEngine.throwAsScriptRuntimeEx( - new Exception("NotFoundError: Failed to execute 'removeChild' on '" - + this + "': The node to be removed is not a child of this node.")); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Failed to execute 'removeChild' on '" + + this + "': The node to be removed is not a child of this node.", + org.htmlunit.javascript.host.dom.DOMException.NOT_FOUND_ERR)); } // Remove the child from the parent node childDomNode.remove(); @@ -406,8 +414,11 @@ public Node replaceChild(final Object newChildObject, final Object oldChildObjec // is the node allowed here? if (!isNodeInsertable(newChild)) { - throw JavaScriptEngine.reportRuntimeError( - "Node cannot be inserted at the specified point in the hierarchy"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "Node cannot be inserted at the specified point in the hierarchy", + org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR)); } // Get XML nodes for the DOM nodes passed in @@ -728,7 +739,7 @@ public Node getRootNode() { @JsxFunction public int compareDocumentPosition(final Object node) { if (!(node instanceof Node)) { - throw JavaScriptEngine.reportRuntimeError("Could not convert JavaScript argument arg 0"); + throw JavaScriptEngine.typeError("Could not convert JavaScript argument arg 0"); } return getDomNodeOrDie().compareDocumentPosition(((Node) node).getDomNodeOrDie()); } diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index d1ec6ef44a3..227c949370a 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -45,7 +45,7 @@ public void scriptableToString() throws Exception { + " function test() {\n" + " try {\n" + " log(new DOMParser());\n" - + " } catch (e) {log('exception');}\n" + + " } catch (e) {log(e.name);}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index db3918a5dc6..5d43328d557 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -128,7 +128,7 @@ public void remove() throws Exception { + " div1.remove();\n" + " log(document.body.childNodes.length);\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -162,7 +162,7 @@ public void removeChild() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotFoundError") public void removeChildSibling() throws Exception { final String html = "\n" + "\n" @@ -340,7 +340,7 @@ public void nodeType() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("TypeError") public void attachEvent() throws Exception { final String html = "\n" + "hi"; @@ -693,7 +693,7 @@ public void documentPositionConstants() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "20", "20", "4", "10", "10", "2", "20", "exception"}) + @Alerts({"0", "20", "20", "4", "10", "10", "2", "20", "TypeError"}) public void compareDocumentPosition() throws Exception { final String html = "\n" @@ -715,7 +715,7 @@ public void compareDocumentPosition() throws Exception { + " log(div2.compareDocumentPosition(div3));\n" + " try {\n" + " log(div2.compareDocumentPosition({}));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "
        \n" @@ -746,7 +746,7 @@ public void compareDocumentPosition2() throws Exception { + " log(div.compareDocumentPosition(childDiv) & Node.DOCUMENT_POSITION_CONTAINED_BY);\n" + " div.appendChild(childDiv);\n" + " log(div.compareDocumentPosition(childDiv) & Node.DOCUMENT_POSITION_CONTAINED_BY);\n" - + " } catch(e) {log('exception');}\n" + + " } catch(e) {log(e.name);}\n" + " }\n" + "\n" + ""; @@ -839,7 +839,7 @@ public void insertBefore_nullRef() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotFoundError") public void insertBefore_myself() throws Exception { insertBefore("aNode.insertBefore(newNode, newNode);"); } @@ -848,7 +848,7 @@ public void insertBefore_myself() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotFoundError") public void insertBefore_sibling() throws Exception { insertBefore("aNode.insertBefore(newNode, siblingNode);"); } @@ -868,7 +868,7 @@ public void insertBefore_undefinedRef() throws Exception { + " e.innerHTML = 'new element';\n" + " document.body.insertBefore(e, undefined);\n" + " log('done');" - + " } catch(e) {log('exception');}\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + "\n" @@ -883,7 +883,7 @@ public void insertBefore_undefinedRef() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void insertBefore_noArgs() throws Exception { insertBefore("aNode.insertBefore();"); } @@ -894,7 +894,7 @@ public void insertBefore_noArgs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void insertBefore_noSecondArg() throws Exception { insertBefore("aNode.insertBefore(newNode);"); } @@ -916,7 +916,7 @@ private void insertBefore(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { log('exception'); }\n" + + " catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -943,7 +943,7 @@ public void insertBeforeFragment_nullRef() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotFoundError") public void insertBeforeFragment_myself() throws Exception { insertBeforeFragment("aNode.insertBefore(fragment, fragment);"); } @@ -952,7 +952,7 @@ public void insertBeforeFragment_myself() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void insertBeforeFragment_sibling() throws Exception { insertBeforeFragment("aNode.insertBefore(fragment, siblingNode);"); } @@ -963,7 +963,7 @@ public void insertBeforeFragment_sibling() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void insertBeforeFragment_noSecondArg() throws Exception { insertBeforeFragment("aNode.insertBefore(fragment);"); } @@ -985,7 +985,7 @@ private void insertBeforeFragment(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { log('exception'); }\n" + + " catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1050,7 +1050,7 @@ public void insertBefore_inTable() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("TypeError") public void insertBefore_newElement() throws Exception { final String html = "\n" + "\n" + "\n" @@ -1186,7 +1186,7 @@ public void addEventListener() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void event() throws Exception { final String firstHtml = "\n" + "First Page\n" @@ -1217,7 +1217,7 @@ public void event() throws Exception { + " function test() {\n" + " try {\n" + " parent.document.body.attachEvent('onclick', handler);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + " \n" From f64b322b4964aee6a7a971e63e06df0188b887bd Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 19:43:52 +0100 Subject: [PATCH 094/516] more on error handling --- .../htmlunit/html/parser/HTMLParser2Test.java | 16 ++++++++-------- .../htmlunit/html/parser/HTMLParser4Test.java | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java index 288e18ba3e2..e1160364b1d 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java @@ -651,7 +651,7 @@ public void divInsideButton() throws Exception { + " log(tmp.tagName);\n" + " tmp = tmp.firstChild.tagName;\n" + " log(tmp);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -680,7 +680,7 @@ public void objectInsideLabel() throws Exception { + " log(tmp.tagName);\n" + " tmp = tmp.firstChild.tagName;\n" + " log(tmp);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -843,7 +843,7 @@ public void ieConditionalCommentsNotInDom() throws Exception { + " log(tmp.innerHTML);\n" + " tmp = document.getElementById('my2');\n" + " log(tmp.innerHTML);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -977,7 +977,7 @@ public void selfClosingIframe() throws Exception { + " log(child2.nodeName);\n" + " log(child2.nodeValue);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1015,7 +1015,7 @@ public void dlShouldCloseDt() throws Exception { + " var child2 = child.childNodes[0];\n" + " log(child2.childNodes.length + '-' + child2.nodeType + '#' +child2.nodeName);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1047,7 +1047,7 @@ public void innerHtmlParagraph() throws Exception { + " var child = tmp.childNodes[0];\n" + " log(child.childNodes.length + '-' + child.nodeType + '#' + child.nodeName);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1080,7 +1080,7 @@ public void styleInsideP() throws Exception { + " tmp = tmp.nextSibling;\n" + " log(tmp.textContent);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1107,7 +1107,7 @@ public void styleInsideTable() throws Exception { + " tmp = tmp.firstChild;\n" + " log(tmp.tagName);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java index 0c734736516..f6b9c94b11d 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java @@ -743,7 +743,7 @@ public void setCompleteHtmlToHTML_innerHTML() throws Exception { + " document.getElementsByTagName('html')[0].innerHTML =" + " 'Inner Html" + "
        Inner DIV
        ';\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " \n" + "\n" + "\n"; From 838ad52ccf7687b9fe9d8c960820ec8971844c5b Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 31 Jan 2025 19:57:10 +0100 Subject: [PATCH 095/516] more on error handling --- .../host/arrays/ArrayBufferTest.java | 8 +++---- .../host/arrays/ArrayBufferViewTest.java | 4 +--- .../javascript/host/arrays/DataViewTest.java | 18 ++++---------- .../host/arrays/Float32ArrayTest.java | 8 ++----- .../host/arrays/Float64ArrayTest.java | 8 ++----- .../host/arrays/Int16ArrayTest.java | 24 +++++-------------- .../host/arrays/Int32ArrayTest.java | 8 ++----- .../javascript/host/arrays/Int8ArrayTest.java | 16 ++++--------- .../host/arrays/SharedArrayBufferTest.java | 4 +--- .../host/arrays/Uint16ArrayTest.java | 8 ++----- .../host/arrays/Uint32ArrayTest.java | 12 +++------- .../host/arrays/Uint8ArrayTest.java | 16 ++++--------- .../host/arrays/Uint8ClampedArrayTest.java | 8 ++----- 13 files changed, 37 insertions(+), 105 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java index 25bdeac53c6..ab4621eb9ee 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java @@ -133,7 +133,7 @@ public void sliceInvalidStartIndexNumberString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("RangeError") public void sliceInvalidStartIndexDouble() throws Exception { sliceInvalidIndex("2.14"); } @@ -151,7 +151,7 @@ public void sliceInvalidStartIndexString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("RangeError") public void sliceInvalidStartIndexTrue() throws Exception { sliceInvalidIndex("true"); } @@ -253,9 +253,7 @@ private void sliceInvalidIndex(final String index) throws Exception { + " for(var i = 0; i < y.length; i++) {\n" + " log(y[i]);\n" + " }\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java index b27ad1f2101..0885e8236d0 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java @@ -139,9 +139,7 @@ public void ctorInvalidValuesFloat() throws Exception { + " for(var i = 0; i < x.length; i++) {\n" + " log(x[i]);\n" + " }\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java index 47228fe6dc8..d17b9b24f4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java @@ -48,9 +48,7 @@ public void arrayConstruction() throws Exception { + " x.setFloat32(1, Math.PI);\n" + " log(x.getInt8(0));\n" + " log(x.getFloat32(1));\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -82,9 +80,7 @@ public void endian() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -110,9 +106,7 @@ public void uint16() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -124,7 +118,7 @@ public void uint16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void nullConstructor() throws Exception { final String html = "\n" @@ -133,9 +127,7 @@ public void nullConstructor() throws Exception { + "function test() {\n" + " try {\n" + " new DataView(null);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java index 4f0a32cf628..c36e9118d7b 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java @@ -47,9 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -180,9 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Float32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java index 002a6bc4185..db22e13ae21 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java @@ -47,9 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -180,9 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Float64Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java index 1bf3ad61881..96ae553d473 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java @@ -47,9 +47,7 @@ public void buffer() throws Exception { + " log(array.buffer);\n" + " log(array.byteLength);\n" + " log(array.byteOffset);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -73,9 +71,7 @@ public void arrayConstructor() throws Exception { + " log(array[0]);\n" + " log(array[1]);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -96,9 +92,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Int16Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -122,9 +116,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -149,9 +141,7 @@ public void outOfRange() throws Exception { + " array[1] = 12;\n" + " array[2] = 13;\n" + " log(array[2]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -282,9 +272,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int16Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java index 7789db9530e..dc4b10e64b3 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java @@ -47,9 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -180,9 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java index ddd93d5eabb..18fd47315ad 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java @@ -48,9 +48,7 @@ public void buffer() throws Exception { + " log(array.buffer);\n" + " log(array.byteLength);\n" + " log(array.byteOffset);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -74,9 +72,7 @@ public void arrayConstructor() throws Exception { + " log(array[0]);\n" + " log(array[1]);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -121,9 +117,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Int8Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -254,9 +248,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int8Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java index a2cb5256b63..bc122b18625 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java @@ -245,9 +245,7 @@ private void sliceInvalidIndex(final String index) throws Exception { + " for(var i = 0; i < y.length; i++) {\n" + " log(y[i]);\n" + " }\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java index 9237a635b26..badc95175ca 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java @@ -48,9 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -181,9 +179,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint16Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java index e60ff09e4ce..3faefe448b4 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java @@ -48,9 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -71,9 +69,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Uint32Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -204,9 +200,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java index 57f85f55eaa..fd57eeef963 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java @@ -48,9 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -181,9 +179,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint8Array(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -211,9 +207,7 @@ public void defineProperty() throws Exception { + " });\n" + " log(array);\n" + " log(array[Symbol]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -235,9 +229,7 @@ public void emptyConstructor() throws Exception { + " try {\n" + " var array = new Uint8Array();\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java index 5dc1cc20a57..b87cb3fcdda 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java @@ -49,9 +49,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; @@ -182,9 +180,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint8ClampedArray(null);\n" + " log(array.length);\n" - + " } catch(e) {\n" - + " log('exception');\n" - + " }\n" + + " } catch(e) {log(e.name);}\n" + "}\n" + "\n" + ""; From 052939d82d8cb605b1407d2af345bd5bf194c084 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 15:07:33 +0100 Subject: [PATCH 096/516] disable bidi, too many tests are failing --- src/test/java/org/htmlunit/WebDriverTestCase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/htmlunit/WebDriverTestCase.java b/src/test/java/org/htmlunit/WebDriverTestCase.java index 766dbc3379c..cbfd45a7871 100644 --- a/src/test/java/org/htmlunit/WebDriverTestCase.java +++ b/src/test/java/org/htmlunit/WebDriverTestCase.java @@ -506,7 +506,7 @@ protected WebDriver buildWebDriver() throws IOException { final EdgeOptions options = new EdgeOptions(); // BiDi - options.setCapability("webSocketUrl", true); + // options.setCapability("webSocketUrl", true); options.addArguments("--lang=" + locale); options.addArguments("--remote-allow-origins=*"); @@ -542,7 +542,7 @@ protected WebDriver buildWebDriver() throws IOException { final ChromeOptions options = new ChromeOptions(); // BiDi - options.setCapability("webSocketUrl", true); + // options.setCapability("webSocketUrl", true); options.addArguments("--lang=" + locale); options.addArguments("--remote-allow-origins=*"); @@ -597,7 +597,7 @@ private FirefoxDriver createFirefoxDriver(final String geckodriverBinary, final final FirefoxOptions options = new FirefoxOptions(); // BiDi - options.setCapability("webSocketUrl", true); + // options.setCapability("webSocketUrl", true); options.setBinary(binary); From 9e36c945ef036d886448c551732b7daa263580ed Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 18:25:21 +0100 Subject: [PATCH 097/516] Selection.getRangeAt() throws an IndexSizeError --- .../java/org/htmlunit/javascript/host/dom/Selection.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java index 176b082b121..82b317f44bf 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java @@ -204,7 +204,11 @@ public void removeAllRanges() { public Range getRangeAt(final int index) { final List ranges = getRanges(); if (index < 0 || index >= ranges.size()) { - throw JavaScriptEngine.reportRuntimeError("Invalid range index: " + index); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Invalid range index: " + index, + DOMException.INDEX_SIZE_ERR)); } final SimpleRange range = ranges.get(index); final Range jsRange = new Range(range); From 27a10ceb3337528ca9d32ec55a8861a9d22d27be Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 18:26:26 +0100 Subject: [PATCH 098/516] Document.createElementNS() throws a TypeError --- src/main/java/org/htmlunit/javascript/host/dom/Document.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 06c1563a459..af02677c782 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -698,7 +698,7 @@ private static boolean isLetter(final int codePoint) { @JsxFunction public HtmlUnitScriptable createElementNS(final String namespaceURI, final String qualifiedName) { if ("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul".equals(namespaceURI)) { - throw JavaScriptEngine.reportRuntimeError("XUL not available"); + throw JavaScriptEngine.typeError("XUL not available"); } final org.w3c.dom.Element element; From 84241a1193f5e10698d0e372ec27236fb91d5705 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 18:27:55 +0100 Subject: [PATCH 099/516] Accessing a HTMLDocument without a js peer throws a TypeError --- .../java/org/htmlunit/javascript/host/html/HTMLDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java index fceafee38fd..329c73a4561 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java @@ -119,7 +119,7 @@ public DomNode getDomNodeOrDie() { return super.getDomNodeOrDie(); } catch (final IllegalStateException e) { - throw JavaScriptEngine.reportRuntimeError("No node attached to this object"); + throw JavaScriptEngine.typeError("No node attached to this object"); } } From 1c8842802b1c0144b371d68bb02985b923792c36 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 19:06:56 +0100 Subject: [PATCH 100/516] more on error handling --- src/changes/changes.xml | 36 +++++++++++++++++++ .../org/htmlunit/javascript/host/Element.java | 10 ++++-- .../host/html/HTMLOptionsCollection.java | 9 +++-- .../host/html/HTMLTableElement.java | 6 ++-- .../host/html/HTMLTableRowElement.java | 15 ++++++-- .../javascript/host/html/RowContainer.java | 9 +++-- 6 files changed, 72 insertions(+), 13 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 215dcb62dd5..b2bf75861ad 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,42 @@ + + HTMLTableElement/HTMLTableRowElement several fixes to throw the correct error. + + + Element.querySelectorAll()/querySelector() throws a SyntaxError. + + + HTMLOptionsCollection.add() throws a NotFoundError. + + + Accessing a HTMLDocument without a js peer throws a TypeError. + + + Document.createElementNS() throws a TypeError. + + + Document.createElementNS() throws a TypeError. + + + Selection.getRangeAt() throws an IndexSizeError. + + + Node.replaceChild()/removeChild()/insertBefore() several fixes to throw the correct error. + + + HTMLDocument.appendChild() throws HierarchyRequstError. + + + Document.createElement() throws InvalidCharacterError. + + + ImageData.ctor() various fixes to throw the correct error in different situations. + + + CharacterData.deleteData() throws an IndexSizeError. + Document.querySelectorAll() throws a SyntaxError if the selector is invalid. diff --git a/src/main/java/org/htmlunit/javascript/host/Element.java b/src/main/java/org/htmlunit/javascript/host/Element.java index 135f5ea6585..3dc7a694261 100644 --- a/src/main/java/org/htmlunit/javascript/host/Element.java +++ b/src/main/java/org/htmlunit/javascript/host/Element.java @@ -508,7 +508,7 @@ public NodeList querySelectorAll(final String selectors) { return NodeList.staticNodeList(this, getDomNodeOrDie().querySelectorAll(selectors)); } catch (final CSSException e) { - throw JavaScriptEngine.reportRuntimeError("An invalid or illegal selector was specified (selector: '" + throw JavaScriptEngine.syntaxError("An invalid or illegal selector was specified (selector: '" + selectors + "' error: " + e.getMessage() + ")."); } } @@ -528,7 +528,7 @@ public Node querySelector(final String selectors) { return null; } catch (final CSSException e) { - throw JavaScriptEngine.reportRuntimeError("An invalid or illegal selector was specified (selector: '" + throw JavaScriptEngine.syntaxError("An invalid or illegal selector was specified (selector: '" + selectors + "' error: " + e.getMessage() + ")."); } } @@ -929,7 +929,11 @@ public void setOuterHTML(final Object value) { final DomNode parent = domNode.getParentNode(); if (null == parent) { if (getBrowserVersion().hasFeature(JS_OUTER_HTML_THROWS_FOR_DETACHED)) { - throw JavaScriptEngine.reportRuntimeError("outerHTML is readonly for detached nodes"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + "outerHTML is readonly for detached nodes", + org.htmlunit.javascript.host.dom.DOMException.NO_MODIFICATION_ALLOWED_ERR)); } return; } diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java index c59ff421af8..deee7d0c11b 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java @@ -17,7 +17,6 @@ import org.htmlunit.SgmlPage; import org.htmlunit.WebAssert; import org.htmlunit.corejs.javascript.Context; -import org.htmlunit.corejs.javascript.EvaluatorException; import org.htmlunit.corejs.javascript.Scriptable; import org.htmlunit.corejs.javascript.ScriptableObject; import org.htmlunit.html.ElementFactory; @@ -31,6 +30,7 @@ import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; import org.htmlunit.javascript.configuration.JsxSymbol; +import org.htmlunit.javascript.host.dom.DOMException; /** * This is the array returned by the "options" property of Select. @@ -257,7 +257,12 @@ public void add(final Object newOptionObject, final Object beforeOptionObject) { else if (beforeOptionObject instanceof HTMLOptionElement) { beforeOption = (HtmlOption) ((HTMLOptionElement) beforeOptionObject).getDomNodeOrDie(); if (beforeOption.getParentNode() != htmlSelect_) { - throw new EvaluatorException("Unknown option."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Unknown option.", + DOMException.NOT_FOUND_ERR)); + } } diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java index 5bb3f36ae3c..01a34a89d72 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableElement.java @@ -80,7 +80,7 @@ public HtmlUnitScriptable getCaption() { @JsxSetter public void setCaption(final Object o) { if (!(o instanceof HTMLTableCaptionElement)) { - throw JavaScriptEngine.reportRuntimeError("Not a caption"); + throw JavaScriptEngine.typeError("Not a caption"); } // remove old caption (if any) @@ -112,7 +112,7 @@ public HtmlUnitScriptable getTFoot() { public void setTFoot(final Object o) { if (!(o instanceof HTMLTableSectionElement && "TFOOT".equals(((HTMLTableSectionElement) o).getTagName()))) { - throw JavaScriptEngine.reportRuntimeError("Not a tFoot"); + throw JavaScriptEngine.typeError("Not a tFoot"); } // remove old caption (if any) @@ -144,7 +144,7 @@ public HtmlUnitScriptable getTHead() { public void setTHead(final Object o) { if (!(o instanceof HTMLTableSectionElement && "THEAD".equals(((HTMLTableSectionElement) o).getTagName()))) { - throw JavaScriptEngine.reportRuntimeError("Not a tHead"); + throw JavaScriptEngine.typeError("Not a tHead"); } // remove old caption (if any) diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java index 410236f11dc..6d90d0c9b88 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java @@ -31,6 +31,7 @@ import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; +import org.htmlunit.javascript.host.dom.DOMException; /** * The JavaScript object {@code HTMLTableRowElement}. @@ -153,7 +154,11 @@ public HtmlUnitScriptable insertCell(final Object index) { } return getScriptableFor(newCell); } - throw JavaScriptEngine.reportRuntimeError("Index or size is negative or greater than the allowed amount"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Index or size is negative or greater than the allowed amount", + DOMException.INDEX_SIZE_ERR)); } /** @@ -166,7 +171,7 @@ public HtmlUnitScriptable insertCell(final Object index) { @JsxFunction public void deleteCell(final Object index) { if (JavaScriptEngine.isUndefined(index)) { - throw JavaScriptEngine.reportRuntimeError("No enough arguments"); + throw JavaScriptEngine.typeError("No enough arguments"); } int position = (int) JavaScriptEngine.toNumber(index); @@ -178,7 +183,11 @@ public void deleteCell(final Object index) { } final boolean indexValid = position >= -1 && position <= htmlRow.getCells().size(); if (!indexValid) { - throw JavaScriptEngine.reportRuntimeError("Index or size is negative or greater than the allowed amount"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Index or size is negative or greater than the allowed amount", + DOMException.INDEX_SIZE_ERR)); } htmlRow.getCell(position).remove(); diff --git a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java index 8328f49eb03..c90e1bbc90e 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java @@ -27,6 +27,7 @@ import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; +import org.htmlunit.javascript.host.dom.DOMException; /** * Superclass for all row-containing JavaScript host classes, including tables, @@ -107,8 +108,12 @@ public HtmlUnitScriptable insertRow(final Object index) { } if (r < 0 || r > rowCount) { - throw JavaScriptEngine.reportRuntimeError("Index or size is negative or greater than the allowed amount " - + "(index: " + rowIndex + ", " + rowCount + " rows)"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Index or size is negative or greater than the allowed amount " + + "(index: " + rowIndex + ", " + rowCount + " rows)", + DOMException.INDEX_SIZE_ERR)); } return insertRow(r); From 8f255868e94fabec61714d9c3bd845bdd94f968a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 19:07:21 +0100 Subject: [PATCH 101/516] more on error handling --- .../javascript/host/html/EnumeratorTest.java | 10 +- .../host/html/HTMLAllCollectionTest.java | 8 +- .../host/html/HTMLAnchorElement2Test.java | 12 +-- .../host/html/HTMLAreaElementTest.java | 4 +- .../host/html/HTMLAudioElementTest.java | 18 ++-- .../host/html/HTMLBaseElementTest.java | 2 +- .../host/html/HTMLBaseFontElementTest.java | 10 +- .../host/html/HTMLBodyElementTest.java | 6 +- .../host/html/HTMLButtonElementTest.java | 2 +- .../host/html/HTMLCanvasElementTest.java | 4 +- .../host/html/HTMLCollectionTest.java | 38 ++++---- .../host/html/HTMLDListElementTest.java | 2 +- .../host/html/HTMLDirectoryElementTest.java | 2 +- .../host/html/HTMLDocumentTest.java | 91 ++++++++++--------- .../host/html/HTMLDocumentWrite2Test.java | 2 +- .../host/html/HTMLElement2Test.java | 8 +- .../javascript/host/html/HTMLElementTest.java | 80 ++++++++-------- .../host/html/HTMLFormElementTest.java | 34 +++---- .../host/html/HTMLFrameElement2Test.java | 2 +- .../host/html/HTMLHtmlElementTest.java | 2 +- .../host/html/HTMLLabelElementTest.java | 10 +- .../host/html/HTMLLinkElementTest.java | 10 +- .../host/html/HTMLMediaElementTest.java | 2 +- .../host/html/HTMLOListElementTest.java | 2 +- .../host/html/HTMLObjectElement2Test.java | 2 +- .../host/html/HTMLOptionElement2Test.java | 6 +- .../host/html/HTMLOptionsCollectionTest.java | 22 ++--- .../host/html/HTMLScriptElementTest.java | 18 ++-- .../host/html/HTMLSelectElementTest.java | 32 +++---- .../host/html/HTMLTableElementTest.java | 28 +++--- .../host/html/HTMLTableRowElementTest.java | 16 ++-- .../html/HTMLTableSectionElementTest.java | 2 +- .../host/html/HTMLTemplateElementTest.java | 4 +- .../host/html/HTMLUListElementTest.java | 2 +- .../host/html/HTMLVideoElementTest.java | 18 ++-- 35 files changed, 260 insertions(+), 251 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java index f5938ba7b22..87396dd60c1 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java @@ -48,7 +48,7 @@ public void basicEmptyEnumerator() throws Exception { + " log(en.moveNext());\n" + " log(en.item());\n" + " log(en.atEnd());\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -79,7 +79,7 @@ public void basicEnumerator() throws Exception { + " log(en.moveNext());\n" + " log(en.item());\n" + " log(en.atEnd());\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -105,7 +105,7 @@ public void basicEnumeratorWrongType() throws Exception { + " if (typeof(Enumerator) != 'undefined') {\n" + " try {\n" + " var en = new Enumerator(window);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -144,7 +144,7 @@ public void formEnumerator() throws Exception { + " for( ; !e.atEnd(); e.moveNext()) {\n" + " log(e.item().id);\n" + " }\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -170,7 +170,7 @@ public void item() throws Exception { + " if (typeof(Enumerator) != 'undefined') {\n" + " try {\n" + " log(new Enumerator(form).item().TyPe);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java index a983913f98c..0f1f295b350 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java @@ -305,7 +305,7 @@ private void item(final String name) throws Exception { + " try {\n" + " var item = document.all.item(" + name + ");\n" + " report(item);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -423,7 +423,7 @@ private void arrayIndex(final String name) throws Exception { + " try {\n" + " var item = document.all[" + name + "];\n" + " report(item);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -541,7 +541,7 @@ private void functionIndex(final String name) throws Exception { + " try {\n" + " var item = document.all(" + name + ");\n" + " report(item);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -567,7 +567,7 @@ public void type() throws Exception { + " try {\n" + " log(document.all);\n" + " log(HTMLAllCollection);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java index ff50e3b558e..a0ef39aa2cf 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java @@ -618,7 +618,7 @@ public void typeof() throws Exception { + " log(document.links[0]);\n" + " log(typeof document.links[0]);\n" + " log(HTMLAnchorElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -1080,7 +1080,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1117,7 +1117,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1146,7 +1146,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1183,7 +1183,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1220,7 +1220,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java index 43a337e3d2a..37c6ff7da03 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java @@ -75,7 +75,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLAreaElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -211,7 +211,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java index 407cbc1e476..bf47b26e7c6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java @@ -44,7 +44,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLAudioElement.prototype == null);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -67,7 +67,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLAudioElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -93,7 +93,7 @@ public void nodeTypeName() throws Exception { + " var audio = document.getElementById('a');\n" + " log(audio.nodeType);" + " log(audio.nodeName);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -475,7 +475,7 @@ public void src() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -503,7 +503,7 @@ public void srcChild() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -526,7 +526,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('a').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -548,7 +548,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -571,7 +571,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -594,7 +594,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java index d9ed5196c12..48150161d93 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java @@ -72,7 +72,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLBaseElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java index a8d371f57f2..a711309c561 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java @@ -75,7 +75,7 @@ public void size() throws Exception { + " base.size = 42;\n" + " log(base.size);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + " \n" @@ -105,7 +105,7 @@ public void face() throws Exception { + " base.face = 'helvetica';\n" + " log(base.face);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + " \n" @@ -135,7 +135,7 @@ public void color() throws Exception { + " base.color = 'blue';\n" + " log(base.color);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + " \n" @@ -150,7 +150,7 @@ public void color() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"[object HTMLElement]", "exception"}) + @Alerts({"[object HTMLElement]", "ReferenceError"}) public void type() throws Exception { final String html = "" + "\n" @@ -161,7 +161,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLBaseFontElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java index d0e74b36aee..b921f8d755c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java @@ -72,7 +72,7 @@ public void defaultPaddingAndMargins() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void attachEvent() throws Exception { final String html = "\n" @@ -85,7 +85,7 @@ public void attachEvent() throws Exception { + " function test() {\n" + " try {\n" + " document.body.attachEvent('onclick', handler);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -315,7 +315,7 @@ public void enumeratedProperties() throws Exception { + " for (var i in HTMLBodyElement)\n" + " str += i + ', ';\n" + " log(str);\n" - + " } catch (e) { log('exception')}\n" + + " } catch (e) { log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java index 41d250c0263..1285080b017 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java @@ -81,7 +81,7 @@ public void type() throws Exception { + " log(b.type);\n" + " try {\n" + " b.type = 'button';\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " log(b.type);\n" + " b.removeAttribute('type');\n" + " log(b.type);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java index 80b83bb3959..26e4a84e353 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java @@ -130,7 +130,7 @@ public void toDataUrl() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL());\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + "\n" + "\n" + ""; @@ -207,7 +207,7 @@ public void toDataUrlPng() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL('image/png'));\n" + "}\n" - + "catch (e) { log('exception'); }\n" + + "catch (e) { log(e.name); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java index 62e0d5d1158..79cd733b06e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java @@ -77,7 +77,7 @@ public void toStringFunction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"4", "exception"}) + @Alerts({"4", "HierarchyRequestError"}) public void getElements() throws Exception { final String html = "\n" @@ -88,7 +88,7 @@ public void getElements() throws Exception { + " try {\n" + " document.appendChild(document.createElement('div'));\n" + " log(document.all.length);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + "\n" @@ -186,7 +186,7 @@ public void tags() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"null", "null", "undefined", "exception"}) + @Alerts({"null", "null", "undefined", "TypeError"}) public void outOfBoundAccess() throws Exception { final String html = "\n" + "\n" + ""; @@ -362,7 +362,7 @@ public void forOf() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + "\n" + "\n" @@ -400,7 +400,7 @@ public void forOfDynamicAtEnd() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + "\n" + "\n" @@ -438,7 +438,7 @@ public void forOfDynamicAtStart() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + "\n" + "\n" @@ -565,7 +565,7 @@ private void item(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col.item(" + name + "));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -682,7 +682,7 @@ private void arrayIndex(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col[" + name + "]);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -697,7 +697,7 @@ private void arrayIndex(final String name) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_Unknown() throws Exception { functionIndex("'foo'"); } @@ -706,7 +706,7 @@ public void functionIndex_Unknown() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_ById() throws Exception { functionIndex("'b2'"); } @@ -715,7 +715,7 @@ public void functionIndex_ById() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_ByName() throws Exception { functionIndex("'button2'"); } @@ -724,7 +724,7 @@ public void functionIndex_ByName() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_NegativIndex() throws Exception { functionIndex("-1"); } @@ -733,7 +733,7 @@ public void functionIndex_NegativIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_ZeroIndex() throws Exception { functionIndex("0"); } @@ -742,7 +742,7 @@ public void functionIndex_ZeroIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_ValidIndex() throws Exception { functionIndex("1"); } @@ -751,7 +751,7 @@ public void functionIndex_ValidIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_DoubleIndex() throws Exception { functionIndex("1.1"); } @@ -760,7 +760,7 @@ public void functionIndex_DoubleIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_InvalidIndex() throws Exception { functionIndex("2"); } @@ -769,7 +769,7 @@ public void functionIndex_InvalidIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void functionIndex_IndexAsString() throws Exception { functionIndex("'2'"); } @@ -799,7 +799,7 @@ private void functionIndex(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col(" + name + "));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java index b743b140539..a431f0724ad 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('dl1').type = 'I';\n" + " log(document.getElementById('dl1').type);\n" - + " try { document.getElementById('dl1').type = 'u' } catch(e) {log('exception');}\n" + + " try { document.getElementById('dl1').type = 'u' } catch(e) {log(e.name);}\n" + " log(document.getElementById('dl1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java index b618837db9c..7a0409337b0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('dir1').type = 'I';\n" + " log(document.getElementById('dir1').type);\n" - + " try { document.getElementById('dir1').type = 'u' } catch(e) {log('exception');}\n" + + " try { document.getElementById('dir1').type = 'u' } catch(e) {log(e.name);}\n" + " log(document.getElementById('dir1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java index 7d31caad0a0..1728c843c29 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java @@ -134,7 +134,7 @@ public void getElementsByClassName() throws Exception { // + " log(document.getElementsByClassName().length);\n" // exception in FF3 + " log(document.getElementsByClassName(null).length);\n" + " }\n" - + " catch (e) { log('exception') }\n" + + " catch (e) { log(e.name) }\n" + "}\n" + "\n" + "
        hello\n" @@ -340,7 +340,7 @@ public void createDocumentNS_svg() throws Exception { + "try {\n" + " var elt = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n" + " log(elt);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -370,7 +370,11 @@ public void createElementNS() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF = "NS_ERROR_NOT_AVAILABLE", + FF_ESR = "NS_ERROR_NOT_AVAILABLE") + @HtmlUnitNYI(FF = "TypeError", + FF_ESR = "TypeError") public void createDocumentNS_xul() throws Exception { final String html = "\n" + "\n" + "\n" + ""; @@ -456,7 +460,7 @@ public void importNode_script() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedScript, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + " \n" @@ -491,7 +495,7 @@ public void importNode_scriptChild() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedDiv, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "}\n" + "\n" + " \n" @@ -531,7 +535,7 @@ public void dispatchEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"undefined", "exception"}) + @Alerts({"undefined", "TypeError"}) public void namespaces() throws Exception { final String html = ""; loadPageVerifyTitle2(html); @@ -561,16 +565,21 @@ public void namespaces() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts({"TypeError", "TypeError"}) public void documentMethodsWithoutDocument() throws Exception { final String html = "
        d
        \n" + ""; loadPageVerifyTitle2(html); } @@ -664,7 +673,7 @@ public void prefix() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = {"0", "exception"}, + @Alerts(DEFAULT = {"0", "IndexSizeError"}, FF = {"1", "[object HTMLBodyElement]"}, FF_ESR = {"1", "[object HTMLBodyElement]"}) public void designMode_selectionRange_empty() throws Exception { @@ -677,7 +686,7 @@ public void designMode_selectionRange_empty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = {"0", "exception"}, + @Alerts(DEFAULT = {"0", "IndexSizeError"}, FF = {"1", "[object Text]"}, FF_ESR = {"1", "[object Text]"}) public void designMode_selectionRange_text() throws Exception { @@ -695,7 +704,7 @@ private void designMode_selectionRange(final String bodyContent) throws Exceptio + " var s = window.getSelection();\n" + " log(s.rangeCount);\n" + " log(s.getRangeAt(0).startContainer);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + "}\n" + "\n" + "" // no \n here! @@ -1174,7 +1183,7 @@ public void equalityViaDifferentPaths() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void getBoxObjectFor() throws Exception { final String html = "\n" + "
        \n" @@ -1266,7 +1275,7 @@ private void queryCommandSupported(final String... commands) throws Exception { + " else\n" + " cmdsNotSupported[cmdsNotSupported.length] = cmd;\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(nbSupported + ' commands supported');\n" + " if (nbSupported != 0 && cmdsNotSupported.length > 0)\n" + " log('not supported: ' + cmdsNotSupported.join(', '));\n" @@ -1330,7 +1339,7 @@ public void querySelectorAllType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void querySelectorAll_badSelector() throws Exception { for (final String selector : JQUERY_CUSTOM_SELECTORS) { doTestQuerySelectorAll_badSelector(selector); @@ -1343,7 +1352,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex + "try {\n" + " document.querySelectorAll('" + selector + "');\n" + " log('working');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1353,7 +1362,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void querySelector_badSelector() throws Exception { for (final String selector : JQUERY_CUSTOM_SELECTORS) { doTestQuerySelector_badSelector(selector); @@ -1366,7 +1375,7 @@ private void doTestQuerySelector_badSelector(final String selector) throws Excep + "try {\n" + " document.querySelector('" + selector + "');\n" + " log('working: " + selector + "');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1630,7 +1639,7 @@ public void writeCookieExpired() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidCharacterError") public void createElement_notOnlyTagName() throws Exception { final String html = "\n" + "\n" + ""; @@ -2292,7 +2301,7 @@ public void setCapture() throws Exception { + " function test() {\n" + " try {\n" + " log(document.setCapture);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2308,8 +2317,8 @@ public void setCapture() throws Exception { */ @Test @Alerts(DEFAULT = {"undefined", "releaseCapture available"}, - CHROME = "exception", - EDGE = "exception") + CHROME = "TypeError", + EDGE = "TypeError") public void releaseCapture() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -2319,7 +2328,7 @@ public void releaseCapture() throws Exception { + " try {\n" + " log(document.releaseCapture());\n" + " log('releaseCapture available');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2347,7 +2356,7 @@ public void type() throws Exception { + " try {\n" + " log(document);\n" + " log(HTMLDocument);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2696,7 +2705,7 @@ public void childElementCount() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void embeds() throws Exception { final String html = "" + "\n" @@ -2705,7 +2714,7 @@ public void embeds() throws Exception { + " function test() {\n" + " try {\n" + " log(document.embeds(0));\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2720,7 +2729,7 @@ public void embeds() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"1", "exception"}) + @Alerts({"1", "TypeError"}) public void plugins() throws Exception { final String html = "" + "\n" @@ -2730,7 +2739,7 @@ public void plugins() throws Exception { + " try {\n" + " log(document.plugins.length);\n" + " log(document.plugins(0));\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2745,7 +2754,7 @@ public void plugins() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void images() throws Exception { final String html = "" + "\n" @@ -2754,7 +2763,7 @@ public void images() throws Exception { + " function test() {\n" + " try {\n" + " log(document.images(0));\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2822,7 +2831,7 @@ public void setBody() throws Exception { + " newBody.id = 'newBody';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2836,7 +2845,7 @@ public void setBody() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"myBody", "exception"}) + @Alerts({"myBody", "HierarchyRequestError"}) public void setBodyDiv() throws Exception { final String html = "" + "\n" @@ -2850,7 +2859,7 @@ public void setBodyDiv() throws Exception { + " newDiv.id = 'newDiv';\n" + " document.body = newDiv;\n" + " log(document.body.id);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2864,7 +2873,7 @@ public void setBodyDiv() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"myBody", "exception"}) + @Alerts({"myBody", "TypeError"}) public void setBodyString() throws Exception { final String html = "" + "\n" @@ -2877,7 +2886,7 @@ public void setBodyString() throws Exception { + " var newBody = '';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -2905,7 +2914,7 @@ public void setBodyFrameset() throws Exception { + " newBody.id = 'newFrameset';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java index 06b37953f8a..b6f2f81beba 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java @@ -421,7 +421,7 @@ public void write_fromScriptAddedWithAppendChild_inline() throws Exception { + " var t = document.createTextNode(\"document.write('in inline script'); document.title = 'done';\");\n" + " s.appendChild(t);\n" + " document.body.appendChild(s);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "
        "; final WebDriver driver = loadPage2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java index fdd518c826c..0bc24dd39e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java @@ -1568,7 +1568,7 @@ public void querySelectorAllOnDisconnectedElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void querySelectorAll_badSelector() throws Exception { for (final String selector : HTMLDocumentTest.JQUERY_CUSTOM_SELECTORS) { doTestQuerySelectorAll_badSelector(selector); @@ -1588,7 +1588,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex + "try {\n" + " document.getElementById('it').querySelectorAll('" + selector + "');\n" + " log('working: " + selector + "');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -1598,7 +1598,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void querySelector_badSelector() throws Exception { for (final String selector : HTMLDocumentTest.JQUERY_CUSTOM_SELECTORS) { doTestQuerySelector_badSelector(selector); @@ -1611,7 +1611,7 @@ private void doTestQuerySelector_badSelector(final String selector) throws Excep + "try {\n" + " document.getElementById('it').querySelector('" + selector + "');\n" + " log('working " + selector + "');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index c3cf6b1b30a..a5b88a4556d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -997,7 +997,7 @@ public void setInnerHTMLExecuteNestedJavaScript() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void setInnerHTMLDeclareJavaScript() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + "\n" @@ -1533,8 +1533,8 @@ public void setOuterHTMLDetachedElementNull() throws Exception { @Test @Alerts(DEFAULT = {"Old = Old outerHTML", "New = Old outerHTML", "Children: 1"}, - CHROME = {"Old = Old outerHTML", "exception"}, - EDGE = {"Old = Old outerHTML", "exception"}) + CHROME = {"Old = Old outerHTML", "NoModificationAllowedError"}, + EDGE = {"Old = Old outerHTML", "NoModificationAllowedError"}) public void setOuterHTMLDetachedElementUndefined() throws Exception { final String html = "\n" + "\n" @@ -1548,7 +1548,7 @@ public void setOuterHTMLDetachedElementUndefined() throws Exception { + " myNode.outerHTML = undefined;\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1581,7 +1581,7 @@ public void setOuterHTMLDetachedElementEmpty() throws Exception { + " myNode.outerHTML = '';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1599,8 +1599,8 @@ public void setOuterHTMLDetachedElementEmpty() throws Exception { @Test @Alerts(DEFAULT = {"Old = Old outerHTML", "New = Old outerHTML", "Children: 1"}, - CHROME = {"Old = Old outerHTML", "exception"}, - EDGE = {"Old = Old outerHTML", "exception"}) + CHROME = {"Old = Old outerHTML", "NoModificationAllowedError"}, + EDGE = {"Old = Old outerHTML", "NoModificationAllowedError"}) public void setOuterHTMLDetachedElementBlank() throws Exception { final String html = "\n" + "\n" @@ -1614,7 +1614,7 @@ public void setOuterHTMLDetachedElementBlank() throws Exception { + " myNode.outerHTML = '';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1632,8 +1632,8 @@ public void setOuterHTMLDetachedElementBlank() throws Exception { @Test @Alerts(DEFAULT = {"Old = Old outerHTML", "New = Old outerHTML", "Children: 1"}, - CHROME = {"Old = Old outerHTML", "exception"}, - EDGE = {"Old = Old outerHTML", "exception"}) + CHROME = {"Old = Old outerHTML", "NoModificationAllowedError"}, + EDGE = {"Old = Old outerHTML", "NoModificationAllowedError"}) public void setOuterHTMLDetachedElement() throws Exception { final String html = "\n" + "\n" @@ -1647,7 +1647,7 @@ public void setOuterHTMLDetachedElement() throws Exception { + " myNode.outerHTML = '

        test

        ';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1706,7 +1706,7 @@ public void setOuterHTMLExecuteNestedJavaScript() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void setOuterHTMLDeclareJavaScript() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + ""; loadPageVerifyTitle2(html); } @@ -1757,7 +1757,7 @@ public void addBehaviorDefaultClientCaps() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"body.isHomePage = undefined", "!addBehavior", "!removeBehavior", "exception"}) + @Alerts({"body.isHomePage = undefined", "!addBehavior", "!removeBehavior", "TypeError"}) public void removeBehavior() throws Exception { final String html = ""; loadPageVerifyTitle2(html); } @@ -1826,7 +1826,7 @@ public void childrenDoesNotCountTextNodes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "TypeError"}) public void childrenFunctionAccess() throws Exception { final String html = "\n" + "

        \n" @@ -1836,7 +1836,7 @@ public void childrenFunctionAccess() throws Exception { + " var oDiv = document.getElementById('myDiv');\n" + " log(oDiv.children.length);\n" + " log(oDiv.children(0).tagName);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); } @@ -2205,8 +2205,8 @@ public void offsetParent_newElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = {"null", "body", "exception", "body", "body", "body", - "f1", "body", "h1", "i1", "td", "exception", "td", "body", "body"}, + @Alerts(DEFAULT = {"null", "body", "TypeError", "body", "body", "body", + "f1", "body", "h1", "i1", "td", "TypeError", "td", "body", "body"}, FF = {"null", "body", "body", "body", "body", "body", "f1", "body", "h1", "i1", "td", "body", "td", "body", "body"}, FF_ESR = {"null", "body", "body", "body", "body", "body", @@ -2239,7 +2239,7 @@ public void offsetParent_WithCSS() throws Exception { + " function alertOffsetParentId(id) {\n" + " try {\n" + " log(document.getElementById(id).offsetParent.id);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " function test() {\n" + " log(document.getElementById('body').offsetParent); // null (FF) null (IE)\n" @@ -2565,7 +2565,7 @@ public void getBoundingClientRectDisconnected() throws Exception { + " log(pos);\n" + " log(pos.left);\n" + " log(pos.top);\n" - + " } catch (e) { log('exception');}\n" + + " } catch (e) { log(e.name);}\n" + " }\n" + "\n" + "\n" @@ -2744,7 +2744,7 @@ public void uniqueIDFormatIE() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void setExpression() throws Exception { final String html = "\n" + "
        \n" @@ -3208,7 +3208,7 @@ public void contains() throws Exception { + " log(div2.contains(text));\n" + " log(div3.contains(text));\n" + " log(text.contains(div3));\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "}\n" + "\n" + "
        \n" @@ -3368,7 +3368,7 @@ public void parentElement2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void doScroll() throws Exception { final String html = "\n" @@ -3379,7 +3379,7 @@ public void doScroll() throws Exception { + " document.documentElement.doScroll('left');\n" + " log('success');\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "test();\n" @@ -4548,7 +4548,7 @@ public void insertAdjacentHTMLExecuteNestedJavaScript() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void insertAdjacentHTMLDeclareJavaScript() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + "\n" @@ -4861,8 +4861,8 @@ public void setCapture() throws Exception { */ @Test @Alerts(DEFAULT = {"undefined", "releaseCapture available"}, - CHROME = "exception", - EDGE = "exception") + CHROME = "TypeError", + EDGE = "TypeError") public void releaseCapture() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -4873,7 +4873,7 @@ public void releaseCapture() throws Exception { + " try {\n" + " log(div.releaseCapture());\n" + " log('releaseCapture available');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java index 83a621d8821..5189a2d990c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java @@ -449,7 +449,7 @@ private void jsEnctype(final String enctype) throws Exception { + " try {\n" + " document.forms[0].enctype = '" + enctype + "';\n" + " log(document.forms[0].enctype);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(document.forms[0].encoding);\n" + " }\n" + " \n" @@ -491,7 +491,7 @@ private void jsEncoding(final String encoding) throws Exception { + " try {\n" + " document.forms[0].encoding = '" + encoding + "';\n" + " log(document.forms[0].encoding);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(document.forms[0].enctype);\n" + " }\n" + " \n" @@ -579,7 +579,7 @@ private void doTestProperty(final String jsProperty, final String htmlProperty, + " document.forms[0]." + jsProperty + "='" + newValue + "';\n" + " log(document.forms[0]." + jsProperty + ");\n" + " log(document.forms[0].getAttribute('" + htmlProperty + "'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "

        hello world

        \n" @@ -1296,7 +1296,7 @@ public void onsubmitNull() throws Exception { + " try {\n" + " form.onsubmit = undefined;\n" + " log(form.onsubmit);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -1348,7 +1348,7 @@ private void changeFormActionAfterSubmit(final String clickable, final String ex * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void item() throws Exception { final String html = "\n" + "\n" @@ -1357,7 +1357,7 @@ public void item() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio').type);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -1375,7 +1375,7 @@ public void item() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void item_many() throws Exception { final String html = "\n" + "\n" @@ -1384,7 +1384,7 @@ public void item_many() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio').length);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -1403,7 +1403,7 @@ public void item_many() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void item_many_subindex() throws Exception { final String html = "\n" + "\n" @@ -1412,7 +1412,7 @@ public void item_many_subindex() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio', 1).id);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -1431,7 +1431,7 @@ public void item_many_subindex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void item_integer() throws Exception { final String html = "\n" + "\n" @@ -1440,7 +1440,7 @@ public void item_integer() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item(1).id);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -3210,7 +3210,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -3247,7 +3247,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -3276,7 +3276,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -3313,7 +3313,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -3350,7 +3350,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index cd20ab18909..eabb8cb154f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -168,7 +168,7 @@ public void onloadNull() throws Exception { + " try {\n" + " iframe.onload = undefined;\n" + " log(iframe.onload);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java index 1760e3944fb..4be742da8d4 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java @@ -71,7 +71,7 @@ public void HTMLHtmlElement_toString() throws Exception { + " log(document.getElementById('myId'));\n" + " log(HTMLHtmlElement);\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java index ed28c48ad33..9aec67bf193 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java @@ -150,7 +150,7 @@ public void htmlForSetToUnknown() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'unknown';\n" + " } catch (e) {" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -184,7 +184,7 @@ public void htmlForSetToNotLabelable() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'div1';\n" + " } catch (e) {" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -218,7 +218,7 @@ public void htmlForSetToLabelable() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'text1';\n" + " } catch (e) {" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -603,7 +603,7 @@ public void controlSet() throws Exception { + " try {\n" + " document.getElementById('label1').control = document.getElementById('text1');\n" + " } catch (e) {" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " log(document.getElementById('label1').control);\n" + " }\n" @@ -790,7 +790,7 @@ public void formSet() throws Exception { + " try {\n" + " document.getElementById('label1').form = document.getElementById('form1');\n" + " } catch (e) {" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " log(document.getElementById('label1').form);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java index 4cc246f0b34..6d1ba1c4f5f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java @@ -112,7 +112,7 @@ public void relList() throws Exception { + " for (var i = 0; i < l2.relList.length; i++) {\n" + " log(l2.relList[i]);\n" + " }\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; @@ -150,7 +150,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -179,7 +179,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -216,7 +216,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -253,7 +253,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java index 6f61580e767..cfac34f47fd 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java @@ -147,7 +147,7 @@ private void canPlayType(final String type) throws Exception { + "try {\n" + " var video = document.createElement('video');" + " log(video.canPlayType('" + type + "'));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java index 2ad18dff025..65903f012d0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java @@ -143,7 +143,7 @@ public void type() throws Exception { + " document.getElementById('o1').type = 'I';\n" + " log(document.getElementById('o1').type);\n" - + " try { document.getElementById('o1').type = 'u' } catch(e) {log('exception');}\n" + + " try { document.getElementById('o1').type = 'u' } catch(e) {log(e.name);}\n" + " log(document.getElementById('o1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java index 3c50bae6a7a..3f4857cfc29 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java @@ -72,7 +72,7 @@ public void responseXML_htmlObject() throws Exception { + " xhr.send('');\n" + " try {\n" + " log(xhr.responseXML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java index 582b119f27d..d6585e0137d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java @@ -555,7 +555,7 @@ public void optionIndexOutOfBound() throws Exception { + " log(options[55]);\n" + " try {\n" + " log(options[-55]);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -815,7 +815,7 @@ public void with_new() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"[object HTMLOptionsCollection]", "0", "exception", "0"}) + @Alerts({"[object HTMLOptionsCollection]", "0", "TypeError", "0"}) public void without_new() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -827,7 +827,7 @@ public void without_new() throws Exception { + " log(s.length);\n" + " try {\n" + " s.options[0] = Option('one', 'two');\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " log(s.length);\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index 29b769b22e6..5583e8004a3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -284,7 +284,7 @@ public void addBeforeNullMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "exception"}) + @Alerts({"0", "NotFoundError"}) public void addBeforeUnknownEmpty() throws Exception { add(", new Option('foo', '123')", true, false); } @@ -293,7 +293,7 @@ public void addBeforeUnknownEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "exception"}) + @Alerts({"0", "NotFoundError"}) public void addBeforeUnknownEmptyMulti() throws Exception { add(", new Option('foo', '123')", true, true); } @@ -302,7 +302,7 @@ public void addBeforeUnknownEmptyMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "exception"}) + @Alerts({"3", "NotFoundError"}) public void addBeforeUnknown() throws Exception { add(", new Option('foo', '123')", false, false); } @@ -311,7 +311,7 @@ public void addBeforeUnknown() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "exception"}) + @Alerts({"3", "NotFoundError"}) public void addBeforeUnknownMulti() throws Exception { add(", new Option('foo', '123')", false, true); } @@ -387,7 +387,7 @@ private void add(final String param, final boolean empty, final boolean multi) t + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -491,7 +491,7 @@ private void get(final String pos, final boolean empty) throws Exception { + " var oSelect = document.forms.testForm.select1;\n" + " var opt = oSelect.options[" + pos + "];\n" + " log(opt ? opt.text + (opt.selected ? '*' : '') : opt);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -709,7 +709,7 @@ private void put(final String pos, final String param, final boolean empty, fina + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -889,7 +889,7 @@ private void remove(final String pos, final boolean empty, final boolean multi) + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1015,7 +1015,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " var sel = document.form1.select1;\n" + " try {\n" @@ -1024,7 +1024,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " var sel = document.form1.select3;\n" + " try {\n" @@ -1033,7 +1033,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java index dc257908088..f81e7092656 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java @@ -328,7 +328,7 @@ public void createElementWithCreateTextNode() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('end');\n" + "\n" + ""; @@ -353,7 +353,7 @@ public void createElementWithCreateTextNodeAndAppend() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('middle');\n" + " document.body.appendChild(script);\n" + " log('end');\n" @@ -476,7 +476,7 @@ public void replaceSelfWithCreateTextNode() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('end');\n" + "\n" + ""; @@ -549,7 +549,7 @@ public void replaceWithCreateTextNodeEmpty() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('end');\n" + "\n" + ""; @@ -574,7 +574,7 @@ public void replaceWithCreateTextNodeBlank() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('end');\n" + "\n" + ""; @@ -601,7 +601,7 @@ public void replaceWithCreateTextNodeScript() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + " log('end');\n" + "\n" + ""; @@ -812,7 +812,7 @@ public void moveWithInsert() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"script-for", "exception", "script-body"}) + @Alerts({"script-for", "TypeError", "script-body"}) public void scriptForEvent() throws Exception { // IE accepts it with () or without scriptForEvent("onload"); @@ -829,7 +829,7 @@ private void scriptForEvent(final String eventName) throws Exception { + " try {\n" + " document.form1.txt.value = 'hello';\n" + " log(document.form1.txt.value);\n" - + " } catch(e) {log('exception'); }\n" + + " } catch(e) {log(e.name); }\n" + "\n" + "\n" + "
        \n" @@ -1152,7 +1152,7 @@ public void innerHTMLGetSet() throws Exception { + " var div = document.getElementById('tester');\n" + " try {\n" + " div.innerHTML = div.innerHTML;\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " log(div.innerHTML);\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index 071fb1ee76e..8615a7cea47 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -251,10 +251,10 @@ public void setSelectedIndexInvalidValue() throws Exception { + " s.selectedIndex = 2;\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = 25; } catch (e) { log('exception') }\n" + + " try { s.selectedIndex = 25; } catch (e) { log(e.name) }\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = -14; } catch (e) { log('exception') }\n" + + " try { s.selectedIndex = -14; } catch (e) { log(e.name) }\n" + " log(s.selectedIndex);\n" + " }\n" + " \n" @@ -536,7 +536,7 @@ public void addOptionWithAddMethodIndexNull() throws Exception { + " var options = document.form1.select1;\n" + " try {\n" + " options.add(new Option('Four','value4'), null);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(options.length);\n" + " var index = options.length - 1;\n" + " log(options[index].text);\n" @@ -581,7 +581,7 @@ public void addOptionWithAddMethodNoSecondParameter() throws Exception { + " oSelect.add(new Option('Three b', 'value3b'), 3);\n" + " log(oSelect[3].text);\n" + " log(oSelect[3].value);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -618,7 +618,7 @@ public void addOptionTooEmptySelectWithAddMethodIndexNull() throws Exception { + " oSelect.add(new Option('test', 'testValue'), null);\n" + " log(oSelect[oSelect.length-1].text);\n" + " log(oSelect[oSelect.length-1].value);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -834,7 +834,7 @@ public void addOptionMethodOptionNullEmptySelectMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "exception"}) + @Alerts({"0", "NotFoundError"}) public void addOptionMethodNewOptionEmptySelect() throws Exception { addOptionMethod(", new Option('foo', '123')", true, false); } @@ -843,7 +843,7 @@ public void addOptionMethodNewOptionEmptySelect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "exception"}) + @Alerts({"0", "NotFoundError"}) public void addOptionMethodNewOptionEmptySelectMulti() throws Exception { addOptionMethod(", new Option('foo', '123')", true, true); } @@ -870,7 +870,7 @@ public void addOptionMethodOptionNullMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "exception"}) + @Alerts({"3", "NotFoundError"}) public void addOptionMethodNewOption() throws Exception { addOptionMethod(", new Option('foo', '123')", false, false); } @@ -879,7 +879,7 @@ public void addOptionMethodNewOption() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "exception"}) + @Alerts({"3", "NotFoundError"}) public void addOptionMethodNewOptionMulti() throws Exception { addOptionMethod(", new Option('foo', '123')", false, true); } @@ -975,7 +975,7 @@ private void addOptionMethod(final String param, final boolean empty, final bool + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1017,7 +1017,7 @@ public void addWithIndexEmptySelect() throws Exception { + " var opt = new Option('foo', '123');\n" + " oSelect.add(opt, -1);\n" + " log(oSelect.length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1372,7 +1372,7 @@ private void removeOptionMethod(final String param, final boolean empty, final b + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -1477,7 +1477,7 @@ public void optionsRemoveMethod() throws Exception { + " log(options.length);\n" + " log(options[1].text);\n" + " log(options[1].value);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "

        hello world

        \n" + "
        \n" @@ -1666,7 +1666,7 @@ public void setValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void optionsDelegateToSelect() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -1684,7 +1684,7 @@ public void optionsDelegateToSelect() throws Exception { + "\n" + " s.options.selectedIndex = 1;\n" + " doAlerts(s);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "function doAlerts(s) {\n" + " log(s.childNodes.length + '-' + s.options.childNodes.length);\n" @@ -2190,7 +2190,7 @@ public void item() throws Exception { + " var s = document.getElementById('mySelect');\n" + " log(s.item(0).text);\n" + " log(s.item(300));\n" - + " try { log(s.item(-5)); } catch(e) { log('exception'); }\n" + + " try { log(s.item(-5)); } catch(e) { log(e.name); }\n" + " \n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index 3f360aeb98a..5c7ea821b45 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -38,7 +38,7 @@ public class HTMLTableElementTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"caption1", "caption2", "null", "caption3", "exception", + @Alerts({"caption1", "caption2", "null", "caption3", "TypeError", "[object HTMLTableCaptionElement]", "caption3", "caption4"}) public void tableCaptions() throws Exception { final String html @@ -63,13 +63,13 @@ public void tableCaptions() throws Exception { + " newCaption.innerHTML = 'caption3';\n" + " log(table.caption.innerHTML);\n" - + " try { table.caption = 123; } catch(e) { log('exception') }\n" + + " try { table.caption = 123; } catch(e) { log(e.name) }\n" + " log(table.caption);\n" + " if (table.caption) { log(table.caption.innerHTML) }\n" + " var caption4 = document.createElement('caption');\n" + " caption4.innerHTML = 'caption4';\n" - + " try { table.caption = caption4; } catch(e) { log('exception') }\n" + + " try { table.caption = caption4; } catch(e) { log(e.name) }\n" + " log(table.caption.innerHTML);\n" + " \n" + ""; @@ -81,7 +81,7 @@ public void tableCaptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"thead1", "thead2", "null", "thead3", "exception", + @Alerts({"thead1", "thead2", "null", "thead3", "TypeError", "[object HTMLTableSectionElement]", "thead3", "thead4"}) public void tableHeaders() throws Exception { final String html @@ -108,13 +108,13 @@ public void tableHeaders() throws Exception { + " newTHead.id = 'thead3';\n" + " log(table.tHead.id);\n" - + " try { table.tHead = 123; } catch(e) { log('exception') }\n" + + " try { table.tHead = 123; } catch(e) { log(e.name) }\n" + " log(table.tHead);\n" + " if (table.tHead) { log(table.tHead.id) }\n" + " var tHead4 = document.createElement('tHead');\n" + " tHead4.id = 'thead4';\n" - + " try { table.tHead = tHead4; } catch(e) { log('exception') }\n" + + " try { table.tHead = tHead4; } catch(e) { log(e.name) }\n" + " log(table.tHead.id);\n" + " \n" + ""; @@ -284,7 +284,7 @@ public void tableRowsWithManySections() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"tfoot1", "tfoot2", "null", "tfoot3", "exception", + @Alerts({"tfoot1", "tfoot2", "null", "tfoot3", "TypeError", "[object HTMLTableSectionElement]", "tfoot3", "tfoot4"}) public void tableFooters() throws Exception { final String html @@ -311,13 +311,13 @@ public void tableFooters() throws Exception { + " newTFoot.id = 'tfoot3';\n" + " log(table.tFoot.id);\n" - + " try { table.tFoot = 123; } catch(e) { log('exception') }\n" + + " try { table.tFoot = 123; } catch(e) { log(e.name) }\n" + " log(table.tFoot);\n" + " if (table.tFoot) { log(table.tFoot.id) }\n" + " var tFoot4 = document.createElement('tFoot');\n" + " tFoot4.id = 'tfoot4';\n" - + " try { table.tFoot = tFoot4; } catch(e) { log('exception') }\n" + + " try { table.tFoot = tFoot4; } catch(e) { log(e.name) }\n" + " log(table.tFoot.id);\n" + " \n" + ""; @@ -367,7 +367,7 @@ private void insertRow(final String rowIndex) throws Exception { + " var newRow = table.insertRow(" + rowIndex + ");\n" + " log(table.rows.length);\n" + " log(newRow.rowIndex);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " \n" + ""; @@ -387,7 +387,7 @@ public void insertRowEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void insertRow_MinusTwo() throws Exception { insertRow("-2"); } @@ -432,7 +432,7 @@ public void insertRow_Two() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void insertRow_Three() throws Exception { insertRow("3"); } @@ -901,7 +901,7 @@ public void borderColorLight() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"", "hello", "unknown", "exception", "", "test"}) + @Alerts({"", "hello", "unknown", "ReferenceError", "", "test"}) public void summary() throws Exception { final String html = "\n" @@ -919,7 +919,7 @@ public void summary() throws Exception { + " node.summary = 'unknown';\n" + " log(node.summary);\n" - + " try { node.summary = unknown; } catch(e) { log('exception') }\n" + + " try { node.summary = unknown; } catch(e) { log(e.name) }\n" + " var node = document.getElementById('tab2');\n" + " log(node.summary);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 15ae53dad91..0e91d972782 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -57,7 +57,7 @@ public void simpleScriptable() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"4", "td1", "3", "td2", "td4", "2", "td3", "exception", "exception"}) + @Alerts({"4", "td1", "3", "td2", "td4", "2", "td3", "IndexSizeError", "IndexSizeError"}) public void deleteCell() throws Exception { final String html = "\n" + "\n" + "\n" @@ -95,7 +95,7 @@ public void deleteCell() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"4", "exception", "4"}) + @Alerts({"4", "TypeError", "4"}) public void deleteCell_noArg() throws Exception { final String html = "\n" + "\n" @@ -426,7 +426,7 @@ private void insertCell(final String cellIndex) throws Exception { + " var newCell = row.insertCell(" + cellIndex + ");\n" + " log(row.cells.length);\n" + " log(newCell.cellIndex);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " \n" + ""; @@ -446,7 +446,7 @@ public void insertCellEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void insertCell_MinusTwo() throws Exception { insertCell("-2"); } @@ -491,7 +491,7 @@ public void insertCell_Two() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void insertCell_Three() throws Exception { insertCell("3"); } diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index bacc6f64b4e..4baf3a1f7b7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -343,7 +343,7 @@ public void TBODY_innerHTML() throws Exception { + " var t = document.getElementById('myId');\n" + " try {\n" + " t.innerHTML = 'world';\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(t.innerHTML.toLowerCase());\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java index e03d4863a35..fa547324844 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java @@ -40,7 +40,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log(HTMLTemplateElement.prototype == null);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -62,7 +62,7 @@ public void contentCheck() throws Exception { + " try {\n" + " var template = document.createElement('template');\n" + " log('content' in template);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java index 64ef13ecfc6..66922440a16 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('u1').type = 'I';\n" + " log(document.getElementById('u1').type);\n" - + " try { document.getElementById('u1').type = 'u' } catch(e) {log('exception');}\n" + + " try { document.getElementById('u1').type = 'u' } catch(e) {log(e.name);}\n" + " log(document.getElementById('u1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java index 7d3018033c1..8f7f35de7d7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java @@ -41,7 +41,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLVideoElement.prototype == null);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -63,7 +63,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLVideoElement);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -89,7 +89,7 @@ public void nodeTypeName() throws Exception { + " var video = document.getElementById('v');\n" + " log(video.nodeType);" + " log(video.nodeName);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -116,7 +116,7 @@ public void src() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -144,7 +144,7 @@ public void srcChild() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -167,7 +167,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('v').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -189,7 +189,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -212,7 +212,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -235,7 +235,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; From 70014359564f3ee4456a9af388bf817990eeb60a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 19:10:11 +0100 Subject: [PATCH 102/516] CanvasRenderingContext2D.measureText() throws a TypeError. --- src/changes/changes.xml | 3 +++ .../host/canvas/CanvasRenderingContext2D.java | 3 +-- .../host/canvas/CanvasRenderingContext2DTest.java | 12 ++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b2bf75861ad..32e10615147 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + CanvasRenderingContext2D.measureText() throws a TypeError. + HTMLTableElement/HTMLTableRowElement several fixes to throw the correct error. diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java index 9587928012f..d6b0b05d009 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2D.java @@ -563,8 +563,7 @@ public void lineTo(final double x, final double y) { @JsxFunction public TextMetrics measureText(final Object text) { if (text == null || JavaScriptEngine.isUndefined(text)) { - throw JavaScriptEngine.throwAsScriptRuntimeEx( - new RuntimeException("Missing argument for CanvasRenderingContext2D.measureText().")); + throw JavaScriptEngine.typeError("Missing argument for CanvasRenderingContext2D.measureText()."); } final String textValue = JavaScriptEngine.toString(text); diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index db30ea13df7..75c791fc58d 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -71,7 +71,7 @@ public void test() throws Exception { + " ctx.closePath();\n" + " ctx.rotate(1.234);\n" + " log('done');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -112,7 +112,7 @@ public void methods() throws Exception { + " log(methods[i]);\n" + " }\n" + " log(nbMethods + ' methods');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + ""; loadPageVerifyTextArea2(html); @@ -772,7 +772,7 @@ public void drawImageDataUrlSvg() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"exception", "0", "true", "true"}) + @Alerts({"TypeError", "0", "true", "true"}) public void measureText() throws Exception { final String html = "\n" @@ -785,7 +785,7 @@ public void measureText() throws Exception { + " ctx = canvas.getContext('2d');\n" + " try {\n" + " log(ctx.measureText());\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var metrics = ctx.measureText('');\n" + " log(metrics.width);\n" @@ -936,7 +936,7 @@ public void globalAlpha() throws Exception { + " log(ctx.globalAlpha);\n" + " ctx.globalAlpha = null;\n" + " log(ctx.globalAlpha);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -970,7 +970,7 @@ public void globalAlphaInvalid() throws Exception { + " log(ctx.globalAlpha);\n" + " ctx.globalAlpha = undefined;\n" + " log(ctx.globalAlpha);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" From 46ea3ee3aa7319d4083d2ff40fa1c591c7ff36f1 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 1 Feb 2025 19:13:46 +0100 Subject: [PATCH 103/516] Crypto.getRandomValues() throws a QuotaExceededError --- src/changes/changes.xml | 3 +++ .../org/htmlunit/javascript/host/crypto/Crypto.java | 13 +++++++++---- .../htmlunit/javascript/host/crypto/CryptoTest.java | 10 +++++----- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 32e10615147..290634252e8 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + Crypto.getRandomValues() throws a QuotaExceededError. + CanvasRenderingContext2D.measureText() throws a TypeError. diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java index 64442b1d950..fd175dd00fd 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java @@ -25,6 +25,7 @@ import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.host.Window; +import org.htmlunit.javascript.host.dom.DOMException; /** * A JavaScript object for {@code Crypto}. @@ -75,10 +76,14 @@ public NativeTypedArrayView getRandomValues(final NativeTypedArrayView arr throw JavaScriptEngine.typeError("Argument 1 of Crypto.getRandomValues is not an object."); } if (array.getByteLength() > 65_536) { - throw JavaScriptEngine.reportRuntimeError("Error: Failed to execute 'getRandomValues' on 'Crypto': " - + "The ArrayBufferView's byte length " - + "(" + array.getByteLength() + ") exceeds the number of bytes " - + "of entropy available via this API (65536)."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Error: Failed to execute 'getRandomValues' on 'Crypto': " + + "The ArrayBufferView's byte length " + + "(" + array.getByteLength() + ") exceeds the number of bytes " + + "of entropy available via this API (65536).", + DOMException.QUOTA_EXCEEDED_ERR)); } for (int i = 0; i < array.getByteLength() / array.getBytesPerElement(); i++) { diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 8e91ca1f983..9d8dee8b4c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -79,7 +79,7 @@ public void getRandomValues() throws Exception { + " log(res.length);\n" + " log(res === array);\n" + "}\n" - + "catch(e) { log('exception'); }\n" + + "catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -96,7 +96,7 @@ public void randomUUID() throws Exception { + "try {\n" + " log(window.crypto.randomUUID());\n" + "}\n" - + "catch(e) { log('exception'); }\n" + + "catch(e) { log(e.name); }\n" + ""; final WebDriver driver = loadPage2(html); @@ -109,7 +109,7 @@ public void randomUUID() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("QuotaExceededError") public void getRandomValuesQuotaExceeded() throws Exception { final String html = ""; loadPageVerifyTitle2(html); @@ -134,7 +134,7 @@ public void subtle() throws Exception { + "try {\n" + " log(window.crypto.subtle);\n" + "}\n" - + "catch(e) { log('exception'); }\n" + + "catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); From e9c057a4729d2fa9a0c6e40642bf2ac412bae33b Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 09:25:29 +0100 Subject: [PATCH 104/516] more on error handling --- src/changes/changes.xml | 3 +++ .../htmlunit/javascript/host/svg/SVGMatrix.java | 15 +++++++++++---- .../java/org/htmlunit/svg/SvgMatrixTest.java | 16 ++++++++-------- src/test/java/org/htmlunit/svg/SvgTextTest.java | 2 +- src/test/java/org/htmlunit/xml/XmlPage2Test.java | 2 +- 5 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 290634252e8..65267564f11 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + SVGMatrix.rotateFromVector()/inverse() throws the correct error (InvalidAccessError/InvalidStateError). + Crypto.getRandomValues() throws a QuotaExceededError. diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java index 329785124b6..04fc86599ff 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java @@ -22,6 +22,7 @@ import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; import org.htmlunit.javascript.host.Window; +import org.htmlunit.javascript.host.dom.DOMException; /** * A JavaScript object for {@code SVGMatrix}. @@ -222,8 +223,11 @@ public SVGMatrix inverse() { final double determinant = scaleX_ * scaleY_ - shearX_ * shearY_; if (Math.abs(determinant) < 1E-10) { - throw JavaScriptEngine.constructError("Error", - "Failed to execute 'inverse' on 'SVGMatrix': The matrix is not invertible."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to execute 'inverse' on 'SVGMatrix': The matrix is not invertible.", + DOMException.INVALID_STATE_ERR)); } final SVGMatrix result = new SVGMatrix(getWindow()); @@ -288,8 +292,11 @@ public SVGMatrix rotate(final double angle) { @JsxFunction public SVGMatrix rotateFromVector(final double x, final double y) { if (x == 0 || y == 0) { - throw JavaScriptEngine.constructError("Error", - "Failed to execute 'rotateFromVector' on 'SVGMatrix': Arguments cannot be zero."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to execute 'rotateFromVector' on 'SVGMatrix': Arguments cannot be zero.", + DOMException.INVALID_ACCESS_ERR)); } final double theta = Math.atan2(y, x); diff --git a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java index 4faf2e74144..b60c378bb1e 100644 --- a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java @@ -80,7 +80,7 @@ public void fields() throws Exception { + " m.e = 6;\n" + " m.f = 7;\n" + " alertFields(m);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n" + ""; @@ -114,7 +114,7 @@ public void methods() throws Exception { + " log(typeof m.skewX);\n" + " log(typeof m.skewY);\n" + " log(typeof m.translate);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n" + ""; @@ -152,7 +152,7 @@ public void inverse() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidStateError") public void inverseNotPossible() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -178,7 +178,7 @@ public void inverseNotPossible() throws Exception { + " m.f = 6;\n" + " m = m.inverse();\n" + " alertFields(m);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n" + ""; @@ -226,7 +226,7 @@ public void rotateFromVector() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidAccessError") public void rotateFromVectorZeroX() throws Exception { transformTest("rotateFromVector(0, 74)"); } @@ -235,7 +235,7 @@ public void rotateFromVectorZeroX() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidAccessError") public void rotateFromVectorZeroY() throws Exception { transformTest("rotateFromVector(17, 0)"); } @@ -244,7 +244,7 @@ public void rotateFromVectorZeroY() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidAccessError") public void rotateFromVectorZeroXY() throws Exception { transformTest("rotateFromVector(0, 0)"); } @@ -332,7 +332,7 @@ private void transformTest(final String transforamtion) throws Exception { + " r = m." + transforamtion + ";\n" + " log(m === r);\n" + " alertFields(r);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/svg/SvgTextTest.java b/src/test/java/org/htmlunit/svg/SvgTextTest.java index 05d1721cb79..a0f1cbafa47 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextTest.java @@ -75,7 +75,7 @@ public void getFontSize() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(window.getComputedStyle(document.getElementById('myId'), null).fontSize);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/xml/XmlPage2Test.java b/src/test/java/org/htmlunit/xml/XmlPage2Test.java index 92dff1b0913..acab2b13e05 100644 --- a/src/test/java/org/htmlunit/xml/XmlPage2Test.java +++ b/src/test/java/org/htmlunit/xml/XmlPage2Test.java @@ -90,7 +90,7 @@ public void createElementNS() throws Exception { + " var doc = document.implementation.createDocument('', '', null);\n" + " try {\n" + " log(doc.createElementNS('myNS', 'ppp:eee'));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; From 50fe363861e2eb35ce81ce79c9c4480a993d1d3b Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 09:50:36 +0100 Subject: [PATCH 105/516] more on error handling --- .../java/org/htmlunit/html/DomNode2Test.java | 8 +-- .../org/htmlunit/html/HtmlColorInputTest.java | 4 +- .../org/htmlunit/html/HtmlDateInputTest.java | 4 +- .../htmlunit/html/HtmlDateTimeInputTest.java | 4 +- .../html/HtmlDateTimeLocalInputTest.java | 4 +- .../org/htmlunit/html/HtmlEmailInputTest.java | 4 +- .../org/htmlunit/html/HtmlFileInputTest.java | 60 +++++++++---------- .../htmlunit/html/HtmlInlineFrame2Test.java | 2 +- .../org/htmlunit/html/HtmlMonthInputTest.java | 4 +- .../htmlunit/html/HtmlNumberInputTest.java | 30 +++++----- .../org/htmlunit/html/HtmlScript2Test.java | 2 +- .../htmlunit/html/HtmlSearchInputTest.java | 2 +- .../java/org/htmlunit/html/HtmlSvgTest.java | 2 +- .../org/htmlunit/html/HtmlTelInputTest.java | 4 +- .../org/htmlunit/html/HtmlTimeInputTest.java | 4 +- .../org/htmlunit/html/HtmlUrlInputTest.java | 4 +- .../org/htmlunit/html/HtmlWeekInputTest.java | 4 +- 17 files changed, 73 insertions(+), 73 deletions(-) diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index e1a7f969924..371ed73f66e 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -35,7 +35,7 @@ public class DomNode2Test extends WebDriverTestCase { * @throws Exception on test failure */ @Test - @Alerts({"exception", "0"}) + @Alerts({"HierarchyRequestError", "0"}) public void appendChild_recursive() throws Exception { final String html = "\n" + "\n" @@ -60,7 +60,7 @@ public void appendChild_recursive() throws Exception { * @throws Exception on test failure */ @Test - @Alerts({"true", "exception", "1", "0"}) + @Alerts({"true", "HierarchyRequestError", "1", "0"}) public void appendChild_recursive_parent() throws Exception { final String html = "\n" + "\n" + "\n" @@ -519,9 +519,9 @@ public void selection() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "exception value", "null,null", - "exception", "null,null", - "exception", "null,null"}) + @Alerts({"null,null", "InvalidStateError", "null,null", + "InvalidStateError", "null,null", + "InvalidStateError", "null,null"}) public void selection2_1() throws Exception { selection2(3, 10); } @@ -530,9 +530,9 @@ public void selection2_1() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "exception value", "null,null", - "exception", "null,null", - "exception", "null,null"}) + @Alerts({"null,null", "InvalidStateError", "null,null", + "InvalidStateError", "null,null", + "InvalidStateError", "null,null"}) public void selection2_2() throws Exception { selection2(-3, 15); } @@ -541,9 +541,9 @@ public void selection2_2() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "exception value", "null,null", - "exception", "null,null", - "exception", "null,null"}) + @Alerts({"null,null", "InvalidStateError", "null,null", + "InvalidStateError", "null,null", + "InvalidStateError", "null,null"}) public void selection2_3() throws Exception { selection2(10, 5); } @@ -558,28 +558,28 @@ private void selection2(final int selectionStart, final int selectionEnd) throws + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try{\n" + " input.value = '12345678900';\n" - + " } catch(e) { log('exception value'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " input.selectionStart = " + selectionStart + ";\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " input.selectionEnd = " + selectionEnd + ";\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + "\n" + ""; @@ -591,7 +591,7 @@ private void selection2(final int selectionStart, final int selectionEnd) throws * @throws Exception if test fails */ @Test - @Alerts({"null,null", "exception"}) + @Alerts({"null,null", "InvalidStateError"}) public void selectionOnUpdate() throws Exception { final String html = "\n" + "\n" @@ -617,7 +617,7 @@ public void selectionOnUpdate() throws Exception { + " input.value = 'a';\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java index 3dcb5792ae5..c1da5cbc210 100644 --- a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java @@ -221,7 +221,7 @@ public void aboutSrc() throws Exception { + " var frame = document.getElementById('tstFrame');\n" + " try {" + " log(frame.contentWindow.location.href);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index 1dd160dbe11..9ce5463f0c1 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -54,7 +54,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'month';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -90,7 +90,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'month';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java index bd26aaa7fdc..f0c521f2e87 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java @@ -1379,7 +1379,7 @@ public void selection() throws Exception { + " function getSelection(element) {\n" + " try {\n" + " return element.value.substring(element.selectionStart, element.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -1393,8 +1393,8 @@ public void selection() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "null,null", "exception", - "null,null", "exception", "null,null"}) + @Alerts({"null,null", "null,null", "InvalidStateError", + "null,null", "InvalidStateError", "null,null"}) public void selection2_1() throws Exception { selection2(3, 10); } @@ -1403,8 +1403,8 @@ public void selection2_1() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "null,null", "exception", - "null,null", "exception", "null,null"}) + @Alerts({"null,null", "null,null", "InvalidStateError", + "null,null", "InvalidStateError", "null,null"}) public void selection2_2() throws Exception { selection2(-3, 15); } @@ -1413,8 +1413,8 @@ public void selection2_2() throws Exception { * @throws Exception if test fails */ @Test - @Alerts({"null,null", "null,null", "exception", - "null,null", "exception", "null,null"}) + @Alerts({"null,null", "null,null", "InvalidStateError", + "null,null", "InvalidStateError", "null,null"}) public void selection2_3() throws Exception { selection2(10, 5); } @@ -1429,26 +1429,26 @@ private void selection2(final int selectionStart, final int selectionEnd) throws + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " input.value = '12345678900';\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " input.selectionStart = " + selectionStart + ";\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " input.selectionEnd = " + selectionEnd + ";\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + "\n" + ""; @@ -1460,7 +1460,7 @@ private void selection2(final int selectionStart, final int selectionEnd) throws * @throws Exception if test fails */ @Test - @Alerts({"null,null", "exception"}) + @Alerts({"null,null", "InvalidStateError"}) public void selectionOnUpdate() throws Exception { final String html = "\n" + "\n" @@ -1486,7 +1486,7 @@ public void selectionOnUpdate() throws Exception { + " input.value = '7';\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index a248a508cac..f43e6f67e1f 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -91,7 +91,7 @@ public void addedFromDocumentFragment() throws Exception { + " log('created');\n" + " element.parentNode.replaceChild(fragment, element);\n" + " log('replaced');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java index eee276e87f4..6573213cc4e 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java @@ -72,7 +72,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'search';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlSvgTest.java b/src/test/java/org/htmlunit/html/HtmlSvgTest.java index b08b5f80afc..601f3121caf 100644 --- a/src/test/java/org/htmlunit/html/HtmlSvgTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSvgTest.java @@ -112,7 +112,7 @@ public void getScreenCTM() throws Exception { + " var svg = document.getElementById('myId');\n" + " try {\n" + " log(svg.getScreenCTM());\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java index 85bdb0b8694..69447872fe6 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java @@ -51,7 +51,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'tel';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -87,7 +87,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'tel';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java index 048888cb022..2cf42e7c283 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java @@ -53,7 +53,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'time';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -89,7 +89,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'time';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index 8071a6faef6..0eea5be1021 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -51,7 +51,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'url';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -87,7 +87,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'url';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java index fa0b58c014d..a0604589527 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java @@ -54,7 +54,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'week';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -90,7 +90,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'week';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" From 377415352b5cac6b4c70a8ad06cd1578e9e203a3 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 09:52:30 +0100 Subject: [PATCH 106/516] HTMLInputElement value/selectionStart/selectionEnd properties throws the correct error (InvalidStateError) --- src/changes/changes.xml | 3 ++ .../host/html/HTMLInputElement.java | 45 +++++++++++++------ 2 files changed, 35 insertions(+), 13 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 65267564f11..bbb2a43b016 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + HTMLInputElement value/selectionStart/selectionEnd properties throws the correct error (InvalidStateError). + SVGMatrix.rotateFromVector()/inverse() throws the correct error (InvalidAccessError/InvalidStateError). diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java index 3b5258c9173..5590f98e3ad 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java @@ -37,6 +37,7 @@ import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; +import org.htmlunit.javascript.host.dom.DOMException; import org.htmlunit.javascript.host.dom.NodeList; import org.htmlunit.javascript.host.event.Event; import org.htmlunit.javascript.host.file.FileList; @@ -105,8 +106,11 @@ public void setValue(final Object newValue) { final String val = JavaScriptEngine.toString(newValue); if ("file".equalsIgnoreCase(getType())) { if (StringUtils.isNotEmpty(val)) { - throw JavaScriptEngine.reportRuntimeError("InvalidStateError: " - + "Failed to set the 'value' property on 'HTMLInputElement'."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to set the 'value' property on 'HTMLInputElement'.", + DOMException.INVALID_STATE_ERR)); } return; } @@ -237,18 +241,25 @@ public void setSelectionStart(final int start) { final DomNode dom = getDomNodeOrDie(); if (dom instanceof SelectableTextInput) { if ("number".equalsIgnoreCase(getType())) { - throw JavaScriptEngine.reportRuntimeError("Failed to set the 'selectionStart' property" - + "from 'HTMLInputElement': " - + "The input element's type ('number') does not support selection."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to set the 'selectionStart' property" + + "from 'HTMLInputElement': " + + "The input element's type ('number') does not support selection.", + DOMException.INVALID_STATE_ERR)); } ((SelectableTextInput) dom).setSelectionStart(start); return; } - throw JavaScriptEngine.reportRuntimeError( - "Failed to set the 'selectionStart' property from 'HTMLInputElement': " - + "The input element's type (" + getType() + ") does not support selection."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to set the 'selectionStart' property from 'HTMLInputElement': " + + "The input element's type (" + getType() + ") does not support selection.", + DOMException.INVALID_STATE_ERR)); } /** @@ -278,17 +289,25 @@ public void setSelectionEnd(final int end) { final DomNode dom = getDomNodeOrDie(); if (dom instanceof SelectableTextInput) { if ("number".equalsIgnoreCase(getType())) { - throw JavaScriptEngine.reportRuntimeError("Failed to set the 'selectionEnd' property" - + "from 'HTMLInputElement': " - + "The input element's type ('number') does not support selection."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to set the 'selectionEnd' property" + + "from 'HTMLInputElement': " + + "The input element's type ('number') does not support selection.", + DOMException.INVALID_STATE_ERR)); } ((SelectableTextInput) dom).setSelectionEnd(end); return; } - throw JavaScriptEngine.reportRuntimeError("Failed to set the 'selectionEnd' property from 'HTMLInputElement': " - + "The input element's type (" + getType() + ") does not support selection."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Failed to set the 'selectionEnd' property from 'HTMLInputElement': " + + "The input element's type (" + getType() + ") does not support selection.", + DOMException.INVALID_STATE_ERR)); } /** From e73723ff7e10e954a40452b8560ddf97df91d088 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 09:55:07 +0100 Subject: [PATCH 107/516] more on error handling --- .../regexp/mozilla/js1_2/SimpleFormTest.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java index 0ab3969b996..96557575e8f 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java @@ -24,6 +24,7 @@ * Tests originally in '/js/src/tests/js1_2/regexp/simple_form.js'. * * @author Ahmed Ashour + * @author Ronald Brill */ @RunWith(BrowserRunner.class) public class SimpleFormTest extends WebDriverTestCase { @@ -33,7 +34,7 @@ public class SimpleFormTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test1() throws Exception { test("/[0-9]{3}/('23 2 34 678 9 09')"); } @@ -43,7 +44,7 @@ public void test1() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test2() throws Exception { test("/3.{4}8/('23 2 34 678 9 09')"); } @@ -53,7 +54,7 @@ public void test2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test3() throws Exception { test("(/3.{4}8/('23 2 34 678 9 09')).length"); } @@ -63,7 +64,7 @@ public void test3() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test4() throws Exception { test("var re = /[0-9]{3}/", "re('23 2 34 678 9 09')"); } @@ -73,7 +74,7 @@ public void test4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test5() throws Exception { test("var re = /3.{4}8/", "re('23 2 34 678 9 09')"); } @@ -83,7 +84,7 @@ public void test5() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test6() throws Exception { test("/3.{4}8/('23 2 34 678 9 09')"); } @@ -93,7 +94,7 @@ public void test6() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test7() throws Exception { test("var re =/3.{4}8/", "(re('23 2 34 678 9 09')).length"); } @@ -103,7 +104,7 @@ public void test7() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void test8() throws Exception { test("(/3.{4}8/('23 2 34 678 9 09')).length"); } @@ -120,7 +121,7 @@ private void test(final String initialScript, final String script) throws Except html += initialScript + ";\n"; } html += " log(" + script + ");\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; loadPageVerifyTitle2(html); From 1fb09eb5cb05d22102f692c0a72b227a2d2a610b Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 10:30:04 +0100 Subject: [PATCH 108/516] more on error handling --- .../javascript/host/xml/XMLDocument2Test.java | 4 +- .../javascript/host/xml/XMLDocumentTest.java | 52 +++---- .../host/xml/XMLHttpRequest2Test.java | 12 +- .../host/xml/XMLHttpRequestCORSTest.java | 20 +-- .../xml/XMLHttpRequestEventTargetTest.java | 4 +- .../host/xml/XMLHttpRequestTest.java | 129 ++++++++++-------- .../host/xml/XSLTProcessorTest.java | 18 +-- 7 files changed, 125 insertions(+), 114 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java index 556d3490df6..22325ee27b2 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java @@ -217,7 +217,7 @@ public void createElement_namespace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void text() throws Exception { final String html = "\n" + "\n" + "\n" @@ -172,7 +172,7 @@ public void load() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") // TODO what is the difference to load()? public void load_relativeURL() throws Exception { final String html = "\n" @@ -188,7 +188,7 @@ public void load_relativeURL() throws Exception { + " log(doc.childNodes[0].childNodes.length);\n" + " log(doc.childNodes[0].childNodes[0].nodeName);\n" + " log(doc.getElementsByTagName('books').item(0).attributes.length);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -229,7 +229,7 @@ public void preserveWhiteSpace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void setProperty() throws Exception { final String html = "\n" + "\n" + ""; @@ -250,7 +250,7 @@ public void setProperty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectNodes() throws Exception { final String html = "\n" + "\n" @@ -284,7 +284,7 @@ public void selectNodes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectNodes_caseSensitive() throws Exception { final String html = "\n" + "\n" @@ -317,7 +317,7 @@ public void selectNodes_caseSensitive() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectNodes_namespace() throws Exception { final String html = "\n" + "\n" @@ -357,7 +357,7 @@ public void selectNodes_namespace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectNodes_nextNodeAndReset() throws Exception { final String html = "\n" + "\n" @@ -412,7 +412,7 @@ public void selectNodes_fromRoot() throws Exception { + " try {\n" + " log(child.selectNodes('title').length);\n" + " } catch(e) { log('exception title'); }\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -428,7 +428,7 @@ public void selectNodes_fromRoot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectSingleNode() throws Exception { final String html = "\n" + "\n" @@ -505,7 +505,7 @@ public void loadXML_XMLSpaceAttribute() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void parseError() throws Exception { final String html = "\n" + "\n" + "\n" @@ -581,7 +581,7 @@ public void createNSResolver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void xmlInsideHtml() throws Exception { final String html = "\n" + "\n" + "\n" @@ -617,7 +617,7 @@ public void instanceOf() throws Exception { + " var x = " + callLoadXMLDocumentFromString("''") + ";\n" + " try {\n" + " log(x instanceof XMLDocument);\n" - + " }catch(e) {log('exception')}\n" + + " }catch(e) {log(e.name)}\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -828,7 +828,7 @@ public void getElementById_xml() throws Exception { + " log(doc.getElementById('item2') != null);\n" + " log(doc.getElementById('item3') != null);\n" + " log(doc.getElementById('item4') != null);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -855,7 +855,7 @@ public void getElementById_html() throws Exception { + " var doc = " + callLoadXMLDocumentFromString("text") + ";\n" + " log(doc.getElementById('form1') != null);\n" + " log(doc.getElementById('div1') != null);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -881,7 +881,7 @@ public void getElementById_xhtml() throws Exception { + " var doc = " + callLoadXMLDocumentFromString("text") + ";\n" + " log(doc.getElementById('form1') != null);\n" + " log(doc.getElementById('div1') != null);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -908,7 +908,7 @@ public void xpathWithNamespaces() throws Exception { + " log(doc.evaluate('count(//book)', doc.documentElement, " + "null, XPathResult.NUMBER_TYPE, null).numberValue);\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java index 894892fa65f..b4191772b26 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java @@ -277,7 +277,7 @@ public void openThrowOnEmptyUrl() throws Exception { + " xhr.open('GET', values[i], false);\n" + " xhr.send('');\n" + " log('pass');\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + "}\n" + "\n" + "\n" @@ -412,7 +412,7 @@ private void sameOriginPolicy(final String url) throws Exception { + " try {\n" + " xhr.open('GET', '" + url + "', false);\n" + " log('ok');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -745,7 +745,7 @@ public void sameOriginCorsSimple() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -780,7 +780,7 @@ public void baseUrlAbsoluteRequest() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -824,7 +824,7 @@ public void baseUrlAbsoluteRequestOtherUrl() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1269,7 +1269,7 @@ private void postRedirect(final int code, final HttpMethod httpMethod, + " try {\n" + " xhr.open('POST', 'redirect.html', false);\n" + " xhr.send('" + content + "');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java index 70182f89271..0cb4bf2e8ed 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java @@ -73,7 +73,7 @@ public void noCorsHeaderCallsErrorHandler() throws Exception { + " log(event.total > 0);\n" + " };\n" + " xhr.send();\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -200,7 +200,7 @@ public void simplePost() throws Exception { * @throws Exception if the test fails. */ @Test - @Alerts("exception") + @Alerts("NetworkError") public void simplePut() throws Exception { expandExpectedAlertsVariables(new URL("http://localhost:" + PORT)); @@ -216,7 +216,7 @@ public void simplePut() throws Exception { + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseXML.firstChild.firstChild.nodeValue);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + "}\n" + "\n" + "\n" @@ -277,7 +277,7 @@ protected void doPut(final HttpServletRequest request, final HttpServletResponse * @throws Exception if the test fails. */ @Test - @Alerts({"exception", "4", "0", ""}) + @Alerts({"NetworkError", "4", "0", ""}) public void noAccessControlAllowOrigin() throws Exception { incorrectAccessControlAllowOrigin(null); } @@ -294,7 +294,7 @@ private void incorrectAccessControlAllowOrigin(final String header) throws Excep + " var url = 'http://' + window.location.hostname + ':" + PORT2 + "/simple2';\n" + " xhr.open('GET', url, false);\n" + " xhr.send();\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseText);\n" @@ -316,7 +316,7 @@ private void incorrectAccessControlAllowOrigin(final String header) throws Excep * @throws Exception if the test fails. */ @Test - @Alerts({"exception", "4", "0", ""}) + @Alerts({"NetworkError", "4", "0", ""}) public void nonMatchingAccessControlAllowOrigin() throws Exception { incorrectAccessControlAllowOrigin("http://www.sourceforge.net"); } @@ -535,7 +535,7 @@ protected void doGet(final HttpServletRequest request, final HttpServletResponse * @throws Exception if the test fails. */ @Test - @Alerts({"exception", "4", "0"}) + @Alerts({"NetworkError", "4", "0"}) // unstable test case, this will fail on real Chrome if individually run, but will succeed if run with other cases public void preflight_incorrect_headers() throws Exception { expandExpectedAlertsVariables(new URL("http://localhost:" + PORT)); @@ -550,7 +550,7 @@ public void preflight_incorrect_headers() throws Exception { + " xhr.open('GET', url, false);\n" + " xhr.setRequestHeader('X-PINGOTHER', 'pingpong');\n" + " xhr.send();\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + "}\n" @@ -588,7 +588,7 @@ public void preflight_many_header_values() throws Exception { + " xhr.setRequestHeader('X-PING', 'ping');\n" + " xhr.setRequestHeader('X-PONG', 'pong');\n" + " xhr.send();\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseXML.firstChild.childNodes[3].tagName);\n" @@ -856,7 +856,7 @@ private void testWithCredentials(final String accessControlAllowOrigin, + " xhr.withCredentials = true;\n" + " xhr.onreadystatechange = onReadyStateChange;\n" + " xhr.send();\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " log(xhr.readyState);\n" + " try {\n" + " log(xhr.status);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java index c409b598901..714ed6a0f17 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java @@ -56,7 +56,7 @@ public void inWindow() throws Exception { * @throws Exception if the test fails. */ @Test - @Alerts("exception") + @Alerts("TypeError") public void ctor() throws Exception { final String html = "\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index d61e266b0d0..38de463e329 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -1084,7 +1084,7 @@ public void overrideMimeType() throws Exception { + " request.overrideMimeType('text/xml');\n" + " request.send('');\n" + " log(request.responseXML == null);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1101,7 +1101,7 @@ public void overrideMimeType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"true", "exception"}) + @Alerts({"true", "InvalidStateError"}) public void overrideMimeTypeAfterSend() throws Exception { final String html = "\n" + "\n" + "\n" @@ -1143,7 +1143,7 @@ public void overrideMimeType_charset() throws Exception { + " request.overrideMimeType('text/plain; charset=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1169,7 +1169,7 @@ public void overrideMimeType_charset_upper_case() throws Exception { + " request.overrideMimeType('text/plain; chaRSet=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1195,7 +1195,7 @@ public void overrideMimeType_charset_empty() throws Exception { + " request.overrideMimeType('text/plain; charset=');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1224,7 +1224,7 @@ public void overrideMimeType_charset_wrong() throws Exception { + " for (var i = 0; i < text.length; i++) {\n" + " log(text.charCodeAt(i));\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1796,7 +1796,7 @@ public void responseXML_html_select() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').id);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -1834,7 +1834,7 @@ public void responseXML_html_form() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').myInput.name);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -1890,7 +1890,7 @@ public void caseSensitivity_XMLHttpRequest() throws Exception { + " var req = new XMLHttpRequest();\n" + " log(req.readyState);\n" + " log(req.reAdYsTaTe);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + "\n" + ""; @@ -1942,7 +1942,7 @@ public void overrideMimeType_charset_all() throws Exception { + " for (var i = 0; i < request.responseText.length; i++) {\n" + " log(request.responseText.charCodeAt(i));\n" + " }\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1993,7 +1993,7 @@ public void loadParameter() throws Exception { + " request.onload = someLoad;\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2031,7 +2031,7 @@ public void addEventListener() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2069,7 +2069,7 @@ public void addEventListenerDetails() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2108,7 +2108,7 @@ public void addEventListenerCaller() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2137,7 +2137,7 @@ public void upload() throws Exception { + " try {\n" + " var request = new XMLHttpRequest();\n" + " log(request.upload);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2713,7 +2713,7 @@ public void responseTypeSetBeforeOpen() throws Exception { + " log(request.responseType);\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'JsON';\n" @@ -2721,22 +2721,22 @@ public void responseTypeSetBeforeOpen() throws Exception { + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2751,8 +2751,9 @@ public void responseTypeSetBeforeOpen() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"", "exception", "exception", "exception", "exception", "exception", - "", "", "", "", "exception"}) + @Alerts({"", "InvalidAccessError", "InvalidAccessError", "InvalidAccessError", + "InvalidAccessError", "InvalidAccessError", + "", "", "", "", "InvalidAccessError"}) public void responseTypeSetAfterOpenSync() throws Exception { final String html = "\n" @@ -2768,52 +2769,52 @@ public void responseTypeSetAfterOpenSync() throws Exception { + " try {\n" + " request.responseType = 'arraybuffer';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'blob';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'json';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'document';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'JsON';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2844,52 +2845,52 @@ public void responseTypeSetAfterOpenAsync() throws Exception { + " try {\n" + " request.responseType = 'arraybuffer';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'blob';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'json';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'document';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'JsON';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + " \n" @@ -2901,9 +2902,9 @@ public void responseTypeSetAfterOpenAsync() throws Exception { } @Test - @Alerts(DEFAULT = {"", "", "exception", "exception"}, - FF = {"", "", "", "exception"}, - FF_ESR = {"", "", "", "exception"}) + @Alerts(DEFAULT = {"", "", "arraybuffer", "InvalidStateError", "send done", "ex InvalidStateError"}, + FF = {"", "", "arraybuffer", "", "send done", "ex InvalidStateError"}, + FF_ESR = {"", "", "arraybuffer", "", "send done", "ex InvalidStateError"}) public void responseTextInvalidResponseType() throws Exception { final String html = "\n" @@ -2918,20 +2919,30 @@ public void responseTextInvalidResponseType() throws Exception { + " xhr.open('GET', '" + URL_SECOND + "', true);\n" + " log(xhr.responseText);\n" - + " xhr.responseType = 'arraybuffer';\n" + + " try {\n" + + " xhr.responseType = 'arraybuffer';\n" + + " } catch(e) { log(e.name); }\n" + + " log(xhr.responseType);\n" + + " try {\n" + " log(xhr.responseText);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" - + " xhr.onreadystatechange = onStateChange;\n" - + " xhr.send('');\n" + + " try {\n" + + " xhr.onreadystatechange = onStateChange;\n" + + " } catch(e) { log(e.name); }\n" + + + " try {\n" + + " xhr.send('');\n" + + " log('send done');\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " function onStateChange(e) {\n" + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.responseText);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(e) { log('ex ' + e.name); }\n" + " }\n" + " }\n" + " \n" @@ -2974,7 +2985,7 @@ public void responseResponseTypeDefault() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3018,7 +3029,7 @@ public void responseResponseTypeText() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3063,7 +3074,7 @@ public void responseResponseTypeArrayBuffer() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3108,7 +3119,7 @@ public void responseResponseTypeArrayBufferGzipIncrease() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3164,7 +3175,7 @@ public void responseResponseTypeArrayBufferGzipDecrease() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3220,7 +3231,7 @@ public void responseResponseTypeArrayBufferEmpty() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3263,7 +3274,7 @@ public void responseResponseTypeBlob() throws Exception { + " log(xhr.response);\n" + " log(xhr.response.size);\n" + " log(xhr.response.type);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" @@ -3308,7 +3319,7 @@ public void responseResponseTypeBlobEmpty() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.size);\n" - + " } catch(ex) { log('exception'); }\n" + + " } catch(ex) { log(e.name); }\n" + " }\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 2e276215964..1a1cefd4389 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -76,7 +76,7 @@ public void transformToDocument() throws Exception { + " processor.importStylesheet(xslDoc);\n" + " var newDocument = processor.transformToDocument(xmlDoc);\n" + " log(new XMLSerializer().serializeToString(newDocument.documentElement));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" @@ -143,7 +143,7 @@ public void transformToFragment() throws Exception { + " processor.importStylesheet(xslDoc);\n" + " var newFragment = processor.transformToFragment(xmlDoc, document);\n" + " log(new XMLSerializer().serializeToString(newFragment));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" @@ -178,7 +178,7 @@ public void methods() throws Exception { + " } else {\n" + " log('XSLTProcessor not available');\n" + " }\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -201,7 +201,7 @@ public void type() throws Exception { + " log(typeof XSLTProcessor);\n" + " log(XSLTProcessor);\n" + " log(new XSLTProcessor());\n" - + " } catch (e) {log('exception')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + "\n" + ""; @@ -248,10 +248,10 @@ public void browserDetection() throws Exception { */ @Test @Alerts(DEFAULT = {"preparation done", "null"}, - FF = {"preparation done", "exception"}, - FF_ESR = {"preparation done", "exception"}) - @HtmlUnitNYI(CHROME = {"preparation done", "exception"}, - EDGE = {"preparation done", "exception"}) + FF = {"preparation done", "exception "}, + FF_ESR = {"preparation done", "exception "}) + @HtmlUnitNYI(CHROME = {"preparation done", "exception "}, + EDGE = {"preparation done", "exception "}) public void testSecurity() throws Exception { final String html = "\n" + "" + "\n" From b373065ab2aabf2b199bb84b43547f6d233c4c0a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 10:38:10 +0100 Subject: [PATCH 109/516] more on error handling --- .../org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java | 2 +- src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java | 2 +- .../org/htmlunit/javascript/host/intl/NumberFormat2Test.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java index 0a5da391b40..ad5aad9fa0e 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java @@ -51,7 +51,7 @@ private void test(final String... string) throws Exception { } html.append( " log(" + string[string.length - 1] + ");\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java index 44cf427d386..4dd5dffe577 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java @@ -47,7 +47,7 @@ private void test(final String string) throws Exception { + " function test() {\n" + " try {\n" + " log(" + string + ");\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java index 387cb41471b..88b478e450a 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java @@ -44,7 +44,7 @@ private void test(final String... string) throws Exception { } html.append( " log(" + string[string.length - 1] + ");\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" From 102464031f6e01809086b1a10530d3d004c54b30 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 10:38:51 +0100 Subject: [PATCH 110/516] more on error handling --- src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java index d3c5f7d5991..6b7995e699b 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java @@ -45,7 +45,7 @@ public void getAttribute() throws Exception { + " svg.setAttribute('id', 'svgElem');\n" + " document.body.appendChild(svg);\n" + " log(document.getElementById('svgElem').getAttribute('id'));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -71,7 +71,7 @@ public void triggerEvent() throws Exception { + " var e = document.createEvent('MouseEvents');\n" + " e.initEvent('click', true, false);\n" + " document.getElementById('rect').dispatchEvent(e);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + "\n" + "\n" From ff5cd760785e78db1accf49e03328fc37c5aca6e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 10:40:01 +0100 Subject: [PATCH 111/516] more on error handling --- .../org/htmlunit/javascript/host/geo/GeolocationTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java index d7b705d7915..dc20ac0190f 100644 --- a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java @@ -43,7 +43,7 @@ public class GeolocationTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void ctor() throws Exception { final String html = "\n" + ""; @@ -71,7 +71,7 @@ public void navigatorGeolocation() throws Exception { + " function test() {\n" + " try {\n" + " log(navigator.geolocation);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + ""; @@ -104,7 +104,7 @@ public void getCurrentPosition() throws Exception { + " function test() {\n" + " try {\n" + " navigator.geolocation.getCurrentPosition(success, error);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + "\n" From 11d70675983518e8c0b37aaae316edc77fee6e0c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 10:55:21 +0100 Subject: [PATCH 112/516] more on error handling --- .../javascript/host/event/TouchEventTest.java | 52 ++++++++++--------- .../javascript/host/event/TrackEventTest.java | 24 ++++----- .../host/event/TransitionEventTest.java | 24 ++++----- .../javascript/host/event/UIEventTest.java | 10 ++-- .../host/event/WebGLContextEventTest.java | 2 +- .../javascript/host/event/WheelEventTest.java | 24 ++++----- 6 files changed, 70 insertions(+), 66 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java index e4eb7ff3a85..f5230fcc6c4 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java @@ -43,8 +43,8 @@ public class TouchEventTest extends WebDriverTestCase { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "touch", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -66,7 +66,9 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = {"[object TouchEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object TouchEvent]", "undefined", "false", "false", "false"}) public void create_ctorWithoutType() throws Exception { @@ -77,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TouchEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -91,8 +93,8 @@ public void create_ctorWithoutType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "42", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -115,8 +117,8 @@ public void create_ctorNumericType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "null", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -138,7 +140,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -161,8 +163,8 @@ public void create_ctorUnknownType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "HtmlUnitEvent", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -185,8 +187,8 @@ public void create_ctorArbitraryType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "touch", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -218,8 +220,8 @@ public void create_ctorAllDetails() throws Exception { */ @Test @Alerts(DEFAULT = {"[object TouchEvent]", "touch", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -242,7 +244,9 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = {"[object TouchEvent]", "touch", "false", "false", "false"}, EDGE = {"[object TouchEvent]", "touch", "false", "false", "false"}) public void create_ctorAllDetailsWrongData() throws Exception { @@ -255,7 +259,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'touches': 'abc',\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java index 98d638dbef9..2842df6edd9 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TrackEvent('track');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -64,7 +64,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object TrackEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object TrackEvent]", "undefined", "false", "false", "false"}, FF = {"[object TrackEvent]", "undefined", "false", "false", "false"}, @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TrackEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TrackEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TrackEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -134,7 +134,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TrackEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -190,7 +190,7 @@ public void create_ctorAllDetails() throws Exception { + " 'track ': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -213,7 +213,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TrackEvent('track', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -226,7 +226,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object TrackEvent]", "track", "false", "false", "false"}, EDGE = {"[object TrackEvent]", "track", "false", "false", "false"}, FF = {"[object TrackEvent]", "track", "false", "false", "false"}, @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'track': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java index 686009829ce..7d8033e7afe 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -64,7 +64,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object TransitionEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object TransitionEvent]", "undefined", "false", "false", "false"}, FF = {"[object TransitionEvent]", "undefined", "false", "false", "false"}, @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -134,7 +134,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -192,7 +192,7 @@ public void create_ctorAllDetails() throws Exception { + " 'pseudoElement': 'aPseudoElementName'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -215,7 +215,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -228,7 +228,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object TransitionEvent]", "transition", "false", "false", "false"}, EDGE = {"[object TransitionEvent]", "transition", "false", "false", "false"}, FF = {"[object TransitionEvent]", "transition", "false", "false", "false"}, @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'elapsedTime': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java index 78ed51ea55a..28a43debd64 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java @@ -57,7 +57,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new UIEvent('event');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -82,7 +82,7 @@ public void create_ctorWithDetails() throws Exception { + " 'view': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -95,7 +95,7 @@ public void create_ctorWithDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorWithDetailsViewNotWindow() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -152,7 +152,7 @@ public void initUIEvent() throws Exception { + " log(e.cancelable);\n" + " log(e.view == window);\n" + " log(e.detail);\n" - + "} catch(e) { log('exception') }\n" + + "} catch(e) { log(e.name) }\n" + ""; loadPageVerifyTitle2(html); } diff --git a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java index ad1fc361e22..246fcc84016 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java @@ -42,7 +42,7 @@ public void constants() throws Exception { + " log(WebGLContextEvent.CAPTURING_PHASE);\n" + " log(WebGLContextEvent.AT_TARGET);\n" + " log(WebGLContextEvent.BUBBLING_PHASE);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java index 409ff420ea9..6c1a3472b5e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new WheelEvent('wheel');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -64,7 +64,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object WheelEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object WheelEvent]", "undefined", "false", "false", "false"}, FF = {"[object WheelEvent]", "undefined", "false", "false", "false"}, @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new WheelEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new WheelEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new WheelEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -134,7 +134,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new WheelEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'deltaMode': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new WheelEvent('wheel', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -229,7 +229,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object WheelEvent]", "wheel", "false", "false", "false"}, EDGE = {"[object WheelEvent]", "wheel", "false", "false", "false"}, FF = {"[object WheelEvent]", "wheel", "false", "false", "false"}, @@ -244,7 +244,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'deltaX': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" From 4b9a737c14357509f8286e16b6e11167fccff691 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 12:32:20 +0100 Subject: [PATCH 113/516] more on error handling --- .../host/event/AnimationEventTest.java | 8 +-- .../host/event/AudioProcessingEventTest.java | 18 +++---- .../event/BeforeInstallPromptEventTest.java | 40 +++++++------- .../host/event/BeforeUnloadEventTest.java | 12 ++--- .../javascript/host/event/BlobEventTest.java | 34 ++++++------ .../javascript/host/event/CloseEventTest.java | 16 +++--- .../host/event/CompositionEventTest.java | 22 ++++---- .../host/event/CustomEventTest.java | 20 +++---- .../host/event/DeviceMotionEventTest.java | 22 ++++---- .../event/DeviceOrientationEventTest.java | 22 ++++---- .../javascript/host/event/DragEventTest.java | 22 ++++---- .../javascript/host/event/ErrorEventTest.java | 22 ++++---- .../event/EventListenersContainerTest.java | 6 +-- .../javascript/host/event/EventTest.java | 34 ++++++------ .../javascript/host/event/FocusEventTest.java | 22 ++++---- .../host/event/GamepadEventTest.java | 22 ++++---- .../host/event/HashChangeEventTest.java | 12 ++--- .../javascript/host/event/InputEventTest.java | 28 +++++----- .../host/event/KeyboardEventTest.java | 52 +++++++++---------- .../host/event/MessageEventTest.java | 10 ++-- .../javascript/host/event/MouseEventTest.java | 18 +++---- .../host/event/MutationEventTest.java | 52 ++++++++++++------- .../OfflineAudioCompletionEventTest.java | 36 ++++++------- .../host/event/PageTransitionEventTest.java | 22 ++++---- .../host/event/PointerEventTest.java | 16 +++--- .../host/event/PopStateEventTest.java | 26 +++++----- .../host/event/ProgressEventTest.java | 8 +-- .../host/event/StorageEventTest.java | 24 ++++----- .../host/event/SubmitEventTest.java | 24 ++++----- .../javascript/host/event/TextEventTest.java | 44 +++++++++------- .../javascript/host/event/TimeEventTest.java | 52 ++++++++++++------- 31 files changed, 404 insertions(+), 362 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index 17b4a8d5639..69a305f9c35 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new AnimationEvent('animationstart');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -67,8 +67,8 @@ public void create_ctor() throws Exception { */ @Test @Alerts(DEFAULT = {"[object AnimationEvent]", "", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index 14f7b46066d..a9c141fd20c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -44,7 +44,7 @@ public class AudioProcessingEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + ""; @@ -65,8 +65,8 @@ public void create_ctor() throws Exception { */ @Test @Alerts(DEFAULT = {"[object AudioProcessingEvent]", "audioprocessing", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "TypeError", + FF_ESR = "TypeError") // audioCtx.createBuffer is missing @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") @@ -85,7 +85,7 @@ public void create_ctorAllDetails() throws Exception { + " 'playbackTime': 4,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + DUMP_EVENT_FUNCTION + " }\n" + "\n" @@ -98,7 +98,7 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorMissingDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -120,7 +120,7 @@ public void create_ctorMissingDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java index 83f197f04a1..54987eedf3d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java @@ -43,8 +43,8 @@ public class BeforeInstallPromptEventTest extends WebDriverTestCase { */ @Test @Alerts(DEFAULT = {"[object BeforeInstallPromptEvent]", "before", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -66,7 +66,9 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF = "ReferenceError", + FF_ESR = "ReferenceError") @HtmlUnitNYI(CHROME = {"[object BeforeInstallPromptEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object BeforeInstallPromptEvent]", "undefined", "false", "false", "false"}) public void create_ctorWithoutType() throws Exception { @@ -77,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -91,8 +93,8 @@ public void create_ctorWithoutType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object BeforeInstallPromptEvent]", "42", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -115,8 +117,8 @@ public void create_ctorNumericType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object BeforeInstallPromptEvent]", "null", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -138,7 +140,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -161,8 +163,8 @@ public void create_ctorUnknownType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object BeforeInstallPromptEvent]", "HtmlUnitEvent", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -185,8 +187,8 @@ public void create_ctorArbitraryType() throws Exception { */ @Test @Alerts(DEFAULT = {"[object BeforeInstallPromptEvent]", "click", "false", "false", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java index 055bf70d977..8ecb311085a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java @@ -47,7 +47,7 @@ public class BeforeUnloadEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + ""; @@ -76,7 +76,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('BeforeUnloadEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void dispatchEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" @@ -146,7 +146,7 @@ public void dispatchEvent_event() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java index 4063ba3a547..de0290f310b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java @@ -42,7 +42,7 @@ public class BlobEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -64,7 +64,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorWithoutType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -86,7 +86,7 @@ public void create_ctorWithoutType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -108,7 +108,7 @@ public void create_ctorNumericType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -130,7 +130,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -152,7 +152,7 @@ public void create_ctorUnknownType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -187,7 +187,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': blob\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -223,7 +223,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorAllDetailsWrongData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java index 0373fc0b07e..b73a41bdf30 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CloseEvent('type-close');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'wasClean': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,8 +99,8 @@ public void create_ctorWithDetails() throws Exception { */ @Test @Alerts(DEFAULT = {"[object CloseEvent]", "", "false", "false", "false", "0", "", "false"}, - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -123,8 +123,8 @@ public void create_createEvent() throws Exception { */ @Test @Alerts(DEFAULT = "no initCloseEvent", - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void initCloseEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java index b0c243f0f6d..00de8fb4531 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java @@ -55,7 +55,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CompositionEvent('composition');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -68,7 +68,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object CompositionEvent]", "undefined", "false", "false", "false", "false", ""}, EDGE = {"[object CompositionEvent]", "undefined", "false", "false", "false", "false", ""}, FF = {"[object CompositionEvent]", "undefined", "false", "false", "false", "false", ""}, @@ -81,7 +81,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CompositionEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CompositionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -125,7 +125,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CompositionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -138,7 +138,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -169,7 +169,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CompositionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new CompositionEvent('composition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -240,7 +240,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java index 535dececff5..390342aab18 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CustomEvent('my');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object CustomEvent]", "undefined", "false", "false", "false", "null"}, EDGE = {"[object CustomEvent]", "undefined", "false", "false", "false", "null"}, FF = {"[object CustomEvent]", "undefined", "false", "false", "false", "null"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CustomEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CustomEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CustomEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CustomEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 'abcd'" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -212,7 +212,7 @@ public void initCustomEvent() throws Exception { + " try {\n" + " var e = document.createEvent('CustomEvent');\n" + " log(typeof e.initCustomEvent);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java index d01afb9e197..4898ce47bb1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java @@ -56,7 +56,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('motion');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -69,7 +69,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object DeviceMotionEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object DeviceMotionEvent]", "undefined", "false", "false", "false"}, FF = {"[object DeviceMotionEvent]", "undefined", "false", "false", "false"}, @@ -82,7 +82,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -104,7 +104,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -126,7 +126,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -139,7 +139,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -170,7 +170,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceMotionEvent('motion', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java index 8013ab183c4..6d17e1cb6e1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('orientation');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -71,7 +71,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object DeviceOrientationEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object DeviceOrientationEvent]", "undefined", "false", "false", "false"}, FF = {"[object DeviceOrientationEvent]", "undefined", "false", "false", "false"}, @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -141,7 +141,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -196,7 +196,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceOrientationEvent('orientation', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java index f47002d3766..50681f05ae7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DragEvent('drag');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object DragEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object DragEvent]", "undefined", "false", "false", "false"}, FF = {"[object DragEvent]", "undefined", "false", "false", "false"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DragEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DragEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DragEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DragEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DragEvent('drag', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java index 1a509ce66be..b80751a3574 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ErrorEvent('error');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object ErrorEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object ErrorEvent]", "undefined", "false", "false", "false"}, FF = {"[object ErrorEvent]", "undefined", "false", "false", "false"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new ErrorEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new ErrorEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new ErrorEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new ErrorEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new ErrorEvent('error', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java index c1e2e1f5d0e..da22749085a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java @@ -57,7 +57,7 @@ public void addEventListener() throws Exception { + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + "\n" @@ -95,7 +95,7 @@ public void addEventListener_node() throws Exception { + " document.body.addEventListener('myevent', listener, false);\n" + " document.body.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + "\n" @@ -125,7 +125,7 @@ public void addEventListener_no_handleEvent() throws Exception { + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index e64e201c964..db8a734a4ca 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new Event('event');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'bubbles': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_ctorWithDetailsBoolAsString() throws Exception { + " 'bubbles': 'true'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -133,7 +133,7 @@ public void create_ctorWithDetailsBoolAsNumber() throws Exception { + " 'bubbles': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -157,7 +157,7 @@ public void create_ctorWithDetailsBoolAsObject() throws Exception { + " 'bubbles': {}\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -181,7 +181,7 @@ public void create_ctorWithDetailsBoolAsUndefined() throws Exception { + " 'bubbles': undefined\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -205,7 +205,7 @@ public void create_ctorWithDetailsBoolAsNull() throws Exception { + " 'bubbles': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -227,7 +227,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('Event');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -276,7 +276,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('event', true, false);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -659,7 +659,7 @@ public void ieWindowEvent() throws Exception { + " log(window.event == null);\n" + " try {\n" + " log(event == null);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + ""; @@ -895,7 +895,7 @@ public void constants() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void text() throws Exception { final String html = "\n" + ""; @@ -1206,7 +1206,7 @@ public void defaultPrevented() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.defaultPrevented);\n" + " log(typeof event.defaultPrevented);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + ""; @@ -1228,7 +1228,7 @@ public void returnValue() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + ""; @@ -1272,7 +1272,7 @@ public void returnValueSetter() throws Exception { + " event.preventDefault();\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + "\n" + ""; @@ -1424,7 +1424,7 @@ private void returnValueSetterUndefined(final String value) throws Exception { + " event.returnValue = !event.returnValue;\n" + " log(event.returnValue);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " triggerClick.addEventListener('click', function (event) {\n" @@ -1488,7 +1488,7 @@ public void preventDefault() throws Exception { + " event.initEvent('click', 'true', 'true');\n" + " log(event.cancelable + ' - ' + event.defaultPrevented);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java index 88f7cf20d15..49811b14d4e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new FocusEvent('focus');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object FocusEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object FocusEvent]", "undefined", "false", "false", "false"}, FF = {"[object FocusEvent]", "undefined", "false", "false", "false"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new FocusEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new FocusEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new FocusEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new FocusEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new FocusEvent('focus', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java index 3364fbb4441..6c12397576a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new GamepadEvent('gamepad');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object GamepadEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object GamepadEvent]", "undefined", "false", "false", "false"}, FF = {"[object GamepadEvent]", "undefined", "false", "false", "false"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new GamepadEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new GamepadEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new GamepadEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new GamepadEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new GamepadEvent('gamepad', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index ca789e607ad..cd8e3f64e54 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -60,7 +60,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new HashChangeEvent('hashchange');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -86,7 +86,7 @@ public void create_ctorWithDetails() throws Exception { + " 'newURL': '" + URL_FIRST + "#1'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('HashChangeEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -153,7 +153,7 @@ public void initHashChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void dispatchEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -67,7 +67,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object InputEvent]", "undefined", "false", "false", "false", ",,false"}, EDGE = {"[object InputEvent]", "undefined", "false", "false", "false", @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new InputEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new InputEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new InputEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -141,7 +141,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new InputEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { + " var event = new InputEvent('input', " + "{ inputType: 'inputType', data: 'data', isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -223,7 +223,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new InputEvent('input', " + "{ isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -246,7 +246,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new InputEvent('input', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -268,7 +268,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new InputEvent('input', null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new InputEvent('input', undefined);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -314,7 +314,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java index 27dbb9ed27c..2d2cf9d6590 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java @@ -68,7 +68,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new KeyboardEvent('type');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -81,7 +81,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object KeyboardEvent]", "undefined", "false", "false", "false", ",,0,false,false,false,false,false,false,0,0"}, EDGE = {"[object KeyboardEvent]", "undefined", "false", "false", "false", @@ -98,7 +98,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new KeyboardEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -157,7 +157,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -189,7 +189,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new KeyboardEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetails() throws Exception { + "ctrlKey: true, shiftKey: true, altKey: true, metaKey: true," + "repeat: true, isComposing: true, charCode: 456, which: 789 });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new KeyboardEvent('keyboard', " + "{ key: null, code: undefined, ctrlKey: true, charCode: 456 });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -267,7 +267,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new KeyboardEvent('keyboard', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -313,7 +313,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', undefined);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -338,7 +338,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -372,7 +372,7 @@ public void createEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "0-0", "undefined-undefined"}) + @Alerts({"NotSupportedError", "0-0", "undefined-undefined"}) public void keyCode() throws Exception { final String html = "\n" + ""; @@ -399,7 +399,7 @@ public void keyCode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"NotSupportedError", "TypeError"}) public void initKeyEvent() throws Exception { final String html = "\n" + ""; @@ -437,13 +437,13 @@ public void initKeyEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = {"exception", + @Alerts(DEFAULT = {"NotSupportedError", "keydown, true, true, , 0, true, true, true, true, 0, 0", "keyup, false, false, , 7, false, false, false, false, 0, 0"}, - FF = {"exception", + FF = {"NotSupportedError", "keydown, true, true, Fn, 0, true, true, true, true, 0, 0", "keyup, false, false, , 7, false, false, false, false, 0, 0"}, - FF_ESR = {"exception", + FF_ESR = {"NotSupportedError", "keydown, true, true, Fn, 0, true, true, true, true, 0, 0", "keyup, false, false, , 7, false, false, false, false, 0, 0"}) @HtmlUnitNYI(CHROME = {"exception", @@ -470,7 +470,7 @@ public void initKeyboardEvent() throws Exception { + " keyEvent = document.createEvent('KeyEvents');\n" + " keyEvent.initKeyboardEvent('keyup', false, false, null, '', 7, false, false, false, false);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " try {\n" + " var keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyboardEvent('keydown', true, true, null, 'Fn', 0, true, true, true, true);\n" @@ -478,7 +478,7 @@ public void initKeyboardEvent() throws Exception { + " keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyboardEvent('keyup', false, false, null, '', 7, false, false, false, false);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index 031ea543277..46261992e97 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MessageEvent('type-message');\n" + " dump(event);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -89,7 +89,7 @@ public void create_ctorWithDetails() throws Exception { + " 'source': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void createEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void initMessageEventPortsNull() throws Exception { final String[] expectedAlerts = getExpectedAlerts(); if (expectedAlerts.length > 4) { @@ -140,7 +140,7 @@ public void initMessageEventPortsNull() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, null);\n" + " dump(e);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" @@ -171,7 +171,7 @@ public void initMessageEventPortsUndefined() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, undefined);\n" + " dump(e);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java index e9dc2fffa0a..023f79239d2 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java @@ -71,7 +71,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MouseEvent('click');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -84,7 +84,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object MouseEvent]", "undefined", "false", "false", "false", "false", "0", "0", "0", "0", "false", "false", "false", "false", "0", "0", "1"}, EDGE = {"[object MouseEvent]", "undefined", "false", "false", "false", "false", @@ -101,7 +101,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new MouseEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new MouseEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -147,7 +147,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new MouseEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -160,7 +160,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -192,7 +192,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new MouseEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -228,7 +228,7 @@ public void create_ctorAllDetails() throws Exception { + " 'buttons': 4\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java index 2d9c1675c35..0c862971922 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java @@ -45,7 +45,9 @@ public class MutationEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -67,7 +69,9 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorWithoutType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -89,7 +93,9 @@ public void create_ctorWithoutType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -111,7 +117,9 @@ public void create_ctorNumericType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -133,7 +141,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -155,7 +163,9 @@ public void create_ctorUnknownType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -177,7 +187,9 @@ public void create_ctorArbitraryType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -201,7 +213,9 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -224,7 +238,9 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetailsWrongData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java index 94be609960a..4286e0c5ac0 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java @@ -43,7 +43,7 @@ public class OfflineAudioCompletionEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -65,7 +65,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorWithoutType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -87,7 +87,7 @@ public void create_ctorWithoutType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -109,7 +109,7 @@ public void create_ctorNumericType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -131,7 +131,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -153,7 +153,7 @@ public void create_ctorUnknownType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -175,7 +175,7 @@ public void create_ctorArbitraryType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -199,7 +199,7 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -222,7 +222,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void create_ctorAllDetailsWrongData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java index d3fb3912ae6..f1d2f28584d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -66,7 +66,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object PageTransitionEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object PageTransitionEvent]", "undefined", "false", "false", "false"}, FF = {"[object PageTransitionEvent]", "undefined", "false", "false", "false"}, @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new PageTransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java index f3950082ce8..46ac37e557a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java @@ -69,7 +69,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PointerEvent('click');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithDetails() throws Exception { + " 'pointerType': 'mouse'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -111,7 +111,7 @@ public void create_ctorWithDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -133,7 +133,7 @@ public void create_createEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void initPointerEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -157,7 +157,7 @@ public void initPointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void dispatchEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -87,7 +87,7 @@ public void create_ctorWithDetails() throws Exception { + " 'state': 2,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,8 +101,8 @@ public void create_ctorWithDetails() throws Exception { */ @Test @Alerts(DEFAULT = {"[object PopStateEvent]", "null", "", "false", "false", "false", "null"}, - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -125,8 +125,8 @@ public void create_createEvent() throws Exception { */ @Test @Alerts(DEFAULT = {"[object PopStateEvent]", "null", "", "false", "false", "false", "null"}, - FF = "exception", - FF_ESR = "exception") + FF = "NotSupportedError", + FF_ESR = "NotSupportedError") public void setState() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -181,9 +181,9 @@ public void dispatchEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", - FF = "exception ctor", - FF_ESR = "exception ctor") + @Alerts(DEFAULT = "InvalidStateError", + FF = "ctor NotSupportedError", + FF_ESR = "ctor NotSupportedError") @NotYetImplemented({CHROME, EDGE}) public void dispatchEventWithoutInit() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -192,12 +192,12 @@ public void dispatchEventWithoutInit() throws Exception { + " function test() {\n" + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" - + " } catch (e) { log('exception ctor'); return; }\n" + + " } catch (e) { log('ctor ' + e.name); return; }\n" + " try {\n" + " dispatchEvent(event);\n" + " log('dispatched');\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java index 0de54e878c5..0d973a73b7e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ProgressEvent('progress');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'total': 666\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("NotSupportedError") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java index 127f4774bcc..b6db76b7d2c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new StorageEvent('storage');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -64,7 +64,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object StorageEvent]", "undefined", "false", "false", "false"}, EDGE = {"[object StorageEvent]", "undefined", "false", "false", "false"}, FF = {"[object StorageEvent]", "undefined", "false", "false", "false"}, @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new StorageEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new StorageEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new StorageEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -134,7 +134,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new StorageEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new StorageEvent('storage', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -230,7 +230,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object StorageEvent]", "storage", "false", "false", "false"}, EDGE = {"[object StorageEvent]", "storage", "false", "false", "false"}, FF = {"[object StorageEvent]", "storage", "false", "false", "false"}, @@ -245,7 +245,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'storageArea': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java index 72936c45b2c..480112acec4 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new SubmitEvent('submit');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -65,7 +65,7 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object SubmitEvent]", "undefined", "false", "false", "false", "null"}, EDGE = {"[object SubmitEvent]", "undefined", "false", "false", "false", "null"}, FF = {"[object SubmitEvent]", "undefined", "false", "false", "false", "null"}, @@ -78,7 +78,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new SubmitEvent();\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -100,7 +100,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new SubmitEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new SubmitEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -135,7 +135,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -166,7 +166,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new SubmitEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -195,7 +195,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -218,7 +218,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new SubmitEvent('submit', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -231,7 +231,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = {"[object SubmitEvent]", "submit", "false", "false", "false", "null"}, EDGE = {"[object SubmitEvent]", "submit", "false", "false", "false", "null"}, FF = {"[object SubmitEvent]", "submit", "false", "false", "false", "null"}, @@ -246,7 +246,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'submitter': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java index 22db974c167..fe2647b939e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java @@ -41,7 +41,8 @@ public class TextEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -63,7 +64,8 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorWithoutType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -85,7 +87,8 @@ public void create_ctorWithoutType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -107,7 +110,8 @@ public void create_ctorNumericType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -129,7 +133,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -151,7 +155,8 @@ public void create_ctorUnknownType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -173,7 +178,8 @@ public void create_ctorArbitraryType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -198,7 +204,8 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -221,7 +228,8 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "TypeError", + FF_ESR = "ReferenceError") public void create_ctorAllDetailsWrongData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java index e2c5843cc4a..937982d8bb1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java @@ -41,7 +41,9 @@ public class TimeEventTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctor() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -63,7 +65,9 @@ public void create_ctor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorWithoutType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -85,7 +89,9 @@ public void create_ctorWithoutType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorNumericType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -107,7 +113,9 @@ public void create_ctorNumericType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorNullType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -129,7 +137,7 @@ public void create_ctorNullType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void create_ctorUnknownType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -151,7 +159,9 @@ public void create_ctorUnknownType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorArbitraryType() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -173,7 +183,9 @@ public void create_ctorArbitraryType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -198,7 +210,9 @@ public void create_ctorAllDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetailsMissingData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -221,7 +235,9 @@ public void create_ctorAllDetailsMissingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "ReferenceError", + FF = "TypeError", + FF_ESR = "TypeError") public void create_ctorAllDetailsWrongData() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" From 546f452392452f6a0ebd2d0c3cf6015b8800d8c0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 12:59:51 +0100 Subject: [PATCH 114/516] more on error handling --- .../host/css/CSSImportRuleTest.java | 6 +- .../javascript/host/css/CSSMediaRuleTest.java | 56 +++++++++---------- .../javascript/host/css/CSSPageRuleTest.java | 22 ++++---- .../javascript/host/css/CSSSelectorTest.java | 42 +++++++------- .../host/css/CSSStyleDeclarationTest.java | 40 ++++++------- .../javascript/host/css/CSSStyleRuleTest.java | 4 +- .../host/css/CSSStyleSheetTest.java | 18 +++--- .../host/css/StyleSheetListTest.java | 2 +- 8 files changed, 95 insertions(+), 95 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java index 5e6e79d6e8a..bb713615870 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java @@ -114,7 +114,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@import \"imp2.css\";';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -175,7 +175,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -236,7 +236,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index 98334f4d9b8..1e07b4a02a5 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -197,7 +197,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@media screen { span { color: rgb(0, 0, 0); }}';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -280,7 +280,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -335,7 +335,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -540,7 +540,7 @@ public void insertRule() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -553,7 +553,7 @@ public void insertRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertRuleNull() throws Exception { final String html = "\n" @@ -570,7 +570,7 @@ public void insertRuleNull() throws Exception { + " try {\n" + " rule.insertRule(null);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -583,7 +583,7 @@ public void insertRuleNull() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertRuleEmpty() throws Exception { final String html = "\n" @@ -600,7 +600,7 @@ public void insertRuleEmpty() throws Exception { + " try {\n" + " rule.insertRule('');\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -613,7 +613,7 @@ public void insertRuleEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertRuleInvalid() throws Exception { final String html = "\n" @@ -630,7 +630,7 @@ public void insertRuleInvalid() throws Exception { + " try {\n" + " rule.insertRule('%ab');\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -667,7 +667,7 @@ public void insertRuleWithIndex() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -680,7 +680,7 @@ public void insertRuleWithIndex() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertRuleNullWithIndex() throws Exception { final String html = "\n" @@ -697,7 +697,7 @@ public void insertRuleNullWithIndex() throws Exception { + " try {\n" + " rule.insertRule(null, 1);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -710,7 +710,7 @@ public void insertRuleNullWithIndex() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"1", "exception"}) + @Alerts({"1", "SyntaxError"}) public void insertRuleEmptyWithIndex() throws Exception { final String html = "\n" @@ -733,7 +733,7 @@ public void insertRuleEmptyWithIndex() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -746,7 +746,7 @@ public void insertRuleEmptyWithIndex() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertRuleInvalidWithIndex() throws Exception { final String html = "\n" @@ -763,7 +763,7 @@ public void insertRuleInvalidWithIndex() throws Exception { + " try {\n" + " rule.insertRule('%ab', 1);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -850,7 +850,7 @@ public void insertRuleWithIndexNaN() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"1", "exception"}) + @Alerts({"1", "IndexSizeError"}) public void insertRuleWithIndexNegative() throws Exception { final String html = "\n" @@ -868,7 +868,7 @@ public void insertRuleWithIndexNegative() throws Exception { + " try {\n" + " rule.insertRule('span { color:#000000; }', 2);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -881,7 +881,7 @@ public void insertRuleWithIndexNegative() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"1", "exception"}) + @Alerts({"1", "IndexSizeError"}) public void insertRuleWithIndexGreaterThanLength() throws Exception { final String html = "\n" @@ -899,7 +899,7 @@ public void insertRuleWithIndexGreaterThanLength() throws Exception { + " try {\n" + " rule.insertRule('span { color:#000000; }', 2);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -934,7 +934,7 @@ public void deleteRule() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -969,7 +969,7 @@ public void deleteRuleNull() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -1004,7 +1004,7 @@ public void deleteRuleNaN() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -1017,7 +1017,7 @@ public void deleteRuleNaN() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void deleteRuleNegative() throws Exception { final String html = "\n" @@ -1035,7 +1035,7 @@ public void deleteRuleNegative() throws Exception { + " try {\n" + " rule.deleteRule(-1);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -1048,7 +1048,7 @@ public void deleteRuleNegative() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"2", "exception"}) + @Alerts({"2", "IndexSizeError"}) public void deleteRuleGreaterThanLength() throws Exception { final String html = "\n" @@ -1066,7 +1066,7 @@ public void deleteRuleGreaterThanLength() throws Exception { + " try {\n" + " rule.deleteRule(2);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java index 31603f78a74..07c12eace26 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java @@ -164,7 +164,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@page { margin: 2cm; }';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -219,7 +219,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -274,7 +274,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -303,7 +303,7 @@ public void selectorTextEmpty() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -332,7 +332,7 @@ public void selectorText() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -361,7 +361,7 @@ public void selectorTextCaseInsensitive() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -392,7 +392,7 @@ public void selectorTextSet() throws Exception { + " rule.selectorText = ':left';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -423,7 +423,7 @@ public void selectorTextSetNull() throws Exception { + " rule.selectorText = null;\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -454,7 +454,7 @@ public void selectorTextSetEmpty() throws Exception { + " rule.selectorText = '';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -485,7 +485,7 @@ public void selectorTextSetInvalid() throws Exception { + " rule.selectorText = ':grey';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -516,7 +516,7 @@ public void selectorTextSetCaseInsensitive() throws Exception { + " rule.selectorText = ':LeFt';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index dd2c6f9b694..735b134e9c2 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -67,7 +67,7 @@ public void querySelectorAll_nullUndefined() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"SyntaxError", "SyntaxError"}) public void querySelectorAll_emptyString() throws Exception { final String html = "\n" + "\n" @@ -76,10 +76,10 @@ public void querySelectorAll_emptyString() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll(''));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " try {\n" + " log(document.querySelectorAll(' '));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -251,7 +251,7 @@ public void nth_child_equation() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void invalid() throws Exception { final String html = "\n" + "\n" @@ -1204,7 +1204,7 @@ public void invalid_not() throws Exception { + " log(found.length);\n" + " log(found[0].id);\n" + " log(found[1].id);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -1361,7 +1361,7 @@ public void notWithFirstOfType() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('div:not(div:first-of-type)')[0].id);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -1406,7 +1406,7 @@ public void notWithNthOfType() throws Exception { + " log(res[0].id);\n" + " log(res[1].id);\n" + " log(res[2].id);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -1431,7 +1431,7 @@ public void notWithLastOfType() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('div:not(div:last-of-type)')[1].id);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -1476,7 +1476,7 @@ public void notWithNthLastOfType() throws Exception { + " log(res[0].id);\n" + " log(res[1].id);\n" + " log(res[2].id);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -2014,7 +2014,7 @@ public void has() throws Exception { + " var list = document.querySelectorAll('h1:has(p)');\n" + " log(list.length);\n" + " log(list[0]);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -2075,7 +2075,7 @@ public void differentWhitespaceClassName() throws Exception { + "try {\n" + " log(document.querySelectorAll('.foo').length);\n" + " log(document.querySelectorAll('.bar').length);\n" - + "} catch(e) {log('exception')}\n" + + "} catch(e) {log(e.name)}\n" + ""; loadPageVerifyTitle2(html); @@ -2099,7 +2099,7 @@ public void escapedClassName() throws Exception { + " log(document.querySelectorAll('.foo\\\\[bar\\\\]')[0].id);\n" + " log(document.querySelectorAll('.foo\\\\.bar')[0].id);\n" + " log(document.querySelectorAll('.foo\\\\:bar')[0].id);\n" - + "} catch(e) {log('exception')}\n" + + "} catch(e) {log(e.name)}\n" + ""; loadPageVerifyTitle2(html); @@ -2134,7 +2134,7 @@ public void escapedId() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void invalidSelectors() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -2145,7 +2145,7 @@ public void invalidSelectors() throws Exception { + " try {\n" + " var list = document.querySelectorAll('li:foo() ~ li');\n" + " log(list.length);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -2390,20 +2390,20 @@ private void emptyAndDetached(final String selector) throws Exception { + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " div = document.createElement('div');\n" + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " var input = document.createElement('span');\n" + " div.appendChild(input);\n" + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -2517,7 +2517,7 @@ public void xmlAttribute() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"SyntaxError", "SyntaxError"}) public void querySelector_invalid() throws Exception { final String html = "\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 72e393c3123..6c2b689ae4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -240,7 +240,7 @@ public void cssTextSet() throws Exception { + " decl.cssText = 'color:#000000;';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -248,7 +248,7 @@ public void cssTextSet() throws Exception { + " decl.cssText = 'color:#000000;';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -282,7 +282,7 @@ public void cssTextSetNull() throws Exception { + " decl.cssText = null;\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -290,7 +290,7 @@ public void cssTextSetNull() throws Exception { + " decl.cssText = null;\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -324,7 +324,7 @@ public void cssTextSetEmpty() throws Exception { + " decl.cssText = '';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -332,7 +332,7 @@ public void cssTextSetEmpty() throws Exception { + " decl.cssText = '';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -372,7 +372,7 @@ public void cssTextSetInvalid() throws Exception { + " decl.cssText = 'abc';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -380,7 +380,7 @@ public void cssTextSetInvalid() throws Exception { + " decl.cssText = 'abc';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -510,7 +510,7 @@ public void lengthSet() throws Exception { + " decl.length = 2;\n" + " log(decl.length);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -518,7 +518,7 @@ public void lengthSet() throws Exception { + " decl.length = 2;\n" + " log(decl.length);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -582,7 +582,7 @@ public void parentRuleSet() throws Exception { + " log(decl.parentRule);\n" + " log(decl.parentRule.selectorText);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -590,7 +590,7 @@ public void parentRuleSet() throws Exception { + " decl.parentRule = styleSheet.cssRules[1];\n" + " log(decl.parentRule);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" @@ -797,7 +797,7 @@ public void getPropertyValue() throws Exception { + " try {\n" + " var oDiv1 = document.getElementById('div1');\n" + " log(oDiv1.style.getPropertyValue('background'));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -1012,7 +1012,7 @@ public void setOpacity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"undefined", "exception"}) + @Alerts({"undefined", "TypeError"}) public void setExpression() throws Exception { final String html = "\n" + "
        \n" @@ -1033,7 +1033,7 @@ public void setExpression() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"undefined", "exception"}) + @Alerts({"undefined", "TypeError"}) public void removeExpression() throws Exception { final String html = "\n" + "
        \n" @@ -3066,8 +3066,8 @@ public void pixelBottom() throws Exception { */ @Test @Alerts(DEFAULT = {"undefined", "none"}, - CHROME = {"undefined", "before", "none", "exception"}, - EDGE = {"undefined", "before", "none", "exception"}) + CHROME = {"undefined", "before", "none", "TypeError"}, + EDGE = {"undefined", "before", "none", "TypeError"}) @HtmlUnitNYI(CHROME = {"function", "before", "none", "after", "none"}, EDGE = {"function", "before", "none", "after", "none"}, FF = {"function", "before", "none", "after", "none"}, @@ -3094,7 +3094,7 @@ public void interceptSetter() throws Exception { + " var div = document.getElementById('d');\n" + " div.style.display = 'none';\n" + " log(div.style.display);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java index d928cabf2af..0908b9371b3 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java @@ -224,7 +224,7 @@ public void oldIEStyleFilter() throws Exception { + " var rules = sheet.cssRules || sheet.rules;\n" + " log(rules.length);\n" + " log(rules[0].style.filter);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -251,7 +251,7 @@ public void filter() throws Exception { + " var rules = sheet.cssRules || sheet.rules;\n" + " log(rules.length);\n" + " log(rules[0].style.filter);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java index b8cade4df11..48a5dfb4972 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java @@ -256,7 +256,7 @@ public void addRuleInvalidRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("IndexSizeError") public void addInvalidRule() throws Exception { final String html = "\n" + "\n" + "\n" + "\n" @@ -348,7 +348,7 @@ public void insertRuleInvalidRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void insertInvalidRule() throws Exception { final String html = "\n" + "\n" @@ -362,7 +362,7 @@ public void insertInvalidRule() throws Exception { + " if (s.insertRule)\n" + " s.insertRule('.testStyle1', 0);\n" + " log('inserted');\n" - + " } catch(err) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -407,7 +407,7 @@ public void removeRule_deleteRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("IndexSizeError") public void deleteRuleInvalidParam() throws Exception { final String html = "\n" + "\n" @@ -423,7 +423,7 @@ public void deleteRuleInvalidParam() throws Exception { + " else\n" + " s.removeRule(19);\n" + " log('deleted');\n" - + " } catch(err) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "}\n" + "\n" + "\n" @@ -455,7 +455,7 @@ public void deleteRuleIgnored() throws Exception { + " log(rules.length);\n" + " log(rules[0].selectorText);\n" + " log(rules[0].style.cssText);\n" - + " } catch(err) { log('exception'); }\n" + + " } catch(err) { log(e.name); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index 4ac52bd5913..2dfbb9c68b6 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -85,7 +85,7 @@ public void getComputedStyle_Link() throws Exception { + " log(window.getComputedStyle(div, null).color);\n" + " var div2 = document.getElementById('myDiv2');\n" + " log(window.getComputedStyle(div2, null).color);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + " \n" From bbf11a75c9eca8e996e66227fc4f7fa41c8dcb63 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 13:00:55 +0100 Subject: [PATCH 115/516] more on error handling --- .../javascript/host/draganddrop/DataTransferItemTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java index 3033f3fca50..a331f95d7b2 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java @@ -84,7 +84,7 @@ public void string() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"file", "", "file", "text/html", "exception"}) + @Alerts({"file", "", "file", "text/html", "TypeError"}) public void file() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" + "\n" From 5fce6f827bc0406aa071f8f557d8bdda5f4cc08f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 13:03:01 +0100 Subject: [PATCH 116/516] more on error handling --- .../DedicatedWorkerGlobalScopeTest.java | 22 +++++++++---------- .../host/worker/WorkerLocationTest.java | 2 +- .../host/worker/WorkerNavigatorTest.java | 2 +- .../javascript/host/worker/WorkerTest.java | 10 ++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java index fda0c8de35a..f77759f2dce 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java @@ -47,7 +47,7 @@ public void onmessage() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -75,7 +75,7 @@ public void selfOnmessage() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "self.onmessage = function(e) {\n" @@ -103,7 +103,7 @@ public void selfAddEventListener() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "self.addEventListener('message', (e) => {\n" @@ -130,7 +130,7 @@ public void selfSetTimeout() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "self.setTimeout(function() {\n" @@ -156,7 +156,7 @@ public void selfSetInterval() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "var id = self.setInterval(function() {\n" @@ -180,7 +180,7 @@ public void functionDefaultValue() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "postMessage('func='+self.addEventListener);"; @@ -208,7 +208,7 @@ public void workerCodeWithWrongMimeType() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -237,7 +237,7 @@ public void workerName() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -277,7 +277,7 @@ public void workerNameSet() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -306,7 +306,7 @@ public void workerOptionsUndefined() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -334,7 +334,7 @@ public void workerOptionsNull() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java index d8608b30cfd..6d979d914fe 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java @@ -176,7 +176,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index 400ead61093..f2c6ec429e6 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -198,7 +198,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java index ea6297be5dc..baba72431c8 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java @@ -47,7 +47,7 @@ public void postMessageFromWorker() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received:' + e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; @@ -72,7 +72,7 @@ public void postMessageFromWorker2() throws Exception { + " myWorker.addEventListener('message', (e) => {\n" + " log('Received:' + e.data);\n" + " });\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; @@ -97,7 +97,7 @@ public void postMessageToWorker() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -405,7 +405,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), workerJs, MimeType.TEXT_JAVASCRIPT); @@ -430,7 +430,7 @@ public void workerCodeWithWrongMimeType() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received:' + e.data);\n" + " };\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; From 820d5e4673c8a0898485bd1b1c4abfa3d470135b Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 13:05:24 +0100 Subject: [PATCH 117/516] more on error handling --- .../host/dom/AbstractRangeTest.java | 2 +- .../host/dom/DOMImplementationTest.java | 22 +++--- .../javascript/host/dom/DOMParserTest.java | 28 ++++---- .../javascript/host/dom/DOMTokenListTest.java | 69 ++++++++++--------- .../javascript/host/dom/Document2Test.java | 4 +- .../host/dom/MutationObserverTest.java | 22 +++--- .../javascript/host/dom/NodeFilterTest.java | 4 +- .../javascript/host/dom/NodeListTest.java | 6 +- .../javascript/host/dom/RangeTest.java | 2 +- .../javascript/host/dom/SelectionTest.java | 4 +- .../javascript/host/dom/TextRangeTest.java | 52 +++++++------- .../javascript/host/dom/TreeWalkerTest.java | 12 ++-- .../host/dom/XPathEvaluatorTest.java | 4 +- 13 files changed, 116 insertions(+), 115 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 80cf9b9d0a1..49f9be94f76 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -52,7 +52,7 @@ public void prototype() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void ctor() throws Exception { final String html = "\n" + "\n" @@ -410,7 +410,7 @@ public void createHTMLDocument_title() throws Exception { + " var doc = document.implementation.createHTMLDocument('newdoctitle');\n" + " log(doc);\n" + " log(doc.title);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -436,7 +436,7 @@ public void createHTMLDocument_titleEmpty() throws Exception { + " var doc = document.implementation.createHTMLDocument('');\n" + " log(doc);\n" + " log(doc.title);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -462,7 +462,7 @@ public void createHTMLDocument_jQuery() throws Exception { + " var doc = document.implementation.createHTMLDocument('');\n" + " doc.body.innerHTML = '
        ';\n" + " log(doc.body.childNodes.length);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -489,7 +489,7 @@ public void createHTMLDocument_createElement() throws Exception { + " var p = doc.createElement('p');\n" + " p.innertHTML = 'createdElement';\n" + " log(p.innertHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -516,17 +516,17 @@ public void createHTMLDocument_htmlCode() throws Exception { + " try {\n" + " var doc = document.implementation.createHTMLDocument();\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " var doc = document.implementation.createHTMLDocument('');\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " var doc = document.implementation.createHTMLDocument('abc');\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -555,7 +555,7 @@ public void createHTMLDocumentAddParagraph() throws Exception { + " p.innerHTML = 'This is a new paragraph.';\n" + " doc.body.appendChild(p);" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -581,7 +581,7 @@ public void createHTMLDocumentInnerAddParagraph() throws Exception { + " var doc = document.implementation.createHTMLDocument('test');\n" + " doc.body.innerHTML = '

        Hello

        ';\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -607,7 +607,7 @@ public void createHTMLDocumentInnerAddImg() throws Exception { + " var doc = document.implementation.createHTMLDocument('test');\n" + " doc.body.innerHTML = '';\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index 227c949370a..99d298f4c41 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -71,7 +71,7 @@ public void parseFromString_text_html() throws Exception { + " log(doc);\n" + " log(doc.body.innerHTML);\n" + " log(doc.URL);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -98,7 +98,7 @@ public void parseFromString_text_html_div() throws Exception { + " log(doc);\n" + " log(doc.body.innerHTML);\n" + " log(doc.URL);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -123,7 +123,7 @@ public void parseFromString_text_xml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'text/xml');\n" + " log(doc);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -147,7 +147,7 @@ public void parseFromString_application_xml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'application/xml');\n" + " log(doc);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -171,7 +171,7 @@ public void parseFromString_application_xhtmlXml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'application/xhtml+xml');\n" + " log(doc);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -195,7 +195,7 @@ public void parseFromString_application_svgXml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'image/svg+xml');\n" + " log(doc);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -207,7 +207,7 @@ public void parseFromString_application_svgXml() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void parseFromString_unknownType() throws Exception { final String content = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -219,7 +219,7 @@ public void parseFromString_unknownType() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'unknown/type');\n" + " log(doc);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -251,7 +251,7 @@ public void parseFromString() throws Exception { + " var x = doc.documentElement;\n" + " log(x.childNodes.length);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -279,7 +279,7 @@ public void parseFromString_invalidXml() throws Exception { + " log('parsererror');\n" + " return;\n" + " }\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -307,7 +307,7 @@ public void parseFromString_emptyString() throws Exception { + " return;\n" + " }\n" + " log(doc.childNodes.length);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -319,7 +319,7 @@ public void parseFromString_emptyString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void parseFromString_missingMimeType() throws Exception { final String content = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -330,7 +330,7 @@ public void parseFromString_missingMimeType() throws Exception { + " try {\n" + " var parser=new DOMParser();\n" + " parser.parseFromString(text);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -366,7 +366,7 @@ public void parseFromString_processingInstructionKept() throws Exception { + " for(var i = 0; i < doc.documentElement.childNodes.length; i++) {\n" + " log(doc.documentElement.childNodes[i]);\n" + " }\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java index 0f32a0bd772..ad4da723222 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java @@ -259,7 +259,7 @@ public void forEachAllParams() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void forEachWrongParam() throws Exception { final String html = "\n" + "
        \n" @@ -537,7 +537,7 @@ private void item(final String in, final int pos) throws Exception { + " try {\n" + " log(list.item(" + pos + "));\n" + " log(list[" + pos + "]);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " }\n" + "\n" + "
        \n" @@ -713,7 +713,7 @@ private void contains(final String in, final String toAdd) throws Exception { + " log(list.length);\n" + " try {\n" + " log(list.contains('" + toAdd + "'));\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " }\n" + "\n" + "
        \n" @@ -726,7 +726,7 @@ private void contains(final String in, final String toAdd) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb"}) + @Alerts({"a\\sb", "2", "SyntaxError", "2", "a\\sb"}) public void addEmpty() throws Exception { add("a b", "''"); } @@ -735,7 +735,7 @@ public void addEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb"}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb"}) public void addBlank() throws Exception { add("a b", "' '"); } @@ -744,7 +744,7 @@ public void addBlank() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb"}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb"}) public void addTab() throws Exception { add("a b", "'\t'"); } @@ -753,7 +753,7 @@ public void addTab() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb"}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb"}) public void addCr() throws Exception { add("a b", "'\\r'"); } @@ -762,7 +762,7 @@ public void addCr() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb"}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb"}) public void addNl() throws Exception { add("a b", "'\\n'"); } @@ -843,7 +843,7 @@ public void addNormalizes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb\\sa", "2", "exception", "2", "a\\sb\\sa"}) + @Alerts({"a\\sb\\sa", "2", "InvalidCharacterError", "2", "a\\sb\\sa"}) public void addElementWithBlank() throws Exception { add("a b a", "'a b'"); } @@ -852,7 +852,7 @@ public void addElementWithBlank() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb\\sa\\tb", "2", "exception", "2", "a\\sb\\sa\\tb"}) + @Alerts({"a\\sb\\sa\\tb", "2", "InvalidCharacterError", "2", "a\\sb\\sa\\tb"}) public void addElementWithTab() throws Exception { add("a b a\tb", "'a\tb'"); } @@ -907,7 +907,7 @@ public void addTwoValuesBoolean() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\se", "2", "exception", "2", "a\\se"}) + @Alerts({"a\\se", "2", "InvalidCharacterError", "2", "a\\se"}) public void addTwoValuesObject() throws Exception { add("a e", "'c', { color: 'blue' }"); } @@ -953,7 +953,7 @@ private void add(final String in, final String toAdd) throws Exception { + " log(list.length);\n" + " try {\n" + " list.add(" + toAdd + ");\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " }\n" @@ -983,7 +983,7 @@ public void addSvg() throws Exception { + " log(list.length);\n" + " try {\n" + " list.add('new');\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " }\n" + "\n" @@ -1029,7 +1029,7 @@ public void addStyleCheck() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", "
        "}) + @Alerts({"a\\sb", "2", "SyntaxError", "2", "a\\sb", "
        "}) public void removeEmpty() throws Exception { remove("a b", "''"); } @@ -1038,7 +1038,7 @@ public void removeEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", "
        "}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", "
        "}) public void removeBlank() throws Exception { remove("a b", "' '"); } @@ -1047,7 +1047,7 @@ public void removeBlank() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", "
        "}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", "
        "}) public void removeTab() throws Exception { remove("a b", "'\t'"); } @@ -1056,7 +1056,7 @@ public void removeTab() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", "
        "}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", ""}) public void removeCr() throws Exception { remove("a b", "'\\r'"); } @@ -1065,7 +1065,7 @@ public void removeCr() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", ""}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", ""}) public void removeNl() throws Exception { remove("a b", "'\\n'"); } @@ -1121,7 +1121,8 @@ public void removeDuplicated() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb\\sa", "2", "exception", "2", "a\\sb\\sa", ""}) + @Alerts({"a\\sb\\sa", "2", "InvalidCharacterError", "2", "a\\sb\\sa", + ""}) public void removeElementWithBlank() throws Exception { remove("a b a", "'a b'"); } @@ -1130,7 +1131,7 @@ public void removeElementWithBlank() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb\\sa\\tb", "2", "exception", "2", "a\\sb\\sa\\tb", + @Alerts({"a\\sb\\sa\\tb", "2", "InvalidCharacterError", "2", "a\\sb\\sa\\tb", ""}) public void removeElementWithTab() throws Exception { remove("a b a\tb", "'a\tb'"); @@ -1258,7 +1259,7 @@ public void removeTwoNull() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb\\s7", "3", "exception", "3", "a\\sb\\s7", + @Alerts({"a\\sb\\s7", "3", "InvalidCharacterError", "3", "a\\sb\\s7", ""}) public void removeTwoObject() throws Exception { remove("a b 7", "'b', { color: 'red' }"); @@ -1287,7 +1288,7 @@ private void remove(final String in, final String toRemove) throws Exception { + " log(list.length);\n" + " try {\n" + " list.remove(" + toRemove + ");\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" @@ -1310,7 +1311,7 @@ private void remove(final String in, final String toRemove) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a", "1", "exception", "1", "a", ""}) + @Alerts({"a", "1", "SyntaxError", "1", "a", ""}) public void replaceEmptyOldToken() throws Exception { replace("a", "", "abc"); } @@ -1319,7 +1320,7 @@ public void replaceEmptyOldToken() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", ""}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", ""}) public void replaceOldTokenContainingWhiteSpace() throws Exception { replace("a b", " a x", "abc"); } @@ -1328,7 +1329,7 @@ public void replaceOldTokenContainingWhiteSpace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a", "1", "exception", "1", "a", ""}) + @Alerts({"a", "1", "SyntaxError", "1", "a", ""}) public void replaceEmptyNewToken() throws Exception { replace("a", "abc", ""); } @@ -1337,7 +1338,7 @@ public void replaceEmptyNewToken() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a\\sb", "2", "exception", "2", "a\\sb", ""}) + @Alerts({"a\\sb", "2", "InvalidCharacterError", "2", "a\\sb", ""}) public void replaceNewTokenContainingWhiteSpace() throws Exception { replace("a b", "abc", " a x"); } @@ -1426,7 +1427,7 @@ private void replace(final String in, final String oldToken, final String newTok + " try {\n" + " var res = list.replace('" + oldToken + "', '" + newToken + "');\n" + " log(res);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" @@ -1503,7 +1504,7 @@ public void in() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception", "2", "true", "false", "1", "false", "true", "2", "true", + @Alerts({"InvalidCharacterError", "SyntaxError", "2", "true", "false", "1", "false", "true", "2", "true", "class changed old: a e", "class changed old: a"}) public void toggle() throws Exception { final String html @@ -1523,10 +1524,10 @@ public void toggle() throws Exception { + " var list = elem.classList;\n" + " try {\n" + " list.toggle('ab e');\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " try {\n" + " list.toggle('');\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " log(list.contains('e'));\n" + " log(list.toggle('e'));\n" @@ -1580,7 +1581,7 @@ public void toggleStyleCheck() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"a", "1", "exception", "1", "a", ""}) + @Alerts({"a", "1", "SyntaxError", "1", "a", ""}) public void toggleEmptyToken() throws Exception { toggle("a", ""); } @@ -1686,7 +1687,7 @@ private void toggle(final String in, final String token) throws Exception { + " try {\n" + " var res = list.toggle('" + token + "');\n" + " log(res);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index eacd2b52a6a..31b3e97200d 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -46,7 +46,7 @@ public class Document2Test extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("InvalidCharacterError") public void createElementWithAngleBrackets() throws Exception { final String html = "\n" + "\n" + "\n" @@ -64,7 +64,7 @@ public void observeNullNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void observeNullInit() throws Exception { final String html = "\n" + "\n" @@ -89,7 +89,7 @@ public void observeNullInit() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void observeEmptyInit() throws Exception { final String html = "\n" + "\n" @@ -114,7 +114,7 @@ public void observeEmptyInit() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "childList", "attributes", "characterData"}) + @Alerts({"TypeError", "childList", "attributes", "characterData"}) public void observeRequiredMissingInit() throws Exception { final String html = "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java index f0eb344e772..d3f5b7e0a15 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java @@ -46,7 +46,7 @@ public void constants() throws Exception { + " for (var i = 0; i < properties.length; i++) {\n" + " log(NodeFilter[properties[i]]);\n" + " }\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + "\n" + ""; @@ -64,7 +64,7 @@ public void constants_SHOW_ALL() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log(NodeFilter.SHOW_ALL);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java index 3e860df389d..9cc8d6328c9 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java @@ -278,7 +278,7 @@ public void forEach() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void forEachWrongParam() throws Exception { final String html = "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java index 01959478c80..4793fec4444 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java @@ -137,7 +137,7 @@ public void createContextualFragment2() throws Exception { + "try {\n" + " test('d');\n" + " test('t');\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java index 12f94604927..359ac947688 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java @@ -58,7 +58,7 @@ public void equality_getSelection() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(window.getSelection()==window.getSelection());\n" - + "} catch (e) {log('exception')}\n" + + "} catch (e) {log(e.name)}\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -376,7 +376,7 @@ private void tester(final String jsSnippet) throws Exception { + " var s3 = document.getElementById('s3');\n" + " try {\n" + jsSnippet - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " function alertSelection(s) {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java index 5bb8c20e3e5..02140ecf40e 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java @@ -35,7 +35,7 @@ public class TextRangeTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void text() throws Exception { final String html = "\n" + "\n" @@ -51,7 +51,7 @@ public void text() throws Exception { + " log(f.value);\n" + " r.duplicate().text = 'bli bli';\n" + " log(f.value);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -67,7 +67,7 @@ public void text() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void parentElement() throws Exception { final String html = "\n" + "\n" @@ -76,7 +76,7 @@ public void parentElement() throws Exception { + " function test() {\n" + " try {\n" + " log(document.body.createTextRange().parentElement().tagName);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -91,7 +91,7 @@ public void parentElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void collapse() throws Exception { final String html = "\n" + "\n" @@ -106,7 +106,7 @@ public void collapse() throws Exception { + " log(r.text);\n" + " r.collapse();\n" + " log(r.text);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -123,7 +123,7 @@ public void collapse() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void select() throws Exception { final String html = "\n" + "\n" @@ -133,7 +133,7 @@ public void select() throws Exception { + " try {\n" + " var r = document.selection.createRange();\n" + " r.select();\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -149,7 +149,7 @@ public void select() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void moveEnd() throws Exception { final String html = "\n" + "\n" @@ -166,7 +166,7 @@ public void moveEnd() throws Exception { + " log(r.text);\n" + " r.moveStart('character');\n" + " log(r.text);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -182,7 +182,7 @@ public void moveEnd() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void moveOutOfBounds_input() throws Exception { final String html = "\n" + "\n" @@ -202,7 +202,7 @@ public void moveOutOfBounds_input() throws Exception { + " log(r.moveEnd('character', 100));\n" + " log(r.moveStart('character', -100));\n" + " log(r.text);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -218,7 +218,7 @@ public void moveOutOfBounds_input() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void inRange() throws Exception { final String html = "\n" + "\n" @@ -233,7 +233,7 @@ public void inRange() throws Exception { + " r1.collapse();\n" + " log(r1.inRange(r2));\n" + " log(r2.inRange(r1));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -251,7 +251,7 @@ public void inRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void inRange2() throws Exception { final String html = "\n" + "
        \n" @@ -261,7 +261,7 @@ public void inRange2() throws Exception { + " var range = document.f.q.createTextRange();\n" + " var selectionRange = document.selection.createRange();\n" + " log(range.inRange(selectionRange));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; @@ -272,7 +272,7 @@ public void inRange2() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void moveToElementText() throws Exception { final String html = "\n" + "abcxyzfoo\n" @@ -283,7 +283,7 @@ public void moveToElementText() throws Exception { + " var r = document.selection.createRange();\n" + " r.moveToElementText(document.getElementById('s3'));\n" + " log(r.parentElement().id + ' ' + r.text + ' ' + r.htmlText);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + ""; @@ -295,7 +295,7 @@ public void moveToElementText() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void setEndRange() throws Exception { final String html = "\n" + "
        \n" @@ -311,7 +311,7 @@ public void setEndRange() throws Exception { + " var r3 = range1.duplicate();\n" + " r3.setEndPoint('EndToEnd', range2);\n" + " log(r3.text);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -321,7 +321,7 @@ public void setEndRange() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void createRangeParentElement() throws Exception { final String html = "\n" @@ -331,7 +331,7 @@ public void createRangeParentElement() throws Exception { + " s = document.selection.createRange();\n" + " p = s.parentElement();\n" + " log(p.tagName);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; @@ -342,7 +342,7 @@ public void createRangeParentElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void createRangeHtmlText() throws Exception { final String html = "\n" @@ -352,7 +352,7 @@ public void createRangeHtmlText() throws Exception { + " s = document.selection.createRange();\n" + " t = s.htmlText;\n" + " log(t);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; @@ -363,7 +363,7 @@ public void createRangeHtmlText() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void moveToBookmark() throws Exception { final String html = "\n" @@ -373,7 +373,7 @@ public void moveToBookmark() throws Exception { + " var rng = document.body.createTextRange();\n" + " rng.moveToBookmark(rng.getBookmark());\n" + " log('ok');\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java index c8f9704eb98..722ca2e4d1b 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java @@ -44,7 +44,7 @@ public class TreeWalkerTest extends WebDriverTestCase { + "function test() {\n" + " try {\n"; - private static final String CONTENT_END = "\n } catch(e) { log('exception') }\n" + private static final String CONTENT_END = "\n } catch(e) { log(e.name) }\n" + "\n}\n\n" + "\n" + "
        Hello, this is a test for" @@ -68,7 +68,7 @@ private void test(final String script) throws Exception { + "function test() {\n" + " try {\n"; - private static final String CONTENT_END2 = "\n } catch(e) { log('exception') }\n" + private static final String CONTENT_END2 = "\n } catch(e) { log(e.name) }\n" + "\n}\n\n" + "\n" + "
        Hello, this is a test for" @@ -320,11 +320,11 @@ public void walkingOutsideTheRoot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void nullRoot() throws Exception { final String script = "try {\n" + "var tw = document.createTreeWalker(null, NodeFilter.SHOW_ELEMENT, null, true);\n" - + "} catch(e) { log('exception'); }\n"; + + "} catch(e) { log(e.name); }\n"; test2(script); } @@ -384,11 +384,11 @@ public void simpleFilter_asAFunction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void emptyFilter() throws Exception { final String script = "try {\n" + "var tw = document.createTreeWalker(null, NodeFilter.SHOW_ELEMENT, {}, true);\n" - + "} catch(e) { log('exception'); }\n"; + + "} catch(e) { log(e.name); }\n"; test2(script); } diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java index d3673c0544b..f3f806363a2 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java @@ -158,7 +158,7 @@ public void evaluateWithoutResolverTypeResult() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void namespacesWithNodeInArray() throws Exception { final String html = "\n" + "\n" + "\n" @@ -98,7 +98,7 @@ public void activex() throws Exception { + " } else {\n" + " log('ActiveXObject undefined');\n" + " }\n" - + " } catch(e) {log('exception');}\n" + + " } catch(e) {log(e.name);}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java index 2ba15278349..3cb1ec84ef1 100644 --- a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java @@ -34,7 +34,7 @@ public class BoxObjectTest extends WebDriverTestCase { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void elementAttributes() throws Exception { final String html = "\n" @@ -55,7 +55,7 @@ public void elementAttributes() throws Exception { + " log(box.lastChild == spanB);\n" + " log(box.previousSibling == spanFoo);\n" + " log(box.nextSibling == spanBar);\n" - + " } catch (e) {log('exception')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + " \n" + " \n" @@ -69,7 +69,7 @@ public void elementAttributes() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("TypeError") public void positionAndSizeAttributes() throws Exception { final String html = "\n" @@ -85,7 +85,7 @@ public void positionAndSizeAttributes() throws Exception { + " log(box.x + '-' + box.y);\n" + " log(box.screenX + '-' + box.screenY);\n" + " log(box.width + '-' + box.height);\n" - + " } catch (e) {log('exception')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java index c7cb84792bb..ea7f8fc4675 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java @@ -72,11 +72,11 @@ public void itemOutside() throws Exception { + " try {\n" + " log(rects.item(1));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(rects.item(-1));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -104,11 +104,11 @@ public void indexOutside() throws Exception { + " try {\n" + " log(rects[1]);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(rects[-1]);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -136,11 +136,11 @@ public void empty() throws Exception { + " try {\n" + " log(rects[1]);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(rects[-1]);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java index 521272ecef8..07591b27103 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java @@ -47,7 +47,7 @@ public void properties() throws Exception { + " log(pos.right);\n" + " log(pos.width);\n" + " log(pos.height);\n" - + " } catch (e) { log('exception');}\n" + + " } catch (e) { log(e.name);}\n" + " }\n" + "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/Console2Test.java b/src/test/java/org/htmlunit/javascript/host/Console2Test.java index efac15ad0f8..c8d64e4a8a6 100644 --- a/src/test/java/org/htmlunit/javascript/host/Console2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Console2Test.java @@ -211,7 +211,7 @@ public void fromWorker() throws Exception { + "\n"; loadPage(html); diff --git a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java index 3fff6ccee83..034caa4017b 100644 --- a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java @@ -53,7 +53,7 @@ public void prototype() throws Exception { + " log(window.console == undefined);\n" + " log(typeof window.console);\n" + " log('console' in window);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + "\n" + ""; @@ -75,7 +75,7 @@ public void prototypeUppercase() throws Exception { + " log(window.Console == undefined);\n" + " log(typeof window.Console);\n" + " log('Console' in window);\n" - + " } catch(e) { log('exception');}\n" + + " } catch(e) { log(e.name);}\n" + "\n" + ""; @@ -140,7 +140,7 @@ public void windowProperty() throws Exception { + " try {\n" + " var x = Object.getOwnPropertyNames(window).indexOf('console');\n" + " log(x >= 0);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "\n" + ""; @@ -162,7 +162,7 @@ public void fromWindow() throws Exception { + " var x = console.error;\n" + " x('hello');\n" + " log('success');\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index 37fbbc39877..abe00177c76 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -81,7 +81,7 @@ public void attributes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void selectNodes() throws Exception { final String html = "\n" @@ -188,7 +188,7 @@ public void getAttributeNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"book", "exception"}) + @Alerts({"book", "TypeError"}) public void selectNode_root() throws Exception { final String html = "\n" @@ -233,7 +233,7 @@ public void getElementsByTagNameNS() throws Exception { + " try {\n" + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', 'template').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, 'html').length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -265,7 +265,7 @@ public void getElementsByTagNameNSAsterisk() throws Exception { + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS('*', '*').length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -794,7 +794,7 @@ public void getBoundingClientRect() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(typeof Element.prototype.getBoundingClientRect);\n" - + "} catch (e) { log('exception');}\n" + + "} catch (e) { log(e.name);}\n" + ""; loadPageVerifyTitle2(html); } @@ -957,17 +957,17 @@ public void children() throws Exception { + " try {\n" + " var children = doc.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " try {\n" + " children = document.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " try {\n" + " children = document.getElementById('myId').children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "}\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -1178,12 +1178,12 @@ public void prototypConstructor() throws Exception { + " process(Element);\n" + " process(Element.prototype);\n" + " process(Element.prototype.constructor);\n" - + " } catch (e) {log('exception')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + " function process(obj) {\n" + " try {\n" + " log(obj);\n" - + " } catch (e) {log('exception')}\n" + + " } catch (e) {log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java index 52ea2cd5884..89a943b64af 100644 --- a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java @@ -110,7 +110,7 @@ public void isSearchProviderInstalled() throws Exception { + " try {\n" + " var res = window.external.IsSearchProviderInstalled('http://htmlunit.sourceforge.net');\n" + " log('IsSearchProviderInstalled: ' + res);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " } else {\n" + " log('no IsSearchProviderInstalled');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/History2Test.java b/src/test/java/org/htmlunit/javascript/host/History2Test.java index 14d7b3fe6c9..2b71bf33501 100644 --- a/src/test/java/org/htmlunit/javascript/host/History2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/History2Test.java @@ -325,7 +325,7 @@ public void pushStateLocationHref() throws Exception { + " var stateObj = { hi: 'there' };\n" + " window.history.pushState(stateObj, 'page 2', 'bar.html');\n" + " log(location.href.indexOf('bar.html') > -1);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " function test2() {\n" @@ -334,7 +334,7 @@ public void pushStateLocationHref() throws Exception { + " var stateObj = { hi2: 'there2' };\n" + " window.history.pushState(stateObj, 'page 3', 'bar2.html');\n" + " log(location.href.indexOf('bar2.html') > -1);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/Location2Test.java b/src/test/java/org/htmlunit/javascript/host/Location2Test.java index 19c9a4f9765..d8308e76bd6 100644 --- a/src/test/java/org/htmlunit/javascript/host/Location2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Location2Test.java @@ -178,7 +178,7 @@ public void about_blank_query_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -210,7 +210,7 @@ public void about_blank_emptyquery_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -242,7 +242,7 @@ public void about_blank_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -275,7 +275,7 @@ public void about_blank_emptyquery_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -309,7 +309,7 @@ public void about_blank_query_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -341,7 +341,7 @@ public void about_blank_set_hash() throws Exception { + " location.hash = 'foo';\n" + " log(location.hash);\n" + " log(location.href);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/MapTest.java b/src/test/java/org/htmlunit/javascript/host/MapTest.java index b084733c06b..82b5e948cfa 100644 --- a/src/test/java/org/htmlunit/javascript/host/MapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MapTest.java @@ -224,7 +224,7 @@ public void constructorArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void constructorInt32Array() throws Exception { final String html = "\n" @@ -236,7 +236,7 @@ public void constructorInt32Array() throws Exception { + " var myMap = new Map(array);\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "\n" @@ -249,7 +249,7 @@ public void constructorInt32Array() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void constructorStringParam() throws Exception { final String html = "\n" @@ -260,7 +260,7 @@ public void constructorStringParam() throws Exception { + " var myMap = new Map('test');\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "\n" @@ -273,7 +273,7 @@ public void constructorStringParam() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void constructorSetParam() throws Exception { final String html = "\n" @@ -284,7 +284,7 @@ public void constructorSetParam() throws Exception { + " var myMap = new Map(new Set('test'));\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "\n" @@ -347,7 +347,7 @@ public void constructorIteratorParam() throws Exception { + " var myMap = new Map(myIterable);\n" + " log(myMap.size);\n" + " myMap.forEach(logElement);\n" - + " }catch(e) { log('exception'); }" + + " }catch(e) { log(e.name); }" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java index 203400c263f..653b17b5406 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java @@ -117,11 +117,11 @@ public void getNamedItem_HTML() throws Exception { + " try {\n" + " log(f.attributes.name.nodeName);\n" + " log(f.attributes.name.nodeValue);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(f.attributes.NaMe.nodeName);\n" + " log(f.attributes.nAmE.nodeValue);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(f.attributes.getNamedItem('notExisting'));\n" + " }\n" + "\n" @@ -190,7 +190,7 @@ public void getNamedItem_XML() throws Exception { + " try {\n" + " log(doc.documentElement.attributes.name.nodeName);\n" + " log(doc.documentElement.attributes.name.nodeValue);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " log(doc.documentElement.attributes.getNamedItem('NaMe'));\n" + " log(doc.documentElement.attributes.NaMe);\n" + " log(doc.documentElement.attributes.getNamedItem('nonExistent'));\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java index 076ace7ca09..1a27f10d810 100644 --- a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java @@ -270,8 +270,8 @@ public void mimeTypes() throws Exception { */ @Test @Alerts(DEFAULT = "false", - CHROME = "exception", - EDGE = "exception") + CHROME = "TypeError", + EDGE = "TypeError") public void taintEnabled() throws Exception { final String html = "\n" + "\n" @@ -280,7 +280,7 @@ public void taintEnabled() throws Exception { + " function doTest() {\n" + " try {\n" + " log(window.navigator.taintEnabled());\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java index 505b2830efe..33d82a8c666 100644 --- a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java @@ -35,7 +35,7 @@ public class NetscapeTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = {"undefined", "undefined", "exception"}, + @Alerts(DEFAULT = {"undefined", "undefined", "TypeError"}, FF = {"[object Object]", "undefined", "[object Object]", "undefined"}, FF_ESR = {"[object Object]", "undefined", "[object Object]", "undefined"}) public void netscape() throws Exception { @@ -47,7 +47,7 @@ public void netscape() throws Exception { + " log(window.Netscape);\n" + " log(window.netscape.security);\n" + " log(window.netscape.security.PrivilegeManager);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); @@ -58,7 +58,7 @@ public void netscape() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "TypeError", FF = {"true", "false", "true"}, FF_ESR = {"true", "false", "true"}) @HtmlUnitNYI(FF = {"undefined", "true", "true"}, @@ -72,7 +72,7 @@ public void netscapeDescriptor() throws Exception { + " log(d1.writable);\n" + " log(d1.enumerable);\n" + " log(d1.configurable);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java index 1ba683cf981..0f68e12cabf 100644 --- a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java @@ -41,7 +41,7 @@ public void prototype() throws Exception { + "try {\n" + " log(typeof window.Notification);\n" + " log('Notification' in window);\n" - + "} catch(e) { log('exception');}\n" + + "} catch(e) { log(e.name);}\n" + ""; loadPageVerifyTitle2(html); @@ -57,7 +57,7 @@ public void permission() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(Notification.permission);\n" - + "} catch(e) { log('exception');}\n" + + "} catch(e) { log(e.name);}\n" + ""; loadPageVerifyTitle2(html); @@ -73,7 +73,7 @@ public void minimalUsage() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " new Notification('Hello here');\n" - + "} catch(e) { log('exception');}\n" + + "} catch(e) { log(e.name);}\n" + ""; loadPageVerifyTitle2(html); @@ -89,7 +89,7 @@ public void requestPermission() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(typeof Notification.requestPermission);\n" - + "} catch(e) { log('exception');}\n" + + "} catch(e) { log(e.name);}\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java index ada9d4a8f97..78a29cb5a4a 100644 --- a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java @@ -36,7 +36,7 @@ public class Popup2Test extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void popup() throws Exception { final String html = "\n" + "\n" + ""; @@ -60,7 +60,7 @@ public void popup() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void popupBodyStyle() throws Exception { final String html = "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index 735b134e9c2..898e45aa7df 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -2000,10 +2000,10 @@ public void root() throws Exception { */ @Test @Alerts({"1", "[object HTMLHeadingElement]"}) - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "SyntaxError", + EDGE = "SyntaxError", + FF = "SyntaxError", + FF_ESR = "SyntaxError") public void has() throws Exception { final String html = "\n" + "\n" From 314f8420db0d7ca7015ac356d631f2ffca587dea Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:07:51 +0100 Subject: [PATCH 120/516] more on error handling --- .../org/htmlunit/javascript/host/ReflectTest.java | 12 ++++++------ .../org/htmlunit/javascript/host/ScreenTest.java | 6 +++--- .../java/org/htmlunit/javascript/host/SetTest.java | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java index 20c63d4880f..0e4ac60b34d 100644 --- a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java @@ -70,38 +70,38 @@ public void applyDetails() throws Exception { } @Test - @Alerts("exception") + @Alerts("TypeError") public void applyMissingArgs() throws Exception { final String js = "try {\n" + " Reflect.apply();\n" + "} catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + "}"; test(js); } @Test - @Alerts("exception") + @Alerts("TypeError") public void applyTargetNotFunction() throws Exception { final String js = "try {\n" + " Reflect.apply({}, undefined, [1.75]);\n" + "} catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + "}"; test(js); } @Test - @Alerts("exception") + @Alerts("TypeError") public void applyArgumentsListNotFunction() throws Exception { final String js = "var s1 = Symbol('1');" + "try {\n" + " Reflect.apply(Math.floor, undefined, s1);\n" + "} catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + "}"; test(js); } diff --git a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java index 110ae69672a..7f9ab3ae836 100644 --- a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java @@ -266,7 +266,7 @@ public void orientation() throws Exception { + " log(o);\n" + " log(o.type);\n" + " log(o.angle);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -291,7 +291,7 @@ public void mozOrientation() throws Exception { + " try {\n" + " var o = window.screen.mozOrientation;" + " log(o);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" @@ -315,7 +315,7 @@ public void isExtended() throws Exception { + " function doTest() {\n" + " try {\n" + " log(window.screen.isExtended);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/SetTest.java b/src/test/java/org/htmlunit/javascript/host/SetTest.java index 63bb6b57c4d..a3ee0c43b37 100644 --- a/src/test/java/org/htmlunit/javascript/host/SetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SetTest.java @@ -294,7 +294,7 @@ public void constructorIteratorParam() throws Exception { + " var mySet = new Set(myIterable);\n" + " log(mySet.size);\n" + " mySet.forEach(logElement);\n" - + " } catch(e) { log('exception'); }" + + " } catch(e) { log(e.name); }" + "}\n" + "\n" + "\n" From 062ddfffc2f776c2ab20c94eaef4dcebec6a96bf Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:25:32 +0100 Subject: [PATCH 121/516] more on error handling --- .../htmlunit/javascript/host/SymbolTest.java | 26 ++++++------ .../javascript/host/TextDecoderTest.java | 16 +++---- .../javascript/host/URLSearchParamsTest.java | 6 +-- .../htmlunit/javascript/host/WeakMapTest.java | 12 +++--- .../javascript/host/WebSocketTest.java | 8 ++-- .../htmlunit/javascript/host/Window2Test.java | 42 +++++++++---------- .../htmlunit/javascript/host/Window3Test.java | 24 +++++------ .../host/WindowPostMessageTest.java | 12 +++--- 8 files changed, 73 insertions(+), 73 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java index 5c20b592b52..7ad7555eb1e 100644 --- a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java @@ -154,7 +154,7 @@ private void name(final String name) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"Symbol()", "Symbol(foo)", "Symbol(Symbol.iterator)", "exception"}) + @Alerts({"Symbol()", "Symbol(foo)", "Symbol(Symbol.iterator)", "TypeError"}) public void string() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -167,7 +167,7 @@ public void string() throws Exception { + " log(Symbol().toString());\n" + " log(Symbol('foo').toString());\n" + " log(Symbol.iterator.toString());\n" - + " try { log(Symbol.replace) } catch(e) { log('exception'); };\n" + + " try { log(Symbol.replace) } catch(e) { log(e.name); };\n" + " }\n" + "\n" + "\n" @@ -195,7 +195,7 @@ public void defaultValue() throws Exception { + " log(Symbol().toString());\n" + " log(Symbol('foo').toString());\n" + " log(Symbol.iterator.toString());\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -224,7 +224,7 @@ public void typeOf() throws Exception { + " log(typeof Symbol());\n" + " log(typeof Symbol('foo'));\n" + " log(typeof Symbol.iterator);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -254,7 +254,7 @@ public void symbolFor() throws Exception { + " var sym = Symbol.for('mario');\n" + " log(sym.toString());\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -284,7 +284,7 @@ public void symbolForGlobal() throws Exception { + " try {\n" + " log(Symbol.for('global') === globSym);\n" + " log(Symbol('global') === globSym);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -298,7 +298,7 @@ public void symbolForGlobal() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void symbolNew() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -310,10 +310,10 @@ public void symbolNew() throws Exception { + " if (!window.Symbol) { log('not supported'); return; }\n" + " try {\n" + " new Symbol();\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " try {\n" + " new Symbol('foo');\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -327,7 +327,7 @@ public void symbolNew() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void globalSymbolRegistry() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ @@ -339,10 +339,10 @@ public void globalSymbolRegistry() throws Exception { + " if (!window.Symbol) { log('not supported'); return; }\n" + " try {\n" + " new Symbol();\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " try {\n" + " new Symbol('foo');\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -390,7 +390,7 @@ public void inFunction2() throws Exception { + " try {\n" + " var x = Symbol('hello');\n" + " log('called');\n" - + " } catch(e) {log('exception');}\n" + + " } catch(e) {log(e.name);}\n" + " });\n" + " }\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index 3bf22f762a0..7afb9cd8110 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -277,7 +277,7 @@ public void encoding_iso_8859_15() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("RangeError") public void encoding_iso_8859_15_ex() throws Exception { encoding("latin9"); } @@ -501,7 +501,7 @@ public void encoding_gb18030() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("RangeError") public void encoding_hz_gb_2312() throws Exception { encoding("hz-gb-2312"); } @@ -577,7 +577,7 @@ public void encoding_euc_kr() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("RangeError") public void encoding_iso_2022_kr() throws Exception { encoding("csiso2022kr"); encoding("iso-2022-kr"); @@ -615,7 +615,7 @@ public void encoding_x_user_defined() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("exception") + @Alerts("RangeError") public void encoding_replacement() throws Exception { encoding("iso-2022-cn"); encoding("iso-2022-cn-ext"); @@ -630,7 +630,7 @@ private void encoding(final String encoding) throws Exception { + " try {\n" + " enc = new TextDecoder('" + encoding + "');\n" + " log(enc.encoding);\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" @@ -703,7 +703,7 @@ public void decode() throws Exception { * @throws Exception on test failure */ @Test - @Alerts({"", "exception"}) + @Alerts({"", "TypeError"}) public void decode2() throws Exception { final String html = "\n" + "\n" @@ -713,11 +713,11 @@ public void decode2() throws Exception { + " var dec = new TextDecoder('utf-8');\n" + " try {\n" + " log(dec.decode(undefined));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " try {\n" + " log(dec.decode(null));\n" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java index 0825f00284c..54481e440bd 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java @@ -926,7 +926,7 @@ public void forEach() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"TypeError", "TypeError"}) public void forEachWrongParam() throws Exception { final String html = "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java index e374bd47d14..d2833205907 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java @@ -56,7 +56,7 @@ public void constructorArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void constructorSetParam() throws Exception { final String html = "\n" @@ -67,7 +67,7 @@ public void constructorSetParam() throws Exception { + " var myMap = new WeakMap(new Set('test'));\n" + " log(myMap.has('test'));\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "\n" @@ -94,7 +94,7 @@ public void constructorMapParam() throws Exception { + " var myMap = new WeakMap(testMap);\n" + " log(myMap.has(foo));\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "}\n" + "\n" @@ -134,7 +134,7 @@ public void constructorIteratorParam() throws Exception { + " var myMap = new WeakMap(myIterable);\n" + " log(myMap.has(foo));\n" + " } catch(e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + " }" + "}\n" @@ -169,7 +169,7 @@ public void get() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void setNonObject() throws Exception { final String html = "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java index 641311e6d9d..f91bb04d0a9 100644 --- a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java @@ -183,22 +183,22 @@ public void binaryType() throws Exception { + " try {\n" + " ws.binaryType = 'abc';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " try {\n" + " ws.binaryType = 'arraybuffer';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " try {\n" + " ws.binaryType = 'blob';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " try {\n" + " ws.binaryType = '';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log('exception') }\n" + + " } catch(e) { log(e.name) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index 76fa974f05a..8ce8d3bfbb9 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -57,7 +57,7 @@ public class Window2Test extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"[object Window]", "exception", "undefined", "undefined", "hello", "hello", "world", "world"}) + @Alerts({"[object Window]", "ReferenceError", "undefined", "undefined", "hello", "hello", "world", "world"}) public void thisIsWindow() throws Exception { final String html = "\n" @@ -66,7 +66,7 @@ public void thisIsWindow() throws Exception { + " log(this);\n" + " try {\n" + " log(abc);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " log(this.abc);\n" + " log(this.def);\n" + " this.abc = 'hello';\n" @@ -185,7 +185,7 @@ public void atob() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception"}) + @Alerts({"InvalidCharacterError", "InvalidCharacterError"}) public void atobUnicode() throws Exception { final String html = "\n" @@ -193,10 +193,10 @@ public void atobUnicode() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " window.btoa('I \\u2661 Unicode!');\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " try {\n" + " window.atob('I \\u2661 Unicode!');\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -344,7 +344,7 @@ public void topLevelPropertiesWithDot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void execScript2() throws Exception { final String html = "\n" + ""; @@ -364,14 +364,14 @@ public void execScript2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void execScript_returnValue() throws Exception { final String html = "\n" + ""; @@ -746,7 +746,7 @@ public void set_opener() throws Exception { + " _win.opener = value;\n" + " log(_win.opener + ' (' + (_win.opener === value) + ')');\n" + " }\n" - + " catch(e) { log('exception') }\n" + + " catch(e) { log(e.name) }\n" + "}\n" + "function trySetOpener(_win) {\n" + " var originalValue = _win.opener;\n" @@ -776,14 +776,14 @@ public void set_opener() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"exception", "exception", "exception", "exception"}) + @Alerts({"ReferenceError", "ReferenceError", "ReferenceError", "ReferenceError"}) public void IEScriptEngineXxx() throws Exception { final String html = "\n" + "\n" + ""; @@ -1122,7 +1122,7 @@ public void mozPaintCount() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"exception", "exception", "Success"}) + @Alerts({"ReferenceError", "ReferenceError", "Success"}) public void eval() throws Exception { final String html = "\n" + ""; @@ -2351,7 +2351,7 @@ public void constructorError() throws Exception { + " var divs = document.querySelectorAll('div');\n" + " var a = Array.from.call(window, divs);\n" + " log(a.length);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -2415,7 +2415,7 @@ public void test__proto__() throws Exception { + " for (var p = this.__proto__; p != null; p = p.__proto__) {\n" + " log(p);\n" + " }\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 5151c2eb5bd..57f7664ed4c 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -484,7 +484,7 @@ public void scrollByEvents() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "TypeError", FF = {}, FF_ESR = {}) public void scrollByLines() throws Exception { @@ -494,7 +494,7 @@ public void scrollByLines() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByLines(2);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -505,7 +505,7 @@ public void scrollByLines() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "TypeError", FF = {}, FF_ESR = {}) public void scrollByPages() throws Exception { @@ -515,7 +515,7 @@ public void scrollByPages() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByPages(2);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -1010,7 +1010,7 @@ public void frameById() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void execScript() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -1029,7 +1029,7 @@ public void execScript() throws Exception { + " } catch (e) {\n" + " log('exception2: ' + e.message.substr(0, 20)); // msg now contains info on error location\n" + " }\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -1123,7 +1123,7 @@ public void addOnLoadEventListener() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"true", "true", "exception", "onload"}) + @Alerts({"true", "true", "TypeError", "onload"}) public void attachOnLoadEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -1141,7 +1141,7 @@ public void attachOnLoadEvent() throws Exception { + " window.attachEvent('onload', test2);\n" + " window.attachEvent('onload', test3);\n" + " window.detachEvent('onload', test3);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + "\n" + ""; @@ -1152,7 +1152,7 @@ public void attachOnLoadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void detachEventInAttachEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" @@ -1165,7 +1165,7 @@ public void detachEventInAttachEvent() throws Exception { + "}\n" + "try {\n" + " window.attachEvent('onload', test);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + "\n" + ""; @@ -1719,7 +1719,7 @@ public void offscreenBuffering() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void getComputedStyle() throws Exception { final String html = "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java index fa4b4e19b16..7b8cba0d3d1 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java @@ -122,7 +122,7 @@ public void postMessageFromIframe() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void postMessageMissingParameters() throws Exception { final String html = "\n" @@ -133,7 +133,7 @@ public void postMessageMissingParameters() throws Exception { + " try {\n" + " window.postMessage();\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" + ""; @@ -381,7 +381,7 @@ private void postMessageSameOrigin(final String url) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void postMessageTargetOriginNotUrl() throws Exception { postMessageInvalidTargetOrigin("abcd"); } @@ -390,7 +390,7 @@ public void postMessageTargetOriginNotUrl() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void postMessageTargetOriginEmpty() throws Exception { postMessageInvalidTargetOrigin(""); } @@ -399,7 +399,7 @@ public void postMessageTargetOriginEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("SyntaxError") public void postMessageTargetOriginSubpath() throws Exception { postMessageInvalidTargetOrigin("/abc"); } @@ -414,7 +414,7 @@ private void postMessageInvalidTargetOrigin(final String targetOrigin) throws Ex + " try {\n" + " window.postMessage('hello', '" + targetOrigin + "');\n" + " } catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + " }\n" + "\n" + ""; From 3f591ef0fe0b0df607d39c7dd1511feec7b3c41c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:32:57 +0100 Subject: [PATCH 122/516] more on error handling --- .../htmlunit/javascript/host/StorageTest.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/StorageTest.java b/src/test/java/org/htmlunit/javascript/host/StorageTest.java index 160672e5a20..ac50d5be884 100644 --- a/src/test/java/org/htmlunit/javascript/host/StorageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/StorageTest.java @@ -67,9 +67,9 @@ public void storageEquals() throws Exception { + ""; loadPageVerifyTitle2(html); } @@ -240,7 +240,7 @@ public void localStorageShouldBeShared() throws Exception { + "try {\n" + " localStorage.clear();\n" + " localStorage.setItem('hello', 'I was here');\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + ""; final WebDriver driver = loadPage2(html1); final List alerts = getCollectedAlerts(driver); @@ -248,11 +248,12 @@ public void localStorageShouldBeShared() throws Exception { final String html2 = ""; + releaseResources(); + getMockWebConnection().setResponse(URL_FIRST, html2); - releaseResources(); // we have to control 2nd driver by ourself WebDriver driver2 = null; try { @@ -263,6 +264,7 @@ public void localStorageShouldBeShared() throws Exception { assertEquals(getExpectedAlerts(), alerts); } finally { + driver2.close(); if (!(driver2 instanceof HtmlUnitDriver)) { shutDownAll(); } @@ -291,7 +293,7 @@ public void prototypeIsExtensible() throws Exception { + " log('localStorage.extraMethod not callable');\n" + " }\n" + " log(localStorage.getItem('extraMethod'));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); } @@ -312,7 +314,7 @@ public void prototypePropertiesAreVisible() throws Exception { + " localStorage.setItem('hasOwnProperty', 'value');\n" + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + " log(localStorage.length);\n" + ""; loadPageVerifyTitle2(html); @@ -339,7 +341,7 @@ public void writeToPrototypeProperty() throws Exception { + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" + " log(localStorage.length);\n" - + "} catch (e) { log('exception'); }\n" + + "} catch (e) { log(e.name); }\n" + ""; loadPageVerifyTitle2(html); } From 682e7634dc12ead8faf0dfd64fd40a974fbf9fb7 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:41:20 +0100 Subject: [PATCH 123/516] DOMTokenList - several fixes to throw the correct error --- src/changes/changes.xml | 5 ++- .../javascript/host/css/CSSStyleSheet.java | 6 ++- .../javascript/host/dom/DOMTokenList.java | 43 +++++++++++++------ 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b1c2ddf2f18..90d0d528ac0 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -9,7 +9,10 @@ - CSSGroupingRule several fixes to throw the correct error. + DOMTokenList - several fixes to throw the correct error. + + + CSSGroupingRule - several fixes to throw the correct error. HTMLInputElement value/selectionStart/selectionEnd properties throws the correct error (InvalidStateError). diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java index 7c7c602544e..f1245dfdc73 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java @@ -276,7 +276,11 @@ public int addRule(final String selector, final String rule) { refreshCssRules(); } catch (final DOMException ex) { - throw JavaScriptEngine.throwAsScriptRuntimeEx(ex); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new org.htmlunit.javascript.host.dom.DOMException( + ex.getMessage(), + ex.code)); } } return -1; diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java index ae6e3f95283..0c0a3535b0a 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java @@ -155,11 +155,14 @@ public static void add(final Context context, final Scriptable scope, final String token = JavaScriptEngine.toString(arg); if (StringUtils.isEmpty(token)) { - throw JavaScriptEngine.reportRuntimeError("DOMTokenList: add() does not support empty tokens"); + throw JavaScriptEngine.syntaxError("DOMTokenList: add() does not support empty tokens"); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { - throw JavaScriptEngine.reportRuntimeError( - "DOMTokenList: add() does not support whitespace chars in tokens"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) getTopLevelScope(thisObj), + new DOMException( + "DOMTokenList: add() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR)); } if (!parts.contains(token)) { @@ -196,11 +199,14 @@ public static void remove(final Context context, final Scriptable scope, final String token = JavaScriptEngine.toString(arg); if (StringUtils.isEmpty(token)) { - throw JavaScriptEngine.reportRuntimeError("DOMTokenList: remove() does not support empty tokens"); + throw JavaScriptEngine.syntaxError("DOMTokenList: remove() does not support empty tokens"); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { - throw JavaScriptEngine.reportRuntimeError( - "DOMTokenList: remove() does not support whitespace chars in tokens"); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) getTopLevelScope(thisObj), + new DOMException( + "DOMTokenList: remove() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR)); } parts.remove(token); @@ -219,17 +225,25 @@ public static void remove(final Context context, final Scriptable scope, @JsxFunction public boolean replace(final String oldToken, final String newToken) { if (StringUtils.isEmpty(oldToken)) { - throw JavaScriptEngine.reportRuntimeError("Empty oldToken not allowed"); + throw JavaScriptEngine.syntaxError("Empty oldToken not allowed"); } if (StringUtils.containsAny(oldToken, WHITESPACE_CHARS)) { - throw JavaScriptEngine.reportRuntimeError("oldToken contains whitespace"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "DOMTokenList: replace() oldToken contains whitespace", + DOMException.INVALID_CHARACTER_ERR)); } if (StringUtils.isEmpty(newToken)) { - throw JavaScriptEngine.reportRuntimeError("Empty newToken not allowed"); + throw JavaScriptEngine.syntaxError("Empty newToken not allowed"); } if (StringUtils.containsAny(newToken, WHITESPACE_CHARS)) { - throw JavaScriptEngine.reportRuntimeError("newToken contains whitespace"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "DOMTokenList: replace() newToken contains whitespace", + DOMException.INVALID_CHARACTER_ERR)); } final String value = getValue(); @@ -255,11 +269,14 @@ public boolean replace(final String oldToken, final String newToken) { @JsxFunction public boolean toggle(final String token) { if (StringUtils.isEmpty(token)) { - throw JavaScriptEngine.reportRuntimeError("DOMTokenList: toggle() does not support empty tokens"); + throw JavaScriptEngine.syntaxError("DOMTokenList: toggle() does not support empty tokens"); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { - throw JavaScriptEngine.reportRuntimeError( - "DOMTokenList: toggle() does not support whitespace chars in tokens"); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "DOMTokenList: toggle() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR)); } final List parts = split(getValue()); From 56be80394a9b3c470cc459bbd0eda0f3d56459f2 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:48:00 +0100 Subject: [PATCH 124/516] more on error handling --- .../javascript/HtmlUnitScriptable2Test.java | 8 ++++---- .../javascript/JavaScriptEngine2Test.java | 10 +++++----- .../htmlunit/javascript/NativeFunctionTest.java | 2 +- .../org/htmlunit/javascript/NativeJSONTest.java | 4 ++-- .../htmlunit/javascript/NativeNumberTest.java | 4 ++-- .../htmlunit/javascript/NativeObjectTest.java | 16 ++++++++-------- .../javascript/ScriptableObjectTest.java | 14 +++++++------- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java index 24817952297..856d36d9fdf 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java @@ -55,7 +55,7 @@ public void setNonWritablePropertyContentType() throws Exception { + " log(document.contentType);\n" + " document.contentType = '123456';\n" + " log(document.contentType);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -79,7 +79,7 @@ public void setNonWritablePropertyCompatMode() throws Exception { + " log(document.compatMode);\n" + " document.compatMode = '123456';\n" + " log(document.compatMode);\n" - + " } catch (e) { log('exception'); }\n" + + " } catch (e) { log(e.name); }\n" + " }\n" + "\n" + "\n" @@ -316,7 +316,7 @@ private void set_ReadOnly(final String expression) throws Exception { + " try {\n" + " " + expression + " = '" + expression + " was set" + "';\n" + " log(" + expression + ");\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" @@ -350,7 +350,7 @@ public void lookupGetter() throws Exception { + " log(lengthGetter);\n" + " log(lengthGetter.call(window));\n" + " log(lengthGetter.call());\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 09acb93a062..d3aa727a1d2 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -245,7 +245,7 @@ public void constructor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void packages() throws Exception { object("Packages"); } @@ -254,7 +254,7 @@ public void packages() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void java() throws Exception { object("java"); } @@ -275,7 +275,7 @@ private void object(final String object) throws Exception { + "try {\n" + " log(" + object + ");\n" + "} catch (e) {\n" - + " log('exception');\n" + + " log(e.name);\n" + "}\n" + "\n" + ""; @@ -1028,7 +1028,7 @@ public void falsyAndDocumentAll() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void javaNotAccessable() throws Exception { final String html = "\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java index 71517898d58..17e1f761eb8 100644 --- a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java @@ -406,7 +406,7 @@ public void commaOperatorFunctionTry() throws Exception { + " try {\n" + " (0, obj.default)('var y=\"my y var\"');\n" + " log(y);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java index 311b29f96fd..ca99dd0d6d5 100644 --- a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java @@ -33,7 +33,7 @@ public class NativeJSONTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"x,y", "exception"}) + @Alerts({"x,y", "SyntaxError"}) public void getArraySyntax() throws Exception { final String html = "\n" @@ -48,7 +48,7 @@ public void getArraySyntax() throws Exception { + " text = '{\"name\": [, \"y\"]}';\n" + " try {\n" + " var obj = JSON.parse(text);" - + " } catch(e) { log('exception'); }\n" + + " } catch(e) { log(e.name); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java index 58e2c4b8e90..d3787b21751 100644 --- a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java @@ -318,13 +318,13 @@ public void toLocaleStringNoParam() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("RangeError") public void toLocaleStringHintertupfingen() throws Exception { final String html = "\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java index 877f2766a12..8fb2f650ada 100644 --- a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java @@ -238,7 +238,7 @@ public void getPrototypeOfString() throws Exception { + " function test() {\n" + " try {\n" + " log(String.prototype === Object.getPrototypeOf(''));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -261,7 +261,7 @@ public void getPrototypeOfNumber() throws Exception { + " function test() {\n" + " try {\n" + " log(Number.prototype === Object.getPrototypeOf(1));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -284,7 +284,7 @@ public void getPrototypeOfBoolean() throws Exception { + " function test() {\n" + " try {\n" + " log(Boolean.prototype === Object.getPrototypeOf(true));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -307,7 +307,7 @@ public void getTypeOfPrototypeOfNumber() throws Exception { + " function test() {\n" + " try {\n" + " log(typeof Object.getPrototypeOf(1));\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -340,7 +340,7 @@ public void getOwnPropertySymbols() throws Exception { + " log(objectSymbols.length);\n" + " log(objectSymbols[0] === a);\n" + " log(objectSymbols[1] === b);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -354,7 +354,7 @@ public void getOwnPropertySymbols() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("TypeError") public void getOwnPropertySymbolsEmpty() throws Exception { final String html = "" + "\n" @@ -364,7 +364,7 @@ public void getOwnPropertySymbolsEmpty() throws Exception { + " try {\n" + " var objectSymbols = Object.getOwnPropertySymbols();\n" + " log(objectSymbols.length);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -397,7 +397,7 @@ public void getOwnPropertyDescriptor() throws Exception { + " log(desc);\n" + " log(typeof desc.get);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java index fc5f91a269a..c64fbf18865 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java @@ -101,7 +101,7 @@ public void getOwnPropertySymbols() throws Exception { * @throws Exception on failure */ @Test - @Alerts({"exception", "true", "true"}) + @Alerts({"TypeError", "true", "true"}) public void ctorNotChangeableForPrimitives() throws Exception { final String html = "\n" + "\n" + "\n" @@ -216,7 +216,7 @@ public void ctorChangeableHasNoEffectForTypeOfStrict() throws Exception { + " log('ctor');\n" + " a.constructor = 'bar';\n" + " log(a.constructor === 'bar');\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "\n" + "\n" @@ -266,7 +266,7 @@ public void ctorChangeableHasNoEffectForSealedStrict() throws Exception { + " try {\n" + " a.constructor = Number;\n" + " log(a.constructor === Object);\n" - + " } catch (e) { log('exception') }\n" + + " } catch (e) { log(e.name) }\n" + "\n" + "\n" From a5572354388a0285e78bcdaddec89aac90af27a9 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 15:56:52 +0100 Subject: [PATCH 125/516] more on error handling --- ...dicatedWorkerGlobalScopeClassNameTest.java | 1838 ++++++++--------- .../DedicatedWorkerGlobalScopeTypeOfTest.java | 58 +- .../general/ElementClosesItselfTest.java | 2 +- .../htmlunit/general/HostClassNameTest.java | 1100 +++++----- .../htmlunit/general/HostConstructorTest.java | 4 +- .../org/htmlunit/general/HostTypeOfTest.java | 56 +- 6 files changed, 1529 insertions(+), 1529 deletions(-) diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java index 33a1ddf5095..4cd2969ac89 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeClassNameTest.java @@ -45,7 +45,7 @@ private void test(final String className) throws Exception { + " log('' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('test');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -55,7 +55,7 @@ private void test(final String className) throws Exception { // normalize FF output + " clsName = clsName.replace('{\\n [native code]\\n}', '{ [native code] }');\n" + " workerResult += clsName;\n" - + " } catch(e) {workerResult = 'exception'}\n" + + " } catch(e) {workerResult = e.name}\n" + " postMessage(workerResult);\n" + "}\n"; @@ -69,7 +69,7 @@ private void test(final String className) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void abstractList() throws Exception { test("AbstractList"); } @@ -78,7 +78,7 @@ public void abstractList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void abstractRange() throws Exception { test("AbstractRange"); } @@ -87,7 +87,7 @@ public void abstractRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void abstractWorker() throws Exception { test("AbstractWorker"); } @@ -98,7 +98,7 @@ public void abstractWorker() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void activeXObject() throws Exception { test("ActiveXObject"); } @@ -107,7 +107,7 @@ public void activeXObject() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ambientLightSensor() throws Exception { test("AmbientLightSensor"); } @@ -116,7 +116,7 @@ public void ambientLightSensor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ambientLightSensorReading() throws Exception { test("AmbientLightSensorReading"); } @@ -127,7 +127,7 @@ public void ambientLightSensorReading() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void analyserNode() throws Exception { test("AnalyserNode"); } @@ -136,7 +136,7 @@ public void analyserNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void angle_instanced_arrays() throws Exception { test("ANGLE_instanced_arrays"); } @@ -145,7 +145,7 @@ public void angle_instanced_arrays() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animation() throws Exception { test("Animation"); } @@ -154,7 +154,7 @@ public void animation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectReadOnly() throws Exception { test("AnimationEffectReadOnly"); } @@ -163,7 +163,7 @@ public void animationEffectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTiming() throws Exception { test("AnimationEffectTiming"); } @@ -172,7 +172,7 @@ public void animationEffectTiming() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTimingProperties() throws Exception { test("AnimationEffectTimingProperties"); } @@ -181,7 +181,7 @@ public void animationEffectTimingProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTimingReadOnly() throws Exception { test("AnimationEffectTimingReadOnly"); } @@ -190,7 +190,7 @@ public void animationEffectTimingReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEvent() throws Exception { test("AnimationEvent"); } @@ -199,7 +199,7 @@ public void animationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationPlaybackEvent() throws Exception { test("AnimationPlaybackEvent"); } @@ -208,7 +208,7 @@ public void animationPlaybackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationPlayer() throws Exception { test("AnimationPlayer"); } @@ -217,7 +217,7 @@ public void animationPlayer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationTimeline() throws Exception { test("AnimationTimeline"); } @@ -226,7 +226,7 @@ public void animationTimeline() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void appBannerPromptResult() throws Exception { test("AppBannerPromptResult"); } @@ -237,7 +237,7 @@ public void appBannerPromptResult() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void applicationCache() throws Exception { test("ApplicationCache"); } @@ -246,7 +246,7 @@ public void applicationCache() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void applicationCacheErrorEvent() throws Exception { test("ApplicationCacheErrorEvent"); } @@ -255,7 +255,7 @@ public void applicationCacheErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void apps_mgmt() throws Exception { test("Apps.mgmt"); } @@ -297,7 +297,7 @@ public void arrayBuffer() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void arrayBufferView() throws Exception { test("ArrayBufferView"); } @@ -308,7 +308,7 @@ public void arrayBufferView() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void arrayBufferViewBase() throws Exception { test("ArrayBufferViewBase"); } @@ -317,7 +317,7 @@ public void arrayBufferViewBase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void asyncFunction() throws Exception { test("AsyncFunction"); } @@ -337,7 +337,7 @@ public void atomics() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void attr() throws Exception { test("Attr"); } @@ -346,7 +346,7 @@ public void attr() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audio() throws Exception { test("Audio"); } @@ -355,7 +355,7 @@ public void audio() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioBuffer() throws Exception { test("AudioBuffer"); } @@ -364,7 +364,7 @@ public void audioBuffer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioBufferSourceNode() throws Exception { test("AudioBufferSourceNode"); } @@ -373,7 +373,7 @@ public void audioBufferSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioChannelManager() throws Exception { test("AudioChannelManager"); } @@ -382,7 +382,7 @@ public void audioChannelManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioContext() throws Exception { test("AudioContext"); } @@ -391,7 +391,7 @@ public void audioContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioDestinationNode() throws Exception { test("AudioDestinationNode"); } @@ -400,7 +400,7 @@ public void audioDestinationNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioListener() throws Exception { test("AudioListener"); } @@ -409,7 +409,7 @@ public void audioListener() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioNode() throws Exception { test("AudioNode"); } @@ -420,7 +420,7 @@ public void audioNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioParam() throws Exception { test("AudioParam"); } @@ -429,7 +429,7 @@ public void audioParam() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioProcessingEvent() throws Exception { test("AudioProcessingEvent"); } @@ -438,7 +438,7 @@ public void audioProcessingEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioScheduledSourceNode() throws Exception { test("AudioScheduledSourceNode"); } @@ -447,7 +447,7 @@ public void audioScheduledSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void autocompleteErrorEvent() throws Exception { test("AutocompleteErrorEvent"); } @@ -456,7 +456,7 @@ public void autocompleteErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void barProp() throws Exception { test("BarProp"); } @@ -465,7 +465,7 @@ public void barProp() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void baseAudioContext() throws Exception { test("BaseAudioContext"); } @@ -474,7 +474,7 @@ public void baseAudioContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void batteryManager() throws Exception { test("BatteryManager"); } @@ -483,7 +483,7 @@ public void batteryManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void beforeInstallPrompt() throws Exception { test("BeforeInstallPrompt"); } @@ -492,7 +492,7 @@ public void beforeInstallPrompt() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void beforeInstallPromptEvent() throws Exception { test("BeforeInstallPromptEvent"); } @@ -503,7 +503,7 @@ public void beforeInstallPromptEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void beforeUnloadEvent() throws Exception { test("BeforeUnloadEvent"); } @@ -521,7 +521,7 @@ public void bigInt() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void biquadFilterNode() throws Exception { test("BiquadFilterNode"); } @@ -539,7 +539,7 @@ public void blob() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void blobBuilder() throws Exception { test("BlobBuilder"); } @@ -548,7 +548,7 @@ public void blobBuilder() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void blobEvent() throws Exception { test("BlobEvent"); } @@ -557,7 +557,7 @@ public void blobEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetooth() throws Exception { test("Bluetooth"); } @@ -566,7 +566,7 @@ public void bluetooth() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothAdapter() throws Exception { test("BluetoothAdapter"); } @@ -575,7 +575,7 @@ public void bluetoothAdapter() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothAdvertisingData() throws Exception { test("BluetoothAdvertisingData"); } @@ -584,7 +584,7 @@ public void bluetoothAdvertisingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothCharacteristicProperties() throws Exception { test("BluetoothCharacteristicProperties"); } @@ -593,7 +593,7 @@ public void bluetoothCharacteristicProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothDevice() throws Exception { test("BluetoothDevice"); } @@ -602,7 +602,7 @@ public void bluetoothDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothDeviceEvent() throws Exception { test("BluetoothDeviceEvent"); } @@ -611,7 +611,7 @@ public void bluetoothDeviceEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothGATTRemoteServer() throws Exception { test("BluetoothGATTRemoteServer"); } @@ -620,7 +620,7 @@ public void bluetoothGATTRemoteServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothGATTService() throws Exception { test("BluetoothGATTService"); } @@ -629,7 +629,7 @@ public void bluetoothGATTService() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothManager() throws Exception { test("BluetoothManager"); } @@ -638,7 +638,7 @@ public void bluetoothManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothRemoteGATTCharacteristic() throws Exception { test("BluetoothRemoteGATTCharacteristic"); } @@ -647,7 +647,7 @@ public void bluetoothRemoteGATTCharacteristic() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothRemoteGATTServer() throws Exception { test("BluetoothRemoteGATTServer"); } @@ -656,7 +656,7 @@ public void bluetoothRemoteGATTServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothStatusChangedEvent() throws Exception { test("BluetoothStatusChangedEvent"); } @@ -665,7 +665,7 @@ public void bluetoothStatusChangedEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void body() throws Exception { test("Body"); } @@ -674,7 +674,7 @@ public void body() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void boxObject() throws Exception { test("BoxObject"); } @@ -692,7 +692,7 @@ public void broadcastChannel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void budgetService() throws Exception { test("BudgetService"); } @@ -701,7 +701,7 @@ public void budgetService() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void budgetState() throws Exception { test("BudgetState"); } @@ -710,7 +710,7 @@ public void budgetState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bufferSource() throws Exception { test("BufferSource"); } @@ -719,7 +719,7 @@ public void bufferSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void byteString() throws Exception { test("ByteString"); } @@ -746,7 +746,7 @@ public void cacheStorage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void callEvent() throws Exception { test("CallEvent"); } @@ -755,7 +755,7 @@ public void callEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraCapabilities() throws Exception { test("CameraCapabilities"); } @@ -764,7 +764,7 @@ public void cameraCapabilities() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraControl() throws Exception { test("CameraControl"); } @@ -773,7 +773,7 @@ public void cameraControl() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraManager() throws Exception { test("CameraManager"); } @@ -782,7 +782,7 @@ public void cameraManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void canvasCaptureMediaStream() throws Exception { test("CanvasCaptureMediaStream"); } @@ -791,7 +791,7 @@ public void canvasCaptureMediaStream() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void canvasCaptureMediaStreamTrack() throws Exception { test("CanvasCaptureMediaStreamTrack"); } @@ -809,7 +809,7 @@ public void canvasGradient() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void canvasImageSource() throws Exception { test("CanvasImageSource"); } @@ -829,7 +829,7 @@ public void canvasPattern() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void canvasRenderingContext2D() throws Exception { test("CanvasRenderingContext2D"); } @@ -838,7 +838,7 @@ public void canvasRenderingContext2D() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void caretPosition() throws Exception { test("CaretPosition"); } @@ -849,7 +849,7 @@ public void caretPosition() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cdataSection() throws Exception { test("CDATASection"); } @@ -860,7 +860,7 @@ public void cdataSection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void channelMergerNode() throws Exception { test("ChannelMergerNode"); } @@ -869,7 +869,7 @@ public void channelMergerNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void channelSplitterNode() throws Exception { test("ChannelSplitterNode"); } @@ -878,7 +878,7 @@ public void channelSplitterNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void characterData() throws Exception { test("CharacterData"); } @@ -889,7 +889,7 @@ public void characterData() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void characterDataImpl() throws Exception { test("CharacterDataImpl"); } @@ -898,7 +898,7 @@ public void characterDataImpl() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void childNode() throws Exception { test("ChildNode"); } @@ -907,7 +907,7 @@ public void childNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void chromeWorker() throws Exception { test("ChromeWorker"); } @@ -916,7 +916,7 @@ public void chromeWorker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void client() throws Exception { test("Client"); } @@ -927,7 +927,7 @@ public void client() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clientRect() throws Exception { test("ClientRect"); } @@ -936,7 +936,7 @@ public void clientRect() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clientRectList() throws Exception { test("ClientRectList"); } @@ -945,7 +945,7 @@ public void clientRectList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clients() throws Exception { test("Clients"); } @@ -954,7 +954,7 @@ public void clients() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clipboardData() throws Exception { test("ClipboardData"); } @@ -963,7 +963,7 @@ public void clipboardData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clipboardEvent() throws Exception { test("ClipboardEvent"); } @@ -983,7 +983,7 @@ public void closeEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void comment() throws Exception { test("Comment"); } @@ -992,7 +992,7 @@ public void comment() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void compositionEvent() throws Exception { test("CompositionEvent"); } @@ -1003,7 +1003,7 @@ public void compositionEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void computedCSSStyleDeclaration() throws Exception { test("ComputedCSSStyleDeclaration"); } @@ -1012,7 +1012,7 @@ public void computedCSSStyleDeclaration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void connection() throws Exception { test(HttpHeader.CONNECTION); } @@ -1023,7 +1023,7 @@ public void connection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void console() throws Exception { test("Console"); } @@ -1032,7 +1032,7 @@ public void console() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constantSourceNode() throws Exception { test("ConstantSourceNode"); } @@ -1041,7 +1041,7 @@ public void constantSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainBoolean() throws Exception { test("ConstrainBoolean"); } @@ -1050,7 +1050,7 @@ public void constrainBoolean() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainDOMString() throws Exception { test("ConstrainDOMString"); } @@ -1059,7 +1059,7 @@ public void constrainDOMString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainDouble() throws Exception { test("ConstrainDouble"); } @@ -1068,7 +1068,7 @@ public void constrainDouble() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainLong() throws Exception { test("ConstrainLong"); } @@ -1077,7 +1077,7 @@ public void constrainLong() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void contactManager() throws Exception { test("ContactManager"); } @@ -1086,7 +1086,7 @@ public void contactManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void convolverNode() throws Exception { test("ConvolverNode"); } @@ -1097,7 +1097,7 @@ public void convolverNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void coordinates() throws Exception { test("Coordinates"); } @@ -1106,7 +1106,7 @@ public void coordinates() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void credential() throws Exception { test("Credential"); } @@ -1115,7 +1115,7 @@ public void credential() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void credentialsContainer() throws Exception { test("CredentialsContainer"); } @@ -1142,7 +1142,7 @@ public void cryptoKey() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void css() throws Exception { test("CSS"); } @@ -1153,7 +1153,7 @@ public void css() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void css2Properties() throws Exception { test("CSS2Properties"); } @@ -1164,7 +1164,7 @@ public void css2Properties() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssPageDescriptors() throws Exception { test("CSSPageDescriptors"); } @@ -1173,7 +1173,7 @@ public void cssPageDescriptors() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssCharsetRule() throws Exception { test("CSSCharsetRule"); } @@ -1182,7 +1182,7 @@ public void cssCharsetRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssConditionRule() throws Exception { test("CSSConditionRule"); } @@ -1191,7 +1191,7 @@ public void cssConditionRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssCounterStyleRule() throws Exception { test("CSSCounterStyleRule"); } @@ -1202,7 +1202,7 @@ public void cssCounterStyleRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssFontFaceRule() throws Exception { test("CSSFontFaceRule"); } @@ -1211,7 +1211,7 @@ public void cssFontFaceRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssGroupingRule() throws Exception { test("CSSGroupingRule"); } @@ -1222,7 +1222,7 @@ public void cssGroupingRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssImportRule() throws Exception { test("CSSImportRule"); } @@ -1231,7 +1231,7 @@ public void cssImportRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssKeyframeRule() throws Exception { test("CSSKeyframeRule"); } @@ -1240,7 +1240,7 @@ public void cssKeyframeRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssKeyframesRule() throws Exception { test("CSSKeyframesRule"); } @@ -1249,7 +1249,7 @@ public void cssKeyframesRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssMatrix() throws Exception { test("CSSMatrix"); } @@ -1260,7 +1260,7 @@ public void cssMatrix() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssMediaRule() throws Exception { test("CSSMediaRule"); } @@ -1269,7 +1269,7 @@ public void cssMediaRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssNamespaceRule() throws Exception { test("CSSNamespaceRule"); } @@ -1278,7 +1278,7 @@ public void cssNamespaceRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssPageRule() throws Exception { test("CSSPageRule"); } @@ -1289,7 +1289,7 @@ public void cssPageRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssPrimitiveValue() throws Exception { test("CSSPrimitiveValue"); } @@ -1300,7 +1300,7 @@ public void cssPrimitiveValue() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssRule() throws Exception { test("CSSRule"); } @@ -1311,7 +1311,7 @@ public void cssRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssRuleList() throws Exception { test("CSSRuleList"); } @@ -1322,7 +1322,7 @@ public void cssRuleList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssStyleDeclaration() throws Exception { test("CSSStyleDeclaration"); } @@ -1333,7 +1333,7 @@ public void cssStyleDeclaration() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssStyleRule() throws Exception { test("CSSStyleRule"); } @@ -1344,7 +1344,7 @@ public void cssStyleRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssStyleSheet() throws Exception { test("CSSStyleSheet"); } @@ -1353,7 +1353,7 @@ public void cssStyleSheet() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssSupportsRule() throws Exception { test("CSSSupportsRule"); } @@ -1362,7 +1362,7 @@ public void cssSupportsRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssUnknownRule() throws Exception { test("CSSUnknownRule"); } @@ -1373,7 +1373,7 @@ public void cssUnknownRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssValue() throws Exception { test("CSSValue"); } @@ -1382,7 +1382,7 @@ public void cssValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssValueList() throws Exception { test("CSSValueList"); } @@ -1391,7 +1391,7 @@ public void cssValueList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssViewportRule() throws Exception { test("CSSViewportRule"); } @@ -1400,7 +1400,7 @@ public void cssViewportRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void customElementRegistry() throws Exception { test("CustomElementRegistry"); } @@ -1418,7 +1418,7 @@ public void customEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStore() throws Exception { test("DataStore"); } @@ -1427,7 +1427,7 @@ public void dataStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreChangeEvent() throws Exception { test("DataStoreChangeEvent"); } @@ -1436,7 +1436,7 @@ public void dataStoreChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreCursor() throws Exception { test("DataStoreCursor"); } @@ -1445,7 +1445,7 @@ public void dataStoreCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreTask() throws Exception { test("DataStoreTask"); } @@ -1454,7 +1454,7 @@ public void dataStoreTask() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataTransfer() throws Exception { test("DataTransfer"); } @@ -1463,7 +1463,7 @@ public void dataTransfer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataTransferItem() throws Exception { test("DataTransferItem"); } @@ -1472,7 +1472,7 @@ public void dataTransferItem() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataTransferItemList() throws Exception { test("DataTransferItemList"); } @@ -1528,7 +1528,7 @@ public void dedicatedWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void delayNode() throws Exception { test("DelayNode"); } @@ -1537,7 +1537,7 @@ public void delayNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceAcceleration() throws Exception { test("DeviceAcceleration"); } @@ -1546,7 +1546,7 @@ public void deviceAcceleration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceLightEvent() throws Exception { test("DeviceLightEvent"); } @@ -1555,7 +1555,7 @@ public void deviceLightEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceMotionEvent() throws Exception { test("DeviceMotionEvent"); } @@ -1564,7 +1564,7 @@ public void deviceMotionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceOrientationEvent() throws Exception { test("DeviceOrientationEvent"); } @@ -1573,7 +1573,7 @@ public void deviceOrientationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceProximityEvent() throws Exception { test("DeviceProximityEvent"); } @@ -1582,7 +1582,7 @@ public void deviceProximityEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceRotationRate() throws Exception { test("DeviceRotationRate"); } @@ -1591,7 +1591,7 @@ public void deviceRotationRate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceStorage() throws Exception { test("DeviceStorage"); } @@ -1600,7 +1600,7 @@ public void deviceStorage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceStorageChangeEvent() throws Exception { test("DeviceStorageChangeEvent"); } @@ -1609,7 +1609,7 @@ public void deviceStorageChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryEntry() throws Exception { test("DirectoryEntry"); } @@ -1618,7 +1618,7 @@ public void directoryEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryEntrySync() throws Exception { test("DirectoryEntrySync"); } @@ -1627,7 +1627,7 @@ public void directoryEntrySync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryReader() throws Exception { test("DirectoryReader"); } @@ -1636,7 +1636,7 @@ public void directoryReader() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryReaderSync() throws Exception { test("DirectoryReaderSync"); } @@ -1647,7 +1647,7 @@ public void directoryReaderSync() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void document() throws Exception { test("Document"); } @@ -1658,7 +1658,7 @@ public void document() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentFragment() throws Exception { test("DocumentFragment"); } @@ -1667,7 +1667,7 @@ public void documentFragment() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentOrShadowRoot() throws Exception { test("DocumentOrShadowRoot"); } @@ -1676,7 +1676,7 @@ public void documentOrShadowRoot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentTimeline() throws Exception { test("DocumentTimeline"); } @@ -1685,7 +1685,7 @@ public void documentTimeline() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentTouch() throws Exception { test("DocumentTouch"); } @@ -1696,7 +1696,7 @@ public void documentTouch() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentType() throws Exception { test("DocumentType"); } @@ -1705,7 +1705,7 @@ public void documentType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplication() throws Exception { test("DOMApplication"); } @@ -1714,7 +1714,7 @@ public void domApplication() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplicationsManager() throws Exception { test("DOMApplicationsManager"); } @@ -1723,7 +1723,7 @@ public void domApplicationsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplicationsRegistry() throws Exception { test("DOMApplicationsRegistry"); } @@ -1732,7 +1732,7 @@ public void domApplicationsRegistry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domConfiguration() throws Exception { test("DOMConfiguration"); } @@ -1743,7 +1743,7 @@ public void domConfiguration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domCursor() throws Exception { test("DOMCursor"); } @@ -1752,7 +1752,7 @@ public void domCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domError() throws Exception { test("DOMError"); } @@ -1761,7 +1761,7 @@ public void domError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domErrorHandler() throws Exception { test("DOMErrorHandler"); } @@ -1781,7 +1781,7 @@ public void domException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domHighResTimeStamp() throws Exception { test("DOMHighResTimeStamp"); } @@ -1792,7 +1792,7 @@ public void domHighResTimeStamp() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementation() throws Exception { test("DOMImplementation"); } @@ -1801,7 +1801,7 @@ public void domImplementation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationList() throws Exception { test("DOMImplementationList"); } @@ -1810,7 +1810,7 @@ public void domImplementationList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationRegistry() throws Exception { test("DOMImplementationRegistry"); } @@ -1819,7 +1819,7 @@ public void domImplementationRegistry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationSource() throws Exception { test("DOMImplementationSource"); } @@ -1828,7 +1828,7 @@ public void domImplementationSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domLocator() throws Exception { test("DOMLocator"); } @@ -1855,7 +1855,7 @@ public void domMatrixReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domObject() throws Exception { test("DOMObject"); } @@ -1866,7 +1866,7 @@ public void domObject() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domParser() throws Exception { test("DOMParser"); } @@ -1904,7 +1904,7 @@ public void domRect() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domRectList() throws Exception { test("DOMRectList"); } @@ -1922,7 +1922,7 @@ public void domRectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domRequest() throws Exception { test("DOMRequest"); } @@ -1931,7 +1931,7 @@ public void domRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domSettableTokenList() throws Exception { test("DOMSettableTokenList"); } @@ -1940,7 +1940,7 @@ public void domSettableTokenList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domString() throws Exception { test("DOMString"); } @@ -1960,7 +1960,7 @@ public void domStringList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domStringMap() throws Exception { test("DOMStringMap"); } @@ -1969,7 +1969,7 @@ public void domStringMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domTimeStamp() throws Exception { test("DOMTimeStamp"); } @@ -1980,7 +1980,7 @@ public void domTimeStamp() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domTokenList() throws Exception { test("DOMTokenList"); } @@ -1989,7 +1989,7 @@ public void domTokenList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domUserData() throws Exception { test("DOMUserData"); } @@ -1998,7 +1998,7 @@ public void domUserData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void doubleRange() throws Exception { test("DoubleRange"); } @@ -2007,7 +2007,7 @@ public void doubleRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dragEvent() throws Exception { test("DragEvent"); } @@ -2016,7 +2016,7 @@ public void dragEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dynamicsCompressorNode() throws Exception { test("DynamicsCompressorNode"); } @@ -2027,7 +2027,7 @@ public void dynamicsCompressorNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void element() throws Exception { test("Element"); } @@ -2036,7 +2036,7 @@ public void element() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void elementTraversal() throws Exception { test("ElementTraversal"); } @@ -2063,7 +2063,7 @@ public void encodeURIComponent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entity() throws Exception { test("Entity"); } @@ -2072,7 +2072,7 @@ public void entity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entityReference() throws Exception { test("EntityReference"); } @@ -2081,7 +2081,7 @@ public void entityReference() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entry() throws Exception { test("Entry"); } @@ -2090,7 +2090,7 @@ public void entry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entrySync() throws Exception { test("EntrySync"); } @@ -2101,7 +2101,7 @@ public void entrySync() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void enumerator() throws Exception { test("Enumerator"); } @@ -2166,7 +2166,7 @@ public void event() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void eventListener() throws Exception { test("EventListener"); } @@ -2175,7 +2175,7 @@ public void eventListener() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void eventNode() throws Exception { test("EventNode"); } @@ -2202,7 +2202,7 @@ public void eventTarget() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_blend_minmax() throws Exception { test("EXT_blend_minmax"); } @@ -2211,7 +2211,7 @@ public void ext_blend_minmax() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_color_buffer_float() throws Exception { test("EXT_color_buffer_float"); } @@ -2220,7 +2220,7 @@ public void ext_color_buffer_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_color_buffer_half_float() throws Exception { test("EXT_color_buffer_half_float"); } @@ -2229,7 +2229,7 @@ public void ext_color_buffer_half_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_disjoint_timer_query() throws Exception { test("EXT_disjoint_timer_query"); } @@ -2238,7 +2238,7 @@ public void ext_disjoint_timer_query() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_frag_depth() throws Exception { test("EXT_frag_depth"); } @@ -2247,7 +2247,7 @@ public void ext_frag_depth() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_shader_texture_lod() throws Exception { test("EXT_shader_texture_lod"); } @@ -2256,7 +2256,7 @@ public void ext_shader_texture_lod() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_sRGB() throws Exception { test("EXT_sRGB"); } @@ -2265,7 +2265,7 @@ public void ext_sRGB() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_texture_filter_anisotropic() throws Exception { test("EXT_texture_filter_anisotropic"); } @@ -2274,7 +2274,7 @@ public void ext_texture_filter_anisotropic() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void extendableEvent() throws Exception { test("ExtendableEvent"); } @@ -2283,7 +2283,7 @@ public void extendableEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void extendableMessageEvent() throws Exception { test("ExtendableMessageEvent"); } @@ -2294,7 +2294,7 @@ public void extendableMessageEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void external() throws Exception { test("External"); } @@ -2303,7 +2303,7 @@ public void external() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void federatedCredential() throws Exception { test("FederatedCredential"); } @@ -2312,7 +2312,7 @@ public void federatedCredential() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fetchEvent() throws Exception { test("FetchEvent"); } @@ -2330,7 +2330,7 @@ public void file() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileEntry() throws Exception { test("FileEntry"); } @@ -2339,7 +2339,7 @@ public void fileEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileEntrySync() throws Exception { test("FileEntrySync"); } @@ -2348,7 +2348,7 @@ public void fileEntrySync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileError() throws Exception { test("FileError"); } @@ -2357,7 +2357,7 @@ public void fileError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileException() throws Exception { test("FileException"); } @@ -2366,7 +2366,7 @@ public void fileException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileHandle() throws Exception { test("FileHandle"); } @@ -2394,7 +2394,7 @@ public void fileReader() throws Exception { */ @Test @Alerts("function FileReaderSync() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception", FF = "exception", FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError", FF = "ReferenceError", FF_ESR = "ReferenceError") public void fileReaderSync() throws Exception { test("FileReaderSync"); } @@ -2403,7 +2403,7 @@ public void fileReaderSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileRequest() throws Exception { test("FileRequest"); } @@ -2412,7 +2412,7 @@ public void fileRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystem() throws Exception { test("FileSystem"); } @@ -2421,7 +2421,7 @@ public void fileSystem() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemDirectoryEntry() throws Exception { test("FileSystemDirectoryEntry"); } @@ -2430,7 +2430,7 @@ public void fileSystemDirectoryEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemDirectoryReader() throws Exception { test("FileSystemDirectoryReader"); } @@ -2439,7 +2439,7 @@ public void fileSystemDirectoryReader() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemEntry() throws Exception { test("FileSystemEntry"); } @@ -2448,7 +2448,7 @@ public void fileSystemEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemFileEntry() throws Exception { test("FileSystemFileEntry"); } @@ -2457,7 +2457,7 @@ public void fileSystemFileEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemFlags() throws Exception { test("FileSystemFlags"); } @@ -2466,7 +2466,7 @@ public void fileSystemFlags() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemSync() throws Exception { test("FileSystemSync"); } @@ -2497,7 +2497,7 @@ public void float64Array() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fMRadio() throws Exception { test("FMRadio"); } @@ -2506,7 +2506,7 @@ public void fMRadio() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void focusEvent() throws Exception { test("FocusEvent"); } @@ -2524,7 +2524,7 @@ public void fontFace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FontFaceSet() { [native code] }", FF_ESR = "function FontFaceSet() { [native code] }") public void fontFaceSet() throws Exception { @@ -2535,7 +2535,7 @@ public void fontFaceSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void formChild() throws Exception { test("FormChild"); } @@ -2555,7 +2555,7 @@ public void formData() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void formField() throws Exception { test("FormField"); } @@ -2573,7 +2573,7 @@ public void function() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gainNode() throws Exception { test("GainNode"); } @@ -2582,7 +2582,7 @@ public void gainNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gamepad() throws Exception { test("Gamepad"); } @@ -2591,7 +2591,7 @@ public void gamepad() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gamepadButton() throws Exception { test("GamepadButton"); } @@ -2600,7 +2600,7 @@ public void gamepadButton() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gamepadEvent() throws Exception { test("GamepadEvent"); } @@ -2609,7 +2609,7 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void generator() throws Exception { test("Generator"); } @@ -2618,7 +2618,7 @@ public void generator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void generatorFunction() throws Exception { test("GeneratorFunction"); } @@ -2629,7 +2629,7 @@ public void generatorFunction() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void geolocation() throws Exception { test("Geolocation"); } @@ -2640,7 +2640,7 @@ public void geolocation() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void geolocationCoordinates() throws Exception { test("GeolocationCoordinates"); } @@ -2651,7 +2651,7 @@ public void geolocationCoordinates() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void geolocationPosition() throws Exception { test("GeolocationPosition"); } @@ -2662,7 +2662,7 @@ public void geolocationPosition() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void geolocationPositionError() throws Exception { test("GeolocationPositionError"); } @@ -2671,7 +2671,7 @@ public void geolocationPositionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gestureEvent() throws Exception { test("GestureEvent"); } @@ -2680,7 +2680,7 @@ public void gestureEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void globalEventHandlers() throws Exception { test("GlobalEventHandlers"); } @@ -2689,7 +2689,7 @@ public void globalEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void globalFetch() throws Exception { test("GlobalFetch"); } @@ -2700,7 +2700,7 @@ public void globalFetch() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void hashChangeEvent() throws Exception { test("HashChangeEvent"); } @@ -2720,7 +2720,7 @@ public void headers() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void history() throws Exception { test("History"); } @@ -2729,7 +2729,7 @@ public void history() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void hMDVRDevice() throws Exception { test("HMDVRDevice"); } @@ -2740,7 +2740,7 @@ public void hMDVRDevice() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAllCollection() throws Exception { test("HTMLAllCollection"); } @@ -2751,7 +2751,7 @@ public void htmlAllCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAnchorElement() throws Exception { test("HTMLAnchorElement"); } @@ -2762,7 +2762,7 @@ public void htmlAnchorElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAppletElement() throws Exception { test("HTMLAppletElement"); } @@ -2773,7 +2773,7 @@ public void htmlAppletElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAreaElement() throws Exception { test("HTMLAreaElement"); } @@ -2784,7 +2784,7 @@ public void htmlAreaElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAudioElement() throws Exception { test("HTMLAudioElement"); } @@ -2795,7 +2795,7 @@ public void htmlAudioElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBaseElement() throws Exception { test("HTMLBaseElement"); } @@ -2806,7 +2806,7 @@ public void htmlBaseElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBaseFontElement() throws Exception { test("HTMLBaseFontElement"); } @@ -2817,7 +2817,7 @@ public void htmlBaseFontElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBGSoundElement() throws Exception { test("HTMLBGSoundElement"); } @@ -2828,7 +2828,7 @@ public void htmlBGSoundElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBlockElement() throws Exception { test("HTMLBlockElement"); } @@ -2839,7 +2839,7 @@ public void htmlBlockElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBlockQuoteElement() throws Exception { test("HTMLBlockQuoteElement"); } @@ -2850,7 +2850,7 @@ public void htmlBlockQuoteElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBodyElement() throws Exception { test("HTMLBodyElement"); } @@ -2861,7 +2861,7 @@ public void htmlBodyElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBRElement() throws Exception { test("HTMLBRElement"); } @@ -2872,7 +2872,7 @@ public void htmlBRElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlButtonElement() throws Exception { test("HTMLButtonElement"); } @@ -2883,7 +2883,7 @@ public void htmlButtonElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlCanvasElement() throws Exception { test("HTMLCanvasElement"); } @@ -2894,7 +2894,7 @@ public void htmlCanvasElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlCollection() throws Exception { test("HTMLCollection"); } @@ -2905,7 +2905,7 @@ public void htmlCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlCommentElement() throws Exception { test("HTMLCommentElement"); } @@ -2914,7 +2914,7 @@ public void htmlCommentElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlContentElement() throws Exception { test("HTMLContentElement"); } @@ -2923,7 +2923,7 @@ public void htmlContentElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDataElement() throws Exception { test("HTMLDataElement"); } @@ -2934,7 +2934,7 @@ public void htmlDataElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDataListElement() throws Exception { test("HTMLDataListElement"); } @@ -2945,7 +2945,7 @@ public void htmlDataListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDDElement() throws Exception { test("HTMLDDElement"); } @@ -2956,7 +2956,7 @@ public void htmlDDElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDefinitionDescriptionElement() throws Exception { test("HTMLDefinitionDescriptionElement"); } @@ -2967,7 +2967,7 @@ public void htmlDefinitionDescriptionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDefinitionTermElement() throws Exception { test("HTMLDefinitionTermElement"); } @@ -2978,7 +2978,7 @@ public void htmlDefinitionTermElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDetailsElement() throws Exception { test("HTMLDetailsElement"); } @@ -2989,7 +2989,7 @@ public void htmlDetailsElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDialogElement() throws Exception { test("HTMLDialogElement"); } @@ -3000,7 +3000,7 @@ public void htmlDialogElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDirectoryElement() throws Exception { test("HTMLDirectoryElement"); } @@ -3011,7 +3011,7 @@ public void htmlDirectoryElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDivElement() throws Exception { test("HTMLDivElement"); } @@ -3022,7 +3022,7 @@ public void htmlDivElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDListElement() throws Exception { test("HTMLDListElement"); } @@ -3033,7 +3033,7 @@ public void htmlDListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDocument() throws Exception { test("HTMLDocument"); } @@ -3044,7 +3044,7 @@ public void htmlDocument() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDTElement() throws Exception { test("HTMLDTElement"); } @@ -3055,7 +3055,7 @@ public void htmlDTElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlElement() throws Exception { test("HTMLElement"); } @@ -3066,7 +3066,7 @@ public void htmlElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlEmbedElement() throws Exception { test("HTMLEmbedElement"); } @@ -3077,7 +3077,7 @@ public void htmlEmbedElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFieldSetElement() throws Exception { test("HTMLFieldSetElement"); } @@ -3088,7 +3088,7 @@ public void htmlFieldSetElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFontElement() throws Exception { test("HTMLFontElement"); } @@ -3097,7 +3097,7 @@ public void htmlFontElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFormControlsCollection() throws Exception { test("HTMLFormControlsCollection"); } @@ -3108,7 +3108,7 @@ public void htmlFormControlsCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFormElement() throws Exception { test("HTMLFormElement"); } @@ -3119,7 +3119,7 @@ public void htmlFormElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFrameElement() throws Exception { test("HTMLFrameElement"); } @@ -3130,7 +3130,7 @@ public void htmlFrameElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlFrameSetElement() throws Exception { test("HTMLFrameSetElement"); } @@ -3141,7 +3141,7 @@ public void htmlFrameSetElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlGenericElement() throws Exception { test("HTMLGenericElement"); } @@ -3152,7 +3152,7 @@ public void htmlGenericElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHeadElement() throws Exception { test("HTMLHeadElement"); } @@ -3163,7 +3163,7 @@ public void htmlHeadElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHeadingElement() throws Exception { test("HTMLHeadingElement"); } @@ -3174,7 +3174,7 @@ public void htmlHeadingElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHRElement() throws Exception { test("HTMLHRElement"); } @@ -3185,7 +3185,7 @@ public void htmlHRElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHtmlElement() throws Exception { test("HTMLHtmlElement"); } @@ -3194,7 +3194,7 @@ public void htmlHtmlElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHyperlinkElementUtils() throws Exception { test("HTMLHyperlinkElementUtils"); } @@ -3205,7 +3205,7 @@ public void htmlHyperlinkElementUtils() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlIFrameElement() throws Exception { test("HTMLIFrameElement"); } @@ -3216,7 +3216,7 @@ public void htmlIFrameElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlImageElement() throws Exception { test("HTMLImageElement"); } @@ -3227,7 +3227,7 @@ public void htmlImageElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlInlineQuotationElement() throws Exception { test("HTMLInlineQuotationElement"); } @@ -3238,7 +3238,7 @@ public void htmlInlineQuotationElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlInputElement() throws Exception { test("HTMLInputElement"); } @@ -3249,7 +3249,7 @@ public void htmlInputElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlIsIndexElement() throws Exception { test("HTMLIsIndexElement"); } @@ -3258,7 +3258,7 @@ public void htmlIsIndexElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlKeygenElement() throws Exception { test("HTMLKeygenElement"); } @@ -3269,7 +3269,7 @@ public void htmlKeygenElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlLabelElement() throws Exception { test("HTMLLabelElement"); } @@ -3280,7 +3280,7 @@ public void htmlLabelElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlLegendElement() throws Exception { test("HTMLLegendElement"); } @@ -3291,7 +3291,7 @@ public void htmlLegendElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlLIElement() throws Exception { test("HTMLLIElement"); } @@ -3302,7 +3302,7 @@ public void htmlLIElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlLinkElement() throws Exception { test("HTMLLinkElement"); } @@ -3313,7 +3313,7 @@ public void htmlLinkElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlListElement() throws Exception { test("HTMLListElement"); } @@ -3324,7 +3324,7 @@ public void htmlListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMapElement() throws Exception { test("HTMLMapElement"); } @@ -3335,7 +3335,7 @@ public void htmlMapElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMarqueeElement() throws Exception { test("HTMLMarqueeElement"); } @@ -3346,7 +3346,7 @@ public void htmlMarqueeElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMediaElement() throws Exception { test("HTMLMediaElement"); } @@ -3357,7 +3357,7 @@ public void htmlMediaElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMenuElement() throws Exception { test("HTMLMenuElement"); } @@ -3366,7 +3366,7 @@ public void htmlMenuElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMenuItemElement() throws Exception { test("HTMLMenuItemElement"); } @@ -3377,7 +3377,7 @@ public void htmlMenuItemElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMetaElement() throws Exception { test("HTMLMetaElement"); } @@ -3388,7 +3388,7 @@ public void htmlMetaElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMeterElement() throws Exception { test("HTMLMeterElement"); } @@ -3399,7 +3399,7 @@ public void htmlMeterElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlModElement() throws Exception { test("HTMLModElement"); } @@ -3410,7 +3410,7 @@ public void htmlModElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlNextIdElement() throws Exception { test("HTMLNextIdElement"); } @@ -3419,7 +3419,7 @@ public void htmlNextIdElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlNoShowElement() throws Exception { test("HTMLNoShowElement"); } @@ -3430,7 +3430,7 @@ public void htmlNoShowElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlObjectElement() throws Exception { test("HTMLObjectElement"); } @@ -3441,7 +3441,7 @@ public void htmlObjectElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlOListElement() throws Exception { test("HTMLOListElement"); } @@ -3452,7 +3452,7 @@ public void htmlOListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlOptGroupElement() throws Exception { test("HTMLOptGroupElement"); } @@ -3463,7 +3463,7 @@ public void htmlOptGroupElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlOptionElement() throws Exception { test("HTMLOptionElement"); } @@ -3474,7 +3474,7 @@ public void htmlOptionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlOptionsCollection() throws Exception { test("HTMLOptionsCollection"); } @@ -3485,7 +3485,7 @@ public void htmlOptionsCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlOutputElement() throws Exception { test("HTMLOutputElement"); } @@ -3496,7 +3496,7 @@ public void htmlOutputElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlParagraphElement() throws Exception { test("HTMLParagraphElement"); } @@ -3507,7 +3507,7 @@ public void htmlParagraphElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlParamElement() throws Exception { test("HTMLParamElement"); } @@ -3518,7 +3518,7 @@ public void htmlParamElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlPhraseElement() throws Exception { test("HTMLPhraseElement"); } @@ -3527,7 +3527,7 @@ public void htmlPhraseElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlPictureElement() throws Exception { test("HTMLPictureElement"); } @@ -3538,7 +3538,7 @@ public void htmlPictureElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlPreElement() throws Exception { test("HTMLPreElement"); } @@ -3549,7 +3549,7 @@ public void htmlPreElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlProgressElement() throws Exception { test("HTMLProgressElement"); } @@ -3560,7 +3560,7 @@ public void htmlProgressElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlQuoteElement() throws Exception { test("HTMLQuoteElement"); } @@ -3571,7 +3571,7 @@ public void htmlQuoteElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlScriptElement() throws Exception { test("HTMLScriptElement"); } @@ -3582,7 +3582,7 @@ public void htmlScriptElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlSelectElement() throws Exception { test("HTMLSelectElement"); } @@ -3593,7 +3593,7 @@ public void htmlSelectElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlShadowElement() throws Exception { test("HTMLShadowElement"); } @@ -3602,7 +3602,7 @@ public void htmlShadowElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlSlotElement() throws Exception { test("HTMLSlotElement"); } @@ -3613,7 +3613,7 @@ public void htmlSlotElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlSourceElement() throws Exception { test("HTMLSourceElement"); } @@ -3624,7 +3624,7 @@ public void htmlSourceElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlSpanElement() throws Exception { test("HTMLSpanElement"); } @@ -3635,7 +3635,7 @@ public void htmlSpanElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlStyleElement() throws Exception { test("HTMLStyleElement"); } @@ -3646,7 +3646,7 @@ public void htmlStyleElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableCaptionElement() throws Exception { test("HTMLTableCaptionElement"); } @@ -3657,7 +3657,7 @@ public void htmlTableCaptionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableCellElement() throws Exception { test("HTMLTableCellElement"); } @@ -3668,7 +3668,7 @@ public void htmlTableCellElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableColElement() throws Exception { test("HTMLTableColElement"); } @@ -3679,7 +3679,7 @@ public void htmlTableColElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableComponent() throws Exception { test("HTMLTableComponent"); } @@ -3690,7 +3690,7 @@ public void htmlTableComponent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableDataCellElement() throws Exception { test("HTMLTableDataCellElement"); } @@ -3701,7 +3701,7 @@ public void htmlTableDataCellElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableElement() throws Exception { test("HTMLTableElement"); } @@ -3712,7 +3712,7 @@ public void htmlTableElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableHeaderCellElement() throws Exception { test("HTMLTableHeaderCellElement"); } @@ -3723,7 +3723,7 @@ public void htmlTableHeaderCellElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableRowElement() throws Exception { test("HTMLTableRowElement"); } @@ -3734,7 +3734,7 @@ public void htmlTableRowElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableSectionElement() throws Exception { test("HTMLTableSectionElement"); } @@ -3743,7 +3743,7 @@ public void htmlTableSectionElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTemplateElement() throws Exception { test("HTMLTemplateElement"); } @@ -3754,7 +3754,7 @@ public void htmlTemplateElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTextAreaElement() throws Exception { test("HTMLTextAreaElement"); } @@ -3763,7 +3763,7 @@ public void htmlTextAreaElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTextElement() throws Exception { test("HTMLTextElement"); } @@ -3774,7 +3774,7 @@ public void htmlTextElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTimeElement() throws Exception { test("HTMLTimeElement"); } @@ -3785,7 +3785,7 @@ public void htmlTimeElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTitleElement() throws Exception { test("HTMLTitleElement"); } @@ -3796,7 +3796,7 @@ public void htmlTitleElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTrackElement() throws Exception { test("HTMLTrackElement"); } @@ -3807,7 +3807,7 @@ public void htmlTrackElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlUListElement() throws Exception { test("HTMLUListElement"); } @@ -3818,7 +3818,7 @@ public void htmlUListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlUnknownElement() throws Exception { test("HTMLUnknownElement"); } @@ -3829,7 +3829,7 @@ public void htmlUnknownElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlVideoElement() throws Exception { test("HTMLVideoElement"); } @@ -3838,7 +3838,7 @@ public void htmlVideoElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlWBRElement() throws Exception { test("HTMLWBRElement"); } @@ -3856,7 +3856,7 @@ public void idbCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbCursorSync() throws Exception { test("IDBCursorSync"); } @@ -3883,7 +3883,7 @@ public void idbDatabase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbDatabaseException() throws Exception { test("IDBDatabaseException"); } @@ -3892,7 +3892,7 @@ public void idbDatabaseException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbDatabaseSync() throws Exception { test("IDBDatabaseSync"); } @@ -3901,7 +3901,7 @@ public void idbDatabaseSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbEnvironment() throws Exception { test("IDBEnvironment"); } @@ -3910,7 +3910,7 @@ public void idbEnvironment() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbEnvironmentSync() throws Exception { test("IDBEnvironmentSync"); } @@ -3928,7 +3928,7 @@ public void idbFactory() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbFactorySync() throws Exception { test("IDBFactorySync"); } @@ -3946,7 +3946,7 @@ public void idbIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbIndexSync() throws Exception { test("IDBIndexSync"); } @@ -3964,7 +3964,7 @@ public void idbKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbLocaleAwareKeyRange() throws Exception { test("IDBLocaleAwareKeyRange"); } @@ -3973,7 +3973,7 @@ public void idbLocaleAwareKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbMutableFile() throws Exception { test("IDBMutableFile"); } @@ -3991,7 +3991,7 @@ public void idbObjectStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbObjectStoreSync() throws Exception { test("IDBObjectStoreSync"); } @@ -4027,7 +4027,7 @@ public void idbTransaction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbTransactionSync() throws Exception { test("IDBTransactionSync"); } @@ -4045,7 +4045,7 @@ public void idbVersionChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbVersionChangeRequest() throws Exception { test("IDBVersionChangeRequest"); } @@ -4054,7 +4054,7 @@ public void idbVersionChangeRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void identityManager() throws Exception { test("IdentityManager"); } @@ -4063,7 +4063,7 @@ public void identityManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idleDeadline() throws Exception { test("IdleDeadline"); } @@ -4072,7 +4072,7 @@ public void idleDeadline() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void iirFilterNode() throws Exception { test("IIRFilterNode"); } @@ -4083,7 +4083,7 @@ public void iirFilterNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void image() throws Exception { test("Image"); } @@ -4101,7 +4101,7 @@ public void imageBitmap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void imageBitmapFactories() throws Exception { test("ImageBitmapFactories"); } @@ -4128,7 +4128,7 @@ public void imageData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void index() throws Exception { test("Index"); } @@ -4137,7 +4137,7 @@ public void index() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void indexedDB() throws Exception { test("IndexedDB"); } @@ -4155,7 +4155,7 @@ public void infinity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void inputDeviceCapabilities() throws Exception { test("InputDeviceCapabilities"); } @@ -4164,7 +4164,7 @@ public void inputDeviceCapabilities() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void inputEvent() throws Exception { test("InputEvent"); } @@ -4173,7 +4173,7 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void inputMethodContext() throws Exception { test("InputMethodContext"); } @@ -4182,7 +4182,7 @@ public void inputMethodContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void installEvent() throws Exception { test("InstallEvent"); } @@ -4191,7 +4191,7 @@ public void installEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void installTrigger() throws Exception { test("InstallTrigger"); } @@ -4200,7 +4200,7 @@ public void installTrigger() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void installTriggerImpl() throws Exception { test("InstallTriggerImpl"); } @@ -4242,7 +4242,7 @@ public void int8Array() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function InternalError() { [native code] }", FF_ESR = "function InternalError() { [native code] }") @HtmlUnitNYI(CHROME = "function InternalError() { [native code] }", @@ -4255,7 +4255,7 @@ public void internalError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void intersectionObserver() throws Exception { test("IntersectionObserver"); } @@ -4264,7 +4264,7 @@ public void intersectionObserver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void intersectionObserverEntry() throws Exception { test("IntersectionObserverEntry"); } @@ -4330,7 +4330,7 @@ public void isNaN() throws Exception { */ @Test @Alerts(DEFAULT = "function Iterator() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void iterator() throws Exception { test("Iterator"); } @@ -4350,7 +4350,7 @@ public void json() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void keyboardEvent() throws Exception { test("KeyboardEvent"); } @@ -4359,7 +4359,7 @@ public void keyboardEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void keyframeEffect() throws Exception { test("KeyframeEffect"); } @@ -4368,7 +4368,7 @@ public void keyframeEffect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void keyframeEffectReadOnly() throws Exception { test("KeyframeEffectReadOnly"); } @@ -4377,7 +4377,7 @@ public void keyframeEffectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n() throws Exception { test("L10n"); } @@ -4386,7 +4386,7 @@ public void l10n() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_formatValue() throws Exception { test("L10n.formatValue"); } @@ -4395,7 +4395,7 @@ public void l10n_formatValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_get() throws Exception { test("L10n.get"); } @@ -4404,7 +4404,7 @@ public void l10n_get() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_code() throws Exception { test("L10n.language.code"); } @@ -4413,7 +4413,7 @@ public void l10n_language_code() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_direction() throws Exception { test("L10n.language.direction"); } @@ -4422,7 +4422,7 @@ public void l10n_language_direction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_once() throws Exception { test("L10n.once"); } @@ -4431,7 +4431,7 @@ public void l10n_once() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_ready() throws Exception { test("L10n.ready"); } @@ -4440,7 +4440,7 @@ public void l10n_ready() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_readyState() throws Exception { test("L10n.readyState"); } @@ -4449,7 +4449,7 @@ public void l10n_readyState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_setAttributes() throws Exception { test("L10n.setAttributes"); } @@ -4458,7 +4458,7 @@ public void l10n_setAttributes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void linkStyle() throws Exception { test("LinkStyle"); } @@ -4467,7 +4467,7 @@ public void linkStyle() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localFileSystem() throws Exception { test("LocalFileSystem"); } @@ -4476,7 +4476,7 @@ public void localFileSystem() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localFileSystemSync() throws Exception { test("LocalFileSystemSync"); } @@ -4487,7 +4487,7 @@ public void localFileSystemSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localMediaStream() throws Exception { test("LocalMediaStream"); } @@ -4498,7 +4498,7 @@ public void localMediaStream() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void location() throws Exception { test("Location"); } @@ -4507,7 +4507,7 @@ public void location() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void lockedFile() throws Exception { test("LockedFile"); } @@ -4516,7 +4516,7 @@ public void lockedFile() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void longRange() throws Exception { test("LongRange"); } @@ -4543,7 +4543,7 @@ public void math() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaDeviceInfo() throws Exception { test("MediaDeviceInfo"); } @@ -4552,7 +4552,7 @@ public void mediaDeviceInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaDevices() throws Exception { test("MediaDevices"); } @@ -4561,7 +4561,7 @@ public void mediaDevices() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaElementAudioSourceNode() throws Exception { test("MediaElementAudioSourceNode"); } @@ -4570,7 +4570,7 @@ public void mediaElementAudioSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaEncryptedEvent() throws Exception { test("MediaEncryptedEvent"); } @@ -4579,7 +4579,7 @@ public void mediaEncryptedEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaError() throws Exception { test("MediaError"); } @@ -4588,7 +4588,7 @@ public void mediaError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeyError() throws Exception { test("MediaKeyError"); } @@ -4597,7 +4597,7 @@ public void mediaKeyError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeyEvent() throws Exception { test("MediaKeyEvent"); } @@ -4606,7 +4606,7 @@ public void mediaKeyEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeyMessageEvent() throws Exception { test("MediaKeyMessageEvent"); } @@ -4615,7 +4615,7 @@ public void mediaKeyMessageEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeys() throws Exception { test("MediaKeys"); } @@ -4624,7 +4624,7 @@ public void mediaKeys() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeySession() throws Exception { test("MediaKeySession"); } @@ -4633,7 +4633,7 @@ public void mediaKeySession() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeyStatusMap() throws Exception { test("MediaKeyStatusMap"); } @@ -4642,7 +4642,7 @@ public void mediaKeyStatusMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeySystemAccess() throws Exception { test("MediaKeySystemAccess"); } @@ -4651,7 +4651,7 @@ public void mediaKeySystemAccess() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeySystemConfiguration() throws Exception { test("MediaKeySystemConfiguration"); } @@ -4662,7 +4662,7 @@ public void mediaKeySystemConfiguration() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaList() throws Exception { test("MediaList"); } @@ -4671,7 +4671,7 @@ public void mediaList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaQueryList() throws Exception { test("MediaQueryList"); } @@ -4680,7 +4680,7 @@ public void mediaQueryList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaQueryListEvent() throws Exception { test("MediaQueryListEvent"); } @@ -4689,7 +4689,7 @@ public void mediaQueryListEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaQueryListListener() throws Exception { test("MediaQueryListListener"); } @@ -4698,7 +4698,7 @@ public void mediaQueryListListener() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaRecorder() throws Exception { test("MediaRecorder"); } @@ -4708,8 +4708,8 @@ public void mediaRecorder() throws Exception { */ @Test @Alerts(DEFAULT = "function MediaSource() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void mediaSource() throws Exception { test("MediaSource"); } @@ -4718,7 +4718,7 @@ public void mediaSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStream() throws Exception { test("MediaStream"); } @@ -4727,7 +4727,7 @@ public void mediaStream() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamAudioDestinationNode() throws Exception { test("MediaStreamAudioDestinationNode"); } @@ -4736,7 +4736,7 @@ public void mediaStreamAudioDestinationNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamAudioSourceNode() throws Exception { test("MediaStreamAudioSourceNode"); } @@ -4745,7 +4745,7 @@ public void mediaStreamAudioSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamConstraints() throws Exception { test("MediaStreamConstraints"); } @@ -4754,7 +4754,7 @@ public void mediaStreamConstraints() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamEvent() throws Exception { test("MediaStreamEvent"); } @@ -4763,7 +4763,7 @@ public void mediaStreamEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamTrack() throws Exception { test("MediaStreamTrack"); } @@ -4772,7 +4772,7 @@ public void mediaStreamTrack() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamTrackEvent() throws Exception { test("MediaStreamTrackEvent"); } @@ -4781,7 +4781,7 @@ public void mediaStreamTrackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackConstraints() throws Exception { test("MediaTrackConstraints"); } @@ -4790,7 +4790,7 @@ public void mediaTrackConstraints() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackSettings() throws Exception { test("MediaTrackSettings"); } @@ -4799,7 +4799,7 @@ public void mediaTrackSettings() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackSupportedConstraints() throws Exception { test("MediaTrackSupportedConstraints"); } @@ -4841,7 +4841,7 @@ public void messagePort() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void metadata() throws Exception { test("Metadata"); } @@ -4850,7 +4850,7 @@ public void metadata() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiAccess() throws Exception { test("MIDIAccess"); } @@ -4859,7 +4859,7 @@ public void midiAccess() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiConnectionEvent() throws Exception { test("MIDIConnectionEvent"); } @@ -4868,7 +4868,7 @@ public void midiConnectionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiInput() throws Exception { test("MIDIInput"); } @@ -4877,7 +4877,7 @@ public void midiInput() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiInputMap() throws Exception { test("MIDIInputMap"); } @@ -4886,7 +4886,7 @@ public void midiInputMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiMessageEvent() throws Exception { test("MIDIMessageEvent"); } @@ -4895,7 +4895,7 @@ public void midiMessageEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiOutput() throws Exception { test("MIDIOutput"); } @@ -4904,7 +4904,7 @@ public void midiOutput() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiOutputMap() throws Exception { test("MIDIOutputMap"); } @@ -4913,7 +4913,7 @@ public void midiOutputMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void midiPort() throws Exception { test("MIDIPort"); } @@ -4924,7 +4924,7 @@ public void midiPort() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mimeType() throws Exception { test("MimeType"); } @@ -4935,7 +4935,7 @@ public void mimeType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mimeTypeArray() throws Exception { test("MimeTypeArray"); } @@ -4946,7 +4946,7 @@ public void mimeTypeArray() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mouseEvent() throws Exception { test("MouseEvent"); } @@ -4955,7 +4955,7 @@ public void mouseEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mouseScrollEvent() throws Exception { test("MouseScrollEvent"); } @@ -4964,7 +4964,7 @@ public void mouseScrollEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mouseWheelEvent() throws Exception { test("MouseWheelEvent"); } @@ -4973,7 +4973,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivity() throws Exception { test("MozActivity"); } @@ -4982,7 +4982,7 @@ public void mozActivity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivityOptions() throws Exception { test("MozActivityOptions"); } @@ -4991,7 +4991,7 @@ public void mozActivityOptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivityRequestHandler() throws Exception { test("MozActivityRequestHandler"); } @@ -5000,7 +5000,7 @@ public void mozActivityRequestHandler() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozAlarmsManager() throws Exception { test("MozAlarmsManager"); } @@ -5009,7 +5009,7 @@ public void mozAlarmsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozContact() throws Exception { test("MozContact"); } @@ -5018,7 +5018,7 @@ public void mozContact() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozContactChangeEvent() throws Exception { test("MozContactChangeEvent"); } @@ -5027,7 +5027,7 @@ public void mozContactChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozCSSKeyframesRule() throws Exception { test("MozCSSKeyframesRule"); } @@ -5036,7 +5036,7 @@ public void mozCSSKeyframesRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozIccManager() throws Exception { test("MozIccManager"); } @@ -5045,7 +5045,7 @@ public void mozIccManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMmsEvent() throws Exception { test("MozMmsEvent"); } @@ -5054,7 +5054,7 @@ public void mozMmsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMmsMessage() throws Exception { test("MozMmsMessage"); } @@ -5063,7 +5063,7 @@ public void mozMmsMessage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileCellInfo() throws Exception { test("MozMobileCellInfo"); } @@ -5072,7 +5072,7 @@ public void mozMobileCellInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileCFInfo() throws Exception { test("MozMobileCFInfo"); } @@ -5081,7 +5081,7 @@ public void mozMobileCFInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileConnection() throws Exception { test("MozMobileConnection"); } @@ -5090,7 +5090,7 @@ public void mozMobileConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileConnectionInfo() throws Exception { test("MozMobileConnectionInfo"); } @@ -5099,7 +5099,7 @@ public void mozMobileConnectionInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileICCInfo() throws Exception { test("MozMobileICCInfo"); } @@ -5108,7 +5108,7 @@ public void mozMobileICCInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileMessageManager() throws Exception { test("MozMobileMessageManager"); } @@ -5117,7 +5117,7 @@ public void mozMobileMessageManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileMessageThread() throws Exception { test("MozMobileMessageThread"); } @@ -5126,7 +5126,7 @@ public void mozMobileMessageThread() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileNetworkInfo() throws Exception { test("MozMobileNetworkInfo"); } @@ -5135,7 +5135,7 @@ public void mozMobileNetworkInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNDEFRecord() throws Exception { test("MozNDEFRecord"); } @@ -5144,7 +5144,7 @@ public void mozNDEFRecord() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStats() throws Exception { test("MozNetworkStats"); } @@ -5153,7 +5153,7 @@ public void mozNetworkStats() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStatsData() throws Exception { test("MozNetworkStatsData"); } @@ -5162,7 +5162,7 @@ public void mozNetworkStatsData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStatsManager() throws Exception { test("MozNetworkStatsManager"); } @@ -5171,7 +5171,7 @@ public void mozNetworkStatsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFC() throws Exception { test("MozNFC"); } @@ -5180,7 +5180,7 @@ public void mozNFC() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFCPeer() throws Exception { test("MozNFCPeer"); } @@ -5189,7 +5189,7 @@ public void mozNFCPeer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFCTag() throws Exception { test("MozNFCTag"); } @@ -5198,7 +5198,7 @@ public void mozNFCTag() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozPowerManager() throws Exception { test("MozPowerManager"); } @@ -5207,7 +5207,7 @@ public void mozPowerManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCIceCandidate() throws Exception { test("mozRTCIceCandidate"); } @@ -5216,7 +5216,7 @@ public void mozRTCIceCandidate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCPeerConnection() throws Exception { test("mozRTCPeerConnection"); } @@ -5225,7 +5225,7 @@ public void mozRTCPeerConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCSessionDescription() throws Exception { test("mozRTCSessionDescription"); } @@ -5234,7 +5234,7 @@ public void mozRTCSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSettingsEvent() throws Exception { test("MozSettingsEvent"); } @@ -5243,7 +5243,7 @@ public void mozSettingsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsEvent() throws Exception { test("MozSmsEvent"); } @@ -5252,7 +5252,7 @@ public void mozSmsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsFilter() throws Exception { test("MozSmsFilter"); } @@ -5261,7 +5261,7 @@ public void mozSmsFilter() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsManager() throws Exception { test("MozSmsManager"); } @@ -5270,7 +5270,7 @@ public void mozSmsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsMessage() throws Exception { test("MozSmsMessage"); } @@ -5279,7 +5279,7 @@ public void mozSmsMessage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsSegmentInfo() throws Exception { test("MozSmsSegmentInfo"); } @@ -5288,7 +5288,7 @@ public void mozSmsSegmentInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSocial() throws Exception { test("MozSocial"); } @@ -5297,7 +5297,7 @@ public void mozSocial() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozTimeManager() throws Exception { test("MozTimeManager"); } @@ -5306,7 +5306,7 @@ public void mozTimeManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemail() throws Exception { test("MozVoicemail"); } @@ -5315,7 +5315,7 @@ public void mozVoicemail() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemailEvent() throws Exception { test("MozVoicemailEvent"); } @@ -5324,7 +5324,7 @@ public void mozVoicemailEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemailStatus() throws Exception { test("MozVoicemailStatus"); } @@ -5333,7 +5333,7 @@ public void mozVoicemailStatus() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiConnectionInfoEvent() throws Exception { test("MozWifiConnectionInfoEvent"); } @@ -5342,7 +5342,7 @@ public void mozWifiConnectionInfoEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiP2pGroupOwner() throws Exception { test("MozWifiP2pGroupOwner"); } @@ -5351,7 +5351,7 @@ public void mozWifiP2pGroupOwner() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiP2pManager() throws Exception { test("MozWifiP2pManager"); } @@ -5360,7 +5360,7 @@ public void mozWifiP2pManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiStatusChangeEvent() throws Exception { test("MozWifiStatusChangeEvent"); } @@ -5371,7 +5371,7 @@ public void mozWifiStatusChangeEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msCurrentStyleCSSProperties() throws Exception { test("MSCurrentStyleCSSProperties"); } @@ -5380,7 +5380,7 @@ public void msCurrentStyleCSSProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msGestureEvent() throws Exception { test("MSGestureEvent"); } @@ -5391,7 +5391,7 @@ public void msGestureEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msStyleCSSProperties() throws Exception { test("MSStyleCSSProperties"); } @@ -5402,7 +5402,7 @@ public void msStyleCSSProperties() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mutationEvent() throws Exception { test("MutationEvent"); } @@ -5411,7 +5411,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mutationObserver() throws Exception { test("MutationObserver"); } @@ -5420,7 +5420,7 @@ public void mutationObserver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mutationRecord() throws Exception { test("MutationRecord"); } @@ -5431,7 +5431,7 @@ public void mutationRecord() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void namedNodeMap() throws Exception { test("NamedNodeMap"); } @@ -5440,7 +5440,7 @@ public void namedNodeMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nameList() throws Exception { test("NameList"); } @@ -5451,7 +5451,7 @@ public void nameList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void namespace() throws Exception { test("Namespace"); } @@ -5462,7 +5462,7 @@ public void namespace() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void namespaceCollection() throws Exception { test("NamespaceCollection"); } @@ -5482,7 +5482,7 @@ public void naN() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nativeXPathNSResolver() throws Exception { test("NativeXPathNSResolver"); } @@ -5493,7 +5493,7 @@ public void nativeXPathNSResolver() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigator() throws Exception { test("Navigator"); } @@ -5502,7 +5502,7 @@ public void navigator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorConcurrentHardware() throws Exception { test("NavigatorConcurrentHardware"); } @@ -5511,7 +5511,7 @@ public void navigatorConcurrentHardware() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorGeolocation() throws Exception { test("NavigatorGeolocation"); } @@ -5520,7 +5520,7 @@ public void navigatorGeolocation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorID() throws Exception { test("NavigatorID"); } @@ -5529,7 +5529,7 @@ public void navigatorID() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorLanguage() throws Exception { test("NavigatorLanguage"); } @@ -5538,7 +5538,7 @@ public void navigatorLanguage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorOnLine() throws Exception { test("NavigatorOnLine"); } @@ -5547,7 +5547,7 @@ public void navigatorOnLine() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorPlugins() throws Exception { test("NavigatorPlugins"); } @@ -5556,7 +5556,7 @@ public void navigatorPlugins() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorStorage() throws Exception { test("NavigatorStorage"); } @@ -5568,8 +5568,8 @@ public void navigatorStorage() throws Exception { */ @Test @Alerts(DEFAULT = "function NetworkInformation() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void networkInformation() throws Exception { test("NetworkInformation"); } @@ -5580,7 +5580,7 @@ public void networkInformation() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void node() throws Exception { test("Node"); } @@ -5591,7 +5591,7 @@ public void node() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nodeFilter() throws Exception { test("NodeFilter"); } @@ -5600,7 +5600,7 @@ public void nodeFilter() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nodeIterator() throws Exception { test("NodeIterator"); } @@ -5611,7 +5611,7 @@ public void nodeIterator() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nodeList() throws Exception { test("NodeList"); } @@ -5620,7 +5620,7 @@ public void nodeList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nonDocumentTypeChildNode() throws Exception { test("NonDocumentTypeChildNode"); } @@ -5629,7 +5629,7 @@ public void nonDocumentTypeChildNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notation() throws Exception { test("Notation"); } @@ -5649,7 +5649,7 @@ public void notification() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notificationEvent() throws Exception { test("NotificationEvent"); } @@ -5658,7 +5658,7 @@ public void notificationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notifyAudioAvailableEvent() throws Exception { test("NotifyAudioAvailableEvent"); } @@ -5685,7 +5685,7 @@ public void object() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_element_index_uint() throws Exception { test("OES_element_index_uint"); } @@ -5694,7 +5694,7 @@ public void oes_element_index_uint() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_standard_derivatives() throws Exception { test("OES_standard_derivatives"); } @@ -5703,7 +5703,7 @@ public void oes_standard_derivatives() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_float() throws Exception { test("OES_texture_float"); } @@ -5712,7 +5712,7 @@ public void oes_texture_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_float_linear() throws Exception { test("OES_texture_float_linear"); } @@ -5721,7 +5721,7 @@ public void oes_texture_float_linear() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_half_float() throws Exception { test("OES_texture_half_float"); } @@ -5730,7 +5730,7 @@ public void oes_texture_half_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_half_float_linear() throws Exception { test("OES_texture_half_float_linear"); } @@ -5739,7 +5739,7 @@ public void oes_texture_half_float_linear() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_vertex_array_object() throws Exception { test("OES_vertex_array_object"); } @@ -5748,7 +5748,7 @@ public void oes_vertex_array_object() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void offlineAudioCompletionEvent() throws Exception { test("OfflineAudioCompletionEvent"); } @@ -5757,7 +5757,7 @@ public void offlineAudioCompletionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void offlineAudioContext() throws Exception { test("OfflineAudioContext"); } @@ -5768,7 +5768,7 @@ public void offlineAudioContext() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void offlineResourceList() throws Exception { test("OfflineResourceList"); } @@ -5778,7 +5778,7 @@ public void offlineResourceList() throws Exception { */ @Test @Alerts("function OffscreenCanvas() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception", FF = "exception", FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError", FF = "ReferenceError", FF_ESR = "ReferenceError") public void offscreenCanvas() throws Exception { test("OffscreenCanvas"); } @@ -5789,7 +5789,7 @@ public void offscreenCanvas() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void option() throws Exception { test("Option"); } @@ -5798,7 +5798,7 @@ public void option() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oscillatorNode() throws Exception { test("OscillatorNode"); } @@ -5807,7 +5807,7 @@ public void oscillatorNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void overflowEvent() throws Exception { test("OverflowEvent"); } @@ -5816,7 +5816,7 @@ public void overflowEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pageTransitionEvent() throws Exception { test("PageTransitionEvent"); } @@ -5825,7 +5825,7 @@ public void pageTransitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pannerNode() throws Exception { test("PannerNode"); } @@ -5834,7 +5834,7 @@ public void pannerNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void parallelArray() throws Exception { test("ParallelArray"); } @@ -5843,7 +5843,7 @@ public void parallelArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void parentNode() throws Exception { test("ParentNode"); } @@ -5870,7 +5870,7 @@ public void parseInt() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void passwordCredential() throws Exception { test("PasswordCredential"); } @@ -5890,7 +5890,7 @@ public void path2D() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void paymentAddress() throws Exception { test("PaymentAddress"); } @@ -5899,7 +5899,7 @@ public void paymentAddress() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void paymentRequest() throws Exception { test("PaymentRequest"); } @@ -5908,7 +5908,7 @@ public void paymentRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void paymentResponse() throws Exception { test("PaymentResponse"); } @@ -5935,7 +5935,7 @@ public void performanceEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void performanceFrameTiming() throws Exception { test("PerformanceFrameTiming"); } @@ -5962,7 +5962,7 @@ public void performanceMeasure() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void performanceNavigation() throws Exception { test("PerformanceNavigation"); } @@ -5971,7 +5971,7 @@ public void performanceNavigation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void performanceNavigationTiming() throws Exception { test("PerformanceNavigationTiming"); } @@ -6007,7 +6007,7 @@ public void performanceResourceTiming() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void performanceTiming() throws Exception { test("PerformanceTiming"); } @@ -6016,7 +6016,7 @@ public void performanceTiming() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void periodicSyncEvent() throws Exception { test("PeriodicSyncEvent"); } @@ -6026,8 +6026,8 @@ public void periodicSyncEvent() throws Exception { */ @Test @Alerts(DEFAULT = "function PeriodicSyncManager() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void periodicSyncManager() throws Exception { test("PeriodicSyncManager"); } @@ -6036,7 +6036,7 @@ public void periodicSyncManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void periodicSyncRegistration() throws Exception { test("PeriodicSyncRegistration"); } @@ -6045,7 +6045,7 @@ public void periodicSyncRegistration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void periodicWave() throws Exception { test("PeriodicWave"); } @@ -6055,7 +6055,7 @@ public void periodicWave() throws Exception { */ @Test @Alerts(DEFAULT = "function Permissions() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void permissions() throws Exception { test("Permissions"); } @@ -6064,7 +6064,7 @@ public void permissions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void permissionSettings() throws Exception { test("PermissionSettings"); } @@ -6074,7 +6074,7 @@ public void permissionSettings() throws Exception { */ @Test @Alerts(DEFAULT = "function PermissionStatus() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void permissionStatus() throws Exception { test("PermissionStatus"); } @@ -6085,7 +6085,7 @@ public void permissionStatus() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void plugin() throws Exception { test("Plugin"); } @@ -6096,7 +6096,7 @@ public void plugin() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pluginArray() throws Exception { test("PluginArray"); } @@ -6105,7 +6105,7 @@ public void pluginArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void point() throws Exception { test("Point"); } @@ -6116,7 +6116,7 @@ public void point() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pointerEvent() throws Exception { test("PointerEvent"); } @@ -6125,7 +6125,7 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void popStateEvent() throws Exception { test("PopStateEvent"); } @@ -6134,7 +6134,7 @@ public void popStateEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void popup() throws Exception { test("Popup"); } @@ -6143,7 +6143,7 @@ public void popup() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void portCollection() throws Exception { test("PortCollection"); } @@ -6154,7 +6154,7 @@ public void portCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void position() throws Exception { test("Position"); } @@ -6163,7 +6163,7 @@ public void position() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionError() throws Exception { test("PositionError"); } @@ -6172,7 +6172,7 @@ public void positionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionOptions() throws Exception { test("PositionOptions"); } @@ -6181,7 +6181,7 @@ public void positionOptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionSensorVRDevice() throws Exception { test("PositionSensorVRDevice"); } @@ -6190,7 +6190,7 @@ public void positionSensorVRDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void powerManager() throws Exception { test("PowerManager"); } @@ -6199,7 +6199,7 @@ public void powerManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentation() throws Exception { test("Presentation"); } @@ -6208,7 +6208,7 @@ public void presentation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationAvailability() throws Exception { test("PresentationAvailability"); } @@ -6217,7 +6217,7 @@ public void presentationAvailability() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnection() throws Exception { test("PresentationConnection"); } @@ -6226,7 +6226,7 @@ public void presentationConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnectionAvailableEvent() throws Exception { test("PresentationConnectionAvailableEvent"); } @@ -6235,7 +6235,7 @@ public void presentationConnectionAvailableEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnectionClosedEvent() throws Exception { test("PresentationConnectionClosedEvent"); } @@ -6244,7 +6244,7 @@ public void presentationConnectionClosedEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnectionCloseEvent() throws Exception { test("PresentationConnectionCloseEvent"); } @@ -6253,7 +6253,7 @@ public void presentationConnectionCloseEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnectionList() throws Exception { test("PresentationConnectionList"); } @@ -6262,7 +6262,7 @@ public void presentationConnectionList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationReceiver() throws Exception { test("PresentationReceiver"); } @@ -6271,7 +6271,7 @@ public void presentationReceiver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationRequest() throws Exception { test("PresentationRequest"); } @@ -6282,7 +6282,7 @@ public void presentationRequest() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void processingInstruction() throws Exception { test("ProcessingInstruction"); } @@ -6309,7 +6309,7 @@ public void promise() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void promiseRejection() throws Exception { test("PromiseRejection"); } @@ -6327,7 +6327,7 @@ public void promiseRejectionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void promiseResolver() throws Exception { test("PromiseResolver"); } @@ -6345,7 +6345,7 @@ public void proxy() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushEvent() throws Exception { test("PushEvent"); } @@ -6355,7 +6355,7 @@ public void pushEvent() throws Exception { */ @Test @Alerts(DEFAULT = "function PushManager() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void pushManager() throws Exception { test("PushManager"); } @@ -6364,7 +6364,7 @@ public void pushManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushMessageData() throws Exception { test("PushMessageData"); } @@ -6373,7 +6373,7 @@ public void pushMessageData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushRegistrationManager() throws Exception { test("PushRegistrationManager"); } @@ -6383,7 +6383,7 @@ public void pushRegistrationManager() throws Exception { */ @Test @Alerts(DEFAULT = "function PushSubscription() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void pushSubscription() throws Exception { test("PushSubscription"); } @@ -6393,7 +6393,7 @@ public void pushSubscription() throws Exception { */ @Test @Alerts(DEFAULT = "function PushSubscriptionOptions() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void pushSubscriptionOptions() throws Exception { test("PushSubscriptionOptions"); } @@ -6402,7 +6402,7 @@ public void pushSubscriptionOptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void radioNodeList() throws Exception { test("RadioNodeList"); } @@ -6411,7 +6411,7 @@ public void radioNodeList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void randomSource() throws Exception { test("RandomSource"); } @@ -6422,7 +6422,7 @@ public void randomSource() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void range() throws Exception { test("Range"); } @@ -6440,7 +6440,7 @@ public void rangeError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void readableByteStream() throws Exception { test("ReadableByteStream"); } @@ -6485,7 +6485,7 @@ public void regExp() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void remotePlayback() throws Exception { test("RemotePlayback"); } @@ -6494,7 +6494,7 @@ public void remotePlayback() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void renderingContext() throws Exception { test("RenderingContext"); } @@ -6523,7 +6523,7 @@ public void response() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rowContainer() throws Exception { test("RowContainer"); } @@ -6532,7 +6532,7 @@ public void rowContainer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcCertificate() throws Exception { test("RTCCertificate"); } @@ -6541,7 +6541,7 @@ public void rtcCertificate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcConfiguration() throws Exception { test("RTCConfiguration"); } @@ -6551,9 +6551,9 @@ public void rtcConfiguration() throws Exception { */ @Test @Alerts(DEFAULT = "function RTCDataChannel() { [native code] }", - FF = "exception", - FF_ESR = "exception") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void rtcDataChannel() throws Exception { test("RTCDataChannel"); } @@ -6562,7 +6562,7 @@ public void rtcDataChannel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcDataChannelEvent() throws Exception { test("RTCDataChannelEvent"); } @@ -6571,7 +6571,7 @@ public void rtcDataChannelEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIceCandidate() throws Exception { test("RTCIceCandidate"); } @@ -6580,7 +6580,7 @@ public void rtcIceCandidate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIceServer() throws Exception { test("RTCIceServer"); } @@ -6589,7 +6589,7 @@ public void rtcIceServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityAssertion() throws Exception { test("RTCIdentityAssertion"); } @@ -6598,7 +6598,7 @@ public void rtcIdentityAssertion() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityErrorEvent() throws Exception { test("RTCIdentityErrorEvent"); } @@ -6607,7 +6607,7 @@ public void rtcIdentityErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityEvent() throws Exception { test("RTCIdentityEvent"); } @@ -6616,7 +6616,7 @@ public void rtcIdentityEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcPeerConnection() throws Exception { test("RTCPeerConnection"); } @@ -6625,7 +6625,7 @@ public void rtcPeerConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcPeerConnectionIceEvent() throws Exception { test("RTCPeerConnectionIceEvent"); } @@ -6634,7 +6634,7 @@ public void rtcPeerConnectionIceEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcSctpTransport() throws Exception { test("RTCSctpTransport"); } @@ -6643,7 +6643,7 @@ public void rtcSctpTransport() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcSessionDescription() throws Exception { test("RTCSessionDescription"); } @@ -6652,7 +6652,7 @@ public void rtcSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcSessionDescriptionCallback() throws Exception { test("RTCSessionDescriptionCallback"); } @@ -6661,7 +6661,7 @@ public void rtcSessionDescriptionCallback() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcStatsReport() throws Exception { test("RTCStatsReport"); } @@ -6672,7 +6672,7 @@ public void rtcStatsReport() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void screen() throws Exception { test("Screen"); } @@ -6681,7 +6681,7 @@ public void screen() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void screenOrientation() throws Exception { test("ScreenOrientation"); } @@ -6690,7 +6690,7 @@ public void screenOrientation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void scriptProcessorNode() throws Exception { test("ScriptProcessorNode"); } @@ -6700,8 +6700,8 @@ public void scriptProcessorNode() throws Exception { */ @Test @Alerts(DEFAULT = "function SecurityPolicyViolationEvent() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void securityPolicyViolationEvent() throws Exception { test("SecurityPolicyViolationEvent"); } @@ -6712,7 +6712,7 @@ public void securityPolicyViolationEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void selection() throws Exception { test("Selection"); } @@ -6721,9 +6721,9 @@ public void selection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function ServiceWorker() { [native code] }") - @HtmlUnitNYI(FF = "exception") + @HtmlUnitNYI(FF = "ReferenceError") public void serviceWorker() throws Exception { test("ServiceWorker"); } @@ -6732,9 +6732,9 @@ public void serviceWorker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function ServiceWorkerContainer() { [native code] }") - @HtmlUnitNYI(FF = "exception") + @HtmlUnitNYI(FF = "ReferenceError") public void serviceWorkerContainer() throws Exception { test("ServiceWorkerContainer"); } @@ -6743,7 +6743,7 @@ public void serviceWorkerContainer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerGlobalScope() throws Exception { test("ServiceWorkerGlobalScope"); } @@ -6752,7 +6752,7 @@ public void serviceWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerMessageEvent() throws Exception { test("ServiceWorkerMessageEvent"); } @@ -6762,7 +6762,7 @@ public void serviceWorkerMessageEvent() throws Exception { */ @Test @Alerts(DEFAULT = "function ServiceWorkerRegistration() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void serviceWorkerRegistration() throws Exception { test("ServiceWorkerRegistration"); } @@ -6771,7 +6771,7 @@ public void serviceWorkerRegistration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerState() throws Exception { test("ServiceWorkerState"); } @@ -6789,7 +6789,7 @@ public void set() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void settingsLock() throws Exception { test("SettingsLock"); } @@ -6798,7 +6798,7 @@ public void settingsLock() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void settingsManager() throws Exception { test("SettingsManager"); } @@ -6809,7 +6809,7 @@ public void settingsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void shadowRoot() throws Exception { test("ShadowRoot"); } @@ -6818,7 +6818,7 @@ public void shadowRoot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedArrayBuffer() throws Exception { test("SharedArrayBuffer"); } @@ -6827,7 +6827,7 @@ public void sharedArrayBuffer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedKeyframeList() throws Exception { test("SharedKeyframeList"); } @@ -6838,7 +6838,7 @@ public void sharedKeyframeList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedWorker() throws Exception { test("SharedWorker"); } @@ -6847,7 +6847,7 @@ public void sharedWorker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedWorkerGlobalScope() throws Exception { test("SharedWorkerGlobalScope"); } @@ -6856,7 +6856,7 @@ public void sharedWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd() throws Exception { test("SIMD"); } @@ -6865,7 +6865,7 @@ public void simd() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool16x8() throws Exception { test("SIMD.Bool16x8"); } @@ -6874,7 +6874,7 @@ public void simd_Bool16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool32x4() throws Exception { test("SIMD.Bool32x4"); } @@ -6883,7 +6883,7 @@ public void simd_Bool32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool64x2() throws Exception { test("SIMD.Bool64x2"); } @@ -6892,7 +6892,7 @@ public void simd_Bool64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool8x16() throws Exception { test("SIMD.Bool8x16"); } @@ -6901,7 +6901,7 @@ public void simd_Bool8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float32x4() throws Exception { test("SIMD.float32x4"); } @@ -6910,7 +6910,7 @@ public void simd_float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float32x4() throws Exception { test("SIMD.Float32x4"); } @@ -6919,7 +6919,7 @@ public void simd_Float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float64x2() throws Exception { test("SIMD.float64x2"); } @@ -6928,7 +6928,7 @@ public void simd_float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float64x2() throws Exception { test("SIMD.Float64x2"); } @@ -6937,7 +6937,7 @@ public void simd_Float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int16x8() throws Exception { test("SIMD.int16x8"); } @@ -6946,7 +6946,7 @@ public void simd_int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int16x8() throws Exception { test("SIMD.Int16x8"); } @@ -6955,7 +6955,7 @@ public void simd_Int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int32x4() throws Exception { test("SIMD.int32x4"); } @@ -6964,7 +6964,7 @@ public void simd_int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int32x4() throws Exception { test("SIMD.Int32x4"); } @@ -6973,7 +6973,7 @@ public void simd_Int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int8x16() throws Exception { test("SIMD.int8x16"); } @@ -6982,7 +6982,7 @@ public void simd_int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int8x16() throws Exception { test("SIMD.Int8x16"); } @@ -6991,7 +6991,7 @@ public void simd_Int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint16x8() throws Exception { test("SIMD.Uint16x8"); } @@ -7000,7 +7000,7 @@ public void simd_Uint16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint32x4() throws Exception { test("SIMD.Uint32x4"); } @@ -7009,7 +7009,7 @@ public void simd_Uint32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint8x16() throws Exception { test("SIMD.Uint8x16"); } @@ -7020,7 +7020,7 @@ public void simd_Uint8x16() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simpleArray() throws Exception { test("SimpleArray"); } @@ -7029,7 +7029,7 @@ public void simpleArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void siteBoundCredential() throws Exception { test("SiteBoundCredential"); } @@ -7039,8 +7039,8 @@ public void siteBoundCredential() throws Exception { */ @Test @Alerts(DEFAULT = "function SourceBuffer() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void sourceBuffer() throws Exception { test("SourceBuffer"); } @@ -7050,8 +7050,8 @@ public void sourceBuffer() throws Exception { */ @Test @Alerts(DEFAULT = "function SourceBufferList() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void sourceBufferList() throws Exception { test("SourceBufferList"); } @@ -7060,7 +7060,7 @@ public void sourceBufferList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechGrammar() throws Exception { test("SpeechGrammar"); } @@ -7069,7 +7069,7 @@ public void speechGrammar() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechGrammarList() throws Exception { test("SpeechGrammarList"); } @@ -7078,7 +7078,7 @@ public void speechGrammarList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognition() throws Exception { test("SpeechRecognition"); } @@ -7087,7 +7087,7 @@ public void speechRecognition() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionAlternative() throws Exception { test("SpeechRecognitionAlternative"); } @@ -7096,7 +7096,7 @@ public void speechRecognitionAlternative() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionError() throws Exception { test("SpeechRecognitionError"); } @@ -7105,7 +7105,7 @@ public void speechRecognitionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionErrorEvent() throws Exception { test("SpeechRecognitionErrorEvent"); } @@ -7114,7 +7114,7 @@ public void speechRecognitionErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionEvent() throws Exception { test("SpeechRecognitionEvent"); } @@ -7123,7 +7123,7 @@ public void speechRecognitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionResult() throws Exception { test("SpeechRecognitionResult"); } @@ -7132,7 +7132,7 @@ public void speechRecognitionResult() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionResultList() throws Exception { test("SpeechRecognitionResultList"); } @@ -7141,7 +7141,7 @@ public void speechRecognitionResultList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechSynthesis() throws Exception { test("SpeechSynthesis"); } @@ -7150,7 +7150,7 @@ public void speechSynthesis() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechSynthesisErrorEvent() throws Exception { test("SpeechSynthesisErrorEvent"); } @@ -7159,7 +7159,7 @@ public void speechSynthesisErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechSynthesisEvent() throws Exception { test("SpeechSynthesisEvent"); } @@ -7168,7 +7168,7 @@ public void speechSynthesisEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechSynthesisUtterance() throws Exception { test("SpeechSynthesisUtterance"); } @@ -7177,7 +7177,7 @@ public void speechSynthesisUtterance() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechSynthesisVoice() throws Exception { test("SpeechSynthesisVoice"); } @@ -7186,7 +7186,7 @@ public void speechSynthesisVoice() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void staticNodeList() throws Exception { test("StaticNodeList"); } @@ -7195,7 +7195,7 @@ public void staticNodeList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void stereoPannerNode() throws Exception { test("StereoPannerNode"); } @@ -7206,7 +7206,7 @@ public void stereoPannerNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void stopIteration() throws Exception { test("StopIteration"); } @@ -7217,7 +7217,7 @@ public void stopIteration() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storage() throws Exception { test("Storage"); } @@ -7226,7 +7226,7 @@ public void storage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storageEstimate() throws Exception { test("StorageEstimate"); } @@ -7235,7 +7235,7 @@ public void storageEstimate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storageEvent() throws Exception { test("StorageEvent"); } @@ -7253,7 +7253,7 @@ public void storageManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storageQuota() throws Exception { test("StorageQuota"); } @@ -7271,7 +7271,7 @@ public void string() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void styleMedia() throws Exception { test("StyleMedia"); } @@ -7280,7 +7280,7 @@ public void styleMedia() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void styleSheet() throws Exception { test("StyleSheet"); } @@ -7291,7 +7291,7 @@ public void styleSheet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void styleSheetList() throws Exception { test("StyleSheetList"); } @@ -7300,7 +7300,7 @@ public void styleSheetList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void submitEvent() throws Exception { test("SubmitEvent"); } @@ -7320,7 +7320,7 @@ public void subtleCrypto() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAElement() throws Exception { test("SVGAElement"); } @@ -7329,7 +7329,7 @@ public void svgAElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAltGlyphElement() throws Exception { test("SVGAltGlyphElement"); } @@ -7340,7 +7340,7 @@ public void svgAltGlyphElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAngle() throws Exception { test("SVGAngle"); } @@ -7349,7 +7349,7 @@ public void svgAngle() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimateColorElement() throws Exception { test("SVGAnimateColorElement"); } @@ -7358,7 +7358,7 @@ public void svgAnimateColorElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedAngle() throws Exception { test("SVGAnimatedAngle"); } @@ -7367,7 +7367,7 @@ public void svgAnimatedAngle() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedBoolean() throws Exception { test("SVGAnimatedBoolean"); } @@ -7376,7 +7376,7 @@ public void svgAnimatedBoolean() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedEnumeration() throws Exception { test("SVGAnimatedEnumeration"); } @@ -7385,7 +7385,7 @@ public void svgAnimatedEnumeration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedInteger() throws Exception { test("SVGAnimatedInteger"); } @@ -7394,7 +7394,7 @@ public void svgAnimatedInteger() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedLength() throws Exception { test("SVGAnimatedLength"); } @@ -7403,7 +7403,7 @@ public void svgAnimatedLength() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedLengthList() throws Exception { test("SVGAnimatedLengthList"); } @@ -7412,7 +7412,7 @@ public void svgAnimatedLengthList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedNumber() throws Exception { test("SVGAnimatedNumber"); } @@ -7421,7 +7421,7 @@ public void svgAnimatedNumber() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedNumberList() throws Exception { test("SVGAnimatedNumberList"); } @@ -7430,7 +7430,7 @@ public void svgAnimatedNumberList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedPoints() throws Exception { test("SVGAnimatedPoints"); } @@ -7439,7 +7439,7 @@ public void svgAnimatedPoints() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedPreserveAspectRatio() throws Exception { test("SVGAnimatedPreserveAspectRatio"); } @@ -7448,7 +7448,7 @@ public void svgAnimatedPreserveAspectRatio() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedRect() throws Exception { test("SVGAnimatedRect"); } @@ -7457,7 +7457,7 @@ public void svgAnimatedRect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedString() throws Exception { test("SVGAnimatedString"); } @@ -7466,7 +7466,7 @@ public void svgAnimatedString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedTransformList() throws Exception { test("SVGAnimatedTransformList"); } @@ -7477,7 +7477,7 @@ public void svgAnimatedTransformList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimateElement() throws Exception { test("SVGAnimateElement"); } @@ -7488,7 +7488,7 @@ public void svgAnimateElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimateMotionElement() throws Exception { test("SVGAnimateMotionElement"); } @@ -7499,7 +7499,7 @@ public void svgAnimateMotionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimateTransformElement() throws Exception { test("SVGAnimateTransformElement"); } @@ -7508,7 +7508,7 @@ public void svgAnimateTransformElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimationElement() throws Exception { test("SVGAnimationElement"); } @@ -7519,7 +7519,7 @@ public void svgAnimationElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgCircleElement() throws Exception { test("SVGCircleElement"); } @@ -7530,7 +7530,7 @@ public void svgCircleElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgClipPathElement() throws Exception { test("SVGClipPathElement"); } @@ -7539,7 +7539,7 @@ public void svgClipPathElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgComponentTransferFunctionElement() throws Exception { test("SVGComponentTransferFunctionElement"); } @@ -7548,7 +7548,7 @@ public void svgComponentTransferFunctionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgCursorElement() throws Exception { test("SVGCursorElement"); } @@ -7559,7 +7559,7 @@ public void svgCursorElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDefsElement() throws Exception { test("SVGDefsElement"); } @@ -7570,7 +7570,7 @@ public void svgDefsElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDescElement() throws Exception { test("SVGDescElement"); } @@ -7579,7 +7579,7 @@ public void svgDescElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDiscardElement() throws Exception { test("SVGDiscardElement"); } @@ -7588,7 +7588,7 @@ public void svgDiscardElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDocument() throws Exception { test("SVGDocument"); } @@ -7599,7 +7599,7 @@ public void svgDocument() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgElement() throws Exception { test("SVGElement"); } @@ -7610,7 +7610,7 @@ public void svgElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgEllipseElement() throws Exception { test("SVGEllipseElement"); } @@ -7619,7 +7619,7 @@ public void svgEllipseElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgEvent() throws Exception { test("SVGEvent"); } @@ -7630,7 +7630,7 @@ public void svgEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEBlendElement() throws Exception { test("SVGFEBlendElement"); } @@ -7641,7 +7641,7 @@ public void svgFEBlendElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEColorMatrixElement() throws Exception { test("SVGFEColorMatrixElement"); } @@ -7652,7 +7652,7 @@ public void svgFEColorMatrixElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEComponentTransferElement() throws Exception { test("SVGFEComponentTransferElement"); } @@ -7663,7 +7663,7 @@ public void svgFEComponentTransferElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFECompositeElement() throws Exception { test("SVGFECompositeElement"); } @@ -7674,7 +7674,7 @@ public void svgFECompositeElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEConvolveMatrixElement() throws Exception { test("SVGFEConvolveMatrixElement"); } @@ -7685,7 +7685,7 @@ public void svgFEConvolveMatrixElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEDiffuseLightingElement() throws Exception { test("SVGFEDiffuseLightingElement"); } @@ -7696,7 +7696,7 @@ public void svgFEDiffuseLightingElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEDisplacementMapElement() throws Exception { test("SVGFEDisplacementMapElement"); } @@ -7707,7 +7707,7 @@ public void svgFEDisplacementMapElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEDistantLightElement() throws Exception { test("SVGFEDistantLightElement"); } @@ -7716,7 +7716,7 @@ public void svgFEDistantLightElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEDropShadowElement() throws Exception { test("SVGFEDropShadowElement"); } @@ -7727,7 +7727,7 @@ public void svgFEDropShadowElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEFloodElement() throws Exception { test("SVGFEFloodElement"); } @@ -7738,7 +7738,7 @@ public void svgFEFloodElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEFuncAElement() throws Exception { test("SVGFEFuncAElement"); } @@ -7749,7 +7749,7 @@ public void svgFEFuncAElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEFuncBElement() throws Exception { test("SVGFEFuncBElement"); } @@ -7760,7 +7760,7 @@ public void svgFEFuncBElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEFuncGElement() throws Exception { test("SVGFEFuncGElement"); } @@ -7771,7 +7771,7 @@ public void svgFEFuncGElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEFuncRElement() throws Exception { test("SVGFEFuncRElement"); } @@ -7782,7 +7782,7 @@ public void svgFEFuncRElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEGaussianBlurElement() throws Exception { test("SVGFEGaussianBlurElement"); } @@ -7793,7 +7793,7 @@ public void svgFEGaussianBlurElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEImageElement() throws Exception { test("SVGFEImageElement"); } @@ -7804,7 +7804,7 @@ public void svgFEImageElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEMergeElement() throws Exception { test("SVGFEMergeElement"); } @@ -7815,7 +7815,7 @@ public void svgFEMergeElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEMergeNodeElement() throws Exception { test("SVGFEMergeNodeElement"); } @@ -7826,7 +7826,7 @@ public void svgFEMergeNodeElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEMorphologyElement() throws Exception { test("SVGFEMorphologyElement"); } @@ -7837,7 +7837,7 @@ public void svgFEMorphologyElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEOffsetElement() throws Exception { test("SVGFEOffsetElement"); } @@ -7848,7 +7848,7 @@ public void svgFEOffsetElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFEPointLightElement() throws Exception { test("SVGFEPointLightElement"); } @@ -7859,7 +7859,7 @@ public void svgFEPointLightElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFESpecularLightingElement() throws Exception { test("SVGFESpecularLightingElement"); } @@ -7870,7 +7870,7 @@ public void svgFESpecularLightingElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFESpotLightElement() throws Exception { test("SVGFESpotLightElement"); } @@ -7881,7 +7881,7 @@ public void svgFESpotLightElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFETileElement() throws Exception { test("SVGFETileElement"); } @@ -7892,7 +7892,7 @@ public void svgFETileElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFETurbulenceElement() throws Exception { test("SVGFETurbulenceElement"); } @@ -7903,7 +7903,7 @@ public void svgFETurbulenceElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFilterElement() throws Exception { test("SVGFilterElement"); } @@ -7912,7 +7912,7 @@ public void svgFilterElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontElement() throws Exception { test("SVGFontElement"); } @@ -7921,7 +7921,7 @@ public void svgFontElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceElement() throws Exception { test("SVGFontFaceElement"); } @@ -7930,7 +7930,7 @@ public void svgFontFaceElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceFormatElement() throws Exception { test("SVGFontFaceFormatElement"); } @@ -7939,7 +7939,7 @@ public void svgFontFaceFormatElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceNameElement() throws Exception { test("SVGFontFaceNameElement"); } @@ -7948,7 +7948,7 @@ public void svgFontFaceNameElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceSrcElement() throws Exception { test("SVGFontFaceSrcElement"); } @@ -7957,7 +7957,7 @@ public void svgFontFaceSrcElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceUriElement() throws Exception { test("SVGFontFaceUriElement"); } @@ -7968,7 +7968,7 @@ public void svgFontFaceUriElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgForeignObjectElement() throws Exception { test("SVGForeignObjectElement"); } @@ -7979,7 +7979,7 @@ public void svgForeignObjectElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGElement() throws Exception { test("SVGGElement"); } @@ -7988,7 +7988,7 @@ public void svgGElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGeometryElement() throws Exception { test("SVGGeometryElement"); } @@ -7997,7 +7997,7 @@ public void svgGeometryElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGlyphElement() throws Exception { test("SVGGlyphElement"); } @@ -8006,7 +8006,7 @@ public void svgGlyphElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGradientElement() throws Exception { test("SVGGradientElement"); } @@ -8015,7 +8015,7 @@ public void svgGradientElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGraphicsElement() throws Exception { test("SVGGraphicsElement"); } @@ -8024,7 +8024,7 @@ public void svgGraphicsElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgHKernElement() throws Exception { test("SVGHKernElement"); } @@ -8035,7 +8035,7 @@ public void svgHKernElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgImageElement() throws Exception { test("SVGImageElement"); } @@ -8044,7 +8044,7 @@ public void svgImageElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgLength() throws Exception { test("SVGLength"); } @@ -8053,7 +8053,7 @@ public void svgLength() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgLengthList() throws Exception { test("SVGLengthList"); } @@ -8064,7 +8064,7 @@ public void svgLengthList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgLinearGradientElement() throws Exception { test("SVGLinearGradientElement"); } @@ -8075,7 +8075,7 @@ public void svgLinearGradientElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgLineElement() throws Exception { test("SVGLineElement"); } @@ -8086,7 +8086,7 @@ public void svgLineElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMarkerElement() throws Exception { test("SVGMarkerElement"); } @@ -8097,7 +8097,7 @@ public void svgMarkerElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMaskElement() throws Exception { test("SVGMaskElement"); } @@ -8108,7 +8108,7 @@ public void svgMaskElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMatrix() throws Exception { test("SVGMatrix"); } @@ -8119,7 +8119,7 @@ public void svgMatrix() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMetadataElement() throws Exception { test("SVGMetadataElement"); } @@ -8128,7 +8128,7 @@ public void svgMetadataElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMissingGlyphElement() throws Exception { test("SVGMissingGlyphElement"); } @@ -8139,7 +8139,7 @@ public void svgMissingGlyphElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMPathElement() throws Exception { test("SVGMPathElement"); } @@ -8148,7 +8148,7 @@ public void svgMPathElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgNumber() throws Exception { test("SVGNumber"); } @@ -8157,7 +8157,7 @@ public void svgNumber() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgNumberList() throws Exception { test("SVGNumberList"); } @@ -8168,7 +8168,7 @@ public void svgNumberList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathElement() throws Exception { test("SVGPathElement"); } @@ -8177,7 +8177,7 @@ public void svgPathElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSeg() throws Exception { test("SVGPathSeg"); } @@ -8186,7 +8186,7 @@ public void svgPathSeg() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegArcAbs() throws Exception { test("SVGPathSegArcAbs"); } @@ -8195,7 +8195,7 @@ public void svgPathSegArcAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegArcRel() throws Exception { test("SVGPathSegArcRel"); } @@ -8204,7 +8204,7 @@ public void svgPathSegArcRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegClosePath() throws Exception { test("SVGPathSegClosePath"); } @@ -8213,7 +8213,7 @@ public void svgPathSegClosePath() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicAbs() throws Exception { test("SVGPathSegCurvetoCubicAbs"); } @@ -8222,7 +8222,7 @@ public void svgPathSegCurvetoCubicAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicRel() throws Exception { test("SVGPathSegCurvetoCubicRel"); } @@ -8231,7 +8231,7 @@ public void svgPathSegCurvetoCubicRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicSmoothAbs() throws Exception { test("SVGPathSegCurvetoCubicSmoothAbs"); } @@ -8240,7 +8240,7 @@ public void svgPathSegCurvetoCubicSmoothAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicSmoothRel() throws Exception { test("SVGPathSegCurvetoCubicSmoothRel"); } @@ -8249,7 +8249,7 @@ public void svgPathSegCurvetoCubicSmoothRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticAbs() throws Exception { test("SVGPathSegCurvetoQuadraticAbs"); } @@ -8258,7 +8258,7 @@ public void svgPathSegCurvetoQuadraticAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticRel() throws Exception { test("SVGPathSegCurvetoQuadraticRel"); } @@ -8267,7 +8267,7 @@ public void svgPathSegCurvetoQuadraticRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticSmoothAbs() throws Exception { test("SVGPathSegCurvetoQuadraticSmoothAbs"); } @@ -8276,7 +8276,7 @@ public void svgPathSegCurvetoQuadraticSmoothAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticSmoothRel() throws Exception { test("SVGPathSegCurvetoQuadraticSmoothRel"); } @@ -8285,7 +8285,7 @@ public void svgPathSegCurvetoQuadraticSmoothRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoAbs() throws Exception { test("SVGPathSegLinetoAbs"); } @@ -8294,7 +8294,7 @@ public void svgPathSegLinetoAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoHorizontalAbs() throws Exception { test("SVGPathSegLinetoHorizontalAbs"); } @@ -8303,7 +8303,7 @@ public void svgPathSegLinetoHorizontalAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoHorizontalRel() throws Exception { test("SVGPathSegLinetoHorizontalRel"); } @@ -8312,7 +8312,7 @@ public void svgPathSegLinetoHorizontalRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoRel() throws Exception { test("SVGPathSegLinetoRel"); } @@ -8321,7 +8321,7 @@ public void svgPathSegLinetoRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoVerticalAbs() throws Exception { test("SVGPathSegLinetoVerticalAbs"); } @@ -8330,7 +8330,7 @@ public void svgPathSegLinetoVerticalAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoVerticalRel() throws Exception { test("SVGPathSegLinetoVerticalRel"); } @@ -8339,7 +8339,7 @@ public void svgPathSegLinetoVerticalRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegList() throws Exception { test("SVGPathSegList"); } @@ -8348,7 +8348,7 @@ public void svgPathSegList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegMovetoAbs() throws Exception { test("SVGPathSegMovetoAbs"); } @@ -8357,7 +8357,7 @@ public void svgPathSegMovetoAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegMovetoRel() throws Exception { test("SVGPathSegMovetoRel"); } @@ -8368,7 +8368,7 @@ public void svgPathSegMovetoRel() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPatternElement() throws Exception { test("SVGPatternElement"); } @@ -8377,7 +8377,7 @@ public void svgPatternElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPoint() throws Exception { test("SVGPoint"); } @@ -8386,7 +8386,7 @@ public void svgPoint() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPointList() throws Exception { test("SVGPointList"); } @@ -8397,7 +8397,7 @@ public void svgPointList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPolygonElement() throws Exception { test("SVGPolygonElement"); } @@ -8408,7 +8408,7 @@ public void svgPolygonElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPolylineElement() throws Exception { test("SVGPolylineElement"); } @@ -8417,7 +8417,7 @@ public void svgPolylineElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPreserveAspectRatio() throws Exception { test("SVGPreserveAspectRatio"); } @@ -8428,7 +8428,7 @@ public void svgPreserveAspectRatio() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgRadialGradientElement() throws Exception { test("SVGRadialGradientElement"); } @@ -8439,7 +8439,7 @@ public void svgRadialGradientElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgRect() throws Exception { test("SVGRect"); } @@ -8450,7 +8450,7 @@ public void svgRect() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgRectElement() throws Exception { test("SVGRectElement"); } @@ -8459,7 +8459,7 @@ public void svgRectElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgRenderingIntent() throws Exception { test("SVGRenderingIntent"); } @@ -8470,7 +8470,7 @@ public void svgRenderingIntent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgScriptElement() throws Exception { test("SVGScriptElement"); } @@ -8481,7 +8481,7 @@ public void svgScriptElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgSetElement() throws Exception { test("SVGSetElement"); } @@ -8492,7 +8492,7 @@ public void svgSetElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgStopElement() throws Exception { test("SVGStopElement"); } @@ -8501,7 +8501,7 @@ public void svgStopElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgStringList() throws Exception { test("SVGStringList"); } @@ -8510,7 +8510,7 @@ public void svgStringList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgStylable() throws Exception { test("SVGStylable"); } @@ -8521,7 +8521,7 @@ public void svgStylable() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgStyleElement() throws Exception { test("SVGStyleElement"); } @@ -8532,7 +8532,7 @@ public void svgStyleElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgSVGElement() throws Exception { test("SVGSVGElement"); } @@ -8543,7 +8543,7 @@ public void svgSVGElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgSwitchElement() throws Exception { test("SVGSwitchElement"); } @@ -8554,7 +8554,7 @@ public void svgSwitchElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgSymbolElement() throws Exception { test("SVGSymbolElement"); } @@ -8563,7 +8563,7 @@ public void svgSymbolElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTests() throws Exception { test("SVGTests"); } @@ -8572,7 +8572,7 @@ public void svgTests() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTextContentElement() throws Exception { test("SVGTextContentElement"); } @@ -8583,7 +8583,7 @@ public void svgTextContentElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTextElement() throws Exception { test("SVGTextElement"); } @@ -8594,7 +8594,7 @@ public void svgTextElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTextPathElement() throws Exception { test("SVGTextPathElement"); } @@ -8603,7 +8603,7 @@ public void svgTextPathElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTextPositioningElement() throws Exception { test("SVGTextPositioningElement"); } @@ -8614,7 +8614,7 @@ public void svgTextPositioningElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTitleElement() throws Exception { test("SVGTitleElement"); } @@ -8623,7 +8623,7 @@ public void svgTitleElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTransform() throws Exception { test("SVGTransform"); } @@ -8632,7 +8632,7 @@ public void svgTransform() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTransformable() throws Exception { test("SVGTransformable"); } @@ -8641,7 +8641,7 @@ public void svgTransformable() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTransformList() throws Exception { test("SVGTransformList"); } @@ -8650,7 +8650,7 @@ public void svgTransformList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTRefElement() throws Exception { test("SVGTRefElement"); } @@ -8661,7 +8661,7 @@ public void svgTRefElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTSpanElement() throws Exception { test("SVGTSpanElement"); } @@ -8670,7 +8670,7 @@ public void svgTSpanElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgUnitTypes() throws Exception { test("SVGUnitTypes"); } @@ -8681,7 +8681,7 @@ public void svgUnitTypes() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgUseElement() throws Exception { test("SVGUseElement"); } @@ -8692,7 +8692,7 @@ public void svgUseElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgViewElement() throws Exception { test("SVGViewElement"); } @@ -8701,7 +8701,7 @@ public void svgViewElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgViewSpec() throws Exception { test("SVGViewSpec"); } @@ -8710,7 +8710,7 @@ public void svgViewSpec() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgVKernElement() throws Exception { test("SVGVKernElement"); } @@ -8719,7 +8719,7 @@ public void svgVKernElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgZoomEvent() throws Exception { test("SVGZoomEvent"); } @@ -8737,7 +8737,7 @@ public void symbol() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void syncEvent() throws Exception { test("SyncEvent"); } @@ -8747,8 +8747,8 @@ public void syncEvent() throws Exception { */ @Test @Alerts(DEFAULT = "function SyncManager() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void syncManager() throws Exception { test("SyncManager"); } @@ -8757,7 +8757,7 @@ public void syncManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void syncRegistration() throws Exception { test("SyncRegistration"); } @@ -8775,7 +8775,7 @@ public void syntaxError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void tcpServerSocket() throws Exception { test("TCPServerSocket"); } @@ -8784,7 +8784,7 @@ public void tcpServerSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void tcpSocket() throws Exception { test("TCPSocket"); } @@ -8793,7 +8793,7 @@ public void tcpSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephony() throws Exception { test("Telephony"); } @@ -8802,7 +8802,7 @@ public void telephony() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephonyCall() throws Exception { test("TelephonyCall"); } @@ -8811,7 +8811,7 @@ public void telephonyCall() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephonyCallGroup() throws Exception { test("TelephonyCallGroup"); } @@ -8822,7 +8822,7 @@ public void telephonyCallGroup() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void text() throws Exception { test("Text"); } @@ -8849,7 +8849,7 @@ public void textEncoder() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textEvent() throws Exception { test("TextEvent"); } @@ -8869,7 +8869,7 @@ public void textMetrics() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textRange() throws Exception { test("TextRange"); } @@ -8878,7 +8878,7 @@ public void textRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textTrack() throws Exception { test("TextTrack"); } @@ -8887,7 +8887,7 @@ public void textTrack() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textTrackCue() throws Exception { test("TextTrackCue"); } @@ -8896,7 +8896,7 @@ public void textTrackCue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textTrackCueList() throws Exception { test("TextTrackCueList"); } @@ -8905,7 +8905,7 @@ public void textTrackCueList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textTrackList() throws Exception { test("TextTrackList"); } @@ -8914,7 +8914,7 @@ public void textTrackList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void timeEvent() throws Exception { test("TimeEvent"); } @@ -8923,7 +8923,7 @@ public void timeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void timeRanges() throws Exception { test("TimeRanges"); } @@ -8932,7 +8932,7 @@ public void timeRanges() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void touch() throws Exception { test("Touch"); } @@ -8941,7 +8941,7 @@ public void touch() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void touchEvent() throws Exception { test("TouchEvent"); } @@ -8950,7 +8950,7 @@ public void touchEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void touchList() throws Exception { test("TouchList"); } @@ -8959,7 +8959,7 @@ public void touchList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void trackDefault() throws Exception { test("TrackDefault"); } @@ -8968,7 +8968,7 @@ public void trackDefault() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void trackDefaultList() throws Exception { test("TrackDefaultList"); } @@ -8977,7 +8977,7 @@ public void trackDefaultList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void trackEvent() throws Exception { test("TrackEvent"); } @@ -8986,7 +8986,7 @@ public void trackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void transferable() throws Exception { test("Transferable"); } @@ -8995,7 +8995,7 @@ public void transferable() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void transitionEvent() throws Exception { test("TransitionEvent"); } @@ -9006,7 +9006,7 @@ public void transitionEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void treeWalker() throws Exception { test("TreeWalker"); } @@ -9015,7 +9015,7 @@ public void treeWalker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void typedArray() throws Exception { test("TypedArray"); } @@ -9033,7 +9033,7 @@ public void typeError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void typeInfo() throws Exception { test("TypeInfo"); } @@ -9042,7 +9042,7 @@ public void typeInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uDPSocket() throws Exception { test("UDPSocket"); } @@ -9053,7 +9053,7 @@ public void uDPSocket() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uiEvent() throws Exception { test("UIEvent"); } @@ -9124,7 +9124,7 @@ public void unescape() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uneval() throws Exception { test("uneval"); } @@ -9162,7 +9162,7 @@ public void urlSearchParams() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void urlUtils() throws Exception { test("URLUtils"); } @@ -9171,7 +9171,7 @@ public void urlUtils() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void urlUtilsReadOnly() throws Exception { test("URLUtilsReadOnly"); } @@ -9180,7 +9180,7 @@ public void urlUtilsReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void userDataHandler() throws Exception { test("UserDataHandler"); } @@ -9189,7 +9189,7 @@ public void userDataHandler() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void userProximityEvent() throws Exception { test("UserProximityEvent"); } @@ -9198,7 +9198,7 @@ public void userProximityEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uSVString() throws Exception { test("USVString"); } @@ -9207,7 +9207,7 @@ public void uSVString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void validityState() throws Exception { test("ValidityState"); } @@ -9216,7 +9216,7 @@ public void validityState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void videoPlaybackQuality() throws Exception { test("VideoPlaybackQuality"); } @@ -9225,7 +9225,7 @@ public void videoPlaybackQuality() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDevice() throws Exception { test("VRDevice"); } @@ -9234,7 +9234,7 @@ public void vrDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDisplay() throws Exception { test("VRDisplay"); } @@ -9243,7 +9243,7 @@ public void vrDisplay() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDisplayCapabilities() throws Exception { test("VRDisplayCapabilities"); } @@ -9252,7 +9252,7 @@ public void vrDisplayCapabilities() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrEyeParameters() throws Exception { test("VREyeParameters"); } @@ -9261,7 +9261,7 @@ public void vrEyeParameters() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrFieldOfView() throws Exception { test("VRFieldOfView"); } @@ -9270,7 +9270,7 @@ public void vrFieldOfView() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrFieldOfViewReadOnly() throws Exception { test("VRFieldOfViewReadOnly"); } @@ -9279,7 +9279,7 @@ public void vrFieldOfViewReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrLayer() throws Exception { test("VRLayer"); } @@ -9288,7 +9288,7 @@ public void vrLayer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrPose() throws Exception { test("VRPose"); } @@ -9297,7 +9297,7 @@ public void vrPose() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrPositionState() throws Exception { test("VRPositionState"); } @@ -9306,7 +9306,7 @@ public void vrPositionState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrStageParameters() throws Exception { test("VRStageParameters"); } @@ -9315,7 +9315,7 @@ public void vrStageParameters() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vTTCue() throws Exception { test("VTTCue"); } @@ -9324,7 +9324,7 @@ public void vTTCue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void waveShaperNode() throws Exception { test("WaveShaperNode"); } @@ -9351,7 +9351,7 @@ public void weakSet() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL() throws Exception { test("WebGL"); } @@ -9360,7 +9360,7 @@ public void webGL() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_color_buffer_float() throws Exception { test("WEBGL_color_buffer_float"); } @@ -9369,7 +9369,7 @@ public void webGL_color_buffer_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_atc() throws Exception { test("WEBGL_compressed_texture_atc"); } @@ -9378,7 +9378,7 @@ public void webGL_compressed_texture_atc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_es3() throws Exception { test("WEBGL_compressed_texture_es3"); } @@ -9387,7 +9387,7 @@ public void webGL_compressed_texture_es3() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void wEBGL_compressed_texture_etc() throws Exception { test("WEBGL_compressed_texture_etc"); } @@ -9396,7 +9396,7 @@ public void wEBGL_compressed_texture_etc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_etc1() throws Exception { test("WEBGL_compressed_texture_etc1"); } @@ -9405,7 +9405,7 @@ public void webGL_compressed_texture_etc1() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_pvrtc() throws Exception { test("WEBGL_compressed_texture_pvrtc"); } @@ -9414,7 +9414,7 @@ public void webGL_compressed_texture_pvrtc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_s3tc() throws Exception { test("WEBGL_compressed_texture_s3tc"); } @@ -9423,7 +9423,7 @@ public void webGL_compressed_texture_s3tc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_debug_renderer_info() throws Exception { test("WEBGL_debug_renderer_info"); } @@ -9432,7 +9432,7 @@ public void webGL_debug_renderer_info() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_debug_shaders() throws Exception { test("WEBGL_debug_shaders"); } @@ -9441,7 +9441,7 @@ public void webGL_debug_shaders() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_depth_texture() throws Exception { test("WEBGL_depth_texture"); } @@ -9450,7 +9450,7 @@ public void webGL_depth_texture() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_draw_buffers() throws Exception { test("WEBGL_draw_buffers"); } @@ -9459,7 +9459,7 @@ public void webGL_draw_buffers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_lose_context() throws Exception { test("WEBGL_lose_context"); } @@ -9594,7 +9594,7 @@ public void webGLTexture() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGLTimerQueryEXT() throws Exception { test("WebGLTimerQueryEXT"); } @@ -9630,7 +9630,7 @@ public void webGLVertexArrayObject() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGLVertexArrayObjectOES() throws Exception { test("WebGLVertexArrayObjectOES"); } @@ -9639,7 +9639,7 @@ public void webGLVertexArrayObjectOES() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitAnimationEvent() throws Exception { test("WebKitAnimationEvent"); } @@ -9648,7 +9648,7 @@ public void webKitAnimationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitAudioContext() throws Exception { test("webkitAudioContext"); } @@ -9657,7 +9657,7 @@ public void webkitAudioContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitCSSMatrix() throws Exception { test("WebKitCSSMatrix"); } @@ -9666,7 +9666,7 @@ public void webKitCSSMatrix() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBCursor() throws Exception { test("webkitIDBCursor"); } @@ -9675,7 +9675,7 @@ public void webkitIDBCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBDatabase() throws Exception { test("webkitIDBDatabase"); } @@ -9684,7 +9684,7 @@ public void webkitIDBDatabase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBFactory() throws Exception { test("webkitIDBFactory"); } @@ -9693,7 +9693,7 @@ public void webkitIDBFactory() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBIndex() throws Exception { test("webkitIDBIndex"); } @@ -9702,7 +9702,7 @@ public void webkitIDBIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBKeyRange() throws Exception { test("webkitIDBKeyRange"); } @@ -9711,7 +9711,7 @@ public void webkitIDBKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBObjectStore() throws Exception { test("webkitIDBObjectStore"); } @@ -9720,7 +9720,7 @@ public void webkitIDBObjectStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBRequest() throws Exception { test("webkitIDBRequest"); } @@ -9729,7 +9729,7 @@ public void webkitIDBRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBTransaction() throws Exception { test("webkitIDBTransaction"); } @@ -9738,7 +9738,7 @@ public void webkitIDBTransaction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitMediaStream() throws Exception { test("webkitMediaStream"); } @@ -9747,7 +9747,7 @@ public void webkitMediaStream() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitMutationObserver() throws Exception { test("WebKitMutationObserver"); } @@ -9756,7 +9756,7 @@ public void webKitMutationObserver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitOfflineAudioContext() throws Exception { test("webkitOfflineAudioContext"); } @@ -9765,7 +9765,7 @@ public void webkitOfflineAudioContext() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitRTCPeerConnection() throws Exception { test("webkitRTCPeerConnection"); } @@ -9774,7 +9774,7 @@ public void webkitRTCPeerConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitRTCSessionDescription() throws Exception { test("webkitRTCSessionDescription"); } @@ -9783,7 +9783,7 @@ public void webkitRTCSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitSpeechGrammar() throws Exception { test("webkitSpeechGrammar"); } @@ -9792,7 +9792,7 @@ public void webkitSpeechGrammar() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitSpeechGrammarList() throws Exception { test("webkitSpeechGrammarList"); } @@ -9801,7 +9801,7 @@ public void webkitSpeechGrammarList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitSpeechRecognition() throws Exception { test("webkitSpeechRecognition"); } @@ -9810,7 +9810,7 @@ public void webkitSpeechRecognition() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitSpeechRecognitionError() throws Exception { test("webkitSpeechRecognitionError"); } @@ -9819,7 +9819,7 @@ public void webkitSpeechRecognitionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitSpeechRecognitionEvent() throws Exception { test("webkitSpeechRecognitionEvent"); } @@ -9828,7 +9828,7 @@ public void webkitSpeechRecognitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitTransitionEvent() throws Exception { test("WebKitTransitionEvent"); } @@ -9837,7 +9837,7 @@ public void webKitTransitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitURL() throws Exception { test("webkitURL"); } @@ -9846,7 +9846,7 @@ public void webkitURL() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webSMS() throws Exception { test("WebSMS"); } @@ -9866,7 +9866,7 @@ public void webSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webSockets() throws Exception { test("WebSockets"); } @@ -9875,7 +9875,7 @@ public void webSockets() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webVTT() throws Exception { test("WebVTT"); } @@ -9884,7 +9884,7 @@ public void webVTT() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void wheelEvent() throws Exception { test("WheelEvent"); } @@ -9893,7 +9893,7 @@ public void wheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void wifiManager() throws Exception { test("WifiManager"); } @@ -9904,7 +9904,7 @@ public void wifiManager() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void window() throws Exception { test("Window"); } @@ -9913,7 +9913,7 @@ public void window() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowBase64() throws Exception { test("WindowBase64"); } @@ -9922,7 +9922,7 @@ public void windowBase64() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowClient() throws Exception { test("WindowClient"); } @@ -9931,7 +9931,7 @@ public void windowClient() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers() throws Exception { test("WindowEventHandlers"); } @@ -9940,7 +9940,7 @@ public void windowEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers_onbeforeprint() throws Exception { test("WindowEventHandlers.onbeforeprint"); } @@ -9949,7 +9949,7 @@ public void windowEventHandlers_onbeforeprint() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowOrWorkerGlobalScope() throws Exception { test("WindowOrWorkerGlobalScope"); } @@ -9958,7 +9958,7 @@ public void windowOrWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowProperties() throws Exception { test("WindowProperties"); } @@ -9967,7 +9967,7 @@ public void windowProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowTimers() throws Exception { test("WindowTimers"); } @@ -10014,7 +10014,7 @@ public void workerNavigator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xDomainRequest() throws Exception { test("XDomainRequest"); } @@ -10025,7 +10025,7 @@ public void xDomainRequest() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xmlDocument() throws Exception { test("XMLDocument"); } @@ -10054,7 +10054,7 @@ public void xmlHttpRequestEventTarget() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xmlHttpRequestProgressEvent() throws Exception { test("XMLHttpRequestProgressEvent"); } @@ -10074,7 +10074,7 @@ public void xmlHttpRequestUpload() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xmlSerializer() throws Exception { test("XMLSerializer"); } @@ -10085,7 +10085,7 @@ public void xmlSerializer() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xPathEvaluator() throws Exception { test("XPathEvaluator"); } @@ -10094,7 +10094,7 @@ public void xPathEvaluator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xPathExpression() throws Exception { test("XPathExpression"); } @@ -10105,7 +10105,7 @@ public void xPathExpression() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xPathNSResolver() throws Exception { test("XPathNSResolver"); } @@ -10116,7 +10116,7 @@ public void xPathNSResolver() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xPathResult() throws Exception { test("XPathResult"); } @@ -10125,7 +10125,7 @@ public void xPathResult() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xsltemplate() throws Exception { test("XSLTemplate"); } @@ -10136,7 +10136,7 @@ public void xsltemplate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xsltProcessor() throws Exception { test("XSLTProcessor"); } diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index ea145c9a02d..17a39249a46 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -45,14 +45,14 @@ private void test(final String className) throws Exception { + " log('' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('test');}, 10);\n" - + "} catch(e) { log('exception'); }\n" + + "} catch(e) { log(e.name); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" + " var workerResult = '';\n" + " try {\n" + " workerResult += typeof " + className + ";\n" - + " } catch(e) {workerResult = 'exception'}\n" + + " } catch(e) {workerResult = e.name}\n" + " postMessage(workerResult);\n" + "}\n"; @@ -252,7 +252,7 @@ public void applicationCacheErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void apps_mgmt() throws Exception { test("Apps.mgmt"); } @@ -4383,7 +4383,7 @@ public void l10n() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_formatValue() throws Exception { test("L10n.formatValue"); } @@ -4392,7 +4392,7 @@ public void l10n_formatValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_get() throws Exception { test("L10n.get"); } @@ -4401,7 +4401,7 @@ public void l10n_get() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_code() throws Exception { test("L10n.language.code"); } @@ -4410,7 +4410,7 @@ public void l10n_language_code() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_direction() throws Exception { test("L10n.language.direction"); } @@ -4419,7 +4419,7 @@ public void l10n_language_direction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_once() throws Exception { test("L10n.once"); } @@ -4428,7 +4428,7 @@ public void l10n_once() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_ready() throws Exception { test("L10n.ready"); } @@ -4437,7 +4437,7 @@ public void l10n_ready() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_readyState() throws Exception { test("L10n.readyState"); } @@ -4446,7 +4446,7 @@ public void l10n_readyState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_setAttributes() throws Exception { test("L10n.setAttributes"); } @@ -6862,7 +6862,7 @@ public void simd() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool16x8() throws Exception { test("SIMD.Bool16x8"); } @@ -6871,7 +6871,7 @@ public void simd_Bool16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool32x4() throws Exception { test("SIMD.Bool32x4"); } @@ -6880,7 +6880,7 @@ public void simd_Bool32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool64x2() throws Exception { test("SIMD.Bool64x2"); } @@ -6889,7 +6889,7 @@ public void simd_Bool64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool8x16() throws Exception { test("SIMD.Bool8x16"); } @@ -6898,7 +6898,7 @@ public void simd_Bool8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float32x4() throws Exception { test("SIMD.float32x4"); } @@ -6907,7 +6907,7 @@ public void simd_float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float32x4() throws Exception { test("SIMD.Float32x4"); } @@ -6916,7 +6916,7 @@ public void simd_Float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float64x2() throws Exception { test("SIMD.float64x2"); } @@ -6925,7 +6925,7 @@ public void simd_float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float64x2() throws Exception { test("SIMD.Float64x2"); } @@ -6934,7 +6934,7 @@ public void simd_Float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int16x8() throws Exception { test("SIMD.int16x8"); } @@ -6943,7 +6943,7 @@ public void simd_int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int16x8() throws Exception { test("SIMD.Int16x8"); } @@ -6952,7 +6952,7 @@ public void simd_Int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int32x4() throws Exception { test("SIMD.int32x4"); } @@ -6961,7 +6961,7 @@ public void simd_int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int32x4() throws Exception { test("SIMD.Int32x4"); } @@ -6970,7 +6970,7 @@ public void simd_Int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int8x16() throws Exception { test("SIMD.int8x16"); } @@ -6979,7 +6979,7 @@ public void simd_int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int8x16() throws Exception { test("SIMD.Int8x16"); } @@ -6988,7 +6988,7 @@ public void simd_Int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint16x8() throws Exception { test("SIMD.Uint16x8"); } @@ -6997,7 +6997,7 @@ public void simd_Uint16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint32x4() throws Exception { test("SIMD.Uint32x4"); } @@ -7006,7 +7006,7 @@ public void simd_Uint32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint8x16() throws Exception { test("SIMD.Uint8x16"); } @@ -9937,7 +9937,7 @@ public void windowEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers_onbeforeprint() throws Exception { test("WindowEventHandlers.onbeforeprint"); } diff --git a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java index af7cb4eebcb..dcc41bf1459 100644 --- a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java +++ b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java @@ -107,7 +107,7 @@ private void test(final String tagName) throws Exception { + " var e = document.getElementById('outer');\n" + " try {\n" + " log(e == null ? e : e.children.length);\n" - + " } catch(e) { log('exception'); }" + + " } catch(e) { log(e.name); }" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/general/HostClassNameTest.java b/src/test/java/org/htmlunit/general/HostClassNameTest.java index 89f88ac4c32..afc282d4a26 100644 --- a/src/test/java/org/htmlunit/general/HostClassNameTest.java +++ b/src/test/java/org/htmlunit/general/HostClassNameTest.java @@ -59,7 +59,7 @@ private void test(final String className) throws Exception { // normalize FF output + " clsName = clsName.replace('{\\n [native code]\\n}', '{ [native code] }');\n" + " log(clsName);\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + "\n" @@ -73,7 +73,7 @@ private void test(final String className) throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void abstractList() throws Exception { test("AbstractList"); } @@ -91,7 +91,7 @@ public void abstractRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void abstractWorker() throws Exception { test("AbstractWorker"); } @@ -102,7 +102,7 @@ public void abstractWorker() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void activeXObject() throws Exception { test("ActiveXObject"); } @@ -111,7 +111,7 @@ public void activeXObject() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ambientLightSensor() throws Exception { test("AmbientLightSensor"); } @@ -120,7 +120,7 @@ public void ambientLightSensor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ambientLightSensorReading() throws Exception { test("AmbientLightSensorReading"); } @@ -140,7 +140,7 @@ public void analyserNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void angle_instanced_arrays() throws Exception { test("ANGLE_instanced_arrays"); } @@ -158,7 +158,7 @@ public void animation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectReadOnly() throws Exception { test("AnimationEffectReadOnly"); } @@ -167,7 +167,7 @@ public void animationEffectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTiming() throws Exception { test("AnimationEffectTiming"); } @@ -176,7 +176,7 @@ public void animationEffectTiming() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTimingProperties() throws Exception { test("AnimationEffectTimingProperties"); } @@ -185,7 +185,7 @@ public void animationEffectTimingProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationEffectTimingReadOnly() throws Exception { test("AnimationEffectTimingReadOnly"); } @@ -206,7 +206,7 @@ public void animationEvent() throws Exception { */ @Test @Alerts("function AnimationPlaybackEvent() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception", FF = "exception", FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError", FF = "ReferenceError", FF_ESR = "ReferenceError") public void animationPlaybackEvent() throws Exception { test("AnimationPlaybackEvent"); } @@ -215,7 +215,7 @@ public void animationPlaybackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void animationPlayer() throws Exception { test("AnimationPlayer"); } @@ -225,7 +225,7 @@ public void animationPlayer() throws Exception { */ @Test @Alerts("function AnimationTimeline() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception", FF = "exception", FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError", FF = "ReferenceError", FF_ESR = "ReferenceError") public void animationTimeline() throws Exception { test("AnimationTimeline"); } @@ -234,7 +234,7 @@ public void animationTimeline() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void appBannerPromptResult() throws Exception { test("AppBannerPromptResult"); } @@ -245,7 +245,7 @@ public void appBannerPromptResult() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void applicationCache() throws Exception { test("ApplicationCache"); } @@ -254,7 +254,7 @@ public void applicationCache() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void applicationCacheErrorEvent() throws Exception { test("ApplicationCacheErrorEvent"); } @@ -263,7 +263,7 @@ public void applicationCacheErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void apps_mgmt() throws Exception { test("Apps.mgmt"); } @@ -305,7 +305,7 @@ public void arrayBuffer() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void arrayBufferView() throws Exception { test("ArrayBufferView"); } @@ -316,7 +316,7 @@ public void arrayBufferView() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void arrayBufferViewBase() throws Exception { test("ArrayBufferViewBase"); } @@ -325,7 +325,7 @@ public void arrayBufferViewBase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void asyncFunction() throws Exception { test("AsyncFunction"); } @@ -383,7 +383,7 @@ public void audioBufferSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void audioChannelManager() throws Exception { test("AudioChannelManager"); } @@ -457,7 +457,7 @@ public void audioScheduledSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void autocompleteErrorEvent() throws Exception { test("AutocompleteErrorEvent"); } @@ -484,7 +484,7 @@ public void baseAudioContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BatteryManager() { [native code] }", EDGE = "function BatteryManager() { [native code] }") public void batteryManager() throws Exception { @@ -495,7 +495,7 @@ public void batteryManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void beforeInstallPrompt() throws Exception { test("BeforeInstallPrompt"); } @@ -504,7 +504,7 @@ public void beforeInstallPrompt() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BeforeInstallPromptEvent() { [native code] }", EDGE = "function BeforeInstallPromptEvent() { [native code] }") public void beforeInstallPromptEvent() throws Exception { @@ -553,7 +553,7 @@ public void blob() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void blobBuilder() throws Exception { test("BlobBuilder"); } @@ -571,10 +571,10 @@ public void blobEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function Bluetooth() { [native code] }", EDGE = "function Bluetooth() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void bluetooth() throws Exception { test("Bluetooth"); } @@ -583,7 +583,7 @@ public void bluetooth() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothAdapter() throws Exception { test("BluetoothAdapter"); } @@ -592,7 +592,7 @@ public void bluetoothAdapter() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothAdvertisingData() throws Exception { test("BluetoothAdvertisingData"); } @@ -601,10 +601,10 @@ public void bluetoothAdvertisingData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BluetoothCharacteristicProperties() { [native code] }", EDGE = "function BluetoothCharacteristicProperties() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void bluetoothCharacteristicProperties() throws Exception { test("BluetoothCharacteristicProperties"); } @@ -613,10 +613,10 @@ public void bluetoothCharacteristicProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BluetoothDevice() { [native code] }", EDGE = "function BluetoothDevice() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void bluetoothDevice() throws Exception { test("BluetoothDevice"); } @@ -625,7 +625,7 @@ public void bluetoothDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothDeviceEvent() throws Exception { test("BluetoothDeviceEvent"); } @@ -634,7 +634,7 @@ public void bluetoothDeviceEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothGATTRemoteServer() throws Exception { test("BluetoothGATTRemoteServer"); } @@ -643,7 +643,7 @@ public void bluetoothGATTRemoteServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothGATTService() throws Exception { test("BluetoothGATTService"); } @@ -652,7 +652,7 @@ public void bluetoothGATTService() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothManager() throws Exception { test("BluetoothManager"); } @@ -661,10 +661,10 @@ public void bluetoothManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BluetoothRemoteGATTCharacteristic() { [native code] }", EDGE = "function BluetoothRemoteGATTCharacteristic() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void bluetoothRemoteGATTCharacteristic() throws Exception { test("BluetoothRemoteGATTCharacteristic"); } @@ -673,10 +673,10 @@ public void bluetoothRemoteGATTCharacteristic() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function BluetoothRemoteGATTServer() { [native code] }", EDGE = "function BluetoothRemoteGATTServer() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError") public void bluetoothRemoteGATTServer() throws Exception { test("BluetoothRemoteGATTServer"); } @@ -685,7 +685,7 @@ public void bluetoothRemoteGATTServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bluetoothStatusChangedEvent() throws Exception { test("BluetoothStatusChangedEvent"); } @@ -694,7 +694,7 @@ public void bluetoothStatusChangedEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void body() throws Exception { test("Body"); } @@ -703,7 +703,7 @@ public void body() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void boxObject() throws Exception { test("BoxObject"); } @@ -721,7 +721,7 @@ public void broadcastChannel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void budgetService() throws Exception { test("BudgetService"); } @@ -730,7 +730,7 @@ public void budgetService() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void budgetState() throws Exception { test("BudgetState"); } @@ -739,7 +739,7 @@ public void budgetState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void bufferSource() throws Exception { test("BufferSource"); } @@ -748,7 +748,7 @@ public void bufferSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void byteString() throws Exception { test("ByteString"); } @@ -775,7 +775,7 @@ public void cacheStorage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void callEvent() throws Exception { test("CallEvent"); } @@ -784,7 +784,7 @@ public void callEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraCapabilities() throws Exception { test("CameraCapabilities"); } @@ -793,7 +793,7 @@ public void cameraCapabilities() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraControl() throws Exception { test("CameraControl"); } @@ -802,7 +802,7 @@ public void cameraControl() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cameraManager() throws Exception { test("CameraManager"); } @@ -811,7 +811,7 @@ public void cameraManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function CanvasCaptureMediaStream() { [native code] }", FF_ESR = "function CanvasCaptureMediaStream() { [native code] }") public void canvasCaptureMediaStream() throws Exception { @@ -822,7 +822,7 @@ public void canvasCaptureMediaStream() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function CanvasCaptureMediaStreamTrack() { [native code] }", EDGE = "function CanvasCaptureMediaStreamTrack() { [native code] }") public void canvasCaptureMediaStreamTrack() throws Exception { @@ -842,7 +842,7 @@ public void canvasGradient() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void canvasImageSource() throws Exception { test("CanvasImageSource"); } @@ -924,7 +924,7 @@ public void characterData() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void characterDataImpl() throws Exception { test("CharacterDataImpl"); } @@ -933,7 +933,7 @@ public void characterDataImpl() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void childNode() throws Exception { test("ChildNode"); } @@ -942,7 +942,7 @@ public void childNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void chromeWorker() throws Exception { test("ChromeWorker"); } @@ -951,7 +951,7 @@ public void chromeWorker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void client() throws Exception { test("Client"); } @@ -962,7 +962,7 @@ public void client() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clientRect() throws Exception { test("ClientRect"); } @@ -973,7 +973,7 @@ public void clientRect() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clientRectList() throws Exception { test("ClientRectList"); } @@ -982,7 +982,7 @@ public void clientRectList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clients() throws Exception { test("Clients"); } @@ -991,7 +991,7 @@ public void clients() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void clipboardData() throws Exception { test("ClipboardData"); } @@ -1040,7 +1040,7 @@ public void compositionEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void computedCSSStyleDeclaration() throws Exception { test("ComputedCSSStyleDeclaration"); } @@ -1049,7 +1049,7 @@ public void computedCSSStyleDeclaration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void connection() throws Exception { test(HttpHeader.CONNECTION); } @@ -1060,7 +1060,7 @@ public void connection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void console() throws Exception { test("Console"); } @@ -1078,7 +1078,7 @@ public void constantSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainBoolean() throws Exception { test("ConstrainBoolean"); } @@ -1087,7 +1087,7 @@ public void constrainBoolean() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainDOMString() throws Exception { test("ConstrainDOMString"); } @@ -1096,7 +1096,7 @@ public void constrainDOMString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainDouble() throws Exception { test("ConstrainDouble"); } @@ -1105,7 +1105,7 @@ public void constrainDouble() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void constrainLong() throws Exception { test("ConstrainLong"); } @@ -1114,7 +1114,7 @@ public void constrainLong() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void contactManager() throws Exception { test("ContactManager"); } @@ -1134,7 +1134,7 @@ public void convolverNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void coordinates() throws Exception { test("Coordinates"); } @@ -1190,7 +1190,7 @@ public void css() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function CSS2Properties() { [native code] }", FF_ESR = "function CSS2Properties() { [native code] }") public void css2Properties() throws Exception { @@ -1203,9 +1203,9 @@ public void css2Properties() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function CSSPageDescriptors() { [native code] }") - @HtmlUnitNYI(FF = "exception") + @HtmlUnitNYI(FF = "ReferenceError") public void cssPageDescriptors() throws Exception { test("CSSPageDescriptors"); } @@ -1214,7 +1214,7 @@ public void cssPageDescriptors() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssCharsetRule() throws Exception { test("CSSCharsetRule"); } @@ -1290,7 +1290,7 @@ public void cssKeyframesRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssMatrix() throws Exception { test("CSSMatrix"); } @@ -1332,7 +1332,7 @@ public void cssPageRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssPrimitiveValue() throws Exception { test("CSSPrimitiveValue"); } @@ -1406,7 +1406,7 @@ public void cssSupportsRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssUnknownRule() throws Exception { test("CSSUnknownRule"); } @@ -1417,7 +1417,7 @@ public void cssUnknownRule() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssValue() throws Exception { test("CSSValue"); } @@ -1426,7 +1426,7 @@ public void cssValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssValueList() throws Exception { test("CSSValueList"); } @@ -1435,7 +1435,7 @@ public void cssValueList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void cssViewportRule() throws Exception { test("CSSViewportRule"); } @@ -1462,7 +1462,7 @@ public void customEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStore() throws Exception { test("DataStore"); } @@ -1471,7 +1471,7 @@ public void dataStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreChangeEvent() throws Exception { test("DataStoreChangeEvent"); } @@ -1480,7 +1480,7 @@ public void dataStoreChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreCursor() throws Exception { test("DataStoreCursor"); } @@ -1489,7 +1489,7 @@ public void dataStoreCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dataStoreTask() throws Exception { test("DataStoreTask"); } @@ -1563,7 +1563,7 @@ public void decodeURIComponent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void dedicatedWorkerGlobalScope() throws Exception { test("DedicatedWorkerGlobalScope"); } @@ -1581,7 +1581,7 @@ public void delayNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceAcceleration() throws Exception { test("DeviceAcceleration"); } @@ -1590,7 +1590,7 @@ public void deviceAcceleration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceLightEvent() throws Exception { test("DeviceLightEvent"); } @@ -1617,7 +1617,7 @@ public void deviceOrientationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceProximityEvent() throws Exception { test("DeviceProximityEvent"); } @@ -1626,7 +1626,7 @@ public void deviceProximityEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceRotationRate() throws Exception { test("DeviceRotationRate"); } @@ -1635,7 +1635,7 @@ public void deviceRotationRate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceStorage() throws Exception { test("DeviceStorage"); } @@ -1644,7 +1644,7 @@ public void deviceStorage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void deviceStorageChangeEvent() throws Exception { test("DeviceStorageChangeEvent"); } @@ -1653,7 +1653,7 @@ public void deviceStorageChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryEntry() throws Exception { test("DirectoryEntry"); } @@ -1662,7 +1662,7 @@ public void directoryEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryEntrySync() throws Exception { test("DirectoryEntrySync"); } @@ -1671,7 +1671,7 @@ public void directoryEntrySync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryReader() throws Exception { test("DirectoryReader"); } @@ -1680,7 +1680,7 @@ public void directoryReader() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void directoryReaderSync() throws Exception { test("DirectoryReaderSync"); } @@ -1711,7 +1711,7 @@ public void documentFragment() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentOrShadowRoot() throws Exception { test("DocumentOrShadowRoot"); } @@ -1721,7 +1721,7 @@ public void documentOrShadowRoot() throws Exception { */ @Test @Alerts("function DocumentTimeline() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", EDGE = "exception", FF = "exception", FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", EDGE = "ReferenceError", FF = "ReferenceError", FF_ESR = "ReferenceError") public void documentTimeline() throws Exception { test("DocumentTimeline"); } @@ -1730,7 +1730,7 @@ public void documentTimeline() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void documentTouch() throws Exception { test("DocumentTouch"); } @@ -1750,7 +1750,7 @@ public void documentType() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplication() throws Exception { test("DOMApplication"); } @@ -1759,7 +1759,7 @@ public void domApplication() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplicationsManager() throws Exception { test("DOMApplicationsManager"); } @@ -1768,7 +1768,7 @@ public void domApplicationsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domApplicationsRegistry() throws Exception { test("DOMApplicationsRegistry"); } @@ -1777,7 +1777,7 @@ public void domApplicationsRegistry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domConfiguration() throws Exception { test("DOMConfiguration"); } @@ -1788,7 +1788,7 @@ public void domConfiguration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domCursor() throws Exception { test("DOMCursor"); } @@ -1798,8 +1798,8 @@ public void domCursor() throws Exception { */ @Test @Alerts(DEFAULT = "function DOMError() { [native code] }", - FF = "exception", - FF_ESR = "exception") + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void domError() throws Exception { test("DOMError"); } @@ -1808,7 +1808,7 @@ public void domError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domErrorHandler() throws Exception { test("DOMErrorHandler"); } @@ -1828,7 +1828,7 @@ public void domException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domHighResTimeStamp() throws Exception { test("DOMHighResTimeStamp"); } @@ -1848,7 +1848,7 @@ public void domImplementation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationList() throws Exception { test("DOMImplementationList"); } @@ -1857,7 +1857,7 @@ public void domImplementationList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationRegistry() throws Exception { test("DOMImplementationRegistry"); } @@ -1866,7 +1866,7 @@ public void domImplementationRegistry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domImplementationSource() throws Exception { test("DOMImplementationSource"); } @@ -1875,7 +1875,7 @@ public void domImplementationSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domLocator() throws Exception { test("DOMLocator"); } @@ -1902,7 +1902,7 @@ public void domMatrixReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domObject() throws Exception { test("DOMObject"); } @@ -1969,7 +1969,7 @@ public void domRectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domRequest() throws Exception { test("DOMRequest"); } @@ -1978,7 +1978,7 @@ public void domRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domSettableTokenList() throws Exception { test("DOMSettableTokenList"); } @@ -1987,7 +1987,7 @@ public void domSettableTokenList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domString() throws Exception { test("DOMString"); } @@ -2016,7 +2016,7 @@ public void domStringMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domTimeStamp() throws Exception { test("DOMTimeStamp"); } @@ -2036,7 +2036,7 @@ public void domTokenList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void domUserData() throws Exception { test("DOMUserData"); } @@ -2045,7 +2045,7 @@ public void domUserData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void doubleRange() throws Exception { test("DoubleRange"); } @@ -2083,7 +2083,7 @@ public void element() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void elementTraversal() throws Exception { test("ElementTraversal"); } @@ -2110,7 +2110,7 @@ public void encodeURIComponent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entity() throws Exception { test("Entity"); } @@ -2119,7 +2119,7 @@ public void entity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entityReference() throws Exception { test("EntityReference"); } @@ -2128,7 +2128,7 @@ public void entityReference() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entry() throws Exception { test("Entry"); } @@ -2137,7 +2137,7 @@ public void entry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void entrySync() throws Exception { test("EntrySync"); } @@ -2148,7 +2148,7 @@ public void entrySync() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void enumerator() throws Exception { test("Enumerator"); } @@ -2213,7 +2213,7 @@ public void event() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void eventListener() throws Exception { test("EventListener"); } @@ -2222,7 +2222,7 @@ public void eventListener() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void eventNode() throws Exception { test("EventNode"); } @@ -2249,7 +2249,7 @@ public void eventTarget() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_blend_minmax() throws Exception { test("EXT_blend_minmax"); } @@ -2258,7 +2258,7 @@ public void ext_blend_minmax() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_color_buffer_float() throws Exception { test("EXT_color_buffer_float"); } @@ -2267,7 +2267,7 @@ public void ext_color_buffer_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_color_buffer_half_float() throws Exception { test("EXT_color_buffer_half_float"); } @@ -2276,7 +2276,7 @@ public void ext_color_buffer_half_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_disjoint_timer_query() throws Exception { test("EXT_disjoint_timer_query"); } @@ -2285,7 +2285,7 @@ public void ext_disjoint_timer_query() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_frag_depth() throws Exception { test("EXT_frag_depth"); } @@ -2294,7 +2294,7 @@ public void ext_frag_depth() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_shader_texture_lod() throws Exception { test("EXT_shader_texture_lod"); } @@ -2303,7 +2303,7 @@ public void ext_shader_texture_lod() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_sRGB() throws Exception { test("EXT_sRGB"); } @@ -2312,7 +2312,7 @@ public void ext_sRGB() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void ext_texture_filter_anisotropic() throws Exception { test("EXT_texture_filter_anisotropic"); } @@ -2321,7 +2321,7 @@ public void ext_texture_filter_anisotropic() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void extendableEvent() throws Exception { test("ExtendableEvent"); } @@ -2330,7 +2330,7 @@ public void extendableEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void extendableMessageEvent() throws Exception { test("ExtendableMessageEvent"); } @@ -2341,7 +2341,7 @@ public void extendableMessageEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function External() { [native code] }", EDGE = "function External() { [native code] }") public void external() throws Exception { @@ -2352,7 +2352,7 @@ public void external() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function FederatedCredential() { [native code] }", EDGE = "function FederatedCredential() { [native code] }") public void federatedCredential() throws Exception { @@ -2363,7 +2363,7 @@ public void federatedCredential() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fetchEvent() throws Exception { test("FetchEvent"); } @@ -2381,7 +2381,7 @@ public void file() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileEntry() throws Exception { test("FileEntry"); } @@ -2390,7 +2390,7 @@ public void fileEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileEntrySync() throws Exception { test("FileEntrySync"); } @@ -2399,7 +2399,7 @@ public void fileEntrySync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileError() throws Exception { test("FileError"); } @@ -2408,7 +2408,7 @@ public void fileError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileException() throws Exception { test("FileException"); } @@ -2417,7 +2417,7 @@ public void fileException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileHandle() throws Exception { test("FileHandle"); } @@ -2444,7 +2444,7 @@ public void fileReader() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileReaderSync() throws Exception { test("FileReaderSync"); } @@ -2453,7 +2453,7 @@ public void fileReaderSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileRequest() throws Exception { test("FileRequest"); } @@ -2462,7 +2462,7 @@ public void fileRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FileSystem() { [native code] }", FF_ESR = "function FileSystem() { [native code] }") public void fileSystem() throws Exception { @@ -2473,7 +2473,7 @@ public void fileSystem() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FileSystemDirectoryEntry() { [native code] }", FF_ESR = "function FileSystemDirectoryEntry() { [native code] }") public void fileSystemDirectoryEntry() throws Exception { @@ -2484,7 +2484,7 @@ public void fileSystemDirectoryEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FileSystemDirectoryReader() { [native code] }", FF_ESR = "function FileSystemDirectoryReader() { [native code] }") public void fileSystemDirectoryReader() throws Exception { @@ -2495,7 +2495,7 @@ public void fileSystemDirectoryReader() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FileSystemEntry() { [native code] }", FF_ESR = "function FileSystemEntry() { [native code] }") public void fileSystemEntry() throws Exception { @@ -2506,7 +2506,7 @@ public void fileSystemEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FileSystemFileEntry() { [native code] }", FF_ESR = "function FileSystemFileEntry() { [native code] }") public void fileSystemFileEntry() throws Exception { @@ -2517,7 +2517,7 @@ public void fileSystemFileEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemFlags() throws Exception { test("FileSystemFlags"); } @@ -2526,7 +2526,7 @@ public void fileSystemFlags() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fileSystemSync() throws Exception { test("FileSystemSync"); } @@ -2557,7 +2557,7 @@ public void float64Array() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void fMRadio() throws Exception { test("FMRadio"); } @@ -2584,7 +2584,7 @@ public void fontFace() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function FontFaceSet() { [native code] }", FF_ESR = "function FontFaceSet() { [native code] }") public void fontFaceSet() throws Exception { @@ -2595,7 +2595,7 @@ public void fontFaceSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void formChild() throws Exception { test("FormChild"); } @@ -2615,7 +2615,7 @@ public void formData() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void formField() throws Exception { test("FormField"); } @@ -2671,7 +2671,7 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void generator() throws Exception { test("Generator"); } @@ -2680,7 +2680,7 @@ public void generator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void generatorFunction() throws Exception { test("GeneratorFunction"); } @@ -2733,7 +2733,7 @@ public void geolocationPositionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void gestureEvent() throws Exception { test("GestureEvent"); } @@ -2742,7 +2742,7 @@ public void gestureEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void globalEventHandlers() throws Exception { test("GlobalEventHandlers"); } @@ -2751,7 +2751,7 @@ public void globalEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void globalFetch() throws Exception { test("GlobalFetch"); } @@ -2791,7 +2791,7 @@ public void history() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void hMDVRDevice() throws Exception { test("HMDVRDevice"); } @@ -2824,7 +2824,7 @@ public void htmlAnchorElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlAppletElement() throws Exception { test("HTMLAppletElement"); } @@ -2868,7 +2868,7 @@ public void htmlBaseElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBaseFontElement() throws Exception { test("HTMLBaseFontElement"); } @@ -2879,7 +2879,7 @@ public void htmlBaseFontElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBGSoundElement() throws Exception { test("HTMLBGSoundElement"); } @@ -2890,7 +2890,7 @@ public void htmlBGSoundElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBlockElement() throws Exception { test("HTMLBlockElement"); } @@ -2901,7 +2901,7 @@ public void htmlBlockElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlBlockQuoteElement() throws Exception { test("HTMLBlockQuoteElement"); } @@ -2967,7 +2967,7 @@ public void htmlCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlCommentElement() throws Exception { test("HTMLCommentElement"); } @@ -2976,7 +2976,7 @@ public void htmlCommentElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlContentElement() throws Exception { test("HTMLContentElement"); } @@ -3007,7 +3007,7 @@ public void htmlDataListElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDDElement() throws Exception { test("HTMLDDElement"); } @@ -3018,7 +3018,7 @@ public void htmlDDElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDefinitionDescriptionElement() throws Exception { test("HTMLDefinitionDescriptionElement"); } @@ -3029,7 +3029,7 @@ public void htmlDefinitionDescriptionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDefinitionTermElement() throws Exception { test("HTMLDefinitionTermElement"); } @@ -3106,7 +3106,7 @@ public void htmlDocument() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlDTElement() throws Exception { test("HTMLDTElement"); } @@ -3203,7 +3203,7 @@ public void htmlFrameSetElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlGenericElement() throws Exception { test("HTMLGenericElement"); } @@ -3256,7 +3256,7 @@ public void htmlHtmlElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlHyperlinkElementUtils() throws Exception { test("HTMLHyperlinkElementUtils"); } @@ -3289,7 +3289,7 @@ public void htmlImageElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlInlineQuotationElement() throws Exception { test("HTMLInlineQuotationElement"); } @@ -3311,7 +3311,7 @@ public void htmlInputElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlIsIndexElement() throws Exception { test("HTMLIsIndexElement"); } @@ -3320,7 +3320,7 @@ public void htmlIsIndexElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlKeygenElement() throws Exception { test("HTMLKeygenElement"); } @@ -3375,7 +3375,7 @@ public void htmlLinkElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlListElement() throws Exception { test("HTMLListElement"); } @@ -3428,7 +3428,7 @@ public void htmlMenuElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlMenuItemElement() throws Exception { test("HTMLMenuItemElement"); } @@ -3472,7 +3472,7 @@ public void htmlModElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlNextIdElement() throws Exception { test("HTMLNextIdElement"); } @@ -3481,7 +3481,7 @@ public void htmlNextIdElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlNoShowElement() throws Exception { test("HTMLNoShowElement"); } @@ -3580,7 +3580,7 @@ public void htmlParamElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlPhraseElement() throws Exception { test("HTMLPhraseElement"); } @@ -3655,7 +3655,7 @@ public void htmlSelectElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlShadowElement() throws Exception { test("HTMLShadowElement"); } @@ -3741,7 +3741,7 @@ public void htmlTableColElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableComponent() throws Exception { test("HTMLTableComponent"); } @@ -3752,7 +3752,7 @@ public void htmlTableComponent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableDataCellElement() throws Exception { test("HTMLTableDataCellElement"); } @@ -3774,7 +3774,7 @@ public void htmlTableElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTableHeaderCellElement() throws Exception { test("HTMLTableHeaderCellElement"); } @@ -3825,7 +3825,7 @@ public void htmlTextAreaElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlTextElement() throws Exception { test("HTMLTextElement"); } @@ -3900,7 +3900,7 @@ public void htmlVideoElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void htmlWBRElement() throws Exception { test("HTMLWBRElement"); } @@ -3918,7 +3918,7 @@ public void idbCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbCursorSync() throws Exception { test("IDBCursorSync"); } @@ -3945,7 +3945,7 @@ public void idbDatabase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbDatabaseException() throws Exception { test("IDBDatabaseException"); } @@ -3954,7 +3954,7 @@ public void idbDatabaseException() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbDatabaseSync() throws Exception { test("IDBDatabaseSync"); } @@ -3963,7 +3963,7 @@ public void idbDatabaseSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbEnvironment() throws Exception { test("IDBEnvironment"); } @@ -3972,7 +3972,7 @@ public void idbEnvironment() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbEnvironmentSync() throws Exception { test("IDBEnvironmentSync"); } @@ -3992,7 +3992,7 @@ public void idbFactory() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbFactorySync() throws Exception { test("IDBFactorySync"); } @@ -4010,7 +4010,7 @@ public void idbIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbIndexSync() throws Exception { test("IDBIndexSync"); } @@ -4028,7 +4028,7 @@ public void idbKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbLocaleAwareKeyRange() throws Exception { test("IDBLocaleAwareKeyRange"); } @@ -4037,7 +4037,7 @@ public void idbLocaleAwareKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbMutableFile() throws Exception { test("IDBMutableFile"); } @@ -4055,7 +4055,7 @@ public void idbObjectStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbObjectStoreSync() throws Exception { test("IDBObjectStoreSync"); } @@ -4091,7 +4091,7 @@ public void idbTransaction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbTransactionSync() throws Exception { test("IDBTransactionSync"); } @@ -4109,7 +4109,7 @@ public void idbVersionChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void idbVersionChangeRequest() throws Exception { test("IDBVersionChangeRequest"); } @@ -4118,7 +4118,7 @@ public void idbVersionChangeRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void identityManager() throws Exception { test("IdentityManager"); } @@ -4165,7 +4165,7 @@ public void imageBitmap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void imageBitmapFactories() throws Exception { test("ImageBitmapFactories"); } @@ -4192,7 +4192,7 @@ public void imageData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void index() throws Exception { test("Index"); } @@ -4201,7 +4201,7 @@ public void index() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void indexedDB() throws Exception { test("IndexedDB"); } @@ -4219,7 +4219,7 @@ public void infinity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function InputDeviceCapabilities() { [native code] }", EDGE = "function InputDeviceCapabilities() { [native code] }") public void inputDeviceCapabilities() throws Exception { @@ -4239,7 +4239,7 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void inputMethodContext() throws Exception { test("InputMethodContext"); } @@ -4248,7 +4248,7 @@ public void inputMethodContext() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void installEvent() throws Exception { test("InstallEvent"); } @@ -4257,7 +4257,7 @@ public void installEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "null", FF_ESR = "null") public void installTrigger() throws Exception { @@ -4268,7 +4268,7 @@ public void installTrigger() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void installTriggerImpl() throws Exception { test("InstallTriggerImpl"); } @@ -4310,7 +4310,7 @@ public void int8Array() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function InternalError() { [native code] }", FF_ESR = "function InternalError() { [native code] }") @HtmlUnitNYI(CHROME = "function InternalError() { [native code] }", @@ -4398,7 +4398,7 @@ public void isNaN() throws Exception { */ @Test @Alerts(DEFAULT = "function Iterator() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void iterator() throws Exception { test("Iterator"); } @@ -4436,7 +4436,7 @@ public void keyframeEffect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void keyframeEffectReadOnly() throws Exception { test("KeyframeEffectReadOnly"); } @@ -4445,7 +4445,7 @@ public void keyframeEffectReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n() throws Exception { test("L10n"); } @@ -4454,7 +4454,7 @@ public void l10n() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_formatValue() throws Exception { test("L10n.formatValue"); } @@ -4463,7 +4463,7 @@ public void l10n_formatValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_get() throws Exception { test("L10n.get"); } @@ -4472,7 +4472,7 @@ public void l10n_get() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_code() throws Exception { test("L10n.language.code"); } @@ -4481,7 +4481,7 @@ public void l10n_language_code() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_direction() throws Exception { test("L10n.language.direction"); } @@ -4490,7 +4490,7 @@ public void l10n_language_direction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_once() throws Exception { test("L10n.once"); } @@ -4499,7 +4499,7 @@ public void l10n_once() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_ready() throws Exception { test("L10n.ready"); } @@ -4508,7 +4508,7 @@ public void l10n_ready() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_readyState() throws Exception { test("L10n.readyState"); } @@ -4517,7 +4517,7 @@ public void l10n_readyState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_setAttributes() throws Exception { test("L10n.setAttributes"); } @@ -4526,7 +4526,7 @@ public void l10n_setAttributes() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void linkStyle() throws Exception { test("LinkStyle"); } @@ -4535,7 +4535,7 @@ public void linkStyle() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localFileSystem() throws Exception { test("LocalFileSystem"); } @@ -4544,7 +4544,7 @@ public void localFileSystem() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localFileSystemSync() throws Exception { test("LocalFileSystemSync"); } @@ -4555,7 +4555,7 @@ public void localFileSystemSync() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void localMediaStream() throws Exception { test("LocalMediaStream"); } @@ -4576,7 +4576,7 @@ public void location() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void lockedFile() throws Exception { test("LockedFile"); } @@ -4585,7 +4585,7 @@ public void lockedFile() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void longRange() throws Exception { test("LongRange"); } @@ -4657,7 +4657,7 @@ public void mediaError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function MediaKeyError() { [native code] }", FF_ESR = "function MediaKeyError() { [native code] }") public void mediaKeyError() throws Exception { @@ -4668,7 +4668,7 @@ public void mediaKeyError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeyEvent() throws Exception { test("MediaKeyEvent"); } @@ -4722,7 +4722,7 @@ public void mediaKeySystemAccess() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaKeySystemConfiguration() throws Exception { test("MediaKeySystemConfiguration"); } @@ -4760,7 +4760,7 @@ public void mediaQueryListEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaQueryListListener() throws Exception { test("MediaQueryListListener"); } @@ -4814,7 +4814,7 @@ public void mediaStreamAudioSourceNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaStreamConstraints() throws Exception { test("MediaStreamConstraints"); } @@ -4850,7 +4850,7 @@ public void mediaStreamTrackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackConstraints() throws Exception { test("MediaTrackConstraints"); } @@ -4859,7 +4859,7 @@ public void mediaTrackConstraints() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackSettings() throws Exception { test("MediaTrackSettings"); } @@ -4868,7 +4868,7 @@ public void mediaTrackSettings() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mediaTrackSupportedConstraints() throws Exception { test("MediaTrackSupportedConstraints"); } @@ -4910,7 +4910,7 @@ public void messagePort() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void metadata() throws Exception { test("Metadata"); } @@ -5024,7 +5024,7 @@ public void mouseEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function MouseScrollEvent() { [native code] }", FF_ESR = "function MouseScrollEvent() { [native code] }") public void mouseScrollEvent() throws Exception { @@ -5035,7 +5035,7 @@ public void mouseScrollEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mouseWheelEvent() throws Exception { test("MouseWheelEvent"); } @@ -5044,7 +5044,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivity() throws Exception { test("MozActivity"); } @@ -5053,7 +5053,7 @@ public void mozActivity() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivityOptions() throws Exception { test("MozActivityOptions"); } @@ -5062,7 +5062,7 @@ public void mozActivityOptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozActivityRequestHandler() throws Exception { test("MozActivityRequestHandler"); } @@ -5071,7 +5071,7 @@ public void mozActivityRequestHandler() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozAlarmsManager() throws Exception { test("MozAlarmsManager"); } @@ -5080,7 +5080,7 @@ public void mozAlarmsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozContact() throws Exception { test("MozContact"); } @@ -5089,7 +5089,7 @@ public void mozContact() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozContactChangeEvent() throws Exception { test("MozContactChangeEvent"); } @@ -5098,7 +5098,7 @@ public void mozContactChangeEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozCSSKeyframesRule() throws Exception { test("MozCSSKeyframesRule"); } @@ -5107,7 +5107,7 @@ public void mozCSSKeyframesRule() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozIccManager() throws Exception { test("MozIccManager"); } @@ -5116,7 +5116,7 @@ public void mozIccManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMmsEvent() throws Exception { test("MozMmsEvent"); } @@ -5125,7 +5125,7 @@ public void mozMmsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMmsMessage() throws Exception { test("MozMmsMessage"); } @@ -5134,7 +5134,7 @@ public void mozMmsMessage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileCellInfo() throws Exception { test("MozMobileCellInfo"); } @@ -5143,7 +5143,7 @@ public void mozMobileCellInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileCFInfo() throws Exception { test("MozMobileCFInfo"); } @@ -5152,7 +5152,7 @@ public void mozMobileCFInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileConnection() throws Exception { test("MozMobileConnection"); } @@ -5161,7 +5161,7 @@ public void mozMobileConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileConnectionInfo() throws Exception { test("MozMobileConnectionInfo"); } @@ -5170,7 +5170,7 @@ public void mozMobileConnectionInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileICCInfo() throws Exception { test("MozMobileICCInfo"); } @@ -5179,7 +5179,7 @@ public void mozMobileICCInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileMessageManager() throws Exception { test("MozMobileMessageManager"); } @@ -5188,7 +5188,7 @@ public void mozMobileMessageManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileMessageThread() throws Exception { test("MozMobileMessageThread"); } @@ -5197,7 +5197,7 @@ public void mozMobileMessageThread() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozMobileNetworkInfo() throws Exception { test("MozMobileNetworkInfo"); } @@ -5206,7 +5206,7 @@ public void mozMobileNetworkInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNDEFRecord() throws Exception { test("MozNDEFRecord"); } @@ -5215,7 +5215,7 @@ public void mozNDEFRecord() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStats() throws Exception { test("MozNetworkStats"); } @@ -5224,7 +5224,7 @@ public void mozNetworkStats() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStatsData() throws Exception { test("MozNetworkStatsData"); } @@ -5233,7 +5233,7 @@ public void mozNetworkStatsData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNetworkStatsManager() throws Exception { test("MozNetworkStatsManager"); } @@ -5242,7 +5242,7 @@ public void mozNetworkStatsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFC() throws Exception { test("MozNFC"); } @@ -5251,7 +5251,7 @@ public void mozNFC() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFCPeer() throws Exception { test("MozNFCPeer"); } @@ -5260,7 +5260,7 @@ public void mozNFCPeer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozNFCTag() throws Exception { test("MozNFCTag"); } @@ -5269,7 +5269,7 @@ public void mozNFCTag() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozPowerManager() throws Exception { test("MozPowerManager"); } @@ -5278,7 +5278,7 @@ public void mozPowerManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCIceCandidate() throws Exception { test("mozRTCIceCandidate"); } @@ -5287,7 +5287,7 @@ public void mozRTCIceCandidate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCPeerConnection() throws Exception { test("mozRTCPeerConnection"); } @@ -5296,7 +5296,7 @@ public void mozRTCPeerConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozRTCSessionDescription() throws Exception { test("mozRTCSessionDescription"); } @@ -5305,7 +5305,7 @@ public void mozRTCSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSettingsEvent() throws Exception { test("MozSettingsEvent"); } @@ -5314,7 +5314,7 @@ public void mozSettingsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsEvent() throws Exception { test("MozSmsEvent"); } @@ -5323,7 +5323,7 @@ public void mozSmsEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsFilter() throws Exception { test("MozSmsFilter"); } @@ -5332,7 +5332,7 @@ public void mozSmsFilter() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsManager() throws Exception { test("MozSmsManager"); } @@ -5341,7 +5341,7 @@ public void mozSmsManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsMessage() throws Exception { test("MozSmsMessage"); } @@ -5350,7 +5350,7 @@ public void mozSmsMessage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSmsSegmentInfo() throws Exception { test("MozSmsSegmentInfo"); } @@ -5359,7 +5359,7 @@ public void mozSmsSegmentInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozSocial() throws Exception { test("MozSocial"); } @@ -5368,7 +5368,7 @@ public void mozSocial() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozTimeManager() throws Exception { test("MozTimeManager"); } @@ -5377,7 +5377,7 @@ public void mozTimeManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemail() throws Exception { test("MozVoicemail"); } @@ -5386,7 +5386,7 @@ public void mozVoicemail() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemailEvent() throws Exception { test("MozVoicemailEvent"); } @@ -5395,7 +5395,7 @@ public void mozVoicemailEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozVoicemailStatus() throws Exception { test("MozVoicemailStatus"); } @@ -5404,7 +5404,7 @@ public void mozVoicemailStatus() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiConnectionInfoEvent() throws Exception { test("MozWifiConnectionInfoEvent"); } @@ -5413,7 +5413,7 @@ public void mozWifiConnectionInfoEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiP2pGroupOwner() throws Exception { test("MozWifiP2pGroupOwner"); } @@ -5422,7 +5422,7 @@ public void mozWifiP2pGroupOwner() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiP2pManager() throws Exception { test("MozWifiP2pManager"); } @@ -5431,7 +5431,7 @@ public void mozWifiP2pManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void mozWifiStatusChangeEvent() throws Exception { test("MozWifiStatusChangeEvent"); } @@ -5440,7 +5440,7 @@ public void mozWifiStatusChangeEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msCurrentStyleCSSProperties() throws Exception { test("MSCurrentStyleCSSProperties"); } @@ -5449,7 +5449,7 @@ public void msCurrentStyleCSSProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msGestureEvent() throws Exception { test("MSGestureEvent"); } @@ -5458,7 +5458,7 @@ public void msGestureEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void msStyleCSSProperties() throws Exception { test("MSStyleCSSProperties"); } @@ -5469,7 +5469,7 @@ public void msStyleCSSProperties() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function MutationEvent() { [native code] }", FF_ESR = "function MutationEvent() { [native code] }") public void mutationEvent() throws Exception { @@ -5509,7 +5509,7 @@ public void namedNodeMap() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nameList() throws Exception { test("NameList"); } @@ -5520,7 +5520,7 @@ public void nameList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void namespace() throws Exception { test("Namespace"); } @@ -5531,7 +5531,7 @@ public void namespace() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void namespaceCollection() throws Exception { test("NamespaceCollection"); } @@ -5551,7 +5551,7 @@ public void naN() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nativeXPathNSResolver() throws Exception { test("NativeXPathNSResolver"); } @@ -5571,7 +5571,7 @@ public void navigator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorConcurrentHardware() throws Exception { test("NavigatorConcurrentHardware"); } @@ -5580,7 +5580,7 @@ public void navigatorConcurrentHardware() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorGeolocation() throws Exception { test("NavigatorGeolocation"); } @@ -5589,7 +5589,7 @@ public void navigatorGeolocation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorID() throws Exception { test("NavigatorID"); } @@ -5598,7 +5598,7 @@ public void navigatorID() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorLanguage() throws Exception { test("NavigatorLanguage"); } @@ -5607,7 +5607,7 @@ public void navigatorLanguage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorOnLine() throws Exception { test("NavigatorOnLine"); } @@ -5616,7 +5616,7 @@ public void navigatorOnLine() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorPlugins() throws Exception { test("NavigatorPlugins"); } @@ -5625,7 +5625,7 @@ public void navigatorPlugins() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void navigatorStorage() throws Exception { test("NavigatorStorage"); } @@ -5634,7 +5634,7 @@ public void navigatorStorage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function NetworkInformation() { [native code] }", EDGE = "function NetworkInformation() { [native code] }") public void networkInformation() throws Exception { @@ -5687,7 +5687,7 @@ public void nodeList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void nonDocumentTypeChildNode() throws Exception { test("NonDocumentTypeChildNode"); } @@ -5696,7 +5696,7 @@ public void nonDocumentTypeChildNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notation() throws Exception { test("Notation"); } @@ -5716,7 +5716,7 @@ public void notification() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notificationEvent() throws Exception { test("NotificationEvent"); } @@ -5725,7 +5725,7 @@ public void notificationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void notifyAudioAvailableEvent() throws Exception { test("NotifyAudioAvailableEvent"); } @@ -5752,7 +5752,7 @@ public void object() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_element_index_uint() throws Exception { test("OES_element_index_uint"); } @@ -5761,7 +5761,7 @@ public void oes_element_index_uint() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_standard_derivatives() throws Exception { test("OES_standard_derivatives"); } @@ -5770,7 +5770,7 @@ public void oes_standard_derivatives() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_float() throws Exception { test("OES_texture_float"); } @@ -5779,7 +5779,7 @@ public void oes_texture_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_float_linear() throws Exception { test("OES_texture_float_linear"); } @@ -5788,7 +5788,7 @@ public void oes_texture_float_linear() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_half_float() throws Exception { test("OES_texture_half_float"); } @@ -5797,7 +5797,7 @@ public void oes_texture_half_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_texture_half_float_linear() throws Exception { test("OES_texture_half_float_linear"); } @@ -5806,7 +5806,7 @@ public void oes_texture_half_float_linear() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void oes_vertex_array_object() throws Exception { test("OES_vertex_array_object"); } @@ -5833,7 +5833,7 @@ public void offlineAudioContext() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void offlineResourceList() throws Exception { test("OfflineResourceList"); } @@ -5843,10 +5843,10 @@ public void offlineResourceList() throws Exception { */ @Test @Alerts("function OffscreenCanvas() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", + EDGE = "ReferenceError", + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void offscreenCanvas() throws Exception { test("OffscreenCanvas"); } @@ -5875,7 +5875,7 @@ public void oscillatorNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void overflowEvent() throws Exception { test("OverflowEvent"); } @@ -5902,7 +5902,7 @@ public void pannerNode() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void parallelArray() throws Exception { test("ParallelArray"); } @@ -5911,7 +5911,7 @@ public void parallelArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void parentNode() throws Exception { test("ParentNode"); } @@ -5938,7 +5938,7 @@ public void parseInt() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PasswordCredential() { [native code] }", EDGE = "function PasswordCredential() { [native code] }") public void passwordCredential() throws Exception { @@ -5960,7 +5960,7 @@ public void path2D() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PaymentAddress() { [native code] }", EDGE = "function PaymentAddress() { [native code] }") public void paymentAddress() throws Exception { @@ -5971,7 +5971,7 @@ public void paymentAddress() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PaymentRequest() { [native code] }", EDGE = "function PaymentRequest() { [native code] }") public void paymentRequest() throws Exception { @@ -5982,7 +5982,7 @@ public void paymentRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PaymentResponse() { [native code] }", EDGE = "function PaymentResponse() { [native code] }") public void paymentResponse() throws Exception { @@ -6011,7 +6011,7 @@ public void performanceEntry() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void performanceFrameTiming() throws Exception { test("PerformanceFrameTiming"); } @@ -6092,7 +6092,7 @@ public void performanceTiming() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void periodicSyncEvent() throws Exception { test("PeriodicSyncEvent"); } @@ -6101,7 +6101,7 @@ public void periodicSyncEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PeriodicSyncManager() { [native code] }", EDGE = "function PeriodicSyncManager() { [native code] }") public void periodicSyncManager() throws Exception { @@ -6112,7 +6112,7 @@ public void periodicSyncManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void periodicSyncRegistration() throws Exception { test("PeriodicSyncRegistration"); } @@ -6139,7 +6139,7 @@ public void permissions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void permissionSettings() throws Exception { test("PermissionSettings"); } @@ -6179,7 +6179,7 @@ public void pluginArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void point() throws Exception { test("Point"); } @@ -6208,7 +6208,7 @@ public void popStateEvent() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void popup() throws Exception { test("Popup"); } @@ -6217,7 +6217,7 @@ public void popup() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void portCollection() throws Exception { test("PortCollection"); } @@ -6228,7 +6228,7 @@ public void portCollection() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void position() throws Exception { test("Position"); } @@ -6237,7 +6237,7 @@ public void position() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionError() throws Exception { test("PositionError"); } @@ -6246,7 +6246,7 @@ public void positionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionOptions() throws Exception { test("PositionOptions"); } @@ -6255,7 +6255,7 @@ public void positionOptions() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void positionSensorVRDevice() throws Exception { test("PositionSensorVRDevice"); } @@ -6264,7 +6264,7 @@ public void positionSensorVRDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void powerManager() throws Exception { test("PowerManager"); } @@ -6273,7 +6273,7 @@ public void powerManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function Presentation() { [native code] }", EDGE = "function Presentation() { [native code] }") public void presentation() throws Exception { @@ -6284,7 +6284,7 @@ public void presentation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationAvailability() { [native code] }", EDGE = "function PresentationAvailability() { [native code] }") public void presentationAvailability() throws Exception { @@ -6295,7 +6295,7 @@ public void presentationAvailability() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationConnection() { [native code] }", EDGE = "function PresentationConnection() { [native code] }") public void presentationConnection() throws Exception { @@ -6306,7 +6306,7 @@ public void presentationConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationConnectionAvailableEvent() { [native code] }", EDGE = "function PresentationConnectionAvailableEvent() { [native code] }") public void presentationConnectionAvailableEvent() throws Exception { @@ -6317,7 +6317,7 @@ public void presentationConnectionAvailableEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void presentationConnectionClosedEvent() throws Exception { test("PresentationConnectionClosedEvent"); } @@ -6326,7 +6326,7 @@ public void presentationConnectionClosedEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationConnectionCloseEvent() { [native code] }", EDGE = "function PresentationConnectionCloseEvent() { [native code] }") public void presentationConnectionCloseEvent() throws Exception { @@ -6337,11 +6337,11 @@ public void presentationConnectionCloseEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationConnectionList() { [native code] }", EDGE = "function PresentationConnectionList() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", + EDGE = "ReferenceError") public void presentationConnectionList() throws Exception { test("PresentationConnectionList"); } @@ -6350,11 +6350,11 @@ public void presentationConnectionList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationReceiver() { [native code] }", EDGE = "function PresentationReceiver() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", + EDGE = "ReferenceError") public void presentationReceiver() throws Exception { test("PresentationReceiver"); } @@ -6363,7 +6363,7 @@ public void presentationReceiver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function PresentationRequest() { [native code] }", EDGE = "function PresentationRequest() { [native code] }") public void presentationRequest() throws Exception { @@ -6403,7 +6403,7 @@ public void promise() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void promiseRejection() throws Exception { test("PromiseRejection"); } @@ -6421,7 +6421,7 @@ public void promiseRejectionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void promiseResolver() throws Exception { test("PromiseResolver"); } @@ -6439,7 +6439,7 @@ public void proxy() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushEvent() throws Exception { test("PushEvent"); } @@ -6457,7 +6457,7 @@ public void pushManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushMessageData() throws Exception { test("PushMessageData"); } @@ -6466,7 +6466,7 @@ public void pushMessageData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void pushRegistrationManager() throws Exception { test("PushRegistrationManager"); } @@ -6502,7 +6502,7 @@ public void radioNodeList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void randomSource() throws Exception { test("RandomSource"); } @@ -6531,7 +6531,7 @@ public void rangeError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void readableByteStream() throws Exception { test("ReadableByteStream"); } @@ -6576,7 +6576,7 @@ public void regExp() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function RemotePlayback() { [native code] }", EDGE = "function RemotePlayback() { [native code] }") public void remotePlayback() throws Exception { @@ -6587,7 +6587,7 @@ public void remotePlayback() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void renderingContext() throws Exception { test("RenderingContext"); } @@ -6616,7 +6616,7 @@ public void response() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rowContainer() throws Exception { test("RowContainer"); } @@ -6634,7 +6634,7 @@ public void rtcCertificate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcConfiguration() throws Exception { test("RTCConfiguration"); } @@ -6644,10 +6644,10 @@ public void rtcConfiguration() throws Exception { */ @Test @Alerts("function RTCDataChannel() { [native code] }") - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception", - FF = "exception", - FF_ESR = "exception") + @HtmlUnitNYI(CHROME = "ReferenceError", + EDGE = "ReferenceError", + FF = "ReferenceError", + FF_ESR = "ReferenceError") public void rtcDataChannel() throws Exception { test("RTCDataChannel"); } @@ -6674,7 +6674,7 @@ public void rtcIceCandidate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIceServer() throws Exception { test("RTCIceServer"); } @@ -6683,7 +6683,7 @@ public void rtcIceServer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityAssertion() throws Exception { test("RTCIdentityAssertion"); } @@ -6692,7 +6692,7 @@ public void rtcIdentityAssertion() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityErrorEvent() throws Exception { test("RTCIdentityErrorEvent"); } @@ -6701,7 +6701,7 @@ public void rtcIdentityErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcIdentityEvent() throws Exception { test("RTCIdentityEvent"); } @@ -6746,7 +6746,7 @@ public void rtcSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void rtcSessionDescriptionCallback() throws Exception { test("RTCSessionDescriptionCallback"); } @@ -6831,7 +6831,7 @@ public void serviceWorkerContainer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerGlobalScope() throws Exception { test("ServiceWorkerGlobalScope"); } @@ -6840,7 +6840,7 @@ public void serviceWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerMessageEvent() throws Exception { test("ServiceWorkerMessageEvent"); } @@ -6858,7 +6858,7 @@ public void serviceWorkerRegistration() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void serviceWorkerState() throws Exception { test("ServiceWorkerState"); } @@ -6876,7 +6876,7 @@ public void set() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void settingsLock() throws Exception { test("SettingsLock"); } @@ -6885,7 +6885,7 @@ public void settingsLock() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void settingsManager() throws Exception { test("SettingsManager"); } @@ -6905,7 +6905,7 @@ public void shadowRoot() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedArrayBuffer() throws Exception { test("SharedArrayBuffer"); } @@ -6914,7 +6914,7 @@ public void sharedArrayBuffer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedKeyframeList() throws Exception { test("SharedKeyframeList"); } @@ -6934,7 +6934,7 @@ public void sharedWorker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void sharedWorkerGlobalScope() throws Exception { test("SharedWorkerGlobalScope"); } @@ -6943,7 +6943,7 @@ public void sharedWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd() throws Exception { test("SIMD"); } @@ -6952,7 +6952,7 @@ public void simd() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool16x8() throws Exception { test("SIMD.Bool16x8"); } @@ -6961,7 +6961,7 @@ public void simd_Bool16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool32x4() throws Exception { test("SIMD.Bool32x4"); } @@ -6970,7 +6970,7 @@ public void simd_Bool32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool64x2() throws Exception { test("SIMD.Bool64x2"); } @@ -6979,7 +6979,7 @@ public void simd_Bool64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool8x16() throws Exception { test("SIMD.Bool8x16"); } @@ -6988,7 +6988,7 @@ public void simd_Bool8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float32x4() throws Exception { test("SIMD.float32x4"); } @@ -6997,7 +6997,7 @@ public void simd_float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float32x4() throws Exception { test("SIMD.Float32x4"); } @@ -7006,7 +7006,7 @@ public void simd_Float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float64x2() throws Exception { test("SIMD.float64x2"); } @@ -7015,7 +7015,7 @@ public void simd_float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float64x2() throws Exception { test("SIMD.Float64x2"); } @@ -7024,7 +7024,7 @@ public void simd_Float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int16x8() throws Exception { test("SIMD.int16x8"); } @@ -7033,7 +7033,7 @@ public void simd_int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int16x8() throws Exception { test("SIMD.Int16x8"); } @@ -7042,7 +7042,7 @@ public void simd_Int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int32x4() throws Exception { test("SIMD.int32x4"); } @@ -7051,7 +7051,7 @@ public void simd_int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int32x4() throws Exception { test("SIMD.Int32x4"); } @@ -7060,7 +7060,7 @@ public void simd_Int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int8x16() throws Exception { test("SIMD.int8x16"); } @@ -7069,7 +7069,7 @@ public void simd_int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int8x16() throws Exception { test("SIMD.Int8x16"); } @@ -7078,7 +7078,7 @@ public void simd_Int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint16x8() throws Exception { test("SIMD.Uint16x8"); } @@ -7087,7 +7087,7 @@ public void simd_Uint16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint32x4() throws Exception { test("SIMD.Uint32x4"); } @@ -7096,7 +7096,7 @@ public void simd_Uint32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint8x16() throws Exception { test("SIMD.Uint8x16"); } @@ -7107,7 +7107,7 @@ public void simd_Uint8x16() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simpleArray() throws Exception { test("SimpleArray"); } @@ -7116,7 +7116,7 @@ public void simpleArray() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void siteBoundCredential() throws Exception { test("SiteBoundCredential"); } @@ -7143,7 +7143,7 @@ public void sourceBufferList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechGrammar() throws Exception { test("SpeechGrammar"); } @@ -7152,7 +7152,7 @@ public void speechGrammar() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechGrammarList() throws Exception { test("SpeechGrammarList"); } @@ -7161,7 +7161,7 @@ public void speechGrammarList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognition() throws Exception { test("SpeechRecognition"); } @@ -7170,7 +7170,7 @@ public void speechRecognition() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionAlternative() throws Exception { test("SpeechRecognitionAlternative"); } @@ -7179,7 +7179,7 @@ public void speechRecognitionAlternative() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionError() throws Exception { test("SpeechRecognitionError"); } @@ -7188,7 +7188,7 @@ public void speechRecognitionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionErrorEvent() throws Exception { test("SpeechRecognitionErrorEvent"); } @@ -7197,7 +7197,7 @@ public void speechRecognitionErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionEvent() throws Exception { test("SpeechRecognitionEvent"); } @@ -7206,7 +7206,7 @@ public void speechRecognitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionResult() throws Exception { test("SpeechRecognitionResult"); } @@ -7215,7 +7215,7 @@ public void speechRecognitionResult() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void speechRecognitionResultList() throws Exception { test("SpeechRecognitionResultList"); } @@ -7269,7 +7269,7 @@ public void speechSynthesisVoice() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void staticNodeList() throws Exception { test("StaticNodeList"); } @@ -7289,7 +7289,7 @@ public void stereoPannerNode() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void stopIteration() throws Exception { test("StopIteration"); } @@ -7309,7 +7309,7 @@ public void storage() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storageEstimate() throws Exception { test("StorageEstimate"); } @@ -7336,7 +7336,7 @@ public void storageManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void storageQuota() throws Exception { test("StorageQuota"); } @@ -7354,7 +7354,7 @@ public void string() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void styleMedia() throws Exception { test("StyleMedia"); } @@ -7412,7 +7412,7 @@ public void svgAElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAltGlyphElement() throws Exception { test("SVGAltGlyphElement"); } @@ -7432,7 +7432,7 @@ public void svgAngle() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimateColorElement() throws Exception { test("SVGAnimateColorElement"); } @@ -7513,7 +7513,7 @@ public void svgAnimatedNumberList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgAnimatedPoints() throws Exception { test("SVGAnimatedPoints"); } @@ -7631,7 +7631,7 @@ public void svgComponentTransferFunctionElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgCursorElement() throws Exception { test("SVGCursorElement"); } @@ -7662,7 +7662,7 @@ public void svgDescElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDiscardElement() throws Exception { test("SVGDiscardElement"); } @@ -7671,7 +7671,7 @@ public void svgDiscardElement() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgDocument() throws Exception { test("SVGDocument"); } @@ -7702,7 +7702,7 @@ public void svgEllipseElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgEvent() throws Exception { test("SVGEvent"); } @@ -7995,7 +7995,7 @@ public void svgFilterElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontElement() throws Exception { test("SVGFontElement"); } @@ -8004,7 +8004,7 @@ public void svgFontElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceElement() throws Exception { test("SVGFontFaceElement"); } @@ -8013,7 +8013,7 @@ public void svgFontFaceElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceFormatElement() throws Exception { test("SVGFontFaceFormatElement"); } @@ -8022,7 +8022,7 @@ public void svgFontFaceFormatElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceNameElement() throws Exception { test("SVGFontFaceNameElement"); } @@ -8031,7 +8031,7 @@ public void svgFontFaceNameElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceSrcElement() throws Exception { test("SVGFontFaceSrcElement"); } @@ -8040,7 +8040,7 @@ public void svgFontFaceSrcElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgFontFaceUriElement() throws Exception { test("SVGFontFaceUriElement"); } @@ -8080,7 +8080,7 @@ public void svgGeometryElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgGlyphElement() throws Exception { test("SVGGlyphElement"); } @@ -8107,7 +8107,7 @@ public void svgGraphicsElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgHKernElement() throws Exception { test("SVGHKernElement"); } @@ -8211,7 +8211,7 @@ public void svgMetadataElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgMissingGlyphElement() throws Exception { test("SVGMissingGlyphElement"); } @@ -8260,7 +8260,7 @@ public void svgPathElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSeg() throws Exception { test("SVGPathSeg"); } @@ -8269,7 +8269,7 @@ public void svgPathSeg() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegArcAbs() throws Exception { test("SVGPathSegArcAbs"); } @@ -8278,7 +8278,7 @@ public void svgPathSegArcAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegArcRel() throws Exception { test("SVGPathSegArcRel"); } @@ -8287,7 +8287,7 @@ public void svgPathSegArcRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegClosePath() throws Exception { test("SVGPathSegClosePath"); } @@ -8296,7 +8296,7 @@ public void svgPathSegClosePath() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicAbs() throws Exception { test("SVGPathSegCurvetoCubicAbs"); } @@ -8305,7 +8305,7 @@ public void svgPathSegCurvetoCubicAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicRel() throws Exception { test("SVGPathSegCurvetoCubicRel"); } @@ -8314,7 +8314,7 @@ public void svgPathSegCurvetoCubicRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicSmoothAbs() throws Exception { test("SVGPathSegCurvetoCubicSmoothAbs"); } @@ -8323,7 +8323,7 @@ public void svgPathSegCurvetoCubicSmoothAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoCubicSmoothRel() throws Exception { test("SVGPathSegCurvetoCubicSmoothRel"); } @@ -8332,7 +8332,7 @@ public void svgPathSegCurvetoCubicSmoothRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticAbs() throws Exception { test("SVGPathSegCurvetoQuadraticAbs"); } @@ -8341,7 +8341,7 @@ public void svgPathSegCurvetoQuadraticAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticRel() throws Exception { test("SVGPathSegCurvetoQuadraticRel"); } @@ -8350,7 +8350,7 @@ public void svgPathSegCurvetoQuadraticRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticSmoothAbs() throws Exception { test("SVGPathSegCurvetoQuadraticSmoothAbs"); } @@ -8359,7 +8359,7 @@ public void svgPathSegCurvetoQuadraticSmoothAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegCurvetoQuadraticSmoothRel() throws Exception { test("SVGPathSegCurvetoQuadraticSmoothRel"); } @@ -8368,7 +8368,7 @@ public void svgPathSegCurvetoQuadraticSmoothRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoAbs() throws Exception { test("SVGPathSegLinetoAbs"); } @@ -8377,7 +8377,7 @@ public void svgPathSegLinetoAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoHorizontalAbs() throws Exception { test("SVGPathSegLinetoHorizontalAbs"); } @@ -8386,7 +8386,7 @@ public void svgPathSegLinetoHorizontalAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoHorizontalRel() throws Exception { test("SVGPathSegLinetoHorizontalRel"); } @@ -8395,7 +8395,7 @@ public void svgPathSegLinetoHorizontalRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoRel() throws Exception { test("SVGPathSegLinetoRel"); } @@ -8404,7 +8404,7 @@ public void svgPathSegLinetoRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoVerticalAbs() throws Exception { test("SVGPathSegLinetoVerticalAbs"); } @@ -8413,7 +8413,7 @@ public void svgPathSegLinetoVerticalAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegLinetoVerticalRel() throws Exception { test("SVGPathSegLinetoVerticalRel"); } @@ -8422,7 +8422,7 @@ public void svgPathSegLinetoVerticalRel() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegList() throws Exception { test("SVGPathSegList"); } @@ -8431,7 +8431,7 @@ public void svgPathSegList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegMovetoAbs() throws Exception { test("SVGPathSegMovetoAbs"); } @@ -8440,7 +8440,7 @@ public void svgPathSegMovetoAbs() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgPathSegMovetoRel() throws Exception { test("SVGPathSegMovetoRel"); } @@ -8542,7 +8542,7 @@ public void svgRectElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgRenderingIntent() throws Exception { test("SVGRenderingIntent"); } @@ -8593,7 +8593,7 @@ public void svgStringList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgStylable() throws Exception { test("SVGStylable"); } @@ -8646,7 +8646,7 @@ public void svgSymbolElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTests() throws Exception { test("SVGTests"); } @@ -8715,7 +8715,7 @@ public void svgTransform() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTransformable() throws Exception { test("SVGTransformable"); } @@ -8733,7 +8733,7 @@ public void svgTransformList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgTRefElement() throws Exception { test("SVGTRefElement"); } @@ -8784,7 +8784,7 @@ public void svgViewElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgViewSpec() throws Exception { test("SVGViewSpec"); } @@ -8793,7 +8793,7 @@ public void svgViewSpec() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgVKernElement() throws Exception { test("SVGVKernElement"); } @@ -8802,7 +8802,7 @@ public void svgVKernElement() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void svgZoomEvent() throws Exception { test("SVGZoomEvent"); } @@ -8820,7 +8820,7 @@ public void symbol() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void syncEvent() throws Exception { test("SyncEvent"); } @@ -8829,7 +8829,7 @@ public void syncEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SyncManager() { [native code] }", EDGE = "function SyncManager() { [native code] }") public void syncManager() throws Exception { @@ -8840,7 +8840,7 @@ public void syncManager() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void syncRegistration() throws Exception { test("SyncRegistration"); } @@ -8858,7 +8858,7 @@ public void syntaxError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void tcpServerSocket() throws Exception { test("TCPServerSocket"); } @@ -8867,7 +8867,7 @@ public void tcpServerSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void tcpSocket() throws Exception { test("TCPSocket"); } @@ -8876,7 +8876,7 @@ public void tcpSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephony() throws Exception { test("Telephony"); } @@ -8885,7 +8885,7 @@ public void telephony() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephonyCall() throws Exception { test("TelephonyCall"); } @@ -8894,7 +8894,7 @@ public void telephonyCall() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void telephonyCallGroup() throws Exception { test("TelephonyCallGroup"); } @@ -8933,7 +8933,7 @@ public void textEncoder() throws Exception { */ @Test @Alerts(DEFAULT = "function TextEvent() { [native code] }", - FF_ESR = "exception") + FF_ESR = "ReferenceError") public void textEvent() throws Exception { test("TextEvent"); } @@ -8953,7 +8953,7 @@ public void textMetrics() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void textRange() throws Exception { test("TextRange"); } @@ -8998,7 +8998,7 @@ public void textTrackList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", FF = "function TimeEvent() { [native code] }", FF_ESR = "function TimeEvent() { [native code] }") public void timeEvent() throws Exception { @@ -9018,7 +9018,7 @@ public void timeRanges() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function Touch() { [native code] }", EDGE = "function Touch() { [native code] }") public void touch() throws Exception { @@ -9029,7 +9029,7 @@ public void touch() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function TouchEvent() { [native code] }", EDGE = "function TouchEvent() { [native code] }") public void touchEvent() throws Exception { @@ -9040,7 +9040,7 @@ public void touchEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function TouchList() { [native code] }", EDGE = "function TouchList() { [native code] }") public void touchList() throws Exception { @@ -9051,7 +9051,7 @@ public void touchList() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void trackDefault() throws Exception { test("TrackDefault"); } @@ -9060,7 +9060,7 @@ public void trackDefault() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void trackDefaultList() throws Exception { test("TrackDefaultList"); } @@ -9078,7 +9078,7 @@ public void trackEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void transferable() throws Exception { test("Transferable"); } @@ -9107,7 +9107,7 @@ public void treeWalker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void typedArray() throws Exception { test("TypedArray"); } @@ -9125,7 +9125,7 @@ public void typeError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void typeInfo() throws Exception { test("TypeInfo"); } @@ -9134,7 +9134,7 @@ public void typeInfo() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uDPSocket() throws Exception { test("UDPSocket"); } @@ -9216,7 +9216,7 @@ public void unescape() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uneval() throws Exception { test("uneval"); } @@ -9254,7 +9254,7 @@ public void urlSearchParams() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void urlUtils() throws Exception { test("URLUtils"); } @@ -9263,7 +9263,7 @@ public void urlUtils() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void urlUtilsReadOnly() throws Exception { test("URLUtilsReadOnly"); } @@ -9272,7 +9272,7 @@ public void urlUtilsReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void userDataHandler() throws Exception { test("UserDataHandler"); } @@ -9281,7 +9281,7 @@ public void userDataHandler() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void userProximityEvent() throws Exception { test("UserProximityEvent"); } @@ -9290,7 +9290,7 @@ public void userProximityEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void uSVString() throws Exception { test("USVString"); } @@ -9317,7 +9317,7 @@ public void videoPlaybackQuality() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDevice() throws Exception { test("VRDevice"); } @@ -9326,7 +9326,7 @@ public void vrDevice() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDisplay() throws Exception { test("VRDisplay"); } @@ -9335,7 +9335,7 @@ public void vrDisplay() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrDisplayCapabilities() throws Exception { test("VRDisplayCapabilities"); } @@ -9344,7 +9344,7 @@ public void vrDisplayCapabilities() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrEyeParameters() throws Exception { test("VREyeParameters"); } @@ -9353,7 +9353,7 @@ public void vrEyeParameters() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrFieldOfView() throws Exception { test("VRFieldOfView"); } @@ -9362,7 +9362,7 @@ public void vrFieldOfView() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrFieldOfViewReadOnly() throws Exception { test("VRFieldOfViewReadOnly"); } @@ -9371,7 +9371,7 @@ public void vrFieldOfViewReadOnly() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrLayer() throws Exception { test("VRLayer"); } @@ -9380,7 +9380,7 @@ public void vrLayer() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrPose() throws Exception { test("VRPose"); } @@ -9389,7 +9389,7 @@ public void vrPose() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrPositionState() throws Exception { test("VRPositionState"); } @@ -9398,7 +9398,7 @@ public void vrPositionState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void vrStageParameters() throws Exception { test("VRStageParameters"); } @@ -9443,7 +9443,7 @@ public void weakSet() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL() throws Exception { test("WebGL"); } @@ -9452,7 +9452,7 @@ public void webGL() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_color_buffer_float() throws Exception { test("WEBGL_color_buffer_float"); } @@ -9461,7 +9461,7 @@ public void webGL_color_buffer_float() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_atc() throws Exception { test("WEBGL_compressed_texture_atc"); } @@ -9470,7 +9470,7 @@ public void webGL_compressed_texture_atc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_es3() throws Exception { test("WEBGL_compressed_texture_es3"); } @@ -9479,7 +9479,7 @@ public void webGL_compressed_texture_es3() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void wEBGL_compressed_texture_etc() throws Exception { test("WEBGL_compressed_texture_etc"); } @@ -9488,7 +9488,7 @@ public void wEBGL_compressed_texture_etc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_etc1() throws Exception { test("WEBGL_compressed_texture_etc1"); } @@ -9497,7 +9497,7 @@ public void webGL_compressed_texture_etc1() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_pvrtc() throws Exception { test("WEBGL_compressed_texture_pvrtc"); } @@ -9506,7 +9506,7 @@ public void webGL_compressed_texture_pvrtc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_compressed_texture_s3tc() throws Exception { test("WEBGL_compressed_texture_s3tc"); } @@ -9515,7 +9515,7 @@ public void webGL_compressed_texture_s3tc() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_debug_renderer_info() throws Exception { test("WEBGL_debug_renderer_info"); } @@ -9524,7 +9524,7 @@ public void webGL_debug_renderer_info() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_debug_shaders() throws Exception { test("WEBGL_debug_shaders"); } @@ -9533,7 +9533,7 @@ public void webGL_debug_shaders() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_depth_texture() throws Exception { test("WEBGL_depth_texture"); } @@ -9542,7 +9542,7 @@ public void webGL_depth_texture() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_draw_buffers() throws Exception { test("WEBGL_draw_buffers"); } @@ -9551,7 +9551,7 @@ public void webGL_draw_buffers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGL_lose_context() throws Exception { test("WEBGL_lose_context"); } @@ -9688,7 +9688,7 @@ public void webGLTexture() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGLTimerQueryEXT() throws Exception { test("WebGLTimerQueryEXT"); } @@ -9724,7 +9724,7 @@ public void webGLVertexArrayObject() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webGLVertexArrayObjectOES() throws Exception { test("WebGLVertexArrayObjectOES"); } @@ -9733,7 +9733,7 @@ public void webGLVertexArrayObjectOES() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitAnimationEvent() throws Exception { test("WebKitAnimationEvent"); } @@ -9742,7 +9742,7 @@ public void webKitAnimationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitAudioContext() throws Exception { test("webkitAudioContext"); } @@ -9760,7 +9760,7 @@ public void webKitCSSMatrix() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBCursor() throws Exception { test("webkitIDBCursor"); } @@ -9769,7 +9769,7 @@ public void webkitIDBCursor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBDatabase() throws Exception { test("webkitIDBDatabase"); } @@ -9778,7 +9778,7 @@ public void webkitIDBDatabase() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBFactory() throws Exception { test("webkitIDBFactory"); } @@ -9787,7 +9787,7 @@ public void webkitIDBFactory() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBIndex() throws Exception { test("webkitIDBIndex"); } @@ -9796,7 +9796,7 @@ public void webkitIDBIndex() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBKeyRange() throws Exception { test("webkitIDBKeyRange"); } @@ -9805,7 +9805,7 @@ public void webkitIDBKeyRange() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBObjectStore() throws Exception { test("webkitIDBObjectStore"); } @@ -9814,7 +9814,7 @@ public void webkitIDBObjectStore() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBRequest() throws Exception { test("webkitIDBRequest"); } @@ -9823,7 +9823,7 @@ public void webkitIDBRequest() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitIDBTransaction() throws Exception { test("webkitIDBTransaction"); } @@ -9832,7 +9832,7 @@ public void webkitIDBTransaction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function MediaStream() { [native code] }", EDGE = "function MediaStream() { [native code] }") public void webkitMediaStream() throws Exception { @@ -9843,7 +9843,7 @@ public void webkitMediaStream() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function MutationObserver() { [native code] }", EDGE = "function MutationObserver() { [native code] }") public void webKitMutationObserver() throws Exception { @@ -9854,7 +9854,7 @@ public void webKitMutationObserver() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitOfflineAudioContext() throws Exception { test("webkitOfflineAudioContext"); } @@ -9863,7 +9863,7 @@ public void webkitOfflineAudioContext() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function RTCPeerConnection() { [native code] }", EDGE = "function RTCPeerConnection() { [native code] }") public void webkitRTCPeerConnection() throws Exception { @@ -9874,7 +9874,7 @@ public void webkitRTCPeerConnection() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webkitRTCSessionDescription() throws Exception { test("webkitRTCSessionDescription"); } @@ -9883,7 +9883,7 @@ public void webkitRTCSessionDescription() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SpeechGrammar() { [native code] }", EDGE = "function SpeechGrammar() { [native code] }") public void webkitSpeechGrammar() throws Exception { @@ -9894,7 +9894,7 @@ public void webkitSpeechGrammar() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SpeechGrammarList() { [native code] }", EDGE = "function SpeechGrammarList() { [native code] }") public void webkitSpeechGrammarList() throws Exception { @@ -9905,7 +9905,7 @@ public void webkitSpeechGrammarList() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SpeechRecognition() { [native code] }", EDGE = "function SpeechRecognition() { [native code] }") public void webkitSpeechRecognition() throws Exception { @@ -9916,7 +9916,7 @@ public void webkitSpeechRecognition() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SpeechRecognitionErrorEvent() { [native code] }", EDGE = "function SpeechRecognitionErrorEvent() { [native code] }") public void webkitSpeechRecognitionError() throws Exception { @@ -9927,7 +9927,7 @@ public void webkitSpeechRecognitionError() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", + @Alerts(DEFAULT = "ReferenceError", CHROME = "function SpeechRecognitionEvent() { [native code] }", EDGE = "function SpeechRecognitionEvent() { [native code] }") public void webkitSpeechRecognitionEvent() throws Exception { @@ -9938,7 +9938,7 @@ public void webkitSpeechRecognitionEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webKitTransitionEvent() throws Exception { test("WebKitTransitionEvent"); } @@ -9956,7 +9956,7 @@ public void webkitURL() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webSMS() throws Exception { test("WebSMS"); } @@ -9976,7 +9976,7 @@ public void webSocket() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webSockets() throws Exception { test("WebSockets"); } @@ -9985,7 +9985,7 @@ public void webSockets() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void webVTT() throws Exception { test("WebVTT"); } @@ -10003,7 +10003,7 @@ public void wheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void wifiManager() throws Exception { test("WifiManager"); } @@ -10023,7 +10023,7 @@ public void window() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowBase64() throws Exception { test("WindowBase64"); } @@ -10032,7 +10032,7 @@ public void windowBase64() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowClient() throws Exception { test("WindowClient"); } @@ -10041,7 +10041,7 @@ public void windowClient() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers() throws Exception { test("WindowEventHandlers"); } @@ -10050,7 +10050,7 @@ public void windowEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers_onbeforeprint() throws Exception { test("WindowEventHandlers.onbeforeprint"); } @@ -10059,7 +10059,7 @@ public void windowEventHandlers_onbeforeprint() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowOrWorkerGlobalScope() throws Exception { test("WindowOrWorkerGlobalScope"); } @@ -10068,7 +10068,7 @@ public void windowOrWorkerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowProperties() throws Exception { test("WindowProperties"); } @@ -10077,7 +10077,7 @@ public void windowProperties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowTimers() throws Exception { test("WindowTimers"); } @@ -10097,7 +10097,7 @@ public void worker() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void workerGlobalScope() throws Exception { test("WorkerGlobalScope"); } @@ -10106,7 +10106,7 @@ public void workerGlobalScope() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void workerLocation() throws Exception { test("WorkerLocation"); } @@ -10115,7 +10115,7 @@ public void workerLocation() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void workerNavigator() throws Exception { test("WorkerNavigator"); } @@ -10124,7 +10124,7 @@ public void workerNavigator() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xDomainRequest() throws Exception { test("XDomainRequest"); } @@ -10164,7 +10164,7 @@ public void xmlHttpRequestEventTarget() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xmlHttpRequestProgressEvent() throws Exception { test("XMLHttpRequestProgressEvent"); } @@ -10215,7 +10215,7 @@ public void xPathExpression() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xPathNSResolver() throws Exception { test("XPathNSResolver"); } @@ -10235,7 +10235,7 @@ public void xPathResult() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void xsltemplate() throws Exception { test("XSLTemplate"); } diff --git a/src/test/java/org/htmlunit/general/HostConstructorTest.java b/src/test/java/org/htmlunit/general/HostConstructorTest.java index 5229efb28d7..f42688716db 100644 --- a/src/test/java/org/htmlunit/general/HostConstructorTest.java +++ b/src/test/java/org/htmlunit/general/HostConstructorTest.java @@ -94,7 +94,7 @@ private void test(final String className) throws Exception { + " try {\n" + " log(new " + className + "());\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + "\n" + ""; @@ -106,7 +106,7 @@ private String getExpectedString(final String className) throws Exception { return "[object " + className_ + "]"; } - return "exception"; + return "ReferenceError"; } /** diff --git a/src/test/java/org/htmlunit/general/HostTypeOfTest.java b/src/test/java/org/htmlunit/general/HostTypeOfTest.java index 2ab79f9d7dd..09ff6864436 100644 --- a/src/test/java/org/htmlunit/general/HostTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/HostTypeOfTest.java @@ -41,7 +41,7 @@ private void test(final String className) throws Exception { + " function test() {\n" + " try {\n" + " log(typeof " + className + ");\n" - + " } catch(e) {log('exception')}\n" + + " } catch(e) {log(e.name)}\n" + " }\n" + "\n" + ""; @@ -241,7 +241,7 @@ public void applicationCacheErrorEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void apps_mgmt() throws Exception { test("Apps.mgmt"); } @@ -4422,7 +4422,7 @@ public void l10n() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_formatValue() throws Exception { test("L10n.formatValue"); } @@ -4431,7 +4431,7 @@ public void l10n_formatValue() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_get() throws Exception { test("L10n.get"); } @@ -4440,7 +4440,7 @@ public void l10n_get() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_code() throws Exception { test("L10n.language.code"); } @@ -4449,7 +4449,7 @@ public void l10n_language_code() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_language_direction() throws Exception { test("L10n.language.direction"); } @@ -4458,7 +4458,7 @@ public void l10n_language_direction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_once() throws Exception { test("L10n.once"); } @@ -4467,7 +4467,7 @@ public void l10n_once() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_ready() throws Exception { test("L10n.ready"); } @@ -4476,7 +4476,7 @@ public void l10n_ready() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_readyState() throws Exception { test("L10n.readyState"); } @@ -4485,7 +4485,7 @@ public void l10n_readyState() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void l10n_setAttributes() throws Exception { test("L10n.setAttributes"); } @@ -6927,7 +6927,7 @@ public void simd() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool16x8() throws Exception { test("SIMD.Bool16x8"); } @@ -6936,7 +6936,7 @@ public void simd_Bool16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool32x4() throws Exception { test("SIMD.Bool32x4"); } @@ -6945,7 +6945,7 @@ public void simd_Bool32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool64x2() throws Exception { test("SIMD.Bool64x2"); } @@ -6954,7 +6954,7 @@ public void simd_Bool64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Bool8x16() throws Exception { test("SIMD.Bool8x16"); } @@ -6963,7 +6963,7 @@ public void simd_Bool8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float32x4() throws Exception { test("SIMD.float32x4"); } @@ -6972,7 +6972,7 @@ public void simd_float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float32x4() throws Exception { test("SIMD.Float32x4"); } @@ -6981,7 +6981,7 @@ public void simd_Float32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_float64x2() throws Exception { test("SIMD.float64x2"); } @@ -6990,7 +6990,7 @@ public void simd_float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Float64x2() throws Exception { test("SIMD.Float64x2"); } @@ -6999,7 +6999,7 @@ public void simd_Float64x2() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int16x8() throws Exception { test("SIMD.int16x8"); } @@ -7008,7 +7008,7 @@ public void simd_int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int16x8() throws Exception { test("SIMD.Int16x8"); } @@ -7017,7 +7017,7 @@ public void simd_Int16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int32x4() throws Exception { test("SIMD.int32x4"); } @@ -7026,7 +7026,7 @@ public void simd_int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int32x4() throws Exception { test("SIMD.Int32x4"); } @@ -7035,7 +7035,7 @@ public void simd_Int32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_int8x16() throws Exception { test("SIMD.int8x16"); } @@ -7044,7 +7044,7 @@ public void simd_int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Int8x16() throws Exception { test("SIMD.Int8x16"); } @@ -7053,7 +7053,7 @@ public void simd_Int8x16() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint16x8() throws Exception { test("SIMD.Uint16x8"); } @@ -7062,7 +7062,7 @@ public void simd_Uint16x8() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint32x4() throws Exception { test("SIMD.Uint32x4"); } @@ -7071,7 +7071,7 @@ public void simd_Uint32x4() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void simd_Uint8x16() throws Exception { test("SIMD.Uint8x16"); } @@ -10023,7 +10023,7 @@ public void windowEventHandlers() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts("ReferenceError") public void windowEventHandlers_onbeforeprint() throws Exception { test("WindowEventHandlers.onbeforeprint"); } From 4f5f7a5f7be108154e3dbf4ef007e4d9ad20cb4f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 16:49:17 +0100 Subject: [PATCH 126/516] AbstractRange.ctor() throws a TypeError --- src/changes/changes.xml | 3 +++ .../java/org/htmlunit/javascript/host/dom/AbstractRange.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 90d0d528ac0..3a7249516ac 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + AbstractRange.ctor() throws a TypeError. + DOMTokenList - several fixes to throw the correct error. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java index 7d066bdd470..dd7d50f1516 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java @@ -47,7 +47,7 @@ public AbstractRange() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } /** From c0cfd798f0328bd85cbf352d96db54337972f59c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 16:59:40 +0100 Subject: [PATCH 127/516] make sure the JavaScriptEngine is only used by javascript classes (wip) --- .../java/org/htmlunit/archunit/ArchitectureTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java index 4e47a3e66e9..b9930857c2f 100644 --- a/src/test/java/org/htmlunit/archunit/ArchitectureTest.java +++ b/src/test/java/org/htmlunit/archunit/ArchitectureTest.java @@ -554,6 +554,18 @@ public void check(final JavaMethod method, final ConditionEvents events) { .should().dependOnClassesThat().haveFullyQualifiedName("org.htmlunit.corejs.javascript.Undefined"); + /** + * Do not use core-js ScriptRuntime outside of the JavaScriptEngine. + */ + @ArchTest + public static final ArchRule javaScriptEngineRule = noClasses() + .that() + .resideOutsideOfPackage("org.htmlunit.javascript..") + + .and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.HtmlUnitContextFactory") + + .should().dependOnClassesThat().haveFullyQualifiedName("org.htmlunit.javascript.JavaScriptEngine"); + /** * Do not use jetty. */ From 1086364aa1b94a62b27466909a60b16228af0bca Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 17:01:13 +0100 Subject: [PATCH 128/516] DomNode.appendChild() throws a HierarchyRequstError --- src/changes/changes.xml | 3 +++ src/main/java/org/htmlunit/html/DomNode.java | 5 ++--- src/main/java/org/htmlunit/javascript/host/dom/Node.java | 9 ++++++++- src/test/java/org/htmlunit/html/DomNode2Test.java | 1 + 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3a7249516ac..b9cae9614d7 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + DomNode.appendChild() throws a HierarchyRequstError. + AbstractRange.ctor() throws a TypeError. diff --git a/src/main/java/org/htmlunit/html/DomNode.java b/src/main/java/org/htmlunit/html/DomNode.java index 7a9e49c1445..0ddd78fbd78 100644 --- a/src/main/java/org/htmlunit/html/DomNode.java +++ b/src/main/java/org/htmlunit/html/DomNode.java @@ -48,7 +48,6 @@ import org.htmlunit.html.serializer.HtmlSerializerVisibleText; import org.htmlunit.html.xpath.XPathHelper; import org.htmlunit.javascript.HtmlUnitScriptable; -import org.htmlunit.javascript.JavaScriptEngine; import org.htmlunit.javascript.host.event.Event; import org.htmlunit.xpath.xml.utils.PrefixResolver; import org.w3c.dom.DOMException; @@ -908,11 +907,11 @@ public T getScriptableObject() { @Override public DomNode appendChild(final Node node) { if (node == this) { - throw JavaScriptEngine.throwAsScriptRuntimeEx(new Exception("Can not add not to itself " + this)); + throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, "Can not add not to itself " + this); } final DomNode domNode = (DomNode) node; if (domNode.isAncestorOf(this)) { - throw JavaScriptEngine.throwAsScriptRuntimeEx(new Exception("Can not add (grand)parent to itself " + this)); + throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, "Can not add (grand)parent to itself " + this); } if (domNode instanceof DomDocumentFragment) { diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Node.java b/src/main/java/org/htmlunit/javascript/host/dom/Node.java index ac6169872aa..661e9135961 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Node.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Node.java @@ -210,7 +210,14 @@ public Node appendChild(final Object childObject) { final DomNode parentNode = getDomNodeOrDie(); // Append the child to the parent node - parentNode.appendChild(childDomNode); + try { + parentNode.appendChild(childDomNode); + } + catch (final org.w3c.dom.DOMException e) { + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException(e.getMessage(), e.code)); + } initInlineFrameIfNeeded(childDomNode); for (final HtmlElement htmlElement : childDomNode.getHtmlElementDescendants()) { diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index 371ed73f66e..87522e383e1 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -25,6 +25,7 @@ * * @author Chris Erskine * @author Ahmed Ashour + * @author Ronald Brill */ @RunWith(BrowserRunner.class) public class DomNode2Test extends WebDriverTestCase { From fee634a25f6273529e18a273e334b3b25263f19c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Feb 2025 17:04:45 +0100 Subject: [PATCH 129/516] more on error handling --- .../org/htmlunit/javascript/host/event/BeforeUnloadEvent.java | 2 +- .../javascript/host/event/AudioProcessingEventTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java b/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java index a96c1f490b3..c8945c58948 100644 --- a/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java +++ b/src/main/java/org/htmlunit/javascript/host/event/BeforeUnloadEvent.java @@ -50,7 +50,7 @@ public BeforeUnloadEvent() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.throwAsScriptRuntimeEx(new IllegalArgumentException("Illegal Constructor")); + throw JavaScriptEngine.typeError("Illegal Constructor"); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index a9c141fd20c..ad79e07c6f7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -68,8 +68,8 @@ public void create_ctor() throws Exception { FF = "TypeError", FF_ESR = "TypeError") // audioCtx.createBuffer is missing - @HtmlUnitNYI(CHROME = "exception", - EDGE = "exception") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError") public void create_ctorAllDetails() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n"; final String workerJs = "onmessage = function(e) {\n" diff --git a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java index 17a39249a46..40e6ebf1e1d 100644 --- a/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/DedicatedWorkerGlobalScopeTypeOfTest.java @@ -45,7 +45,7 @@ private void test(final String className) throws Exception { + " log('' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('test');}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" diff --git a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java index dcc41bf1459..54a0677eb8e 100644 --- a/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java +++ b/src/test/java/org/htmlunit/general/ElementClosesItselfTest.java @@ -107,7 +107,7 @@ private void test(final String tagName) throws Exception { + " var e = document.getElementById('outer');\n" + " try {\n" + " log(e == null ? e : e.children.length);\n" - + " } catch(e) { log(e.name); }" + + " } catch(e) { logEx(e); }" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index 9f00e5194dd..de1229afd7c 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -88,7 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {log(e.name); return;}\n" + + " } catch (e) {logEx(e); return;}\n" + " }\n" + "\n" + " /*\n" diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index ef2f13ac112..25e325c114d 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -88,7 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {log(e.name);return;}\n" + + " } catch (e) {logEx(e);return;}\n" + " }\n" + "\n" + " /*\n" diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index c82bae60948..c415d6d4cba 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -88,7 +88,7 @@ private void testString(final String preparation, final String string) throws Ex + " try{\n" + " " + preparation + "\n" + " process(" + string + ");\n" - + " } catch (e) {log(e.name);return;}\n" + + " } catch (e) {logEx(e);return;}\n" + " }\n" + "\n" + " /*\n" diff --git a/src/test/java/org/htmlunit/general/HostClassNameTest.java b/src/test/java/org/htmlunit/general/HostClassNameTest.java index afc282d4a26..f2a3a177f30 100644 --- a/src/test/java/org/htmlunit/general/HostClassNameTest.java +++ b/src/test/java/org/htmlunit/general/HostClassNameTest.java @@ -59,7 +59,7 @@ private void test(final String className) throws Exception { // normalize FF output + " clsName = clsName.replace('{\\n [native code]\\n}', '{ [native code] }');\n" + " log(clsName);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/general/HostConstructorTest.java b/src/test/java/org/htmlunit/general/HostConstructorTest.java index f42688716db..adcbb297d6d 100644 --- a/src/test/java/org/htmlunit/general/HostConstructorTest.java +++ b/src/test/java/org/htmlunit/general/HostConstructorTest.java @@ -94,7 +94,7 @@ private void test(final String className) throws Exception { + " try {\n" + " log(new " + className + "());\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/general/HostTypeOfTest.java b/src/test/java/org/htmlunit/general/HostTypeOfTest.java index 09ff6864436..6a49ffb3f63 100644 --- a/src/test/java/org/htmlunit/general/HostTypeOfTest.java +++ b/src/test/java/org/htmlunit/general/HostTypeOfTest.java @@ -41,7 +41,7 @@ private void test(final String className) throws Exception { + " function test() {\n" + " try {\n" + " log(typeof " + className + ");\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index 87522e383e1..f09cd0a4ca8 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -45,7 +45,7 @@ public void appendChild_recursive() throws Exception { + " var e = document.createElement('div');\n" + " try {\n" + " log(e.appendChild(e) === e);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + " log(e.childNodes.length);\n" + "}\n" + "\n" @@ -72,7 +72,7 @@ public void appendChild_recursive_parent() throws Exception { + " try {\n" + " log(e1.appendChild(e2) === e2);\n" + " log(e2.appendChild(e1) === e1);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + " log(e1.childNodes.length);\n" + " log(e2.childNodes.length);\n" + "}\n" diff --git a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java index 8e0db922ae8..5c8e327ca28 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java @@ -49,7 +49,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'color';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -85,7 +85,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'color';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java index d7d625df915..d22647cccea 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java @@ -51,7 +51,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'date';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -87,7 +87,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'date';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java index 2f498010509..1d914e7f530 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java @@ -50,7 +50,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'datetime';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -86,7 +86,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'datetime';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java index bfe2f2ae9c7..a6646fa5e0a 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java @@ -50,7 +50,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'datetime-local';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -86,7 +86,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'datetime-local';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java index 51e322e1781..02c0cfe9113 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java @@ -52,7 +52,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'email';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -88,7 +88,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'email';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java index f70f4461d25..46b9bdd34ee 100644 --- a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java @@ -88,7 +88,7 @@ public void align() throws Exception { + " function set(fs, value) {\n" + " try {\n" + " fs.align = value;\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " var fs1 = document.getElementById('fs1');\n" + " var fs2 = document.getElementById('fs2');\n" diff --git a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java index 189ea0fc8b5..cb133987402 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java @@ -190,14 +190,14 @@ public void setValueOnChange() throws Exception { + " var input = document.getElementById('f');\n" + " try{\n" + " input.value = 'HtmlUnit';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(input.value + '-' + input.defaultValue " + "+ '-' + input.getAttribute('value') " + "+ '-' + input.files.length);\n" + " try{\n" + " input.value = '';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(input.value + '-' + input.defaultValue " + "+ '-' + input.getAttribute('value') " + "+ '-' + input.files.length);\n" @@ -234,14 +234,14 @@ public void setDefaultValueOnChange() throws Exception { + " var input = document.getElementById('f');\n" + " try{\n" + " input.defaultValue = 'HtmlUnit';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(input.value + '-' + input.defaultValue " + "+ '-' + input.getAttribute('value') " + "+ '-' + input.files.length);\n" + " try{\n" + " input.defaultValue = '';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(input.value + '-' + input.defaultValue " + "+ '-' + input.getAttribute('value') " + "+ '-' + input.files.length);\n" @@ -351,7 +351,7 @@ public void resetByClick() throws Exception { + " try{\n" + " file.value = 'newValue';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(file.value + '-' + file.defaultValue + '-' + file.getAttribute('value'));\n" + " document.getElementById('testReset').click;\n" @@ -394,7 +394,7 @@ public void resetByJS() throws Exception { + " try{\n" + " file.value = 'newValue';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(file.value + '-' + file.defaultValue + '-' + file.getAttribute('value'));\n" + " document.forms[0].reset;\n" @@ -436,7 +436,7 @@ public void value() throws Exception { + " try{\n" + " file.value = 'newValue';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(file.value + '-' + file.defaultValue + '-' + file.getAttribute('value'));\n" + " file.setAttribute('value', 'attribValue');\n" @@ -506,7 +506,7 @@ public void selection() throws Exception { + " } catch(e) { log('ex end'); }\n" + " try {\n" + " return element.value.substring(element.selectionStart, element.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -558,28 +558,28 @@ private void selection2(final int selectionStart, final int selectionEnd) throws + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try{\n" + " input.value = '12345678900';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " input.selectionStart = " + selectionStart + ";\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " input.selectionEnd = " + selectionEnd + ";\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -617,7 +617,7 @@ public void selectionOnUpdate() throws Exception { + " input.value = 'a';\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index 2ad3f1fd457..e168223ef2c 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -131,9 +131,9 @@ public void asFunction() throws Exception { + LOG_TITLE_FUNCTION + "function test() {\n" + " var f1 = document.forms[0];\n" - + " try { log(f1('textfieldid').id) } catch (e) { log(e.name) }\n" - + " try { log(f1('textfieldname').name) } catch (e) { log(e.name) }\n" - + " try { log(f1(0).id) } catch (e) { log(e.name) }\n" + + " try { log(f1('textfieldid').id) } catch (e) { logEx(e) }\n" + + " try { log(f1('textfieldname').name) } catch (e) { logEx(e) }\n" + + " try { log(f1(0).id) } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "

        hello world

        \n" @@ -159,10 +159,10 @@ public void asFunctionFormsFunction() throws Exception { + "function test() {\n" + " try {\n" + " var f1 = document.forms(0);\n" - + " try { log(f1('textfieldid').id) } catch (e) { log(e.name) }\n" - + " try { log(f1('textfieldname').name) } catch (e) { log(e.name) }\n" - + " try { log(f1(0).id) } catch (e) { log(e.name) }\n" - + " } catch (e) { log(e.name) }\n" + + " try { log(f1('textfieldid').id) } catch (e) { logEx(e) }\n" + + " try { log(f1('textfieldname').name) } catch (e) { logEx(e) }\n" + + " try { log(f1(0).id) } catch (e) { logEx(e) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "

        hello world

        \n" diff --git a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java index c1da5cbc210..b0dfd224315 100644 --- a/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInlineFrame2Test.java @@ -221,7 +221,7 @@ public void aboutSrc() throws Exception { + " var frame = document.getElementById('tstFrame');\n" + " try {" + " log(frame.contentWindow.location.href);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index 03256822ba2..987701e5ac3 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -55,7 +55,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " elem.onchange = handler;\n" + " elem.onchange();\n" @@ -65,7 +65,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index 9ce5463f0c1..8501abdbd14 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -54,7 +54,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'month';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -90,7 +90,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'month';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java index f0c521f2e87..1e1652b9377 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java @@ -1379,7 +1379,7 @@ public void selection() throws Exception { + " function getSelection(element) {\n" + " try {\n" + " return element.value.substring(element.selectionStart, element.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -1429,26 +1429,26 @@ private void selection2(final int selectionStart, final int selectionEnd) throws + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " input.value = '12345678900';\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " input.selectionStart = " + selectionStart + ";\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " input.selectionEnd = " + selectionEnd + ";\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -1486,7 +1486,7 @@ public void selectionOnUpdate() throws Exception { + " input.value = '7';\n" + " log(input.selectionStart + ',' + input.selectionEnd);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index f43e6f67e1f..91c69fb94e7 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -91,7 +91,7 @@ public void addedFromDocumentFragment() throws Exception { + " log('created');\n" + " element.parentNode.replaceChild(fragment, element);\n" + " log('replaced');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -462,7 +462,7 @@ public void setTextMultipleTextNodes() throws Exception { + " script.appendChild(document.createTextNode('log(\"2\");'));\n" + " script.text = 'log(\"3\");';\n" + " document.body.appendChild(script);\n" - + " } catch (e) {log(e.name);}\n" + + " } catch (e) {logEx(e);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java index 6573213cc4e..36c23d16fa6 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java @@ -72,7 +72,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'search';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlSvgTest.java b/src/test/java/org/htmlunit/html/HtmlSvgTest.java index 601f3121caf..2be7c313546 100644 --- a/src/test/java/org/htmlunit/html/HtmlSvgTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSvgTest.java @@ -112,7 +112,7 @@ public void getScreenCTM() throws Exception { + " var svg = document.getElementById('myId');\n" + " try {\n" + " log(svg.getScreenCTM());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java index 69447872fe6..8a341240ba5 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java @@ -51,7 +51,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'tel';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -87,7 +87,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'tel';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java index 2cf42e7c283..dbd056368c8 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java @@ -53,7 +53,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'time';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -89,7 +89,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'time';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index 0eea5be1021..dd65deaf82b 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -51,7 +51,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'url';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -87,7 +87,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'url';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java index a0604589527..12ffe0f1406 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java @@ -54,7 +54,7 @@ public void defaultValues() throws Exception { + " input = document.createElement('input');\n" + " input.type = 'week';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" @@ -90,7 +90,7 @@ public void defaultValuesAfterClone() throws Exception { + " input.type = 'week';\n" + " input = input.cloneNode(false);\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var builder = document.createElement('div');\n" + " builder.innerHTML = '';\n" diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java index e1160364b1d..18088880aa6 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser2Test.java @@ -651,7 +651,7 @@ public void divInsideButton() throws Exception { + " log(tmp.tagName);\n" + " tmp = tmp.firstChild.tagName;\n" + " log(tmp);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -680,7 +680,7 @@ public void objectInsideLabel() throws Exception { + " log(tmp.tagName);\n" + " tmp = tmp.firstChild.tagName;\n" + " log(tmp);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -843,7 +843,7 @@ public void ieConditionalCommentsNotInDom() throws Exception { + " log(tmp.innerHTML);\n" + " tmp = document.getElementById('my2');\n" + " log(tmp.innerHTML);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -977,7 +977,7 @@ public void selfClosingIframe() throws Exception { + " log(child2.nodeName);\n" + " log(child2.nodeValue);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1015,7 +1015,7 @@ public void dlShouldCloseDt() throws Exception { + " var child2 = child.childNodes[0];\n" + " log(child2.childNodes.length + '-' + child2.nodeType + '#' +child2.nodeName);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1047,7 +1047,7 @@ public void innerHtmlParagraph() throws Exception { + " var child = tmp.childNodes[0];\n" + " log(child.childNodes.length + '-' + child.nodeType + '#' + child.nodeName);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1080,7 +1080,7 @@ public void styleInsideP() throws Exception { + " tmp = tmp.nextSibling;\n" + " log(tmp.textContent);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1107,7 +1107,7 @@ public void styleInsideTable() throws Exception { + " tmp = tmp.firstChild;\n" + " log(tmp.tagName);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java index f6b9c94b11d..8cce51fab6e 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java @@ -743,7 +743,7 @@ public void setCompleteHtmlToHTML_innerHTML() throws Exception { + " document.getElementsByTagName('html')[0].innerHTML =" + " 'Inner Html" + "
        Inner DIV
        ';\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " \n" + "\n" + "\n"; diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java index 59011898f01..f459d8157e5 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java @@ -406,7 +406,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(document.body.childNodes[2]);\n" + " dump(document.body.childNodes[3]);\n" + " log(document.getElementsByTagName('a').length);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " log(innerDiv.id);\n" @@ -415,7 +415,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(innerDiv.childNodes[0]);\n" + " dump(innerDiv.childNodes[1]);\n" + " dump(innerDiv.childNodes[2]);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " log(anchors[0].id);\n" @@ -424,7 +424,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[0].childNodes[0]);\n" + " log(anchors[0] == outerA);\n" + " log(anchors[0] == innerA);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " log(anchors[1].id);\n" @@ -433,7 +433,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[1].childNodes[0]);\n" + " log(anchors[1] == outerA);\n" + " log(anchors[1] == innerA);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " log(anchors[2].id);\n" @@ -442,7 +442,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[2].childNodes[0]);\n" + " log(anchors[2] == outerA);\n" + " log(anchors[2] == innerA);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " function dump(e) {\n" + " log(e.nodeName + ':' + e.nodeValue);\n" diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index f5d018e4450..15515a36d73 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -55,7 +55,7 @@ public void xPathNull() throws Exception { + " node = result.iterateNext();\n" + " log(result.resultType);\n" + " log(node);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -82,7 +82,7 @@ public void xPathUndefined() throws Exception { + " node = result.iterateNext();\n" + " log(result.resultType);\n" + " log(node);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -109,7 +109,7 @@ public void optionText() throws Exception { + " for (var i = 0; i < value.length; i++) {\n" + " log(value.charCodeAt(i));\n" + " }\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -138,7 +138,7 @@ public void pipe() throws Exception { + " res += node;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -168,7 +168,7 @@ public void math() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -463,7 +463,7 @@ private void compare(final String xpath) throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -487,7 +487,7 @@ private void compareStringValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(\"'\" + result.stringValue + \"'\");\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -511,7 +511,7 @@ private void compareBooleanValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(result.booleanValue);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -534,7 +534,7 @@ private void compareError(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log('error expected');\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -561,7 +561,7 @@ public void minimalParameters() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -591,7 +591,7 @@ public void undefinedResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -621,7 +621,7 @@ public void stringResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -651,7 +651,7 @@ public void objectResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -696,7 +696,7 @@ public void reuseResult() throws Exception { + " }\n" + " log(res);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -722,7 +722,7 @@ public void documentEvaluateFirst() throws Exception { + " var res = '';\n" + " var result = document.evaluate('//div', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE);\n" + " log(result.singleNodeValue.id);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java index 856d36d9fdf..59d7117d5d1 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java @@ -55,7 +55,7 @@ public void setNonWritablePropertyContentType() throws Exception { + " log(document.contentType);\n" + " document.contentType = '123456';\n" + " log(document.contentType);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -79,7 +79,7 @@ public void setNonWritablePropertyCompatMode() throws Exception { + " log(document.compatMode);\n" + " document.compatMode = '123456';\n" + " log(document.compatMode);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -316,7 +316,7 @@ private void set_ReadOnly(final String expression) throws Exception { + " try {\n" + " " + expression + " = '" + expression + " was set" + "';\n" + " log(" + expression + ");\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -350,7 +350,7 @@ public void lookupGetter() throws Exception { + " log(lengthGetter);\n" + " log(lengthGetter.call(window));\n" + " log(lengthGetter.call());\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index d3aa727a1d2..05ec7df4fa1 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -275,7 +275,7 @@ private void object(final String object) throws Exception { + "try {\n" + " log(" + object + ");\n" + "} catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + "}\n" + "\n" + ""; @@ -1036,7 +1036,7 @@ public void javaNotAccessable() throws Exception { + "function test() {\n" + " try {\n" + " log(java.lang.Math.PI);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java index 17e1f761eb8..4b3266bf766 100644 --- a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java @@ -406,7 +406,7 @@ public void commaOperatorFunctionTry() throws Exception { + " try {\n" + " (0, obj.default)('var y=\"my y var\"');\n" + " log(y);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java index ca99dd0d6d5..8acf94d1f57 100644 --- a/src/test/java/org/htmlunit/javascript/NativeJSONTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeJSONTest.java @@ -48,7 +48,7 @@ public void getArraySyntax() throws Exception { + " text = '{\"name\": [, \"y\"]}';\n" + " try {\n" + " var obj = JSON.parse(text);" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java index d3787b21751..14b96710f02 100644 --- a/src/test/java/org/htmlunit/javascript/NativeNumberTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeNumberTest.java @@ -324,7 +324,7 @@ public void toLocaleStringHintertupfingen() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log((12345).toLocaleString('Hintertupfingen'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java index 8fb2f650ada..69affdde4b0 100644 --- a/src/test/java/org/htmlunit/javascript/NativeObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeObjectTest.java @@ -238,7 +238,7 @@ public void getPrototypeOfString() throws Exception { + " function test() {\n" + " try {\n" + " log(String.prototype === Object.getPrototypeOf(''));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -261,7 +261,7 @@ public void getPrototypeOfNumber() throws Exception { + " function test() {\n" + " try {\n" + " log(Number.prototype === Object.getPrototypeOf(1));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -284,7 +284,7 @@ public void getPrototypeOfBoolean() throws Exception { + " function test() {\n" + " try {\n" + " log(Boolean.prototype === Object.getPrototypeOf(true));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -307,7 +307,7 @@ public void getTypeOfPrototypeOfNumber() throws Exception { + " function test() {\n" + " try {\n" + " log(typeof Object.getPrototypeOf(1));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -340,7 +340,7 @@ public void getOwnPropertySymbols() throws Exception { + " log(objectSymbols.length);\n" + " log(objectSymbols[0] === a);\n" + " log(objectSymbols[1] === b);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -364,7 +364,7 @@ public void getOwnPropertySymbolsEmpty() throws Exception { + " try {\n" + " var objectSymbols = Object.getOwnPropertySymbols();\n" + " log(objectSymbols.length);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -397,7 +397,7 @@ public void getOwnPropertyDescriptor() throws Exception { + " log(desc);\n" + " log(typeof desc.get);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java index 9d37cbb54bc..aba0491d630 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java @@ -109,7 +109,7 @@ public void ctorNotChangeableForPrimitives() throws Exception { + " let val = null;\n" + " try {\n" + " val.constructor = 1;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " val = 'abc';\n" + " val.constructor = Number;" @@ -145,7 +145,7 @@ public void ctorNotChangeableForPrimitivesStrict() throws Exception { + " let val = null;\n" + " try {\n" + " val.constructor = 1;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " val = 'abc';\n" + " val.constructor = Number;" @@ -185,7 +185,7 @@ public void ctorChangeableHasNoEffectForTypeOf() throws Exception { + " log('ctor');\n" + " a.constructor = 'bar';\n" + " log(a.constructor === 'bar');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "\n" + "\n" @@ -216,7 +216,7 @@ public void ctorChangeableHasNoEffectForTypeOfStrict() throws Exception { + " log('ctor');\n" + " a.constructor = 'bar';\n" + " log(a.constructor === 'bar');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "\n" + "\n" @@ -266,7 +266,7 @@ public void ctorChangeableHasNoEffectForSealedStrict() throws Exception { + " try {\n" + " a.constructor = Number;\n" + " log(a.constructor === Object);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java index 9fb083bf6fd..3a145d47829 100644 --- a/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java @@ -72,7 +72,7 @@ public void xmlDocument() throws Exception { + " try {\n" + " var doc = new ActiveXObject('Microsoft.XMLDOM');\n" + " log(typeof doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -98,7 +98,7 @@ public void activex() throws Exception { + " } else {\n" + " log('ActiveXObject undefined');\n" + " }\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java index 3cb1ec84ef1..f2bea1059d6 100644 --- a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java @@ -55,7 +55,7 @@ public void elementAttributes() throws Exception { + " log(box.lastChild == spanB);\n" + " log(box.previousSibling == spanFoo);\n" + " log(box.nextSibling == spanBar);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + " \n" + " \n" @@ -85,7 +85,7 @@ public void positionAndSizeAttributes() throws Exception { + " log(box.x + '-' + box.y);\n" + " log(box.screenX + '-' + box.screenY);\n" + " log(box.width + '-' + box.height);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java index ea7f8fc4675..4eac0c40452 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectListTest.java @@ -72,11 +72,11 @@ public void itemOutside() throws Exception { + " try {\n" + " log(rects.item(1));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(rects.item(-1));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -104,11 +104,11 @@ public void indexOutside() throws Exception { + " try {\n" + " log(rects[1]);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(rects[-1]);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -136,11 +136,11 @@ public void empty() throws Exception { + " try {\n" + " log(rects[1]);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(rects[-1]);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java index 07591b27103..2ac08d81f40 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java @@ -47,7 +47,7 @@ public void properties() throws Exception { + " log(pos.right);\n" + " log(pos.width);\n" + " log(pos.height);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " }\n" + "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/Console2Test.java b/src/test/java/org/htmlunit/javascript/host/Console2Test.java index c8d64e4a8a6..3d8819153ee 100644 --- a/src/test/java/org/htmlunit/javascript/host/Console2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Console2Test.java @@ -211,7 +211,7 @@ public void fromWorker() throws Exception { + "\n"; loadPage(html); diff --git a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java index 034caa4017b..5388a1d2a35 100644 --- a/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ConsoleTest.java @@ -53,7 +53,7 @@ public void prototype() throws Exception { + " log(window.console == undefined);\n" + " log(typeof window.console);\n" + " log('console' in window);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -75,7 +75,7 @@ public void prototypeUppercase() throws Exception { + " log(window.Console == undefined);\n" + " log(typeof window.Console);\n" + " log('Console' in window);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -140,7 +140,7 @@ public void windowProperty() throws Exception { + " try {\n" + " var x = Object.getOwnPropertyNames(window).indexOf('console');\n" + " log(x >= 0);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "\n" + ""; @@ -162,7 +162,7 @@ public void fromWindow() throws Exception { + " var x = console.error;\n" + " x('hello');\n" + " log('success');\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index abe00177c76..1c7f82d28dc 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -91,7 +91,7 @@ public void selectNodes() throws Exception { + " var nodes = doc.documentElement.selectNodes('//title');\n" + " log(nodes.length);\n" + " log(nodes[0].tagName);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -199,7 +199,7 @@ public void selectNode_root() throws Exception { + " try {\n" + " log(child.selectNodes('/title').length);\n" + " log(child.selectNodes('title').length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -233,7 +233,7 @@ public void getElementsByTagNameNS() throws Exception { + " try {\n" + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', 'template').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, 'html').length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -265,7 +265,7 @@ public void getElementsByTagNameNSAsterisk() throws Exception { + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS('*', '*').length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -794,7 +794,7 @@ public void getBoundingClientRect() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(typeof Element.prototype.getBoundingClientRect);\n" - + "} catch (e) { log(e.name);}\n" + + "} catch (e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); } @@ -957,17 +957,17 @@ public void children() throws Exception { + " try {\n" + " var children = doc.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " try {\n" + " children = document.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " try {\n" + " children = document.getElementById('myId').children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -1178,12 +1178,12 @@ public void prototypConstructor() throws Exception { + " process(Element);\n" + " process(Element.prototype);\n" + " process(Element.prototype.constructor);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + " function process(obj) {\n" + " try {\n" + " log(obj);\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -1366,7 +1366,7 @@ public void matchesInvalidSelector() throws Exception { + " log(birds[i].textContent);\n" + " }\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log('done');\n" + " }\n" + "\n" @@ -1398,7 +1398,7 @@ public void matchesWindow() throws Exception { + " || docElem.msMatchesSelector;\n" + " try {\n" + " matches.call(window, ':visible')\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log('done');\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java index 89a943b64af..aa66a1c99b9 100644 --- a/src/test/java/org/htmlunit/javascript/host/ExternalTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ExternalTest.java @@ -110,7 +110,7 @@ public void isSearchProviderInstalled() throws Exception { + " try {\n" + " var res = window.external.IsSearchProviderInstalled('http://htmlunit.sourceforge.net');\n" + " log('IsSearchProviderInstalled: ' + res);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('no IsSearchProviderInstalled');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/History2Test.java b/src/test/java/org/htmlunit/javascript/host/History2Test.java index 2b71bf33501..1b2f1336175 100644 --- a/src/test/java/org/htmlunit/javascript/host/History2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/History2Test.java @@ -325,7 +325,7 @@ public void pushStateLocationHref() throws Exception { + " var stateObj = { hi: 'there' };\n" + " window.history.pushState(stateObj, 'page 2', 'bar.html');\n" + " log(location.href.indexOf('bar.html') > -1);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function test2() {\n" @@ -334,7 +334,7 @@ public void pushStateLocationHref() throws Exception { + " var stateObj = { hi2: 'there2' };\n" + " window.history.pushState(stateObj, 'page 3', 'bar2.html');\n" + " log(location.href.indexOf('bar2.html') > -1);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/Location2Test.java b/src/test/java/org/htmlunit/javascript/host/Location2Test.java index d8308e76bd6..1350177830e 100644 --- a/src/test/java/org/htmlunit/javascript/host/Location2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Location2Test.java @@ -178,7 +178,7 @@ public void about_blank_query_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -210,7 +210,7 @@ public void about_blank_emptyquery_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -242,7 +242,7 @@ public void about_blank_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -275,7 +275,7 @@ public void about_blank_emptyquery_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -309,7 +309,7 @@ public void about_blank_query_hash_attributes() throws Exception { + " log(location.port);\n" + " log(location.protocol);\n" + " log(location.search);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -341,7 +341,7 @@ public void about_blank_set_hash() throws Exception { + " location.hash = 'foo';\n" + " log(location.hash);\n" + " log(location.href);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/MapTest.java b/src/test/java/org/htmlunit/javascript/host/MapTest.java index 82b5e948cfa..268718d6680 100644 --- a/src/test/java/org/htmlunit/javascript/host/MapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/MapTest.java @@ -236,7 +236,7 @@ public void constructorInt32Array() throws Exception { + " var myMap = new Map(array);\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "\n" @@ -260,7 +260,7 @@ public void constructorStringParam() throws Exception { + " var myMap = new Map('test');\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "\n" @@ -284,7 +284,7 @@ public void constructorSetParam() throws Exception { + " var myMap = new Map(new Set('test'));\n" + " log(myMap.size);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "\n" @@ -347,7 +347,7 @@ public void constructorIteratorParam() throws Exception { + " var myMap = new Map(myIterable);\n" + " log(myMap.size);\n" + " myMap.forEach(logElement);\n" - + " }catch(e) { log(e.name); }" + + " }catch(e) { logEx(e); }" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java index 653b17b5406..c5ab2714722 100644 --- a/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NamedNodeMapTest.java @@ -117,11 +117,11 @@ public void getNamedItem_HTML() throws Exception { + " try {\n" + " log(f.attributes.name.nodeName);\n" + " log(f.attributes.name.nodeValue);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(f.attributes.NaMe.nodeName);\n" + " log(f.attributes.nAmE.nodeValue);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(f.attributes.getNamedItem('notExisting'));\n" + " }\n" + "\n" @@ -190,7 +190,7 @@ public void getNamedItem_XML() throws Exception { + " try {\n" + " log(doc.documentElement.attributes.name.nodeName);\n" + " log(doc.documentElement.attributes.name.nodeValue);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(doc.documentElement.attributes.getNamedItem('NaMe'));\n" + " log(doc.documentElement.attributes.NaMe);\n" + " log(doc.documentElement.attributes.getNamedItem('nonExistent'));\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java index 1a27f10d810..6685f485800 100644 --- a/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NavigatorTest.java @@ -280,7 +280,7 @@ public void taintEnabled() throws Exception { + " function doTest() {\n" + " try {\n" + " log(window.navigator.taintEnabled());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java index 33d82a8c666..c450bacfb21 100644 --- a/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NetscapeTest.java @@ -47,7 +47,7 @@ public void netscape() throws Exception { + " log(window.Netscape);\n" + " log(window.netscape.security);\n" + " log(window.netscape.security.PrivilegeManager);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -72,7 +72,7 @@ public void netscapeDescriptor() throws Exception { + " log(d1.writable);\n" + " log(d1.enumerable);\n" + " log(d1.configurable);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java index 0f68e12cabf..47b59c28d72 100644 --- a/src/test/java/org/htmlunit/javascript/host/NotificationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/NotificationTest.java @@ -41,7 +41,7 @@ public void prototype() throws Exception { + "try {\n" + " log(typeof window.Notification);\n" + " log('Notification' in window);\n" - + "} catch(e) { log(e.name);}\n" + + "} catch(e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); @@ -57,7 +57,7 @@ public void permission() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(Notification.permission);\n" - + "} catch(e) { log(e.name);}\n" + + "} catch(e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); @@ -73,7 +73,7 @@ public void minimalUsage() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " new Notification('Hello here');\n" - + "} catch(e) { log(e.name);}\n" + + "} catch(e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); @@ -89,7 +89,7 @@ public void requestPermission() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(typeof Notification.requestPermission);\n" - + "} catch(e) { log(e.name);}\n" + + "} catch(e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java index 78a29cb5a4a..22489828461 100644 --- a/src/test/java/org/htmlunit/javascript/host/Popup2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Popup2Test.java @@ -47,7 +47,7 @@ public void popup() throws Exception { + " oPopupBody.innerHTML = 'bla bla';\n" + " oPopup.show(100, 100, 200, 50, document.body);\n" + " log('done');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -70,7 +70,7 @@ public void popupBodyStyle() throws Exception { + " popupBody = popup.document.body;\n" + " popupBody.style.backgroundColor = '#7f7fff';\n" + " log('done');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java index 0e4ac60b34d..56265cccc85 100644 --- a/src/test/java/org/htmlunit/javascript/host/ReflectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ReflectTest.java @@ -76,7 +76,7 @@ public void applyMissingArgs() throws Exception { "try {\n" + " Reflect.apply();\n" + "} catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + "}"; test(js); } @@ -88,7 +88,7 @@ public void applyTargetNotFunction() throws Exception { "try {\n" + " Reflect.apply({}, undefined, [1.75]);\n" + "} catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + "}"; test(js); } @@ -101,7 +101,7 @@ public void applyArgumentsListNotFunction() throws Exception { + "try {\n" + " Reflect.apply(Math.floor, undefined, s1);\n" + "} catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + "}"; test(js); } diff --git a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java index 7f9ab3ae836..3d451001c93 100644 --- a/src/test/java/org/htmlunit/javascript/host/ScreenTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ScreenTest.java @@ -266,7 +266,7 @@ public void orientation() throws Exception { + " log(o);\n" + " log(o.type);\n" + " log(o.angle);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -291,7 +291,7 @@ public void mozOrientation() throws Exception { + " try {\n" + " var o = window.screen.mozOrientation;" + " log(o);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -315,7 +315,7 @@ public void isExtended() throws Exception { + " function doTest() {\n" + " try {\n" + " log(window.screen.isExtended);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/SetTest.java b/src/test/java/org/htmlunit/javascript/host/SetTest.java index a3ee0c43b37..582564d2d8e 100644 --- a/src/test/java/org/htmlunit/javascript/host/SetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SetTest.java @@ -294,7 +294,7 @@ public void constructorIteratorParam() throws Exception { + " var mySet = new Set(myIterable);\n" + " log(mySet.size);\n" + " mySet.forEach(logElement);\n" - + " } catch(e) { log(e.name); }" + + " } catch(e) { logEx(e); }" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/StorageTest.java b/src/test/java/org/htmlunit/javascript/host/StorageTest.java index ac50d5be884..97d8b54a217 100644 --- a/src/test/java/org/htmlunit/javascript/host/StorageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/StorageTest.java @@ -67,9 +67,9 @@ public void storageEquals() throws Exception { + ""; loadPageVerifyTitle2(html); } @@ -240,7 +240,7 @@ public void localStorageShouldBeShared() throws Exception { + "try {\n" + " localStorage.clear();\n" + " localStorage.setItem('hello', 'I was here');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; final WebDriver driver = loadPage2(html1); final List alerts = getCollectedAlerts(driver); @@ -248,7 +248,7 @@ public void localStorageShouldBeShared() throws Exception { final String html2 = ""; releaseResources(); @@ -293,7 +293,7 @@ public void prototypeIsExtensible() throws Exception { + " log('localStorage.extraMethod not callable');\n" + " }\n" + " log(localStorage.getItem('extraMethod'));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } @@ -314,7 +314,7 @@ public void prototypePropertiesAreVisible() throws Exception { + " localStorage.setItem('hasOwnProperty', 'value');\n" + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + " log(localStorage.length);\n" + ""; loadPageVerifyTitle2(html); @@ -341,7 +341,7 @@ public void writeToPrototypeProperty() throws Exception { + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" + " log(localStorage.length);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } diff --git a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java index 7ad7555eb1e..61ae508e44a 100644 --- a/src/test/java/org/htmlunit/javascript/host/SymbolTest.java +++ b/src/test/java/org/htmlunit/javascript/host/SymbolTest.java @@ -167,7 +167,7 @@ public void string() throws Exception { + " log(Symbol().toString());\n" + " log(Symbol('foo').toString());\n" + " log(Symbol.iterator.toString());\n" - + " try { log(Symbol.replace) } catch(e) { log(e.name); };\n" + + " try { log(Symbol.replace) } catch(e) { logEx(e); };\n" + " }\n" + "\n" + "\n" @@ -195,7 +195,7 @@ public void defaultValue() throws Exception { + " log(Symbol().toString());\n" + " log(Symbol('foo').toString());\n" + " log(Symbol.iterator.toString());\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -224,7 +224,7 @@ public void typeOf() throws Exception { + " log(typeof Symbol());\n" + " log(typeof Symbol('foo'));\n" + " log(typeof Symbol.iterator);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -254,7 +254,7 @@ public void symbolFor() throws Exception { + " var sym = Symbol.for('mario');\n" + " log(sym.toString());\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -284,7 +284,7 @@ public void symbolForGlobal() throws Exception { + " try {\n" + " log(Symbol.for('global') === globSym);\n" + " log(Symbol('global') === globSym);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -310,10 +310,10 @@ public void symbolNew() throws Exception { + " if (!window.Symbol) { log('not supported'); return; }\n" + " try {\n" + " new Symbol();\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " new Symbol('foo');\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -339,10 +339,10 @@ public void globalSymbolRegistry() throws Exception { + " if (!window.Symbol) { log('not supported'); return; }\n" + " try {\n" + " new Symbol();\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " new Symbol('foo');\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -390,7 +390,7 @@ public void inFunction2() throws Exception { + " try {\n" + " var x = Symbol('hello');\n" + " log('called');\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + " });\n" + " }\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index 7afb9cd8110..4d69edf910d 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -630,7 +630,7 @@ private void encoding(final String encoding) throws Exception { + " try {\n" + " enc = new TextDecoder('" + encoding + "');\n" + " log(enc.encoding);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -713,11 +713,11 @@ public void decode2() throws Exception { + " var dec = new TextDecoder('utf-8');\n" + " try {\n" + " log(dec.decode(undefined));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(dec.decode(null));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java index 54481e440bd..6174c36b0b7 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java @@ -936,10 +936,10 @@ public void forEachWrongParam() throws Exception { + " var param = new URLSearchParams('key1=val1&key2=val2&key3=val3');\n" + " try {\n" + " param.forEach();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " param.forEach('wrong');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java index d2833205907..63c8464ba59 100644 --- a/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WeakMapTest.java @@ -67,7 +67,7 @@ public void constructorSetParam() throws Exception { + " var myMap = new WeakMap(new Set('test'));\n" + " log(myMap.has('test'));\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "\n" @@ -94,7 +94,7 @@ public void constructorMapParam() throws Exception { + " var myMap = new WeakMap(testMap);\n" + " log(myMap.has(foo));\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "\n" @@ -134,7 +134,7 @@ public void constructorIteratorParam() throws Exception { + " var myMap = new WeakMap(myIterable);\n" + " log(myMap.has(foo));\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }" + "}\n" @@ -180,7 +180,7 @@ public void setNonObject() throws Exception { + " var myMap = new WeakMap(kvArray);\n" + " try {\n" + " myMap.set(1, 2);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java index f91bb04d0a9..906cba83956 100644 --- a/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WebSocketTest.java @@ -183,22 +183,22 @@ public void binaryType() throws Exception { + " try {\n" + " ws.binaryType = 'abc';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " ws.binaryType = 'arraybuffer';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " ws.binaryType = 'blob';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " ws.binaryType = '';\n" + " log(ws.binaryType);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index 8ce8d3bfbb9..dc5c389d346 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -66,7 +66,7 @@ public void thisIsWindow() throws Exception { + " log(this);\n" + " try {\n" + " log(abc);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " log(this.abc);\n" + " log(this.def);\n" + " this.abc = 'hello';\n" @@ -193,10 +193,10 @@ public void atobUnicode() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " window.btoa('I \\u2661 Unicode!');\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " window.atob('I \\u2661 Unicode!');\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -352,7 +352,7 @@ public void execScript2() throws Exception { + " try {\n" + " window.execScript('log(1);');\n" + " }\n" - + " catch(e) { log(e.name) }\n" + + " catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -371,7 +371,7 @@ public void execScript_returnValue() throws Exception { + "try {\n" + " log(window.execScript('1') === undefined);\n" + "}\n" - + "catch(e) { log(e.name) }\n" + + "catch(e) { logEx(e) }\n" + "\n" + ""; @@ -746,7 +746,7 @@ public void set_opener() throws Exception { + " _win.opener = value;\n" + " log(_win.opener + ' (' + (_win.opener === value) + ')');\n" + " }\n" - + " catch(e) { log(e.name) }\n" + + " catch(e) { logEx(e) }\n" + "}\n" + "function trySetOpener(_win) {\n" + " var originalValue = _win.opener;\n" @@ -780,10 +780,10 @@ public void set_opener() throws Exception { public void IEScriptEngineXxx() throws Exception { final String html = "\n" + "\n" + ""; @@ -1132,13 +1132,13 @@ public void eval() throws Exception { + " x.a = 'Success';\n" + " try {\n" + " log(window['eval']('x.a'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " log(window.eval('x.a'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " log(eval('x.a'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + ""; @@ -2351,7 +2351,7 @@ public void constructorError() throws Exception { + " var divs = document.querySelectorAll('div');\n" + " var a = Array.from.call(window, divs);\n" + " log(a.length);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -2415,7 +2415,7 @@ public void test__proto__() throws Exception { + " for (var p = this.__proto__; p != null; p = p.__proto__) {\n" + " log(p);\n" + " }\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 57f7664ed4c..90f065ec5a4 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -494,7 +494,7 @@ public void scrollByLines() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByLines(2);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -515,7 +515,7 @@ public void scrollByPages() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByPages(2);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -1029,7 +1029,7 @@ public void execScript() throws Exception { + " } catch (e) {\n" + " log('exception2: ' + e.message.substr(0, 20)); // msg now contains info on error location\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -1141,7 +1141,7 @@ public void attachOnLoadEvent() throws Exception { + " window.attachEvent('onload', test2);\n" + " window.attachEvent('onload', test3);\n" + " window.detachEvent('onload', test3);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -1165,7 +1165,7 @@ public void detachEventInAttachEvent() throws Exception { + "}\n" + "try {\n" + " window.attachEvent('onload', test);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -1728,7 +1728,7 @@ public void getComputedStyle() throws Exception { + " try {\n" + " getComputedStyle(void 0);\n" + " log('no exception');\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java index 7b8cba0d3d1..0f4563790c9 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java @@ -133,7 +133,7 @@ public void postMessageMissingParameters() throws Exception { + " try {\n" + " window.postMessage();\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" + ""; @@ -414,7 +414,7 @@ private void postMessageInvalidTargetOrigin(final String targetOrigin) throws Ex + " try {\n" + " window.postMessage('hello', '" + targetOrigin + "');\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java index ab4621eb9ee..e7c26a0367b 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java @@ -253,7 +253,7 @@ private void sliceInvalidIndex(final String index) throws Exception { + " for(var i = 0; i < y.length; i++) {\n" + " log(y[i]);\n" + " }\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java index 0885e8236d0..e0a43e4c4d6 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferViewTest.java @@ -139,7 +139,7 @@ public void ctorInvalidValuesFloat() throws Exception { + " for(var i = 0; i < x.length; i++) {\n" + " log(x[i]);\n" + " }\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java index d17b9b24f4d..ca5727e363b 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/DataViewTest.java @@ -48,7 +48,7 @@ public void arrayConstruction() throws Exception { + " x.setFloat32(1, Math.PI);\n" + " log(x.getInt8(0));\n" + " log(x.getFloat32(1));\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -80,7 +80,7 @@ public void endian() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -106,7 +106,7 @@ public void uint16() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -127,7 +127,7 @@ public void nullConstructor() throws Exception { + "function test() {\n" + " try {\n" + " new DataView(null);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java index c36e9118d7b..08b67f3a1e9 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float32ArrayTest.java @@ -47,7 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -178,7 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Float32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java index db22e13ae21..8f2e3b6004b 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Float64ArrayTest.java @@ -47,7 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -178,7 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Float64Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java index 96ae553d473..f76e9158798 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int16ArrayTest.java @@ -47,7 +47,7 @@ public void buffer() throws Exception { + " log(array.buffer);\n" + " log(array.byteLength);\n" + " log(array.byteOffset);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -71,7 +71,7 @@ public void arrayConstructor() throws Exception { + " log(array[0]);\n" + " log(array[1]);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -92,7 +92,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Int16Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -116,7 +116,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -141,7 +141,7 @@ public void outOfRange() throws Exception { + " array[1] = 12;\n" + " array[2] = 13;\n" + " log(array[2]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -272,7 +272,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int16Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java index dc4b10e64b3..85bea2c8a87 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int32ArrayTest.java @@ -47,7 +47,7 @@ public void bufferConstructor() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -178,7 +178,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java index 18fd47315ad..6b5a0f39ae5 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Int8ArrayTest.java @@ -48,7 +48,7 @@ public void buffer() throws Exception { + " log(array.buffer);\n" + " log(array.byteLength);\n" + " log(array.byteOffset);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -72,7 +72,7 @@ public void arrayConstructor() throws Exception { + " log(array[0]);\n" + " log(array[1]);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -117,7 +117,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Int8Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -248,7 +248,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Int8Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java index bc122b18625..5ee85dfabdd 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/SharedArrayBufferTest.java @@ -245,7 +245,7 @@ private void sliceInvalidIndex(final String index) throws Exception { + " for(var i = 0; i < y.length; i++) {\n" + " log(y[i]);\n" + " }\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java index badc95175ca..4ce33e82d9f 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint16ArrayTest.java @@ -48,7 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -179,7 +179,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint16Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java index 3faefe448b4..0e695af80f5 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint32ArrayTest.java @@ -48,7 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -69,7 +69,7 @@ public void constant() throws Exception { + "function test() {\n" + " try {\n" + " log(Uint32Array.BYTES_PER_ELEMENT);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -200,7 +200,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint32Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java index fd57eeef963..6dc48c1229e 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ArrayTest.java @@ -48,7 +48,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -179,7 +179,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint8Array(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -207,7 +207,7 @@ public void defineProperty() throws Exception { + " });\n" + " log(array);\n" + " log(array[Symbol]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -229,7 +229,7 @@ public void emptyConstructor() throws Exception { + " try {\n" + " var array = new Uint8Array();\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java index b87cb3fcdda..183783e1381 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/Uint8ClampedArrayTest.java @@ -49,7 +49,7 @@ public void arrayConstruction() throws Exception { + " var array2 = new Int8Array(array.buffer);\n" + " for (var i = 0; i < array2.length; i++)\n" + " log(array2[i]);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; @@ -180,7 +180,7 @@ public void nullConstructor() throws Exception { + " try {\n" + " var array = new Uint8ClampedArray(null);\n" + " log(array.length);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index 75c791fc58d..0f6933f52ba 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -71,7 +71,7 @@ public void test() throws Exception { + " ctx.closePath();\n" + " ctx.rotate(1.234);\n" + " log('done');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -112,7 +112,7 @@ public void methods() throws Exception { + " log(methods[i]);\n" + " }\n" + " log(nbMethods + ' methods');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -215,7 +215,7 @@ public void drawImage_noImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -247,7 +247,7 @@ public void drawImage_invalidImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -785,7 +785,7 @@ public void measureText() throws Exception { + " ctx = canvas.getContext('2d');\n" + " try {\n" + " log(ctx.measureText());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " var metrics = ctx.measureText('');\n" + " log(metrics.width);\n" @@ -936,7 +936,7 @@ public void globalAlpha() throws Exception { + " log(ctx.globalAlpha);\n" + " ctx.globalAlpha = null;\n" + " log(ctx.globalAlpha);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -970,7 +970,7 @@ public void globalAlphaInvalid() throws Exception { + " log(ctx.globalAlpha);\n" + " ctx.globalAlpha = undefined;\n" + " log(ctx.globalAlpha);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java index ef41f0eabdd..badabff833e 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java @@ -132,34 +132,34 @@ public void ctorArrayInvalid() throws Exception { + " try {\n" + " var imageData = new ImageData();\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(-2, 1);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(2, -1);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(-2, -1);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " var arr = new Uint8ClampedArray(8);\n" + " try {\n" + " var imageData = new ImageData(arr, 3);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " arr = new Uint8ClampedArray(11);\n" + " try {\n" + " var imageData = new ImageData(arr, 2);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " arr = new Uint8ClampedArray(8);\n" + " try {\n" + " var imageData = new ImageData(arr, 2, 2);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 9d8dee8b4c5..fe50f861e94 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -79,7 +79,7 @@ public void getRandomValues() throws Exception { + " log(res.length);\n" + " log(res === array);\n" + "}\n" - + "catch(e) { log(e.name); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -96,7 +96,7 @@ public void randomUUID() throws Exception { + "try {\n" + " log(window.crypto.randomUUID());\n" + "}\n" - + "catch(e) { log(e.name); }\n" + + "catch(e) { logEx(e); }\n" + ""; final WebDriver driver = loadPage2(html); @@ -117,7 +117,7 @@ public void getRandomValuesQuotaExceeded() throws Exception { + " var array = new Uint32Array(16385);\n" + " window.crypto.getRandomValues(array);\n" + "}\n" - + "catch(e) { log(e.name); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -134,7 +134,7 @@ public void subtle() throws Exception { + "try {\n" + " log(window.crypto.subtle);\n" + "}\n" - + "catch(e) { log(e.name); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java index 9d3e9df0e81..54fc2721f96 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java @@ -52,7 +52,7 @@ public void simple() throws Exception { + " log(rule.type);\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -78,7 +78,7 @@ public void urlSlashSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -104,7 +104,7 @@ public void urlSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -130,7 +130,7 @@ public void urlSlashSlash() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java index bb713615870..1885c3588da 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java @@ -114,7 +114,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@import \"imp2.css\";';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -175,7 +175,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -236,7 +236,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index 1e07b4a02a5..616c794262e 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -197,7 +197,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@media screen { span { color: rgb(0, 0, 0); }}';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -280,7 +280,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -335,7 +335,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -540,7 +540,7 @@ public void insertRule() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -570,7 +570,7 @@ public void insertRuleNull() throws Exception { + " try {\n" + " rule.insertRule(null);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -600,7 +600,7 @@ public void insertRuleEmpty() throws Exception { + " try {\n" + " rule.insertRule('');\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -630,7 +630,7 @@ public void insertRuleInvalid() throws Exception { + " try {\n" + " rule.insertRule('%ab');\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -667,7 +667,7 @@ public void insertRuleWithIndex() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -697,7 +697,7 @@ public void insertRuleNullWithIndex() throws Exception { + " try {\n" + " rule.insertRule(null, 1);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -733,7 +733,7 @@ public void insertRuleEmptyWithIndex() throws Exception { + " log(rules.item(i).parentRule);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -763,7 +763,7 @@ public void insertRuleInvalidWithIndex() throws Exception { + " try {\n" + " rule.insertRule('%ab', 1);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -868,7 +868,7 @@ public void insertRuleWithIndexNegative() throws Exception { + " try {\n" + " rule.insertRule('span { color:#000000; }', 2);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -899,7 +899,7 @@ public void insertRuleWithIndexGreaterThanLength() throws Exception { + " try {\n" + " rule.insertRule('span { color:#000000; }', 2);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -934,7 +934,7 @@ public void deleteRule() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -969,7 +969,7 @@ public void deleteRuleNull() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -1004,7 +1004,7 @@ public void deleteRuleNaN() throws Exception { + " log(rules.item(i).cssText);\n" + " }\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -1035,7 +1035,7 @@ public void deleteRuleNegative() throws Exception { + " try {\n" + " rule.deleteRule(-1);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -1066,7 +1066,7 @@ public void deleteRuleGreaterThanLength() throws Exception { + " try {\n" + " rule.deleteRule(2);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java index 07c12eace26..d6cc5d9bef2 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java @@ -164,7 +164,7 @@ public void cssTextSet() throws Exception { + " rule.cssText = '@page { margin: 2cm; }';\n" + " log(rule.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -219,7 +219,7 @@ public void parentRuleSet() throws Exception { + " rule.parentRule = rule;\n" + " log(rule.parentRule);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -274,7 +274,7 @@ public void parentStyleSheetSet() throws Exception { + " rule.parentStyleSheet = null;\n" + " log(rule.parentStyleSheet);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -303,7 +303,7 @@ public void selectorTextEmpty() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -332,7 +332,7 @@ public void selectorText() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -361,7 +361,7 @@ public void selectorTextCaseInsensitive() throws Exception { + " try {" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -392,7 +392,7 @@ public void selectorTextSet() throws Exception { + " rule.selectorText = ':left';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -423,7 +423,7 @@ public void selectorTextSetNull() throws Exception { + " rule.selectorText = null;\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -454,7 +454,7 @@ public void selectorTextSetEmpty() throws Exception { + " rule.selectorText = '';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -485,7 +485,7 @@ public void selectorTextSetInvalid() throws Exception { + " rule.selectorText = ':grey';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -516,7 +516,7 @@ public void selectorTextSetCaseInsensitive() throws Exception { + " rule.selectorText = ':LeFt';\n" + " log(rule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index 898e45aa7df..67594092a7d 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -76,10 +76,10 @@ public void querySelectorAll_emptyString() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll(''));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " log(document.querySelectorAll(' '));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -197,7 +197,7 @@ public void nth_child_no_argument() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('li:nth-child()'));\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -259,7 +259,7 @@ public void invalid() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('td:gt(4)').length);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -1204,7 +1204,7 @@ public void invalid_not() throws Exception { + " log(found.length);\n" + " log(found[0].id);\n" + " log(found[1].id);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -1361,7 +1361,7 @@ public void notWithFirstOfType() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('div:not(div:first-of-type)')[0].id);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -1406,7 +1406,7 @@ public void notWithNthOfType() throws Exception { + " log(res[0].id);\n" + " log(res[1].id);\n" + " log(res[2].id);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -1431,7 +1431,7 @@ public void notWithLastOfType() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('div:not(div:last-of-type)')[1].id);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -1476,7 +1476,7 @@ public void notWithNthLastOfType() throws Exception { + " log(res[0].id);\n" + " log(res[1].id);\n" + " log(res[2].id);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -2014,7 +2014,7 @@ public void has() throws Exception { + " var list = document.querySelectorAll('h1:has(p)');\n" + " log(list.length);\n" + " log(list[0]);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -2075,7 +2075,7 @@ public void differentWhitespaceClassName() throws Exception { + "try {\n" + " log(document.querySelectorAll('.foo').length);\n" + " log(document.querySelectorAll('.bar').length);\n" - + "} catch(e) {log(e.name)}\n" + + "} catch(e) {logEx(e)}\n" + ""; loadPageVerifyTitle2(html); @@ -2099,7 +2099,7 @@ public void escapedClassName() throws Exception { + " log(document.querySelectorAll('.foo\\\\[bar\\\\]')[0].id);\n" + " log(document.querySelectorAll('.foo\\\\.bar')[0].id);\n" + " log(document.querySelectorAll('.foo\\\\:bar')[0].id);\n" - + "} catch(e) {log(e.name)}\n" + + "} catch(e) {logEx(e)}\n" + ""; loadPageVerifyTitle2(html); @@ -2145,7 +2145,7 @@ public void invalidSelectors() throws Exception { + " try {\n" + " var list = document.querySelectorAll('li:foo() ~ li');\n" + " log(list.length);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -2390,20 +2390,20 @@ private void emptyAndDetached(final String selector) throws Exception { + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " div = document.createElement('div');\n" + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " var input = document.createElement('span');\n" + " div.appendChild(input);\n" + " try {\n" + " found = div.querySelector('" + selector + "');\n" + " log(found);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -2525,10 +2525,10 @@ public void querySelector_invalid() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('#foo > :not(:first)'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " log(document.querySelector('#foo > :not(:first)'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 6c2b689ae4d..81e84f98c5e 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -240,7 +240,7 @@ public void cssTextSet() throws Exception { + " decl.cssText = 'color:#000000;';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -248,7 +248,7 @@ public void cssTextSet() throws Exception { + " decl.cssText = 'color:#000000;';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -282,7 +282,7 @@ public void cssTextSetNull() throws Exception { + " decl.cssText = null;\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -290,7 +290,7 @@ public void cssTextSetNull() throws Exception { + " decl.cssText = null;\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -324,7 +324,7 @@ public void cssTextSetEmpty() throws Exception { + " decl.cssText = '';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -332,7 +332,7 @@ public void cssTextSetEmpty() throws Exception { + " decl.cssText = '';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -372,7 +372,7 @@ public void cssTextSetInvalid() throws Exception { + " decl.cssText = 'abc';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -380,7 +380,7 @@ public void cssTextSetInvalid() throws Exception { + " decl.cssText = 'abc';\n" + " log(decl.cssText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -510,7 +510,7 @@ public void lengthSet() throws Exception { + " decl.length = 2;\n" + " log(decl.length);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -518,7 +518,7 @@ public void lengthSet() throws Exception { + " decl.length = 2;\n" + " log(decl.length);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -582,7 +582,7 @@ public void parentRuleSet() throws Exception { + " log(decl.parentRule);\n" + " log(decl.parentRule.selectorText);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " decl = document.getElementById('myDiv').style;\n" @@ -590,7 +590,7 @@ public void parentRuleSet() throws Exception { + " decl.parentRule = styleSheet.cssRules[1];\n" + " log(decl.parentRule);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "\n" @@ -797,7 +797,7 @@ public void getPropertyValue() throws Exception { + " try {\n" + " var oDiv1 = document.getElementById('div1');\n" + " log(oDiv1.style.getPropertyValue('background'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -888,7 +888,7 @@ public void getPropertyValue_WithDash() throws Exception { + " try{\n" + " var p = span.style.getPropertyValue(prop);\n" + " log(p);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " function test() {\n" @@ -1021,7 +1021,7 @@ public void setExpression() throws Exception { + " var div1 = document.getElementById('div1');\n" + " log(typeof div1.style.setExpression);\n" + " div1.style.setExpression('title','id');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" @@ -1043,7 +1043,7 @@ public void removeExpression() throws Exception { + " log(typeof div1.style.removeExpression);\n" + " div1.style.setExpression('title','id');\n" + " div1.style.removeExpression('title');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" @@ -1276,7 +1276,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1284,7 +1284,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1311,7 +1311,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1319,7 +1319,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1357,13 +1357,13 @@ public void zIndexSetString() throws Exception { + " style.zIndex = '4';\n" + " try {\n" + " style.zIndex = ' ';\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = '1';\n" + " try {\n" + " style.zIndex = 'NAN';\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1389,14 +1389,14 @@ public void zIndexSetInvalid() throws Exception { + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -3094,7 +3094,7 @@ public void interceptSetter() throws Exception { + " var div = document.getElementById('d');\n" + " div.style.display = 'none';\n" + " log(div.style.display);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -3114,12 +3114,12 @@ public void setToNull() throws Exception { + " log(div1.style.border);\n" + " try {\n" + " div1.style.border = null;\n" - + " } catch (e) {log(e.name);}\n" + + " } catch (e) {logEx(e);}\n" + " log(div1.style.border);\n" + " log(div1.style.display);\n" + " try {\n" + " div1.style.display = null;\n" - + " } catch (e) {log(e.name);}\n" + + " } catch (e) {logEx(e);}\n" + " log(div1.style.display);\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java index 0908b9371b3..4292e281092 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java @@ -224,7 +224,7 @@ public void oldIEStyleFilter() throws Exception { + " var rules = sheet.cssRules || sheet.rules;\n" + " log(rules.length);\n" + " log(rules[0].style.filter);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -251,7 +251,7 @@ public void filter() throws Exception { + " var rules = sheet.cssRules || sheet.rules;\n" + " log(rules.length);\n" + " log(rules[0].style.filter);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java index 48a5dfb4972..4a06776ca36 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleSheetTest.java @@ -269,7 +269,7 @@ public void addInvalidRule() throws Exception { + " if (s.addRule)\n" + " s.addRule('.testStyle1;', '', 1);\n" + " log('added');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -362,7 +362,7 @@ public void insertInvalidRule() throws Exception { + " if (s.insertRule)\n" + " s.insertRule('.testStyle1', 0);\n" + " log('inserted');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -423,7 +423,7 @@ public void deleteRuleInvalidParam() throws Exception { + " else\n" + " s.removeRule(19);\n" + " log('deleted');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -455,7 +455,7 @@ public void deleteRuleIgnored() throws Exception { + " log(rules.length);\n" + " log(rules[0].selectorText);\n" + " log(rules[0].style.cssText);\n" - + " } catch(err) { log(e.name); }\n" + + " } catch(err) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java index ca9572a1dcc..5d5f87ab993 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java @@ -43,7 +43,7 @@ public void global() throws Exception { + " try {\n" + " log(CSS);" + " log(CSS.prototype);" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -64,7 +64,7 @@ public void constructor() throws Exception { + " try {\n" + " var o = Object.create(CSS.prototype);\n" + " log(o);" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -85,7 +85,7 @@ public void supports() throws Exception { + " log(CSS.supports('display', 'flex'));" + " log(CSS.supports('display', 'grid'));" + " log(CSS.supports('color', 'red'));" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -105,7 +105,7 @@ public void supportsCondition() throws Exception { + " try {\n" + " log(CSS.supports('display: flex'));" + " log(CSS.supports('color: red'));" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -129,7 +129,7 @@ public void supportsSelector() throws Exception { + " try {\n" + " log(CSS.supports('selector(div)'));" + " log(CSS.supports('selector(div, span)'));" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index 0db0722cf96..e81ccfaec4a 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -1624,7 +1624,7 @@ public void getPropertyValue() throws Exception { + " var s = window.getComputedStyle(d, null);\n" + " log(s.getPropertyValue('test'));\n" + " log(s.getPropertyValue('color'));\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index 2dfbb9c68b6..6255aedb700 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -85,7 +85,7 @@ public void getComputedStyle_Link() throws Exception { + " log(window.getComputedStyle(div, null).color);\n" + " var div2 = document.getElementById('myDiv2');\n" + " log(window.getComputedStyle(div2, null).color);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 49f9be94f76..0614a3b1945 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -60,7 +60,7 @@ public void ctor() throws Exception { + " function test() {\n" + " try {\n" + " new AbstractRange();\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java index 38390beecb6..057f6a7c015 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java @@ -143,27 +143,27 @@ public void deleteData() throws Exception { + " try {\n" + " text1.deleteData(5, 11);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(4, 5);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(1, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; @@ -189,22 +189,22 @@ public void deleteDataEmptyImput() throws Exception { + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, -1);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        -
        "; @@ -228,22 +228,22 @@ public void deleteDataInvalidStart() throws Exception { + " try {\n" + " text1.deleteData(-1, 4);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, 4);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, 0);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, -18);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        abcde
        "; @@ -267,17 +267,17 @@ public void deleteDataNegativeCount() throws Exception { + " try {\n" + " text1.deleteData(18, -15);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(5, -4);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(2, -4);\n" + " log(text1.data);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index c09fa4618f3..d6fa7bc0c38 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -47,7 +47,7 @@ public void constants() throws Exception { + " for (var i = 0; i < properties.length; i++) {\n" + " log(DOMException[properties[i]]);\n" + " }\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -156,7 +156,7 @@ public void name() throws Exception { + " let ex = new DOMException('test', commonErrorNames[i]);" + " log(commonErrorNames[i] + ' - ' + ex.code + ' ' + ex.name);\n" + " }\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -176,7 +176,7 @@ public void nameCaseSensitive() throws Exception { + " let ex = new DOMException('test', 'urlMismatchERRoR');" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -196,7 +196,7 @@ public void nameNotProvided() throws Exception { + " let ex = new DOMException('test');" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -216,7 +216,7 @@ public void nameNull() throws Exception { + " let ex = new DOMException('test', null);" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -236,7 +236,7 @@ public void nameUndefined() throws Exception { + " let ex = new DOMException('test', undefined);" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -256,7 +256,7 @@ public void nameUnknown() throws Exception { + " let ex = new DOMException('test', 'unKnown');" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -276,7 +276,7 @@ public void nameNumber() throws Exception { + " let ex = new DOMException('test', 7);" + " log(ex.code);\n" + " log(ex.name);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -297,7 +297,7 @@ public void properties() throws Exception { + " log(DOMException.filename);\n" + " log(DOMException.lineNumber);\n" + " log(DOMException.message);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java index 66bd69aa54b..424b44cde34 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMImplementationTest.java @@ -384,7 +384,7 @@ public void createHTMLDocument() throws Exception { + " var doc = document.implementation.createHTMLDocument();\n" + " log(doc);\n" + " log(doc.window);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -410,7 +410,7 @@ public void createHTMLDocument_title() throws Exception { + " var doc = document.implementation.createHTMLDocument('newdoctitle');\n" + " log(doc);\n" + " log(doc.title);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -436,7 +436,7 @@ public void createHTMLDocument_titleEmpty() throws Exception { + " var doc = document.implementation.createHTMLDocument('');\n" + " log(doc);\n" + " log(doc.title);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -462,7 +462,7 @@ public void createHTMLDocument_jQuery() throws Exception { + " var doc = document.implementation.createHTMLDocument('');\n" + " doc.body.innerHTML = '
        ';\n" + " log(doc.body.childNodes.length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -489,7 +489,7 @@ public void createHTMLDocument_createElement() throws Exception { + " var p = doc.createElement('p');\n" + " p.innertHTML = 'createdElement';\n" + " log(p.innertHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -516,17 +516,17 @@ public void createHTMLDocument_htmlCode() throws Exception { + " try {\n" + " var doc = document.implementation.createHTMLDocument();\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " var doc = document.implementation.createHTMLDocument('');\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " var doc = document.implementation.createHTMLDocument('abc');\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -555,7 +555,7 @@ public void createHTMLDocumentAddParagraph() throws Exception { + " p.innerHTML = 'This is a new paragraph.';\n" + " doc.body.appendChild(p);" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -581,7 +581,7 @@ public void createHTMLDocumentInnerAddParagraph() throws Exception { + " var doc = document.implementation.createHTMLDocument('test');\n" + " doc.body.innerHTML = '

        Hello

        ';\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -607,7 +607,7 @@ public void createHTMLDocumentInnerAddImg() throws Exception { + " var doc = document.implementation.createHTMLDocument('test');\n" + " doc.body.innerHTML = '';\n" + " log(doc.documentElement.outerHTML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index 99d298f4c41..7b98edd574d 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -45,7 +45,7 @@ public void scriptableToString() throws Exception { + " function test() {\n" + " try {\n" + " log(new DOMParser());\n" - + " } catch (e) {log(e.name);}\n" + + " } catch (e) {logEx(e);}\n" + " }\n" + "\n" + ""; @@ -71,7 +71,7 @@ public void parseFromString_text_html() throws Exception { + " log(doc);\n" + " log(doc.body.innerHTML);\n" + " log(doc.URL);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -98,7 +98,7 @@ public void parseFromString_text_html_div() throws Exception { + " log(doc);\n" + " log(doc.body.innerHTML);\n" + " log(doc.URL);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -123,7 +123,7 @@ public void parseFromString_text_xml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'text/xml');\n" + " log(doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -147,7 +147,7 @@ public void parseFromString_application_xml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'application/xml');\n" + " log(doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -171,7 +171,7 @@ public void parseFromString_application_xhtmlXml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'application/xhtml+xml');\n" + " log(doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -195,7 +195,7 @@ public void parseFromString_application_svgXml() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'image/svg+xml');\n" + " log(doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -219,7 +219,7 @@ public void parseFromString_unknownType() throws Exception { + " var parser = new DOMParser();\n" + " var doc = parser.parseFromString(text, 'unknown/type');\n" + " log(doc);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -251,7 +251,7 @@ public void parseFromString() throws Exception { + " var x = doc.documentElement;\n" + " log(x.childNodes.length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -279,7 +279,7 @@ public void parseFromString_invalidXml() throws Exception { + " log('parsererror');\n" + " return;\n" + " }\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -307,7 +307,7 @@ public void parseFromString_emptyString() throws Exception { + " return;\n" + " }\n" + " log(doc.childNodes.length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -330,7 +330,7 @@ public void parseFromString_missingMimeType() throws Exception { + " try {\n" + " var parser=new DOMParser();\n" + " parser.parseFromString(text);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -366,7 +366,7 @@ public void parseFromString_processingInstructionKept() throws Exception { + " for(var i = 0; i < doc.documentElement.childNodes.length; i++) {\n" + " log(doc.documentElement.childNodes[i]);\n" + " }\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java index ad4da723222..3cfd02decc9 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMTokenListTest.java @@ -268,10 +268,10 @@ public void forEachWrongParam() throws Exception { + " var list = document.getElementById('d1').classList;\n" + " try {\n" + " list.forEach();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " list.forEach('wrong');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" @@ -537,7 +537,7 @@ private void item(final String in, final int pos) throws Exception { + " try {\n" + " log(list.item(" + pos + "));\n" + " log(list[" + pos + "]);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " }\n" + "\n" + "
        \n" @@ -713,7 +713,7 @@ private void contains(final String in, final String toAdd) throws Exception { + " log(list.length);\n" + " try {\n" + " log(list.contains('" + toAdd + "'));\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " }\n" + "\n" + "
        \n" @@ -953,7 +953,7 @@ private void add(final String in, final String toAdd) throws Exception { + " log(list.length);\n" + " try {\n" + " list.add(" + toAdd + ");\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " }\n" @@ -983,7 +983,7 @@ public void addSvg() throws Exception { + " log(list.length);\n" + " try {\n" + " list.add('new');\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " }\n" + "\n" @@ -1288,7 +1288,7 @@ private void remove(final String in, final String toRemove) throws Exception { + " log(list.length);\n" + " try {\n" + " list.remove(" + toRemove + ");\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" @@ -1427,7 +1427,7 @@ private void replace(final String in, final String oldToken, final String newTok + " try {\n" + " var res = list.replace('" + oldToken + "', '" + newToken + "');\n" + " log(res);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" @@ -1524,10 +1524,10 @@ public void toggle() throws Exception { + " var list = elem.classList;\n" + " try {\n" + " list.toggle('ab e');\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " try {\n" + " list.toggle('');\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " log(list.contains('e'));\n" + " log(list.toggle('e'));\n" @@ -1687,7 +1687,7 @@ private void toggle(final String in, final String token) throws Exception { + " try {\n" + " var res = list.toggle('" + token + "');\n" + " log(res);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + " log(list.length);\n" + " log(elem.className);\n" + " log(elem.outerHTML);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 31b3e97200d..b8693b1afbf 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -56,7 +56,7 @@ public void createElementWithAngleBrackets() throws Exception { + " var select = document.createElement('\n" @@ -2571,7 +2571,7 @@ public void createStyleSheet() throws Exception { + "try {\n" + " var s = document.createStyleSheet('foo.css', 1);\n" + " log(s);\n" - + "} catch(e) {log(e.name);}\n" + + "} catch(e) {logEx(e);}\n" + "\n" + ""; @@ -2651,7 +2651,7 @@ private void createEvent(final String eventType) throws Exception { + " log(e);\n" + " log(e.cancelable);\n" + "}\n" - + "catch (e) { log(e.name) }\n" + + "catch (e) { logEx(e) }\n" + "\n" + ""; @@ -2678,7 +2678,7 @@ public void createEvent_target() throws Exception { + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " log(event.target);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2705,7 +2705,7 @@ public void createEvent_overridden() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2733,7 +2733,7 @@ public void createEvent_caller() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2801,7 +2801,7 @@ public void createEventObject_IE() throws Exception { + " log(e != null);\n" + " log(typeof e);\n" + " log(e);\n" - + "} catch(e) {log(e.name);}\n" + + "} catch(e) {logEx(e);}\n" + "\n" + ""; @@ -3712,7 +3712,7 @@ public void newDoc() throws Exception { + " log(doc.origin);\n" + " log(doc.firstElementChild);\n" + " log(doc.defaultView);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java index 1d375520d5e..9fed3a92285 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/MutationObserverTest.java @@ -50,7 +50,7 @@ public void observeNullNode() throws Exception { + "\n" + " try {\n" + " observer.observe(div, {});\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -75,7 +75,7 @@ public void observeNullInit() throws Exception { + "\n" + " try {\n" + " observer.observe(div);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -100,7 +100,7 @@ public void observeEmptyInit() throws Exception { + "\n" + " try {\n" + " observer.observe(div, {});\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -125,19 +125,19 @@ public void observeRequiredMissingInit() throws Exception { + "\n" + " try {\n" + " observer.observe(div, {subtree: true});\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " observer.observe(div, {childList: true});\n" + " log('childList');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " observer.observe(div, {attributes: true});\n" + " log('attributes');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " observer.observe(div, {characterData: true});\n" + " log('characterData');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java index d3f5b7e0a15..b73217b5ec6 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeFilterTest.java @@ -46,7 +46,7 @@ public void constants() throws Exception { + " for (var i = 0; i < properties.length; i++) {\n" + " log(NodeFilter[properties[i]]);\n" + " }\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; @@ -64,7 +64,7 @@ public void constants_SHOW_ALL() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log(NodeFilter.SHOW_ALL);\n" - + " } catch(e) { log(e.name);}\n" + + " } catch(e) { logEx(e);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java index 9cc8d6328c9..5963f811239 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeListTest.java @@ -287,10 +287,10 @@ public void forEachWrongParam() throws Exception { + " var nodeList = document.querySelectorAll('*');\n" + " try {\n" + " nodeList.forEach();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " nodeList.forEach('wrong');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index 5d43328d557..9bd96d30c48 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -128,7 +128,7 @@ public void remove() throws Exception { + " div1.remove();\n" + " log(document.body.childNodes.length);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -172,7 +172,7 @@ public void removeChildSibling() throws Exception { + " var div2 = document.getElementById('div2');\n" + " try {\n" + " div1.removeChild(div2);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "\n" @@ -350,7 +350,7 @@ public void attachEvent() throws Exception { + " try {\n" + " oField.attachEvent('onclick', foo1);\n" + " oField.attachEvent('onclick', foo2);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "function foo1() {log('in foo1');}\n" + "function foo2() {log('in foo2');}\n" @@ -491,11 +491,11 @@ public void append_insert_html_node() throws Exception { + " var htmlNode = document.documentElement;\n" + " var body = document.body;\n" + " log(body.childNodes.length);\n" - + " try { body.appendChild(htmlNode); } catch(e) { log(e.name); }\n" + + " try { body.appendChild(htmlNode); } catch(e) { logEx(e); }\n" + " log(body.childNodes.length);\n" - + " try { body.insertBefore(htmlNode, body.firstChild); } catch(e) { log(e.name); }\n" + + " try { body.insertBefore(htmlNode, body.firstChild); } catch(e) { logEx(e); }\n" + " log(body.childNodes.length);\n" - + " try { body.replaceChild(htmlNode, body.firstChild); } catch(e) { log(e.name); }\n" + + " try { body.replaceChild(htmlNode, body.firstChild); } catch(e) { logEx(e); }\n" + " log(body.childNodes.length);\n" + "}\n" + "hi"; @@ -715,7 +715,7 @@ public void compareDocumentPosition() throws Exception { + " log(div2.compareDocumentPosition(div3));\n" + " try {\n" + " log(div2.compareDocumentPosition({}));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" @@ -746,7 +746,7 @@ public void compareDocumentPosition2() throws Exception { + " log(div.compareDocumentPosition(childDiv) & Node.DOCUMENT_POSITION_CONTAINED_BY);\n" + " div.appendChild(childDiv);\n" + " log(div.compareDocumentPosition(childDiv) & Node.DOCUMENT_POSITION_CONTAINED_BY);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + " }\n" + "\n" + ""; @@ -868,7 +868,7 @@ public void insertBefore_undefinedRef() throws Exception { + " e.innerHTML = 'new element';\n" + " document.body.insertBefore(e, undefined);\n" + " log('done');" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + "\n" @@ -916,7 +916,7 @@ private void insertBefore(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { log(e.name); }\n" + + " catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -985,7 +985,7 @@ private void insertBeforeFragment(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { log(e.name); }\n" + + " catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1060,7 +1060,7 @@ public void insertBefore_newElement() throws Exception { + " var e = document.createElement('div');\n" + " e.innerHTML = 'new element';\n" + " document.body.insertBefore(e);\n" - + " } catch(e) {log(e.name);}\n" + + " } catch(e) {logEx(e);}\n" + "}\n" + "\n" + "\n" @@ -1217,7 +1217,7 @@ public void event() throws Exception { + " function test() {\n" + " try {\n" + " parent.document.body.attachEvent('onclick', handler);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java index 6865610b6d3..a724d7afd3e 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RadioNodeListTest.java @@ -126,7 +126,7 @@ public void iterable() throws Exception { + LOG_TITLE_FUNCTION + " function test() {\n" + " for (let e of form.first) {\n" - + " log(e.name)\n" + + " logEx(e)\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java index 4793fec4444..0deb6ecec26 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java @@ -137,7 +137,7 @@ public void createContextualFragment2() throws Exception { + "try {\n" + " test('d');\n" + " test('t');\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java index 359ac947688..9be49799dd3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java @@ -58,7 +58,7 @@ public void equality_getSelection() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(window.getSelection()==window.getSelection());\n" - + "} catch (e) {log(e.name)}\n" + + "} catch (e) {logEx(e)}\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -376,7 +376,7 @@ private void tester(final String jsSnippet) throws Exception { + " var s3 = document.getElementById('s3');\n" + " try {\n" + jsSnippet - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function alertSelection(s) {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java index 02140ecf40e..c7784d08178 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TextRangeTest.java @@ -51,7 +51,7 @@ public void text() throws Exception { + " log(f.value);\n" + " r.duplicate().text = 'bli bli';\n" + " log(f.value);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -76,7 +76,7 @@ public void parentElement() throws Exception { + " function test() {\n" + " try {\n" + " log(document.body.createTextRange().parentElement().tagName);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -106,7 +106,7 @@ public void collapse() throws Exception { + " log(r.text);\n" + " r.collapse();\n" + " log(r.text);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -133,7 +133,7 @@ public void select() throws Exception { + " try {\n" + " var r = document.selection.createRange();\n" + " r.select();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -166,7 +166,7 @@ public void moveEnd() throws Exception { + " log(r.text);\n" + " r.moveStart('character');\n" + " log(r.text);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -202,7 +202,7 @@ public void moveOutOfBounds_input() throws Exception { + " log(r.moveEnd('character', 100));\n" + " log(r.moveStart('character', -100));\n" + " log(r.text);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -233,7 +233,7 @@ public void inRange() throws Exception { + " r1.collapse();\n" + " log(r1.inRange(r2));\n" + " log(r2.inRange(r1));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -261,7 +261,7 @@ public void inRange2() throws Exception { + " var range = document.f.q.createTextRange();\n" + " var selectionRange = document.selection.createRange();\n" + " log(range.inRange(selectionRange));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -283,7 +283,7 @@ public void moveToElementText() throws Exception { + " var r = document.selection.createRange();\n" + " r.moveToElementText(document.getElementById('s3'));\n" + " log(r.parentElement().id + ' ' + r.text + ' ' + r.htmlText);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -311,7 +311,7 @@ public void setEndRange() throws Exception { + " var r3 = range1.duplicate();\n" + " r3.setEndPoint('EndToEnd', range2);\n" + " log(r3.text);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -331,7 +331,7 @@ public void createRangeParentElement() throws Exception { + " s = document.selection.createRange();\n" + " p = s.parentElement();\n" + " log(p.tagName);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -352,7 +352,7 @@ public void createRangeHtmlText() throws Exception { + " s = document.selection.createRange();\n" + " t = s.htmlText;\n" + " log(t);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -373,7 +373,7 @@ public void moveToBookmark() throws Exception { + " var rng = document.body.createTextRange();\n" + " rng.moveToBookmark(rng.getBookmark());\n" + " log('ok');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java index 722ca2e4d1b..d6d75417b7b 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/TreeWalkerTest.java @@ -44,7 +44,7 @@ public class TreeWalkerTest extends WebDriverTestCase { + "function test() {\n" + " try {\n"; - private static final String CONTENT_END = "\n } catch(e) { log(e.name) }\n" + private static final String CONTENT_END = "\n } catch(e) { logEx(e) }\n" + "\n}\n\n" + "\n" + "
        Hello, this is a test for" @@ -68,7 +68,7 @@ private void test(final String script) throws Exception { + "function test() {\n" + " try {\n"; - private static final String CONTENT_END2 = "\n } catch(e) { log(e.name) }\n" + private static final String CONTENT_END2 = "\n } catch(e) { logEx(e) }\n" + "\n}\n\n" + "\n" + "
        Hello, this is a test for" @@ -324,7 +324,7 @@ public void walkingOutsideTheRoot() throws Exception { public void nullRoot() throws Exception { final String script = "try {\n" + "var tw = document.createTreeWalker(null, NodeFilter.SHOW_ELEMENT, null, true);\n" - + "} catch(e) { log(e.name); }\n"; + + "} catch(e) { logEx(e); }\n"; test2(script); } @@ -388,7 +388,7 @@ public void simpleFilter_asAFunction() throws Exception { public void emptyFilter() throws Exception { final String script = "try {\n" + "var tw = document.createTreeWalker(null, NodeFilter.SHOW_ELEMENT, {}, true);\n" - + "} catch(e) { log(e.name); }\n"; + + "} catch(e) { logEx(e); }\n"; test2(script); } diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java index f3f806363a2..e578fbbd3af 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathEvaluatorTest.java @@ -182,7 +182,7 @@ public void namespacesWithNodeInArray() throws Exception { + " var result = xpe.evaluate('/soap:Envelope/soap:books/soap:book/title/text()', " + "[doc.documentElement], nsResolver, XPathResult.STRING_TYPE, null);\n" + " log(result.stringValue);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('window.XPathEvaluator undefined');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java index a331f95d7b2..b971a762eb4 100644 --- a/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java +++ b/src/test/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemTest.java @@ -103,7 +103,7 @@ public void file() throws Exception { + " try {" + " dt.items.add(undefined);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index 69a305f9c35..22e5fc80060 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new AnimationEvent('animationstart');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('AnimationEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index ad79e07c6f7..70c9a142f4e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " function test() {\n" + " try {\n" + " var event = new AudioProcessingEvent('audioprocessing');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -85,7 +85,7 @@ public void create_ctorAllDetails() throws Exception { + " 'playbackTime': 4,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + DUMP_EVENT_FUNCTION + " }\n" + "\n" @@ -107,7 +107,7 @@ public void create_ctorMissingDetails() throws Exception { + " try {\n" + " var event = new AudioProcessingEvent('audioprocessing');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + DUMP_EVENT_FUNCTION + " }\n" + "\n" @@ -129,7 +129,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('AudioProcessingEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java index 54987eedf3d..7200f7ccfc8 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent('before');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -127,7 +127,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -149,7 +149,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -173,7 +173,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -198,7 +198,7 @@ public void create_ctorAllDetails() throws Exception { + " var event = new BeforeInstallPromptEvent('click', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java index 8ecb311085a..29347b6b317 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java @@ -55,7 +55,7 @@ public void create_ctor() throws Exception { + " function test() {\n" + " try {\n" + " var event = new BeforeUnloadEvent('beforeunload');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -76,7 +76,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('BeforeUnloadEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void dispatchEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" @@ -146,7 +146,7 @@ public void dispatchEvent_event() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java index de0290f310b..31f7b54a1c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new BlobEvent('blob');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -73,7 +73,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new BlobEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -95,7 +95,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new BlobEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -117,7 +117,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new BlobEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -139,7 +139,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new BlobEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -161,7 +161,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new BlobEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -187,7 +187,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': blob\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -210,7 +210,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new BlobEvent('blob', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -234,7 +234,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': 'blob'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java index b73a41bdf30..2118f6e62e5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CloseEvent('type-close');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'wasClean': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('CloseEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void initCloseEvent() throws Exception { + " event.initCloseEvent('close', true, false, true, 42, 'time to close');\n" + " dump(event);\n" + " } else { log('no initCloseEvent'); }\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java index 00de8fb4531..08706a6f424 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java @@ -55,7 +55,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CompositionEvent('composition');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -81,7 +81,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CompositionEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CompositionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -125,7 +125,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CompositionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -147,7 +147,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new CompositionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -169,7 +169,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CompositionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new CompositionEvent('composition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -240,7 +240,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java index 390342aab18..806e9c51ad6 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CustomEvent('my');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CustomEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CustomEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CustomEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new CustomEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CustomEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 'abcd'" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -212,7 +212,7 @@ public void initCustomEvent() throws Exception { + " try {\n" + " var e = document.createEvent('CustomEvent');\n" + " log(typeof e.initCustomEvent);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java index 4898ce47bb1..ce278ec16b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java @@ -56,7 +56,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('motion');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -82,7 +82,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -104,7 +104,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -126,7 +126,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -148,7 +148,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -170,7 +170,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceMotionEvent('motion', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java index 6d17e1cb6e1..83f275108ab 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('orientation');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -196,7 +196,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceOrientationEvent('orientation', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java index 50681f05ae7..a392fc4d575 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DragEvent('drag');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DragEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DragEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DragEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DragEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DragEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DragEvent('drag', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java index b80751a3574..592e04ebb12 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ErrorEvent('error');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new ErrorEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new ErrorEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new ErrorEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new ErrorEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new ErrorEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new ErrorEvent('error', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java index da22749085a..669cfa3451e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java @@ -57,7 +57,7 @@ public void addEventListener() throws Exception { + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + "\n" @@ -95,7 +95,7 @@ public void addEventListener_node() throws Exception { + " document.body.addEventListener('myevent', listener, false);\n" + " document.body.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + "\n" @@ -125,7 +125,7 @@ public void addEventListener_no_handleEvent() throws Exception { + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index db8a734a4ca..947241d57de 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new Event('event');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'bubbles': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_ctorWithDetailsBoolAsString() throws Exception { + " 'bubbles': 'true'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -133,7 +133,7 @@ public void create_ctorWithDetailsBoolAsNumber() throws Exception { + " 'bubbles': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -157,7 +157,7 @@ public void create_ctorWithDetailsBoolAsObject() throws Exception { + " 'bubbles': {}\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -181,7 +181,7 @@ public void create_ctorWithDetailsBoolAsUndefined() throws Exception { + " 'bubbles': undefined\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -205,7 +205,7 @@ public void create_ctorWithDetailsBoolAsNull() throws Exception { + " 'bubbles': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -227,7 +227,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('Event');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -276,7 +276,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('event', true, false);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -659,7 +659,7 @@ public void ieWindowEvent() throws Exception { + " log(window.event == null);\n" + " try {\n" + " log(event == null);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + ""; @@ -903,7 +903,7 @@ public void text() throws Exception { + " function test(e) {\n" + " try {\n" + " log(e.TEXT.toString(16));\n"// But Event.TEXT is undefined!!! - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -1206,7 +1206,7 @@ public void defaultPrevented() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.defaultPrevented);\n" + " log(typeof event.defaultPrevented);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1228,7 +1228,7 @@ public void returnValue() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1272,7 +1272,7 @@ public void returnValueSetter() throws Exception { + " event.preventDefault();\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1424,7 +1424,7 @@ private void returnValueSetterUndefined(final String value) throws Exception { + " event.returnValue = !event.returnValue;\n" + " log(event.returnValue);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " triggerClick.addEventListener('click', function (event) {\n" @@ -1488,7 +1488,7 @@ public void preventDefault() throws Exception { + " event.initEvent('click', 'true', 'true');\n" + " log(event.cancelable + ' - ' + event.defaultPrevented);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java index 49811b14d4e..b2a735f7b2b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new FocusEvent('focus');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new FocusEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new FocusEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new FocusEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new FocusEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new FocusEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new FocusEvent('focus', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java index 6c12397576a..69962e1874c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new GamepadEvent('gamepad');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new GamepadEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new GamepadEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new GamepadEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new GamepadEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new GamepadEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new GamepadEvent('gamepad', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index cd8e3f64e54..17cb6119037 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -60,7 +60,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new HashChangeEvent('hashchange');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -86,7 +86,7 @@ public void create_ctorWithDetails() throws Exception { + " 'newURL': '" + URL_FIRST + "#1'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('HashChangeEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -164,7 +164,7 @@ public void dispatchEvent() throws Exception { + " event.initHashChangeEvent('hashchange', true, false, '" + URL_FIRST + "', '" + URL_FIRST + "#1');\n" + " dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onhashchange = dump;\n" @@ -189,7 +189,7 @@ public void dispatchEvent_event() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('hashchange', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onhashchange = dump;\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java index 482ac6607d4..75aefb12196 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java @@ -54,7 +54,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new InputEvent('type');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new InputEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new InputEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new InputEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new InputEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new InputEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { + " var event = new InputEvent('input', " + "{ inputType: 'inputType', data: 'data', isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -223,7 +223,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new InputEvent('input', " + "{ isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -246,7 +246,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new InputEvent('input', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -268,7 +268,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new InputEvent('input', null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new InputEvent('input', undefined);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -314,7 +314,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java index 5cdae7fb131..2ae13ded730 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java @@ -68,7 +68,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new KeyboardEvent('type');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new KeyboardEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -166,7 +166,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -189,7 +189,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new KeyboardEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetails() throws Exception { + "ctrlKey: true, shiftKey: true, altKey: true, metaKey: true," + "repeat: true, isComposing: true, charCode: 456, which: 789 });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new KeyboardEvent('keyboard', " + "{ key: null, code: undefined, ctrlKey: true, charCode: 456 });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -267,7 +267,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new KeyboardEvent('keyboard', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -313,7 +313,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', undefined);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -338,7 +338,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -380,15 +380,15 @@ public void keyCode() throws Exception { + " try {\n" + " var keyEvent = document.createEvent('KeyEvents');\n" + " log(keyEvent.keyCode + '-' + keyEvent.charCode);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " var keyEvent = document.createEvent('KeyboardEvent');\n" + " log(keyEvent.keyCode + '-' + keyEvent.charCode);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " var mouseEvent = document.createEvent('MouseEvents');\n" + " log(mouseEvent.keyCode + '-' + mouseEvent.charCode);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; @@ -418,7 +418,7 @@ public void initKeyEvent() throws Exception { + " keyEvent = document.createEvent('KeyEvents');\n" + " keyEvent.initKeyEvent('keyup', false, false, null, false, false, false, false, 32, 32);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " var keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyEvent('keydown', true, true, null, true, true, true, true, 65, 65);\n" @@ -426,7 +426,7 @@ public void initKeyEvent() throws Exception { + " keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyEvent('keyup', false, false, null, false, false, false, false, 32, 32);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; @@ -470,7 +470,7 @@ public void initKeyboardEvent() throws Exception { + " keyEvent = document.createEvent('KeyEvents');\n" + " keyEvent.initKeyboardEvent('keyup', false, false, null, '', 7, false, false, false, false);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " try {\n" + " var keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyboardEvent('keydown', true, true, null, 'Fn', 0, true, true, true, true);\n" @@ -478,7 +478,7 @@ public void initKeyboardEvent() throws Exception { + " keyEvent = document.createEvent('KeyboardEvent');\n" + " keyEvent.initKeyboardEvent('keyup', false, false, null, '', 7, false, false, false, false);\n" + " dumpEvent(keyEvent);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index 46261992e97..05c51daa63d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MessageEvent('type-message');\n" + " dump(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -89,7 +89,7 @@ public void create_ctorWithDetails() throws Exception { + " 'source': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -140,7 +140,7 @@ public void initMessageEventPortsNull() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, null);\n" + " dump(e);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" @@ -171,7 +171,7 @@ public void initMessageEventPortsUndefined() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, undefined);\n" + " dump(e);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java index 023f79239d2..f0d77566dcf 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java @@ -71,7 +71,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MouseEvent('click');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new MouseEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new MouseEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -147,7 +147,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new MouseEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -169,7 +169,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new MouseEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -192,7 +192,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new MouseEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -228,7 +228,7 @@ public void create_ctorAllDetails() throws Exception { + " 'buttons': 4\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java index 0c862971922..b325e436582 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java @@ -56,7 +56,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MutationEvent('mutant');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -80,7 +80,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new MutationEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -104,7 +104,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new MutationEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new MutationEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new MutationEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -174,7 +174,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new MutationEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -225,7 +225,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new MutationEvent('mutant', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -251,7 +251,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java index 4286e0c5ac0..4a0f177c169 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent('oac');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -74,7 +74,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -96,7 +96,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -118,7 +118,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -140,7 +140,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -162,7 +162,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -186,7 +186,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -209,7 +209,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new OfflineAudioCompletionEvent('oac', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -233,7 +233,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java index f1d2f28584d..4af111d943b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new PageTransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java index 46ac37e557a..9a393c91d97 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java @@ -69,7 +69,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PointerEvent('click');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithDetails() throws Exception { + " 'pointerType': 'mouse'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -120,7 +120,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('PointerEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void initPointerEvent() throws Exception { + " event.initPointerEvent('click', true, false, window, 3, 10, 11, 12, 13, true, true, true, false, " + "0, null, 14, 15, 4, 5, 6, 16, 17, 18, 123, 'mouse', 987, false);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -168,7 +168,7 @@ public void dispatchEvent() throws Exception { + " event.initPointerEvent('click', true, false, window, 3, 10, 11, 12, 13, true, true, true, false, " + "0, null, 14, 15, 4, 5, 6, 16, 17, 18, 123, 'mouse', 987, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java index 93336a0dea6..460063f493b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java @@ -62,7 +62,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PopStateEvent('popstate');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -87,7 +87,7 @@ public void create_ctorWithDetails() throws Exception { + " 'state': 2,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -111,7 +111,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void setState() throws Exception { + " var event = document.createEvent('PopStateEvent');\n" + " event.state = 'test';\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -197,7 +197,7 @@ public void dispatchEventWithoutInit() throws Exception { + " try {\n" + " dispatchEvent(event);\n" + " log('dispatched');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java index 0d973a73b7e..2eb29bf999d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ProgressEvent('progress');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'total': 666\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -107,7 +107,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('ProgressEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java index b6db76b7d2c..f81037a4a36 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new StorageEvent('storage');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new StorageEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new StorageEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new StorageEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new StorageEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new StorageEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new StorageEvent('storage', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -245,7 +245,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'storageArea': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java index 480112acec4..e2b1711aa39 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new SubmitEvent('submit');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -78,7 +78,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new SubmitEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -100,7 +100,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new SubmitEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new SubmitEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new SubmitEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -166,7 +166,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new SubmitEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -195,7 +195,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -218,7 +218,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new SubmitEvent('submit', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -246,7 +246,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'submitter': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java index fe2647b939e..465bc7fff75 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TextEvent('text');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -74,7 +74,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TextEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -97,7 +97,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TextEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -120,7 +120,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TextEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -142,7 +142,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TextEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TextEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 7\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -215,7 +215,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TextEvent('text', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -240,7 +240,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'detail': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java index 937982d8bb1..c782b14921f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TimeEvent('time');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -76,7 +76,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TimeEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -100,7 +100,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TimeEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TimeEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -146,7 +146,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TimeEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -170,7 +170,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TimeEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -197,7 +197,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 7\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -222,7 +222,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TimeEvent('time', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -248,7 +248,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'detail': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java index f5230fcc6c4..49fd0788f62 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TouchEvent('touch');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TouchEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TouchEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -127,7 +127,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TouchEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -149,7 +149,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TouchEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -173,7 +173,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TouchEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -206,7 +206,7 @@ public void create_ctorAllDetails() throws Exception { + " 'metaKey': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -231,7 +231,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TouchEvent('touch', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -259,7 +259,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'touches': 'abc',\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java index 2842df6edd9..517793d169c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TrackEvent('track');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TrackEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TrackEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TrackEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TrackEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TrackEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -190,7 +190,7 @@ public void create_ctorAllDetails() throws Exception { + " 'track ': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -213,7 +213,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TrackEvent('track', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'track': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java index 7d8033e7afe..3c5539e2cf1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TransitionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -192,7 +192,7 @@ public void create_ctorAllDetails() throws Exception { + " 'pseudoElement': 'aPseudoElementName'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -215,7 +215,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'elapsedTime': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java index 28a43debd64..f6e377af91f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java @@ -57,7 +57,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new UIEvent('event');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -82,7 +82,7 @@ public void create_ctorWithDetails() throws Exception { + " 'view': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -105,7 +105,7 @@ public void create_ctorWithDetailsViewNotWindow() throws Exception { + " var event = new UIEvent('event', {\n" + " 'view': {}\n" + " });\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -152,7 +152,7 @@ public void initUIEvent() throws Exception { + " log(e.cancelable);\n" + " log(e.view == window);\n" + " log(e.detail);\n" - + "} catch(e) { log(e.name) }\n" + + "} catch(e) { logEx(e) }\n" + ""; loadPageVerifyTitle2(html); } diff --git a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java index 246fcc84016..3ed76c2d756 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WebGLContextEventTest.java @@ -42,7 +42,7 @@ public void constants() throws Exception { + " log(WebGLContextEvent.CAPTURING_PHASE);\n" + " log(WebGLContextEvent.AT_TARGET);\n" + " log(WebGLContextEvent.BUBBLING_PHASE);\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java index 6c1a3472b5e..b6c84ce234a 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new WheelEvent('wheel');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new WheelEvent();\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new WheelEvent(42);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new WheelEvent(null);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new WheelEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new WheelEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'deltaMode': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new WheelEvent('wheel', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -244,7 +244,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'deltaX': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java index dc20ac0190f..a80c1582dda 100644 --- a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java @@ -51,7 +51,7 @@ public void ctor() throws Exception { + " function test() {\n" + " try {\n" + " new Geolocation();\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -71,7 +71,7 @@ public void navigatorGeolocation() throws Exception { + " function test() {\n" + " try {\n" + " log(navigator.geolocation);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -104,7 +104,7 @@ public void getCurrentPosition() throws Exception { + " function test() {\n" + " try {\n" + " navigator.geolocation.getCurrentPosition(success, error);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java index 87396dd60c1..8529afc6479 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/EnumeratorTest.java @@ -48,7 +48,7 @@ public void basicEmptyEnumerator() throws Exception { + " log(en.moveNext());\n" + " log(en.item());\n" + " log(en.atEnd());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -79,7 +79,7 @@ public void basicEnumerator() throws Exception { + " log(en.moveNext());\n" + " log(en.item());\n" + " log(en.atEnd());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -105,7 +105,7 @@ public void basicEnumeratorWrongType() throws Exception { + " if (typeof(Enumerator) != 'undefined') {\n" + " try {\n" + " var en = new Enumerator(window);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -144,7 +144,7 @@ public void formEnumerator() throws Exception { + " for( ; !e.atEnd(); e.moveNext()) {\n" + " log(e.item().id);\n" + " }\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" @@ -170,7 +170,7 @@ public void item() throws Exception { + " if (typeof(Enumerator) != 'undefined') {\n" + " try {\n" + " log(new Enumerator(form).item().TyPe);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " } else {\n" + " log('Enumerator not supported');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java index 0f1f295b350..d9a3dba69b6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAllCollectionTest.java @@ -305,7 +305,7 @@ private void item(final String name) throws Exception { + " try {\n" + " var item = document.all.item(" + name + ");\n" + " report(item);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -423,7 +423,7 @@ private void arrayIndex(final String name) throws Exception { + " try {\n" + " var item = document.all[" + name + "];\n" + " report(item);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -541,7 +541,7 @@ private void functionIndex(final String name) throws Exception { + " try {\n" + " var item = document.all(" + name + ");\n" + " report(item);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " document.title = alerts;" + " }\n" + "\n" @@ -567,7 +567,7 @@ public void type() throws Exception { + " try {\n" + " log(document.all);\n" + " log(HTMLAllCollection);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java index a0ef39aa2cf..0529c42bba5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAnchorElement2Test.java @@ -618,7 +618,7 @@ public void typeof() throws Exception { + " log(document.links[0]);\n" + " log(typeof document.links[0]);\n" + " log(HTMLAnchorElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -1080,7 +1080,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1117,7 +1117,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1146,7 +1146,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1183,7 +1183,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1220,7 +1220,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java index 37c6ff7da03..328cadb2854 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAreaElementTest.java @@ -75,7 +75,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLAreaElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -211,7 +211,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java index bf47b26e7c6..b36d900ecb4 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java @@ -44,7 +44,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLAudioElement.prototype == null);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -67,7 +67,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLAudioElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -93,7 +93,7 @@ public void nodeTypeName() throws Exception { + " var audio = document.getElementById('a');\n" + " log(audio.nodeType);" + " log(audio.nodeName);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -475,7 +475,7 @@ public void src() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -503,7 +503,7 @@ public void srcChild() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -526,7 +526,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('a').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -548,7 +548,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -571,7 +571,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -594,7 +594,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java index 48150161d93..2c1bc5b7201 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseElementTest.java @@ -72,7 +72,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLBaseElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java index a711309c561..ce1c6645b82 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBaseFontElementTest.java @@ -75,7 +75,7 @@ public void size() throws Exception { + " base.size = 42;\n" + " log(base.size);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + " \n" @@ -105,7 +105,7 @@ public void face() throws Exception { + " base.face = 'helvetica';\n" + " log(base.face);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + " \n" @@ -135,7 +135,7 @@ public void color() throws Exception { + " base.color = 'blue';\n" + " log(base.color);\n" + " } catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + " \n" @@ -161,7 +161,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLBaseFontElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java index b921f8d755c..b463c04e061 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java @@ -85,7 +85,7 @@ public void attachEvent() throws Exception { + " function test() {\n" + " try {\n" + " document.body.attachEvent('onclick', handler);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -315,7 +315,7 @@ public void enumeratedProperties() throws Exception { + " for (var i in HTMLBodyElement)\n" + " str += i + ', ';\n" + " log(str);\n" - + " } catch (e) { log(e.name)}\n" + + " } catch (e) { logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java index 1285080b017..aa8222993b9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLButtonElementTest.java @@ -81,7 +81,7 @@ public void type() throws Exception { + " log(b.type);\n" + " try {\n" + " b.type = 'button';\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " log(b.type);\n" + " b.removeAttribute('type');\n" + " log(b.type);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java index 26e4a84e353..4854a30b378 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java @@ -130,7 +130,7 @@ public void toDataUrl() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL());\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -207,7 +207,7 @@ public void toDataUrlPng() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL('image/png'));\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java index 79cd733b06e..7714c418b9d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java @@ -88,7 +88,7 @@ public void getElements() throws Exception { + " try {\n" + " document.appendChild(document.createElement('div'));\n" + " log(document.all.length);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "\n" @@ -198,7 +198,7 @@ public void outOfBoundAccess() throws Exception { + " log(col[1]);\n" + " try {\n" + " log(col(1));\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -362,7 +362,7 @@ public void forOf() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + "\n" @@ -400,7 +400,7 @@ public void forOfDynamicAtEnd() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + "\n" @@ -438,7 +438,7 @@ public void forOfDynamicAtStart() throws Exception { + " for (f of document.forms) {\n" + " log(f.name);\n" + " }\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + "\n" @@ -565,7 +565,7 @@ private void item(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col.item(" + name + "));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -682,7 +682,7 @@ private void arrayIndex(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col[" + name + "]);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -799,7 +799,7 @@ private void functionIndex(final String name) throws Exception { + " try {\n" + " var col = document.getElementsByTagName('button');\n" + " report(col(" + name + "));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java index a431f0724ad..11c0236d5d9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDListElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('dl1').type = 'I';\n" + " log(document.getElementById('dl1').type);\n" - + " try { document.getElementById('dl1').type = 'u' } catch(e) {log(e.name);}\n" + + " try { document.getElementById('dl1').type = 'u' } catch(e) {logEx(e);}\n" + " log(document.getElementById('dl1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java index 7a0409337b0..eb235e069c3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDirectoryElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('dir1').type = 'I';\n" + " log(document.getElementById('dir1').type);\n" - + " try { document.getElementById('dir1').type = 'u' } catch(e) {log(e.name);}\n" + + " try { document.getElementById('dir1').type = 'u' } catch(e) {logEx(e);}\n" + " log(document.getElementById('dir1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java index 1728c843c29..755f48f3c63 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java @@ -134,7 +134,7 @@ public void getElementsByClassName() throws Exception { // + " log(document.getElementsByClassName().length);\n" // exception in FF3 + " log(document.getElementsByClassName(null).length);\n" + " }\n" - + " catch (e) { log(e.name) }\n" + + " catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        hello\n" @@ -340,7 +340,7 @@ public void createDocumentNS_svg() throws Exception { + "try {\n" + " var elt = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n" + " log(elt);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -387,7 +387,7 @@ public void createDocumentNS_xul() throws Exception { + " document.body.appendChild(inner);\n" + " log(document.body.lastChild.value);\n" + "}\n" - + "catch (e) { log(e.name); }\n" + + "catch (e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -460,7 +460,7 @@ public void importNode_script() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedScript, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + " \n" @@ -495,7 +495,7 @@ public void importNode_scriptChild() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedDiv, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + " \n" @@ -554,7 +554,7 @@ public void namespaces() throws Exception { + " log(ns['f'].urn);\n" + " log(ns == document.namespaces);\n" + "}\n" - + "catch(e) { log(e.name) }\n" + + "catch(e) { logEx(e) }\n" + ""; loadPageVerifyTitle2(html); @@ -574,12 +574,12 @@ public void documentMethodsWithoutDocument() throws Exception { + "try {\n" + " var i = document.getElementById;\n" + " log(i('d').id);\n" - + "} catch(e) { log(e.name) }\n" + + "} catch(e) { logEx(e) }\n" + "try {\n" + " var n = document.getElementsByName;\n" + " log(n('d').length);\n" - + "} catch(e) { log(e.name) }\n" + + "} catch(e) { logEx(e) }\n" + ""; loadPageVerifyTitle2(html); } @@ -704,7 +704,7 @@ private void designMode_selectionRange(final String bodyContent) throws Exceptio + " var s = window.getSelection();\n" + " log(s.rangeCount);\n" + " log(s.getRangeAt(0).startContainer);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + "}\n" + "\n" + "" // no \n here! @@ -1195,7 +1195,7 @@ public void getBoxObjectFor() throws Exception { + " log(a === document.getBoxObjectFor(e));\n" + " log(a.screenX > 0);\n" + " log(a.screenY > 0);\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + "}\n" + "\n" + "
        \n" @@ -1275,7 +1275,7 @@ private void queryCommandSupported(final String... commands) throws Exception { + " else\n" + " cmdsNotSupported[cmdsNotSupported.length] = cmd;\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(nbSupported + ' commands supported');\n" + " if (nbSupported != 0 && cmdsNotSupported.length > 0)\n" + " log('not supported: ' + cmdsNotSupported.join(', '));\n" @@ -1352,7 +1352,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex + "try {\n" + " document.querySelectorAll('" + selector + "');\n" + " log('working');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1375,7 +1375,7 @@ private void doTestQuerySelector_badSelector(final String selector) throws Excep + "try {\n" + " document.querySelector('" + selector + "');\n" + " log('working: " + selector + "');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1648,7 +1648,7 @@ public void createElement_notOnlyTagName() throws Exception { + " var t = document.createElement('');\n" + " log(t.tagName);\n" + "} catch(e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + "}\n" + "\n" + ""; @@ -2301,7 +2301,7 @@ public void setCapture() throws Exception { + " function test() {\n" + " try {\n" + " log(document.setCapture);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2328,7 +2328,7 @@ public void releaseCapture() throws Exception { + " try {\n" + " log(document.releaseCapture());\n" + " log('releaseCapture available');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2356,7 +2356,7 @@ public void type() throws Exception { + " try {\n" + " log(document);\n" + " log(HTMLDocument);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2714,7 +2714,7 @@ public void embeds() throws Exception { + " function test() {\n" + " try {\n" + " log(document.embeds(0));\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2739,7 +2739,7 @@ public void plugins() throws Exception { + " try {\n" + " log(document.plugins.length);\n" + " log(document.plugins(0));\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2763,7 +2763,7 @@ public void images() throws Exception { + " function test() {\n" + " try {\n" + " log(document.images(0));\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2831,7 +2831,7 @@ public void setBody() throws Exception { + " newBody.id = 'newBody';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2859,7 +2859,7 @@ public void setBodyDiv() throws Exception { + " newDiv.id = 'newDiv';\n" + " document.body = newDiv;\n" + " log(document.body.id);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2886,7 +2886,7 @@ public void setBodyString() throws Exception { + " var newBody = '';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -2914,7 +2914,7 @@ public void setBodyFrameset() throws Exception { + " newBody.id = 'newFrameset';\n" + " document.body = newBody;\n" + " log(document.body.id);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java index b6f2f81beba..8d534fc867c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java @@ -421,7 +421,7 @@ public void write_fromScriptAddedWithAppendChild_inline() throws Exception { + " var t = document.createTextNode(\"document.write('in inline script'); document.title = 'done';\");\n" + " s.appendChild(t);\n" + " document.body.appendChild(s);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "
        "; final WebDriver driver = loadPage2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java index 0bc24dd39e7..35cc1f1c4f7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java @@ -1588,7 +1588,7 @@ private void doTestQuerySelectorAll_badSelector(final String selector) throws Ex + "try {\n" + " document.getElementById('it').querySelectorAll('" + selector + "');\n" + " log('working: " + selector + "');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -1611,7 +1611,7 @@ private void doTestQuerySelector_badSelector(final String selector) throws Excep + "try {\n" + " document.getElementById('it').querySelector('" + selector + "');\n" + " log('working " + selector + "');\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index a5b88a4556d..2d83d08990c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -1008,7 +1008,7 @@ public void setInnerHTMLDeclareJavaScript() throws Exception { + " outernode.innerHTML = newnode;\n" + " try {\n" + " tester();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function alerter() {\n" + " log('declared');\n" @@ -1515,7 +1515,7 @@ public void setOuterHTMLDetachedElementNull() throws Exception { + " myNode.outerHTML = null;\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1548,7 +1548,7 @@ public void setOuterHTMLDetachedElementUndefined() throws Exception { + " myNode.outerHTML = undefined;\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1581,7 +1581,7 @@ public void setOuterHTMLDetachedElementEmpty() throws Exception { + " myNode.outerHTML = '';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1614,7 +1614,7 @@ public void setOuterHTMLDetachedElementBlank() throws Exception { + " myNode.outerHTML = '';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1647,7 +1647,7 @@ public void setOuterHTMLDetachedElement() throws Exception { + " myNode.outerHTML = '

        test

        ';\n" + " log('New = ' + myNode.innerHTML);\n" + " log('Children: ' + myNode.childNodes.length);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1717,7 +1717,7 @@ public void setOuterHTMLDeclareJavaScript() throws Exception { + " oldnode.outerHTML = newnode;\n" + " try {\n" + " tester();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function alerter() {\n" + " log('declared');\n" @@ -1746,7 +1746,7 @@ public void addBehaviorDefaultClientCaps() throws Exception { + " var id2 = body.addBehavior('#default#clientCaps');\n" + " body.removeBehavior(id);\n" + " log('body.cpuClass = ' + body.cpuClass);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } @@ -1772,7 +1772,7 @@ public void removeBehavior() throws Exception { + " log('body.isHomePage = ' + body.isHomePage('not the home page'));\n" + " body.removeBehavior(id);\n" + " log('body.isHomePage = ' + body.isHomePage);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } @@ -1836,7 +1836,7 @@ public void childrenFunctionAccess() throws Exception { + " var oDiv = document.getElementById('myDiv');\n" + " log(oDiv.children.length);\n" + " log(oDiv.children(0).tagName);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } @@ -2239,7 +2239,7 @@ public void offsetParent_WithCSS() throws Exception { + " function alertOffsetParentId(id) {\n" + " try {\n" + " log(document.getElementById(id).offsetParent.id);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " function test() {\n" + " log(document.getElementById('body').offsetParent); // null (FF) null (IE)\n" @@ -2565,7 +2565,7 @@ public void getBoundingClientRectDisconnected() throws Exception { + " log(pos);\n" + " log(pos.left);\n" + " log(pos.top);\n" - + " } catch (e) { log(e.name);}\n" + + " } catch (e) { logEx(e);}\n" + " }\n" + "\n" + "\n" @@ -2752,7 +2752,7 @@ public void setExpression() throws Exception { + " try {\n" + " var div1 = document.getElementById('div1');\n" + " div1.setExpression('title','id');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "
        \n" @@ -3208,7 +3208,7 @@ public void contains() throws Exception { + " log(div2.contains(text));\n" + " log(div3.contains(text));\n" + " log(text.contains(div3));\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "
        \n" @@ -3379,7 +3379,7 @@ public void doScroll() throws Exception { + " document.documentElement.doScroll('left');\n" + " log('success');\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + "}\n" + "test();\n" @@ -4559,7 +4559,7 @@ public void insertAdjacentHTMLDeclareJavaScript() throws Exception { + "'function tester() { alerter(); }');\n" + " try {\n" + " tester();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function alerter() {\n" + " log('declared');\n" @@ -4845,7 +4845,7 @@ public void setCapture() throws Exception { + " log(div.setCapture(true));\n" + " log(div.setCapture(false));\n" + " log('setCapture available');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -4873,7 +4873,7 @@ public void releaseCapture() throws Exception { + " try {\n" + " log(div.releaseCapture());\n" + " log('releaseCapture available');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java index 125d09f0c64..5551b812cc3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormControlsCollectionTest.java @@ -76,7 +76,7 @@ public void iterable() throws Exception { + LOG_TITLE_FUNCTION + " function test() {\n" + " for (let e of document.form.elements) {\n" - + " log(e.name)\n" + + " logEx(e)\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java index 5189a2d990c..b7521a941d7 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java @@ -449,7 +449,7 @@ private void jsEnctype(final String enctype) throws Exception { + " try {\n" + " document.forms[0].enctype = '" + enctype + "';\n" + " log(document.forms[0].enctype);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(document.forms[0].encoding);\n" + " }\n" + " \n" @@ -491,7 +491,7 @@ private void jsEncoding(final String encoding) throws Exception { + " try {\n" + " document.forms[0].encoding = '" + encoding + "';\n" + " log(document.forms[0].encoding);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(document.forms[0].enctype);\n" + " }\n" + " \n" @@ -579,7 +579,7 @@ private void doTestProperty(final String jsProperty, final String htmlProperty, + " document.forms[0]." + jsProperty + "='" + newValue + "';\n" + " log(document.forms[0]." + jsProperty + ");\n" + " log(document.forms[0].getAttribute('" + htmlProperty + "'));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "

        hello world

        \n" @@ -1296,7 +1296,7 @@ public void onsubmitNull() throws Exception { + " try {\n" + " form.onsubmit = undefined;\n" + " log(form.onsubmit);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -1357,7 +1357,7 @@ public void item() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio').type);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -1384,7 +1384,7 @@ public void item_many() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio').length);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -1412,7 +1412,7 @@ public void item_many_subindex() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item('myRadio', 1).id);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -1440,7 +1440,7 @@ public void item_integer() throws Exception { + " function test() {\n" + " try {\n" + " log(document.forms['myForm'].item(1).id);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + "\n" @@ -3210,7 +3210,7 @@ public void relList() throws Exception { + " for (var i = 0; i < a2.relList.length; i++) {\n" + " log(a2.relList[i]);\n" + " }\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -3247,7 +3247,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -3276,7 +3276,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -3313,7 +3313,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -3350,7 +3350,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index eabb8cb154f..aa026cec747 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -168,7 +168,7 @@ public void onloadNull() throws Exception { + " try {\n" + " iframe.onload = undefined;\n" + " log(iframe.onload);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java index 4be742da8d4..f99b830b757 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java @@ -71,7 +71,7 @@ public void HTMLHtmlElement_toString() throws Exception { + " log(document.getElementById('myId'));\n" + " log(HTMLHtmlElement);\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java index 9aec67bf193..eab00d0de2b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java @@ -150,7 +150,7 @@ public void htmlForSetToUnknown() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'unknown';\n" + " } catch (e) {" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -184,7 +184,7 @@ public void htmlForSetToNotLabelable() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'div1';\n" + " } catch (e) {" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -218,7 +218,7 @@ public void htmlForSetToLabelable() throws Exception { + " try {\n" + " document.getElementById('label1').htmlFor = 'text1';\n" + " } catch (e) {" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" + " log(document.getElementById('label1').control);\n" @@ -603,7 +603,7 @@ public void controlSet() throws Exception { + " try {\n" + " document.getElementById('label1').control = document.getElementById('text1');\n" + " } catch (e) {" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').control);\n" + " }\n" @@ -790,7 +790,7 @@ public void formSet() throws Exception { + " try {\n" + " document.getElementById('label1').form = document.getElementById('form1');\n" + " } catch (e) {" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').form);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java index 6d1ba1c4f5f..378da08c372 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLinkElementTest.java @@ -112,7 +112,7 @@ public void relList() throws Exception { + " for (var i = 0; i < l2.relList.length; i++) {\n" + " log(l2.relList[i]);\n" + " }\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; @@ -150,7 +150,7 @@ public void setRelListString() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -179,7 +179,7 @@ public void setRelListStringBlank() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -216,7 +216,7 @@ public void setRelListNull() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -253,7 +253,7 @@ public void setRelListUndefined() throws Exception { + " log(a1.rel);\n" + " log(a2.rel);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java index cfac34f47fd..c12e197dcce 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java @@ -147,7 +147,7 @@ private void canPlayType(final String type) throws Exception { + "try {\n" + " var video = document.createElement('video');" + " log(video.canPlayType('" + type + "'));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java index 65903f012d0..52f07ff0572 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOListElementTest.java @@ -143,7 +143,7 @@ public void type() throws Exception { + " document.getElementById('o1').type = 'I';\n" + " log(document.getElementById('o1').type);\n" - + " try { document.getElementById('o1').type = 'u' } catch(e) {log(e.name);}\n" + + " try { document.getElementById('o1').type = 'u' } catch(e) {logEx(e);}\n" + " log(document.getElementById('o1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java index 3f4857cfc29..57cb4450652 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLObjectElement2Test.java @@ -72,7 +72,7 @@ public void responseXML_htmlObject() throws Exception { + " xhr.send('');\n" + " try {\n" + " log(xhr.responseXML);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java index d6585e0137d..98a0fe9d407 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java @@ -555,7 +555,7 @@ public void optionIndexOutOfBound() throws Exception { + " log(options[55]);\n" + " try {\n" + " log(options[-55]);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -827,7 +827,7 @@ public void without_new() throws Exception { + " log(s.length);\n" + " try {\n" + " s.options[0] = Option('one', 'two');\n" - + " } catch (e) { log(e.name) }\n" + + " } catch (e) { logEx(e) }\n" + " log(s.length);\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index 5583e8004a3..55be19bd09f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -387,7 +387,7 @@ private void add(final String param, final boolean empty, final boolean multi) t + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -491,7 +491,7 @@ private void get(final String pos, final boolean empty) throws Exception { + " var oSelect = document.forms.testForm.select1;\n" + " var opt = oSelect.options[" + pos + "];\n" + " log(opt ? opt.text + (opt.selected ? '*' : '') : opt);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -709,7 +709,7 @@ private void put(final String pos, final String param, final boolean empty, fina + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -889,7 +889,7 @@ private void remove(final String pos, final boolean empty, final boolean multi) + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1015,7 +1015,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " var sel = document.form1.select1;\n" + " try {\n" @@ -1024,7 +1024,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " var sel = document.form1.select3;\n" + " try {\n" @@ -1033,7 +1033,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java index f81e7092656..f951af73124 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java @@ -328,7 +328,7 @@ public void createElementWithCreateTextNode() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('end');\n" + "\n" + ""; @@ -353,7 +353,7 @@ public void createElementWithCreateTextNodeAndAppend() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('middle');\n" + " document.body.appendChild(script);\n" + " log('end');\n" @@ -476,7 +476,7 @@ public void replaceSelfWithCreateTextNode() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('end');\n" + "\n" + ""; @@ -549,7 +549,7 @@ public void replaceWithCreateTextNodeEmpty() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('end');\n" + "\n" + ""; @@ -574,7 +574,7 @@ public void replaceWithCreateTextNodeBlank() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('end');\n" + "\n" + ""; @@ -601,7 +601,7 @@ public void replaceWithCreateTextNodeScript() throws Exception { + " var source = document.createTextNode(\"log('executed');\");\n" + " try {\n" + " script.appendChild(source);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " log('end');\n" + "\n" + ""; @@ -829,7 +829,7 @@ private void scriptForEvent(final String eventName) throws Exception { + " try {\n" + " document.form1.txt.value = 'hello';\n" + " log(document.form1.txt.value);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + "\n" + "\n" + "
        \n" @@ -1152,7 +1152,7 @@ public void innerHTMLGetSet() throws Exception { + " var div = document.getElementById('tester');\n" + " try {\n" + " div.innerHTML = div.innerHTML;\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " log(div.innerHTML);\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index 8615a7cea47..7b1356b42e5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -251,10 +251,10 @@ public void setSelectedIndexInvalidValue() throws Exception { + " s.selectedIndex = 2;\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = 25; } catch (e) { log(e.name) }\n" + + " try { s.selectedIndex = 25; } catch (e) { logEx(e) }\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = -14; } catch (e) { log(e.name) }\n" + + " try { s.selectedIndex = -14; } catch (e) { logEx(e) }\n" + " log(s.selectedIndex);\n" + " }\n" + " \n" @@ -536,7 +536,7 @@ public void addOptionWithAddMethodIndexNull() throws Exception { + " var options = document.form1.select1;\n" + " try {\n" + " options.add(new Option('Four','value4'), null);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(options.length);\n" + " var index = options.length - 1;\n" + " log(options[index].text);\n" @@ -581,7 +581,7 @@ public void addOptionWithAddMethodNoSecondParameter() throws Exception { + " oSelect.add(new Option('Three b', 'value3b'), 3);\n" + " log(oSelect[3].text);\n" + " log(oSelect[3].value);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -618,7 +618,7 @@ public void addOptionTooEmptySelectWithAddMethodIndexNull() throws Exception { + " oSelect.add(new Option('test', 'testValue'), null);\n" + " log(oSelect[oSelect.length-1].text);\n" + " log(oSelect[oSelect.length-1].value);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -975,7 +975,7 @@ private void addOptionMethod(final String param, final boolean empty, final bool + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1017,7 +1017,7 @@ public void addWithIndexEmptySelect() throws Exception { + " var opt = new Option('foo', '123');\n" + " oSelect.add(opt, -1);\n" + " log(oSelect.length);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1372,7 +1372,7 @@ private void removeOptionMethod(final String param, final boolean empty, final b + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1477,7 +1477,7 @@ public void optionsRemoveMethod() throws Exception { + " log(options.length);\n" + " log(options[1].text);\n" + " log(options[1].value);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "

        hello world

        \n" + "
        \n" @@ -1684,7 +1684,7 @@ public void optionsDelegateToSelect() throws Exception { + "\n" + " s.options.selectedIndex = 1;\n" + " doAlerts(s);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "function doAlerts(s) {\n" + " log(s.childNodes.length + '-' + s.options.childNodes.length);\n" @@ -2190,7 +2190,7 @@ public void item() throws Exception { + " var s = document.getElementById('mySelect');\n" + " log(s.item(0).text);\n" + " log(s.item(300));\n" - + " try { log(s.item(-5)); } catch(e) { log(e.name); }\n" + + " try { log(s.item(-5)); } catch(e) { logEx(e); }\n" + " \n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index 5c7ea821b45..d13dfb4b9f5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -63,13 +63,13 @@ public void tableCaptions() throws Exception { + " newCaption.innerHTML = 'caption3';\n" + " log(table.caption.innerHTML);\n" - + " try { table.caption = 123; } catch(e) { log(e.name) }\n" + + " try { table.caption = 123; } catch(e) { logEx(e) }\n" + " log(table.caption);\n" + " if (table.caption) { log(table.caption.innerHTML) }\n" + " var caption4 = document.createElement('caption');\n" + " caption4.innerHTML = 'caption4';\n" - + " try { table.caption = caption4; } catch(e) { log(e.name) }\n" + + " try { table.caption = caption4; } catch(e) { logEx(e) }\n" + " log(table.caption.innerHTML);\n" + " \n" + ""; @@ -108,13 +108,13 @@ public void tableHeaders() throws Exception { + " newTHead.id = 'thead3';\n" + " log(table.tHead.id);\n" - + " try { table.tHead = 123; } catch(e) { log(e.name) }\n" + + " try { table.tHead = 123; } catch(e) { logEx(e) }\n" + " log(table.tHead);\n" + " if (table.tHead) { log(table.tHead.id) }\n" + " var tHead4 = document.createElement('tHead');\n" + " tHead4.id = 'thead4';\n" - + " try { table.tHead = tHead4; } catch(e) { log(e.name) }\n" + + " try { table.tHead = tHead4; } catch(e) { logEx(e) }\n" + " log(table.tHead.id);\n" + " \n" + ""; @@ -311,13 +311,13 @@ public void tableFooters() throws Exception { + " newTFoot.id = 'tfoot3';\n" + " log(table.tFoot.id);\n" - + " try { table.tFoot = 123; } catch(e) { log(e.name) }\n" + + " try { table.tFoot = 123; } catch(e) { logEx(e) }\n" + " log(table.tFoot);\n" + " if (table.tFoot) { log(table.tFoot.id) }\n" + " var tFoot4 = document.createElement('tFoot');\n" + " tFoot4.id = 'tfoot4';\n" - + " try { table.tFoot = tFoot4; } catch(e) { log(e.name) }\n" + + " try { table.tFoot = tFoot4; } catch(e) { logEx(e) }\n" + " log(table.tFoot.id);\n" + " \n" + ""; @@ -367,7 +367,7 @@ private void insertRow(final String rowIndex) throws Exception { + " var newRow = table.insertRow(" + rowIndex + ");\n" + " log(table.rows.length);\n" + " log(newRow.rowIndex);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " \n" + ""; @@ -919,7 +919,7 @@ public void summary() throws Exception { + " node.summary = 'unknown';\n" + " log(node.summary);\n" - + " try { node.summary = unknown; } catch(e) { log(e.name) }\n" + + " try { node.summary = unknown; } catch(e) { logEx(e) }\n" + " var node = document.getElementById('tab2');\n" + " log(node.summary);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 0e91d972782..e5fb5062ccb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -73,8 +73,8 @@ public void deleteCell() throws Exception { + " tr.deleteCell(-1);\n" + " log(tr.cells.length);\n" + " log(tr.cells[tr.cells.length-1].id);\n" - + " try { tr.deleteCell(25); } catch(e) { log(e.name); }\n" - + " try { tr.deleteCell(-2); } catch(e) { log(e.name); }\n" + + " try { tr.deleteCell(25); } catch(e) { logEx(e); }\n" + + " try { tr.deleteCell(-2); } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -103,7 +103,7 @@ public void deleteCell_noArg() throws Exception { + " function test() {\n" + " var tr = document.getElementById('myId');\n" + " log(tr.cells.length);\n" - + " try { tr.deleteCell(); } catch(e) { log(e.name); }\n" + + " try { tr.deleteCell(); } catch(e) { logEx(e); }\n" + " log(tr.cells.length);\n" + " }\n" + "\n" @@ -426,7 +426,7 @@ private void insertCell(final String cellIndex) throws Exception { + " var newCell = row.insertCell(" + cellIndex + ");\n" + " log(row.cells.length);\n" + " log(newCell.cellIndex);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " \n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index 4baf3a1f7b7..eb7577fc11d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -343,7 +343,7 @@ public void TBODY_innerHTML() throws Exception { + " var t = document.getElementById('myId');\n" + " try {\n" + " t.innerHTML = 'world';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(t.innerHTML.toLowerCase());\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java index fa547324844..4d835af7ce2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java @@ -40,7 +40,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log(HTMLTemplateElement.prototype == null);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "\n" + ""; @@ -62,7 +62,7 @@ public void contentCheck() throws Exception { + " try {\n" + " var template = document.createElement('template');\n" + " log('content' in template);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java index 66922440a16..8fefa83c6ef 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLUListElementTest.java @@ -144,7 +144,7 @@ public void type() throws Exception { + " document.getElementById('u1').type = 'I';\n" + " log(document.getElementById('u1').type);\n" - + " try { document.getElementById('u1').type = 'u' } catch(e) {log(e.name);}\n" + + " try { document.getElementById('u1').type = 'u' } catch(e) {logEx(e);}\n" + " log(document.getElementById('u1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java index 8f7f35de7d7..2228a8db8d3 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java @@ -41,7 +41,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLVideoElement.prototype == null);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -63,7 +63,7 @@ public void type() throws Exception { + " try {\n" + " log(elem);\n" + " log(HTMLVideoElement);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -89,7 +89,7 @@ public void nodeTypeName() throws Exception { + " var video = document.getElementById('v');\n" + " log(video.nodeType);" + " log(video.nodeName);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -116,7 +116,7 @@ public void src() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -144,7 +144,7 @@ public void srcChild() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -167,7 +167,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('v').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -189,7 +189,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -212,7 +212,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; @@ -235,7 +235,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java index 5c10be5ec09..41658a801a4 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/DateTimeFormat2Test.java @@ -51,7 +51,7 @@ private void test(final String... string) throws Exception { } html.append( " log(" + string[string.length - 1] + ");\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java index 4dd5dffe577..9f7f61cd9d1 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/IntlTest.java @@ -47,7 +47,7 @@ private void test(final String string) throws Exception { + " function test() {\n" + " try {\n" + " log(" + string + ");\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java index a0da80caa09..e781814e4b5 100644 --- a/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/intl/NumberFormat2Test.java @@ -44,7 +44,7 @@ private void test(final String... string) throws Exception { } html.append( " log(" + string[string.length - 1] + ");\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java index 6b7995e699b..fa4e236b77f 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java @@ -45,7 +45,7 @@ public void getAttribute() throws Exception { + " svg.setAttribute('id', 'svgElem');\n" + " document.body.appendChild(svg);\n" + " log(document.getElementById('svgElem').getAttribute('id'));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -71,7 +71,7 @@ public void triggerEvent() throws Exception { + " var e = document.createEvent('MouseEvents');\n" + " e.initEvent('click', true, false);\n" + " document.getElementById('rect').dispatchEvent(e);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java index f77759f2dce..baeea238f87 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/DedicatedWorkerGlobalScopeTest.java @@ -47,7 +47,7 @@ public void onmessage() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -75,7 +75,7 @@ public void selfOnmessage() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "self.onmessage = function(e) {\n" @@ -103,7 +103,7 @@ public void selfAddEventListener() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "self.addEventListener('message', (e) => {\n" @@ -130,7 +130,7 @@ public void selfSetTimeout() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "self.setTimeout(function() {\n" @@ -156,7 +156,7 @@ public void selfSetInterval() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "var id = self.setInterval(function() {\n" @@ -180,7 +180,7 @@ public void functionDefaultValue() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "postMessage('func='+self.addEventListener);"; @@ -208,7 +208,7 @@ public void workerCodeWithWrongMimeType() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -237,7 +237,7 @@ public void workerName() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -277,7 +277,7 @@ public void workerNameSet() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -306,7 +306,7 @@ public void workerOptionsUndefined() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -334,7 +334,7 @@ public void workerOptionsNull() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage('Heho');}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java index 6d979d914fe..46d1c9433fd 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerLocationTest.java @@ -176,7 +176,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java index f2c6ec429e6..b54f55e7cc9 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerNavigatorTest.java @@ -198,7 +198,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java index baba72431c8..1ef339d0a6a 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java @@ -47,7 +47,7 @@ public void postMessageFromWorker() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received:' + e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; @@ -72,7 +72,7 @@ public void postMessageFromWorker2() throws Exception { + " myWorker.addEventListener('message', (e) => {\n" + " log('Received:' + e.data);\n" + " });\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; @@ -97,7 +97,7 @@ public void postMessageToWorker() throws Exception { + " log('Received: ' + e.data);\n" + " };\n" + " setTimeout(function() { myWorker.postMessage([5, 3]);}, 10);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "onmessage = function(e) {\n" @@ -405,7 +405,7 @@ private void testJs(final String workerJs) throws Exception { + " myWorker.onmessage = function(e) {\n" + " log(e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), workerJs, MimeType.TEXT_JAVASCRIPT); @@ -430,7 +430,7 @@ public void workerCodeWithWrongMimeType() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received:' + e.data);\n" + " };\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "postMessage('worker loaded');\n"; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java index 22325ee27b2..940a41f2702 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java @@ -226,7 +226,7 @@ public void text() throws Exception { + " try {\n" + " new ActiveXObject('Microsoft.XMLDOM');\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " return;\n" + " }\n" + " var xmldoc = new ActiveXObject('Microsoft.XMLDOM');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java index cb95728e160..b40074fe861 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java @@ -150,7 +150,7 @@ public void load() throws Exception { + " log(doc.childNodes[0].childNodes.length);\n" + " log(doc.childNodes[0].childNodes[0].nodeName);\n" + " log(doc.getElementsByTagName('books').item(0).attributes.length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -188,7 +188,7 @@ public void load_relativeURL() throws Exception { + " log(doc.childNodes[0].childNodes.length);\n" + " log(doc.childNodes[0].childNodes[0].nodeName);\n" + " log(doc.getElementsByTagName('books').item(0).attributes.length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -239,7 +239,7 @@ public void setProperty() throws Exception { + " try {\n" + " doc.setProperty('SelectionNamespaces', \"xmlns:xsl='http://www.w3.org/1999/XSL/Transform'\");\n" + " doc.setProperty('SelectionLanguage', 'XPath');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -261,7 +261,7 @@ public void selectNodes() throws Exception { + " var nodes = doc.selectNodes('/books');\n" + " log(nodes.length);\n" + " log(nodes[0].tagName);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -294,7 +294,7 @@ public void selectNodes_caseSensitive() throws Exception { + " try {\n" + " log(doc.selectNodes('/bOoKs').length);\n" + " log(doc.selectNodes('/books').length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -327,7 +327,7 @@ public void selectNodes_namespace() throws Exception { + " try {\n" + " log(doc.selectNodes('//ns1:title').length);\n" + " log(doc.selectNodes('//ns2:title').length);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -371,7 +371,7 @@ public void selectNodes_nextNodeAndReset() throws Exception { + " nodes.reset();\n" + " log(nodes.nextNode().nodeName);\n" + " log(nodes.nextNode());\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -412,7 +412,7 @@ public void selectNodes_fromRoot() throws Exception { + " try {\n" + " log(child.selectNodes('title').length);\n" + " } catch(e) { log('exception title'); }\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -441,7 +441,7 @@ public void selectSingleNode() throws Exception { + " log(doc.selectNodes('/')[0].nodeName);\n" + " log(doc.selectSingleNode('*').nodeName);\n" + " log(doc.selectNodes('*')[0].selectSingleNode('/').nodeName);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -531,7 +531,7 @@ public void parseError() throws Exception { + " log(doc.parseError.reason !== '');\n" + " log(doc.parseError.srcText !== '');\n" + " log(doc.parseError.url !== '');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -589,7 +589,7 @@ public void xmlInsideHtml() throws Exception { + " function test() {\n" + " try {\n" + " log(messageTableHeaders.documentElement.nodeName);\n" - + " } catch(e) {log(e.name); }\n" + + " } catch(e) {logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -617,7 +617,7 @@ public void instanceOf() throws Exception { + " var x = " + callLoadXMLDocumentFromString("''") + ";\n" + " try {\n" + " log(x instanceof XMLDocument);\n" - + " }catch(e) {log(e.name)}\n" + + " }catch(e) {logEx(e)}\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -828,7 +828,7 @@ public void getElementById_xml() throws Exception { + " log(doc.getElementById('item2') != null);\n" + " log(doc.getElementById('item3') != null);\n" + " log(doc.getElementById('item4') != null);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -855,7 +855,7 @@ public void getElementById_html() throws Exception { + " var doc = " + callLoadXMLDocumentFromString("text") + ";\n" + " log(doc.getElementById('form1') != null);\n" + " log(doc.getElementById('div1') != null);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -881,7 +881,7 @@ public void getElementById_xhtml() throws Exception { + " var doc = " + callLoadXMLDocumentFromString("text") + ";\n" + " log(doc.getElementById('form1') != null);\n" + " log(doc.getElementById('div1') != null);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -908,7 +908,7 @@ public void xpathWithNamespaces() throws Exception { + " log(doc.evaluate('count(//book)', doc.documentElement, " + "null, XPathResult.NUMBER_TYPE, null).numberValue);\n" + " } catch (e) {\n" - + " log(e.name);\n" + + " logEx(e);\n" + " }\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java index b4191772b26..7e19cc330cc 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequest2Test.java @@ -277,7 +277,7 @@ public void openThrowOnEmptyUrl() throws Exception { + " xhr.open('GET', values[i], false);\n" + " xhr.send('');\n" + " log('pass');\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "\n" @@ -412,7 +412,7 @@ private void sameOriginPolicy(final String url) throws Exception { + " try {\n" + " xhr.open('GET', '" + url + "', false);\n" + " log('ok');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -745,7 +745,7 @@ public void sameOriginCorsSimple() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -780,7 +780,7 @@ public void baseUrlAbsoluteRequest() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -824,7 +824,7 @@ public void baseUrlAbsoluteRequestOtherUrl() throws Exception { + " log('ok');\n" + " xhr.send();\n" + " log(xhr.readyState);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1269,7 +1269,7 @@ private void postRedirect(final int code, final HttpMethod httpMethod, + " try {\n" + " xhr.open('POST', 'redirect.html', false);\n" + " xhr.send('" + content + "');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java index 0cb4bf2e8ed..df057767bdf 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestCORSTest.java @@ -73,7 +73,7 @@ public void noCorsHeaderCallsErrorHandler() throws Exception { + " log(event.total > 0);\n" + " };\n" + " xhr.send();\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -216,7 +216,7 @@ public void simplePut() throws Exception { + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseXML.firstChild.firstChild.nodeValue);\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "\n" @@ -294,7 +294,7 @@ private void incorrectAccessControlAllowOrigin(final String header) throws Excep + " var url = 'http://' + window.location.hostname + ':" + PORT2 + "/simple2';\n" + " xhr.open('GET', url, false);\n" + " xhr.send();\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseText);\n" @@ -550,7 +550,7 @@ public void preflight_incorrect_headers() throws Exception { + " xhr.open('GET', url, false);\n" + " xhr.setRequestHeader('X-PINGOTHER', 'pingpong');\n" + " xhr.send();\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + "}\n" @@ -588,7 +588,7 @@ public void preflight_many_header_values() throws Exception { + " xhr.setRequestHeader('X-PING', 'ping');\n" + " xhr.setRequestHeader('X-PONG', 'pong');\n" + " xhr.send();\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " log(xhr.readyState);\n" + " log(xhr.status);\n" + " log(xhr.responseXML.firstChild.childNodes[3].tagName);\n" @@ -856,7 +856,7 @@ private void testWithCredentials(final String accessControlAllowOrigin, + " xhr.withCredentials = true;\n" + " xhr.onreadystatechange = onReadyStateChange;\n" + " xhr.send();\n" - + " } catch(e) { log(e.name) }\n" + + " } catch(e) { logEx(e) }\n" + " log(xhr.readyState);\n" + " try {\n" + " log(xhr.status);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java index 714ed6a0f17..06020767ff0 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTargetTest.java @@ -65,7 +65,7 @@ public void ctor() throws Exception { + " try {\n" + " var xhr = new XMLHttpRequestEventTarget();\n" + " log(xhr);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index b11bc026ea2..2878651fbdc 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -1084,7 +1084,7 @@ public void overrideMimeType() throws Exception { + " request.overrideMimeType('text/xml');\n" + " request.send('');\n" + " log(request.responseXML == null);\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1114,7 +1114,7 @@ public void overrideMimeTypeAfterSend() throws Exception { + " try {\n" + " request.overrideMimeType('text/xml');\n" + " log('overwritten');\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1143,7 +1143,7 @@ public void overrideMimeType_charset() throws Exception { + " request.overrideMimeType('text/plain; charset=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1169,7 +1169,7 @@ public void overrideMimeType_charset_upper_case() throws Exception { + " request.overrideMimeType('text/plain; chaRSet=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1195,7 +1195,7 @@ public void overrideMimeType_charset_empty() throws Exception { + " request.overrideMimeType('text/plain; charset=');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1224,7 +1224,7 @@ public void overrideMimeType_charset_wrong() throws Exception { + " for (var i = 0; i < text.length; i++) {\n" + " log(text.charCodeAt(i));\n" + " }\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1796,7 +1796,7 @@ public void responseXML_html_select() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').id);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -1834,7 +1834,7 @@ public void responseXML_html_form() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').myInput.name);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -1890,7 +1890,7 @@ public void caseSensitivity_XMLHttpRequest() throws Exception { + " var req = new XMLHttpRequest();\n" + " log(req.readyState);\n" + " log(req.reAdYsTaTe);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + "}\n" + "\n" + ""; @@ -1942,7 +1942,7 @@ public void overrideMimeType_charset_all() throws Exception { + " for (var i = 0; i < request.responseText.length; i++) {\n" + " log(request.responseText.charCodeAt(i));\n" + " }\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1993,7 +1993,7 @@ public void loadParameter() throws Exception { + " request.onload = someLoad;\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2031,7 +2031,7 @@ public void addEventListener() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2069,7 +2069,7 @@ public void addEventListenerDetails() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2108,7 +2108,7 @@ public void addEventListenerCaller() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2137,7 +2137,7 @@ public void upload() throws Exception { + " try {\n" + " var request = new XMLHttpRequest();\n" + " log(request.upload);\n" - + " } catch (e) { log(e.name); }\n" + + " } catch (e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2713,7 +2713,7 @@ public void responseTypeSetBeforeOpen() throws Exception { + " log(request.responseType);\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'JsON';\n" @@ -2721,22 +2721,22 @@ public void responseTypeSetBeforeOpen() throws Exception { + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2769,52 +2769,52 @@ public void responseTypeSetAfterOpenSync() throws Exception { + " try {\n" + " request.responseType = 'arraybuffer';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'blob';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'json';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'document';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'JsON';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2845,52 +2845,52 @@ public void responseTypeSetAfterOpenAsync() throws Exception { + " try {\n" + " request.responseType = 'arraybuffer';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'blob';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'json';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'text';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'document';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'JsON';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = 'unknown';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = null;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = undefined;\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " request.responseType = '';\n" + " log(request.responseType);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2921,21 +2921,21 @@ public void responseTextInvalidResponseType() throws Exception { + " try {\n" + " xhr.responseType = 'arraybuffer';\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " log(xhr.responseType);\n" + " try {\n" + " log(xhr.responseText);\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " xhr.onreadystatechange = onStateChange;\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " xhr.send('');\n" + " log('send done');\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function onStateChange(e) {\n" @@ -2985,7 +2985,7 @@ public void responseResponseTypeDefault() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3029,7 +3029,7 @@ public void responseResponseTypeText() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3074,7 +3074,7 @@ public void responseResponseTypeArrayBuffer() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3119,7 +3119,7 @@ public void responseResponseTypeArrayBufferGzipIncrease() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3175,7 +3175,7 @@ public void responseResponseTypeArrayBufferGzipDecrease() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3231,7 +3231,7 @@ public void responseResponseTypeArrayBufferEmpty() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.byteLength);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3274,7 +3274,7 @@ public void responseResponseTypeBlob() throws Exception { + " log(xhr.response);\n" + " log(xhr.response.size);\n" + " log(xhr.response.type);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3319,7 +3319,7 @@ public void responseResponseTypeBlobEmpty() throws Exception { + " try {\n" + " log(xhr.response);\n" + " log(xhr.response.size);\n" - + " } catch(ex) { log(e.name); }\n" + + " } catch(ex) { logEx(e); }\n" + " }\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 1a1cefd4389..4715561821c 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -76,7 +76,7 @@ public void transformToDocument() throws Exception { + " processor.importStylesheet(xslDoc);\n" + " var newDocument = processor.transformToDocument(xmlDoc);\n" + " log(new XMLSerializer().serializeToString(newDocument.documentElement));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" @@ -143,7 +143,7 @@ public void transformToFragment() throws Exception { + " processor.importStylesheet(xslDoc);\n" + " var newFragment = processor.transformToFragment(xmlDoc, document);\n" + " log(new XMLSerializer().serializeToString(newFragment));\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" @@ -178,7 +178,7 @@ public void methods() throws Exception { + " } else {\n" + " log('XSLTProcessor not available');\n" + " }\n" - + " } catch(e) { log(e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; @@ -201,7 +201,7 @@ public void type() throws Exception { + " log(typeof XSLTProcessor);\n" + " log(XSLTProcessor);\n" + " log(new XSLTProcessor());\n" - + " } catch (e) {log(e.name)}\n" + + " } catch (e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java index 96557575e8f..3efa272164b 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java @@ -121,7 +121,7 @@ private void test(final String initialScript, final String script) throws Except html += initialScript + ";\n"; } html += " log(" + script + ");\n" - + "} catch (e) { log(e.name); }\n" + + "} catch (e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java index b60c378bb1e..e79aca26c9b 100644 --- a/src/test/java/org/htmlunit/svg/SvgMatrixTest.java +++ b/src/test/java/org/htmlunit/svg/SvgMatrixTest.java @@ -80,7 +80,7 @@ public void fields() throws Exception { + " m.e = 6;\n" + " m.f = 7;\n" + " alertFields(m);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -114,7 +114,7 @@ public void methods() throws Exception { + " log(typeof m.skewX);\n" + " log(typeof m.skewY);\n" + " log(typeof m.translate);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -178,7 +178,7 @@ public void inverseNotPossible() throws Exception { + " m.f = 6;\n" + " m = m.inverse();\n" + " alertFields(m);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -332,7 +332,7 @@ private void transformTest(final String transforamtion) throws Exception { + " r = m." + transforamtion + ";\n" + " log(m === r);\n" + " alertFields(r);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/svg/SvgTextTest.java b/src/test/java/org/htmlunit/svg/SvgTextTest.java index a0f1cbafa47..1a43abfc56b 100644 --- a/src/test/java/org/htmlunit/svg/SvgTextTest.java +++ b/src/test/java/org/htmlunit/svg/SvgTextTest.java @@ -75,7 +75,7 @@ public void getFontSize() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(window.getComputedStyle(document.getElementById('myId'), null).fontSize);\n" - + "} catch(e) { log(e.name); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/xml/XmlPage2Test.java b/src/test/java/org/htmlunit/xml/XmlPage2Test.java index acab2b13e05..66c4ef74550 100644 --- a/src/test/java/org/htmlunit/xml/XmlPage2Test.java +++ b/src/test/java/org/htmlunit/xml/XmlPage2Test.java @@ -90,7 +90,7 @@ public void createElementNS() throws Exception { + " var doc = document.implementation.createDocument('', '', null);\n" + " try {\n" + " log(doc.createElementNS('myNS', 'ppp:eee'));\n" - + " } catch(e) {log(e.name)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; From fbca0aeb69cd7193e6cc5188027327b0284dc45d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 3 Feb 2025 08:40:04 +0100 Subject: [PATCH 143/516] fix expectations for error details --- .../htmlunit/javascript/JavaScriptEngine2Test.java | 6 +++--- .../java/org/htmlunit/javascript/NativeJSONTest.java | 2 +- .../org/htmlunit/javascript/NativeNumberTest.java | 2 +- .../org/htmlunit/javascript/NativeObjectTest.java | 2 +- .../htmlunit/javascript/ScriptableObjectTest.java | 4 ++-- .../htmlunit/javascript/host/ActiveXObject2Test.java | 2 +- .../org/htmlunit/javascript/host/ElementTest.java | 8 ++++---- .../org/htmlunit/javascript/host/NavigatorTest.java | 4 ++-- .../org/htmlunit/javascript/host/NetscapeTest.java | 4 ++-- .../org/htmlunit/javascript/host/ReflectTest.java | 6 +++--- .../org/htmlunit/javascript/host/SymbolTest.java | 6 +++--- .../htmlunit/javascript/host/TextDecoderTest.java | 10 +++++----- .../org/htmlunit/javascript/host/Window2Test.java | 12 ++++++------ .../javascript/host/WindowPostMessageTest.java | 8 ++++---- 14 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 05ec7df4fa1..7295c7ccfcf 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -245,7 +245,7 @@ public void constructor() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("ReferenceError") + @Alerts("ReferenceError/Error") public void packages() throws Exception { object("Packages"); } @@ -254,7 +254,7 @@ public void packages() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("ReferenceError") + @Alerts("ReferenceError/Error") public void java() throws Exception { object("java"); } @@ -1028,7 +1028,7 @@ public void falsyAndDocumentAll() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("ReferenceError") + @Alerts("ReferenceError/Error") public void javaNotAccessable() throws Exception { final String html = "\n" + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"EvalError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "EvalError/EvalError"}, + FF = {"EvalError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "EvalError/EvalError"}, + FF_ESR = {"EvalError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "EvalError/EvalError"}) + public void evalError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"RangeError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "RangeError/RangeError"}, + FF = {"RangeError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "RangeError/RangeError"}, + FF_ESR = {"RangeError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "RangeError/RangeError"}) + public void rangeError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"ReferenceError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "ReferenceError/ReferenceError"}, + FF = {"ReferenceError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "ReferenceError/ReferenceError"}, + FF_ESR = {"ReferenceError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "ReferenceError/ReferenceError"}) + public void referenceError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"SyntaxError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "SyntaxError/SyntaxError"}, + FF = {"SyntaxError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "SyntaxError/SyntaxError"}, + FF_ESR = {"SyntaxError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "SyntaxError/SyntaxError"}) + public void syntaxError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"TypeError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "TypeError/TypeError"}, + FF = {"TypeError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "TypeError/TypeError"}, + FF_ESR = {"TypeError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "TypeError/TypeError"}) + public void typeError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"URIError", "Whoops!", "undefined", "undefined", "undefined", + "undefined", "true", "true", "URIError/URIError"}, + FF = {"URIError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "URIError/URIError"}, + FF_ESR = {"URIError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "URIError/URIError"}) + public void uriError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"AggregateError", "Whoops!", "undefined", "Error: some error", + "undefined", "undefined", + "undefined", "true", "true", "AggregateError/AggregateError"}, + FF = {"AggregateError", "Whoops!", "undefined", "Error: some error", + "11", "undefined", "25", + "true", "true", "AggregateError/AggregateError"}, + FF_ESR = {"AggregateError", "Whoops!", "undefined", "Error: some error", + "11", "undefined", "25", + "true", "true", "AggregateError/AggregateError"}) + public void aggregateError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"ReferenceError", "InternalError is not defined", + "undefined", "undefined", "undefined", + "undefined", "true", "false", "ReferenceError/ReferenceError"}, + FF = {"InternalError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "InternalError/InternalError"}, + FF_ESR = {"InternalError", "Whoops!", "undefined", "11", "undefined", "25", + "true", "true", "InternalError/InternalError"}) + public void internalError() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } +} From bfc43f99b6dc89638c67c0692d9c0828b73b8066 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 3 Feb 2025 10:35:11 +0100 Subject: [PATCH 145/516] more details for errors --- .../java/org/htmlunit/WebDriverTestCase.java | 20 +++++----- .../org/htmlunit/javascript/ErrorTest.java | 38 +++++++++---------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/test/java/org/htmlunit/WebDriverTestCase.java b/src/test/java/org/htmlunit/WebDriverTestCase.java index 188f98dddc9..3415268808a 100644 --- a/src/test/java/org/htmlunit/WebDriverTestCase.java +++ b/src/test/java/org/htmlunit/WebDriverTestCase.java @@ -148,22 +148,22 @@ public abstract class WebDriverTestCase extends WebTestCase { private static final String LOG_EX_FUNCTION = " function logEx(e) {\n" + " let toStr = null;\n" - + " if (toStr === null && e instanceof EvalError) { toStr = 'EvalError'; }\n" - + " if (toStr === null && e instanceof RangeError) { toStr = 'RangeError'; }\n" - + " if (toStr === null && e instanceof ReferenceError) { toStr = 'ReferenceError'; }\n" - + " if (toStr === null && e instanceof SyntaxError) { toStr = 'SyntaxError'; }\n" - + " if (toStr === null && e instanceof TypeError) { toStr = 'TypeError'; }\n" - + " if (toStr === null && e instanceof URIError) { toStr = 'URIError'; }\n" - + " if (toStr === null && e instanceof AggregateError) { toStr = 'AggregateError'; }\n" + + " if (toStr === null && e instanceof EvalError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof RangeError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof ReferenceError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof SyntaxError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof TypeError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof URIError) { toStr = ''; }\n" + + " if (toStr === null && e instanceof AggregateError) { toStr = '/AggregateError'; }\n" + " if (toStr === null && typeof InternalError == 'function' " - + "&& e instanceof InternalError) { toStr = 'InternalError'; }\n" + + "&& e instanceof InternalError) { toStr = '/InternalError'; }\n" + " if (toStr === null) {\n" + " let rx = /\\[object (.*)\\]/;\n" + " toStr = Object.prototype.toString.call(e);\n" + " let match = rx.exec(toStr);\n" - + " if (match != null) { toStr = match[1]; }\n" + + " if (match != null) { toStr = '/' + match[1]; }\n" + " }" - + " log(e.name + '/' + toStr);\n" + + " log(e.name + toStr);\n" + "}\n"; /** diff --git a/src/test/java/org/htmlunit/javascript/ErrorTest.java b/src/test/java/org/htmlunit/javascript/ErrorTest.java index cdcada279a0..4f45657a09d 100644 --- a/src/test/java/org/htmlunit/javascript/ErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/ErrorTest.java @@ -67,11 +67,11 @@ public void error() throws Exception { */ @Test @Alerts(DEFAULT = {"EvalError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "EvalError/EvalError"}, + "undefined", "true", "true", "EvalError"}, FF = {"EvalError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "EvalError/EvalError"}, + "true", "true", "EvalError"}, FF_ESR = {"EvalError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "EvalError/EvalError"}) + "true", "true", "EvalError"}) public void evalError() throws Exception { final String html = "\n" @@ -104,11 +104,11 @@ public void evalError() throws Exception { */ @Test @Alerts(DEFAULT = {"RangeError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "RangeError/RangeError"}, + "undefined", "true", "true", "RangeError"}, FF = {"RangeError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "RangeError/RangeError"}, + "true", "true", "RangeError"}, FF_ESR = {"RangeError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "RangeError/RangeError"}) + "true", "true", "RangeError"}) public void rangeError() throws Exception { final String html = "\n" @@ -141,11 +141,11 @@ public void rangeError() throws Exception { */ @Test @Alerts(DEFAULT = {"ReferenceError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "ReferenceError/ReferenceError"}, + "undefined", "true", "true", "ReferenceError"}, FF = {"ReferenceError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "ReferenceError/ReferenceError"}, + "true", "true", "ReferenceError"}, FF_ESR = {"ReferenceError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "ReferenceError/ReferenceError"}) + "true", "true", "ReferenceError"}) public void referenceError() throws Exception { final String html = "\n" @@ -178,11 +178,11 @@ public void referenceError() throws Exception { */ @Test @Alerts(DEFAULT = {"SyntaxError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "SyntaxError/SyntaxError"}, + "undefined", "true", "true", "SyntaxError"}, FF = {"SyntaxError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "SyntaxError/SyntaxError"}, + "true", "true", "SyntaxError"}, FF_ESR = {"SyntaxError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "SyntaxError/SyntaxError"}) + "true", "true", "SyntaxError"}) public void syntaxError() throws Exception { final String html = "\n" @@ -215,11 +215,11 @@ public void syntaxError() throws Exception { */ @Test @Alerts(DEFAULT = {"TypeError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "TypeError/TypeError"}, + "undefined", "true", "true", "TypeError"}, FF = {"TypeError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "TypeError/TypeError"}, + "true", "true", "TypeError"}, FF_ESR = {"TypeError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "TypeError/TypeError"}) + "true", "true", "TypeError"}) public void typeError() throws Exception { final String html = "\n" @@ -252,11 +252,11 @@ public void typeError() throws Exception { */ @Test @Alerts(DEFAULT = {"URIError", "Whoops!", "undefined", "undefined", "undefined", - "undefined", "true", "true", "URIError/URIError"}, + "undefined", "true", "true", "URIError"}, FF = {"URIError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "URIError/URIError"}, + "true", "true", "URIError"}, FF_ESR = {"URIError", "Whoops!", "undefined", "11", "undefined", "25", - "true", "true", "URIError/URIError"}) + "true", "true", "URIError"}) public void uriError() throws Exception { final String html = "\n" @@ -331,7 +331,7 @@ public void aggregateError() throws Exception { @Test @Alerts(DEFAULT = {"ReferenceError", "InternalError is not defined", "undefined", "undefined", "undefined", - "undefined", "true", "false", "ReferenceError/ReferenceError"}, + "undefined", "true", "false", "ReferenceError"}, FF = {"InternalError", "Whoops!", "undefined", "11", "undefined", "25", "true", "true", "InternalError/InternalError"}, FF_ESR = {"InternalError", "Whoops!", "undefined", "11", "undefined", "25", From dedf6ff221f40115e3639ca57efcdc977e9fc75d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 3 Feb 2025 14:00:07 +0100 Subject: [PATCH 146/516] more details for errors --- .../general/ElementOwnPropertiesTest.java | 24 +++++----- .../ElementOwnPropertySymbolsTest.java | 10 ++--- .../general/ElementPropertiesTest.java | 24 +++++----- .../java/org/htmlunit/html/DomNode2Test.java | 4 +- .../org/htmlunit/html/HtmlFileInputTest.java | 30 ++++++------- .../htmlunit/html/HtmlNumberInputTest.java | 14 +++--- .../html/xpath/HtmlUnitXPath2Test.java | 6 +-- .../javascript/JavaScriptEngine2Test.java | 6 +-- .../htmlunit/javascript/NativeJSONTest.java | 2 +- .../htmlunit/javascript/NativeNumberTest.java | 2 +- .../htmlunit/javascript/NativeObjectTest.java | 2 +- .../javascript/ScriptableObjectTest.java | 4 +- .../javascript/host/ActiveXObject2Test.java | 2 +- .../htmlunit/javascript/host/ElementTest.java | 6 +-- .../javascript/host/NavigatorTest.java | 4 +- .../javascript/host/NetscapeTest.java | 4 +- .../htmlunit/javascript/host/ReflectTest.java | 6 +-- .../htmlunit/javascript/host/SymbolTest.java | 6 +-- .../javascript/host/TextDecoderTest.java | 10 ++--- .../htmlunit/javascript/host/Window2Test.java | 16 +++---- .../host/WindowPostMessageTest.java | 2 +- .../javascript/host/canvas/ImageDataTest.java | 5 ++- .../javascript/host/crypto/CryptoTest.java | 2 +- .../javascript/host/css/CSSMediaRuleTest.java | 20 ++++----- .../javascript/host/css/CSSSelectorTest.java | 10 ++--- .../host/css/CSSStyleSheetTest.java | 6 +-- .../host/dom/CharacterDataTest.java | 3 +- .../javascript/host/dom/DOMTokenListTest.java | 44 +++++++++---------- .../javascript/host/dom/Document2Test.java | 4 +- .../javascript/host/dom/DocumentTest.java | 10 ++--- .../javascript/host/dom/NodeTest.java | 11 ++--- .../host/dom/RadioNodeListTest.java | 4 +- .../host/event/AudioProcessingEventTest.java | 2 +- .../host/event/KeyboardEventTest.java | 10 ++--- .../host/event/PointerEventTest.java | 6 +-- .../host/event/PopStateEventTest.java | 2 +- .../host/event/ProgressEventTest.java | 2 +- .../host/html/HTMLCollectionTest.java | 2 +- .../host/html/HTMLDocumentTest.java | 12 ++--- .../host/html/HTMLElement2Test.java | 4 +- .../javascript/host/html/HTMLElementTest.java | 16 +++---- .../html/HTMLFormControlsCollectionTest.java | 4 +- .../host/html/HTMLOptionsCollectionTest.java | 8 ++-- .../host/html/HTMLSelectElementTest.java | 8 ++-- .../host/html/HTMLTableElementTest.java | 4 +- .../host/html/HTMLTableRowElementTest.java | 5 ++- .../host/xml/XMLHttpRequestCORSTest.java | 8 ++-- .../host/xml/XMLHttpRequestTest.java | 11 ++--- .../java/org/htmlunit/svg/SvgMatrixTest.java | 8 ++-- 49 files changed, 210 insertions(+), 205 deletions(-) diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index de1229afd7c..9722885a961 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -14969,10 +14969,10 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", - FF = "NotSupportedError", - FF_ESR = "NotSupportedError") + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", + FF = "NotSupportedError/DOMException", + FF_ESR = "NotSupportedError/DOMException") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent')"); } @@ -15107,10 +15107,10 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", - FF = "NotSupportedError", - FF_ESR = "NotSupportedError") + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", + FF = "NotSupportedError/DOMException", + FF_ESR = "NotSupportedError/DOMException") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -15121,7 +15121,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -15910,8 +15910,8 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", FF = "ADDITION[E],attrChange[GCE],attrName[GCE],constructor(),initMutationEvent(),MODIFICATION[E]," + "newValue[GCE],prevValue[GCE],relatedNode[GCE]," + "REMOVAL[E]", @@ -15930,7 +15930,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index 25e325c114d..2476244dcb0 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -2257,7 +2257,7 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent')"); } @@ -2327,7 +2327,7 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -2338,7 +2338,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -2586,7 +2586,7 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "NotSupportedError", + @Alerts(DEFAULT = "NotSupportedError/DOMException", FF = "Symbol(Symbol.toStringTag) [C] [MutationEvent]", FF_ESR = "Symbol(Symbol.toStringTag) [C] [MutationEvent]") public void mutationEvent() throws Exception { @@ -2599,7 +2599,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index c415d6d4cba..980d6045fd7 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -3819,10 +3819,10 @@ public void pointerEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", - FF = "NotSupportedError", - FF_ESR = "NotSupportedError") + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", + FF = "NotSupportedError/DOMException", + FF_ESR = "NotSupportedError/DOMException") public void pointerEvent2() throws Exception { testString("", " document.createEvent('PointerEvent'), document.createEvent('MouseEvent')"); } @@ -4082,10 +4082,10 @@ public void inputEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", - FF = "NotSupportedError", - FF_ESR = "NotSupportedError") + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", + FF = "NotSupportedError/DOMException", + FF_ESR = "NotSupportedError/DOMException") public void mouseWheelEvent() throws Exception { testString("", "document.createEvent('MouseWheelEvent')"); } @@ -4096,7 +4096,7 @@ public void mouseWheelEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void svgZoomEvent() throws Exception { testString("", "document.createEvent('SVGZoomEvent')"); } @@ -5908,8 +5908,8 @@ public void gamepadEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "NotSupportedError", - EDGE = "NotSupportedError", + @Alerts(CHROME = "NotSupportedError/DOMException", + EDGE = "NotSupportedError/DOMException", FF = "ADDITION,ALT_MASK,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble," + "CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase," + "explicitOriginalTarget,initEvent(),initMutationEvent(),isTrusted,META_MASK,MODIFICATION,newValue," @@ -5938,7 +5938,7 @@ public void mutationEvent() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void offlineAudioCompletionEvent() throws Exception { testString("", "document.createEvent('OfflineAudioCompletionEvent')"); } diff --git a/src/test/java/org/htmlunit/html/DomNode2Test.java b/src/test/java/org/htmlunit/html/DomNode2Test.java index f09cd0a4ca8..aef9fab2228 100644 --- a/src/test/java/org/htmlunit/html/DomNode2Test.java +++ b/src/test/java/org/htmlunit/html/DomNode2Test.java @@ -36,7 +36,7 @@ public class DomNode2Test extends WebDriverTestCase { * @throws Exception on test failure */ @Test - @Alerts({"HierarchyRequestError", "0"}) + @Alerts({"HierarchyRequestError/DOMException", "0"}) public void appendChild_recursive() throws Exception { final String html = "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index 70c9a142f4e..f8a43cfb7c7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -120,7 +120,7 @@ public void create_ctorMissingDetails() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("NotSupportedError") + @Alerts("NotSupportedError/DOMException") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index 55be19bd09f..8c931c7fce8 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -284,7 +284,7 @@ public void addBeforeNullMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "NotFoundError"}) + @Alerts({"0", "NotFoundError/DOMException"}) public void addBeforeUnknownEmpty() throws Exception { add(", new Option('foo', '123')", true, false); } @@ -293,7 +293,7 @@ public void addBeforeUnknownEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "NotFoundError"}) + @Alerts({"0", "NotFoundError/DOMException"}) public void addBeforeUnknownEmptyMulti() throws Exception { add(", new Option('foo', '123')", true, true); } @@ -302,7 +302,7 @@ public void addBeforeUnknownEmptyMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "NotFoundError"}) + @Alerts({"3", "NotFoundError/DOMException"}) public void addBeforeUnknown() throws Exception { add(", new Option('foo', '123')", false, false); } @@ -311,7 +311,7 @@ public void addBeforeUnknown() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "NotFoundError"}) + @Alerts({"3", "NotFoundError/DOMException"}) public void addBeforeUnknownMulti() throws Exception { add(", new Option('foo', '123')", false, true); } diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index 7b1356b42e5..8975a9526ff 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -834,7 +834,7 @@ public void addOptionMethodOptionNullEmptySelectMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "NotFoundError"}) + @Alerts({"0", "NotFoundError/DOMException"}) public void addOptionMethodNewOptionEmptySelect() throws Exception { addOptionMethod(", new Option('foo', '123')", true, false); } @@ -843,7 +843,7 @@ public void addOptionMethodNewOptionEmptySelect() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"0", "NotFoundError"}) + @Alerts({"0", "NotFoundError/DOMException"}) public void addOptionMethodNewOptionEmptySelectMulti() throws Exception { addOptionMethod(", new Option('foo', '123')", true, true); } @@ -870,7 +870,7 @@ public void addOptionMethodOptionNullMulti() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "NotFoundError"}) + @Alerts({"3", "NotFoundError/DOMException"}) public void addOptionMethodNewOption() throws Exception { addOptionMethod(", new Option('foo', '123')", false, false); } @@ -879,7 +879,7 @@ public void addOptionMethodNewOption() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"3", "NotFoundError"}) + @Alerts({"3", "NotFoundError/DOMException"}) public void addOptionMethodNewOptionMulti() throws Exception { addOptionMethod(", new Option('foo', '123')", false, true); } diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index d13dfb4b9f5..9440a6157b9 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -387,7 +387,7 @@ public void insertRowEmpty() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "IndexSizeError"}) + @Alerts({"2", "IndexSizeError/DOMException"}) public void insertRow_MinusTwo() throws Exception { insertRow("-2"); } @@ -432,7 +432,7 @@ public void insertRow_Two() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"2", "IndexSizeError"}) + @Alerts({"2", "IndexSizeError/DOMException"}) public void insertRow_Three() throws Exception { insertRow("3"); } diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index e5fb5062ccb..e73c70ede7b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -57,7 +57,8 @@ public void simpleScriptable() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"4", "td1", "3", "td2", "td4", "2", "td3", "IndexSizeError", "IndexSizeError"}) + @Alerts({"4", "td1", "3", "td2", "td4", "2", "td3", + "IndexSizeError/DOMException", "IndexSizeError/DOMException"}) public void deleteCell() throws Exception { final String html = "\n" + "") public void formInTableData() throws Exception { final String html = "\n" @@ -544,6 +558,20 @@ public void formInTableData() throws Exception { + "" + "" + "") public void formInTableRow() throws Exception { final String html = "\n" @@ -591,8 +619,21 @@ public void formInTableRow() throws Exception { + "" + "" + "") - public void formInTable() throws Exception { final String html = "\n" + "\n" From 743a8e6a3255e7d2e88adbeb042126caa6e7fb91 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Mon, 3 Feb 2025 18:54:38 +0100 Subject: [PATCH 151/516] build the correct error --- .../htmlunit/javascript/JavaScriptEngine.java | 10 ---------- .../org/htmlunit/javascript/host/Window.java | 10 +++++++--- .../javascript/host/xml/XMLHttpRequest.java | 16 +++++++++++++--- .../javascript/host/dom/DOMExceptionTest.java | 4 ++-- .../javascript/host/dom/DocumentTest.java | 8 ++++---- .../host/event/AnimationEventTest.java | 4 ++-- .../javascript/host/event/CloseEventTest.java | 8 ++++---- .../javascript/host/event/KeyboardEventTest.java | 4 ++-- .../javascript/host/event/PopStateEventTest.java | 8 ++++---- .../host/html/HTMLTableRowElementTest.java | 2 +- 10 files changed, 39 insertions(+), 35 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 45da51c9396..e039ae0f518 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1169,16 +1169,6 @@ public static EcmaError typeError(final String message) { return ScriptRuntime.typeError(message); } - /** - * Report a runtime error using the error reporter for the current thread. - * - * @param message the error message to report - * @return EcmaError - */ - public static EcmaError networkError(final String message) { - return ScriptRuntime.networkError(message); - } - /** * Report a runtime error using the error reporter for the current thread. * diff --git a/src/main/java/org/htmlunit/javascript/host/Window.java b/src/main/java/org/htmlunit/javascript/host/Window.java index 9b81e3594d4..d33e0f44035 100644 --- a/src/main/java/org/htmlunit/javascript/host/Window.java +++ b/src/main/java/org/htmlunit/javascript/host/Window.java @@ -99,6 +99,7 @@ import org.htmlunit.javascript.host.css.MediaQueryList; import org.htmlunit.javascript.host.css.StyleMedia; import org.htmlunit.javascript.host.dom.AbstractList.EffectOnCache; +import org.htmlunit.javascript.host.dom.DOMException; import org.htmlunit.javascript.host.dom.Document; import org.htmlunit.javascript.host.dom.Selection; import org.htmlunit.javascript.host.event.Event; @@ -1983,9 +1984,12 @@ public static void postMessage(final Context context, final Scriptable scope, targetURL = new URL(targetOrigin); } catch (final Exception e) { - throw JavaScriptEngine.syntaxError( - "Failed to execute 'postMessage' on 'Window': Invalid target origin '" - + targetOrigin + "' was specified (reason: " + e.getMessage() + "."); + throw JavaScriptEngine.asJavaScriptException( + (HtmlUnitScriptable) getTopLevelScope(thisObj), + new DOMException( + "Failed to execute 'postMessage' on 'Window': Invalid target origin '" + + targetOrigin + "' was specified (reason: " + e.getMessage() + ".", + DOMException.SYNTAX_ERR)); } } diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java index 6ccba146a39..c17316e3f96 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java @@ -908,7 +908,11 @@ void doSend() { if (LOG.isDebugEnabled()) { LOG.debug("Not allowed to load local resource: " + webRequest_.getUrl()); } - throw JavaScriptEngine.networkError("Not allowed to load local resource: " + webRequest_.getUrl()); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "Not allowed to load local resource: " + webRequest_.getUrl(), + DOMException.NETWORK_ERR)); } final BrowserVersion browserVersion = getBrowserVersion(); @@ -960,7 +964,11 @@ void doSend() { if (LOG.isDebugEnabled()) { LOG.debug("No permitted request for URL " + webRequest_.getUrl()); } - throw JavaScriptEngine.networkError("No permitted \"Access-Control-Allow-Origin\" header."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException( + "No permitted \"Access-Control-Allow-Origin\" header.", + DOMException.NETWORK_ERR)); } } @@ -1081,7 +1089,9 @@ public Charset getContentCharset() { fireJavascriptEvent(Event.TYPE_LOAD_END); } - throw JavaScriptEngine.networkError(e.getMessage()); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + new DOMException(e.getMessage(), DOMException.NETWORK_ERR)); } } } diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java index d6fa7bc0c38..28ad8052db4 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMExceptionTest.java @@ -310,8 +310,8 @@ public void properties() throws Exception { */ @Test @Alerts(DEFAULT = {"3", "true", "undefined", "undefined", "HIERARCHY_REQUEST_ERR: 3", "1"}, - FF = {"3", "true", "8", "§§URL§§", "HIERARCHY_REQUEST_ERR: 3", "1"}, - FF_ESR = {"3", "true", "8", "§§URL§§", "HIERARCHY_REQUEST_ERR: 3", "1"}) + FF = {"3", "true", "25", "§§URL§§", "HIERARCHY_REQUEST_ERR: 3", "1"}, + FF_ESR = {"3", "true", "25", "§§URL§§", "HIERARCHY_REQUEST_ERR: 3", "1"}) /* * Messages: * CHROME: "A Node was inserted somewhere it doesn't belong." diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index ffea2e718db..9f5cd5aeb68 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -3693,10 +3693,10 @@ public void useInWeakSet() throws Exception { */ @Test @Alerts({"about:blank", "about:blank", "undefined", "null", "null"}) - @HtmlUnitNYI(CHROME = "InternalError", - EDGE = "InternalError", - FF = "InternalError", - FF_ESR = "InternalError") + @HtmlUnitNYI(CHROME = "InternalError/InternalError", + EDGE = "InternalError/InternalError", + FF = "InternalError/InternalError", + FF_ESR = "InternalError/InternalError") public void newDoc() throws Exception { final String html = "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index 22e5fc80060..e9543c00880 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -67,8 +67,8 @@ public void create_ctor() throws Exception { */ @Test @Alerts(DEFAULT = {"[object AnimationEvent]", "", "false", "false", "false"}, - FF = "NotSupportedError", - FF_ESR = "NotSupportedError") + FF = "NotSupportedError/DOMException", + FF_ESR = "NotSupportedError/DOMException") public void create_createEvent() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 4715561821c..145c5dcf59b 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -250,8 +250,10 @@ public void browserDetection() throws Exception { @Alerts(DEFAULT = {"preparation done", "null"}, FF = {"preparation done", "exception "}, FF_ESR = {"preparation done", "exception "}) - @HtmlUnitNYI(CHROME = {"preparation done", "exception "}, - EDGE = {"preparation done", "exception "}) + @HtmlUnitNYI(CHROME = {"preparation done", "exception InternalError"}, + EDGE = {"preparation done", "exception InternalError"}, + FF = {"preparation done", "exception InternalError"}, + FF_ESR = {"preparation done", "exception InternalError"}) public void testSecurity() throws Exception { final String html = "\n" + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"Error", "msg", "undefined", "undefined", "undefined", "undefined"}, + FF = {"Error", "msg", "undefined", "11", "undefined", "25"}, + FF_ESR = {"Error", "msg", "undefined", "11", "undefined", "25"}) + @HtmlUnitNYI(CHROME = {"Error", "msg", "undefined", "undefined", "undefined", "25"}, + EDGE = {"Error", "msg", "undefined", "undefined", "undefined", "25"}, + FF = {"Error", "msg", "undefined", "undefined", "undefined", "25"}, + FF_ESR = {"Error", "msg", "undefined", "undefined", "undefined", "25"}) + public void ctorFilename() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts(DEFAULT = {"Error", "test", "undefined", "undefined", "undefined", "undefined"}, + FF = {"Error", "test", "undefined", "11", "undefined", "25"}, + FF_ESR = {"Error", "test", "undefined", "11", "undefined", "25"}) + @HtmlUnitNYI(CHROME = {"Error", "test", "undefined", "undefined", "undefined", "25"}, + EDGE = {"Error", "test", "undefined", "undefined", "undefined", "25"}, + FF = {"Error", "test", "undefined", "undefined", "undefined", "25"}, + FF_ESR = {"Error", "test", "undefined", "undefined", "undefined", "25"}) + public void ctorAsFunction() throws Exception { + final String html + = "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + "\n" + + ""; + + loadPageVerifyTitle2(html); + } } From 54332dce5173b0fd2cd8423df2b35e751c9b1931 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 4 Feb 2025 09:21:55 +0100 Subject: [PATCH 154/516] code cleanup --- .../htmlunit/javascript/JavaScriptEngine.java | 16 +++--- .../org/htmlunit/javascript/host/Element.java | 26 ++++------ .../org/htmlunit/javascript/host/Window.java | 7 ++- .../host/WindowOrWorkerGlobalScopeMixin.java | 10 ++-- .../javascript/host/canvas/ImageData.java | 25 ++++------ .../javascript/host/crypto/Crypto.java | 11 ++-- .../javascript/host/css/CSSGroupingRule.java | 16 ++---- .../javascript/host/css/CSSStyleSheet.java | 24 ++------- .../javascript/host/dom/CharacterData.java | 10 ++-- .../javascript/host/dom/DOMTokenList.java | 50 ++++++++----------- .../javascript/host/dom/Document.java | 45 +++++++---------- .../htmlunit/javascript/host/dom/Node.java | 33 +++++------- .../javascript/host/dom/Selection.java | 5 +- .../javascript/host/html/HTMLDocument.java | 5 +- .../host/html/HTMLInputElement.java | 37 ++++++-------- .../host/html/HTMLOptionsCollection.java | 5 +- .../host/html/HTMLTableRowElement.java | 10 ++-- .../javascript/host/html/RowContainer.java | 7 ++- .../javascript/host/svg/SVGMatrix.java | 10 ++-- .../javascript/host/xml/XMLHttpRequest.java | 34 ++++++------- .../org/htmlunit/javascript/ErrorTest.java | 2 +- 21 files changed, 153 insertions(+), 235 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index e039ae0f518..5356ef88416 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1191,21 +1191,23 @@ public static EcmaError constructError(final String error, final String message) /** * INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
        * - * Encapsulates the given {@link DOMException} into a Rhino-compatible exception. + * Creates a {@link DOMException} and encapsulates it into a Rhino-compatible exception. * * @param scope the parent scope - * @param exception the exception to encapsulate + * @param message the exception message + * @param type the exception type * @return the created exception */ - public static RhinoException asJavaScriptException(final HtmlUnitScriptable scope, final DOMException exception) { - exception.setParentScope(scope); - exception.setPrototype(scope.getPrototype(exception.getClass())); + public static RhinoException asJavaScriptException(final HtmlUnitScriptable scope, final String message, final int type) { + final DOMException domException = new DOMException(message, type); + domException.setParentScope(scope); + domException.setPrototype(scope.getPrototype(DOMException.class)); final EcmaError helper = ScriptRuntime.syntaxError("helper"); final String fileName = helper.sourceName().replaceFirst("script in (.*) from .*", "$1"); - exception.setLocation(fileName, helper.lineNumber()); + domException.setLocation(fileName, helper.lineNumber()); - return new JavaScriptException(exception, fileName, helper.lineNumber()); + return new JavaScriptException(domException, fileName, helper.lineNumber()); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/Element.java b/src/main/java/org/htmlunit/javascript/host/Element.java index c2044339cd8..73397c4c315 100644 --- a/src/main/java/org/htmlunit/javascript/host/Element.java +++ b/src/main/java/org/htmlunit/javascript/host/Element.java @@ -511,10 +511,9 @@ public NodeList querySelectorAll(final String selectors) { catch (final CSSException e) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "An invalid or illegal selector was specified (selector: '" - + selectors + "' error: " + e.getMessage() + ").", - DOMException.SYNTAX_ERR)); + "An invalid or illegal selector was specified (selector: '" + + selectors + "' error: " + e.getMessage() + ").", + DOMException.SYNTAX_ERR); } } @@ -535,10 +534,9 @@ public Node querySelector(final String selectors) { catch (final CSSException e) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "An invalid or illegal selector was specified (selector: '" - + selectors + "' error: " + e.getMessage() + ").", - DOMException.SYNTAX_ERR)); + "An invalid or illegal selector was specified (selector: '" + + selectors + "' error: " + e.getMessage() + ").", + DOMException.SYNTAX_ERR); } } @@ -940,9 +938,8 @@ public void setOuterHTML(final Object value) { if (getBrowserVersion().hasFeature(JS_OUTER_HTML_THROWS_FOR_DETACHED)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "outerHTML is readonly for detached nodes", - org.htmlunit.javascript.host.dom.DOMException.NO_MODIFICATION_ALLOWED_ERR)); + "outerHTML is readonly for detached nodes", + DOMException.NO_MODIFICATION_ALLOWED_ERR); } return; } @@ -1537,10 +1534,9 @@ public static boolean matches(final Context context, final Scriptable scope, catch (final CSSException e) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "An invalid or illegal selector was specified (selector: '" - + selectorString + "' error: " + e.getMessage() + ").", - DOMException.SYNTAX_ERR)); + "An invalid or illegal selector was specified (selector: '" + + selectorString + "' error: " + e.getMessage() + ").", + DOMException.SYNTAX_ERR); } } diff --git a/src/main/java/org/htmlunit/javascript/host/Window.java b/src/main/java/org/htmlunit/javascript/host/Window.java index d33e0f44035..532b328c341 100644 --- a/src/main/java/org/htmlunit/javascript/host/Window.java +++ b/src/main/java/org/htmlunit/javascript/host/Window.java @@ -1986,10 +1986,9 @@ public static void postMessage(final Context context, final Scriptable scope, catch (final Exception e) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "Failed to execute 'postMessage' on 'Window': Invalid target origin '" - + targetOrigin + "' was specified (reason: " + e.getMessage() + ".", - DOMException.SYNTAX_ERR)); + "Failed to execute 'postMessage' on 'Window': Invalid target origin '" + + targetOrigin + "' was specified (reason: " + e.getMessage() + ".", + DOMException.SYNTAX_ERR); } } diff --git a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java index 5edd90e4b01..bb5054327ac 100644 --- a/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java +++ b/src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java @@ -62,9 +62,8 @@ public static String atob(final String encodedData, final HtmlUnitScriptable scr if (encodedData.charAt(i) > 255) { throw JavaScriptEngine.asJavaScriptException( scriptable, - new org.htmlunit.javascript.host.dom.DOMException( - "Function atob supports only latin1 characters", - org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); + "Function atob supports only latin1 characters", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR); } } final byte[] bytes = encodedData.getBytes(StandardCharsets.ISO_8859_1); @@ -83,9 +82,8 @@ public static String btoa(final String stringToEncode, final HtmlUnitScriptable if (stringToEncode.charAt(i) > 255) { throw JavaScriptEngine.asJavaScriptException( scriptable, - new org.htmlunit.javascript.host.dom.DOMException( - "Function btoa supports only latin1 characters", - org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); + "Function btoa supports only latin1 characters", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR); } } final byte[] bytes = stringToEncode.getBytes(StandardCharsets.ISO_8859_1); diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java index eddc8c68826..a58cb4b24f7 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/ImageData.java @@ -73,9 +73,8 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, if (data.getArrayLength() % 4 != 0) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), - new DOMException( - "ImageData ctor - data length mod 4 not zero", - DOMException.INVALID_STATE_ERR)); + "ImageData ctor - data length mod 4 not zero", + DOMException.INVALID_STATE_ERR); } width = (int) JavaScriptEngine.toInteger(args[1]); @@ -85,9 +84,8 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, if (data.getArrayLength() != 4 * width * height) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), - new DOMException( - "ImageData ctor - width not correct", - DOMException.INDEX_SIZE_ERR)); + "ImageData ctor - width not correct", + DOMException.INDEX_SIZE_ERR); } } else { @@ -97,9 +95,8 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, if (data.getArrayLength() != 4 * width * height) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), - new DOMException( - "ImageData ctor - width/height not correct", - DOMException.INDEX_SIZE_ERR)); + "ImageData ctor - width/height not correct", + DOMException.INDEX_SIZE_ERR); } } else { @@ -110,16 +107,14 @@ public static ImageData jsConstructor(final Context cx, final Scriptable scope, if (width < 0) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), - new DOMException( - "ImageData ctor - width negative", - DOMException.INDEX_SIZE_ERR)); + "ImageData ctor - width negative", + DOMException.INDEX_SIZE_ERR); } if (height < 0) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) JavaScriptEngine.getTopCallScope(), - new DOMException( - "ImageData ctor - height negative", - DOMException.INDEX_SIZE_ERR)); + "ImageData ctor - height negative", + DOMException.INDEX_SIZE_ERR); } final ImageData result = new ImageData(null, 0, 0, width, height); diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java index fd175dd00fd..606a5bf27e5 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java @@ -78,12 +78,11 @@ public NativeTypedArrayView getRandomValues(final NativeTypedArrayView arr if (array.getByteLength() > 65_536) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Error: Failed to execute 'getRandomValues' on 'Crypto': " - + "The ArrayBufferView's byte length " - + "(" + array.getByteLength() + ") exceeds the number of bytes " - + "of entropy available via this API (65536).", - DOMException.QUOTA_EXCEEDED_ERR)); + "Error: Failed to execute 'getRandomValues' on 'Crypto': " + + "The ArrayBufferView's byte length " + + "(" + array.getByteLength() + ") exceeds the number of bytes " + + "of entropy available via this API (65536).", + DOMException.QUOTA_EXCEEDED_ERR); } for (int i = 0; i < array.getByteLength() / array.getBytesPerElement(); i++) { diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java index 38b4717bbf8..6a46438ba41 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSGroupingRule.java @@ -115,17 +115,13 @@ else if (JavaScriptEngine.isUndefined(position)) { } catch (final DOMException ex) { throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - ex.getMessage(), - ex.code)); + getWindow(), ex.getMessage(), ex.code); } } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - e.getMessage(), - org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR)); + e.getMessage(), + org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR); } } @@ -141,11 +137,7 @@ public void deleteRule(final int position) { refreshCssRules(); } catch (final DOMException e) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - e.getMessage(), - e.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), e.getMessage(), e.code); } } diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java index afa900f775d..78631a20d47 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java @@ -186,18 +186,10 @@ public int insertRule(final String rule, final int position) { return position; } catch (final DOMException ex) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - ex.getMessage(), - ex.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), ex.getMessage(), ex.code); } } - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - e.getMessage(), - e.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), e.getMessage(), e.code); } } @@ -255,11 +247,7 @@ public void deleteRule(final int position) { refreshCssRules(); } catch (final DOMException e) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - e.getMessage(), - e.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), e.getMessage(), e.code); } } @@ -288,11 +276,7 @@ public int addRule(final String selector, final String rule) { refreshCssRules(); } catch (final DOMException ex) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - ex.getMessage(), - ex.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), ex.getMessage(), ex.code); } } return -1; diff --git a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java index d715dac606d..a21e5846984 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/CharacterData.java @@ -93,18 +93,16 @@ public void deleteData(final int offset, final int count) { if (offset < 0) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Provided offset: " + offset + " is less than zero.", - org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR)); + "Provided offset: " + offset + " is less than zero.", + org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR); } final DomCharacterData domCharacterData = getDomCharacterDataOrDie(); if (offset > domCharacterData.getLength()) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Provided offset: " + offset + " is greater than length.", - org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR)); + "Provided offset: " + offset + " is greater than length.", + org.htmlunit.javascript.host.dom.DOMException.INDEX_SIZE_ERR); } domCharacterData.deleteData(offset, count); diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java index 2f30506d569..8f5b926b5b5 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DOMTokenList.java @@ -157,16 +157,14 @@ public static void add(final Context context, final Scriptable scope, if (StringUtils.isEmpty(token)) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "DOMTokenList: add() does not support empty tokens", - DOMException.SYNTAX_ERR)); + "DOMTokenList: add() does not support empty tokens", + DOMException.SYNTAX_ERR); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "DOMTokenList: add() does not support whitespace chars in tokens", - DOMException.INVALID_CHARACTER_ERR)); + "DOMTokenList: add() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR); } if (!parts.contains(token)) { @@ -205,16 +203,14 @@ public static void remove(final Context context, final Scriptable scope, if (StringUtils.isEmpty(token)) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "DOMTokenList: remove() does not support empty tokens", - DOMException.SYNTAX_ERR)); + "DOMTokenList: remove() does not support empty tokens", + DOMException.SYNTAX_ERR); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { throw JavaScriptEngine.asJavaScriptException( (HtmlUnitScriptable) getTopLevelScope(thisObj), - new DOMException( - "DOMTokenList: remove() does not support whitespace chars in tokens", - DOMException.INVALID_CHARACTER_ERR)); + "DOMTokenList: remove() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR); } parts.remove(token); @@ -235,31 +231,27 @@ public boolean replace(final String oldToken, final String newToken) { if (StringUtils.isEmpty(oldToken)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Empty oldToken not allowed", - DOMException.SYNTAX_ERR)); + "Empty oldToken not allowed", + DOMException.SYNTAX_ERR); } if (StringUtils.containsAny(oldToken, WHITESPACE_CHARS)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "DOMTokenList: replace() oldToken contains whitespace", - DOMException.INVALID_CHARACTER_ERR)); + "DOMTokenList: replace() oldToken contains whitespace", + DOMException.INVALID_CHARACTER_ERR); } if (StringUtils.isEmpty(newToken)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Empty newToken not allowed", - DOMException.SYNTAX_ERR)); + "Empty newToken not allowed", + DOMException.SYNTAX_ERR); } if (StringUtils.containsAny(newToken, WHITESPACE_CHARS)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "DOMTokenList: replace() newToken contains whitespace", - DOMException.INVALID_CHARACTER_ERR)); + "DOMTokenList: replace() newToken contains whitespace", + DOMException.INVALID_CHARACTER_ERR); } final String value = getValue(); @@ -287,16 +279,14 @@ public boolean toggle(final String token) { if (StringUtils.isEmpty(token)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "DOMTokenList: toggle() does not support empty tokens", - DOMException.SYNTAX_ERR)); + "DOMTokenList: toggle() does not support empty tokens", + DOMException.SYNTAX_ERR); } if (StringUtils.containsAny(token, WHITESPACE_CHARS)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "DOMTokenList: toggle() does not support whitespace chars in tokens", - DOMException.INVALID_CHARACTER_ERR)); + "DOMTokenList: toggle() does not support whitespace chars in tokens", + DOMException.INVALID_CHARACTER_ERR); } final List parts = split(getValue()); diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 34e747f85fb..3bd9db59f6f 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -582,9 +582,8 @@ else if (resolver instanceof PrefixResolver) { catch (final Exception e) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Failed to execute 'evaluate': " + e.getMessage(), - org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR)); + "Failed to execute 'evaluate': " + e.getMessage(), + org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR); } } @@ -622,9 +621,8 @@ public HtmlUnitScriptable createElement(final Object tagName) { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "createElement: Provided string '" + tagNameString + "' contains an invalid character", - org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); + "createElement: Provided string '" + tagNameString + "' contains an invalid character", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR); } for (int i = 1; i < tagNameString.length(); i++) { final int c = tagNameString.charAt(i); @@ -639,10 +637,9 @@ public HtmlUnitScriptable createElement(final Object tagName) { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "createElement: Provided string '" + tagNameString - + "' contains an invalid character", - org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR)); + "createElement: Provided string '" + tagNameString + + "' contains an invalid character", + org.htmlunit.javascript.host.dom.DOMException.INVALID_CHARACTER_ERR); } } } @@ -881,11 +878,10 @@ public void setBody(final HTMLElement htmlElement) { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Failed to set the 'body' property on 'Document': " - + "The new body element is of type '" + htmlElement.getTagName() + "'. " - + "It must be either a 'BODY' or 'FRAMESET' element.", - org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR)); + "Failed to set the 'body' property on 'Document': " + + "The new body element is of type '" + htmlElement.getTagName() + "'. " + + "It must be either a 'BODY' or 'FRAMESET' element.", + org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR); } /** @@ -988,10 +984,9 @@ public Node querySelector(final String selectors) { catch (final CSSException e) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "An invalid or illegal selector was specified (selector: '" - + selectors + "' error: " + e.getMessage() + ").", - org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR)); + "An invalid or illegal selector was specified (selector: '" + + selectors + "' error: " + e.getMessage() + ").", + org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR); } } @@ -1010,10 +1005,9 @@ public NodeList querySelectorAll(final String selectors) { catch (final CSSException e) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "An invalid or illegal selector was specified (selector: '" - + selectors + "' error: " + e.getMessage() + ").", - org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR)); + "An invalid or illegal selector was specified (selector: '" + + selectors + "' error: " + e.getMessage() + ").", + org.htmlunit.javascript.host.dom.DOMException.SYNTAX_ERR); } } @@ -1185,9 +1179,8 @@ && getBrowserVersion().hasFeature(EVENT_ONANIMATION_DOCUMENT_CREATE_NOT_SUPPORTE if (clazz == null) { throw JavaScriptEngine.asJavaScriptException( this, - new org.htmlunit.javascript.host.dom.DOMException( - "Event Type '" + eventType + "' is not supported.", - org.htmlunit.javascript.host.dom.DOMException.NOT_SUPPORTED_ERR)); + "Event Type '" + eventType + "' is not supported.", + org.htmlunit.javascript.host.dom.DOMException.NOT_SUPPORTED_ERR); } try { diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Node.java b/src/main/java/org/htmlunit/javascript/host/dom/Node.java index 661e9135961..db0167594b9 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Node.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Node.java @@ -199,8 +199,8 @@ public Node appendChild(final Object childObject) { if (!isNodeInsertable(childNode)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException("Node cannot be inserted at the specified point in the hierarchy", - DOMException.HIERARCHY_REQUEST_ERR)); + "Node cannot be inserted at the specified point in the hierarchy", + DOMException.HIERARCHY_REQUEST_ERR); } // Get XML node for the DOM node passed in @@ -214,9 +214,7 @@ public Node appendChild(final Object childObject) { parentNode.appendChild(childDomNode); } catch (final org.w3c.dom.DOMException e) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new DOMException(e.getMessage(), e.code)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), e.getMessage(), e.code); } initInlineFrameIfNeeded(childDomNode); @@ -286,8 +284,8 @@ protected Node insertBeforeImpl(final Object[] args) { if (!isNodeInsertable(newChild)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException("Node cannot be inserted at the specified point in the hierarchy", - DOMException.HIERARCHY_REQUEST_ERR)); + "Node cannot be inserted at the specified point in the hierarchy", + DOMException.HIERARCHY_REQUEST_ERR); } final DomNode newChildNode = newChild.getDomNodeOrDie(); @@ -297,8 +295,8 @@ protected Node insertBeforeImpl(final Object[] args) { if (!isNodeInsertable(child.getScriptableObject())) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException("Node cannot be inserted at the specified point in the hierarchy", - DOMException.HIERARCHY_REQUEST_ERR)); + "Node cannot be inserted at the specified point in the hierarchy", + DOMException.HIERARCHY_REQUEST_ERR); } } } @@ -327,10 +325,7 @@ else if (refChildObject == null) { domNode.insertBefore(newChildNode, refChildNode); } catch (final org.w3c.dom.DOMException e) { - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new org.htmlunit.javascript.host.dom.DOMException(e.getMessage(), - org.htmlunit.javascript.host.dom.DOMException.NOT_FOUND_ERR)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), e.getMessage(), DOMException.NOT_FOUND_ERR); } return newChild; } @@ -376,10 +371,9 @@ public Node removeChild(final Object childObject) { if (!getDomNodeOrDie().isAncestorOf(childDomNode)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Failed to execute 'removeChild' on '" - + this + "': The node to be removed is not a child of this node.", - org.htmlunit.javascript.host.dom.DOMException.NOT_FOUND_ERR)); + "Failed to execute 'removeChild' on '" + + this + "': The node to be removed is not a child of this node.", + DOMException.NOT_FOUND_ERR); } // Remove the child from the parent node childDomNode.remove(); @@ -423,9 +417,8 @@ public Node replaceChild(final Object newChildObject, final Object oldChildObjec if (!isNodeInsertable(newChild)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Node cannot be inserted at the specified point in the hierarchy", - org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR)); + "Node cannot be inserted at the specified point in the hierarchy", + DOMException.HIERARCHY_REQUEST_ERR); } // Get XML nodes for the DOM nodes passed in diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java index 82b317f44bf..0999f3eac5a 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Selection.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Selection.java @@ -205,10 +205,7 @@ public Range getRangeAt(final int index) { final List ranges = getRanges(); if (index < 0 || index >= ranges.size()) { throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new DOMException( - "Invalid range index: " + index, - DOMException.INDEX_SIZE_ERR)); + getWindow(), "Invalid range index: " + index, DOMException.INDEX_SIZE_ERR); } final SimpleRange range = ranges.get(index); final Range jsRange = new Range(range); diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java index 329c73a4561..de14871564a 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLDocument.java @@ -503,9 +503,8 @@ private void implicitCloseIfNecessary() { public Node appendChild(final Object childObject) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new org.htmlunit.javascript.host.dom.DOMException( - "Node cannot be inserted at the specified point in the hierarchy.", - org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR)); + "Node cannot be inserted at the specified point in the hierarchy.", + org.htmlunit.javascript.host.dom.DOMException.HIERARCHY_REQUEST_ERR); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java index 5590f98e3ad..6ba144291b9 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLInputElement.java @@ -108,9 +108,8 @@ public void setValue(final Object newValue) { if (StringUtils.isNotEmpty(val)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to set the 'value' property on 'HTMLInputElement'.", - DOMException.INVALID_STATE_ERR)); + "Failed to set the 'value' property on 'HTMLInputElement'.", + DOMException.INVALID_STATE_ERR); } return; } @@ -243,11 +242,10 @@ public void setSelectionStart(final int start) { if ("number".equalsIgnoreCase(getType())) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to set the 'selectionStart' property" - + "from 'HTMLInputElement': " - + "The input element's type ('number') does not support selection.", - DOMException.INVALID_STATE_ERR)); + "Failed to set the 'selectionStart' property" + + "from 'HTMLInputElement': " + + "The input element's type ('number') does not support selection.", + DOMException.INVALID_STATE_ERR); } ((SelectableTextInput) dom).setSelectionStart(start); @@ -256,10 +254,9 @@ public void setSelectionStart(final int start) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to set the 'selectionStart' property from 'HTMLInputElement': " - + "The input element's type (" + getType() + ") does not support selection.", - DOMException.INVALID_STATE_ERR)); + "Failed to set the 'selectionStart' property from 'HTMLInputElement': " + + "The input element's type (" + getType() + ") does not support selection.", + DOMException.INVALID_STATE_ERR); } /** @@ -291,11 +288,10 @@ public void setSelectionEnd(final int end) { if ("number".equalsIgnoreCase(getType())) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to set the 'selectionEnd' property" - + "from 'HTMLInputElement': " - + "The input element's type ('number') does not support selection.", - DOMException.INVALID_STATE_ERR)); + "Failed to set the 'selectionEnd' property" + + "from 'HTMLInputElement': " + + "The input element's type ('number') does not support selection.", + DOMException.INVALID_STATE_ERR); } ((SelectableTextInput) dom).setSelectionEnd(end); @@ -304,10 +300,9 @@ public void setSelectionEnd(final int end) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to set the 'selectionEnd' property from 'HTMLInputElement': " - + "The input element's type (" + getType() + ") does not support selection.", - DOMException.INVALID_STATE_ERR)); + "Failed to set the 'selectionEnd' property from 'HTMLInputElement': " + + "The input element's type (" + getType() + ") does not support selection.", + DOMException.INVALID_STATE_ERR); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java index deee7d0c11b..80ce6feba9b 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java @@ -259,9 +259,8 @@ else if (beforeOptionObject instanceof HTMLOptionElement) { if (beforeOption.getParentNode() != htmlSelect_) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Unknown option.", - DOMException.NOT_FOUND_ERR)); + "Unknown option.", + DOMException.NOT_FOUND_ERR); } } diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java index 6d90d0c9b88..26f84821b6d 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTableRowElement.java @@ -156,9 +156,8 @@ public HtmlUnitScriptable insertCell(final Object index) { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Index or size is negative or greater than the allowed amount", - DOMException.INDEX_SIZE_ERR)); + "Index or size is negative or greater than the allowed amount", + DOMException.INDEX_SIZE_ERR); } /** @@ -185,9 +184,8 @@ public void deleteCell(final Object index) { if (!indexValid) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Index or size is negative or greater than the allowed amount", - DOMException.INDEX_SIZE_ERR)); + "Index or size is negative or greater than the allowed amount", + DOMException.INDEX_SIZE_ERR); } htmlRow.getCell(position).remove(); diff --git a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java index c90e1bbc90e..3a39bc863e4 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java +++ b/src/main/java/org/htmlunit/javascript/host/html/RowContainer.java @@ -110,10 +110,9 @@ public HtmlUnitScriptable insertRow(final Object index) { if (r < 0 || r > rowCount) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Index or size is negative or greater than the allowed amount " - + "(index: " + rowIndex + ", " + rowCount + " rows)", - DOMException.INDEX_SIZE_ERR)); + "Index or size is negative or greater than the allowed amount " + + "(index: " + rowIndex + ", " + rowCount + " rows)", + DOMException.INDEX_SIZE_ERR); } return insertRow(r); diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java index 04fc86599ff..597234dfeeb 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGMatrix.java @@ -225,9 +225,8 @@ public SVGMatrix inverse() { if (Math.abs(determinant) < 1E-10) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to execute 'inverse' on 'SVGMatrix': The matrix is not invertible.", - DOMException.INVALID_STATE_ERR)); + "Failed to execute 'inverse' on 'SVGMatrix': The matrix is not invertible.", + DOMException.INVALID_STATE_ERR); } final SVGMatrix result = new SVGMatrix(getWindow()); @@ -294,9 +293,8 @@ public SVGMatrix rotateFromVector(final double x, final double y) { if (x == 0 || y == 0) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Failed to execute 'rotateFromVector' on 'SVGMatrix': Arguments cannot be zero.", - DOMException.INVALID_ACCESS_ERR)); + "Failed to execute 'rotateFromVector' on 'SVGMatrix': Arguments cannot be zero.", + DOMException.INVALID_ACCESS_ERR); } final double theta = Math.atan2(y, x); diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java index c17316e3f96..1ce0e4b9565 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java @@ -281,9 +281,8 @@ public void setResponseType(final String responseType) { if (state_ == OPENED && !async_) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "synchronous XMLHttpRequests do not support responseType", - DOMException.INVALID_ACCESS_ERR)); + "synchronous XMLHttpRequests do not support responseType", + DOMException.INVALID_ACCESS_ERR); } responseType_ = responseType; @@ -456,11 +455,10 @@ public String getResponseText() { if (!RESPONSE_TYPE_DEFAULT.equals(responseType_) && !RESPONSE_TYPE_TEXT.equals(responseType_)) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "InvalidStateError: Failed to read the 'responseText' property from 'XMLHttpRequest': " - + "The value is only accessible if the object's 'responseType' is '' or 'text' " - + "(was '" + getResponseType() + "').", - DOMException.INVALID_STATE_ERR)); + "InvalidStateError: Failed to read the 'responseText' property from 'XMLHttpRequest': " + + "The value is only accessible if the object's 'responseType' is '' or 'text' " + + "(was '" + getResponseType() + "').", + DOMException.INVALID_STATE_ERR); } if (state_ == UNSENT || state_ == OPENED) { @@ -910,9 +908,8 @@ void doSend() { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Not allowed to load local resource: " + webRequest_.getUrl(), - DOMException.NETWORK_ERR)); + "Not allowed to load local resource: " + webRequest_.getUrl(), + DOMException.NETWORK_ERR); } final BrowserVersion browserVersion = getBrowserVersion(); @@ -966,9 +963,8 @@ void doSend() { } throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "No permitted \"Access-Control-Allow-Origin\" header.", - DOMException.NETWORK_ERR)); + "No permitted \"Access-Control-Allow-Origin\" header.", + DOMException.NETWORK_ERR); } } @@ -1089,9 +1085,8 @@ public Charset getContentCharset() { fireJavascriptEvent(Event.TYPE_LOAD_END); } - throw JavaScriptEngine.asJavaScriptException( - getWindow(), - new DOMException(e.getMessage(), DOMException.NETWORK_ERR)); + throw JavaScriptEngine.asJavaScriptException(getWindow(), + e.getMessage(), DOMException.NETWORK_ERR); } } } @@ -1220,9 +1215,8 @@ public void overrideMimeType(final String mimeType) { if (state_ != UNSENT && state_ != OPENED) { throw JavaScriptEngine.asJavaScriptException( getWindow(), - new DOMException( - "Property 'overrideMimeType' not writable after sent.", - DOMException.INVALID_STATE_ERR)); + "Property 'overrideMimeType' not writable after sent.", + DOMException.INVALID_STATE_ERR); } overriddenMimeType_ = mimeType; } diff --git a/src/test/java/org/htmlunit/javascript/ErrorTest.java b/src/test/java/org/htmlunit/javascript/ErrorTest.java index 9f418dae062..42347a3cb95 100644 --- a/src/test/java/org/htmlunit/javascript/ErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/ErrorTest.java @@ -172,7 +172,7 @@ public void rangeError() throws Exception { FF_ESR = {"ReferenceError", "Whoops!", "undefined", "11", "undefined", "25", "true", "true", "ReferenceError"}) @HtmlUnitNYI(CHROME = {"ReferenceError", "Whoops!", "undefined", "undefined", "undefined", - "25", "true", "true", "ReferenceError"}, + "25", "true", "true", "ReferenceError"}, EDGE = {"ReferenceError", "Whoops!", "undefined", "undefined", "undefined", "25", "true", "true", "ReferenceError"}, FF = {"ReferenceError", "Whoops!", "undefined", "undefined", "undefined", From 69cd246724518781ac99179298c79acf3b1be870 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 4 Feb 2025 14:38:34 +0100 Subject: [PATCH 155/516] fix tests --- src/test/java/org/htmlunit/html/XHtmlPage2Test.java | 8 ++++++-- .../javascript/host/html/HTMLScriptElementTest.java | 6 ++++-- .../javascript/host/html/HTMLStyleElementTest.java | 8 ++++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java index f2ac03245a8..8a8231a0405 100644 --- a/src/test/java/org/htmlunit/html/XHtmlPage2Test.java +++ b/src/test/java/org/htmlunit/html/XHtmlPage2Test.java @@ -115,7 +115,9 @@ public void cdata() throws Exception { + "\n" + "" + " \n" + " \n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java index ea24a902f55..c449ed76a2d 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java @@ -430,7 +430,7 @@ public void setText() throws Exception { + " log(anchor.text + ' ' + anchor.children.length);\n" + " anchor.text = 'Hello';\n" + " log(anchor.text + ' ' + anchor.children.length);\n" - + " } catch (e) { log('exception' + e) }\n" + + " } catch(e) { log('exception' + e) }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java index 46b9bdd34ee..9c9933b709e 100644 --- a/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFieldSetTest.java @@ -88,7 +88,7 @@ public void align() throws Exception { + " function set(fs, value) {\n" + " try {\n" + " fs.align = value;\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " var fs1 = document.getElementById('fs1');\n" + " var fs2 = document.getElementById('fs2');\n" diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index 71b1415861d..9e1af7845d1 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -131,9 +131,9 @@ public void asFunction() throws Exception { + LOG_TITLE_FUNCTION + "function test() {\n" + " var f1 = document.forms[0];\n" - + " try { log(f1('textfieldid').id) } catch (e) { logEx(e) }\n" - + " try { log(f1('textfieldname').name) } catch (e) { logEx(e) }\n" - + " try { log(f1(0).id) } catch (e) { logEx(e) }\n" + + " try { log(f1('textfieldid').id) } catch(e) { logEx(e) }\n" + + " try { log(f1('textfieldname').name) } catch(e) { logEx(e) }\n" + + " try { log(f1(0).id) } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "

        hello world

        \n" @@ -159,10 +159,10 @@ public void asFunctionFormsFunction() throws Exception { + "function test() {\n" + " try {\n" + " var f1 = document.forms(0);\n" - + " try { log(f1('textfieldid').id) } catch (e) { logEx(e) }\n" - + " try { log(f1('textfieldname').name) } catch (e) { logEx(e) }\n" - + " try { log(f1(0).id) } catch (e) { logEx(e) }\n" - + " } catch (e) { logEx(e) }\n" + + " try { log(f1('textfieldid').id) } catch(e) { logEx(e) }\n" + + " try { log(f1('textfieldname').name) } catch(e) { logEx(e) }\n" + + " try { log(f1(0).id) } catch(e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "

        hello world

        \n" diff --git a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java index c9abe571c41..12a59f1be0d 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java @@ -105,7 +105,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index 987701e5ac3..e201bf7bd94 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -55,7 +55,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " elem.onchange = handler;\n" + " elem.onchange();\n" @@ -65,7 +65,7 @@ public void onchangeDirectCall() throws Exception { + " log(elem.onchange);\n" + " elem.onchange();\n" + " log('onchange called');\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlOutputTest.java b/src/test/java/org/htmlunit/html/HtmlOutputTest.java index ed3ffdd520b..a1127edba0d 100644 --- a/src/test/java/org/htmlunit/html/HtmlOutputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOutputTest.java @@ -77,7 +77,7 @@ public void align() throws Exception { + " function set(fs, value) {\n" + " try {\n" + " fs.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/html/HtmlPage3Test.java b/src/test/java/org/htmlunit/html/HtmlPage3Test.java index 6e4d2f45d46..f931b1342f3 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage3Test.java @@ -535,7 +535,7 @@ public void loadExternalJavaScript() throws Exception { + " iframesrc += ' try {';\n" + " iframesrc += ' var y = squared(5);';\n" + " iframesrc += ' alert(y);';\n" - + " iframesrc += ' } catch (e) {';\n" + + " iframesrc += ' } catch(e) {';\n" + " iframesrc += ' alert(\"error\");';\n" + " iframesrc += ' }';\n" + " iframesrc += '}';\n" @@ -585,7 +585,7 @@ public void loadExternalJavaScript_absolute() throws Exception { + " iframesrc += ' try {';\n" + " iframesrc += ' var y = squared(5);';\n" + " iframesrc += ' alert(y);';\n" - + " iframesrc += ' } catch (e) {';\n" + + " iframesrc += ' } catch(e) {';\n" + " iframesrc += ' log(\"error\");';\n" + " iframesrc += ' }';\n" + " iframesrc += '}';\n" diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index 91c69fb94e7..c15ff39d120 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -462,7 +462,7 @@ public void setTextMultipleTextNodes() throws Exception { + " script.appendChild(document.createTextNode('log(\"2\");'));\n" + " script.text = 'log(\"3\");';\n" + " document.body.appendChild(script);\n" - + " } catch (e) {logEx(e);}\n" + + " } catch(e) {logEx(e);}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java index 8cce51fab6e..c1cfa2ff8a5 100644 --- a/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java +++ b/src/test/java/org/htmlunit/html/parser/HTMLParser4Test.java @@ -367,7 +367,7 @@ public void namespace2() throws Exception { + " try {\n" + " div = document.createElementNS('http://www.appcelerator.org', 'app:script');\n" + " debug(div);\n" - + " } catch (e) {log('createElementNS() is not defined')}\n" + + " } catch(e) {log('createElementNS() is not defined')}\n" + " debug(document.getElementById('script1'));\n" + " debug(document.getElementById('script2'));\n" + " }\n" diff --git a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java index c4cd463ebad..0f1b5906431 100644 --- a/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java +++ b/src/test/java/org/htmlunit/html/parser/MalformedHtmlTest.java @@ -406,7 +406,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(document.body.childNodes[2]);\n" + " dump(document.body.childNodes[3]);\n" + " log(document.getElementsByTagName('a').length);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " log(innerDiv.id);\n" @@ -415,7 +415,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(innerDiv.childNodes[0]);\n" + " dump(innerDiv.childNodes[1]);\n" + " dump(innerDiv.childNodes[2]);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " log(anchors[0].id);\n" @@ -424,7 +424,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[0].childNodes[0]);\n" + " log(anchors[0] == outerA);\n" + " log(anchors[0] == innerA);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " log(anchors[1].id);\n" @@ -433,7 +433,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[1].childNodes[0]);\n" + " log(anchors[1] == outerA);\n" + " log(anchors[1] == innerA);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " log(anchors[2].id);\n" @@ -442,7 +442,7 @@ public void nestedAnchorInDivision() throws Exception { + " dump(anchors[2].childNodes[0]);\n" + " log(anchors[2] == outerA);\n" + " log(anchors[2] == innerA);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " function dump(e) {\n" + " log(e.nodeName + ':' + e.nodeValue);\n" diff --git a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java index 2db7f2a7582..f97e0731c57 100644 --- a/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java +++ b/src/test/java/org/htmlunit/html/xpath/HtmlUnitXPath2Test.java @@ -55,7 +55,7 @@ public void xPathNull() throws Exception { + " node = result.iterateNext();\n" + " log(result.resultType);\n" + " log(node);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -82,7 +82,7 @@ public void xPathUndefined() throws Exception { + " node = result.iterateNext();\n" + " log(result.resultType);\n" + " log(node);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -109,7 +109,7 @@ public void optionText() throws Exception { + " for (var i = 0; i < value.length; i++) {\n" + " log(value.charCodeAt(i));\n" + " }\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -138,7 +138,7 @@ public void pipe() throws Exception { + " res += node;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -168,7 +168,7 @@ public void math() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -463,7 +463,7 @@ private void compare(final String xpath) throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -487,7 +487,7 @@ private void compareStringValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(\"'\" + result.stringValue + \"'\");\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -511,7 +511,7 @@ private void compareBooleanValue(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log(result.booleanValue);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -534,7 +534,7 @@ private void compareError(final String xpath) throws Exception { + " var expr = '" + xpath + "';\n" + " var result = document.evaluate(expr, document.documentElement, null, XPathResult.ANY_TYPE, null);\n" + " log('error expected');\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -561,7 +561,7 @@ public void minimalParameters() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -591,7 +591,7 @@ public void undefinedResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -621,7 +621,7 @@ public void stringResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -651,7 +651,7 @@ public void objectResult() throws Exception { + " res += node.id;\n" + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -696,7 +696,7 @@ public void reuseResult() throws Exception { + " }\n" + " log(res);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" @@ -722,7 +722,7 @@ public void documentEvaluateFirst() throws Exception { + " var res = '';\n" + " var result = document.evaluate('//div', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE);\n" + " log(result.singleNodeValue.id);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/ErrorTest.java b/src/test/java/org/htmlunit/javascript/ErrorTest.java index 42347a3cb95..a1becad658c 100644 --- a/src/test/java/org/htmlunit/javascript/ErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/ErrorTest.java @@ -55,7 +55,7 @@ public void error() throws Exception { + "\n" + ""; @@ -72,7 +72,7 @@ public void oneRestArgNothingProvided() throws Exception { + "try {\n" + " var r = rest();\n" + " log('' + Array.isArray(r) + '-' + r.length);\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -98,7 +98,7 @@ public void oneRestArgOneProvided() throws Exception { + "try {\n" + " var r = rest('xy');\n" + " log('' + Array.isArray(r) + '-' + r.length);\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -123,7 +123,7 @@ public void twoRestArg() throws Exception { + "}\n" + "try {\n" + " log(rest(1, 'abc', 2, '##').toString());\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -148,7 +148,7 @@ public void twoRestArgNothingProvided() throws Exception { + "}\n" + "try {\n" + " log(rest());\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -173,7 +173,7 @@ public void twoRestArgOneProvided() throws Exception { + "}\n" + "try {\n" + " log(rest('77'));\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -198,7 +198,7 @@ public void arguments() throws Exception { + "}\n" + "try {\n" + " log('' + rest('77') + '-' + rest(1, 2, 3, 4));\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -222,7 +222,7 @@ public void length() throws Exception { + "function foo2(arg, ...theArgs) {}\n" + "try {\n" + " log(foo1.length + '-' + foo2.length);\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -247,7 +247,7 @@ public void argLength() throws Exception { + "}\n" + "try {\n" + " log(rest(1,2) + '-' + rest(1) + '-' + rest());\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; @@ -272,7 +272,7 @@ public void string() throws Exception { + "}\n" + "try {\n" + " log(rest.toString());\n" - + "} catch (e) { log(e.message) }" + + "} catch(e) { log(e.message) }" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java index 59d7117d5d1..d93eddec414 100644 --- a/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java +++ b/src/test/java/org/htmlunit/javascript/HtmlUnitScriptable2Test.java @@ -55,7 +55,7 @@ public void setNonWritablePropertyContentType() throws Exception { + " log(document.contentType);\n" + " document.contentType = '123456';\n" + " log(document.contentType);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -79,7 +79,7 @@ public void setNonWritablePropertyCompatMode() throws Exception { + " log(document.compatMode);\n" + " document.compatMode = '123456';\n" + " log(document.compatMode);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 05ec7df4fa1..0f838050ea0 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -132,7 +132,7 @@ public void functionDeclaredForwardInBlock() throws Exception { + " try {\n" + " hoo();\n" + " foo();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('foo error');\n" + " }\n" + " function foo() { log('in foo'); }\n" @@ -161,14 +161,14 @@ public void variableNotDefined() throws Exception { + " try {\n" + " log(window.foo);\n" + " log(foo);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('foo error');\n" + " }\n" + " function foo() {}\n" + " try {\n" + " log(window.foo);\n" + " log(foo);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('foo error');\n" + " }\n" + "}\n" @@ -191,14 +191,14 @@ public void variableNotDefinedExpression() throws Exception { + " try {\n" + " log(window.foo);\n" + " log(foo);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('foo error');\n" + " }\n" + " var fo = function foo() {}\n" + " try {\n" + " log(window.foo);\n" + " log(foo);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('foo error');\n" + " }\n" + "}\n" @@ -219,19 +219,19 @@ public void constructor() throws Exception { final String html = "\n" + "\n" @@ -430,7 +430,7 @@ public void recursion() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " recurse(c++);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -933,14 +933,14 @@ public void functioNamesExceptionsStrict() throws Exception { + " void function f8() { log('f8'); }\n" - + " try { f1() } catch (e) { log('!f1'); }" - + " try { f2() } catch (e) { log('!f2'); }" - + " try { f3() } catch (e) { log('!f3'); }" - + " try { f4() } catch (e) { log('!f4'); }" - + " try { f5() } catch (e) { log('!f5'); }" - + " try { f6() } catch (e) { log('!f6'); }" - + " try { f7() } catch (e) { log('!f7'); }" - + " try { f8() } catch (e) { log('!f8'); }" + + " try { f1() } catch(e) { log('!f1'); }" + + " try { f2() } catch(e) { log('!f2'); }" + + " try { f3() } catch(e) { log('!f3'); }" + + " try { f4() } catch(e) { log('!f4'); }" + + " try { f5() } catch(e) { log('!f5'); }" + + " try { f6() } catch(e) { log('!f6'); }" + + " try { f7() } catch(e) { log('!f7'); }" + + " try { f8() } catch(e) { log('!f8'); }" + " {\n" + " function f10() { log('f10'); }\n" @@ -951,12 +951,12 @@ public void functioNamesExceptionsStrict() throws Exception { + " f12();\n" + " }\n" - + " try { f10() } catch (e) { log('!f10'); }" - + " try { f11() } catch (e) { log('!f11'); }" - + " try { f12() } catch (e) { log('!f12'); }" + + " try { f10() } catch(e) { log('!f10'); }" + + " try { f11() } catch(e) { log('!f11'); }" + + " try { f12() } catch(e) { log('!f12'); }" + " function f13() { log('f13') } + 1;" - + " try { f13() } catch (e) { log('!f13'); }" + + " try { f13() } catch(e) { log('!f13'); }" + "\n" + "\n" @@ -1036,7 +1036,7 @@ public void javaNotAccessable() throws Exception { + "function test() {\n" + " try {\n" + " log(java.lang.Math.PI);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1066,7 +1066,7 @@ public void javaNotAccessableFromWorker() throws Exception { final String workerJs = "var pi = 'from worker';\n" + "try {\n" + " pi = pi + ' - ' + java.lang.Math.PI\n" - + "} catch (e) { pi = pi + ' - ' + 'exception'; }\n" + + "} catch(e) { pi = pi + ' - ' + 'exception'; }\n" + "postMessage(pi);\n"; getMockWebConnection().setResponse(new URL(URL_FIRST, "worker.js"), workerJs, MimeType.TEXT_JAVASCRIPT); diff --git a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java index 2814cc2ce23..6d6d2f47290 100644 --- a/src/test/java/org/htmlunit/javascript/NativeErrorTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeErrorTest.java @@ -45,7 +45,7 @@ public void stack() throws Exception { + "function test() {\n" + " try {\n" + " null.method();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " if (e.stack) {\n" + " var s = e.stack;\n" + " log(typeof s);\n" @@ -73,7 +73,7 @@ public void stackNewError() throws Exception { + "function test() {\n" + " try {\n" + " throw new Error();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " if (e.stack) {\n" + " var s = e.stack;\n" + " log(typeof s);\n" @@ -151,7 +151,7 @@ public void stackContent() throws Exception { + "function test() {\n" + " try {\n" + " null.method();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " if (e.stack) {\n" + " var s = e.stack;\n" + " if (s.indexOf('test()@') != -1) {\n" @@ -192,7 +192,7 @@ public void stackContentNewError() throws Exception { + "function test() {\n" + " try {\n" + " throw new Error();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " if (e.stack) {\n" + " var s = e.stack;\n" + " if (s.indexOf('test()@') != -1) {\n" @@ -227,7 +227,7 @@ public void stackOverwrite() throws Exception { + "function test() {\n" + " try {\n" + " null.method();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " if (e.stack) {\n" + " var s = e.stack;\n" + " log(s.length > 10);\n" @@ -301,7 +301,7 @@ public void stackLineSeparator() throws Exception { + "function test() {\n" + " try {\n" + " throw new Error();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log(e.stack.replace('\\r', '\\\\r').replace('\\n', '\\\\n'));\n" + " }" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java index 4b3266bf766..ba06c986d74 100644 --- a/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeFunctionTest.java @@ -484,7 +484,7 @@ public void callWithNullContext() throws Exception { + " try {\n" + " var a = foo.call(null);\n" + " log('a=' + a);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " }\n" + "\n" + "\n" @@ -510,7 +510,7 @@ public void callWithUndefinedContext() throws Exception { + " try {\n" + " var a = foo.call(undefined);\n" + " log('a=' + a);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeStringTest.java b/src/test/java/org/htmlunit/javascript/NativeStringTest.java index 94db5c3470a..7cefd516e01 100644 --- a/src/test/java/org/htmlunit/javascript/NativeStringTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeStringTest.java @@ -340,7 +340,7 @@ public void includesRegExpMatch() throws Exception { + " var res = '';\n" + " try {\n" + " log('/./'.includes(regExp));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('Error');\n" + " }\n" + " regExp[Symbol.match] = false;\n" @@ -370,7 +370,7 @@ public void startsWithRegExpMatch() throws Exception { + " var res = '';\n" + " try {\n" + " log('/./'.startsWith(regExp));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('Error');\n" + " }\n" + " regExp[Symbol.match] = false;\n" @@ -400,7 +400,7 @@ public void endsWithRegExpMatch() throws Exception { + " var res = '';\n" + " try {\n" + " log('/./'.endsWith(regExp));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('Error');\n" + " }\n" + " regExp[Symbol.match] = false;\n" diff --git a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java index aba0491d630..4c19bb82540 100644 --- a/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/ScriptableObjectTest.java @@ -109,7 +109,7 @@ public void ctorNotChangeableForPrimitives() throws Exception { + " let val = null;\n" + " try {\n" + " val.constructor = 1;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " val = 'abc';\n" + " val.constructor = Number;" @@ -145,7 +145,7 @@ public void ctorNotChangeableForPrimitivesStrict() throws Exception { + " let val = null;\n" + " try {\n" + " val.constructor = 1;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " val = 'abc';\n" + " val.constructor = Number;" @@ -185,7 +185,7 @@ public void ctorChangeableHasNoEffectForTypeOf() throws Exception { + " log('ctor');\n" + " a.constructor = 'bar';\n" + " log(a.constructor === 'bar');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "\n" + "\n" @@ -216,7 +216,7 @@ public void ctorChangeableHasNoEffectForTypeOfStrict() throws Exception { + " log('ctor');\n" + " a.constructor = 'bar';\n" + " log(a.constructor === 'bar');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "\n" + "\n" @@ -266,7 +266,7 @@ public void ctorChangeableHasNoEffectForSealedStrict() throws Exception { + " try {\n" + " a.constructor = Number;\n" + " log(a.constructor === Object);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java index f2bea1059d6..44890736c4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/BoxObjectTest.java @@ -55,7 +55,7 @@ public void elementAttributes() throws Exception { + " log(box.lastChild == spanB);\n" + " log(box.previousSibling == spanFoo);\n" + " log(box.nextSibling == spanBar);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + " \n" + " \n" @@ -85,7 +85,7 @@ public void positionAndSizeAttributes() throws Exception { + " log(box.x + '-' + box.y);\n" + " log(box.screenX + '-' + box.screenY);\n" + " log(box.width + '-' + box.height);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java index 2ac08d81f40..2e35bfa8999 100644 --- a/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ClientRectTest.java @@ -47,7 +47,7 @@ public void properties() throws Exception { + " log(pos.right);\n" + " log(pos.width);\n" + " log(pos.height);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " }\n" + "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index 9247e8380a2..266ce968ca0 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -91,7 +91,7 @@ public void selectNodes() throws Exception { + " var nodes = doc.documentElement.selectNodes('//title');\n" + " log(nodes.length);\n" + " log(nodes[0].tagName);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -199,7 +199,7 @@ public void selectNode_root() throws Exception { + " try {\n" + " log(child.selectNodes('/title').length);\n" + " log(child.selectNodes('title').length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_FILE_FUNCTION + "\n" @@ -233,7 +233,7 @@ public void getElementsByTagNameNS() throws Exception { + " try {\n" + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', 'template').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, 'html').length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -265,7 +265,7 @@ public void getElementsByTagNameNSAsterisk() throws Exception { + " log(doc.documentElement.getElementsByTagNameNS('http://myNS', '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS(null, '*').length);\n" + " log(doc.documentElement.getElementsByTagNameNS('*', '*').length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -739,7 +739,7 @@ public void enumeratedProperties() throws Exception { + " for (var i in Element)\n" + " str += i + ', ';\n" + " log(str);\n" - + " } catch (e) { log('exception occured')}\n" + + " } catch(e) { log('exception occured')}\n" + " }\n" + "\n" + "\n" @@ -794,7 +794,7 @@ public void getBoundingClientRect() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(typeof Element.prototype.getBoundingClientRect);\n" - + "} catch (e) { logEx(e);}\n" + + "} catch(e) { logEx(e);}\n" + ""; loadPageVerifyTitle2(html); } @@ -957,17 +957,17 @@ public void children() throws Exception { + " try {\n" + " var children = doc.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " children = document.documentElement.children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " children = document.getElementById('myId').children;\n" + " log(children + ' ' + children.length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + XMLDocumentTest.LOAD_XML_DOCUMENT_FROM_STRING_FUNCTION + "\n" @@ -1178,12 +1178,12 @@ public void prototypConstructor() throws Exception { + " process(Element);\n" + " process(Element.prototype);\n" + " process(Element.prototype.constructor);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + " function process(obj) {\n" + " try {\n" + " log(obj);\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + "\n" @@ -1366,7 +1366,7 @@ public void matchesInvalidSelector() throws Exception { + " log(birds[i].textContent);\n" + " }\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log('done');\n" + " }\n" + "\n" @@ -1398,7 +1398,7 @@ public void matchesWindow() throws Exception { + " || docElem.msMatchesSelector;\n" + " try {\n" + " matches.call(window, ':visible')\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log('done');\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/StorageTest.java b/src/test/java/org/htmlunit/javascript/host/StorageTest.java index 97d8b54a217..a43cb93a689 100644 --- a/src/test/java/org/htmlunit/javascript/host/StorageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/StorageTest.java @@ -293,7 +293,7 @@ public void prototypeIsExtensible() throws Exception { + " log('localStorage.extraMethod not callable');\n" + " }\n" + " log(localStorage.getItem('extraMethod'));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } @@ -314,7 +314,7 @@ public void prototypePropertiesAreVisible() throws Exception { + " localStorage.setItem('hasOwnProperty', 'value');\n" + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + " log(localStorage.length);\n" + ""; loadPageVerifyTitle2(html); @@ -341,7 +341,7 @@ public void writeToPrototypeProperty() throws Exception { + " log(typeof localStorage.hasOwnProperty);\n" + " log(localStorage.getItem('hasOwnProperty'));\n" + " log(localStorage.length);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); } diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 90f065ec5a4..39afd55f06f 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -494,7 +494,7 @@ public void scrollByLines() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByLines(2);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -515,7 +515,7 @@ public void scrollByPages() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.scrollByPages(2);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -1023,13 +1023,13 @@ public void execScript() throws Exception { + " window.execScript('log(\"JScript\")', 'JScript');\n" + " try {\n" + " window.execScript('log(\"VBScript\")', 'VBScript');\n" - + " } catch (e) { log('exception1'); }\n" + + " } catch(e) { log('exception1'); }\n" + " try {\n" + " window.execScript('log(\"BadLanguage\")', 'BadLanguage');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('exception2: ' + e.message.substr(0, 20)); // msg now contains info on error location\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -1141,7 +1141,7 @@ public void attachOnLoadEvent() throws Exception { + " window.attachEvent('onload', test2);\n" + " window.attachEvent('onload', test3);\n" + " window.detachEvent('onload', test3);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -1165,7 +1165,7 @@ public void detachEventInAttachEvent() throws Exception { + "}\n" + "try {\n" + " window.attachEvent('onload', test);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -1621,7 +1621,7 @@ public void stop() throws Exception { + " try {\n" + " window.stop();\n" + " log(true);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + "}\n" @@ -1728,7 +1728,7 @@ public void getComputedStyle() throws Exception { + " try {\n" + " getComputedStyle(void 0);\n" + " log('no exception');\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java index ac5d80933dc..9d1b79d8fc1 100644 --- a/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java +++ b/src/test/java/org/htmlunit/javascript/host/WindowPostMessageTest.java @@ -132,7 +132,7 @@ public void postMessageMissingParameters() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " window.postMessage();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + "\n" @@ -413,7 +413,7 @@ private void postMessageInvalidTargetOrigin(final String targetOrigin) throws Ex + LOG_TITLE_FUNCTION + " try {\n" + " window.postMessage('hello', '" + targetOrigin + "');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java index c0f53873a73..649f7f4176a 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/CanvasRenderingContext2DTest.java @@ -215,7 +215,7 @@ public void drawImage_noImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -247,7 +247,7 @@ public void drawImage_invalidImage() throws Exception { + " log('rendering...');\n" + " context.drawImage(img, 0, 0, 10, 10);\n" + " log('...done');\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java index eaea79a6681..59d57acb0ce 100644 --- a/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/canvas/ImageDataTest.java @@ -133,34 +133,34 @@ public void ctorArrayInvalid() throws Exception { + " try {\n" + " var imageData = new ImageData();\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(-2, 1);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(2, -1);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " try {\n" + " var imageData = new ImageData(-2, -1);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " var arr = new Uint8ClampedArray(8);\n" + " try {\n" + " var imageData = new ImageData(arr, 3);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " arr = new Uint8ClampedArray(11);\n" + " try {\n" + " var imageData = new ImageData(arr, 2);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " arr = new Uint8ClampedArray(8);\n" + " try {\n" + " var imageData = new ImageData(arr, 2, 2);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index c7f68c000dd..04ff8dc0268 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -197,7 +197,7 @@ public void nth_child_no_argument() throws Exception { + "function test() {\n" + " try {\n" + " log(document.querySelectorAll('li:nth-child()'));\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java index 2a14a9e6b9c..41317385869 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java @@ -91,7 +91,7 @@ function test() { buffer += ',' + node.style[prop]; node.style[prop] = '42'; buffer += ',' + node.style[prop]; - } catch (e) { + } catch(e) { buffer += ',' + 'error'; } ta.value += buffer + '\n'; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index 81e84f98c5e..ce00c2fda46 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -888,7 +888,7 @@ public void getPropertyValue_WithDash() throws Exception { + " try{\n" + " var p = span.style.getPropertyValue(prop);\n" + " log(p);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function test() {\n" @@ -1276,7 +1276,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1284,7 +1284,7 @@ public void zIndexSetUndefined() throws Exception { + " try {\n" + " style.zIndex = un_defined;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1311,7 +1311,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" @@ -1319,7 +1319,7 @@ public void zIndexSetNull() throws Exception { + " try {\n" + " style.zIndex = null;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1357,13 +1357,13 @@ public void zIndexSetString() throws Exception { + " style.zIndex = '4';\n" + " try {\n" + " style.zIndex = ' ';\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = '1';\n" + " try {\n" + " style.zIndex = 'NAN';\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -1389,14 +1389,14 @@ public void zIndexSetInvalid() throws Exception { + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + " style.zIndex = 1;\n" + " log(style.zIndex);\n" + " try {\n" + " style.zIndex = 'hallo';\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(style.zIndex);\n" + "}\n" @@ -3114,12 +3114,12 @@ public void setToNull() throws Exception { + " log(div1.style.border);\n" + " try {\n" + " div1.style.border = null;\n" - + " } catch (e) {logEx(e);}\n" + + " } catch(e) {logEx(e);}\n" + " log(div1.style.border);\n" + " log(div1.style.display);\n" + " try {\n" + " div1.style.display = null;\n" - + " } catch (e) {logEx(e);}\n" + + " } catch(e) {logEx(e);}\n" + " log(div1.style.display);\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java index 5d5f87ab993..404cb73c9b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSTest.java @@ -43,7 +43,7 @@ public void global() throws Exception { + " try {\n" + " log(CSS);" + " log(CSS.prototype);" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -64,7 +64,7 @@ public void constructor() throws Exception { + " try {\n" + " var o = Object.create(CSS.prototype);\n" + " log(o);" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -85,7 +85,7 @@ public void supports() throws Exception { + " log(CSS.supports('display', 'flex'));" + " log(CSS.supports('display', 'grid'));" + " log(CSS.supports('color', 'red'));" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -105,7 +105,7 @@ public void supportsCondition() throws Exception { + " try {\n" + " log(CSS.supports('display: flex'));" + " log(CSS.supports('color: red'));" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -129,7 +129,7 @@ public void supportsSelector() throws Exception { + " try {\n" + " log(CSS.supports('selector(div)'));" + " log(CSS.supports('selector(div, span)'));" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index e81ccfaec4a..d96731fa5d7 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -125,7 +125,7 @@ public void stringProperties() throws Exception { + " if(typeof s1 == 'string')\n" + " array.push(i + '=' + s1 + ':' + s2);\n" + " }\n" - + "} catch (e) { array[array.length] = e.name; }\n" + + "} catch(e) { array[array.length] = e.name; }\n" + "array.sort();\n" + "document.getElementById('myTextarea').value = array.join('\\n');\n" + ""; @@ -162,7 +162,7 @@ public void stringPropertiesNotAttached() throws Exception { + " if(typeof s1 == 'string')\n" + " array.push(i + '=' + s1 + ':' + s2);\n" + " }\n" - + "} catch (e) { array[array.length] = e.name; }\n" + + "} catch(e) { array[array.length] = e.name; }\n" + "array.sort();\n" + "document.getElementById('myTextarea').value = array.join('\\n');\n" + ""; @@ -1624,7 +1624,7 @@ public void getPropertyValue() throws Exception { + " var s = window.getComputedStyle(d, null);\n" + " log(s.getPropertyValue('test'));\n" + " log(s.getPropertyValue('color'));\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index 6255aedb700..1003e5bda36 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -118,21 +118,21 @@ public void arrayIndexOutOfBoundAccess() throws Exception { + " try {\n" + " log(document.styleSheets[0]);\n" + " }\n" - + " catch (e) {\n" + + " catch(e) {\n" + " log('exception for 0');\n" + " }\n" + " try {\n" + " log(document.styleSheets[46]);\n" + " }\n" - + " catch (e) {\n" + + " catch(e) {\n" + " log('exception for 46');\n" + " }\n" + " try {\n" + " log(document.styleSheets[-2]);\n" + " }\n" - + " catch (e) {\n" + + " catch(e) {\n" + " log('exception for -2');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 0614a3b1945..90051a648bf 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -40,7 +40,7 @@ public void prototype() throws Exception { + " function test() {\n" + " try {\n" + " log(typeof AbstractRange === 'function');\n" - + " } catch (e) { log('exception' + e) }\n" + + " } catch(e) { log('exception' + e) }\n" + " }\n" + "\n" + ""; @@ -60,7 +60,7 @@ public void ctor() throws Exception { + " function test() {\n" + " try {\n" + " new AbstractRange();\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java index 9bc4eff218c..ba9b48b66f2 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/CharacterDataTest.java @@ -143,27 +143,27 @@ public void deleteData() throws Exception { + " try {\n" + " text1.deleteData(5, 11);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(4, 5);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(1, 0);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 2);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; @@ -189,22 +189,22 @@ public void deleteDataEmptyImput() throws Exception { + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 0);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, 1);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(0, -1);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        -
        "; @@ -229,22 +229,22 @@ public void deleteDataInvalidStart() throws Exception { + " try {\n" + " text1.deleteData(-1, 4);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, 4);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, 0);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(20, -18);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        abcde
        "; @@ -268,17 +268,17 @@ public void deleteDataNegativeCount() throws Exception { + " try {\n" + " text1.deleteData(18, -15);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(5, -4);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " try {\n" + " text1.deleteData(2, -4);\n" + " log(text1.data);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        Some Not So New Text
        "; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java index 7b98edd574d..baf31756507 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DOMParserTest.java @@ -45,7 +45,7 @@ public void scriptableToString() throws Exception { + " function test() {\n" + " try {\n" + " log(new DOMParser());\n" - + " } catch (e) {logEx(e);}\n" + + " } catch(e) {logEx(e);}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 5f92955077f..0c053301343 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -56,7 +56,7 @@ public void createElementWithAngleBrackets() throws Exception { + " var select = document.createElement('\n" @@ -2460,7 +2460,7 @@ public void scriptsArray() throws Exception { + " try {\n" + " log(document.scripts.length);\n" // This line used to blow up + " }\n" - + " catch (e) { log('exception occured') }\n" + + " catch(e) { log('exception occured') }\n" + "}\n" + "\n" + "\n" @@ -2651,7 +2651,7 @@ private void createEvent(final String eventType) throws Exception { + " log(e);\n" + " log(e.cancelable);\n" + "}\n" - + "catch (e) { logEx(e) }\n" + + "catch(e) { logEx(e) }\n" + "\n" + ""; @@ -2678,7 +2678,7 @@ public void createEvent_target() throws Exception { + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " log(event.target);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2705,7 +2705,7 @@ public void createEvent_overridden() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2733,7 +2733,7 @@ public void createEvent_caller() throws Exception { + " event.initMouseEvent('click', true, true, window,\n" + " 1, 0, 0, 0, 0, false, false, false, false, 0, null);\n" + " document.getElementById('d').dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + " \n" @@ -2941,7 +2941,7 @@ public void execCommand() throws Exception { + " try {\n" + " log(document.execCommand('foo', false, null));\n" + " }\n" - + " catch (e) {\n" + + " catch(e) {\n" + " log('command foo not supported');\n" + " }\n" + " document.designMode = 'Off';\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index 8954f856398..7bca57e5468 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -128,7 +128,7 @@ public void remove() throws Exception { + " div1.remove();\n" + " log(document.body.childNodes.length);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -917,7 +917,7 @@ private void insertBefore(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { logEx(e); }\n" + + " catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -986,7 +986,7 @@ private void insertBeforeFragment(final String insertJSLine) throws Exception { + " log(aNode.childNodes.length);\n" + " log(aNode.childNodes[2].nodeName);\n" + " }\n" - + " catch (e) { logEx(e); }\n" + + " catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java index 0deb6ecec26..3f4e1743460 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/RangeTest.java @@ -137,7 +137,7 @@ public void createContextualFragment2() throws Exception { + "try {\n" + " test('d');\n" + " test('t');\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java index 812903a96b8..ebcf4aa448f 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Selection2Test.java @@ -262,7 +262,7 @@ private void test(final String action, final String x, final String alert) + " try {\n" + " var x = " + x + ";\n" + " alert(" + alert + ");\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('unsupported action');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java index 9be49799dd3..503c02bb29f 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/SelectionTest.java @@ -58,7 +58,7 @@ public void equality_getSelection() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(window.getSelection()==window.getSelection());\n" - + "} catch (e) {logEx(e)}\n" + + "} catch(e) {logEx(e)}\n" + "\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java index aee54932aec..3ffb22bf53c 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java @@ -96,7 +96,7 @@ public void resultType() throws Exception { + " XPathResult.ANY_TYPE, null);\n" + " log(result.resultType);\n" + " }\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -138,7 +138,7 @@ public void snapshotType() throws Exception { + " for (var i = 0; i < result.snapshotLength; i++) {\n" + " log(result.snapshotItem(i).getAttribute('id'));\n" + " }\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -178,7 +178,7 @@ public void singleNodeValue() throws Exception { + " XPathResult.FIRST_ORDERED_NODE_TYPE, null);\n" + " log(result.resultType);\n" + " log(result.singleNodeValue.getAttribute('id'));\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -222,7 +222,7 @@ public void iterateNext() throws Exception { + " log(thisNode.getAttribute('id'));\n" + " thisNode = result.iterateNext();\n" + " }\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -249,7 +249,7 @@ public void notOr() throws Exception { + " var result = document.evaluate(expression, document, null, " + "XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);\n" + " log(result.resultType);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -280,7 +280,7 @@ public void stringType() throws Exception { + " var result = document.evaluate('//title/text()', document, null, " + "XPathResult.STRING_TYPE, null);\n" + " log(result.stringValue);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -315,7 +315,7 @@ public void numberType() throws Exception { + " result = document.evaluate('//span', document, null, " + "XPathResult.NUMBER_TYPE, null);\n" + " log(isNaN(result.numberValue));\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -361,7 +361,7 @@ public void booleanType() throws Exception { + " result = document.evaluate('//span/@attr', document, null, " + "XPathResult.BOOLEAN_TYPE, null);\n" + " log(result.booleanValue === true);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" @@ -617,24 +617,24 @@ private void type(final String xpath, final String type) throws Exception { + " log(result.resultType);\n" + " try {\n" + " log(result.booleanValue);\n" - + " } catch (e) { log('not boolean'); }\n" + + " } catch(e) { log('not boolean'); }\n" + " try {\n" + " log(result.numberValue);\n" - + " } catch (e) { log('not number'); }\n" + + " } catch(e) { log('not number'); }\n" + " try {\n" + " log(result.stringValue);\n" - + " } catch (e) { log('not string'); }\n" + + " } catch(e) { log('not string'); }\n" + " try {\n" + " log(result.singleNodeValue);\n" - + " } catch (e) { log('not node'); }\n" + + " } catch(e) { log('not node'); }\n" + " try {\n" + " log(result.snapshotLength);\n" - + " } catch (e) { log('not length'); }\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log('not length'); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java index e9543c00880..ad45903370e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AnimationEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new AnimationEvent('animationstart');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('AnimationEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java index f8a43cfb7c7..56f2e0fd754 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/AudioProcessingEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " function test() {\n" + " try {\n" + " var event = new AudioProcessingEvent('audioprocessing');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -85,7 +85,7 @@ public void create_ctorAllDetails() throws Exception { + " 'playbackTime': 4,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + DUMP_EVENT_FUNCTION + " }\n" + "\n" @@ -107,7 +107,7 @@ public void create_ctorMissingDetails() throws Exception { + " try {\n" + " var event = new AudioProcessingEvent('audioprocessing');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + DUMP_EVENT_FUNCTION + " }\n" + "\n" @@ -129,7 +129,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('AudioProcessingEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java index 7200f7ccfc8..c57c29808fa 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeInstallPromptEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent('before');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -127,7 +127,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -149,7 +149,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -173,7 +173,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new BeforeInstallPromptEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -198,7 +198,7 @@ public void create_ctorAllDetails() throws Exception { + " var event = new BeforeInstallPromptEvent('click', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java index 29347b6b317..a62f706f37d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BeforeUnloadEventTest.java @@ -55,7 +55,7 @@ public void create_ctor() throws Exception { + " function test() {\n" + " try {\n" + " var event = new BeforeUnloadEvent('beforeunload');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -76,7 +76,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('BeforeUnloadEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void dispatchEvent() throws Exception { + " var event = document.createEvent('BeforeUnloadEvent');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" @@ -146,7 +146,7 @@ public void dispatchEvent_event() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('beforeunload', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onbeforeunload = dump;\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java index 31f7b54a1c5..7dcd77def1f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/BlobEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new BlobEvent('blob');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -73,7 +73,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new BlobEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -95,7 +95,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new BlobEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -117,7 +117,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new BlobEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -139,7 +139,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new BlobEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -161,7 +161,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new BlobEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -187,7 +187,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': blob\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -210,7 +210,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new BlobEvent('blob', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -234,7 +234,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': 'blob'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java index de3e43e41ff..05732a04569 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CloseEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CloseEvent('type-close');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'wasClean': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('CloseEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void initCloseEvent() throws Exception { + " event.initCloseEvent('close', true, false, true, 42, 'time to close');\n" + " dump(event);\n" + " } else { log('no initCloseEvent'); }\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java index 08706a6f424..c56c870fb39 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CompositionEventTest.java @@ -55,7 +55,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CompositionEvent('composition');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -81,7 +81,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CompositionEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CompositionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -125,7 +125,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CompositionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -147,7 +147,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new CompositionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -169,7 +169,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CompositionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new CompositionEvent('composition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -240,7 +240,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java index 806e9c51ad6..2dcae83df49 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/CustomEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new CustomEvent('my');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new CustomEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new CustomEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new CustomEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new CustomEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new CustomEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 'abcd'" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java index ce278ec16b8..c94c0b8b1b3 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceMotionEventTest.java @@ -56,7 +56,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('motion');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -82,7 +82,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -104,7 +104,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -126,7 +126,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -148,7 +148,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -170,7 +170,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceMotionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceMotionEvent('motion', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java index 83f275108ab..0621fdac6dd 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DeviceOrientationEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('orientation');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DeviceOrientationEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -196,7 +196,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DeviceOrientationEvent('orientation', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java index a392fc4d575..d59d28d1315 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/DragEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new DragEvent('drag');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new DragEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new DragEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new DragEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new DragEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new DragEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new DragEvent('drag', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java index 592e04ebb12..4c33c0fef9f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ErrorEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ErrorEvent('error');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new ErrorEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new ErrorEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new ErrorEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new ErrorEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new ErrorEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new ErrorEvent('error', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java index 669cfa3451e..ecf7f3b28cc 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventListenersContainerTest.java @@ -56,7 +56,7 @@ public void addEventListener() throws Exception { + " var listener = new MyEventListener('someName');\n" + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + " }\n" @@ -94,7 +94,7 @@ public void addEventListener_node() throws Exception { + " var listener = new MyEventListener('someName');\n" + " document.body.addEventListener('myevent', listener, false);\n" + " document.body.dispatchEvent(new Event('myevent'));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + " }\n" @@ -124,7 +124,7 @@ public void addEventListener_no_handleEvent() throws Exception { + " var listener = new MyEventListener('someName');\n" + " window.addEventListener('myevent', listener, false);\n" + " window.dispatchEvent(new Event('myevent'));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index 947241d57de..29a459530e7 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new Event('event');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'bubbles': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_ctorWithDetailsBoolAsString() throws Exception { + " 'bubbles': 'true'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -133,7 +133,7 @@ public void create_ctorWithDetailsBoolAsNumber() throws Exception { + " 'bubbles': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -157,7 +157,7 @@ public void create_ctorWithDetailsBoolAsObject() throws Exception { + " 'bubbles': {}\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -181,7 +181,7 @@ public void create_ctorWithDetailsBoolAsUndefined() throws Exception { + " 'bubbles': undefined\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -205,7 +205,7 @@ public void create_ctorWithDetailsBoolAsNull() throws Exception { + " 'bubbles': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -227,7 +227,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('Event');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -276,7 +276,7 @@ public void initEvent() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('event', true, false);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -1206,7 +1206,7 @@ public void defaultPrevented() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.defaultPrevented);\n" + " log(typeof event.defaultPrevented);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1228,7 +1228,7 @@ public void returnValue() throws Exception { + " var event = document.createEvent('Event');\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1272,7 +1272,7 @@ public void returnValueSetter() throws Exception { + " event.preventDefault();\n" + " log(event.returnValue);\n" + " log(typeof event.returnValue);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -1424,7 +1424,7 @@ private void returnValueSetterUndefined(final String value) throws Exception { + " event.returnValue = !event.returnValue;\n" + " log(event.returnValue);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " triggerClick.addEventListener('click', function (event) {\n" @@ -1488,7 +1488,7 @@ public void preventDefault() throws Exception { + " event.initEvent('click', 'true', 'true');\n" + " log(event.cancelable + ' - ' + event.defaultPrevented);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java index b2a735f7b2b..a85ef3f184f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/FocusEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new FocusEvent('focus');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new FocusEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new FocusEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new FocusEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new FocusEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new FocusEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new FocusEvent('focus', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java index 69962e1874c..80ee29852eb 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/GamepadEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new GamepadEvent('gamepad');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new GamepadEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new GamepadEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new GamepadEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new GamepadEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new GamepadEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new GamepadEvent('gamepad', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index 17cb6119037..626cbaab966 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -60,7 +60,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new HashChangeEvent('hashchange');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -86,7 +86,7 @@ public void create_ctorWithDetails() throws Exception { + " 'newURL': '" + URL_FIRST + "#1'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -109,7 +109,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('HashChangeEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -131,7 +131,7 @@ public void initHashChangeEvent() throws Exception { + " try {\n" + " var event = document.createEvent('HashChangeEvent');\n" + " log(event);\n" - + " } catch (e) { log('exception createEvent'); return; }\n" + + " } catch(e) { log('exception createEvent'); return; }\n" + " if (!event.initHashChangeEvent) {log('missing initHashChangeEvent'); return;}\n" @@ -139,7 +139,7 @@ public void initHashChangeEvent() throws Exception { + " event.initHashChangeEvent('hashchange', true, false, '" + URL_FIRST + "', '" + URL_FIRST + "#1');\n" + " dump(event);\n" - + " } catch (e) { log('exception initHashChangeEvent') }\n" + + " } catch(e) { log('exception initHashChangeEvent') }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -164,7 +164,7 @@ public void dispatchEvent() throws Exception { + " event.initHashChangeEvent('hashchange', true, false, '" + URL_FIRST + "', '" + URL_FIRST + "#1');\n" + " dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onhashchange = dump;\n" @@ -189,7 +189,7 @@ public void dispatchEvent_event() throws Exception { + " var event = document.createEvent('Event');\n" + " event.initEvent('hashchange', true, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " window.onhashchange = dump;\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java index 75aefb12196..3a2936c10e5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/InputEventTest.java @@ -54,7 +54,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new InputEvent('type');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -84,7 +84,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new InputEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -106,7 +106,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new InputEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new InputEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new InputEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -172,7 +172,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new InputEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { + " var event = new InputEvent('input', " + "{ inputType: 'inputType', data: 'data', isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -223,7 +223,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new InputEvent('input', " + "{ isComposing: true });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -246,7 +246,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new InputEvent('input', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -268,7 +268,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new InputEvent('input', null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new InputEvent('input', undefined);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -314,7 +314,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java index 6f04bd977b5..d6c854c5cfd 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/KeyboardEventTest.java @@ -68,7 +68,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new KeyboardEvent('type');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new KeyboardEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -166,7 +166,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new KeyboardEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -189,7 +189,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new KeyboardEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -219,7 +219,7 @@ public void create_ctorAllDetails() throws Exception { + "ctrlKey: true, shiftKey: true, altKey: true, metaKey: true," + "repeat: true, isComposing: true, charCode: 456, which: 789 });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorSomeDetails() throws Exception { + " var event = new KeyboardEvent('keyboard', " + "{ key: null, code: undefined, ctrlKey: true, charCode: 456 });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -267,7 +267,7 @@ public void create_ctorMissingData() throws Exception { + " var event = new KeyboardEvent('keyboard', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -290,7 +290,7 @@ public void create_ctorNullData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -313,7 +313,7 @@ public void create_ctorUndefinedData() throws Exception { + " try {\n" + " var event = new KeyboardEvent('keyboard', undefined);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -338,7 +338,7 @@ public void create_ctorWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index 05c51daa63d..c8ddd24d6a2 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -61,7 +61,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MessageEvent('type-message');\n" + " dump(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -89,7 +89,7 @@ public void create_ctorWithDetails() throws Exception { + " 'source': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -140,7 +140,7 @@ public void initMessageEventPortsNull() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, null);\n" + " dump(e);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" @@ -171,7 +171,7 @@ public void initMessageEventPortsUndefined() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, undefined);\n" + " dump(e);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" @@ -200,7 +200,7 @@ public void initMessageEvent() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, []);\n" + " dump(e);\n" - + " } catch (e) { log('exception ' + e); }\n" + + " } catch(e) { log('exception ' + e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java index f0d77566dcf..adb7d40db8b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MouseEventTest.java @@ -71,7 +71,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MouseEvent('click');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new MouseEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new MouseEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -147,7 +147,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new MouseEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -169,7 +169,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new MouseEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -192,7 +192,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new MouseEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -228,7 +228,7 @@ public void create_ctorAllDetails() throws Exception { + " 'buttons': 4\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java index b325e436582..b9fce89737b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MutationEventTest.java @@ -56,7 +56,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new MutationEvent('mutant');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -80,7 +80,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new MutationEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -104,7 +104,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new MutationEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -128,7 +128,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new MutationEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -150,7 +150,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new MutationEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -174,7 +174,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new MutationEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -200,7 +200,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -225,7 +225,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new MutationEvent('mutant', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -251,7 +251,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java index 4a0f177c169..289706b2e6b 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/OfflineAudioCompletionEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent('oac');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -74,7 +74,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -96,7 +96,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -118,7 +118,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -140,7 +140,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -162,7 +162,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new OfflineAudioCompletionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -186,7 +186,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -209,7 +209,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new OfflineAudioCompletionEvent('oac', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -233,7 +233,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java index 4af111d943b..78ed35dc09c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PageTransitionEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -101,7 +101,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -123,7 +123,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -145,7 +145,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -167,7 +167,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new PageTransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { // + " 'data': 'mozart'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -214,7 +214,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new PageTransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -238,7 +238,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'data': ['Html', 'Unit']\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java index 9f0efe43414..deb019d1e90 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PointerEventTest.java @@ -69,7 +69,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PointerEvent('click');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -98,7 +98,7 @@ public void create_ctorWithDetails() throws Exception { + " 'pointerType': 'mouse'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -120,7 +120,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('PointerEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void initPointerEvent() throws Exception { + " event.initPointerEvent('click', true, false, window, 3, 10, 11, 12, 13, true, true, true, false, " + "0, null, 14, 15, 4, 5, 6, 16, 17, 18, 123, 'mouse', 987, false);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -168,12 +168,12 @@ public void dispatchEvent() throws Exception { + " event.initPointerEvent('click', true, false, window, 3, 10, 11, 12, 13, true, true, true, false, " + "0, null, 14, 15, 4, 5, 6, 16, 17, 18, 123, 'mouse', 987, false);\n" + " dispatchEvent(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" + " window.addEventListener('click',dump);\n" - + " } catch (e) { }\n" + + " } catch(e) { }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java index 85c93cba663..bd0d40b8993 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/PopStateEventTest.java @@ -62,7 +62,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new PopStateEvent('popstate');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -87,7 +87,7 @@ public void create_ctorWithDetails() throws Exception { + " 'state': 2,\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -111,7 +111,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -136,7 +136,7 @@ public void setState() throws Exception { + " var event = document.createEvent('PopStateEvent');\n" + " event.state = 'test';\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -160,17 +160,17 @@ public void dispatchEvent() throws Exception { + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" + " event.initEvent('', true, true);\n" - + " } catch (e) { log('exception ctor'); return; }\n" + + " } catch(e) { log('exception ctor'); return; }\n" + " try {\n" + " dispatchEvent(event);\n" + " log('dispatched');\n" - + " } catch (e) { log('exception' + e) }\n" + + " } catch(e) { log('exception' + e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" + " window.addEventListener('popstate',dump);\n" - + " } catch (e) { }\n" + + " } catch(e) { }\n" + "\n" + ""; @@ -192,17 +192,17 @@ public void dispatchEventWithoutInit() throws Exception { + " function test() {\n" + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" - + " } catch (e) { log('ctor ' + e.name); return; }\n" + + " } catch(e) { log('ctor ' + e.name); return; }\n" + " try {\n" + " dispatchEvent(event);\n" + " log('dispatched');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + " try {\n" + " window.addEventListener('popstate',dump);\n" - + " } catch (e) { }\n" + + " } catch(e) { }\n" + "\n" + ""; @@ -223,7 +223,7 @@ public void initPopStateEvent() throws Exception { + " function test() {\n" + " try {\n" + " var event = document.createEvent('PopStateEvent');\n" - + " } catch (e) { log('exception ctor'); return }\n" + + " } catch(e) { log('exception ctor'); return }\n" + " if (event.initPopStateEvent) {\n" + " event.initPopStateEvent('PopState', true, false, 'html');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java index a7785fb634d..892fb7a993e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/ProgressEventTest.java @@ -58,7 +58,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new ProgressEvent('progress');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -85,7 +85,7 @@ public void create_ctorWithDetails() throws Exception { + " 'total': 666\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -107,7 +107,7 @@ public void create_createEvent() throws Exception { + " try {\n" + " var event = document.createEvent('ProgressEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java index f81037a4a36..559499150c5 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/StorageEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new StorageEvent('storage');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new StorageEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new StorageEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new StorageEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new StorageEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new StorageEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -194,7 +194,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -217,7 +217,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new StorageEvent('storage', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -245,7 +245,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'storageArea': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java index e2b1711aa39..13bede7104f 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/SubmitEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new SubmitEvent('submit');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -78,7 +78,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new SubmitEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -100,7 +100,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new SubmitEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -122,7 +122,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new SubmitEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -144,7 +144,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new SubmitEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -166,7 +166,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new SubmitEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -195,7 +195,7 @@ public void create_ctorAllDetails() throws Exception { + " 'url': 'aUrl'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -218,7 +218,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new SubmitEvent('submit', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -246,7 +246,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'submitter': 'wrong'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java index 465bc7fff75..b1f9a91f7e1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TextEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TextEvent('text');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -74,7 +74,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TextEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -97,7 +97,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TextEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -120,7 +120,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TextEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -142,7 +142,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TextEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TextEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -191,7 +191,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 7\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -215,7 +215,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TextEvent('text', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -240,7 +240,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'detail': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java index c782b14921f..2eb03510eaa 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TimeEventTest.java @@ -52,7 +52,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TimeEvent('time');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -76,7 +76,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TimeEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -100,7 +100,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TimeEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -124,7 +124,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TimeEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -146,7 +146,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TimeEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -170,7 +170,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TimeEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -197,7 +197,7 @@ public void create_ctorAllDetails() throws Exception { + " 'detail': 7\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -222,7 +222,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TimeEvent('time', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -248,7 +248,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'detail': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java index 49fd0788f62..7c64983a91e 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TouchEventTest.java @@ -53,7 +53,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TouchEvent('touch');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -79,7 +79,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TouchEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -103,7 +103,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TouchEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -127,7 +127,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TouchEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -149,7 +149,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TouchEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -173,7 +173,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TouchEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -206,7 +206,7 @@ public void create_ctorAllDetails() throws Exception { + " 'metaKey': true\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -231,7 +231,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TouchEvent('touch', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -259,7 +259,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'touches': 'abc',\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java index 517793d169c..d3cc0edfef4 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TrackEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TrackEvent('track');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TrackEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TrackEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TrackEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TrackEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TrackEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -190,7 +190,7 @@ public void create_ctorAllDetails() throws Exception { + " 'track ': null\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -213,7 +213,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TrackEvent('track', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -241,7 +241,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'track': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java index 3c5539e2cf1..036d0095933 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/TransitionEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new TransitionEvent('transition');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new TransitionEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new TransitionEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new TransitionEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new TransitionEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new TransitionEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -192,7 +192,7 @@ public void create_ctorAllDetails() throws Exception { + " 'pseudoElement': 'aPseudoElementName'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -215,7 +215,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new TransitionEvent('transition', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -243,7 +243,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'elapsedTime': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java index f6e377af91f..e1eb7a9c38d 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/UIEventTest.java @@ -57,7 +57,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new UIEvent('event');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -82,7 +82,7 @@ public void create_ctorWithDetails() throws Exception { + " 'view': window\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -105,7 +105,7 @@ public void create_ctorWithDetailsViewNotWindow() throws Exception { + " var event = new UIEvent('event', {\n" + " 'view': {}\n" + " });\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java index b6c84ce234a..f6bc6edf4b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/WheelEventTest.java @@ -51,7 +51,7 @@ public void create_ctor() throws Exception { + " try {\n" + " var event = new WheelEvent('wheel');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -77,7 +77,7 @@ public void create_ctorWithoutType() throws Exception { + " try {\n" + " var event = new WheelEvent();\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -99,7 +99,7 @@ public void create_ctorNumericType() throws Exception { + " try {\n" + " var event = new WheelEvent(42);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -121,7 +121,7 @@ public void create_ctorNullType() throws Exception { + " try {\n" + " var event = new WheelEvent(null);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -143,7 +143,7 @@ public void create_ctorUnknownType() throws Exception { + " try {\n" + " var event = new WheelEvent(unknown);\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -165,7 +165,7 @@ public void create_ctorArbitraryType() throws Exception { + " try {\n" + " var event = new WheelEvent('HtmlUnitEvent');\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -193,7 +193,7 @@ public void create_ctorAllDetails() throws Exception { + " 'deltaMode': 1\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -216,7 +216,7 @@ public void create_ctorAllDetailsMissingData() throws Exception { + " var event = new WheelEvent('wheel', {\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" @@ -244,7 +244,7 @@ public void create_ctorAllDetailsWrongData() throws Exception { + " 'deltaX': 'ten'\n" + " });\n" + " dump(event);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java index a80c1582dda..15a3dc8cac2 100644 --- a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationTest.java @@ -51,7 +51,7 @@ public void ctor() throws Exception { + " function test() {\n" + " try {\n" + " new Geolocation();\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -71,7 +71,7 @@ public void navigatorGeolocation() throws Exception { + " function test() {\n" + " try {\n" + " log(navigator.geolocation);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; @@ -104,7 +104,7 @@ public void getCurrentPosition() throws Exception { + " function test() {\n" + " try {\n" + " navigator.geolocation.getCurrentPosition(success, error);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java index b36d900ecb4..6354a5016a2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLAudioElementTest.java @@ -44,7 +44,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLAudioElement.prototype == null);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -93,7 +93,7 @@ public void nodeTypeName() throws Exception { + " var audio = document.getElementById('a');\n" + " log(audio.nodeType);" + " log(audio.nodeName);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -475,7 +475,7 @@ public void src() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -503,7 +503,7 @@ public void srcChild() throws Exception { + " audio.src = 'cow.mp3';\n" + " log(audio.src);" + " log(audio.outerHTML);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -526,7 +526,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('a').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -548,7 +548,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -571,7 +571,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -594,7 +594,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('a').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java index b463c04e061..ee12c1aeffa 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLBodyElementTest.java @@ -315,7 +315,7 @@ public void enumeratedProperties() throws Exception { + " for (var i in HTMLBodyElement)\n" + " str += i + ', ';\n" + " log(str);\n" - + " } catch (e) { logEx(e)}\n" + + " } catch(e) { logEx(e)}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java index 4854a30b378..df2c2285c4b 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCanvasElementTest.java @@ -130,7 +130,7 @@ public void toDataUrl() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL());\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -207,7 +207,7 @@ public void toDataUrlPng() throws Exception { + " var canvas = document.getElementById('myCanvas');\n" + " log(canvas.toDataURL('image/png'));\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java index 44b561839cb..8a2ba435110 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLCollectionTest.java @@ -88,7 +88,7 @@ public void getElements() throws Exception { + " try {\n" + " document.appendChild(document.createElement('div'));\n" + " log(document.all.length);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "\n" @@ -198,7 +198,7 @@ public void outOfBoundAccess() throws Exception { + " log(col[1]);\n" + " try {\n" + " log(col(1));\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java index cad370a77a0..1f9d235e6fa 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java @@ -107,7 +107,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java index f492f4c9f69..c22360a9969 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocument2Test.java @@ -203,7 +203,7 @@ public void domain_set_for_about_blank() throws Exception { + " alert(frameDoc.domain);\n" + " try {\n" + " frameDoc.domain = domain;\n" - + " } catch (e) { alert('exception'); }\n" + + " } catch(e) { alert('exception'); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java index 3d6dc196f9d..09fa59b8585 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentTest.java @@ -134,7 +134,7 @@ public void getElementsByClassName() throws Exception { // + " log(document.getElementsByClassName().length);\n" // exception in FF3 + " log(document.getElementsByClassName(null).length);\n" + " }\n" - + " catch (e) { logEx(e) }\n" + + " catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        hello\n" @@ -340,7 +340,7 @@ public void createDocumentNS_svg() throws Exception { + "try {\n" + " var elt = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n" + " log(elt);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -387,7 +387,7 @@ public void createDocumentNS_xul() throws Exception { + " document.body.appendChild(inner);\n" + " log(document.body.lastChild.value);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + "\n" + "\n" + ""; @@ -460,7 +460,7 @@ public void importNode_script() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedScript, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + " \n" @@ -495,7 +495,7 @@ public void importNode_scriptChild() throws Exception { + " var theSpan = document.getElementById('s1');\n" + " document.body.replaceChild(importedDiv, theSpan);\n" + " log('replaced');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + " \n" @@ -854,40 +854,40 @@ public void getElementsByName_elements() throws Exception { + " function test() {\n" + " try {\n" + " log(document.getElementsByName('form1').length);\n" - + " } catch (e) { log('exception:f1') }\n" + + " } catch(e) { log('exception:f1') }\n" + " try {\n" + " log(document.getElementsByName('form2').length);\n" - + " } catch (e) { log('exception:f2') }\n" + + " } catch(e) { log('exception:f2') }\n" + " try {\n" + " log(document.getElementsByName('frame1').length);\n" - + " } catch (e) { log('exception:f1') }\n" + + " } catch(e) { log('exception:f1') }\n" + " try {\n" + " log(document.getElementsByName('frame2').length);\n" - + " } catch (e) { log('exception:f2') }\n" + + " } catch(e) { log('exception:f2') }\n" + " try {\n" + " log(document.getElementsByName('input1').length);\n" - + " } catch (e) { log('exception:i1') }\n" + + " } catch(e) { log('exception:i1') }\n" + " try {\n" + " log(document.getElementsByName('input2').length);\n" - + " } catch (e) { log('exception:i2') }\n" + + " } catch(e) { log('exception:i2') }\n" + " try {\n" + " log(document.getElementsByName('anchor1').length);\n" - + " } catch (e) { log('exception:a1') }\n" + + " } catch(e) { log('exception:a1') }\n" + " try {\n" + " log(document.getElementsByName('anchor2').length);\n" - + " } catch (e) { log('exception:a2') }\n" + + " } catch(e) { log('exception:a2') }\n" + " try {\n" + " log(document.getElementsByName('image1').length);\n" - + " } catch (e) { log('exception:i1') }\n" + + " } catch(e) { log('exception:i1') }\n" + " try {\n" + " log(document.getElementsByName('image2').length);\n" - + " } catch (e) { log('exception:i2') }\n" + + " } catch(e) { log('exception:i2') }\n" + " try {\n" + " log(document.getElementsByName('element1').length);\n" - + " } catch (e) { log('exception:e1') }\n" + + " } catch(e) { log('exception:e1') }\n" + " try {\n" + " log(document.getElementsByName('element2').length);\n" - + " } catch (e) { log('exception:e2') }\n" + + " } catch(e) { log('exception:e2') }\n" + " }\n" + "\n" + " \n" @@ -926,10 +926,10 @@ public void getElementsByName_frame() throws Exception { + " function test() {\n" + " try {\n" + " log(document.getElementsByName('frame1').length);\n" - + " } catch (e) { log('exception:f1') }\n" + + " } catch(e) { log('exception:f1') }\n" + " try {\n" + " log(document.getElementsByName('frame2').length);\n" - + " } catch (e) { log('exception:f2') }\n" + + " } catch(e) { log('exception:f2') }\n" + " }\n" + "\n" + "\n" @@ -1004,7 +1004,7 @@ public void getElementsByName_changedAfterGet() throws Exception { + " try {\n" + " document.getElementById('image5').setAttributeNS(null, 'name', 'image1');\n" + " log(collection.length);\n" - + " } catch (e) { log('exception:setAttributeNS') }\n" + + " } catch(e) { log('exception:setAttributeNS') }\n" // 9 + " document.getElementById('outer1').removeChild(newImage1);\n" @@ -1110,7 +1110,7 @@ public void getElementsByName_changedAfterGet_nested() throws Exception { + " try {\n" + " document.getElementById('image5').setAttributeNS(null, 'name', 'image1');\n" + " log(collection.length);\n" - + " } catch (e) { log('exception:setAttributeNS') }\n" + + " } catch(e) { log('exception:setAttributeNS') }\n" // 9 + " document.getElementById('outer1').removeChild(newImage1);\n" @@ -1195,7 +1195,7 @@ public void getBoxObjectFor() throws Exception { + " log(a === document.getBoxObjectFor(e));\n" + " log(a.screenX > 0);\n" + " log(a.screenY > 0);\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + "}\n" + "\n" + "
        \n" @@ -1275,7 +1275,7 @@ private void queryCommandSupported(final String... commands) throws Exception { + " else\n" + " cmdsNotSupported[cmdsNotSupported.length] = cmd;\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(nbSupported + ' commands supported');\n" + " if (nbSupported != 0 && cmdsNotSupported.length > 0)\n" + " log('not supported: ' + cmdsNotSupported.join(', '));\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java index 8d534fc867c..17e750a4b8c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWrite2Test.java @@ -421,7 +421,7 @@ public void write_fromScriptAddedWithAppendChild_inline() throws Exception { + " var t = document.createTextNode(\"document.write('in inline script'); document.title = 'done';\");\n" + " s.appendChild(t);\n" + " document.body.appendChild(s);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "
        "; final WebDriver driver = loadPage2(html); @@ -798,7 +798,7 @@ public void write_AssignedToVar2() throws Exception { + " function foo() { log('foo called'); var d = document.write; d(4); }\n" + " try {\n" + " foo();\n" - + " } catch (e) { log('exception occurred'); document.write(7); }\n" + + " } catch(e) { log('exception occurred'); document.write(7); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java index de2aa16d625..8370962461c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDocumentWriteTest.java @@ -49,7 +49,7 @@ public void write_AssignedToVar() throws Exception { + "var d = document.writeln;\n" + "try {\n" + " d('foo');\n" - + "} catch (e) { alert('exception occurred') }\n" + + "} catch(e) { alert('exception occurred') }\n" + " document.writeln('foo');\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java index 5440f3787ef..4f2961c75d6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElementTest.java @@ -2239,7 +2239,7 @@ public void offsetParent_WithCSS() throws Exception { + " function alertOffsetParentId(id) {\n" + " try {\n" + " log(document.getElementById(id).offsetParent.id);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function test() {\n" + " log(document.getElementById('body').offsetParent); // null (FF) null (IE)\n" @@ -2565,7 +2565,7 @@ public void getBoundingClientRectDisconnected() throws Exception { + " log(pos);\n" + " log(pos.left);\n" + " log(pos.top);\n" - + " } catch (e) { logEx(e);}\n" + + " } catch(e) { logEx(e);}\n" + " }\n" + "\n" + "\n" @@ -3378,7 +3378,7 @@ public void doScroll() throws Exception { + " try {\n" + " document.documentElement.doScroll('left');\n" + " log('success');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + "}\n" @@ -3568,12 +3568,12 @@ public void prototype_innerHTML() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " log(HTMLElement.prototype.innerHTML);\n" - + "} catch (e) { log('exception call') }\n" + + "} catch(e) { log('exception call') }\n" + "try {\n" + " var myFunc = function() {};\n" + " HTMLElement.prototype.innerHTML = myFunc;\n" + " log(HTMLElement.prototype.innerHTML == myFunc);\n" - + "} catch (e) { log('exception set') }\n" + + "} catch(e) { log('exception set') }\n" + "\n" + ""; loadPageVerifyTitle2(html); @@ -3650,7 +3650,7 @@ public void attributeNS() throws Exception { + " log(e.hasAttributeNS('bar', 'type'));\n" + " e.removeAttributeNS('bar', 'type');\n" + " log(e.hasAttribute('type'));\n" - + " } catch (e) {log('getAttributeNS() not supported')}\n" + + " } catch(e) {log('getAttributeNS() not supported')}\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java index 949d5139600..58e9a2427f6 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java @@ -91,7 +91,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" @@ -157,7 +157,7 @@ public void setHeight() throws Exception { + " function setHeight(elem, value) {\n" + " try {\n" + " elem.height = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.height);\n" + " }\n" @@ -214,7 +214,7 @@ public void setWidth() throws Exception { + " function setWidth(elem, value) {\n" + " try {\n" + " elem.width = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.width);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java index 906f3afdb88..f24fadb2e5e 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java @@ -82,7 +82,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java index b7521a941d7..07a85c05a50 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFormElementTest.java @@ -2716,7 +2716,7 @@ public void requestSubmitWithButton() throws Exception { + " var sub = document.getElementById('submit1');\n" + " try {\n" + " myForm.requestSubmit(sub);\n" - + " } catch (e) { alert('requestSubmit failed' + e); }\n" + + " } catch(e) { alert('requestSubmit failed' + e); }\n" + " return;\n" + " }\n" + " alert('requestSubmit() not available');\n" @@ -2760,7 +2760,7 @@ public void requestSubmitNotMember() throws Exception { + " var sub = document.getElementById('submit2');\n" + " try {\n" + " myForm.requestSubmit(sub);\n" - + " } catch (e) { alert('requestSubmit failed'); }\n" + + " } catch(e) { alert('requestSubmit failed'); }\n" + " return;\n" + " }\n" + " alert('requestSubmit() not available');\n" @@ -2806,7 +2806,7 @@ public void requestSubmitNotSubmit() throws Exception { + " var sub = document.getElementById('param1');\n" + " try {\n" + " myForm.requestSubmit(sub);\n" - + " } catch (e) { alert('requestSubmit failed'); }\n" + + " } catch(e) { alert('requestSubmit failed'); }\n" + " return;\n" + " }\n" + " alert('requestSubmit() not available');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index aa026cec747..f5c59254da0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -726,7 +726,7 @@ public void deny() throws Exception { + " function check() {\n" + " try {\n" + " log(document.getElementById(\"frame1\").contentDocument);\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java index 1b8a86437dc..8cff379380f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java @@ -69,7 +69,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java index 888b6a668eb..1fcb8c9f9a4 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java @@ -68,7 +68,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java index f99b830b757..dc2e26990fe 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHtmlElementTest.java @@ -70,7 +70,7 @@ public void HTMLHtmlElement_toString() throws Exception { + " try {\n" + " log(document.getElementById('myId'));\n" + " log(HTMLHtmlElement);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java index e3d462214d9..ce577fe78c4 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java @@ -851,7 +851,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java index 2f1154866f2..8a5370927ec 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java @@ -314,7 +314,7 @@ public void width() throws Exception { + "function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + "}\n" @@ -368,7 +368,7 @@ public void height() throws Exception { + "function set(e, value) {\n" + " try {\n" + " e.height = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + "}\n" @@ -839,7 +839,7 @@ private void retrictByHeader(final NameValuePair header, final URL contentUrl) t + " function check() {\n" + " try {\n" + " alert(document.getElementById(\"frame1\").contentDocument);\n" - + " } catch (e) { alert('error'); }\n" + + " } catch(e) { alert('error'); }\n" + " }\n" + " \n" + "\n" @@ -885,7 +885,7 @@ public void recursive() throws Exception { + " function check() {\n" + " try {\n" + " alert(document.getElementById(\"frame1\").contentDocument);\n" - + " } catch (e) { alert('error'); }\n" + + " } catch(e) { alert('error'); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java index 59e4e22fc23..162ce170fe0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java @@ -390,7 +390,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" @@ -1172,7 +1172,7 @@ public void ctorHTMLImageElement() throws Exception { + " try {\n" + " var htmlImageElement = new HTMLImageElement(1, 1);" + " log('' + htmlImageElement);\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java index 299d0a1eeae..63e982c7d03 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java @@ -1729,7 +1729,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java index eab00d0de2b..6945ca627fd 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLabelElementTest.java @@ -149,7 +149,7 @@ public void htmlForSetToUnknown() throws Exception { + " function doTest() {\n" + " try {\n" + " document.getElementById('label1').htmlFor = 'unknown';\n" - + " } catch (e) {" + + " } catch(e) {" + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" @@ -183,7 +183,7 @@ public void htmlForSetToNotLabelable() throws Exception { + " function doTest() {\n" + " try {\n" + " document.getElementById('label1').htmlFor = 'div1';\n" - + " } catch (e) {" + + " } catch(e) {" + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" @@ -217,7 +217,7 @@ public void htmlForSetToLabelable() throws Exception { + " function doTest() {\n" + " try {\n" + " document.getElementById('label1').htmlFor = 'text1';\n" - + " } catch (e) {" + + " } catch(e) {" + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').htmlFor);\n" @@ -602,7 +602,7 @@ public void controlSet() throws Exception { + " function doTest() {\n" + " try {\n" + " document.getElementById('label1').control = document.getElementById('text1');\n" - + " } catch (e) {" + + " } catch(e) {" + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').control);\n" @@ -789,7 +789,7 @@ public void formSet() throws Exception { + " function doTest() {\n" + " try {\n" + " document.getElementById('label1').form = document.getElementById('form1');\n" - + " } catch (e) {" + + " } catch(e) {" + " logEx(e);\n" + " }\n" + " log(document.getElementById('label1').form);\n" @@ -876,7 +876,7 @@ public void clickByJSAfterHtmlForSetByJS() throws Exception { + " function delegateClick() {\n" + " try {\n" + " document.getElementById('label1').click();\n" - + " } catch (e) {}\n" + + " } catch(e) {}\n" + " }\n" + " \n" + " \n" @@ -909,7 +909,7 @@ public void clickByJSAfterNestedByJS() throws Exception { + " function delegateClick() {\n" + " try {\n" + " document.getElementById('label1').click();\n" - + " } catch (e) {}\n" + + " } catch(e) {}\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java index 2ab919bcfeb..c0dcec8a46f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java @@ -119,7 +119,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java index c12e197dcce..14139fc7551 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMediaElementTest.java @@ -147,7 +147,7 @@ private void canPlayType(final String type) throws Exception { + "try {\n" + " var video = document.createElement('video');" + " log(video.canPlayType('" + type + "'));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java index 98a0fe9d407..a439ecf846a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionElement2Test.java @@ -555,7 +555,7 @@ public void optionIndexOutOfBound() throws Exception { + " log(options[55]);\n" + " try {\n" + " log(options[-55]);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -798,7 +798,7 @@ public void with_new() throws Exception { + " log(s.length);\n" + " try {\n" + " s.options[0] = new Option('one', 'two');\n" - + " } catch (e) { log(e) }\n" + + " } catch(e) { log(e) }\n" + " log(s.length);\n" + "}\n" + "\n" @@ -827,7 +827,7 @@ public void without_new() throws Exception { + " log(s.length);\n" + " try {\n" + " s.options[0] = Option('one', 'two');\n" - + " } catch (e) { logEx(e) }\n" + + " } catch(e) { logEx(e) }\n" + " log(s.length);\n" + "}\n" + "\n" @@ -1173,7 +1173,7 @@ private void xpathSelected(final String selectionChangeCode, final boolean multi + " log(thisNode.getAttribute('id'));\n" + " thisNode = result.iterateNext();\n" + " }\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " } else {\n" + " log('evaluate not supported');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java index 8c931c7fce8..2315f58b060 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLOptionsCollectionTest.java @@ -387,7 +387,7 @@ private void add(final String param, final boolean empty, final boolean multi) t + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -491,7 +491,7 @@ private void get(final String pos, final boolean empty) throws Exception { + " var oSelect = document.forms.testForm.select1;\n" + " var opt = oSelect.options[" + pos + "];\n" + " log(opt ? opt.text + (opt.selected ? '*' : '') : opt);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -709,7 +709,7 @@ private void put(final String pos, final String param, final boolean empty, fina + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -889,7 +889,7 @@ private void remove(final String pos, final boolean empty, final boolean multi) + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1015,7 +1015,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " var sel = document.form1.select1;\n" + " try {\n" @@ -1024,7 +1024,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " var sel = document.form1.select3;\n" + " try {\n" @@ -1033,7 +1033,7 @@ private void setLength(final String lenght) throws Exception { + " for (var i = 0; i < sel.options.length; i++) {\n" + " log(sel.options[i].text);\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" @@ -1070,7 +1070,7 @@ public void setLength_increase() throws Exception { + " sel.options.length = 1;\n" + " log(sel.options.length);\n" + " log(sel.options[0].text);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + " sel = document.form1.select1;\n" + " try {\n" @@ -1080,7 +1080,7 @@ public void setLength_increase() throws Exception { + " log(sel.options[0].childNodes.length);\n" + " log(sel.options[1].text);\n" + " log(sel.options[1].childNodes.length);\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + "}\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java index e5b365c9138..f8177bb8d9a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java @@ -83,7 +83,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java index 47eb200d2e8..2161966375a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLScriptElementTest.java @@ -1154,7 +1154,7 @@ public void innerHTMLGetSet() throws Exception { + " var div = document.getElementById('tester');\n" + " try {\n" + " div.innerHTML = div.innerHTML;\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " log(div.innerHTML);\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java index 8975a9526ff..d8922a1819f 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLSelectElementTest.java @@ -251,10 +251,10 @@ public void setSelectedIndexInvalidValue() throws Exception { + " s.selectedIndex = 2;\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = 25; } catch (e) { logEx(e) }\n" + + " try { s.selectedIndex = 25; } catch(e) { logEx(e) }\n" + " log(s.selectedIndex);\n" - + " try { s.selectedIndex = -14; } catch (e) { logEx(e) }\n" + + " try { s.selectedIndex = -14; } catch(e) { logEx(e) }\n" + " log(s.selectedIndex);\n" + " }\n" + " \n" @@ -975,7 +975,7 @@ private void addOptionMethod(final String param, final boolean empty, final bool + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1017,7 +1017,7 @@ public void addWithIndexEmptySelect() throws Exception { + " var opt = new Option('foo', '123');\n" + " oSelect.add(opt, -1);\n" + " log(oSelect.length);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1372,7 +1372,7 @@ private void removeOptionMethod(final String param, final boolean empty, final b + " for (var i = 0; i < oSelect.options.length; i++) {\n" + " log(oSelect.options[i].text + (oSelect.options[i].selected ? '*' : ''));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" @@ -1684,7 +1684,7 @@ public void optionsDelegateToSelect() throws Exception { + "\n" + " s.options.selectedIndex = 1;\n" + " doAlerts(s);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "function doAlerts(s) {\n" + " log(s.childNodes.length + '-' + s.options.childNodes.length);\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java index 2c7e297ad9d..10c7925d177 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java @@ -75,7 +75,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" @@ -117,7 +117,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java index fa1fd8305d1..c2a8744229c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java @@ -52,7 +52,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -161,7 +161,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -300,7 +300,7 @@ public void colSpan() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.colSpan = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -438,7 +438,7 @@ public void rowSpan() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.rowSpan = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -703,7 +703,7 @@ public void width() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java index 401e3fce754..e00da5c910c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java @@ -77,7 +77,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.align);\n" + " }\n" @@ -194,7 +194,7 @@ public void span() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.span = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -238,7 +238,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -286,7 +286,7 @@ public void width() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index 9440a6157b9..471d49ae129 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -367,7 +367,7 @@ private void insertRow(final String rowIndex) throws Exception { + " var newRow = table.insertRow(" + rowIndex + ");\n" + " log(table.rows.length);\n" + " log(newRow.rowIndex);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " \n" + ""; @@ -653,7 +653,7 @@ public void refresh() throws Exception { + " } else {\n" + " log('no refresh function');\n" + " }\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -689,7 +689,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -974,7 +974,7 @@ public void setRules() throws Exception { + " function setRules(elem, value) {\n" + " try {\n" + " elem.rules = value;\n" - + " } catch (e) { log('error'); }\n" + + " } catch(e) { log('error'); }\n" + " log(elem.rules);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 024e3b09c7a..2d5785e154a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -138,7 +138,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -241,7 +241,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -427,7 +427,7 @@ private void insertCell(final String cellIndex) throws Exception { + " var newCell = row.insertCell(" + cellIndex + ");\n" + " log(row.cells.length);\n" + " log(newCell.cellIndex);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " \n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index eb7577fc11d..a8bac7a1b56 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -78,7 +78,7 @@ private void align(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -146,7 +146,7 @@ private void vAlign(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -224,7 +224,7 @@ private void ch(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.ch = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -302,7 +302,7 @@ private void chOff(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.chOff = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java index 4d835af7ce2..72620319119 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTemplateElementTest.java @@ -40,7 +40,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log(HTMLTemplateElement.prototype == null);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -62,7 +62,7 @@ public void contentCheck() throws Exception { + " try {\n" + " var template = document.createElement('template');\n" + " log('content' in template);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java index 08664c13630..29a75f6c505 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java @@ -376,7 +376,7 @@ public void cols() throws Exception { + " function setCols(e, value) {\n" + " try {\n" + " e.cols = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" @@ -427,7 +427,7 @@ public void rows() throws Exception { + " function setRows(e, value) {\n" + " try {\n" + " e.rows = value;\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java index 2228a8db8d3..19fdd0ff2ad 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLVideoElementTest.java @@ -41,7 +41,7 @@ public void prototype() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + "log(HTMLVideoElement.prototype == null);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -89,7 +89,7 @@ public void nodeTypeName() throws Exception { + " var video = document.getElementById('v');\n" + " log(video.nodeType);" + " log(video.nodeName);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -116,7 +116,7 @@ public void src() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -144,7 +144,7 @@ public void srcChild() throws Exception { + " video.src = 'tree.mp4';\n" + " log(video.src);" + " log(video.outerHTML);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -167,7 +167,7 @@ public void srcNotDefined() throws Exception { + " var src = document.getElementById('v').src;\n" + " log(typeof src);" + " log(src);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -189,7 +189,7 @@ public void currentSrc() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -212,7 +212,7 @@ public void currentSrcChild() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; @@ -235,7 +235,7 @@ public void currentSrcNotDefined() throws Exception { + " var currentSrc = document.getElementById('v').currentSrc;\n" + " log(typeof currentSrc);" + " log(currentSrc);" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java index fa4e236b77f..c431e6df43a 100644 --- a/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java +++ b/src/test/java/org/htmlunit/javascript/host/svg/SVGTest.java @@ -45,7 +45,7 @@ public void getAttribute() throws Exception { + " svg.setAttribute('id', 'svgElem');\n" + " document.body.appendChild(svg);\n" + " log(document.getElementById('svgElem').getAttribute('id'));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -71,7 +71,7 @@ public void triggerEvent() throws Exception { + " var e = document.createEvent('MouseEvents');\n" + " e.initEvent('click', true, false);\n" + " document.getElementById('rect').dispatchEvent(e);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java index 66fb9c851b9..232e5dbd980 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/FormDataTest.java @@ -100,7 +100,7 @@ public void empty() throws Exception { + "function test() {\n" + " try {\n" + " var formData = new FormData();\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -109,7 +109,7 @@ public void empty() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -147,7 +147,7 @@ public void append() throws Exception { + " formData.append('myKeyNull', null);\n" + " formData.append('myKeyUndef', undefined);\n" + " formData.append('myKeyEmpty', '');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -156,7 +156,7 @@ public void append() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -208,7 +208,7 @@ public void appendFile() throws Exception { + " var files = document.testForm.myFile.files;\n" + " var formData = new FormData();\n" + " formData.append('myKey', files[0]);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -217,7 +217,7 @@ public void appendFile() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -342,7 +342,7 @@ private String appendFile(final String extension, final String name) throws Exce + " var files = document.testForm.myFile.files;\n" + " var formData = new FormData();\n" + " formData.append('myKey', files[0], '" + name + "');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -351,7 +351,7 @@ private String appendFile(final String extension, final String name) throws Exce + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -402,7 +402,7 @@ public void appendInMemoryFile() throws Exception { + " var formData = new FormData();\n" + " let file = new File(['Html', 'Unit', 'is great'], 'htMluniT.txt');\n" + " formData.append('myKey', file);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -411,7 +411,7 @@ public void appendInMemoryFile() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -458,7 +458,7 @@ public void appendBlob() throws Exception { + " var formData = new FormData();\n" + " let blob = new Blob(['Hello HtmlUnit'], {type : 'text/html'});\n" + " formData.append('myKey', blob);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -467,7 +467,7 @@ public void appendBlob() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -518,7 +518,7 @@ public void delete() throws Exception { + " formData.append('mykey 2', '');\n" + " formData.append('mykey3', 'myVal3');\n" + " formData.append('mykey3', 'myVal4');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -528,7 +528,7 @@ public void delete() throws Exception { + " formData.delete('mykey 2');\n" + " formData.delete('mykey3');\n" + " formData.delete('');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('delete: ' + e.message);\n" + " return;\n" + " }\n" @@ -537,7 +537,7 @@ public void delete() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -572,7 +572,7 @@ public void get() throws Exception { + " formData.append('myKey', 'myValue2');\n" + " formData.append('mykey3', 'myValue3');\n" + " formData.append('mykey4', '');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -583,7 +583,7 @@ public void get() throws Exception { + " log(formData.get('myKey3'));\n" + " log(formData.get('myKey4'));\n" + " log(formData.get(''));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('get: ' + e.message);\n" + " return;\n" + " }\n" @@ -617,7 +617,7 @@ public void getAll() throws Exception { + " formData.append('myKey', 'myValue2');\n" + " formData.append('mykey3', 'myValue3');\n" + " formData.append('mykey4', '');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -628,7 +628,7 @@ public void getAll() throws Exception { + " log(formData.getAll('myKey3'));\n" + " log(formData.getAll('myKey4'));\n" + " log(formData.getAll(''));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('getAll: ' + e.message);\n" + " return;\n" + " }\n" @@ -661,7 +661,7 @@ public void has() throws Exception { + " formData.append('myKey', 'myValue');\n" + " formData.append('myKey1', '');\n" + " formData.append('mykey 2', '');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -670,7 +670,7 @@ public void has() throws Exception { + " log(formData.has('myKey'));\n" + " log(formData.has('mykey'));\n" + " log(formData.has(''));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('has: ' + e.message);\n" + " }\n" + "}\n" @@ -703,7 +703,7 @@ public void set() throws Exception { + " formData.set('myKey1', 'new1');\n" + " formData.set('myKey4', 'new4');\n" + " formData.set('myKeyX', 'newX');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('set: ' + e.message);\n" + " return;\n" + " }\n" @@ -712,7 +712,7 @@ public void set() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -764,7 +764,7 @@ public void setInMemoryFile() throws Exception { + " var formData = new FormData();\n" + " let file = new File(['Html', 'Unit', 'is great'], 'htMluniT.txt');\n" + " formData.set('myKey', file);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -773,7 +773,7 @@ public void setInMemoryFile() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -820,7 +820,7 @@ public void setBlob() throws Exception { + " var formData = new FormData();\n" + " let blob = new Blob(['Hello HtmlUnit'], {type : 'text/html'});\n" + " formData.set('myKey', blob);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " return;\n" + " }\n" @@ -829,7 +829,7 @@ public void setBlob() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -874,7 +874,7 @@ public void fromForm() throws Exception { + "function test() {\n" + " try {\n" + " var formData = new FormData(document.testForm);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " }\n" + " try {\n" @@ -882,7 +882,7 @@ public void fromForm() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -951,7 +951,7 @@ public void fromFormAndAppend() throws Exception { + "function test() {\n" + " try {\n" + " var formData = new FormData(document.testForm);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " }\n" + " try {\n" @@ -960,7 +960,7 @@ public void fromFormAndAppend() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -1009,7 +1009,7 @@ public void fromFormChangeBeforeSend() throws Exception { + "function test() {\n" + " try {\n" + " var formData = new FormData(document.testForm);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('create: ' + e.message);\n" + " }\n" + " try {\n" @@ -1018,7 +1018,7 @@ public void fromFormChangeBeforeSend() throws Exception { + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" + " alert(xhr.responseText);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " alert('send: ' + e.message);\n" + " }\n" + "}\n" @@ -1143,7 +1143,7 @@ private void enctype(final String enctype) throws Exception { + " var xhr = new XMLHttpRequest();\n" + " xhr.open('POST', '/test2', false);\n" + " xhr.send(formData);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('send: ' + e.message);\n" + " }\n" + "}\n" @@ -1470,7 +1470,7 @@ public void fromFormDisabled() throws Exception { + " log(formData.has('n2'));\n" + " log(formData.has('n3'));\n" + " log(formData.has('n4'));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('has: ' + e.message);\n" + " }\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java index 940a41f2702..598b1368a20 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocument2Test.java @@ -225,7 +225,7 @@ public void text() throws Exception { + " function test() {\n" + " try {\n" + " new ActiveXObject('Microsoft.XMLDOM');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " return;\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java index b40074fe861..69c4fd97754 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java @@ -903,11 +903,11 @@ public void xpathWithNamespaces() throws Exception { + " var doc = " + callLoadXMLDocumentFromFile("'" + URL_SECOND + "'") + ";\n" + " try {\n" + " log(doc.selectNodes('//soap:book').length);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " try {\n" + " log(doc.evaluate('count(//book)', doc.documentElement, " + "null, XPathResult.NUMBER_TYPE, null).numberValue);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " logEx(e);\n" + " }\n" + " }\n" @@ -950,7 +950,7 @@ public void selectionNamespaces() throws Exception { + " doc.load('" + URL_SECOND + "');\n" + " try {\n" + " log(doc.selectNodes('/s:Envelope/ns1:books/s:book').length);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log(doc.evaluate('count(//book)', doc.documentElement, " + "null, XPathResult.NUMBER_TYPE, null).numberValue);\n" + " }}\n" @@ -986,7 +986,7 @@ public void nodeFromID() throws Exception { + " var doc = " + callLoadXMLDocumentFromFile("'" + URL_SECOND + "'") + ";\n" + " try {\n" + " log('nodeFromID ' + doc.nodeFromID('target'));\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('nodeFromID not available');\n" + " }\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java index 6bf7c3d9116..80c617ac041 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestLifeCycleTest.java @@ -1726,7 +1726,7 @@ else if (Execution.ONLY_SEND_PREFLIGHT_FORBIDDEN.equals(execution)) { htmlBuilder.append(" xhr.abort();\n"); htmlBuilder.append(" logText('abort-done: ' + xhr.readyState + '_' + xhr.status);\n"); } - htmlBuilder.append(" } catch (e) { logText('ExceptionThrown'); }\n"); + htmlBuilder.append(" } catch(e) { logText('ExceptionThrown'); }\n"); htmlBuilder.append(" }\n"); htmlBuilder.append(" function alertEventState(event) {\n"); @@ -1739,7 +1739,7 @@ else if (Execution.ONLY_SEND_PREFLIGHT_FORBIDDEN.equals(execution)) { htmlBuilder.append(" logText('abort-done: ' + xhr.readyState + '_' + xhr.status);"); htmlBuilder.append(" }\n"); } - htmlBuilder.append(" } catch (e) { logText('ExceptionThrown abort'); }\n"); + htmlBuilder.append(" } catch(e) { logText('ExceptionThrown abort'); }\n"); htmlBuilder.append(" }\n"); htmlBuilder.append(" function logText(txt) {\n"); diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index 4cbedb9ecf9..91653bd7a74 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -1084,7 +1084,7 @@ public void overrideMimeType() throws Exception { + " request.overrideMimeType('text/xml');\n" + " request.send('');\n" + " log(request.responseXML == null);\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1114,7 +1114,7 @@ public void overrideMimeTypeAfterSend() throws Exception { + " try {\n" + " request.overrideMimeType('text/xml');\n" + " log('overwritten');\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1143,7 +1143,7 @@ public void overrideMimeType_charset() throws Exception { + " request.overrideMimeType('text/plain; charset=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1169,7 +1169,7 @@ public void overrideMimeType_charset_upper_case() throws Exception { + " request.overrideMimeType('text/plain; chaRSet=GBK');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1195,7 +1195,7 @@ public void overrideMimeType_charset_empty() throws Exception { + " request.overrideMimeType('text/plain; charset=');\n" + " request.send('');\n" + " log(request.responseText.charCodeAt(0));\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1224,7 +1224,7 @@ public void overrideMimeType_charset_wrong() throws Exception { + " for (var i = 0; i < text.length; i++) {\n" + " log(text.charCodeAt(i));\n" + " }\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1544,7 +1544,7 @@ public void caseInsensitivityActiveXConstructor() throws Exception { + " var req = new ActiveXObject('msxml2.xMLhTTp');\n" + " log(req.readyState);\n" - + " } catch (e) { log('ActiveXObject not available'); }\n" + + " } catch(e) { log('ActiveXObject not available'); }\n" + "}\n" + "\n" + ""; @@ -1796,7 +1796,7 @@ public void responseXML_html_select() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').id);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -1834,7 +1834,7 @@ public void responseXML_html_form() throws Exception { + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" + " log(request.responseXML.getElementById('myID').myInput.name);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -1869,7 +1869,7 @@ public void caseSensitivity_activeX() throws Exception { + " var req = new ActiveXObject('MSXML2.XmlHttp');\n" + " log(req.readyState);\n" + " log(req.reAdYsTaTe);\n" - + " } catch (e) { log('ActiveXObject not available'); }\n" + + " } catch(e) { log('ActiveXObject not available'); }\n" + "}\n" + "\n" + ""; @@ -1890,7 +1890,7 @@ public void caseSensitivity_XMLHttpRequest() throws Exception { + " var req = new XMLHttpRequest();\n" + " log(req.readyState);\n" + " log(req.reAdYsTaTe);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + ""; @@ -1942,7 +1942,7 @@ public void overrideMimeType_charset_all() throws Exception { + " for (var i = 0; i < request.responseText.length; i++) {\n" + " log(request.responseText.charCodeAt(i));\n" + " }\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1993,7 +1993,7 @@ public void loadParameter() throws Exception { + " request.onload = someLoad;\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2031,7 +2031,7 @@ public void addEventListener() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2069,7 +2069,7 @@ public void addEventListenerDetails() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2108,7 +2108,7 @@ public void addEventListenerCaller() throws Exception { + " request.addEventListener('load', someLoad, false);\n" + " request.open('GET', '" + URL_SECOND + "', false);\n" + " request.send('');\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2137,7 +2137,7 @@ public void upload() throws Exception { + " try {\n" + " var request = new XMLHttpRequest();\n" + " log(request.upload);\n" - + " } catch (e) { logEx(e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -2294,7 +2294,7 @@ public void enctypeBlob() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(blob);\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2339,7 +2339,7 @@ public void enctypeBufferSource() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(typedArray);\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2381,7 +2381,7 @@ public void enctypeURLSearchParams() throws Exception { + " searchParams.append('q', 'HtmlUnit');\n" + " searchParams.append('u', '\u043B\u0189');\n" + " log(searchParams);\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: URLSearchParams');\n" + " }\n" + " try {\n" @@ -2389,7 +2389,7 @@ public void enctypeURLSearchParams() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(searchParams);\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2435,7 +2435,7 @@ public void enctypeFormData() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(formData);\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2478,7 +2478,7 @@ public void enctypeString() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send('HtmlUnit \u043B\u0189');\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2519,7 +2519,7 @@ public void enctypeUserDefined() throws Exception { + " xhr.setRequestHeader('Content-Type', 'text/jpeg');\n" + " xhr.send('HtmlUnit \u043B\u0189');\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error: ' + e.message);\n" + " }\n" + "}\n" @@ -2557,7 +2557,7 @@ public void setRequestHeaderNotOpend() throws Exception { + " var xhr = new XMLHttpRequest();\n" + " xhr.setRequestHeader('Content-Type', 'text/jpeg');\n" + " log('done');\n" - + " } catch (e) {\n" + + " } catch(e) {\n" + " log('error');\n" + " }\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java index 145c5dcf59b..6f67ea6f1a3 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XSLTProcessorTest.java @@ -201,7 +201,7 @@ public void type() throws Exception { + " log(typeof XSLTProcessor);\n" + " log(XSLTProcessor);\n" + " log(new XSLTProcessor());\n" - + " } catch (e) {logEx(e)}\n" + + " } catch(e) {logEx(e)}\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java index 6f66d452e90..e36a876f090 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/RegExpTest.java @@ -524,7 +524,7 @@ private void testEvaluate(final String expected, final String script) throws Exc + "function test() {\n" + " try {\n" + " log(" + script + ");\n" - + " } catch (e) { log(e); }\n" + + " } catch(e) { log(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java index 3efa272164b..aac516370bd 100644 --- a/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java +++ b/src/test/java/org/htmlunit/javascript/regexp/mozilla/js1_2/SimpleFormTest.java @@ -121,7 +121,7 @@ private void test(final String initialScript, final String script) throws Except html += initialScript + ";\n"; } html += " log(" + script + ");\n" - + "} catch (e) { logEx(e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(html); From 650db52e76308fe71fed67f8eb98b83fc2036c6f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 10:35:03 +0100 Subject: [PATCH 178/516] 'Illegal constructor' is a type error --- .../htmlunit/javascript/host/canvas/WebGL2RenderingContext.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLProgram.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLQuery.java | 2 +- .../org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLRenderingContext.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLSampler.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLShader.java | 2 +- .../javascript/host/canvas/WebGLShaderPrecisionFormat.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLSync.java | 2 +- .../java/org/htmlunit/javascript/host/canvas/WebGLTexture.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLTransformFeedback.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLUniformLocation.java | 2 +- .../htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java index e4edeba676c..c2236ed738a 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java @@ -2270,6 +2270,6 @@ public class WebGL2RenderingContext extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java index 285dbe1c745..4a83b91d273 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java @@ -33,6 +33,6 @@ public class WebGLActiveInfo extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java index d2dc13623ec..0bf71206799 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java @@ -33,6 +33,6 @@ public class WebGLBuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java index 68dd873bc7b..a6001c157ef 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java @@ -33,6 +33,6 @@ public class WebGLFramebuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java index 35a5a1c2e4f..08caf69d4c1 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java @@ -33,6 +33,6 @@ public class WebGLProgram extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java index 95079e3153c..1241859cb27 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java @@ -32,6 +32,6 @@ public class WebGLQuery extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java index 68401ce9404..bac767d7ac6 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java @@ -33,6 +33,6 @@ public class WebGLRenderbuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java index 925c2f44eba..4ef9e487b55 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java @@ -937,6 +937,6 @@ public class WebGLRenderingContext extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java index 79e78bf6ee9..ee738e56d34 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java @@ -32,6 +32,6 @@ public class WebGLSampler extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java index 9c4eb897ada..ffd876a99dc 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java @@ -33,6 +33,6 @@ public class WebGLShader extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java index fc63a8e5435..bcbc27e4863 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java @@ -33,6 +33,6 @@ public class WebGLShaderPrecisionFormat extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java index 16c88ba6525..9ff5c4c52ef 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java @@ -32,6 +32,6 @@ public class WebGLSync extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java index 99f0cf98ad9..8e28a20286f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java @@ -33,6 +33,6 @@ public class WebGLTexture extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java index 5b48f8a8560..c5237411e56 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java @@ -32,6 +32,6 @@ public class WebGLTransformFeedback extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java index dbc562eb03f..98f96ecb33a 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java @@ -33,6 +33,6 @@ public class WebGLUniformLocation extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java index 06537b53038..cf492cb8786 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java @@ -32,6 +32,6 @@ public class WebGLVertexArrayObject extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } From c8c1e174d621f9cf3052a4c0a8b0147e7840853c Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 10:35:26 +0100 Subject: [PATCH 179/516] 'Illegal constructor' is a type error --- src/changes/changes.xml | 3 ++ .../htmlunit/javascript/host/css/CSSRule.java | 2 +- .../host/css/CSSCounterStyleRuleTest.java | 50 +++++++++++++++++++ .../host/css/CSSFontFaceRuleTest.java | 28 +++++++++-- .../host/css/CSSGroupingRuleTest.java | 50 +++++++++++++++++++ .../host/css/CSSImportRuleTest.java | 20 ++++++++ .../host/css/CSSKeyframeRuleTest.java | 50 +++++++++++++++++++ .../host/css/CSSKeyframesRuleTest.java | 20 ++++++++ .../javascript/host/css/CSSMediaRuleTest.java | 19 +++++++ .../host/css/CSSNamespaceRuleTest.java | 50 +++++++++++++++++++ .../javascript/host/css/CSSPageRuleTest.java | 20 ++++++++ .../javascript/host/css/CSSStyleRuleTest.java | 20 ++++++++ .../host/css/CSSSupportsRuleTest.java | 50 +++++++++++++++++++ 13 files changed, 377 insertions(+), 5 deletions(-) create mode 100644 src/test/java/org/htmlunit/javascript/host/css/CSSCounterStyleRuleTest.java create mode 100644 src/test/java/org/htmlunit/javascript/host/css/CSSGroupingRuleTest.java create mode 100644 src/test/java/org/htmlunit/javascript/host/css/CSSKeyframeRuleTest.java create mode 100644 src/test/java/org/htmlunit/javascript/host/css/CSSNamespaceRuleTest.java create mode 100644 src/test/java/org/htmlunit/javascript/host/css/CSSSupportsRuleTest.java diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 27a49a953e6..f36df0120bd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,9 @@ + + 'Illegal constructor' is a type error. + Firefox ESR accept header no longer contains 'image/avif,image/webp,image/png,image/svg+xml'. diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java index 042abfd78e8..82cbf985c39 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java @@ -154,7 +154,7 @@ public CSSRule() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSCounterStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSCounterStyleRuleTest.java new file mode 100644 index 00000000000..08cc9e1fc59 --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSCounterStyleRuleTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.css; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link CSSCounterStyleRule}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class CSSCounterStyleRuleTest extends WebDriverTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java index 54fc2721f96..47f844a116c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSFontFaceRuleTest.java @@ -29,6 +29,26 @@ @RunWith(BrowserRunner.class) public class CSSFontFaceRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception if an error occurs */ @@ -52,7 +72,7 @@ public void simple() throws Exception { + " log(rule.type);\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -78,7 +98,7 @@ public void urlSlashSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -104,7 +124,7 @@ public void urlSlashColon() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); @@ -130,7 +150,7 @@ public void urlSlashSlash() throws Exception { + " var rule = styleSheet.cssRules[0];\n" + " log(rule.cssText);\n" + "}\n" - + "catch (e) { logEx(e); }\n" + + "catch(e) { logEx(e); }\n" + ""; loadPageVerifyTextArea2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSGroupingRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSGroupingRuleTest.java new file mode 100644 index 00000000000..715928b92cf --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSGroupingRuleTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.css; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link CSSGroupingRule}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class CSSGroupingRuleTest extends WebDriverTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java index 1885c3588da..1ee0c162c89 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSImportRuleTest.java @@ -36,6 +36,26 @@ @RunWith(BrowserRunner.class) public class CSSImportRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception if an error occurs */ diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframeRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframeRuleTest.java new file mode 100644 index 00000000000..4f3ae0a320e --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframeRuleTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.css; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link CSSKeyframeRule}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class CSSKeyframeRuleTest extends WebDriverTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java index fdefbadb3ef..787906a9e82 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSKeyframesRuleTest.java @@ -29,6 +29,26 @@ @RunWith(BrowserRunner.class) public class CSSKeyframesRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception if an error occurs */ diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index 66f056dcdeb..f750b1667c0 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -30,6 +30,25 @@ @RunWith(BrowserRunner.class) public class CSSMediaRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } /** * @throws Exception if an error occurs */ diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSNamespaceRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSNamespaceRuleTest.java new file mode 100644 index 00000000000..75385af64e6 --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSNamespaceRuleTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.css; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link CSSNamespaceRule}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class CSSNamespaceRuleTest extends WebDriverTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java index d6cc5d9bef2..8462e290658 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSPageRuleTest.java @@ -30,6 +30,26 @@ @RunWith(BrowserRunner.class) public class CSSPageRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception if an error occurs */ diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java index 4292e281092..5c5f70ab7ef 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleRuleTest.java @@ -31,6 +31,26 @@ @RunWith(BrowserRunner.class) public class CSSStyleRuleTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception on test failure */ diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSupportsRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSupportsRuleTest.java new file mode 100644 index 00000000000..7032e45163c --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSupportsRuleTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.css; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link CSSSupportsRule}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class CSSSupportsRuleTest extends WebDriverTestCase { + + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } +} From ced83a14730469b58069d36f44c1372e333446ab Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 10:47:15 +0100 Subject: [PATCH 180/516] test for the correct error --- .../htmlunit/javascript/host/crypto/Crypto.java | 2 +- .../javascript/host/crypto/SubtleCrypto.java | 2 +- .../java/org/htmlunit/html/HtmlHeading2Test.java | 4 +--- .../java/org/htmlunit/html/HtmlInput3Test.java | 4 ++-- .../java/org/htmlunit/html/HtmlOutputTest.java | 4 +--- .../java/org/htmlunit/html/HtmlScript2Test.java | 4 ++-- .../htmlunit/javascript/host/TextDecoderTest.java | 4 ++-- .../javascript/host/arrays/ArrayBufferTest.java | 4 ++-- .../javascript/host/crypto/CryptoTest.java | 4 ++-- .../javascript/host/crypto/SubtleCryptoTest.java | 4 ++-- .../javascript/host/css/CSSMediaRuleTest.java | 8 ++------ .../javascript/host/css/CSSSelectorTest.java | 6 +++--- .../host/css/CSSStyleDeclarationTest.java | 10 +++------- .../javascript/host/css/StyleSheetListTest.java | 15 +++------------ .../javascript/host/dom/AbstractRangeTest.java | 2 +- .../javascript/host/dom/Document2Test.java | 4 ++-- .../javascript/host/dom/DocumentTest.java | 2 +- .../htmlunit/javascript/host/dom/NodeTest.java | 8 ++------ .../javascript/host/dom/XPathResultTest.java | 4 ++-- .../htmlunit/javascript/host/event/EventTest.java | 4 +--- .../host/event/HashChangeEventTest.java | 4 ++-- 21 files changed, 38 insertions(+), 65 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java index 606a5bf27e5..e324617e620 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java @@ -51,7 +51,7 @@ public Crypto() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java index 4ff1abc80db..be6e239bcb4 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java @@ -37,7 +37,7 @@ public class SubtleCrypto extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } private NativePromise notImplemented() { diff --git a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java index 12a59f1be0d..33a502896dd 100644 --- a/src/test/java/org/htmlunit/html/HtmlHeading2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlHeading2Test.java @@ -105,9 +105,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var elem = document.getElementById('e1');\n" diff --git a/src/test/java/org/htmlunit/html/HtmlInput3Test.java b/src/test/java/org/htmlunit/html/HtmlInput3Test.java index 76a8b71625a..e8cd20ea8d9 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput3Test.java @@ -449,7 +449,7 @@ private void changeType(final String inputAttribs, final String value, final Str + " try {\n" + " input.type = '" + targetType + "';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -677,7 +677,7 @@ private void changeTypeDetached(final String value, final String targetType) thr + " try {\n" + " input.type = '" + targetType + "';\n" + " log(input.value + '-' + input.defaultValue + '-' + input.getAttribute('value'));\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/html/HtmlOutputTest.java b/src/test/java/org/htmlunit/html/HtmlOutputTest.java index a1127edba0d..9671af90480 100644 --- a/src/test/java/org/htmlunit/html/HtmlOutputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlOutputTest.java @@ -77,9 +77,7 @@ public void align() throws Exception { + " function set(fs, value) {\n" + " try {\n" + " fs.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var o1 = document.getElementById('o1');\n" + " var o2 = document.getElementById('o2');\n" diff --git a/src/test/java/org/htmlunit/html/HtmlScript2Test.java b/src/test/java/org/htmlunit/html/HtmlScript2Test.java index c15ff39d120..11d6b7e3deb 100644 --- a/src/test/java/org/htmlunit/html/HtmlScript2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlScript2Test.java @@ -560,8 +560,8 @@ public void addEventListener_NoContent() throws Exception { + " function test() {\n" + " var s1 = document.createElement('script');\n" + " s1.src = '" + scriptUrl + "';\n" - + " s1.addEventListener('load', function() {log('load')}, false);\n" - + " s1.addEventListener('error', function() {log('error')}, false);\n" + + " s1.addEventListener('load', function() { log('load'); }, false);\n" + + " s1.addEventListener('error', function() { logEx(e); }, false);\n" + " document.body.insertBefore(s1, document.body.firstChild);\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index 4d69edf910d..aed00269d5c 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -731,7 +731,7 @@ public void decode2() throws Exception { * @throws Exception on test failure */ @Test - @Alerts("ex") + @Alerts("RangeError") public void decodeReplacement() throws Exception { final String html = "\n" + "\n" @@ -740,7 +740,7 @@ public void decodeReplacement() throws Exception { + " function doTest() {\n" + " try {\n" + " var dec = new TextDecoder('iso-2022-kr');\n" - + " } catch(e) { log('ex'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java index e7c26a0367b..ff4c1e0ddee 100644 --- a/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java +++ b/src/test/java/org/htmlunit/javascript/host/arrays/ArrayBufferTest.java @@ -54,7 +54,7 @@ public void ctorLengthZero() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception true") + @Alerts("RangeError") public void ctorLengthNegative() throws Exception { final String html = "\n" @@ -64,7 +64,7 @@ public void ctorLengthNegative() throws Exception { + " try {\n" + " var buff = new ArrayBuffer(-1);\n" + " log(buff.byteLength);\n" - + " } catch(e) { log('exception ' + (e instanceof RangeError)); }" + + " } catch(e) { logEx(e); }" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java index 17e6f633f05..b9af22459b2 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/CryptoTest.java @@ -34,7 +34,7 @@ public class CryptoTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"function", "error"}) + @Alerts({"function", "TypeError"}) public void ctor() throws Exception { final String html = "\n" @@ -46,7 +46,7 @@ public void ctor() throws Exception { + " try {\n" + " log(typeof Crypto);\n" + " new Crypto();\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java index 1a5c71e0b02..bc7e335d92a 100644 --- a/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java +++ b/src/test/java/org/htmlunit/javascript/host/crypto/SubtleCryptoTest.java @@ -36,7 +36,7 @@ public class SubtleCryptoTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"function", "error"}) + @Alerts({"function", "TypeError"}) public void ctor() throws Exception { final String html = "\n" @@ -48,7 +48,7 @@ public void ctor() throws Exception { + " try {\n" + " log(typeof SubtleCrypto);\n" + " new SubtleCrypto();\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java index f750b1667c0..0400783af4d 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSMediaRuleTest.java @@ -818,9 +818,7 @@ public void insertRuleWithIndexNull() throws Exception { + " log(rules.item(i).cssText);\n" + " log(rules.item(i).parentRule);\n" + " }\n" - + " } catch(e) {\n" - + " log('exception'+e);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; @@ -855,9 +853,7 @@ public void insertRuleWithIndexNaN() throws Exception { + " log(rules.item(i).cssText);\n" + " log(rules.item(i).parentRule);\n" + " }\n" - + " } catch(e) {\n" - + " log('exception'+e);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java index 04ff8dc0268..9b5f5e3b1e4 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSSelectorTest.java @@ -2124,7 +2124,7 @@ public void escapedId() throws Exception { + " log(document.querySelectorAll('#silly\\\\~id')[0].id);\n" + " log(document.querySelectorAll(\"#silly\\\\~id\")[0].id);\n" - + "} catch(e) {log('exception ' + e)}\n" + + "} catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -2453,7 +2453,7 @@ public void xmlTagName() throws Exception { + " res = de.querySelectorAll('rEsulT');\n" + " log(res.length);\n" - + " } catch(e) {log('exception ' + e)}\n" + + " } catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); @@ -2507,7 +2507,7 @@ public void xmlAttribute() throws Exception { + " log(res.length);\n" + " log(res[0].innerHTML);\n" - + " } catch(e) {log('exception ' + e)}\n" + + " } catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index ce00c2fda46..ffc86c4e78a 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -3522,7 +3522,7 @@ public void widthAbsolute() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception true") + @Alerts("TypeError") public void ctor() throws Exception { final String html = "\n" @@ -3536,9 +3536,7 @@ public void ctor() throws Exception { + " try {" + " var c = new CSSStyleDeclaration();\n" + " log(c);\n" - + " } catch(e) {\n" - + " log('exception ' + (e instanceof TypeError));\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " \n" + ""; @@ -3573,9 +3571,7 @@ public void item() throws Exception { + " try {\n" + " log(decl.item(-1));\n" + " log(typeof decl.item(-1));\n" - + " } catch(e) {\n" - + " log('exception ');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java index 1003e5bda36..e6fbec2d23c 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/StyleSheetListTest.java @@ -117,24 +117,15 @@ public void arrayIndexOutOfBoundAccess() throws Exception { + " try {\n" + " log(document.styleSheets[0]);\n" - + " }\n" - + " catch(e) {\n" - + " log('exception for 0');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(document.styleSheets[46]);\n" - + " }\n" - + " catch(e) {\n" - + " log('exception for 46');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " try {\n" + " log(document.styleSheets[-2]);\n" - + " }\n" - + " catch(e) {\n" - + " log('exception for -2');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java index 90051a648bf..33ae7d098c3 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AbstractRangeTest.java @@ -40,7 +40,7 @@ public void prototype() throws Exception { + " function test() {\n" + " try {\n" + " log(typeof AbstractRange === 'function');\n" - + " } catch(e) { log('exception' + e) }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java index 0c053301343..cbe51e665be 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/Document2Test.java @@ -439,8 +439,8 @@ public void queryCommandEnabled() throws Exception { + LOG_TITLE_FUNCTION + "function x() {\n" + " var d = window.frames['f'].document;\n" - + " try { log(d.queryCommandEnabled('SelectAll')); } catch(e) { log('error'); }\n" - + " try { log(d.queryCommandEnabled('sElectaLL')); } catch(e) { log('error'); }\n" + + " try { log(d.queryCommandEnabled('SelectAll')); } catch(e) { logEx(e); }\n" + + " try { log(d.queryCommandEnabled('sElectaLL')); } catch(e) { logEx(e); }\n" + "}\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index e3331cbead4..565778ae7f0 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -1848,7 +1848,7 @@ public void getElementsByTagNameXml() throws Exception { + " res = xmlDoc.getElementsByTagName('rEsulT');\n" + " log(res.length);\n" - + " } catch(e) {log('exception ' + e)}\n" + + " } catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java index 7bca57e5468..64701243f70 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/NodeTest.java @@ -582,9 +582,7 @@ public void replaceChild() throws Exception { + " log(parent.innerHTML);\n" + " log(parent.replaceChild(fragment, parent.firstChild).id);\n" + " log(parent.innerHTML);\n" - + " } catch(e) {\n" - + " log('exception thrown');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "
        \n" @@ -612,9 +610,7 @@ public void replaceChild_EmptyDocumentFragment() throws Exception { + " log(parent.innerHTML);\n" + " log(parent.replaceChild(fragment, parent.firstChild).id);\n" + " log(parent.innerHTML);\n" - + " } catch(e) {\n" - + " log('exception thrown');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java index 3ffb22bf53c..05ec04b9721 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/XPathResultTest.java @@ -35,7 +35,7 @@ public class XPathResultTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"function", "error"}) + @Alerts({"function", "TypeError"}) public void ctor() throws Exception { final String html = "\n" @@ -52,7 +52,7 @@ public void ctor() throws Exception { + " try {\n" + " log(typeof XPathResult);\n" + " new XPathResult();\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index 29a459530e7..1b1fa19d3d1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -462,9 +462,7 @@ public void addEventListener_HandlerNull() throws Exception { + LOG_TITLE_FUNCTION + "try {\n" + " window.addEventListener('mousedown', null, true);\n" - + "} catch (err) {\n" - + " log('error');\n" - + "}\n" + + "} catch(e) { logEx(e); }\n" + "\n" + ""; loadPageVerifyTitle2(content); diff --git a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java index 626cbaab966..ca13dcd8bb1 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/HashChangeEventTest.java @@ -131,7 +131,7 @@ public void initHashChangeEvent() throws Exception { + " try {\n" + " var event = document.createEvent('HashChangeEvent');\n" + " log(event);\n" - + " } catch(e) { log('exception createEvent'); return; }\n" + + " } catch(e) { log('exception createEvent'); logEx(e); return; }\n" + " if (!event.initHashChangeEvent) {log('missing initHashChangeEvent'); return;}\n" @@ -139,7 +139,7 @@ public void initHashChangeEvent() throws Exception { + " event.initHashChangeEvent('hashchange', true, false, '" + URL_FIRST + "', '" + URL_FIRST + "#1');\n" + " dump(event);\n" - + " } catch(e) { log('exception initHashChangeEvent') }\n" + + " } catch(e) { log('exception initHashChangeEvent'); logEx(e); }\n" + " }\n" + DUMP_EVENT_FUNCTION + "\n" From 4d56f7294649dcb04987ca8f439e405a7d882b90 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 11:23:47 +0100 Subject: [PATCH 181/516] test for the correct error --- .../host/media/BaseAudioContext.java | 2 +- .../htmlunit/javascript/FunctionsTest.java | 4 ++-- .../javascript/JavaScriptEngine2Test.java | 2 +- .../htmlunit/javascript/host/ElementTest.java | 2 +- .../javascript/host/TextDecoderTest.java | 8 +++---- .../javascript/host/URLSearchParamsTest.java | 4 ++-- .../htmlunit/javascript/host/Window2Test.java | 2 +- .../htmlunit/javascript/host/Window3Test.java | 4 +--- .../javascript/host/dom/AttrTest.java | 6 ++--- .../javascript/host/dom/DocumentTest.java | 3 +-- .../javascript/host/event/EventTest.java | 4 ++-- .../host/event/MessageEventTest.java | 2 +- .../host/html/HTMLDivElementTest.java | 2 +- .../host/html/HTMLTableRowElementTest.java | 16 +++++-------- .../html/HTMLTableSectionElementTest.java | 24 +++++++++---------- .../host/html/HTMLTextAreaElementTest.java | 12 ++++------ .../host/media/AudioContextTest.java | 2 +- .../host/media/BaseAudioContextTest.java | 4 ++-- .../host/media/MediaDevicesTest.java | 2 +- .../host/media/OfflineAudioContextTest.java | 12 +++++----- .../javascript/host/worker/WorkerTest.java | 4 ++-- 21 files changed, 54 insertions(+), 67 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java index ce9a183dfeb..0472c76aa0c 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java @@ -41,7 +41,7 @@ public class BaseAudioContext extends EventTarget { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } /** diff --git a/src/test/java/org/htmlunit/javascript/FunctionsTest.java b/src/test/java/org/htmlunit/javascript/FunctionsTest.java index ed8c9ad6bf4..a970b2d788f 100644 --- a/src/test/java/org/htmlunit/javascript/FunctionsTest.java +++ b/src/test/java/org/htmlunit/javascript/FunctionsTest.java @@ -149,7 +149,7 @@ public void conditionallyCreatedFunction() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"error", "1"}) + @Alerts({"ReferenceError", "1"}) public void conditionallyCreatedFunctionStrict() throws Exception { final String html = "\n" @@ -159,7 +159,7 @@ public void conditionallyCreatedFunctionStrict() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " log('foo = ' + foo);\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " if (true) {\n" + " log(foo());\n" + " function foo() { return 1; }\n" diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index 0f838050ea0..ef401170348 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -1060,7 +1060,7 @@ public void javaNotAccessableFromWorker() throws Exception { + " myWorker.onmessage = function(e) {\n" + " log('Received: ' + e.data);\n" + " };\n" - + "} catch(e) { log('exception' + e); }\n" + + "} catch(e) { logEx(e); }\n" + "\n"; final String workerJs = "var pi = 'from worker';\n" diff --git a/src/test/java/org/htmlunit/javascript/host/ElementTest.java b/src/test/java/org/htmlunit/javascript/host/ElementTest.java index 266ce968ca0..86f45a768bf 100644 --- a/src/test/java/org/htmlunit/javascript/host/ElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/ElementTest.java @@ -313,7 +313,7 @@ public void getElementsByTagNameXml() throws Exception { + " res = de.getElementsByTagName('rEsulT');\n" + " log(res.length);\n" - + " } catch(e) {log('exception ' + e)}\n" + + " } catch(e) { logEx(e); }\n" + ""; loadPageVerifyTitle2(html); diff --git a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java index aed00269d5c..0be353b41f5 100644 --- a/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java +++ b/src/test/java/org/htmlunit/javascript/host/TextDecoderTest.java @@ -754,7 +754,7 @@ public void decodeReplacement() throws Exception { * @throws Exception on test failure */ @Test - @Alerts({"", "ex-null", "\uf7cf!"}) + @Alerts({"", "ex-null", "TypeError", "\uf7cf!"}) public void decodeXuserDefined() throws Exception { final String html = "\n" + "\n" @@ -765,16 +765,16 @@ public void decodeXuserDefined() throws Exception { + " try {\n" + " log(dec.decode(undefined));\n" - + " } catch(e) { log('ex-undefined'); }\n" + + " } catch(e) { log('ex-undefined'); logEx(e); }\n" + " try {\n" + " log(dec.decode(null));\n" - + " } catch(e) { log('ex-null'); }\n" + + " } catch(e) { log('ex-null'); logEx(e); }\n" + " try {\n" + " var bytes = new Uint8Array([ 207, 33]);" + " log(dec.decode(bytes));\n" - + " } catch(e) { log('exception' + e); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java index 6174c36b0b7..c487a6f66b8 100644 --- a/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java +++ b/src/test/java/org/htmlunit/javascript/host/URLSearchParamsTest.java @@ -349,7 +349,7 @@ public void stringValues() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception param") + @Alerts("TypeError") @HtmlUnitNYI(CHROME = "noValue=undefined", EDGE = "noValue=undefined", FF = "noValue=undefined", @@ -366,7 +366,7 @@ public void stringMissingParam() throws Exception { + " searchParams = new URLSearchParams();\n" + " searchParams.append('noValue');\n" + " log(searchParams);\n" - + " } catch(e) { log('exception param'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index e52c273848f..44ce8dbbb39 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -2325,7 +2325,7 @@ public void constructor() throws Exception { + " function test() {\n" + " try {\n" + " log(new Window());\n" - + " } catch(e) {log('exception ' + (e instanceof TypeError));}\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/Window3Test.java b/src/test/java/org/htmlunit/javascript/host/Window3Test.java index 39afd55f06f..31ec3d3d43a 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window3Test.java @@ -1621,9 +1621,7 @@ public void stop() throws Exception { + " try {\n" + " window.stop();\n" + " log(true);\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java index 5e20636513a..58e5e7510c9 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/AttrTest.java @@ -37,7 +37,7 @@ public class AttrTest extends WebDriverTestCase { * @throws Exception if the test fails */ @Test - @Alerts({"true", "exception thrown"}) + @Alerts({"true", "TypeError"}) public void specified() throws Exception { final String html = "\n" + "
        \n" diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index 565778ae7f0..a51faa95c95 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -2459,8 +2459,7 @@ public void scriptsArray() throws Exception { + " log(document.scripts);\n" + " try {\n" + " log(document.scripts.length);\n" // This line used to blow up - + " }\n" - + " catch(e) { log('exception occured') }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index 1b1fa19d3d1..9ea27e3939c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -796,7 +796,7 @@ private void testInitEvent(final String eventType) throws Exception { + " log(e.type);\n" + " log(e.bubbles);\n" + " log(e.cancelable);\n" - + " } catch(e) { log('e-' + '" + eventType + "'); }\n" + + " } catch(e) { log('e-' + '" + eventType + "'); logEx(e); }\n" + " var e = document.createEvent('Event');\n" + " try {\n" @@ -804,7 +804,7 @@ private void testInitEvent(final String eventType) throws Exception { + " log(e.type);\n" + " log(e.bubbles);\n" + " log(e.cancelable);\n" - + " } catch(e) { log('e2-' + '" + eventType + "'); }\n" + + " } catch(e) { log('e2-' + '" + eventType + "'); logEx(e); }\n" + " }\n" + "\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java index c8ddd24d6a2..a524b97560c 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/MessageEventTest.java @@ -200,7 +200,7 @@ public void initMessageEvent() throws Exception { + " try {\n" + " e.initMessageEvent('message', true, true, 'hello', '" + origin + "', 2, window, []);\n" + " dump(e);\n" - + " } catch(e) { log('exception ' + e); }\n" + + " } catch(e) { logEx(e); }\n" + "} else {\n" + " log('no initMessageEvent');\n" + "}\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java index 1f9d235e6fa..2c14aab5693 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLDivElementTest.java @@ -107,7 +107,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java index 2d5785e154a..5bbc9213045 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableRowElementTest.java @@ -138,9 +138,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var tr1 = document.getElementById('tr1');\n" + " var tr2 = document.getElementById('tr2');\n" @@ -241,9 +239,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var tr1 = document.getElementById('tr1');\n" + " var tr2 = document.getElementById('tr2');\n" @@ -370,11 +366,11 @@ public void innerText() throws Exception { + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.innerText = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = ''; } catch(e) {log('ex');}\n" + + " try { node.innerText = ''; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + ""; @@ -398,11 +394,11 @@ public void textContent() throws Exception { + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.textContent = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = ''; } catch(e) {log('ex');}\n" + + " try { node.textContent = ''; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index a8bac7a1b56..0918cf3e12d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -373,11 +373,11 @@ public void innerText_body() throws Exception { + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.innerText = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = ''; } catch(e) {log('ex');}\n" + + " try { node.innerText = ''; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + ""; @@ -401,11 +401,11 @@ public void innerText_header() throws Exception { + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.innerText = 'abc'; } catch(e) { log(e); }\n" + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = ''; } catch(e) {log('ex');}\n" + + " try { node.innerText = ''; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + ""; @@ -429,11 +429,11 @@ public void innerText_footer() throws Exception { + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.innerText = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = ''; } catch(e) {log('ex');}\n" + + " try { node.innerText = ''; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + ""; @@ -457,11 +457,11 @@ public void textContent_body() throws Exception { + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.textContent = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = ''; } catch(e) {log('ex');}\n" + + " try { node.textContent = ''; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + ""; @@ -485,11 +485,11 @@ public void textContent_header() throws Exception { + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.textContent = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = ''; } catch(e) {log('ex');}\n" + + " try { node.textContent = ''; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + ""; @@ -513,11 +513,11 @@ public void textContent_footer() throws Exception { + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.textContent = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = ''; } catch(e) {log('ex');}\n" + + " try { node.textContent = ''; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + ""; diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java index 29a75f6c505..33cc50fce90 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTextAreaElementTest.java @@ -376,9 +376,7 @@ public void cols() throws Exception { + " function setCols(e, value) {\n" + " try {\n" + " e.cols = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -427,9 +425,7 @@ public void rows() throws Exception { + " function setRows(e, value) {\n" + " try {\n" + " e.rows = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" @@ -667,7 +663,7 @@ public void minLength() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"10", "10", "error", "10", "10", "0", "0"}) + @Alerts({"10", "10", "IndexSizeError/DOMException", "10", "10", "0", "0"}) public void setMaxLength() throws Exception { final String html = "\n" @@ -677,7 +673,7 @@ public void setMaxLength() throws Exception { + " function setMaxLength(length){\n" + " try {\n" + " document.form1.textarea1.maxLength = length;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java index e9ae58dd8d7..f45507ad4ea 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/AudioContextTest.java @@ -72,7 +72,7 @@ public void ctor() throws Exception { + " try {\n" + " log(typeof AudioContext);\n" + " log(new AudioContext());\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java index 7face56e0aa..5a3c0f417fc 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/BaseAudioContextTest.java @@ -55,7 +55,7 @@ public void inWindow() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"function", "error"}) + @Alerts({"function", "TypeError"}) public void ctor() throws Exception { final String html = "\n" @@ -72,7 +72,7 @@ public void ctor() throws Exception { + " try {\n" + " log(typeof BaseAudioContext);\n" + " new BaseAudioContext();\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java index 657f222afdd..938532acb64 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/MediaDevicesTest.java @@ -69,7 +69,7 @@ public void getUserMedia() throws Exception { + " if (md) {\n" + " md.getUserMedia({})\n" + " .then(function(stream) { log(stream); })\n" - + " .catch(function(err) { log('err'); });" + + " .catch(function(e) { logEx(e); });" + " }\n" + " }\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java index fb94db33ce9..46e04e598db 100644 --- a/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java +++ b/src/test/java/org/htmlunit/javascript/host/media/OfflineAudioContextTest.java @@ -55,7 +55,7 @@ public void inWindow() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"function", "error", "[object OfflineAudioContext]"}) + @Alerts({"function", "TypeError", "[object OfflineAudioContext]"}) public void ctor() throws Exception { final String html = "\n" @@ -72,7 +72,7 @@ public void ctor() throws Exception { + " log(typeof OfflineAudioContext);\n" + " try {\n" + " log(new OfflineAudioContext());\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(new OfflineAudioContext({length: 44100 * 1, sampleRate: 44100}));\n" + " }\n" + " \n" @@ -119,7 +119,7 @@ public void createBufferSource() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"OfflineAudioContext prep done", "Error with decoding audio data"}) + @Alerts({"OfflineAudioContext prep done", "Error with decoding audio data", "EncodingError/DOMException"}) public void decodeAudioData() throws Exception { final String html = "\n" @@ -137,7 +137,7 @@ public void decodeAudioData() throws Exception { + " var audioData = new ArrayBuffer(0);\n" + " audioCtx.decodeAudioData(audioData,\n" + " function(buffer) { log('Decoding audio data done'); },\n" - + " function(e) { log('Error with decoding audio data'); }\n" + + " function(e) { log('Error with decoding audio data'); logEx(e); }\n" + " );\n" + " log('OfflineAudioContext prep done');\n" + " }\n" @@ -155,7 +155,7 @@ public void decodeAudioData() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"OfflineAudioContext prep done", "Error with decoding audio data"}) + @Alerts({"OfflineAudioContext prep done", "Error with decoding audio data", "EncodingError/DOMException"}) public void decodeAudioData2() throws Exception { final String html = "\n" @@ -173,7 +173,7 @@ public void decodeAudioData2() throws Exception { + " var audioData = new ArrayBuffer(0);\n" + " audioCtx.decodeAudioData(audioData).then(\n" + " function(buffer) { log('Decoding audio data done'); },\n" - + " function(e) { log('Error with decoding audio data'); }\n" + + " function(e) { log('Error with decoding audio data'); logEx(e); }\n" + " );\n" + " log('OfflineAudioContext prep done');\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java index 1ef339d0a6a..040204c0418 100644 --- a/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java +++ b/src/test/java/org/htmlunit/javascript/host/worker/WorkerTest.java @@ -231,7 +231,7 @@ public void thisAndSelf() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("exception catched") + @Alerts("TypeError") public void createFromPrototypeAndDefineProperty() throws Exception { final String html = ""; loadPageVerifyTitle2(html); From 6a9c14c68a1d09fb29bde6d7c14c798ed087f416 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 13:23:12 +0100 Subject: [PATCH 182/516] HtmlTextArea - several fixes to throw the correct error AudioContext/OfflineAudioContext - several fixes to throw the correct error. --- src/changes/changes.xml | 6 ++++++ .../javascript/host/dom/XPathResult.java | 2 +- .../host/html/HTMLTextAreaElement.java | 6 ++++-- .../javascript/host/media/BaseAudioContext.java | 9 ++++++++- .../host/media/OfflineAudioContext.java | 2 +- .../htmlunit/javascript/host/Window2Test.java | 2 +- .../javascript/host/css/CSSMediaRuleTest.java | 1 + .../javascript/host/media/MediaDevicesTest.java | 7 ++++++- .../host/media/OfflineAudioContextTest.java | 17 +++++++++++++++++ 9 files changed, 45 insertions(+), 7 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index f36df0120bd..d16b21c08fd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,12 @@ + + HtmlTextArea - several fixes to throw the correct error. + + + AudioContext/OfflineAudioContext - several fixes to throw the correct error. + 'Illegal constructor' is a type error. diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java index a363cebe3b8..7bc6aa626f3 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java @@ -118,7 +118,7 @@ public class XPathResult extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java b/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java index f73a90c6873..e925fe58700 100644 --- a/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java +++ b/src/main/java/org/htmlunit/javascript/host/html/HTMLTextAreaElement.java @@ -21,6 +21,7 @@ import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.configuration.JsxGetter; import org.htmlunit.javascript.configuration.JsxSetter; +import org.htmlunit.javascript.host.dom.DOMException; import org.htmlunit.javascript.host.dom.NodeList; /** @@ -288,8 +289,9 @@ public void setMaxLength(final String maxLength) { final int i = Integer.parseInt(maxLength); if (i < 0) { - throw JavaScriptEngine.throwAsScriptRuntimeEx( - new NumberFormatException("New value for maxLength '" + maxLength + "' is smaller than zero.")); + throw JavaScriptEngine.asJavaScriptException(getWindow(), + "New value for maxLength '" + maxLength + "' is smaller than zero.", + DOMException.INDEX_SIZE_ERR); } getDomNodeOrDie().setAttribute("maxLength", maxLength); } diff --git a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java index 0472c76aa0c..5b0f2a5fe1e 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java @@ -24,6 +24,7 @@ import org.htmlunit.javascript.configuration.JsxConstructor; import org.htmlunit.javascript.configuration.JsxFunction; import org.htmlunit.javascript.host.Window; +import org.htmlunit.javascript.host.dom.DOMException; import org.htmlunit.javascript.host.event.EventTarget; /** @@ -103,11 +104,17 @@ public NativePromise decodeAudioData(final NativeArrayBuffer buffer, final Funct final JavaScriptEngine jsEngine = (JavaScriptEngine) window.getWebWindow().getWebClient().getJavaScriptEngine(); + final DOMException domException = new DOMException( + "decodeAudioData not supported by HtmlUnit", DOMException.NOT_SUPPORTED_ERR); + domException.setParentScope(window); + domException.setPrototype(window.getPrototype(DOMException.class)); + if (error != null) { jsEngine.addPostponedAction(new PostponedAction(owningPage, "BaseAudioContext.decodeAudioData") { @Override public void execute() { - jsEngine.callFunction(owningPage, error, getParentScope(), BaseAudioContext.this, new Object[] {}); + jsEngine.callFunction(owningPage, error, getParentScope(), BaseAudioContext.this, + new Object[] {domException}); } }); return null; diff --git a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java index e038a6abb40..cddfa5e2e69 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java @@ -36,7 +36,7 @@ public class OfflineAudioContext extends BaseAudioContext { @JsxConstructor public void jsConstructor(final ScriptableObject optionsOrNumberOfChannels) { if (optionsOrNumberOfChannels == null) { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeError("Illegal constructor."); } } diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index 44ce8dbbb39..dcb6d85ffb6 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -2317,7 +2317,7 @@ public void calledTwice() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("exception true") + @Alerts("TypeError") public void constructor() throws Exception { final String html = "\n" + "\n" + + ""; + + loadPageVerifyTitle2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionErrorTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionErrorTest.java new file mode 100644 index 00000000000..5f6879b746a --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionErrorTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.geo; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link GeolocationPositionError}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class GeolocationPositionErrorTest extends WebDriverTestCase { + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html = + "\n" + + ""; + + loadPageVerifyTitle2(html); + } +} diff --git a/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionTest.java b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionTest.java new file mode 100644 index 00000000000..bdf176025e4 --- /dev/null +++ b/src/test/java/org/htmlunit/javascript/host/geo/GeolocationPositionTest.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002-2025 Gargoyle Software Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.htmlunit.javascript.host.geo; + +import org.htmlunit.WebDriverTestCase; +import org.htmlunit.junit.BrowserRunner; +import org.htmlunit.junit.annotation.Alerts; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Tests for {@link GeolocationPosition}. + * + * @author Ronald Brill + */ +@RunWith(BrowserRunner.class) +public class GeolocationPositionTest extends WebDriverTestCase { + + /** + * @throws Exception if the test fails + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html = + "\n" + + ""; + + loadPageVerifyTitle2(html); + } +} From 9d0b951676255a1e5361e8ccb9f084500175af0d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 13:36:12 +0100 Subject: [PATCH 184/516] 'Illegal constructor' is a type error --- .../htmlunit/javascript/JavaScriptEngine.java | 9 +++++++++ .../host/canvas/WebGL2RenderingContext.java | 2 +- .../host/canvas/WebGLActiveInfo.java | 2 +- .../javascript/host/canvas/WebGLBuffer.java | 2 +- .../host/canvas/WebGLFramebuffer.java | 2 +- .../javascript/host/canvas/WebGLProgram.java | 2 +- .../javascript/host/canvas/WebGLQuery.java | 2 +- .../host/canvas/WebGLRenderbuffer.java | 2 +- .../host/canvas/WebGLRenderingContext.java | 2 +- .../javascript/host/canvas/WebGLSampler.java | 2 +- .../javascript/host/canvas/WebGLShader.java | 2 +- .../canvas/WebGLShaderPrecisionFormat.java | 2 +- .../javascript/host/canvas/WebGLSync.java | 2 +- .../javascript/host/canvas/WebGLTexture.java | 2 +- .../host/canvas/WebGLTransformFeedback.java | 2 +- .../host/canvas/WebGLUniformLocation.java | 2 +- .../host/canvas/WebGLVertexArrayObject.java | 2 +- .../javascript/host/crypto/Crypto.java | 2 +- .../javascript/host/crypto/SubtleCrypto.java | 2 +- .../htmlunit/javascript/host/css/CSSRule.java | 2 +- .../javascript/host/css/CSSRuleList.java | 2 +- .../javascript/host/dom/AbstractRange.java | 2 +- .../javascript/host/dom/Document.java | 2 +- .../javascript/host/dom/DocumentType.java | 2 +- .../javascript/host/dom/TreeWalker.java | 2 +- .../javascript/host/dom/XPathResult.java | 2 +- .../javascript/host/geo/Geolocation.java | 2 +- .../host/geo/GeolocationCoordinates.java | 2 +- .../host/geo/GeolocationPosition.java | 2 +- .../host/geo/GeolocationPositionError.java | 2 +- .../host/media/BaseAudioContext.java | 2 +- .../host/media/OfflineAudioContext.java | 2 +- .../javascript/host/svg/SVGElement.java | 2 +- .../host/worker/WorkerGlobalScope.java | 2 +- .../host/worker/WorkerLocation.java | 2 +- .../host/worker/WorkerNavigator.java | 2 +- .../host/xml/XMLHttpRequestEventTarget.java | 2 +- .../javascript/host/css/CSSRuleListTest.java | 20 +++++++++++++++++++ 38 files changed, 65 insertions(+), 36 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java index 5356ef88416..8dd1b085aa6 100644 --- a/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java +++ b/src/main/java/org/htmlunit/javascript/JavaScriptEngine.java @@ -1169,6 +1169,15 @@ public static EcmaError typeError(final String message) { return ScriptRuntime.typeError(message); } + /** + * Report a TypeError with the message "Illegal constructor.". + * + * @return EcmaError + */ + public static EcmaError typeErrorIllegalConstructor() { + throw JavaScriptEngine.typeError("Illegal constructor."); + } + /** * Report a runtime error using the error reporter for the current thread. * diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java index c2236ed738a..5c4ac11babe 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGL2RenderingContext.java @@ -2270,6 +2270,6 @@ public class WebGL2RenderingContext extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java index 4a83b91d273..8d9de1e9b4d 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLActiveInfo.java @@ -33,6 +33,6 @@ public class WebGLActiveInfo extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java index 0bf71206799..70593a6589f 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLBuffer.java @@ -33,6 +33,6 @@ public class WebGLBuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java index a6001c157ef..aa4df099a12 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLFramebuffer.java @@ -33,6 +33,6 @@ public class WebGLFramebuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java index 08caf69d4c1..9097248dfa4 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLProgram.java @@ -33,6 +33,6 @@ public class WebGLProgram extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java index 1241859cb27..3960ea1bbf2 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLQuery.java @@ -32,6 +32,6 @@ public class WebGLQuery extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java index bac767d7ac6..c903d9f3ec3 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderbuffer.java @@ -33,6 +33,6 @@ public class WebGLRenderbuffer extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java index 4ef9e487b55..7bd8cb5b3be 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLRenderingContext.java @@ -937,6 +937,6 @@ public class WebGLRenderingContext extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java index ee738e56d34..0d37bf656a6 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSampler.java @@ -32,6 +32,6 @@ public class WebGLSampler extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java index ffd876a99dc..53628f74ef3 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShader.java @@ -33,6 +33,6 @@ public class WebGLShader extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java index bcbc27e4863..683161a1009 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLShaderPrecisionFormat.java @@ -33,6 +33,6 @@ public class WebGLShaderPrecisionFormat extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java index 9ff5c4c52ef..5d8743b32c5 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLSync.java @@ -32,6 +32,6 @@ public class WebGLSync extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java index 8e28a20286f..f3ee6b03403 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTexture.java @@ -33,6 +33,6 @@ public class WebGLTexture extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java index c5237411e56..bc78598ae94 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLTransformFeedback.java @@ -32,6 +32,6 @@ public class WebGLTransformFeedback extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java index 98f96ecb33a..114a03c10ef 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLUniformLocation.java @@ -33,6 +33,6 @@ public class WebGLUniformLocation extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java index cf492cb8786..d5399243d73 100644 --- a/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java +++ b/src/main/java/org/htmlunit/javascript/host/canvas/WebGLVertexArrayObject.java @@ -32,6 +32,6 @@ public class WebGLVertexArrayObject extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java index e324617e620..05d8e2209ee 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/Crypto.java @@ -51,7 +51,7 @@ public Crypto() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java index be6e239bcb4..30f602a0a78 100644 --- a/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java +++ b/src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java @@ -37,7 +37,7 @@ public class SubtleCrypto extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } private NativePromise notImplemented() { diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java index 82cbf985c39..177e7419604 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSRule.java @@ -154,7 +154,7 @@ public CSSRule() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java b/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java index 0b4eecfd845..2df2639e381 100644 --- a/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java +++ b/src/main/java/org/htmlunit/javascript/host/css/CSSRuleList.java @@ -52,7 +52,7 @@ public CSSRuleList() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java index dd7d50f1516..11071f19354 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/AbstractRange.java @@ -47,7 +47,7 @@ public AbstractRange() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/Document.java b/src/main/java/org/htmlunit/javascript/host/dom/Document.java index 3bd9db59f6f..d7087a4234e 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/Document.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/Document.java @@ -280,7 +280,7 @@ public class Document extends Node { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java b/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java index c2ea516eade..003ee1af583 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/DocumentType.java @@ -42,7 +42,7 @@ public class DocumentType extends Node { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java b/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java index 542fead3e29..6f893b80a9c 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/TreeWalker.java @@ -52,7 +52,7 @@ public TreeWalker() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java index 7bc6aa626f3..5997f2b91ec 100644 --- a/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java +++ b/src/main/java/org/htmlunit/javascript/host/dom/XPathResult.java @@ -118,7 +118,7 @@ public class XPathResult extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java b/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java index 8c2f733a4a9..4d6b33d5549 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/Geolocation.java @@ -47,7 +47,7 @@ public class Geolocation extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java index 8e82ba9f123..b5ce9a01dc4 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationCoordinates.java @@ -52,7 +52,7 @@ public GeolocationCoordinates() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java index ea560ebfe9c..e9102b0b714 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPosition.java @@ -48,7 +48,7 @@ public GeolocationPosition() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java index 4f76061059d..a7a2a1b2d1a 100644 --- a/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java +++ b/src/main/java/org/htmlunit/javascript/host/geo/GeolocationPositionError.java @@ -44,6 +44,6 @@ public class GeolocationPositionError extends HtmlUnitScriptable { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java index 5b0f2a5fe1e..31ce1618ae4 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/BaseAudioContext.java @@ -42,7 +42,7 @@ public class BaseAudioContext extends EventTarget { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java index cddfa5e2e69..4ed5ba6237e 100644 --- a/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java +++ b/src/main/java/org/htmlunit/javascript/host/media/OfflineAudioContext.java @@ -36,7 +36,7 @@ public class OfflineAudioContext extends BaseAudioContext { @JsxConstructor public void jsConstructor(final ScriptableObject optionsOrNumberOfChannels) { if (optionsOrNumberOfChannels == null) { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } } diff --git a/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java b/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java index eb8e6d563ae..0628276b6dd 100644 --- a/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java +++ b/src/main/java/org/htmlunit/javascript/host/svg/SVGElement.java @@ -46,7 +46,7 @@ public class SVGElement extends Element { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java index 3deb5e2feab..cc703ccc160 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerGlobalScope.java @@ -43,7 +43,7 @@ public WorkerGlobalScope() { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java index c537d1e4603..40df68c5e8c 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerLocation.java @@ -54,7 +54,7 @@ public WorkerLocation() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java b/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java index c60997db6a9..fab7f586674 100644 --- a/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java +++ b/src/main/java/org/htmlunit/javascript/host/worker/WorkerNavigator.java @@ -57,7 +57,7 @@ public WorkerNavigator() { */ @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.reportRuntimeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java index ca9549b5316..89aa0abd4b9 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequestEventTarget.java @@ -40,7 +40,7 @@ public class XMLHttpRequestEventTarget extends EventTarget { @Override @JsxConstructor public void jsConstructor() { - throw JavaScriptEngine.typeError("Illegal constructor."); + throw JavaScriptEngine.typeErrorIllegalConstructor(); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java index e80b9362eee..7082c02b58e 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSRuleListTest.java @@ -30,6 +30,26 @@ @RunWith(BrowserRunner.class) public class CSSRuleListTest extends WebDriverTestCase { + /** + * @throws Exception if an error occurs + */ + @Test + @Alerts("TypeError") + public void ctor() throws Exception { + final String html + = "\n" + + LOG_TEXTAREA + + ""; + + loadPageVerifyTextArea2(html); + } + /** * @throws Exception on test failure */ From 72599b0d3c94ed593e3fac6aeb1a6d319e0cd818 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 13:49:50 +0100 Subject: [PATCH 185/516] XMLHttpRequest - several fixes to throw the correct error --- .../javascript/host/xml/XMLHttpRequest.java | 5 +- .../javascript/JavaScriptEngine2Test.java | 4 +- .../htmlunit/javascript/NativeStringTest.java | 12 ++--- .../host/xml/XMLHttpRequestTest.java | 53 +++++++------------ 4 files changed, 28 insertions(+), 46 deletions(-) diff --git a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java index 1ce0e4b9565..364142d1ac8 100644 --- a/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java +++ b/src/main/java/org/htmlunit/javascript/host/xml/XMLHttpRequest.java @@ -1182,7 +1182,10 @@ public void setRequestHeader(final String name, final String value) { webRequest_.setAdditionalHeader(name, value); } else { - throw JavaScriptEngine.reportRuntimeError("The open() method must be called before setRequestHeader()."); + throw JavaScriptEngine.asJavaScriptException( + getWindow(), + "The open() method must be called before setRequestHeader().", + DOMException.INVALID_STATE_ERR); } } diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index ef401170348..c36166868fb 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -430,9 +430,7 @@ public void recursion() throws Exception { + LOG_TITLE_FUNCTION + " try {\n" + " recurse(c++);\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/NativeStringTest.java b/src/test/java/org/htmlunit/javascript/NativeStringTest.java index 7cefd516e01..bf84a2c8965 100644 --- a/src/test/java/org/htmlunit/javascript/NativeStringTest.java +++ b/src/test/java/org/htmlunit/javascript/NativeStringTest.java @@ -358,7 +358,7 @@ public void includesRegExpMatch() throws Exception { * @throws Exception if something goes wrong */ @Test - @Alerts({"Error", "true"}) + @Alerts({"TypeError", "true"}) public void startsWithRegExpMatch() throws Exception { final String html = "\n" @@ -370,9 +370,7 @@ public void startsWithRegExpMatch() throws Exception { + " var res = '';\n" + " try {\n" + " log('/./'.startsWith(regExp));\n" - + " } catch(e) {\n" - + " log('Error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " regExp[Symbol.match] = false;\n" + " log('/./'.startsWith(regExp));\n" + " }\n" @@ -388,7 +386,7 @@ public void startsWithRegExpMatch() throws Exception { * @throws Exception if something goes wrong */ @Test - @Alerts({"Error", "true"}) + @Alerts({"TypeError", "true"}) public void endsWithRegExpMatch() throws Exception { final String html = "\n" @@ -400,9 +398,7 @@ public void endsWithRegExpMatch() throws Exception { + " var res = '';\n" + " try {\n" + " log('/./'.endsWith(regExp));\n" - + " } catch(e) {\n" - + " log('Error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " regExp[Symbol.match] = false;\n" + " log('/./'.endsWith(regExp));\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java index 91653bd7a74..21b27f8b766 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLHttpRequestTest.java @@ -2294,9 +2294,7 @@ public void enctypeBlob() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(blob);\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2339,9 +2337,7 @@ public void enctypeBufferSource() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(typedArray);\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2381,17 +2377,14 @@ public void enctypeURLSearchParams() throws Exception { + " searchParams.append('q', 'HtmlUnit');\n" + " searchParams.append('u', '\u043B\u0189');\n" + " log(searchParams);\n" - + " } catch(e) {\n" - + " log('error: URLSearchParams');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + + " try {\n" + " var xhr = new XMLHttpRequest();\n" + " xhr.open('post', '/test2', false);\n" + " xhr.send(searchParams);\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2435,9 +2428,7 @@ public void enctypeFormData() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send(formData);\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2478,9 +2469,7 @@ public void enctypeString() throws Exception { + " xhr.open('post', '/test2', false);\n" + " xhr.send('HtmlUnit \u043B\u0189');\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2519,9 +2508,7 @@ public void enctypeUserDefined() throws Exception { + " xhr.setRequestHeader('Content-Type', 'text/jpeg');\n" + " xhr.send('HtmlUnit \u043B\u0189');\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error: ' + e.message);\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2545,7 +2532,7 @@ public void enctypeUserDefined() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("error") + @Alerts("InvalidStateError/DOMException") public void setRequestHeaderNotOpend() throws Exception { final String html = "\n" @@ -2557,9 +2544,7 @@ public void setRequestHeaderNotOpend() throws Exception { + " var xhr = new XMLHttpRequest();\n" + " xhr.setRequestHeader('Content-Type', 'text/jpeg');\n" + " log('done');\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -2903,9 +2888,9 @@ public void responseTypeSetAfterOpenAsync() throws Exception { @Test @Alerts(DEFAULT = {"", "", "arraybuffer", "InvalidStateError/DOMException", - "send done", "ex InvalidStateError"}, - FF = {"", "", "arraybuffer", "", "send done", "ex InvalidStateError"}, - FF_ESR = {"", "", "arraybuffer", "", "send done", "ex InvalidStateError"}) + "send done", "InvalidStateError/DOMException"}, + FF = {"", "", "arraybuffer", "", "send done", "InvalidStateError/DOMException"}, + FF_ESR = {"", "", "arraybuffer", "", "send done", "InvalidStateError/DOMException"}) public void responseTextInvalidResponseType() throws Exception { final String html = "\n" @@ -2943,7 +2928,7 @@ public void responseTextInvalidResponseType() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.responseText);\n" - + " } catch(e) { log('ex ' + e.name); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3363,7 +3348,7 @@ public void responseResponseTypeJson() throws Exception { + " log(xhr.response);\n" + " log(xhr.response.Html);\n" + " log(JSON.stringify(xhr.response));\n" - + " } catch(ex) { log('exception' + ex); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3404,7 +3389,7 @@ public void responseResponseTypeJsonEmpty() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception' + ex); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3445,7 +3430,7 @@ public void responseResponseTypeDocumentXml() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception' + ex); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3489,7 +3474,7 @@ public void responseResponseTypeDocumentHtml() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception' + ex); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -3533,7 +3518,7 @@ public void responseResponseTypeDocumentJs() throws Exception { + " if (xhr.readyState == 4) {\n" + " try {\n" + " log(xhr.response);\n" - + " } catch(ex) { log('exception' + ex); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " }\n" + " \n" From 2e56a647d91ff9b3e0538d6bc738139297846091 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 7 Feb 2025 14:08:28 +0100 Subject: [PATCH 186/516] test for the correct error --- .../host/html/HTMLElement2Test.java | 4 +--- .../host/html/HTMLEmbedElementTest.java | 6 +++--- .../host/html/HTMLFieldSetElementTest.java | 2 +- .../host/html/HTMLFrameElement2Test.java | 2 +- .../host/html/HTMLHRElementTest.java | 2 +- .../host/html/HTMLHeadingElementTest.java | 2 +- .../host/html/HTMLIFrameElement2Test.java | 2 +- .../host/html/HTMLIFrameElement3Test.java | 8 ++------ .../host/html/HTMLImageElementTest.java | 6 +++--- .../host/html/HTMLInputElementTest.java | 4 ++-- .../host/html/HTMLLegendElementTest.java | 2 +- .../host/html/HTMLMenuElementTest.java | 12 +++++------ .../host/html/HTMLParagraphElementTest.java | 4 +--- .../html/HTMLTableCaptionElementTest.java | 6 ++---- .../host/html/HTMLTableCellElementTest.java | 20 +++++-------------- .../host/html/HTMLTableColElementTest.java | 14 ++++--------- .../host/html/HTMLTableElementTest.java | 18 +++++++---------- .../html/HTMLTableSectionElementTest.java | 16 ++++----------- .../javascript/host/xml/XMLDocumentTest.java | 6 +++--- 19 files changed, 49 insertions(+), 87 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java index c72c5d43308..c4d7774a74d 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLElement2Test.java @@ -78,9 +78,7 @@ public void scopeName2() throws Exception { + " x.tagUrn = 'http://www.meh.com/meh';\n" + " log(x.scopeName);\n" + " log(x.tagUrn);\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java index 58e9a2427f6..b7a8630ba6c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLEmbedElementTest.java @@ -91,7 +91,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" @@ -157,7 +157,7 @@ public void setHeight() throws Exception { + " function setHeight(elem, value) {\n" + " try {\n" + " elem.height = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.height);\n" + " }\n" @@ -214,7 +214,7 @@ public void setWidth() throws Exception { + " function setWidth(elem, value) {\n" + " try {\n" + " elem.width = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.width);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java index f24fadb2e5e..216137d0efb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFieldSetElementTest.java @@ -82,7 +82,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java index f5c59254da0..17a7e3cbe27 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLFrameElement2Test.java @@ -726,7 +726,7 @@ public void deny() throws Exception { + " function check() {\n" + " try {\n" + " log(document.getElementById(\"frame1\").contentDocument);\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + "\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java index 8cff379380f..991e716e15c 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHRElementTest.java @@ -69,7 +69,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java index 1fcb8c9f9a4..764e6ca54b2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLHeadingElementTest.java @@ -68,7 +68,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java index ce577fe78c4..96bb0886b41 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement2Test.java @@ -851,7 +851,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java index 8a5370927ec..a6fc9bd5c37 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLIFrameElement3Test.java @@ -314,9 +314,7 @@ public void width() throws Exception { + "function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "var i1 = document.getElementById('i1');\n" + "var i2 = document.getElementById('i2');\n" @@ -368,9 +366,7 @@ public void height() throws Exception { + "function set(e, value) {\n" + " try {\n" + " e.height = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "var i1 = document.getElementById('i1');\n" + "var i2 = document.getElementById('i2');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java index 162ce170fe0..2af677f74e0 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLImageElementTest.java @@ -390,7 +390,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" @@ -1161,7 +1161,7 @@ public void ctorImage() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("error") + @Alerts("TypeError") public void ctorHTMLImageElement() throws Exception { final String html = "\n" @@ -1172,7 +1172,7 @@ public void ctorHTMLImageElement() throws Exception { + " try {\n" + " var htmlImageElement = new HTMLImageElement(1, 1);" + " log('' + htmlImageElement);\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java index 63e982c7d03..2264d2e6de2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLInputElementTest.java @@ -1574,7 +1574,7 @@ public void typeCase() throws Exception { + " try {\n" + " f.type = 'CHECKBOX';\n" + " log(f.type + ' ' + f.getAttribute('type'));\n" - + " } catch(e) { log('error');}\n" + + " } catch(e) { logEx(e); }\n" + "}\n" + "\n" + "\n" @@ -1729,7 +1729,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java index c0dcec8a46f..7cddcfdd5d5 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLLegendElementTest.java @@ -119,7 +119,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java index b986500b5ec..f3b3247c10a 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLMenuElementTest.java @@ -132,22 +132,22 @@ public void type() throws Exception { + " log(document.getElementById('menu4').getAttribute('type'));\n" + " log(document.getElementById('menu5').getAttribute('type'));\n" - + " try { document.getElementById('menu1').type = 'list' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = 'list' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" - + " try { document.getElementById('menu1').type = 'context' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = 'context' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" - + " try { document.getElementById('menu1').type = 'toolbar' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = 'toolbar' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" - + " try { document.getElementById('menu1').type = 'ConText' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = 'ConText' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" - + " try { document.getElementById('menu1').type = '' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = '' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" - + " try { document.getElementById('menu1').type = 'unknown' } catch(e) {log('ex');}\n" + + " try { document.getElementById('menu1').type = 'unknown' } catch(e) { logEx(e); }\n" + " log(document.getElementById('menu1').type);\n" + " }\n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java index f8177bb8d9a..0710a54b943 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLParagraphElementTest.java @@ -83,9 +83,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java index 10c7925d177..261adf0e228 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCaptionElementTest.java @@ -75,7 +75,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" @@ -117,9 +117,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var c1 = document.getElementById('c1');\n" + " var c2 = document.getElementById('c2');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java index c2a8744229c..d8c6ccf0795 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableCellElementTest.java @@ -52,9 +52,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var td1 = document.getElementById('td1');\n" + " var td2 = document.getElementById('td2');\n" @@ -161,9 +159,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var td1 = document.getElementById('td1');\n" + " var td2 = document.getElementById('td2');\n" @@ -300,9 +296,7 @@ public void colSpan() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.colSpan = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var td1 = document.getElementById('td1');\n" + " var td2 = document.getElementById('td2');\n" @@ -438,9 +432,7 @@ public void rowSpan() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.rowSpan = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var td1 = document.getElementById('td1');\n" + " var td2 = document.getElementById('td2');\n" @@ -703,9 +695,7 @@ public void width() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " function test() {\n" + " var td = document.getElementById('td');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java index e00da5c910c..d2e4630aff2 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableColElementTest.java @@ -77,7 +77,7 @@ public void setAlign() throws Exception { + " function setAlign(elem, value) {\n" + " try {\n" + " elem.align = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.align);\n" + " }\n" @@ -194,9 +194,7 @@ public void span() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.span = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var c1 = document.getElementById('c1');\n" + " var c2 = document.getElementById('c2');\n" @@ -238,9 +236,7 @@ public void vAlign() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var c1 = document.getElementById('c1');\n" + " var c2 = document.getElementById('c2');\n" @@ -286,9 +282,7 @@ public void width() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.width = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " var c1 = document.getElementById('c1');\n" + " var c2 = document.getElementById('c2');\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java index 471d49ae129..3823df15beb 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableElementTest.java @@ -653,9 +653,7 @@ public void refresh() throws Exception { + " } else {\n" + " log('no refresh function');\n" + " }\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + "\n" + "
        \n" @@ -689,9 +687,7 @@ public void align() throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -753,11 +749,11 @@ public void innerText() throws Exception { + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.innerText = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + " log(node.firstChild);\n" - + " try { node.innerText = ''; } catch(e) {log('ex');}\n" + + " try { node.innerText = ''; } catch(e) { logEx(e); }\n" + " log(node.innerText);\n" + ""; @@ -781,11 +777,11 @@ public void textContent() throws Exception { + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = 'abc'; } catch(e) {log('ex');}\n" + + " try { node.textContent = 'abc'; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + " log(node.firstChild);\n" - + " try { node.textContent = ''; } catch(e) {log('ex');}\n" + + " try { node.textContent = ''; } catch(e) { logEx(e); }\n" + " log(node.textContent);\n" + ""; @@ -974,7 +970,7 @@ public void setRules() throws Exception { + " function setRules(elem, value) {\n" + " try {\n" + " elem.rules = value;\n" - + " } catch(e) { log('error'); }\n" + + " } catch(e) { logEx(e); }\n" + " log(elem.rules);\n" + " }\n" diff --git a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java index 0918cf3e12d..ada8af21d93 100644 --- a/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java +++ b/src/test/java/org/htmlunit/javascript/host/html/HTMLTableSectionElementTest.java @@ -78,9 +78,7 @@ private void align(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.align = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -146,9 +144,7 @@ private void vAlign(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.vAlign = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -224,9 +220,7 @@ private void ch(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.ch = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" @@ -302,9 +296,7 @@ private void chOff(final String id) throws Exception { + " function set(e, value) {\n" + " try {\n" + " e.chOff = value;\n" - + " } catch(e) {\n" - + " log('error');\n" - + " }\n" + + " } catch(e) { logEx(e); }\n" + " }\n" + " \n" + " \n" diff --git a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java index 69c4fd97754..e8b3e2d78bd 100644 --- a/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/xml/XMLDocumentTest.java @@ -394,7 +394,7 @@ public void selectNodes_nextNodeAndReset() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"book", "exception /title", "exception title"}) + @Alerts({"book", "exception /title", "TypeError", "exception title", "TypeError"}) public void selectNodes_fromRoot() throws Exception { final String html = "\n" + "\n" @@ -698,7 +698,7 @@ public void protocol() throws Exception { "http:", "http://mydomain.com/svn/Repos/", "http:", "http://mydomain.com/svn/Repos/", "http:", "http://mydomain.com/svn/Repos/", - "ex-unknown"}) + "ex-unknown", "ReferenceError"}) public void protocol2() throws Exception { final String html = "\n" @@ -735,16 +735,16 @@ public void protocol2() throws Exception { + " log(u.toString());\n" + " try {\n" - + " u.protocol = null;\n" - + " log(u.protocol);\n" - + " log(u.toString());\n" - + " } catch(e) { log('ex-null') }\n" + + " u.protocol = null;\n" + + " log(u.protocol);\n" + + " log(u.toString());\n" + + " } catch(e) { log('ex-null'); logEx(e); }\n" + " try {\n" - + " u.protocol = unknown;\n" - + " log(u.protocol);\n" - + " log(u.toString());\n" - + " } catch(e) { log('ex-unknown') }\n" + + " u.protocol = unknown;\n" + + " log(u.protocol);\n" + + " log(u.toString());\n" + + " } catch(e) { log('ex-unknown'); logEx(e); }\n" + " }\n" + " }\n" + " \n" @@ -764,7 +764,7 @@ public void protocol2() throws Exception { "http:", "http://mydomain.com/svn/Repos/", "http:", "http://mydomain.com/svn/Repos/", "http:", "http://mydomain.com/svn/Repos/", - "ex-unknown"}) + "ex-unknown", "ReferenceError"}) public void protocol3() throws Exception { final String html = "\n" @@ -801,16 +801,16 @@ public void protocol3() throws Exception { + " log(u.toString());\n" + " try {\n" - + " u.protocol = null;\n" - + " log(u.protocol);\n" - + " log(u.toString());\n" - + " } catch(e) { log('ex-null') }\n" + + " u.protocol = null;\n" + + " log(u.protocol);\n" + + " log(u.toString());\n" + + " } catch(e) { log('ex-null'); logEx(e); }\n" + " try {\n" - + " u.protocol = unknown;\n" - + " log(u.protocol);\n" - + " log(u.toString());\n" - + " } catch(e) { log('ex-unknown') }\n" + + " u.protocol = unknown;\n" + + " log(u.protocol);\n" + + " log(u.toString());\n" + + " } catch(e) { log('ex-unknown'); logEx(e); }\n" + " }\n" + " }\n" + " \n" From 5a9cb43f7ae58b2b9c3f5aba10a611827f2ddac0 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 10:08:20 +0100 Subject: [PATCH 188/516] EDGE 133 --- .../general/ElementOwnPropertiesTest.java | 255 +++++++++--------- .../ElementOwnPropertySymbolsTest.java | 8 +- .../general/ElementPropertiesTest.java | 164 +++++------ 3 files changed, 216 insertions(+), 211 deletions(-) diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index 68fae4caaff..abba6cd29ef 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -552,11 +552,11 @@ public void htmlElement() throws Exception { + "elementTiming[GSCE],firstElementChild[GCE],getAnimations(),getAttribute(),getAttributeNames()," + "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect()," + "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS()," - + "getHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture()," - + "id[GSCE],innerHTML[GSCE],insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText()," - + "lastElementChild[GCE],localName[GCE],matches(),namespaceURI[GCE],nextElementSibling[GCE]," - + "onbeforecopy[GSCE],onbeforecut[GSCE],onbeforepaste[GSCE],onfullscreenchange[GSCE]," - + "onfullscreenerror[GSCE],onsearch[GSCE],onwebkitfullscreenchange[GSCE]," + + "getHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id[GSCE]," + + "innerHTML[GSCE],insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText()," + + "lastElementChild[GCE],localName[GCE],matches(),moveBefore(),namespaceURI[GCE]," + + "nextElementSibling[GCE],onbeforecopy[GSCE],onbeforecut[GSCE],onbeforepaste[GSCE]," + + "onfullscreenchange[GSCE],onfullscreenerror[GSCE],onsearch[GSCE],onwebkitfullscreenchange[GSCE]," + "onwebkitfullscreenerror[GSCE],outerHTML[GSCE],part[GSCE],prefix[GCE],prepend()," + "previousElementSibling[GCE],querySelector(),querySelectorAll(),releasePointerCapture(),remove()," + "removeAttribute(),removeAttributeNode(),removeAttributeNS(),replaceChildren(),replaceWith()," @@ -737,11 +737,11 @@ public void element() throws Exception { + "elementTiming[GSCE],firstElementChild[GCE],getAnimations(),getAttribute(),getAttributeNames()," + "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect()," + "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS()," - + "getHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture()," - + "id[GSCE],innerHTML[GSCE],insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText()," - + "lastElementChild[GCE],localName[GCE],matches(),namespaceURI[GCE],nextElementSibling[GCE]," - + "onbeforecopy[GSCE],onbeforecut[GSCE],onbeforepaste[GSCE],onfullscreenchange[GSCE]," - + "onfullscreenerror[GSCE],onsearch[GSCE],onwebkitfullscreenchange[GSCE]," + + "getHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id[GSCE]," + + "innerHTML[GSCE],insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText()," + + "lastElementChild[GCE],localName[GCE],matches(),moveBefore(),namespaceURI[GCE]," + + "nextElementSibling[GCE],onbeforecopy[GSCE],onbeforecut[GSCE],onbeforepaste[GSCE]," + + "onfullscreenchange[GSCE],onfullscreenerror[GSCE],onsearch[GSCE],onwebkitfullscreenchange[GSCE]," + "onwebkitfullscreenerror[GSCE],outerHTML[GSCE],part[GSCE],prefix[GCE],prepend()," + "previousElementSibling[GCE],querySelector(),querySelectorAll(),releasePointerCapture(),remove()," + "removeAttribute(),removeAttributeNode(),removeAttributeNS(),replaceChildren(),replaceWith()," @@ -1134,8 +1134,8 @@ public void window() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -1362,8 +1362,8 @@ public void abbr() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -1636,8 +1636,8 @@ public void a() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -1826,9 +1826,9 @@ public void applet() throws Exception { + "port[GSCE],protocol[GSCE],referrerPolicy[GSCE],rel[GSCE],relList[GSCE],search[GSCE],shape[GSCE]," + "target[GSCE],toString()," + "username[GSCE]", - EDGE = "alt[GSCE],constructor(),coords[GSCE],download[GSCE],hash[GSCE],host[GSCE],hostname[GSCE]," - + "href[GSCE],noHref[GSCE],origin[GCE],password[GSCE],pathname[GSCE],ping[GSCE],port[GSCE]," - + "protocol[GSCE],referrerPolicy[GSCE],rel[GSCE],relList[GSCE],search[GSCE],shape[GSCE]," + EDGE = "alt[GSCE],attributionSrc[GSCE],constructor(),coords[GSCE],download[GSCE],hash[GSCE],host[GSCE]," + + "hostname[GSCE],href[GSCE],noHref[GSCE],origin[GCE],password[GSCE],pathname[GSCE],ping[GSCE]," + + "port[GSCE],protocol[GSCE],referrerPolicy[GSCE],rel[GSCE],relList[GSCE],search[GSCE],shape[GSCE]," + "target[GSCE],toString()," + "username[GSCE]", FF = "alt[GSCE],constructor(),coords[GSCE],download[GSCE],hash[GSCE],host[GSCE],hostname[GSCE]," @@ -1912,8 +1912,8 @@ public void area() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -2140,8 +2140,8 @@ public void article() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -2409,8 +2409,8 @@ public void base() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -2637,8 +2637,8 @@ public void basefont() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -2864,8 +2864,8 @@ public void bdi() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -3091,8 +3091,8 @@ public void bdo() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -3382,8 +3382,8 @@ public void body() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -3702,8 +3702,8 @@ public void caption() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -3930,8 +3930,8 @@ public void center() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -4157,8 +4157,8 @@ public void cite() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -4412,8 +4412,8 @@ public void datalist() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -4639,8 +4639,8 @@ public void dfn() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -4959,8 +4959,8 @@ public void dl() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -5209,8 +5209,8 @@ public void embed() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -5466,8 +5466,8 @@ public void fieldset() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -5693,8 +5693,8 @@ public void figcaption() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -5987,8 +5987,8 @@ public void formData() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -6297,8 +6297,8 @@ public void head() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -6646,11 +6646,11 @@ public void q() throws Exception { + "naturalHeight[GCE],naturalWidth[GCE],referrerPolicy[GSCE],sharedStorageWritable[GSCE]," + "sizes[GSCE],src[GSCE],srcset[GSCE],useMap[GSCE],vspace[GSCE],width[GSCE],x[GCE]," + "y[GCE]", - EDGE = "align[GSCE],alt[GSCE],attributionSrc[GSCE],border[GSCE],complete[GCE],constructor()," - + "crossOrigin[GSCE],currentSrc[GCE],decode(),decoding[GSCE],fetchPriority[GSCE],height[GSCE]," - + "hspace[GSCE],isMap[GSCE],loading[GSCE],longDesc[GSCE],lowsrc[GSCE],name[GSCE],naturalHeight[GCE]," - + "naturalWidth[GCE],referrerPolicy[GSCE],sharedStorageWritable[GSCE],sizes[GSCE],src[GSCE]," - + "srcset[GSCE],useMap[GSCE],vspace[GSCE],width[GSCE],x[GCE]," + EDGE = "align[GSCE],alt[GSCE],attributionSrc[GSCE],border[GSCE],browsingTopics[GSCE],complete[GCE]," + + "constructor(),crossOrigin[GSCE],currentSrc[GCE],decode(),decoding[GSCE],fetchPriority[GSCE]," + + "height[GSCE],hspace[GSCE],isMap[GSCE],loading[GSCE],longDesc[GSCE],lowsrc[GSCE],name[GSCE]," + + "naturalHeight[GCE],naturalWidth[GCE],referrerPolicy[GSCE],sharedStorageWritable[GSCE]," + + "sizes[GSCE],src[GSCE],srcset[GSCE],useMap[GSCE],vspace[GSCE],width[GSCE],x[GCE]," + "y[GCE]", FF = "align[GSCE],alt[GSCE],border[GSCE],complete[GCE],constructor(),crossOrigin[GSCE],currentSrc[GCE]," + "decode(),decoding[GSCE],fetchPriority[GSCE],height[GSCE],hspace[GSCE],isMap[GSCE],loading[GSCE]," @@ -6877,8 +6877,8 @@ public void isindex() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -7105,8 +7105,8 @@ public void i() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -7358,8 +7358,8 @@ public void label() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "constructor()", FF_ESR = "constructor()") @@ -7562,8 +7562,8 @@ public void link() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -7803,8 +7803,8 @@ public void map() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -8134,8 +8134,8 @@ public void multicol() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -8375,8 +8375,8 @@ public void nextid() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -8602,8 +8602,8 @@ public void nobr() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -8829,8 +8829,8 @@ public void noembed() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -9056,8 +9056,8 @@ public void noframes() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "constructor()", FF_ESR = "constructor()") @@ -9182,8 +9182,8 @@ public void nolayer() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -9605,8 +9605,8 @@ public void performance() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -9864,8 +9864,8 @@ public void progress() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -10103,8 +10103,8 @@ public void rbc() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -10328,8 +10328,8 @@ public void rp() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -10554,8 +10554,8 @@ public void rt() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -10779,8 +10779,8 @@ public void rtc() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -11004,8 +11004,8 @@ public void ruby() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -11221,8 +11221,8 @@ public void s() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -11466,8 +11466,8 @@ public void script() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -11757,8 +11757,8 @@ public void optionsCollection() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -12016,8 +12016,8 @@ public void span() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -12244,8 +12244,8 @@ public void strike() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -12489,8 +12489,8 @@ public void style() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -12716,8 +12716,8 @@ public void sub() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -12944,8 +12944,8 @@ public void summary() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -13479,8 +13479,8 @@ public void thead() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -13760,8 +13760,8 @@ public void track() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -14006,8 +14006,8 @@ public void ul() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -14267,8 +14267,8 @@ public void video() throws Exception { + "ontransitionrun[GSCE],ontransitionstart[GSCE],onvolumechange[GSCE],onwaiting[GSCE]," + "onwebkitanimationend[GSCE],onwebkitanimationiteration[GSCE],onwebkitanimationstart[GSCE]," + "onwebkittransitionend[GSCE],onwheel[GSCE],outerText[GSCE],popover[GSCE],showPopover()," - + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],textprediction[GSCE],title[GSCE],togglePopover()," - + "translate[GSCE],virtualKeyboardPolicy[GSCE]," + + "spellcheck[GSCE],style[GSCE],tabIndex[GSCE],title[GSCE],togglePopover(),translate[GSCE]," + + "virtualKeyboardPolicy[GSCE]," + "writingSuggestions[GSCE]", FF = "accessKey[GSCE],accessKeyLabel[GCE],attachInternals(),autocapitalize[GSCE],autofocus[GSCE]," + "blur(),click(),constructor(),contentEditable[GSCE],dataset[GCE],dir[GSCE],draggable[GSCE]," @@ -15258,7 +15258,7 @@ public void slot() throws Exception { + "getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus()," + "hasPrivateToken(),hasRedemptionRecord(),hasStorageAccess(),hasUnpartitionedCookieAccess()," + "head[GCE],hidden[GCE],images[GCE],implementation[GCE],importNode(),inputEncoding[GCE]," - + "lastElementChild[GCE],lastModified[GCE],linkColor[GSCE],links[GCE],onabort[GSCE]," + + "lastElementChild[GCE],lastModified[GCE],linkColor[GSCE],links[GCE],moveBefore(),onabort[GSCE]," + "onanimationend[GSCE],onanimationiteration[GSCE],onanimationstart[GSCE],onauxclick[GSCE]," + "onbeforecopy[GSCE],onbeforecut[GSCE],onbeforeinput[GSCE],onbeforematch[GSCE],onbeforepaste[GSCE]," + "onbeforetoggle[GSCE],onbeforexrselect[GSCE],onblur[GSCE],oncancel[GSCE],oncanplay[GSCE]," @@ -15391,10 +15391,10 @@ public void slot() throws Exception { + "scrollingElement[GCE],selectedStyleSheetSet[GSCE],styleSheets[GCE],styleSheetSets[GCE]," + "timeline[GCE],title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],write()," + "writeln()") - @HtmlUnitNYI(CHROME = "InternalError/InternalError", - EDGE = "InternalError/InternalError", - FF_ESR = "InternalError/InternalError", - FF = "InternalError/InternalError") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF_ESR = "TypeError", + FF = "TypeError") public void document() throws Exception { testString("", "new Document()"); } @@ -15690,7 +15690,7 @@ public void range() throws Exception { + "getElementById(),lastElementChild[GCE],moveBefore(),prepend(),querySelector(),querySelectorAll()," + "replaceChildren()", EDGE = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," - + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + + "getElementById(),lastElementChild[GCE],moveBefore(),prepend(),querySelector(),querySelectorAll()," + "replaceChildren()", FF = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," @@ -15699,6 +15699,9 @@ public void range() throws Exception { + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + "replaceChildren()") @HtmlUnitNYI(CHROME = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," + + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + + "replaceChildren()", + EDGE = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + "replaceChildren()") public void documentFragment() throws Exception { diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java index d5ecfedaaf9..8e3f7ffa88b 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertySymbolsTest.java @@ -2394,10 +2394,10 @@ public void slot() throws Exception { FF_ESR = "Symbol(Symbol.toStringTag) [C] [Document]," + "Symbol(Symbol.unscopables) [C] [{\"fullscreen\":true,\"prepend\":true," + "\"append\":true,\"replaceChildren\":true}]") - @HtmlUnitNYI(CHROME = "InternalError/InternalError", - EDGE = "InternalError/InternalError", - FF = "InternalError/InternalError", - FF_ESR = "InternalError/InternalError") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF = "TypeError", + FF_ESR = "TypeError") public void document() throws Exception { testString("", "new Document()"); } diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index 6c07cf181e9..1dcf9d9ecc6 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -505,8 +505,8 @@ public void unknown() throws Exception { + "onselect,onselectionchange,onselectstart,onslotchange,onstalled,onsubmit,onsuspend,ontimeupdate," + "ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvolumechange," + "onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart," - + "onwebkittransitionend,onwheel,outerText,popover,showPopover(),spellcheck,style,tabIndex," - + "textprediction,title,togglePopover(),translate,virtualKeyboardPolicy," + + "onwebkittransitionend,onwheel,outerText,popover,showPopover(),spellcheck,style,tabIndex,title," + + "togglePopover(),translate,virtualKeyboardPolicy," + "writingSuggestions", FF = "accessKey,accessKeyLabel,attachInternals(),autocapitalize,autofocus,blur(),click()," + "contentEditable,dataset,dir,draggable,enterKeyHint,focus(),hidden,hidePopover(),inert,innerText," @@ -664,7 +664,7 @@ public void htmlElement() throws Exception { + "getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),getHTML()," + "hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,innerHTML," + "insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,localName," - + "matches(),namespaceURI,onbeforecopy,onbeforecut,onbeforepaste,onfullscreenchange," + + "matches(),moveBefore(),namespaceURI,onbeforecopy,onbeforecut,onbeforepaste,onfullscreenchange," + "onfullscreenerror,onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,part," + "prefix,prepend(),querySelector(),querySelectorAll(),releasePointerCapture(),removeAttribute()," + "removeAttributeNode(),removeAttributeNS(),replaceChildren(),requestFullscreen()," @@ -2119,9 +2119,9 @@ public void q() throws Exception { + "fetchPriority,height,hspace,isMap,loading,longDesc,lowsrc,name,naturalHeight,naturalWidth," + "referrerPolicy,sharedStorageWritable,sizes,src,srcset,useMap,vspace,width,x," + "y", - EDGE = "align,alt,attributionSrc,border,complete,crossOrigin,currentSrc,decode(),decoding,fetchPriority," - + "height,hspace,isMap,loading,longDesc,lowsrc,name,naturalHeight,naturalWidth,referrerPolicy," - + "sharedStorageWritable,sizes,src,srcset,useMap,vspace,width,x," + EDGE = "align,alt,attributionSrc,border,browsingTopics,complete,crossOrigin,currentSrc,decode(),decoding," + + "fetchPriority,height,hspace,isMap,loading,longDesc,lowsrc,name,naturalHeight,naturalWidth," + + "referrerPolicy,sharedStorageWritable,sizes,src,srcset,useMap,vspace,width,x," + "y", FF = "align,alt,border,complete,crossOrigin,currentSrc,decode(),decoding,fetchPriority,height,hspace," + "isMap,loading,longDesc,lowsrc,name,naturalHeight,naturalWidth,referrerPolicy,sizes,src,srcset," @@ -4324,11 +4324,11 @@ public void slot() throws Exception { + "hasPrivateToken(),hasRedemptionRecord(),hasStorageAccess(),hasUnpartitionedCookieAccess(),head," + "hidden,images,implementation,importNode(),inputEncoding,insertBefore(),isConnected," + "isDefaultNamespace(),isEqualNode(),isSameNode(),lastChild,lastElementChild,lastModified," - + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,nodeType," - + "nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend,onanimationiteration,onanimationstart," - + "onauxclick,onbeforecopy,onbeforecut,onbeforeinput,onbeforematch,onbeforepaste,onbeforetoggle," - + "onbeforexrselect,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose," - + "oncontentvisibilityautostatechange,oncontextlost,oncontextmenu,oncontextrestored,oncopy," + + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),moveBefore(),nextSibling,nodeName," + + "nodeType,nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend,onanimationiteration," + + "onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforeinput,onbeforematch,onbeforepaste," + + "onbeforetoggle,onbeforexrselect,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick," + + "onclose,oncontentvisibilityautostatechange,oncontextlost,oncontextmenu,oncontextrestored,oncopy," + "oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart," + "ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfreeze,onfullscreenchange," + "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload," @@ -4444,10 +4444,10 @@ public void slot() throws Exception { + "requestStorageAccess(),rootElement,scripts,scrollingElement,selectedStyleSheetSet,styleSheets," + "styleSheetSets,TEXT_NODE,textContent,timeline,title,URL,visibilityState,vlinkColor,write()," + "writeln()") - @HtmlUnitNYI(CHROME = "InternalError/InternalError", - EDGE = "InternalError/InternalError", - FF_ESR = "InternalError/InternalError", - FF = "InternalError/InternalError") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF_ESR = "TypeError", + FF = "TypeError") public void document() throws Exception { testString("", "new Document()"); } @@ -4530,30 +4530,30 @@ public void document() throws Exception { + "hasPrivateToken(),hasRedemptionRecord(),hasStorageAccess(),hasUnpartitionedCookieAccess(),head," + "hidden,images,implementation,importNode(),inputEncoding,insertBefore(),isConnected," + "isDefaultNamespace(),isEqualNode(),isSameNode(),lastChild,lastElementChild,lastModified," - + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),myForm,nextSibling,nodeName," - + "nodeType,nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend,onanimationiteration," - + "onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforeinput,onbeforematch,onbeforepaste," - + "onbeforetoggle,onbeforexrselect,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick," - + "onclose,oncontentvisibilityautostatechange,oncontextlost,oncontextmenu,oncontextrestored,oncopy," - + "oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart," - + "ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfreeze,onfullscreenchange," - + "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload," - + "onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,onmouseenter," - + "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,onpause,onplay," - + "onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointerlockchange," - + "onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerrawupdate,onpointerup," - + "onprerenderingchange,onprogress,onratechange,onreadystatechange,onreset,onresize,onresume," - + "onscroll,onscrollend,onscrollsnapchange,onscrollsnapchanging,onsearch,onsecuritypolicyviolation," - + "onseeked,onseeking,onselect,onselectionchange,onselectstart,onslotchange,onstalled,onsubmit," - + "onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun," - + "ontransitionstart,onvisibilitychange,onvolumechange,onwaiting,onwebkitanimationend," - + "onwebkitanimationiteration,onwebkitanimationstart,onwebkitfullscreenchange," - + "onwebkitfullscreenerror,onwebkittransitionend,onwheel,open(),ownerDocument,parentElement," - + "parentNode,pictureInPictureElement,pictureInPictureEnabled,plugins,pointerLockElement,prepend()," - + "prerendering,previousSibling,PROCESSING_INSTRUCTION_NODE,queryCommandEnabled()," - + "queryCommandIndeterm(),queryCommandState(),queryCommandSupported(),queryCommandValue()," - + "querySelector(),querySelectorAll(),readyState,referrer,releaseEvents(),removeChild()," - + "removeEventListener(),replaceChild(),replaceChildren(),requestStorageAccess()," + + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),moveBefore(),myForm,nextSibling," + + "nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend," + + "onanimationiteration,onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforeinput," + + "onbeforematch,onbeforepaste,onbeforetoggle,onbeforexrselect,onblur,oncancel,oncanplay," + + "oncanplaythrough,onchange,onclick,onclose,oncontentvisibilityautostatechange,oncontextlost," + + "oncontextmenu,oncontextrestored,oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter," + + "ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus," + + "onformdata,onfreeze,onfullscreenchange,onfullscreenerror,ongotpointercapture,oninput,oninvalid," + + "onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart," + + "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover," + + "onmouseup,onmousewheel,onpaste,onpause,onplay,onplaying,onpointercancel,onpointerdown," + + "onpointerenter,onpointerleave,onpointerlockchange,onpointerlockerror,onpointermove,onpointerout," + + "onpointerover,onpointerrawupdate,onpointerup,onprerenderingchange,onprogress,onratechange," + + "onreadystatechange,onreset,onresize,onresume,onscroll,onscrollend,onscrollsnapchange," + + "onscrollsnapchanging,onsearch,onsecuritypolicyviolation,onseeked,onseeking,onselect," + + "onselectionchange,onselectstart,onslotchange,onstalled,onsubmit,onsuspend,ontimeupdate,ontoggle," + + "ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvisibilitychange," + + "onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart," + + "onwebkitfullscreenchange,onwebkitfullscreenerror,onwebkittransitionend,onwheel,open()," + + "ownerDocument,parentElement,parentNode,pictureInPictureElement,pictureInPictureEnabled,plugins," + + "pointerLockElement,prepend(),prerendering,previousSibling,PROCESSING_INSTRUCTION_NODE," + + "queryCommandEnabled(),queryCommandIndeterm(),queryCommandState(),queryCommandSupported()," + + "queryCommandValue(),querySelector(),querySelectorAll(),readyState,referrer,releaseEvents()," + + "removeChild(),removeEventListener(),replaceChild(),replaceChildren(),requestStorageAccess()," + "requestStorageAccessFor(),rootElement,scripts,scrollingElement,startViewTransition(),styleSheets," + "TEXT_NODE,textContent,timeline,title,URL,visibilityState,vlinkColor,wasDiscarded," + "webkitCancelFullScreen(),webkitCurrentFullScreenElement,webkitExitFullscreen()," @@ -4861,11 +4861,11 @@ public void htmlDocument() throws Exception { + "hasPrivateToken(),hasRedemptionRecord(),hasStorageAccess(),hasUnpartitionedCookieAccess(),head," + "hidden,images,implementation,importNode(),inputEncoding,insertBefore(),isConnected," + "isDefaultNamespace(),isEqualNode(),isSameNode(),lastChild,lastElementChild,lastModified," - + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,nodeType," - + "nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend,onanimationiteration,onanimationstart," - + "onauxclick,onbeforecopy,onbeforecut,onbeforeinput,onbeforematch,onbeforepaste,onbeforetoggle," - + "onbeforexrselect,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose," - + "oncontentvisibilityautostatechange,oncontextlost,oncontextmenu,oncontextrestored,oncopy," + + "linkColor,links,location,lookupNamespaceURI(),lookupPrefix(),moveBefore(),nextSibling,nodeName," + + "nodeType,nodeValue,normalize(),NOTATION_NODE,onabort,onanimationend,onanimationiteration," + + "onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforeinput,onbeforematch,onbeforepaste," + + "onbeforetoggle,onbeforexrselect,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick," + + "onclose,oncontentvisibilityautostatechange,oncontextlost,oncontextmenu,oncontextrestored,oncopy," + "oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart," + "ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfreeze,onfullscreenchange," + "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload," @@ -5406,18 +5406,18 @@ public void range() throws Exception { + "TEXT_NODE," + "textContent", EDGE = "addEventListener(),append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE," - + "childElementCount,childNodes," - + "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),dispatchEvent()," - + "DOCUMENT_FRAGMENT_NODE," - + "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS," - + "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING," + + "childElementCount,childNodes,children,cloneNode(),COMMENT_NODE,compareDocumentPosition()," + + "contains(),dispatchEvent(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY," + + "DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING," + "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE," + "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,firstElementChild,getElementById()," + "getRootNode(),hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode()," - + "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName," - + "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement,parentNode,prepend()," - + "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild()," - + "removeEventListener(),replaceChild(),replaceChildren(),TEXT_NODE,textContent", + + "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),moveBefore()," + + "nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement," + + "parentNode,prepend(),previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector()," + + "querySelectorAll(),removeChild(),removeEventListener(),replaceChild(),replaceChildren()," + + "TEXT_NODE," + + "textContent", FF = "addEventListener(),append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE," + "childElementCount,childNodes," + "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),dispatchEvent()," @@ -6319,14 +6319,14 @@ public void nodeListButtonLabels() throws Exception { + "297,298,299,3,30,300,301,302,303,304,305,306,307,308,309,31,310,311,312,313,314,315,316,317,318," + "319,32,320,321,322,323,324,325,326,327,328,329,33,330,331,332,333,334,335,336,337,338,339,34,340," + "341,342,343,344,345,346,347,348,349,35,350,351,352,353,354,355,356,357,358,359,36,360,361,362," - + "363,364,365,366,367,368,369,37,370,371,372,373,374,375,376,377,378,379,38,380,381,382,383,39,4," - + "40,41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,56,57,58,59,6,60,61,62,63,64,65,66,67,68,69,7," - + "70,71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,86,87,88,89,9,90,91,92,93,94,95,96,97,98,99," - + "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,anchorName," - + "anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration," - + "animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange," - + "animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance," - + "appRegion,ascentOverride,aspectRatio,backdropFilter,backfaceVisibility,background," + + "363,364,365,366,367,368,369,37,370,371,372,373,374,375,376,377,378,379,38,380,381,382,383,384," + + "385,386,39,4,40,41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,56,57,58,59,6,60,61,62,63,64,65," + + "66,67,68,69,7,70,71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,86,87,88,89,9,90,91,92,93,94,95," + + "96,97,98,99,accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all," + + "anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection," + + "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState," + + "animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction," + + "appearance,appRegion,ascentOverride,aspectRatio,backdropFilter,backfaceVisibility,background," + "backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage," + "backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat," + "backgroundSize,baselineShift,baselineSource,basePalette,blockSize,border,borderBlock," @@ -6379,16 +6379,17 @@ public void nodeListButtonLabels() throws Exception { + "placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry," + "positionTryFallbacks,positionTryOrder,positionVisibility,prefix,quotes,r,range,removeProperty()," + "resize,right,rotate,rowGap,rubyAlign,rubyPosition,rx,ry,scale,scrollbarColor,scrollbarGutter," - + "scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd," - + "scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd," - + "scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding," - + "scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom," - + "scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft," - + "scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollTimeline," - + "scrollTimelineAxis,scrollTimelineName,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside," - + "shapeRendering,size,sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray," - + "strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix," - + "symbols,syntax,system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright," + + "scrollbarWidth,scrollBehavior,scrollInitialTarget,scrollMargin,scrollMarginBlock," + + "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline," + + "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop," + + "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart," + + "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart," + + "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop," + + "scrollSnapType,scrollTimeline,scrollTimelineAxis,scrollTimelineName,setProperty()," + + "shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,sizeAdjust,speak,speakAs,src," + + "stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin," + + "strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,system,tableLayout,tabSize," + + "textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright," + "textDecoration,textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle," + "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle," + "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim," @@ -7800,16 +7801,17 @@ public void computedStyle() throws Exception { + "placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry," + "positionTryFallbacks,positionTryOrder,positionVisibility,prefix,quotes,r,range,removeProperty()," + "resize,right,rotate,rowGap,rubyAlign,rubyPosition,rx,ry,scale,scrollbarColor,scrollbarGutter," - + "scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd," - + "scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd," - + "scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding," - + "scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom," - + "scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft," - + "scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollTimeline," - + "scrollTimelineAxis,scrollTimelineName,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside," - + "shapeRendering,size,sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray," - + "strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix," - + "symbols,syntax,system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright," + + "scrollbarWidth,scrollBehavior,scrollInitialTarget,scrollMargin,scrollMarginBlock," + + "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline," + + "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop," + + "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart," + + "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart," + + "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop," + + "scrollSnapType,scrollTimeline,scrollTimelineAxis,scrollTimelineName,setProperty()," + + "shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,sizeAdjust,speak,speakAs,src," + + "stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin," + + "strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,system,tableLayout,tabSize," + + "textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright," + "textDecoration,textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle," + "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle," + "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim," From c088ebb084df5a956202b6657dbbc987fd320545 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 10:14:13 +0100 Subject: [PATCH 189/516] EDGE 133 --- .../java/org/htmlunit/javascript/host/Window2Test.java | 4 ++-- .../host/css/property/ElementClientHeightTest.java | 8 ++++---- .../org/htmlunit/javascript/host/dom/DocumentTest.java | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/htmlunit/javascript/host/Window2Test.java b/src/test/java/org/htmlunit/javascript/host/Window2Test.java index dcb6d85ffb6..77aad8b56ca 100644 --- a/src/test/java/org/htmlunit/javascript/host/Window2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/Window2Test.java @@ -796,7 +796,7 @@ public void IEScriptEngineXxx() throws Exception { */ @Test @Alerts(CHROME = {"true", "true", "147", "true", "true", "16"}, - EDGE = {"true", "true", "136", "true", "true", "24"}, + EDGE = {"true", "true", "138", "true", "true", "24"}, FF = {"true", "true", "93", "true", "true", "16"}, FF_ESR = {"true", "true", "91", "true", "true", "12"}) public void heightsAndWidths() throws Exception { @@ -898,7 +898,7 @@ public void setOuterHeight() throws Exception { */ @Test @Alerts(CHROME = {"621", "1256", "604", "1239"}, - EDGE = {"632", "1248", "617", "1233"}, + EDGE = {"630", "1248", "615", "1233"}, FF = {"675", "1256", "658", "1239"}, FF_ESR = {"677", "1260", "660", "1243"}) @NotYetImplemented diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java index cd2c21c83e9..56f2cae8b0f 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementClientHeightTest.java @@ -320,7 +320,7 @@ public void blockquote() throws Exception { */ @Test @Alerts(CHROME = "621", - EDGE = "632", + EDGE = "630", FF = "675", FF_ESR = "677") @HtmlUnitNYI(CHROME = "605", @@ -667,7 +667,7 @@ public void form() throws Exception { */ @Test @Alerts(CHROME = "621", - EDGE = "632", + EDGE = "630", FF = "675", FF_ESR = "677") @HtmlUnitNYI(CHROME = "0", @@ -685,7 +685,7 @@ public void frame() throws Exception { */ @Test @Alerts(CHROME = "621", - EDGE = "632", + EDGE = "630", FF = "675", FF_ESR = "677") @HtmlUnitNYI(CHROME = "18", @@ -802,7 +802,7 @@ public void hr() throws Exception { */ @Test @Alerts(CHROME = "621", - EDGE = "632", + EDGE = "630", FF = "8", FF_ESR = "8") @HtmlUnitNYI(CHROME = "605", diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index a51faa95c95..10d813dec13 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -3692,10 +3692,10 @@ public void useInWeakSet() throws Exception { */ @Test @Alerts({"about:blank", "about:blank", "undefined", "null", "null"}) - @HtmlUnitNYI(CHROME = "InternalError/InternalError", - EDGE = "InternalError/InternalError", - FF = "InternalError/InternalError", - FF_ESR = "InternalError/InternalError") + @HtmlUnitNYI(CHROME = "TypeError", + EDGE = "TypeError", + FF = "TypeError", + FF_ESR = "TypeError") public void newDoc() throws Exception { final String html = "\n" + "\n" From a1305f8174ae1d8d5e23d7d4af2c6bdb6cea1fa1 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 10:35:48 +0100 Subject: [PATCH 190/516] test for the correct error --- .../java/org/htmlunit/javascript/JavaScriptEngine2Test.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java index c36166868fb..749e41ba921 100644 --- a/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java +++ b/src/test/java/org/htmlunit/javascript/JavaScriptEngine2Test.java @@ -423,7 +423,11 @@ public void quoteAsUnicodeInString() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("error") + @Alerts("RangeError") + @HtmlUnitNYI(CHROME = "InternalError/InternalError", + EDGE = "InternalError/InternalError", + FF = "InternalError/InternalError", + FF_ESR = "InternalError/InternalError") public void recursion() throws Exception { final String html = "\n" + "\n" + "\n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(content); @@ -81,6 +82,6 @@ public void dblClick() throws Exception { action.doubleClick(driver.findElement(By.id("myBody"))); action.perform(); - assertEquals(getExpectedAlerts()[0], driver.findElement(By.id("myTextarea")).getAttribute("value")); + verifyTextArea2(driver, getExpectedAlerts()); } } diff --git a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java index c449ed76a2d..c68e08b4bb3 100644 --- a/src/test/java/org/htmlunit/html/HtmlAnchorTest.java +++ b/src/test/java/org/htmlunit/html/HtmlAnchorTest.java @@ -599,22 +599,26 @@ public void dontReloadHashBang2() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("click href click doubleClick href ") - @BuggyWebDriver( - FF_ESR = "click click doubleClick href href ") - @HtmlUnitNYI(CHROME = "click href click href doubleClick ", - EDGE = "click href click href doubleClick ", - FF = "click href click href doubleClick ", - FF_ESR = "click href click href doubleClick ") + @Alerts({"click", "href", "click", "doubleClick", "href"}) + @BuggyWebDriver(FF_ESR = {"click", "click", "doubleClick", "href", "href"}) + @HtmlUnitNYI(CHROME = {"click", "href", "click", "href", "doubleClick"}, + EDGE = {"click", "href", "click", "href", "doubleClick"}, + FF = {"click", "href", "click", "href", "doubleClick"}, + FF_ESR = {"click", "href", "click", "href", "doubleClick"}) public void doubleClick() throws Exception { final String html = "\n" + + "\n" + + "\n" + + "\n" + "\n" + " foo\n" - + " \n" + + "href=\"javascript:log('href');void(0);\" " + + "onClick=\"log('click');\" " + + "onDblClick=\"log('doubleClick');\">foo\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); @@ -623,7 +627,7 @@ public void doubleClick() throws Exception { action.doubleClick(driver.findElement(By.id("myAnchor"))); action.perform(); - assertEquals(getExpectedAlerts()[0], driver.findElement(By.id("myTextarea")).getAttribute("value")); + verifyTextArea2(driver, getExpectedAlerts()); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlButton2Test.java b/src/test/java/org/htmlunit/html/HtmlButton2Test.java index 54442516d39..7cb1319f90a 100644 --- a/src/test/java/org/htmlunit/html/HtmlButton2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlButton2Test.java @@ -845,13 +845,17 @@ public void onclickDisablesReset() throws Exception { final WebDriver webDriver = loadPage2(html); final WebElement textfield = webDriver.findElement(By.id("textfield")); - assertEquals(getExpectedAlerts()[0], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomProperty("value")); + textfield.sendKeys("newValue"); - assertEquals(getExpectedAlerts()[1], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], textfield.getDomProperty("value")); final WebElement reset = webDriver.findElement(By.name("resetBtn")); reset.click(); - assertEquals(getExpectedAlerts()[2], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], textfield.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java index aa28a091673..3df3888190a 100644 --- a/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlCheckBoxInput2Test.java @@ -14,8 +14,6 @@ */ package org.htmlunit.html; -import java.util.Arrays; - import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.annotation.Alerts; @@ -458,61 +456,55 @@ public void defaultChecked() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("foo,change,") + @Alerts({"foo", "change"}) public void onchangeFires() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "foo\n" + "\n" + "\n" + "\n" - + "\n" + + " \n" + "\n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); driver.findElement(By.id("chkbox")).click(); - assertEquals(Arrays.asList(getExpectedAlerts()).toString(), - '[' + driver.findElement(By.id("myTextarea")).getAttribute("value") + ']'); + verifyTextArea2(driver, getExpectedAlerts()); } /** * @throws Exception if the test fails */ @Test - @Alerts("foo,change,boo,blur,") + @Alerts({"onchange change", "onblur blur"}) public void onchangeFires2() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "foo\n" + "\n" + "\n" + "
        \n" + "\n" + "\n" + "
        \n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); driver.findElement(By.id("chkbox")).click(); driver.findElement(By.id("chkbox2")).click(); - assertEquals(Arrays.asList(getExpectedAlerts()).toString(), - '[' + driver.findElement(By.id("myTextarea")).getAttribute("value") + ']'); + verifyTextArea2(driver, getExpectedAlerts()); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java index 5c8e327ca28..b9451e0f089 100644 --- a/src/test/java/org/htmlunit/html/HtmlColorInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlColorInputTest.java @@ -134,7 +134,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("#000000") + @Alerts({"#ff0000", "#000000"}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -149,7 +149,8 @@ public void clearInput() throws Exception { final WebElement element = driver.findElement(By.id("tester")); element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java index 41317385869..4a9797068d1 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.java @@ -14,7 +14,6 @@ */ package org.htmlunit.javascript.host.css; -import org.apache.commons.lang3.StringUtils; import org.htmlunit.WebDriverTestCase; import org.htmlunit.html.HtmlPageTest; import org.htmlunit.junit.BrowserRunner; @@ -341,17 +340,13 @@ public void properties() throws Exception { + "\n" + "\n" + "

        \n" - + " \n" + + LOG_TEXTAREA + ""; final String expected = loadExpectation("CSSStyleDeclaration2Test.properties", ".txt"); final WebDriver driver = loadPage2(html); - - String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); - actual = StringUtils.replace(actual, "\r\n", "\n"); - - assertEquals(expected, actual); + verify(() -> driver.findElement(By.id("myLog")).getDomProperty("value"), expected); } /** @@ -373,21 +368,18 @@ public void properties2() throws Exception { + " } catch(e) {}\n" // ignore strange properties like '@@iterator' + " }\n" + " array.sort();\n" - + " document.getElementById('myTextarea').value = array.join('\\n');\n" + + " document.getElementById('myLog').value = array.join('\\n');\n" + "}\n" + "\n" + "\n" + "

        \n" - + " \n" + + LOG_TEXTAREA + ""; final String expected = loadExpectation("CSSStyleDeclaration2Test.properties2", ".txt"); final WebDriver driver = loadPage2(html); - - String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); - actual = StringUtils.replace(actual, "\r\n", "\n"); - assertEquals(expected, actual); + verify(() -> driver.findElement(By.id("myLog")).getDomProperty("value"), expected); } /** diff --git a/src/test/java/org/htmlunit/selenium/TypingTest.java b/src/test/java/org/htmlunit/selenium/TypingTest.java index c2ddc16c291..b8c39aa8d79 100644 --- a/src/test/java/org/htmlunit/selenium/TypingTest.java +++ b/src/test/java/org/htmlunit/selenium/TypingTest.java @@ -46,6 +46,7 @@ public void shouldBeAbleToUseArrowKeys() throws Exception { keyReporter.sendKeys("tet", Keys.ARROW_LEFT, "s"); assertEquals("test", keyReporter.getAttribute("value")); + assertNull(keyReporter.getDomAttribute("value")); assertEquals("test", keyReporter.getDomProperty("value")); } @@ -78,6 +79,7 @@ public void shouldReportKeyCodeOfArrowKeys() { // And leave no rubbish/printable keys in the "keyReporter" assertEquals("", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("", element.getDomProperty("value")); } @@ -109,6 +111,7 @@ public void shouldReportKeyCodeOfArrowKeysUpDownEvents() { // And leave no rubbish/printable keys in the "keyReporter" assertEquals("", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("", element.getDomProperty("value")); } @@ -126,6 +129,7 @@ public void numericShiftKeys() { element.sendKeys(numericShiftsEtc); assertEquals(numericShiftsEtc, element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals(numericShiftsEtc, element.getDomProperty("value")); assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); @@ -145,6 +149,7 @@ public void uppercaseAlphaKeys() { element.sendKeys(upperAlphas); assertEquals(upperAlphas, element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals(upperAlphas, element.getDomProperty("value")); assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); @@ -166,6 +171,7 @@ public void allPrintableKeys() { element.sendKeys(allPrintable); assertEquals(allPrintable, element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals(allPrintable, element.getDomProperty("value")); assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); @@ -184,6 +190,7 @@ public void testArrowKeysAndPageUpAndDown() { + Keys.UP + Keys.DOWN + Keys.PAGE_UP + Keys.PAGE_DOWN + "1"); assertEquals("ba1", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("ba1", element.getDomProperty("value")); } @@ -201,6 +208,7 @@ public void homeAndEndAndPageUpAndPageDownKeys() { + "0" + Keys.PAGE_UP + Keys.END + "111" + Keys.HOME + "00"); assertEquals("0000abc1111", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("0000abc1111", element.getDomProperty("value")); } @@ -215,14 +223,17 @@ public void deleteAndBackspaceKeys() { element.sendKeys("abcdefghi"); assertEquals("abcdefghi", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcdefghi", element.getDomProperty("value")); element.sendKeys(Keys.LEFT, Keys.LEFT, Keys.DELETE); assertEquals("abcdefgi", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcdefgi", element.getDomProperty("value")); element.sendKeys(Keys.LEFT, Keys.LEFT, Keys.BACK_SPACE); assertEquals("abcdfgi", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcdfgi", element.getDomProperty("value")); } @@ -237,6 +248,7 @@ public void specialSpaceKeys() { element.sendKeys("abcd" + Keys.SPACE + "fgh" + Keys.SPACE + "ij"); assertEquals("abcd fgh ij", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcd fgh ij", element.getDomProperty("value")); } @@ -254,6 +266,7 @@ public void numberpadKeys() { + Keys.ADD + Keys.SEMICOLON + Keys.EQUALS + Keys.DIVIDE + Keys.NUMPAD3 + "abcd"); assertEquals("abcd*-+.,09+;=/3abcd", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcd*-+.,09+;=/3abcd", element.getDomProperty("value")); } @@ -268,11 +281,13 @@ public void shiftSelectionDeletes() { element.sendKeys("abcd efgh"); assertEquals("abcd efgh", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcd efgh", element.getDomProperty("value")); element.sendKeys(Keys.SHIFT, Keys.LEFT, Keys.LEFT, Keys.LEFT); element.sendKeys(Keys.DELETE); assertEquals("abcd e", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("abcd e", element.getDomProperty("value")); } @@ -294,6 +309,7 @@ public void chordControlHomeShiftEndDelete() { element.sendKeys(Keys.DELETE); assertEquals("", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("", element.getDomProperty("value")); } @@ -309,24 +325,29 @@ public void chordReveseShiftHomeSelectionDeletes() { element.sendKeys("done" + Keys.HOME); assertEquals("done", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("done", element.getDomProperty("value")); element.sendKeys("" + Keys.SHIFT + "ALL " + Keys.HOME); assertEquals("ALL done", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("ALL done", element.getDomProperty("value")); element.sendKeys(Keys.DELETE); assertEquals("done", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("done", element.getDomProperty("value")); element.sendKeys("" + Keys.END + Keys.SHIFT + Keys.HOME); assertEquals("done", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("done", element.getDomProperty("value")); // Note: trailing SHIFT up here assertTrue(result.getText(), result.getText().trim().contains(" up: 16")); element.sendKeys("" + Keys.DELETE); assertEquals("", element.getAttribute("value")); + assertNull(element.getDomAttribute("value")); assertEquals("", element.getDomProperty("value")); } @@ -372,14 +393,20 @@ public void canSafelyTypeOnElementThatIsRemovedFromTheDomOnKeyPress() { final WebElement log = driver.findElement(By.id("log")); assertEquals("", log.getAttribute("value")); + assertNull(log.getDomAttribute("value")); + assertEquals("", log.getDomProperty("value")); input.sendKeys("b"); assertEquals(getExpectedAlerts()[0], getValueText(log).replace('\n', ' ')); + assertNull(getValueDomAttributeText(log)); + assertEquals(getExpectedAlerts()[0], getValueDomPropertyText(log).replace('\n', ' ')); log.clear(); input.sendKeys("a"); assertEquals(getExpectedAlerts()[1], getValueText(log).replace('\n', ' ')); + assertNull(getValueDomAttributeText(log)); + assertEquals(getExpectedAlerts()[1], getValueDomPropertyText(log).replace('\n', ' ')); } private static String getValueText(final WebElement el) { @@ -387,6 +414,21 @@ private static String getValueText(final WebElement el) { return el.getAttribute("value").replace("\r\n", "\n").trim(); } + private static String getValueDomAttributeText(final WebElement el) { + final String attrib = el.getDomAttribute("value"); + if (attrib == null) { + return attrib; + } + + // Standardize on \n and strip any trailing whitespace. + return attrib.replace("\r\n", "\n").trim(); + } + + private static String getValueDomPropertyText(final WebElement el) { + // Standardize on \n and strip any trailing whitespace. + return el.getDomProperty("value").replace("\r\n", "\n").trim(); + } + /** * If the first typed character is prevented by preventing it's * KeyPress-Event, the remaining string should still be appended and NOT @@ -416,5 +458,7 @@ public void typePreventedCharacterFirst() throws Exception { input.sendKeys("World"); assertEquals("'World' should be appended.", "HelloWorld", input.getAttribute("value")); + assertEquals("'World' should not be appended.", "Hello", input.getDomAttribute("value")); + assertEquals("'World' should be appended.", "HelloWorld", input.getDomProperty("value")); } } From a8dad5478a6bab624cc06dad990e3b82134ba419 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 14:18:12 +0100 Subject: [PATCH 194/516] Replace the deprecated WebElement.getAttribute(String) with getDomAttribute(String) and getDomProperty(String) at many places in the test suite --- .../org/htmlunit/html/HtmlDateInputTest.java | 8 +- .../htmlunit/html/HtmlDateTimeInputTest.java | 8 +- .../html/HtmlDateTimeLocalInputTest.java | 8 +- .../org/htmlunit/html/HtmlEmailInputTest.java | 14 +- .../org/htmlunit/html/HtmlFileInputTest.java | 7 +- .../org/htmlunit/html/HtmlMonthInputTest.java | 8 +- .../htmlunit/html/HtmlNumberInputTest.java | 266 +++++++++++------- 7 files changed, 194 insertions(+), 125 deletions(-) diff --git a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java index d22647cccea..77eaa18cec4 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateInputTest.java @@ -166,7 +166,7 @@ public void typeInto() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts("") + @Alerts({"2018-03-22", ""}) public void clearInput() throws Exception { final String html = "\n" @@ -177,10 +177,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(html); final WebElement input = driver.findElement(By.id("input")); - assertEquals("2018-03-22", input.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); input.clear(); - assertEquals("", input.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], input.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java index 1d914e7f530..71bbb378b43 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeInputTest.java @@ -136,7 +136,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"2018-06-12", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -150,8 +150,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java index a6646fa5e0a..139a0cf391b 100644 --- a/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlDateTimeLocalInputTest.java @@ -136,7 +136,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"2018-06-12T19:30", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -150,8 +150,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java index 02c0cfe9113..2d00b90ee62 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java @@ -137,7 +137,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"dave@aol.com", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -151,14 +151,19 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** * @throws Exception if the test fails */ @Test + @Alerts("hello") public void typing() throws Exception { final String htmlContent = "foo\n" @@ -170,7 +175,8 @@ public void typing() throws Exception { final WebElement input = driver.findElement(By.id("foo")); input.sendKeys("hello"); - assertEquals("hello", input.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); + assertNull(input.getDomAttribute("value")); } /** @@ -577,7 +583,7 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); diff --git a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java index ead19c82367..055936f504e 100644 --- a/src/test/java/org/htmlunit/html/HtmlFileInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlFileInputTest.java @@ -766,10 +766,6 @@ public void onchange() throws Exception { */ @Test @Alerts("C:\\fakepath\\pom.xml") - // since 2.28 - // there is an option for IE, for local and trusted sites IE includes the file path - // because we do not support any IE specific setting we do not send the filename as - // done by the other browsers public void getAttribute() throws Exception { final String html = "\n" @@ -781,7 +777,8 @@ public void getAttribute() throws Exception { final WebDriver driver = loadPage2(html); final WebElement e = driver.findElement(By.id("f")); e.sendKeys(absolutePath); - assertEquals(getExpectedAlerts()[0], e.getAttribute("value")); + assertNull(e.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], e.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index 8501abdbd14..cf6a76800a4 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -139,7 +139,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"2018-20", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -153,8 +153,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java index 0cc66abe140..29b5832542c 100644 --- a/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlNumberInputTest.java @@ -103,16 +103,29 @@ public void typeInteger() throws Exception { final String html = ""; final WebDriver driver = loadPage2(html); final WebElement t = driver.findElement(By.id("inpt")); + + assertNull(t.getDomAttribute("value")); + assertEquals("", t.getDomProperty("value")); + t.sendKeys("123"); - assertEquals("123", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("123", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("12", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("12", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("1", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("1", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("", t.getDomProperty("value")); } /** @@ -136,7 +149,9 @@ public void typeIntegerValid() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("123"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); + check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); } @@ -162,12 +177,14 @@ public void typeIntegerTooLarge() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("12"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); input.sendKeys("3"); - assertEquals(getExpectedAlerts()[2], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[3], driver.getTitle()); } @@ -193,12 +210,15 @@ public void typeIntegerTooSmall() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("12"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); input.sendKeys("3"); - assertEquals(getExpectedAlerts()[2], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], input.getDomProperty("value")); + check.click(); assertEquals(getExpectedAlerts()[3], driver.getTitle()); } @@ -210,8 +230,8 @@ public void typeIntegerTooSmall() throws Exception { @Alerts({"1", "1--null-true", "1", "1--null-true", "1.2", "1.2--null-false"}) @HtmlUnitNYI(CHROME = {"1", "1--null-true", "1.", "1.--null-true", "1.2", "1.2--null-false"}, EDGE = {"1", "1--null-true", "1.", "1.--null-true", "1.2", "1.2--null-false"}, - FF = {"1", "1--null-true", "1.", "--null-false", "1.2", "1.2--null-false"}, - FF_ESR = {"1", "1--null-true", "1.", "--null-false", "1.2", "1.2--null-false"}) + FF = {"1", "1--null-true", "", "--null-false", "1.2", "1.2--null-false"}, + FF_ESR = {"1", "1--null-true", "", "--null-false", "1.2", "1.2--null-false"}) public void typeIntegerWithDot() throws Exception { final String html = "\n" + "\n" @@ -237,17 +257,20 @@ public void typeIntegerWithDot() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("1"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); input.sendKeys("."); - assertEquals(getExpectedAlerts()[2], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[3], driver.getTitle()); input.sendKeys("2"); - assertEquals(getExpectedAlerts()[4], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[4], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[5], driver.getTitle()); } @@ -257,10 +280,6 @@ public void typeIntegerWithDot() throws Exception { */ @Test @Alerts({"", "--null-false", "-12", "-12--null-true", "-123", "-123--null-false"}) - @HtmlUnitNYI(CHROME = {"-", "--null-false", "-12", "-12--null-true", "-123", "-123--null-false"}, - EDGE = {"-", "--null-false", "-12", "-12--null-true", "-123", "-123--null-false"}, - FF = {"-", "--null-false", "-12", "-12--null-true", "-123", "-123--null-false"}, - FF_ESR = {"-", "--null-false", "-12", "-12--null-true", "-123", "-123--null-false"}) public void typeIntegerNegativeValid() throws Exception { final String html = "\n" + "\n" @@ -286,17 +305,20 @@ public void typeIntegerNegativeValid() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("-"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); input.sendKeys("12"); - assertEquals(getExpectedAlerts()[2], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[3], driver.getTitle()); input.sendKeys("3"); - assertEquals(getExpectedAlerts()[4], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[4], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[5], driver.getTitle()); } @@ -306,10 +328,6 @@ public void typeIntegerNegativeValid() throws Exception { */ @Test @Alerts({"", "--null-false", "-12", "-12--null-false"}) - @HtmlUnitNYI(CHROME = {"-", "--null-false", "-12", "-12--null-false"}, - EDGE = {"-", "--null-false", "-12", "-12--null-false"}, - FF = {"-", "--null-false", "-12", "-12--null-false"}, - FF_ESR = {"-", "--null-false", "-12", "-12--null-false"}) public void typeIntegerNegativeInvalid() throws Exception { final String html = "\n" + "\n" @@ -335,12 +353,14 @@ public void typeIntegerNegativeInvalid() throws Exception { final WebElement check = driver.findElement(By.id("check")); input.sendKeys("-"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[1], driver.getTitle()); input.sendKeys("12"); - assertEquals(getExpectedAlerts()[2], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], input.getDomProperty("value")); check.click(); assertEquals(getExpectedAlerts()[3], driver.getTitle()); } @@ -356,7 +376,8 @@ public void typeDouble() throws Exception { final WebDriver driver = loadPage2(html); final WebElement t = driver.findElement(By.id("t")); t.sendKeys("1.23"); - assertEquals("1.23", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("1.23", t.getDomProperty("value")); } /** @@ -374,7 +395,9 @@ public void typeWhileDisabled() throws Exception { catch (final InvalidElementStateException e) { // as expected } - assertEquals("", p.getAttribute("value")); + + assertNull(p.getDomAttribute("value")); + assertEquals("", p.getDomProperty("value")); } /** @@ -455,7 +478,8 @@ public void preventDefault_OnKeyDown() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); p.sendKeys("1234"); - assertEquals("123", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("123", p.getDomProperty("value")); } /** @@ -482,7 +506,8 @@ public void preventDefault_OnKeyPress() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); p.sendKeys("1234"); - assertEquals("123", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("123", p.getDomProperty("value")); } /** @@ -1011,7 +1036,7 @@ public void valueOutside() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts({"12-12-12-true", "12312", "12312-12-12-false"}) + @Alerts({"12-12-12-true", "12", "12312", "12312-12-12-false"}) public void typeValueOutside() throws Exception { final String html = "\n" + "\n" + "\n" From af5d472376e24ac6667154f7d8016c8ba54171c7 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 15:55:58 +0100 Subject: [PATCH 196/516] Replace the deprecated WebElement.getAttribute(String) with getDomAttribute(String) and getDomProperty(String) at many places in the test suite --- .../org/htmlunit/html/HtmlEmailInputTest.java | 74 +++++++++++----- .../org/htmlunit/html/HtmlInput2Test.java | 4 +- .../htmlunit/html/HtmlPasswordInputTest.java | 88 +++++++++++++------ .../org/htmlunit/html/HtmlTimeInputTest.java | 19 ++-- .../org/htmlunit/html/HtmlUrlInputTest.java | 76 +++++++++++----- 5 files changed, 180 insertions(+), 81 deletions(-) diff --git a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java index 2d00b90ee62..c810d8f9d07 100644 --- a/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlEmailInputTest.java @@ -210,6 +210,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"abc@eemail.com", + "abc@eemail.com", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -224,6 +225,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"abc@email.com", + "abc@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -238,6 +240,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -250,7 +253,8 @@ public void patternValidationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({" ", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -263,7 +267,8 @@ public void patternValidationBlank() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({" \t", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -276,7 +281,8 @@ public void patternValidationWhitespace() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abc@email.com", + @Alerts({" abc@email.com ", + "abc@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -289,27 +295,32 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = {"abc@email.com", + @Alerts(DEFAULT = {"null", + "abc@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", "§§URL§§?k=abc%40email.com", "2"}, - FF = {"abc@email.com", + FF = {"null", + "abc@email.com", "false", "false-false-false-false-false-false-false-false-true-false-false", "true", "§§URL§§", "1"}, - FF_ESR = {"abc@email.com", + FF_ESR = {"null", + "abc@email.com", "false", "false-false-false-false-false-false-false-false-true-false-false", "true", "§§URL§§", "1"}) - @HtmlUnitNYI(FF = {"abc@email.com", + @HtmlUnitNYI(FF = {"null", + "abc@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", "§§URL§§?k=abc%40email.com", "2"}, - FF_ESR = {"abc@email.com", + FF_ESR = {"null", + "abc@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -322,7 +333,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"a@b.com", + @Alerts({"null", + "a@b.com", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -336,6 +348,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"a@b.com", + "a@b.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -348,7 +361,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -361,7 +375,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"a@b.com", + @Alerts({"null", + "a@b.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -374,7 +389,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"a@b.c", + @Alerts({"null", + "a@b.c", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -387,7 +403,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"a@ema", + @Alerts({"null", + "a@ema", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -401,6 +418,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"a@email.com", + "a@email.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -445,7 +463,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -458,7 +477,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -471,7 +491,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -484,7 +505,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -498,7 +520,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -511,7 +534,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -524,7 +548,8 @@ public void validationRequiredValueSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -583,13 +608,14 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getDomProperty("value")); + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } } diff --git a/src/test/java/org/htmlunit/html/HtmlInput2Test.java b/src/test/java/org/htmlunit/html/HtmlInput2Test.java index e201bf7bd94..e6ec526c5e7 100644 --- a/src/test/java/org/htmlunit/html/HtmlInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlInput2Test.java @@ -225,12 +225,12 @@ private void testClickEventSequence(final String input, final boolean onClickRet final WebElement log = driver.findElement(By.id("log_")); driver.findElement(By.id(TEST_ID)).click(); - alerts.add(log.getAttribute("value").trim()); + alerts.add(log.getDomProperty("value").trim()); log.clear(); driver.findElement(By.id("next")).click(); - alerts.add(log.getAttribute("value").trim()); + alerts.add(log.getDomProperty("value").trim()); assertEquals(getExpectedAlerts(), alerts); } diff --git a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java index d0b5e255a36..6e81c018d6f 100644 --- a/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlPasswordInputTest.java @@ -74,16 +74,26 @@ public void type() throws Exception { final String html = ""; final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); + p.sendKeys("abc"); - assertEquals("abc", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("abc", p.getDomProperty("value")); + p.sendKeys(Keys.BACK_SPACE); - assertEquals("ab", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("ab", p.getDomProperty("value")); + p.sendKeys(Keys.BACK_SPACE); - assertEquals("a", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("a", p.getDomProperty("value")); + p.sendKeys(Keys.BACK_SPACE); - assertEquals("", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("", p.getDomProperty("value")); + p.sendKeys(Keys.BACK_SPACE); - assertEquals("", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("", p.getDomProperty("value")); } /** @@ -101,7 +111,8 @@ public void typeWhileDisabled() throws Exception { catch (final InvalidElementStateException e) { // as expected } - assertEquals("", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("", p.getDomProperty("value")); } /** @@ -183,8 +194,10 @@ public void preventDefault_OnKeyDown() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); + p.sendKeys("abcd"); - assertEquals("abc", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("abc", p.getDomProperty("value")); } /** @@ -210,8 +223,10 @@ public void preventDefault_OnKeyPress() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); + p.sendKeys("abcd"); - assertEquals("abc", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("abc", p.getDomProperty("value")); } /** @@ -677,6 +692,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"0987654321!", + "0987654321!", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -691,6 +707,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"68746d6c756e69742072756c657a21", + "68746d6c756e69742072756c657a21", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -705,6 +722,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -718,6 +736,7 @@ public void patternValidationEmpty() throws Exception { */ @Test @Alerts({" ", + " ", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -731,6 +750,7 @@ public void patternValidationBlank() throws Exception { */ @Test @Alerts({" \t", + " \t", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -744,6 +764,7 @@ public void patternValidationWhitespace() throws Exception { */ @Test @Alerts({" 210 ", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -756,7 +777,8 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({" 210 ", + @Alerts({"null", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -769,7 +791,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -784,6 +807,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"ab", + "ab", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -796,7 +820,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -809,7 +834,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcdefghi", + @Alerts({"null", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -822,7 +848,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -835,7 +862,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcde", + @Alerts({"null", + "abcde", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -849,6 +877,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"abcdefghi", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -893,7 +922,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -906,7 +936,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -919,7 +950,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -932,7 +964,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -946,7 +979,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -959,7 +993,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -972,7 +1007,8 @@ public void validationRequiredValueSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -1030,13 +1066,15 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } } diff --git a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java index dbd056368c8..71a06290af7 100644 --- a/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTimeInputTest.java @@ -128,11 +128,14 @@ public void type() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("0804"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); input.sendKeys("PM"); - assertEquals(getExpectedAlerts()[1], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], input.getDomProperty("value")); } /** @@ -146,13 +149,13 @@ public void typeWhileDisabled() throws Exception { final WebElement p = driver.findElement(By.id("p")); try { p.sendKeys("804PM"); - assertEquals(getExpectedAlerts()[0], "no ex: " + p.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "no ex: " + p.getDomProperty("value")); return; } catch (final InvalidElementStateException e) { // as expected } - assertEquals(getExpectedAlerts()[0], "ex: " + p.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "ex: " + p.getDomProperty("value")); } /** @@ -238,7 +241,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"11:55", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -252,8 +255,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index dd65deaf82b..75a696a081a 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -136,22 +136,26 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"https://htmlunit.org", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" + "\n" + "\n" + "
        \n" - + " \n" + + " \n" + "
        \n" + ""; final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** @@ -168,8 +172,10 @@ public void typing() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("hello"); - assertEquals("hello", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("hello", input.getDomProperty("value")); } /** @@ -203,6 +209,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"http://example.com", + "http://example.com", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -217,6 +224,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"http://test.com", + "http://test.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -230,6 +238,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -242,7 +251,8 @@ public void patternValidationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({" ", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -255,7 +265,8 @@ public void patternValidationBlank() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({" \t", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -268,7 +279,8 @@ public void patternValidationWhitespace() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"http://test.com", + @Alerts({" http://test.com ", + "http://test.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -281,7 +293,8 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({" http://test.com ", + @Alerts({"null", + " http://test.com ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -294,7 +307,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"http://example.com", + @Alerts({"null", + "http://example.com", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -308,6 +322,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"http://example.com", + "http://example.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -320,7 +335,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -333,7 +349,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"http://example.com/test", + @Alerts({"null", + "http://example.com/test", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -346,7 +363,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"http://example.com", + @Alerts({"null", + "http://example.com", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -359,7 +377,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"http://example.com/t", + @Alerts({"null", + "http://example.com/t", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -373,6 +392,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"http://example.com/test", + "http://example.com/test", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -418,7 +438,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -431,7 +452,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -444,7 +466,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -457,7 +480,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -471,7 +495,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -484,7 +509,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -497,7 +523,8 @@ public void validationRequiredValueSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -556,13 +583,14 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } } From f9f5850b8107bc7b3712bbe7bb0bd753e86ad4e1 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 17:09:58 +0100 Subject: [PATCH 197/516] Replace the deprecated WebElement.getAttribute(String) with getDomAttribute(String) and getDomProperty(String) at many places in the test suite --- .../htmlunit/html/HtmlSearchInputTest.java | 88 +++++++++++++------ .../org/htmlunit/html/HtmlTelInputTest.java | 66 ++++++++++---- .../org/htmlunit/html/HtmlTextInputTest.java | 88 +++++++++++++------ .../org/htmlunit/html/HtmlUrlInputTest.java | 26 ++++++ .../org/htmlunit/html/HtmlWeekInputTest.java | 12 ++- .../host/css/CSSStyleDeclarationTest.java | 2 +- .../css/ComputedCSSStyleDeclarationTest.java | 2 +- .../css/property/ElementOffsetHeightTest.java | 8 +- .../javascript/host/event/EventTest.java | 24 ++--- 9 files changed, 222 insertions(+), 94 deletions(-) diff --git a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java index 36c23d16fa6..9a2f7fdc56a 100644 --- a/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlSearchInputTest.java @@ -44,16 +44,26 @@ public void type() throws Exception { final WebDriver webDriver = loadPage2(html); final WebElement input = webDriver.findElement(By.id("t")); + input.sendKeys("abc"); - assertEquals("abc", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("abc", input.getDomProperty("value")); + input.sendKeys(Keys.BACK_SPACE); - assertEquals("ab", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("ab", input.getDomProperty("value")); + input.sendKeys(Keys.BACK_SPACE); - assertEquals("a", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("a", input.getDomProperty("value")); + input.sendKeys(Keys.BACK_SPACE); - assertEquals("", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("", input.getDomProperty("value")); + input.sendKeys(Keys.BACK_SPACE); - assertEquals("", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("", input.getDomProperty("value")); } @Test @@ -121,7 +131,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"1234567", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -135,8 +145,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** @@ -153,8 +167,10 @@ public void typing() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("hello"); - assertEquals("hello", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("hello", input.getDomProperty("value")); } /** @@ -188,6 +204,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"0987654321!", + "0987654321!", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -202,6 +219,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"68746d6c756e69742072756c657a21", + "68746d6c756e69742072756c657a21", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -216,6 +234,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -229,6 +248,7 @@ public void patternValidationEmpty() throws Exception { */ @Test @Alerts({" ", + " ", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -242,6 +262,7 @@ public void patternValidationBlank() throws Exception { */ @Test @Alerts({" \t", + " \t", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -255,6 +276,7 @@ public void patternValidationWhitespace() throws Exception { */ @Test @Alerts({" 210 ", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -267,7 +289,8 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({" 210 ", + @Alerts({"null", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -280,7 +303,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -294,6 +318,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"1234", + "1234", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -306,7 +331,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -319,7 +345,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcdefghi", + @Alerts({"null", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -332,7 +359,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -345,7 +373,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcde", + @Alerts({"null", + "abcde", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -359,6 +388,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"abcdefghi", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -403,7 +433,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -416,7 +447,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -429,7 +461,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -442,7 +475,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -456,7 +490,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -469,7 +504,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -482,7 +518,8 @@ public void validationRequiredValueSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -540,13 +577,14 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } } diff --git a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java index 8a341240ba5..77e0f6ccef1 100644 --- a/src/test/java/org/htmlunit/html/HtmlTelInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTelInputTest.java @@ -136,7 +136,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"1234567", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -150,8 +150,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** @@ -168,8 +172,10 @@ public void typing() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("hello"); - assertEquals("hello", input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals("hello", input.getDomProperty("value")); } /** @@ -203,6 +209,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"0123-456-7890", + "0123-456-7890", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -217,6 +224,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"123-456-7890", + "123-456-7890", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -231,6 +239,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -244,6 +253,7 @@ public void patternValidationEmpty() throws Exception { */ @Test @Alerts({" ", + " ", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -257,6 +267,7 @@ public void patternValidationBlank() throws Exception { */ @Test @Alerts({" \t", + " \t", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -270,6 +281,7 @@ public void patternValidationWhitespace() throws Exception { */ @Test @Alerts({" 123-456-7890", + " 123-456-7890", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -283,7 +295,8 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({" 123-456-7890", + @Alerts({"null", + " 123-456-7890", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -297,7 +310,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"1234", + @Alerts({"null", + "1234", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -311,6 +325,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"1234", + "1234", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -323,7 +338,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -336,7 +352,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"123456789", + @Alerts({"null", + "123456789", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -349,7 +366,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"1234", + @Alerts({"null", + "1234", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -362,7 +380,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"12345", + @Alerts({"null", + "12345", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -376,6 +395,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"1234567890", + "1234567890", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -420,7 +440,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -433,7 +454,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -446,7 +468,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -459,7 +482,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -473,7 +497,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -486,7 +511,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -500,6 +526,7 @@ public void validationRequiredValueSet() throws Exception { */ @Test @Alerts({"0123-456-7890", + "0123-456-7890", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -558,13 +585,14 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } } diff --git a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java index ec196b720ea..dd9a05a0c11 100644 --- a/src/test/java/org/htmlunit/html/HtmlTextInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlTextInputTest.java @@ -87,16 +87,26 @@ public void type() throws Exception { final String html = ""; final WebDriver driver = loadPage2(html); final WebElement t = driver.findElement(By.id("t")); + t.sendKeys("abc"); - assertEquals("abc", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("abc", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("ab", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("ab", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("a", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("a", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("", t.getDomProperty("value")); + t.sendKeys(Keys.BACK_SPACE); - assertEquals("", t.getAttribute("value")); + assertNull(t.getDomAttribute("value")); + assertEquals("", t.getDomProperty("value")); } /** @@ -114,7 +124,9 @@ public void typeWhileDisabled() throws Exception { catch (final InvalidElementStateException e) { // as expected } - assertEquals("", p.getAttribute("value")); + + assertNull(p.getDomAttribute("value")); + assertEquals("", p.getDomProperty("value")); } /** @@ -200,8 +212,10 @@ public void preventDefault_OnKeyDown() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); + p.sendKeys("abcd"); - assertEquals("abc", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("abc", p.getDomProperty("value")); } /** @@ -227,8 +241,10 @@ public void preventDefault_OnKeyPress() throws Exception { final WebDriver driver = loadPage2(html); final WebElement p = driver.findElement(By.id("p")); + p.sendKeys("abcd"); - assertEquals("abc", p.getAttribute("value")); + assertNull(p.getDomAttribute("value")); + assertEquals("abc", p.getDomProperty("value")); } /** @@ -729,6 +745,7 @@ public void minMaxStep() throws Exception { */ @Test @Alerts({"0987654321!", + "0987654321!", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -743,6 +760,7 @@ public void patternValidationInvalid() throws Exception { */ @Test @Alerts({"68746d6c756e69742072756c657a21", + "68746d6c756e69742072756c657a21", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -757,6 +775,7 @@ public void patternValidationValid() throws Exception { */ @Test @Alerts({"", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -770,6 +789,7 @@ public void patternValidationEmpty() throws Exception { */ @Test @Alerts({" ", + " ", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -783,6 +803,7 @@ public void patternValidationBlank() throws Exception { */ @Test @Alerts({" \t", + " \t", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -796,6 +817,7 @@ public void patternValidationWhitespace() throws Exception { */ @Test @Alerts({" 210 ", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -808,7 +830,8 @@ public void patternValidationTrimInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({" 210 ", + @Alerts({"null", + " 210 ", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -821,7 +844,8 @@ public void patternValidationTrimType() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "false", "false-false-false-false-false-false-false-true-false-false-false", "true", @@ -835,6 +859,7 @@ public void minLengthValidationInvalid() throws Exception { */ @Test @Alerts({"ab", + "ab", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -847,7 +872,8 @@ public void minLengthValidationInvalidInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -860,7 +886,8 @@ public void minLengthValidationInvalidNoInitial() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcdefghi", + @Alerts({"null", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -873,7 +900,8 @@ public void minLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcd", + @Alerts({"null", + "abcd", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -886,7 +914,8 @@ public void maxLengthValidationValid() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"abcde", + @Alerts({"null", + "abcde", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -900,6 +929,7 @@ public void maxLengthValidationInvalid() throws Exception { */ @Test @Alerts({"abcdefghi", + "abcdefghi", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -944,7 +974,8 @@ public void willValidate() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -957,7 +988,8 @@ public void validationEmpty() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -970,7 +1002,8 @@ public void validationCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-true-false-false-false-false-false-false-false-false-false", "true", @@ -983,7 +1016,8 @@ public void validationBlankCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -997,7 +1031,8 @@ public void validationResetCustomValidity() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-false-false-false-false-false-false-false-false-true", "true", @@ -1010,7 +1045,8 @@ public void validationRequired() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "true", "false-false-false-false-false-false-false-false-false-true-false", "true", @@ -1023,7 +1059,8 @@ public void validationRequiredValueSet() throws Exception { * @throws Exception if an error occurs */ @Test - @Alerts({"", + @Alerts({"null", + "", "false", "false-false-true-false-false-false-false-false-false-false-false", "true", @@ -1081,14 +1118,15 @@ private void validation(final String htmlPart, final String jsPart, final String if (sendKeys != null) { foo.sendKeys(sendKeys); } - assertEquals(getExpectedAlerts()[0], foo.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], "" + foo.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], foo.getDomProperty("value")); driver.findElement(By.id("myTest")).click(); - verifyTitle2(driver, getExpectedAlerts()[1], getExpectedAlerts()[2], getExpectedAlerts()[3]); + verifyTitle2(driver, getExpectedAlerts()[2], getExpectedAlerts()[3], getExpectedAlerts()[4]); driver.findElement(By.id("myButton")).click(); - assertEquals(getExpectedAlerts()[4], getMockWebConnection().getLastWebRequest().getUrl()); - assertEquals(Integer.parseInt(getExpectedAlerts()[5]), getMockWebConnection().getRequestCount()); + assertEquals(getExpectedAlerts()[5], getMockWebConnection().getLastWebRequest().getUrl()); + assertEquals(Integer.parseInt(getExpectedAlerts()[6]), getMockWebConnection().getRequestCount()); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java index 75a696a081a..f5b14f09bcf 100644 --- a/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlUrlInputTest.java @@ -17,6 +17,7 @@ import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.annotation.Alerts; +import org.htmlunit.junit.annotation.HtmlUnitNYI; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; @@ -299,6 +300,31 @@ public void patternValidationTrimInitial() throws Exception { "false-false-false-false-false-false-false-false-false-true-false", "true", "§§URL§§?k=+http%3A%2F%2Ftest.com+", "2"}) + @HtmlUnitNYI( + CHROME = {"null", + "http://test.com", + "true", + "false-false-false-false-false-false-false-false-false-true-false", + "true", + "§§URL§§?k=+http%3A%2F%2Ftest.com+", "2"}, + EDGE = {"null", + "http://test.com", + "true", + "false-false-false-false-false-false-false-false-false-true-false", + "true", + "§§URL§§?k=+http%3A%2F%2Ftest.com+", "2"}, + FF = {"null", + "http://test.com", + "true", + "false-false-false-false-false-false-false-false-false-true-false", + "true", + "§§URL§§?k=+http%3A%2F%2Ftest.com+", "2"}, + FF_ESR = {"null", + "http://test.com", + "true", + "false-false-false-false-false-false-false-false-false-true-false", + "true", + "§§URL§§?k=+http%3A%2F%2Ftest.com+", "2"}) public void patternValidationTrimType() throws Exception { validation("\n", "", " http://test.com "); } diff --git a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java index 12ffe0f1406..ad7eccaa8fb 100644 --- a/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlWeekInputTest.java @@ -126,8 +126,10 @@ public void typing() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("36"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); } /** @@ -161,7 +163,7 @@ public void getVisibleText() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("") + @Alerts({"2018-W20", ""}) public void clearInput() throws Exception { final String htmlContent = "\n" @@ -175,8 +177,12 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement element = driver.findElement(By.id("tester")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java index ffc86c4e78a..29d2af584a1 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/CSSStyleDeclarationTest.java @@ -1824,7 +1824,7 @@ private void styleShorthand(final String style, final String attribute, final St final WebDriver driver = loadPage2(html); final WebElement textArea = driver.findElement(By.id("myTextArea")); - assertEquals(expectedValue + "; ", textArea.getAttribute("value")); + assertEquals(expectedValue + "; ", textArea.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java index d96731fa5d7..f1ca8ac51f6 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java @@ -169,7 +169,7 @@ public void stringPropertiesNotAttached() throws Exception { final WebDriver driver = loadPage2(html); final String expected = loadExpectation("ComputedCSSStyleDeclarationTest.properties.notAttached", ".txt"); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(expected, actual); } diff --git a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java index 779cead9170..90e7145b877 100644 --- a/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java +++ b/src/test/java/org/htmlunit/javascript/host/css/property/ElementOffsetHeightTest.java @@ -56,7 +56,7 @@ public void offsetHeight() throws Exception { final WebDriver driver = loadPage2(html); final String expected = loadExpectation("ElementOffsetHeightTest.properties", ".txt"); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(expected, actual); } @@ -91,7 +91,7 @@ public void offsetHeightLineBreaks() throws Exception { + ""; final WebDriver driver = loadPage2(html); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(getExpectedAlerts()[0], actual); } @@ -126,7 +126,7 @@ public void offsetHeightLineBreaks2() throws Exception { + ""; final WebDriver driver = loadPage2(html); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(getExpectedAlerts()[0], actual); } @@ -165,7 +165,7 @@ public void offsetHeightManualLineBreaks() throws Exception { + ""; final WebDriver driver = loadPage2(html); - final String actual = driver.findElement(By.id("myTextarea")).getAttribute("value"); + final String actual = driver.findElement(By.id("myTextarea")).getDomProperty("value"); assertEquals(getExpectedAlerts()[0], actual); } diff --git a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java index 9ea27e3939c..d3963c016e2 100644 --- a/src/test/java/org/htmlunit/javascript/host/event/EventTest.java +++ b/src/test/java/org/htmlunit/javascript/host/event/EventTest.java @@ -959,6 +959,7 @@ public void document_focus() throws Exception { final String html = "\n" + "\n" + "\n" + "\n" + "\n" - + " \n" + + LOG_TEXTAREA + ""; - final WebDriver driver = loadPage2(html); - final String text = driver.findElement(By.id("log")).getAttribute("value").trim().replaceAll("\r", ""); - assertEquals(String.join("\n", getExpectedAlerts()), text); + loadPageVerifyTextArea2(html); } /** @@ -1009,6 +1005,7 @@ private void document_input(final String event) throws Exception { final String html = "\n" + "\n" + "\n" + "\n" + "\n" @@ -1031,17 +1025,15 @@ private void document_input(final String event) throws Exception { + " \n" + " \n" + "
        \n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); - final WebElement logElement = driver.findElement(By.id("log")); - final String initialValue = logElement.getAttribute("value"); + driver.findElement(By.id("input1")).click(); driver.findElement(By.id("input2")).click(); - final String addedValue = logElement.getAttribute("value").substring(initialValue.length()); - final String text = addedValue.trim().replaceAll("\r", ""); - assertEquals(String.join("\n", getExpectedAlerts()), text); + + verifyTextArea2(driver, getExpectedAlerts()); } /** From 8d49d4662b6d68d5aa97804f1930e34dfc04dc6d Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 17:43:02 +0100 Subject: [PATCH 198/516] Replace the deprecated WebElement.getAttribute(String) with getDomAttribute(String) and getDomProperty(String) at many places in the test suite --- .../org/htmlunit/html/HtmlMonthInputTest.java | 4 ++- .../org/htmlunit/html/HtmlOption2Test.java | 32 ++++++++----------- .../java/org/htmlunit/html/HtmlPage3Test.java | 6 ++-- .../html/HtmlRadioButtonInput2Test.java | 30 +++++++---------- .../org/htmlunit/html/HtmlRangeInputTest.java | 10 ++++-- 5 files changed, 38 insertions(+), 44 deletions(-) diff --git a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java index cf6a76800a4..ae46f9f9566 100644 --- a/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlMonthInputTest.java @@ -179,8 +179,10 @@ public void typing() throws Exception { final WebDriver driver = loadPage2(htmlContent); final WebElement input = driver.findElement(By.id("foo")); + input.sendKeys("8"); - assertEquals(getExpectedAlerts()[0], input.getAttribute("value")); + assertNull(input.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], input.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlOption2Test.java b/src/test/java/org/htmlunit/html/HtmlOption2Test.java index bfebe5cc2fc..a80a155185b 100644 --- a/src/test/java/org/htmlunit/html/HtmlOption2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlOption2Test.java @@ -14,7 +14,6 @@ */ package org.htmlunit.html; -import java.util.Arrays; import java.util.List; import org.htmlunit.WebDriverTestCase; @@ -117,47 +116,44 @@ public void simpleScriptable() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("oDown,sDown,dDown,oUp,sUp,dUp,") + @Alerts({"oDown", "sDown", "dDown", "oUp", "sUp", "dUp"}) // there seems to be a bug in selenium; for FF >= 10 this triggers // "sDown,dDown,sUp,dUp,oDown,sDown,dDown,oUp,sUp,dUp," but a // manual test shows, that this is wrong. // for Chrome selenium shows only "sUp,dUp," but again // manual test are showing something different - @BuggyWebDriver(CHROME = "sUp,dUp,", - EDGE = "sUp,dUp,", - FF = "sDown,dDown,sUp,dUp,", - FF_ESR = "sDown,dDown,sUp,dUp,") + @BuggyWebDriver(CHROME = {"sUp", "dUp"}, + EDGE = {"sUp", "dUp"}, + FF = {"sDown", "dDown", "sUp", "dUp"}, + FF_ESR = {"sDown", "dDown", "sUp", "dUp"}) public void onMouse() throws Exception { final String html = "foo\n" + "\n" + "\n" + "
        \n" + " \n" + + " onMouseDown='log(\"dDown\");'" + + " onMouseUp='log(\"dUp\");'>\n" + " \n" + "
        \n" + " \n" - + " \n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); driver.findElement(By.id("opt3")).click(); - assertEquals(Arrays.asList(getExpectedAlerts()).toString(), - '[' + driver.findElement(By.id("myTextarea")).getAttribute("value") + ']'); + verifyTextArea2(driver, getExpectedAlerts()); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlPage3Test.java b/src/test/java/org/htmlunit/html/HtmlPage3Test.java index f931b1342f3..b018fe4ebb0 100644 --- a/src/test/java/org/htmlunit/html/HtmlPage3Test.java +++ b/src/test/java/org/htmlunit/html/HtmlPage3Test.java @@ -195,10 +195,10 @@ public void getInputByName() throws Exception { final WebElement form = driver.findElement(By.id("form1")); final WebElement input = form.findElement(By.name("textInput1")); - assertEquals("name", "textInput1", input.getAttribute("name")); + assertEquals("name", "textInput1", input.getDomAttribute("name")); - assertEquals("value", "textInput1", input.getAttribute("value")); - assertEquals("type", "text", input.getAttribute("type")); + assertEquals("value", "textInput1", input.getDomAttribute("value")); + assertEquals("type", "text", input.getDomAttribute("type")); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java index 537914829fa..4c08ad52044 100644 --- a/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlRadioButtonInput2Test.java @@ -14,8 +14,6 @@ */ package org.htmlunit.html; -import java.util.Arrays; - import org.htmlunit.WebDriverTestCase; import org.htmlunit.junit.BrowserRunner; import org.htmlunit.junit.annotation.Alerts; @@ -542,62 +540,56 @@ public void checkedOnXmlResponse() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("foo,change,") + @Alerts({"foo", "change"}) public void onchangeFires() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "foo\n" + "\n" + "\n" + "
        \n" + "Check me\n" + + " onchange='log(\"foo\");log(event.type);'>Check me\n" + "
        \n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); driver.findElement(By.id("radio")).click(); - assertEquals(Arrays.asList(getExpectedAlerts()).toString(), - '[' + driver.findElement(By.id("myTextarea")).getAttribute("value") + ']'); + verifyTextArea2(driver, getExpectedAlerts()); } /** * @throws Exception if the test fails */ @Test - @Alerts("foo,change,boo,blur,") + @Alerts({"foo", "change", "boo", "blur"}) public void onchangeFires2() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_ + "foo\n" + "\n" + "\n" + "
        \n" + "Check Me\n" + "Or Check Me\n" + "
        \n" - + "\n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); driver.findElement(By.id("radio1")).click(); driver.findElement(By.id("radio2")).click(); - assertEquals(Arrays.asList(getExpectedAlerts()).toString(), - '[' + driver.findElement(By.id("myTextarea")).getAttribute("value") + ']'); + verifyTextArea2(driver, getExpectedAlerts()); } /** diff --git a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java index 10febc6c4eb..d9d433540d5 100644 --- a/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java +++ b/src/test/java/org/htmlunit/html/HtmlRangeInputTest.java @@ -324,7 +324,7 @@ public void properties() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("50") + @Alerts({"42", "50"}) public void clearInput() throws Exception { final String html = "\n" + "\n" @@ -336,9 +336,13 @@ public void clearInput() throws Exception { final WebDriver driver = loadPage2(html); final WebElement element = driver.findElement(By.id("tester")); - element.clear(); - assertEquals(getExpectedAlerts()[0], element.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], element.getDomProperty("value")); + + element.clear(); + assertEquals(getExpectedAlerts()[0], element.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], element.getDomProperty("value")); } /** From 378e7dac2e25fbf2892637471a74c858d58547de Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 9 Feb 2025 18:31:08 +0100 Subject: [PATCH 199/516] Replace the deprecated WebElement.getAttribute(String) with getDomAttribute(String) and getDomProperty(String) at many places in the test suite --- .../htmlunit/html/HtmlResetInput2Test.java | 22 +++- .../javascript/host/dom/DocumentTest.java | 23 ++-- .../javascript/host/dom/EventNodeTest.java | 41 +++---- .../host/dom/MutationObserverTest.java | 31 +++-- .../host/event/KeyboardEventTest.java | 107 +++++++----------- .../javascript/host/event/MouseEventTest.java | 2 +- 6 files changed, 102 insertions(+), 124 deletions(-) diff --git a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java index 6702734e535..f6c9159d696 100644 --- a/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlResetInput2Test.java @@ -258,13 +258,19 @@ public void reset() throws Exception { final WebDriver webDriver = loadPage2(html); final WebElement textfield = webDriver.findElement(By.id("textfield")); - assertEquals(getExpectedAlerts()[0], textfield.getAttribute("value")); + + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomProperty("value")); + textfield.sendKeys("newValue"); - assertEquals(getExpectedAlerts()[1], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], textfield.getDomProperty("value")); final WebElement reset = webDriver.findElement(By.name("resetBtn")); reset.click(); - assertEquals(getExpectedAlerts()[2], textfield.getAttribute("value")); + + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], textfield.getDomProperty("value")); } /** @@ -291,13 +297,17 @@ public void onclickDisables() throws Exception { final WebDriver webDriver = loadPage2(html); final WebElement textfield = webDriver.findElement(By.id("textfield")); - assertEquals(getExpectedAlerts()[0], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomProperty("value")); + textfield.sendKeys("newValue"); - assertEquals(getExpectedAlerts()[1], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[1], textfield.getDomProperty("value")); final WebElement reset = webDriver.findElement(By.name("resetBtn")); reset.click(); - assertEquals(getExpectedAlerts()[2], textfield.getAttribute("value")); + assertEquals(getExpectedAlerts()[0], textfield.getDomAttribute("value")); + assertEquals(getExpectedAlerts()[2], textfield.getDomProperty("value")); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java index 10d813dec13..e78961e9379 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/DocumentTest.java @@ -2581,25 +2581,24 @@ public void createStyleSheet() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("#document-fragment_null_11_null_0_") + @Alerts({"#document-fragment", "null", "11", "null", "0"}) public void createDocumentFragment() throws Exception { - final String html = "foo\n" - + "\n" + + LOG_TEXTAREA + ""; - final WebDriver driver = loadPage2(html); - final String expected = getExpectedAlerts()[0]; - assertEquals(expected, driver.findElement(By.id("myTextarea")).getAttribute("value")); + loadPageVerifyTextArea2(html); } /** diff --git a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java index e1efa8e45f6..694de9fa769 100644 --- a/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java +++ b/src/test/java/org/htmlunit/javascript/host/dom/EventNodeTest.java @@ -87,17 +87,15 @@ public void fireEvent_initFromTemplate() throws Exception { * @throws Exception if the test fails */ @Test - @Alerts("mousedown span,mouseup span,click span,mousedown text,focus text,mouseup text," - + "click text,mousedown image,focus image,mouseup image,click image,mousedown textarea,focus textarea," - + "mouseup textarea,click textarea,") + @Alerts({"mousedown span", "mouseup span", "click span", + "mousedown text", "focus text", "mouseup text", "click text", + "mousedown image", "focus image", "mouseup image", "click image", + "mousedown textarea", "focus textarea", "mouseup textarea", "click textarea"}) public void clickEvents() throws Exception { final String html = "\n" + "\n" + " \n" + "\n" + " \n" + " \n" - + " \n" + + LOG_TEXTAREA + ""; final WebDriver driver = loadPage2(html); @@ -120,23 +118,20 @@ public void clickEvents() throws Exception { driver.findElement(By.id("testInput")).click(); driver.findElement(By.id("testImage")).click(); driver.findElement(By.id("testTextarea")).click(); - final String expected = getExpectedAlerts()[0]; - assertEquals(expected, driver.findElement(By.id("myTextarea")).getAttribute("value")); + + verifyTextArea2(driver, getExpectedAlerts()); } /** * @throws Exception if the test fails */ @Test - @Alerts("mousedown label,mouseup label,click label,focus text,click text,") + @Alerts({"mousedown label", "mouseup label", "click label", "focus text", "click text"}) public void clickEventsLabel() throws Exception { final String html = "\n" + "\n" + " \n" + "\n" + "