You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(30) |
Sep
(15) |
Oct
(26) |
Nov
(12) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(27) |
Mar
(73) |
Apr
(17) |
May
(17) |
Jun
(78) |
Jul
(67) |
Aug
(60) |
Sep
(89) |
Oct
(140) |
Nov
(173) |
Dec
(46) |
2004 |
Jan
(39) |
Feb
(7) |
Mar
(21) |
Apr
(31) |
May
(13) |
Jun
(86) |
Jul
(14) |
Aug
(14) |
Sep
(53) |
Oct
(184) |
Nov
(186) |
Dec
(319) |
2005 |
Jan
(336) |
Feb
(274) |
Mar
(226) |
Apr
(102) |
May
(196) |
Jun
(130) |
Jul
(119) |
Aug
(143) |
Sep
(76) |
Oct
(85) |
Nov
(70) |
Dec
(159) |
2006 |
Jan
(125) |
Feb
(100) |
Mar
(80) |
Apr
(39) |
May
(55) |
Jun
(58) |
Jul
(50) |
Aug
(76) |
Sep
(55) |
Oct
(101) |
Nov
(163) |
Dec
(85) |
2007 |
Jan
(56) |
Feb
(53) |
Mar
(180) |
Apr
(221) |
May
(290) |
Jun
(199) |
Jul
(322) |
Aug
(515) |
Sep
(121) |
Oct
(297) |
Nov
(177) |
Dec
(103) |
2008 |
Jan
(516) |
Feb
(315) |
Mar
(586) |
Apr
(615) |
May
(197) |
Jun
(381) |
Jul
(390) |
Aug
(195) |
Sep
(603) |
Oct
(499) |
Nov
(622) |
Dec
(350) |
2009 |
Jan
(313) |
Feb
(338) |
Mar
(507) |
Apr
(317) |
May
(197) |
Jun
(375) |
Jul
(235) |
Aug
(424) |
Sep
(410) |
Oct
(338) |
Nov
(286) |
Dec
(306) |
2010 |
Jan
(367) |
Feb
(339) |
Mar
(371) |
Apr
(172) |
May
(233) |
Jun
(264) |
Jul
(421) |
Aug
(110) |
Sep
(218) |
Oct
(189) |
Nov
(185) |
Dec
(168) |
2011 |
Jan
(145) |
Feb
(213) |
Mar
(205) |
Apr
(64) |
May
(159) |
Jun
(67) |
Jul
(104) |
Aug
(126) |
Sep
(144) |
Oct
(106) |
Nov
(154) |
Dec
(225) |
2012 |
Jan
(111) |
Feb
(87) |
Mar
(131) |
Apr
(102) |
May
(180) |
Jun
(160) |
Jul
(412) |
Aug
(315) |
Sep
(311) |
Oct
(369) |
Nov
(464) |
Dec
(284) |
2013 |
Jan
(343) |
Feb
(165) |
Mar
(174) |
Apr
(120) |
May
(153) |
Jun
(134) |
Jul
(202) |
Aug
(105) |
Sep
(228) |
Oct
(332) |
Nov
(192) |
Dec
(219) |
2014 |
Jan
(348) |
Feb
(194) |
Mar
(189) |
Apr
(188) |
May
(297) |
Jun
(206) |
Jul
(79) |
Aug
(279) |
Sep
(111) |
Oct
(159) |
Nov
(61) |
Dec
(78) |
2015 |
Jan
(152) |
Feb
(145) |
Mar
(239) |
Apr
(223) |
May
(248) |
Jun
(296) |
Jul
(172) |
Aug
(189) |
Sep
(338) |
Oct
(217) |
Nov
(131) |
Dec
(184) |
2016 |
Jan
(118) |
Feb
(221) |
Mar
(414) |
Apr
(412) |
May
(303) |
Jun
(133) |
Jul
(129) |
Aug
(121) |
Sep
(136) |
Oct
(67) |
Nov
(89) |
Dec
(245) |
2017 |
Jan
(349) |
Feb
(90) |
Mar
(328) |
Apr
(430) |
May
(284) |
Jun
(199) |
Jul
(164) |
Aug
(120) |
Sep
(57) |
Oct
(105) |
Nov
(108) |
Dec
(146) |
2018 |
Jan
(85) |
Feb
(48) |
Mar
(97) |
Apr
(62) |
May
(64) |
Jun
(136) |
Jul
(123) |
Aug
(87) |
Sep
(17) |
Oct
(27) |
Nov
(9) |
Dec
(16) |
2019 |
Jan
(9) |
Feb
(17) |
Mar
(18) |
Apr
(14) |
May
(8) |
Jun
|
Jul
(6) |
Aug
(12) |
Sep
(5) |
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
(8) |
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2023 |
Jan
|
Feb
(6) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <rb...@us...> - 2018-07-30 15:13:27
|
Revision: 15504 http://sourceforge.net/p/htmlunit/code/15504 Author: rbri Date: 2018-07-30 15:13:23 +0000 (Mon, 30 Jul 2018) Log Message: ----------- better error msg Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTable.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTableRow.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTable.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTable.java 2018-07-29 17:50:44 UTC (rev 15503) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTable.java 2018-07-30 15:13:23 UTC (rev 15504) @@ -139,7 +139,7 @@ } count++; } - throw new IndexOutOfBoundsException(); + throw new IndexOutOfBoundsException("No row found for index " + index + "."); } /** Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTableRow.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTableRow.java 2018-07-29 17:50:44 UTC (rev 15503) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlTableRow.java 2018-07-30 15:13:23 UTC (rev 15504) @@ -82,7 +82,7 @@ } count++; } - throw new IndexOutOfBoundsException(); + throw new IndexOutOfBoundsException("No cell found for index " + index + "."); } /** |
From: <rb...@us...> - 2018-07-29 17:50:47
|
Revision: 15503 http://sourceforge.net/p/htmlunit/code/15503 Author: rbri Date: 2018-07-29 17:50:44 +0000 (Sun, 29 Jul 2018) Log Message: ----------- code cleanup Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java 2018-07-29 12:22:48 UTC (rev 15502) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java 2018-07-29 17:50:44 UTC (rev 15503) @@ -29,6 +29,7 @@ import java.io.IOException; import java.io.ObjectInputStream; +import java.io.Serializable; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; @@ -102,7 +103,6 @@ import com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter; import com.gargoylesoftware.htmlunit.javascript.host.crypto.Crypto; import com.gargoylesoftware.htmlunit.javascript.host.css.CSS2Properties; -import com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleDeclaration; import com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet; import com.gargoylesoftware.htmlunit.javascript.host.css.MediaQueryList; import com.gargoylesoftware.htmlunit.javascript.host.css.StyleMedia; @@ -160,6 +160,54 @@ @JsxClass public class Window extends EventTarget implements Function, AutoCloseable { + /** + * Cache computed styles when possible, because their calculation is very expensive. + * We use a weak hash map because we don't want this cache to be the only reason + * nodes are kept around in the JVM, if all other references to them are gone. + */ + private static final class CSSPropertiesCache implements Serializable { + private transient WeakHashMap<Element, Map<String, CSS2Properties>> computedStyles_ = new WeakHashMap<>(); + + public synchronized CSS2Properties get(final Element element, final String normalizedPseudo) { + final Map<String, CSS2Properties> elementMap = computedStyles_.get(element); + if (elementMap != null) { + return elementMap.get(normalizedPseudo); + } + return null; + } + + public synchronized void put(final Element element, final String normalizedPseudo, final CSS2Properties style) { + Map<String, CSS2Properties> elementMap = computedStyles_.get(element); + if (elementMap == null) { + elementMap = new WeakHashMap<>(); + computedStyles_.put(element, elementMap); + } + elementMap.put(normalizedPseudo, style); + } + + public synchronized void nodeChanged(final DomNode changed, final boolean clearParents) { + for (final Iterator<Map.Entry<Element, Map<String, CSS2Properties>>> i + = computedStyles_.entrySet().iterator(); i.hasNext();) { + final Map.Entry<Element, Map<String, CSS2Properties>> entry = i.next(); + final DomNode node = entry.getKey().getDomNodeOrDie(); + if (changed == node + || changed.getParentNode() == node.getParentNode() + || changed.isAncestorOf(node) + || clearParents && node.isAncestorOf(changed)) { + i.remove(); + } + } + } + + public synchronized void clear() { + computedStyles_.clear(); + } + + public synchronized Map<String, CSS2Properties> remove(final Element element) { + return computedStyles_.remove(element); + } + } + private static final Log LOG = LogFactory.getLog(Window.class); /** To be documented. */ @@ -197,12 +245,7 @@ private Object top_ = NOT_FOUND; // top can be set from JS to any value! private Crypto crypto_; - /** - * Cache computed styles when possible, because their calculation is very expensive. - * We use a weak hash map because we don't want this cache to be the only reason - * nodes are kept around in the JVM, if all other references to them are gone. - */ - private transient WeakHashMap<Element, Map<String, CSS2Properties>> computedStyles_ = new WeakHashMap<>(); + private CSSPropertiesCache cssPropertiesCache_ = new CSSPropertiesCache(); private final EnumMap<Type, Storage> storages_ = new EnumMap<>(Type.class); @@ -228,7 +271,7 @@ } /** - * Restores the transient {@link #computedStyles_} map during deserialization. + * Restores the transient {@link #cssPropertiesCache_} map during deserialization. * @param stream the stream to read the object from * @throws IOException if an IO error occurs * @throws ClassNotFoundException if a class is not found @@ -235,7 +278,7 @@ */ private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); - computedStyles_ = new WeakHashMap<>(); + cssPropertiesCache_ = new CSSPropertiesCache(); } /** @@ -1699,19 +1742,12 @@ } } - synchronized (computedStyles_) { - final Map<String, CSS2Properties> elementMap = computedStyles_.get(e); - if (elementMap != null) { - final CSS2Properties style = elementMap.get(normalizedPseudo); - if (style != null) { - return style; - } - } + final CSS2Properties styleFromCache = cssPropertiesCache_.get(e, normalizedPseudo); + if (styleFromCache != null) { + return styleFromCache; } - final CSSStyleDeclaration original = e.getStyle(); - final CSS2Properties style = new CSS2Properties(original); - + final CSS2Properties style = new CSS2Properties(e.getStyle()); final Object ownerDocument = e.getOwnerDocument(); if (ownerDocument instanceof HTMLDocument) { final StyleSheetList sheets = ((HTMLDocument) ownerDocument).getStyleSheets(); @@ -1726,14 +1762,7 @@ } } - synchronized (computedStyles_) { - Map<String, CSS2Properties> elementMap = computedStyles_.get(element); - if (elementMap == null) { - elementMap = new WeakHashMap<>(); - computedStyles_.put(e, elementMap); - } - elementMap.put(normalizedPseudo, style); - } + cssPropertiesCache_.put(e, normalizedPseudo, style); } return style; } @@ -1902,9 +1931,7 @@ * Clears the computed styles. */ public void clearComputedStyles() { - synchronized (computedStyles_) { - computedStyles_.clear(); - } + cssPropertiesCache_.clear(); } /** @@ -1912,9 +1939,7 @@ * @param element the element to clear its cache */ public void clearComputedStyles(final Element element) { - synchronized (computedStyles_) { - computedStyles_.remove(element); - } + cssPropertiesCache_.remove(element); } /** @@ -2005,21 +2030,10 @@ return; } } + // Apparently it wasn't a stylesheet that changed; be semi-smart about what we evict and when. - synchronized (computedStyles_) { - final boolean clearParents = ATTRIBUTES_AFFECTING_PARENT.contains(attribName); - for (final Iterator<Map.Entry<Element, Map<String, CSS2Properties>>> i - = computedStyles_.entrySet().iterator(); i.hasNext();) { - final Map.Entry<Element, Map<String, CSS2Properties>> entry = i.next(); - final DomNode node = entry.getKey().getDomNodeOrDie(); - if (changed == node - || changed.getParentNode() == node.getParentNode() - || changed.isAncestorOf(node) - || clearParents && node.isAncestorOf(changed)) { - i.remove(); - } - } - } + final boolean clearParents = ATTRIBUTES_AFFECTING_PARENT.contains(attribName); + cssPropertiesCache_.nodeChanged(changed, clearParents); } } |
From: <rb...@us...> - 2018-07-29 12:22:51
|
Revision: 15502 http://sourceforge.net/p/htmlunit/code/15502 Author: rbri Date: 2018-07-29 12:22:48 +0000 (Sun, 29 Jul 2018) Log Message: ----------- neko changes Modified Paths: -------------- trunk/htmlunit/pom.xml trunk/htmlunit/src/changes/changes.xml Modified: trunk/htmlunit/pom.xml =================================================================== --- trunk/htmlunit/pom.xml 2018-07-29 07:31:36 UTC (rev 15501) +++ trunk/htmlunit/pom.xml 2018-07-29 12:22:48 UTC (rev 15502) @@ -864,7 +864,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>neko-htmlunit</artifactId> - <version>2.32</version> + <version>2.33-SNAPSHOT</version> </dependency> <dependency> <groupId>net.sourceforge.htmlunit</groupId> Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2018-07-29 07:31:36 UTC (rev 15501) +++ trunk/htmlunit/src/changes/changes.xml 2018-07-29 12:22:48 UTC (rev 15502) @@ -7,6 +7,12 @@ </properties> <body> + <release version="2.33" date="xxxx, 2018" description="Bugfixes"> + <action type="update" dev="rbri"> + Major cleanup for neko and switch to xerces 2.12.0 + </action> + </release> + <release version="2.32" date="July 29, 2018" description="Bugfixes, FIREFOX_45 removed, FIREFOX_60 added, CHROME 68"> <action type="fix" dev="rbri" issue="1976"> Event listeners had to be functions, other types are ignored. |
From: RBRi <rb...@us...> - 2018-07-29 09:19:35
|
- **status**: pending --> closed --- ** [bugs:#1973] URLs are not properly encoded as UTF-8** **Status:** closed **Group:** 2.31 **Created:** Thu Jul 12, 2018 01:42 AM UTC by Thrawn **Last Updated:** Sun Jul 29, 2018 09:19 AM UTC **Owner:** RBRi HTMLUnit is not properly encoding UTF-8 request URLs. This causes failures when servers strictly validate those URLs. Minimal test case: - A Spring controller that calls HttpServletRequest.getParameterMap(), such as: @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.HEAD}) public String welcome(HttpServletRequest request) { request.getParameterMap(); return "index"; } - Run on Jetty 9.4.x (9.4.9.v20180320 and 9.4.11.v20180605 are confirmed), eg using the Jetty Maven plugin - Run a unit test that creates a Selenium HTMLUnitDriver and attempts to load /?param=Publisher`s\u2013\u00a0Internationalé\u2014Pty\u00a9Ltd Expected: The page loads and ignores the parameter Actual: A server error occurs, reporting: org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte A0 in state 0 at org.eclipse.jetty.util.Utf8Appendable.appendByte (Utf8Appendable.java:253) at org.eclipse.jetty.util.Utf8Appendable.append (Utf8Appendable.java:158) at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To (UrlEncoded.java:354) at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To (UrlEncoded.java:296) at org.eclipse.jetty.http.HttpURI.decodeQueryTo (HttpURI.java:615) at org.eclipse.jetty.server.Request.extractQueryParameters (Request.java:437) at org.eclipse.jetty.server.Request.getParameters (Request.java:401) at org.eclipse.jetty.server.Request.getParameterMap (Request.java:1035) --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-29 09:19:23
|
2.32 is out, will close this --- ** [bugs:#1973] URLs are not properly encoded as UTF-8** **Status:** pending **Group:** 2.31 **Created:** Thu Jul 12, 2018 01:42 AM UTC by Thrawn **Last Updated:** Thu Jul 19, 2018 07:12 PM UTC **Owner:** RBRi HTMLUnit is not properly encoding UTF-8 request URLs. This causes failures when servers strictly validate those URLs. Minimal test case: - A Spring controller that calls HttpServletRequest.getParameterMap(), such as: @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.HEAD}) public String welcome(HttpServletRequest request) { request.getParameterMap(); return "index"; } - Run on Jetty 9.4.x (9.4.9.v20180320 and 9.4.11.v20180605 are confirmed), eg using the Jetty Maven plugin - Run a unit test that creates a Selenium HTMLUnitDriver and attempts to load /?param=Publisher`s\u2013\u00a0Internationalé\u2014Pty\u00a9Ltd Expected: The page loads and ignores the parameter Actual: A server error occurs, reporting: org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte A0 in state 0 at org.eclipse.jetty.util.Utf8Appendable.appendByte (Utf8Appendable.java:253) at org.eclipse.jetty.util.Utf8Appendable.append (Utf8Appendable.java:158) at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To (UrlEncoded.java:354) at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To (UrlEncoded.java:296) at org.eclipse.jetty.http.HttpURI.decodeQueryTo (HttpURI.java:615) at org.eclipse.jetty.server.Request.extractQueryParameters (Request.java:437) at org.eclipse.jetty.server.Request.getParameters (Request.java:401) at org.eclipse.jetty.server.Request.getParameterMap (Request.java:1035) --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: <rb...@us...> - 2018-07-29 07:31:40
|
Revision: 15501 http://sourceforge.net/p/htmlunit/code/15501 Author: rbri Date: 2018-07-29 07:31:36 +0000 (Sun, 29 Jul 2018) Log Message: ----------- Release 2.32 Added Paths: ----------- tags/HtmlUnit-2.32/ |
From: <rb...@us...> - 2018-07-29 06:54:58
|
Revision: 15500 http://sourceforge.net/p/htmlunit/code/15500 Author: rbri Date: 2018-07-29 06:54:54 +0000 (Sun, 29 Jul 2018) Log Message: ----------- fix jdoc Modified Paths: -------------- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2018-07-29 06:47:21 UTC (rev 15499) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2018-07-29 06:54:54 UTC (rev 15500) @@ -8013,8 +8013,6 @@ } /** - * Test {@link com.gargoylesoftware.htmlunit.javascript.host.svg.SVGAltGlyphElement}. - * * @throws Exception if an error occurs */ @Test Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2018-07-29 06:47:21 UTC (rev 15499) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2018-07-29 06:54:54 UTC (rev 15500) @@ -5259,8 +5259,6 @@ } /** - * Test {@link com.gargoylesoftware.htmlunit.javascript.host.svg.SVGAltGlyphElement}. - * * @throws Exception if an error occurs */ @Test |
From: <rb...@us...> - 2018-07-29 06:47:24
|
Revision: 15499 http://sourceforge.net/p/htmlunit/code/15499 Author: rbri Date: 2018-07-29 06:47:21 +0000 (Sun, 29 Jul 2018) Log Message: ----------- prepare 2.32 release Modified Paths: -------------- trunk/htmlunit/pom.xml Modified: trunk/htmlunit/pom.xml =================================================================== --- trunk/htmlunit/pom.xml 2018-07-28 19:24:23 UTC (rev 15498) +++ trunk/htmlunit/pom.xml 2018-07-29 06:47:21 UTC (rev 15499) @@ -19,7 +19,7 @@ <additionalparam>-Xdoclint:none</additionalparam> <jetty.version>9.4.11.v20180605</jetty.version> <selenium.version>3.13.0</selenium.version> - <htmlunitdriver.version>2.32.0-SNAPSHOT</htmlunitdriver.version> + <htmlunitdriver.version>2.32.0</htmlunitdriver.version> <!-- As a property, as it is included in Checkstyle build --> <checkstyle.version>8.11</checkstyle.version> </properties> |
From: <rb...@us...> - 2018-07-28 19:24:48
|
Revision: 15498 http://sourceforge.net/p/htmlunit/code/15498 Author: rbri Date: 2018-07-28 19:24:23 +0000 (Sat, 28 Jul 2018) Log Message: ----------- prepare 2.32 release Modified Paths: -------------- trunk/htmlunit/pom.xml trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/site/xdoc/index.xml Modified: trunk/htmlunit/pom.xml =================================================================== --- trunk/htmlunit/pom.xml 2018-07-28 18:18:17 UTC (rev 15497) +++ trunk/htmlunit/pom.xml 2018-07-28 19:24:23 UTC (rev 15498) @@ -4,7 +4,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> - <version>2.32-SNAPSHOT</version> + <version>2.32</version> <name>HtmlUnit</name> <organization> <name>Gargoyle Software Inc.</name> Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2018-07-28 18:18:17 UTC (rev 15497) +++ trunk/htmlunit/src/changes/changes.xml 2018-07-28 19:24:23 UTC (rev 15498) @@ -7,7 +7,7 @@ </properties> <body> - <release version="2.32" date="xx 2018" description="Bugfixes, FIREFOX_45 removed, FIREFOX_60 added, CHROME 68"> + <release version="2.32" date="July 29, 2018" description="Bugfixes, FIREFOX_45 removed, FIREFOX_60 added, CHROME 68"> <action type="fix" dev="rbri" issue="1976"> Event listeners had to be functions, other types are ignored. </action> Modified: trunk/htmlunit/src/site/xdoc/index.xml =================================================================== --- trunk/htmlunit/src/site/xdoc/index.xml 2018-07-28 18:18:17 UTC (rev 15497) +++ trunk/htmlunit/src/site/xdoc/index.xml 2018-07-28 19:24:23 UTC (rev 15498) @@ -59,9 +59,9 @@ <a href="https://ci.canoo.com/teamcity/viewLog.html?buildTypeId=HtmlUnit_FastBuild&buildId=lastSuccessful&tab=artifacts">Build server (Log in as 'guest')</a> </dd> - <dt>Latest release <date>May 22, 2018</date></dt> + <dt>Latest release <date>July 28, 2018</date></dt> <dd> - <a href="http://sourceforge.net/projects/htmlunit/files/htmlunit/2.31/">version 2.31</a> + <a href="http://sourceforge.net/projects/htmlunit/files/htmlunit/2.32/">version 2.32</a> </dd> </dl> </p> @@ -157,7 +157,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> - <version>2.31</version> + <version>2.32</version> </dependency>]]></source> </p> </section> |
From: <rb...@us...> - 2018-07-28 18:18:21
|
Revision: 15497 http://sourceforge.net/p/htmlunit/code/15497 Author: rbri Date: 2018-07-28 18:18:17 +0000 (Sat, 28 Jul 2018) Log Message: ----------- core-js is at 2.32 Modified Paths: -------------- trunk/htmlunit/pom.xml Modified: trunk/htmlunit/pom.xml =================================================================== --- trunk/htmlunit/pom.xml 2018-07-28 15:41:38 UTC (rev 15496) +++ trunk/htmlunit/pom.xml 2018-07-28 18:18:17 UTC (rev 15497) @@ -859,7 +859,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit-core-js</artifactId> - <version>2.32-SNAPSHOT</version> + <version>2.32</version> </dependency> <dependency> <groupId>net.sourceforge.htmlunit</groupId> |
From: rbri <rb...@rb...> - 2018-07-28 18:18:18
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-core-js Commit: 9229828d26073ee599961a4e7ed90a6c61db690a https://github.com/HtmlUnit/htmlunit-core-js/commit/9229828d26073ee599961a4e7ed90a6c61db690a Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: M README.md M build.gradle Log Message: ----------- start 2.33 development **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 18:14:26
|
Branch: refs/tags/2.32 Home: https://github.com/HtmlUnit/htmlunit-core-js **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 18:14:13
|
Branch: refs/tags/2.31 Home: https://github.com/HtmlUnit/htmlunit-core-js **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 18:08:41
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-core-js Commit: 92e75a5a9d6c5789017467315e7f7b0bfbc06348 https://github.com/HtmlUnit/htmlunit-core-js/commit/92e75a5a9d6c5789017467315e7f7b0bfbc06348 Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: M README.md M build.gradle Log Message: ----------- prepare 2.32 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 16:05:27
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-core-js Commit: 8580443f99d8412e1a07642335ef62a0c4a1d7e2 https://github.com/HtmlUnit/htmlunit-core-js/commit/8580443f99d8412e1a07642335ef62a0c4a1d7e2 Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: M README.md Log Message: ----------- fix authors **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 16:02:11
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-core-js Commit: b08aebebf2042c896534f8088af1986f14053001 https://github.com/HtmlUnit/htmlunit-core-js/commit/b08aebebf2042c896534f8088af1986f14053001 Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: R README.html Log Message: ----------- we are using gradle now **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: rbri <rb...@rb...> - 2018-07-28 16:01:31
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-core-js Commit: b188cda3407d3161223de028339fee8fc514d1fa https://github.com/HtmlUnit/htmlunit-core-js/commit/b188cda3407d3161223de028339fee8fc514d1fa Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: A README.md Log Message: ----------- add readme **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: <rb...@us...> - 2018-07-28 15:41:48
|
Revision: 15496 http://sourceforge.net/p/htmlunit/code/15496 Author: rbri Date: 2018-07-28 15:41:38 +0000 (Sat, 28 Jul 2018) Log Message: ----------- CHROME 68 Modified Paths: -------------- trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/ElementPropertiesTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlImageInputTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementClientWidthTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/changes/changes.xml 2018-07-28 15:41:38 UTC (rev 15496) @@ -7,7 +7,7 @@ </properties> <body> - <release version="2.32" date="xx 2018" description="Bugfixes, FIREFOX_45 removed, FIREFOX_60 added"> + <release version="2.32" date="xx 2018" description="Bugfixes, FIREFOX_45 removed, FIREFOX_60 added, CHROME 68"> <action type="fix" dev="rbri" issue="1976"> Event listeners had to be functions, other types are ignored. </action> Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -210,8 +210,8 @@ EDGE.scriptAcceptHeader_ = "application/javascript, */*;q=0.8"; // CHROME - CHROME.applicationVersion_ = "5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"; - CHROME.userAgent_ = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"; + CHROME.applicationVersion_ = "5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36"; + CHROME.userAgent_ = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36"; CHROME.applicationCodeName_ = "Mozilla"; CHROME.vendor_ = "Google Inc."; Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -1057,7 +1057,7 @@ JS_LABEL_FORM_NULL, /** location.hash returns an encoded hash. */ - @BrowserFeature(FF) + @BrowserFeature({CHROME, FF}) JS_LOCATION_HASH_HASH_IS_ENCODED, /** @@ -1066,7 +1066,7 @@ * for url 'http://localhost/something/#%C3%BC'.<br> * IE evaluates to #%C3%BC. */ - @BrowserFeature(FF) + @BrowserFeature({CHROME, FF}) JS_LOCATION_HASH_IS_DECODED, /** @@ -1082,7 +1082,7 @@ * for url 'http://localhost/something/#ü'.<br> * IE evaluates to #ü. */ - @BrowserFeature(FF) + @BrowserFeature({CHROME, FF}) JS_LOCATION_HREF_HASH_IS_ENCODED, /** Map ignores the argument constructor. */ Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -3015,7 +3015,7 @@ VOLUME("volume", "volume"), /** The style property {@code webkitAlignContent}. */ - WEBKIT_ALIGN_CONTENT("webkitAlignContent", "webkit-align-content", ff("normal")), + WEBKIT_ALIGN_CONTENT("webkitAlignContent", "webkit-align-content", chrome("normal"), ff("normal")), /** The style property {@code WebkitAlignContent}. */ WEBKIT_ALIGN_CONTENT_("WebkitAlignContent", "webkit-align-content", ff("normal")), @@ -3024,7 +3024,7 @@ WEBKIT_ALIGN_CONTENT__("-webkit-align-content", "webkit-align-content", ff("normal")), /** The style property {@code webkitAlignItems}. */ - WEBKIT_ALIGN_ITEMS("webkitAlignItems", "webkit-align-items", ff("normal")), + WEBKIT_ALIGN_ITEMS("webkitAlignItems", "webkit-align-items", chrome("normal"), ff("normal")), /** The style property {@code WebkitAlignItems}. */ WEBKIT_ALIGN_ITEMS_("WebkitAlignItems", "webkit-align-items", ff("normal")), @@ -3033,7 +3033,7 @@ WEBKIT_ALIGN_ITEMS__("-webkit-align-items", "webkit-align-items", ff("normal")), /** The style property {@code webkitAlignSelf}. */ - WEBKIT_ALIGN_SELF("webkitAlignSelf", "webkit-align-self", ff("auto")), + WEBKIT_ALIGN_SELF("webkitAlignSelf", "webkit-align-self", chrome("auto"), ff("auto")), /** The style property {@code WebkitAlignSelf}. */ WEBKIT_ALIGN_SELF_("WebkitAlignSelf", "webkit-align-self", ff("auto")), @@ -3042,7 +3042,8 @@ WEBKIT_ALIGN_SELF__("-webkit-align-self", "webkit-align-self", ff("auto")), /** The style property {@code webkitAnimation}. */ - WEBKIT_ANIMATION("webkitAnimation", "webkit-animation", ff("")), + WEBKIT_ANIMATION("webkitAnimation", "webkit-animation", + chrome("none 0s ease 0s 1 normal none running"), ff("")), /** The style property {@code WebkitAnimation}. */ WEBKIT_ANIMATION_("WebkitAnimation", "webkit-animation", ff("")), @@ -3051,7 +3052,7 @@ WEBKIT_ANIMATION__("-webkit-animation", "webkit-animation", ff("")), /** The style property {@code webkitAnimationDelay}. */ - WEBKIT_ANIMATION_DELAY("webkitAnimationDelay", "webkit-animation-delay", ff("0s")), + WEBKIT_ANIMATION_DELAY("webkitAnimationDelay", "webkit-animation-delay", chrome("0s"), ff("0s")), /** The style property {@code WebkitAnimationDelay}. */ WEBKIT_ANIMATION_DELAY_("WebkitAnimationDelay", "webkit-animation-delay", ff("0s")), @@ -3060,7 +3061,8 @@ WEBKIT_ANIMATION_DELAY__("-webkit-animation-delay", "webkit-animation-delay", ff("0s")), /** The style property {@code webkitAnimationDirection}. */ - WEBKIT_ANIMATION_DIRECTION("webkitAnimationDirection", "webkit-animation-direction", ff("normal")), + WEBKIT_ANIMATION_DIRECTION("webkitAnimationDirection", "webkit-animation-direction", + chrome("normal"), ff("normal")), /** The style property {@code WebkitAnimationDirection}. */ WEBKIT_ANIMATION_DIRECTION_("WebkitAnimationDirection", "webkit-animation-direction", ff("normal")), @@ -3069,7 +3071,7 @@ WEBKIT_ANIMATION_DIRECTION__("-webkit-animation-direction", "webkit-animation-direction", ff("normal")), /** The style property {@code webkitAnimationDuration}. */ - WEBKIT_ANIMATION_DURATION("webkitAnimationDuration", "webkit-animation-duration", ff("0s")), + WEBKIT_ANIMATION_DURATION("webkitAnimationDuration", "webkit-animation-duration", chrome("0s"), ff("0s")), /** The style property {@code WebkitAnimationDuration}. */ WEBKIT_ANIMATION_DURATION_("WebkitAnimationDuration", "webkit-animation-duration", ff("0s")), @@ -3078,7 +3080,7 @@ WEBKIT_ANIMATION_DURATION__("-webkit-animation-duration", "webkit-animation-duration", ff("0s")), /** The style property {@code webkitAnimationFillMode}. */ - WEBKIT_ANIMATION_FILL_MODE("webkitAnimationFillMode", "webkit-animation-fill-mode", ff("none")), + WEBKIT_ANIMATION_FILL_MODE("webkitAnimationFillMode", "webkit-animation-fill-mode", chrome("none"), ff("none")), /** The style property {@code WebkitAnimationFillMode}. */ WEBKIT_ANIMATION_FILL_MODE_("WebkitAnimationFillMode", "webkit-animation-fill-mode", ff("none")), @@ -3088,7 +3090,7 @@ /** The style property {@code webkitAnimationIterationCount}. */ WEBKIT_ANIMATION_ITERATION_COUNT("webkitAnimationIterationCount", "webkit-animation-iteration-count", - ff("1")), + chrome("1"), ff("1")), /** The style property {@code WebkitAnimationIterationCount}. */ WEBKIT_ANIMATION_ITERATION_COUNT_("WebkitAnimationIterationCount", "webkit-animation-iteration-count", @@ -3099,7 +3101,7 @@ ff("1")), /** The style property {@code webkitAnimationName}. */ - WEBKIT_ANIMATION_NAME("webkitAnimationName", "webkit-animation-name", ff("none")), + WEBKIT_ANIMATION_NAME("webkitAnimationName", "webkit-animation-name", chrome("none"), ff("none")), /** The style property {@code WebkitAnimationName}. */ WEBKIT_ANIMATION_NAME_("WebkitAnimationName", "webkit-animation-name", ff("none")), @@ -3108,7 +3110,8 @@ WEBKIT_ANIMATION_NAME__("-webkit-animation-name", "webkit-animation-name", ff("none")), /** The style property {@code webkitAnimationPlayState}. */ - WEBKIT_ANIMATION_PLAY_STATE("webkitAnimationPlayState", "webkit-animation-play-state", ff("running")), + WEBKIT_ANIMATION_PLAY_STATE("webkitAnimationPlayState", "webkit-animation-play-state", + chrome("running"), ff("running")), /** The style property {@code WebkitAnimationPlayState}. */ WEBKIT_ANIMATION_PLAY_STATE_("WebkitAnimationPlayState", "webkit-animation-play-state", ff("running")), @@ -3118,7 +3121,7 @@ /** The style property {@code webkitAnimationTimingFunction}. */ WEBKIT_ANIMATION_TIMING_FUNCTION("webkitAnimationTimingFunction", "webkit-animation-timing-function", - ff("ease")), + chrome("ease"), ff("ease")), /** The style property {@code WebkitAnimationTimingFunction}. */ WEBKIT_ANIMATION_TIMING_FUNCTION_("WebkitAnimationTimingFunction", "webkit-animation-timing-function", @@ -3136,7 +3139,7 @@ /** The style property {@code webkitBackfaceVisibility}. */ WEBKIT_BACKFACE_VISIBILITY("webkitBackfaceVisibility", "webkit-backface-visibility", - ff("visible")), + chrome("visible"), ff("visible")), /** The style property {@code WebkitBackfaceVisibility}. */ WEBKIT_BACKFACE_VISIBILITY_("WebkitBackfaceVisibility", "webkit-backface-visibility", @@ -3147,7 +3150,8 @@ ff("visible")), /** The style property {@code webkitBackgroundClip}. */ - WEBKIT_BACKGROUND_CLIP("webkitBackgroundClip", "webkit-background-clip", ff("border-box")), + WEBKIT_BACKGROUND_CLIP("webkitBackgroundClip", "webkit-background-clip", + chrome("border-box"), ff("border-box")), /** The style property {@code WebkitBackgroundClip}. */ WEBKIT_BACKGROUND_CLIP_("WebkitBackgroundClip", "webkit-background-clip", ff("border-box")), @@ -3156,7 +3160,8 @@ WEBKIT_BACKGROUND_CLIP__("-webkit-background-clip", "webkit-background-clip", ff("border-box")), /** The style property {@code webkitBackgroundOrigin}. */ - WEBKIT_BACKGROUND_ORIGIN("webkitBackgroundOrigin", "webkit-background-origin", ff("padding-box")), + WEBKIT_BACKGROUND_ORIGIN("webkitBackgroundOrigin", "webkit-background-origin", + chrome("padding-box"), ff("padding-box")), /** The style property {@code WebkitBackgroundOrigin}. */ WEBKIT_BACKGROUND_ORIGIN_("WebkitBackgroundOrigin", "webkit-background-origin", ff("padding-box")), @@ -3165,7 +3170,7 @@ WEBKIT_BACKGROUND_ORIGIN__("-webkit-background-origin", "webkit-background-origin", ff("padding-box")), /** The style property {@code webkitBackgroundSize}. */ - WEBKIT_BACKGROUND_SIZE("webkitBackgroundSize", "webkit-background-size", ff("auto auto")), + WEBKIT_BACKGROUND_SIZE("webkitBackgroundSize", "webkit-background-size", chrome("auto"), ff("auto auto")), /** The style property {@code WebkitBackgroundSize}. */ WEBKIT_BACKGROUND_SIZE_("WebkitBackgroundSize", "webkit-background-size", ff("auto auto")), @@ -3199,7 +3204,7 @@ /** The style property {@code webkitBorderBottomLeftRadius}. */ WEBKIT_BORDER_BOTTOM_LEFT_RADIUS("webkitBorderBottomLeftRadius", "webkit-border-bottom-left-radius", - ff("0px")), + chrome("0px"), ff("0px")), /** The style property {@code WebkitBorderBottomLeftRadius}. */ WEBKIT_BORDER_BOTTOM_LEFT_RADIUS_("WebkitBorderBottomLeftRadius", "webkit-border-bottom-left-radius", @@ -3211,7 +3216,7 @@ /** The style property {@code webkitBorderBottomRightRadius}. */ WEBKIT_BORDER_BOTTOM_RIGHT_RADIUS("webkitBorderBottomRightRadius", "webkit-border-bottom-right-radius", - ff("0px")), + chrome("0px"), ff("0px")), /** The style property {@code WebkitBorderBottomRightRadius}. */ WEBKIT_BORDER_BOTTOM_RIGHT_RADIUS_("WebkitBorderBottomRightRadius", "webkit-border-bottom-right-radius", @@ -3247,7 +3252,7 @@ WEBKIT_BORDER_IMAGE__("-webkit-border-image", "webkit-border-image", ff("")), /** The style property {@code webkitBorderRadius}. */ - WEBKIT_BORDER_RADIUS("webkitBorderRadius", "webkit-border-radius", ff("")), + WEBKIT_BORDER_RADIUS("webkitBorderRadius", "webkit-border-radius", chrome("0px"), ff("")), /** The style property {@code WebkitBorderRadius}. */ WEBKIT_BORDER_RADIUS_("WebkitBorderRadius", "webkit-border-radius", ff("")), @@ -3268,7 +3273,8 @@ WEBKIT_BORDER_START_WIDTH("webkitBorderStartWidth", "webkit-border-start-width", chrome("0px")), /** The style property {@code webkitBorderTopLeftRadius}. */ - WEBKIT_BORDER_TOP_LEFT_RADIUS("webkitBorderTopLeftRadius", "webkit-border-top-left-radius", ff("0px")), + WEBKIT_BORDER_TOP_LEFT_RADIUS("webkitBorderTopLeftRadius", "webkit-border-top-left-radius", + chrome("0px"), ff("0px")), /** The style property {@code WebkitBorderTopLeftRadius}. */ WEBKIT_BORDER_TOP_LEFT_RADIUS_("WebkitBorderTopLeftRadius", "webkit-border-top-left-radius", ff("0px")), @@ -3278,7 +3284,8 @@ ff("0px")), /** The style property {@code webkitBorderTopRightRadius}. */ - WEBKIT_BORDER_TOP_RIGHT_RADIUS("webkitBorderTopRightRadius", "webkit-border-top-right-radius", ff("0px")), + WEBKIT_BORDER_TOP_RIGHT_RADIUS("webkitBorderTopRightRadius", "webkit-border-top-right-radius", + chrome("0px"), ff("0px")), /** The style property {@code WebkitBorderTopRightRadius}. */ WEBKIT_BORDER_TOP_RIGHT_RADIUS_("WebkitBorderTopRightRadius", "webkit-border-top-right-radius", ff("0px")), @@ -3357,7 +3364,7 @@ WEBKIT_BOX_REFLECT("webkitBoxReflect", "webkit-box-reflect", chrome("none")), /** The style property {@code webkitBoxShadow}. */ - WEBKIT_BOX_SHADOW("webkitBoxShadow", "webkit-box-shadow", ff("none")), + WEBKIT_BOX_SHADOW("webkitBoxShadow", "webkit-box-shadow", chrome("none"), ff("none")), /** The style property {@code WebkitBoxShadow}. */ WEBKIT_BOX_SHADOW_("WebkitBoxShadow", "webkit-box-shadow", ff("none")), @@ -3366,7 +3373,7 @@ WEBKIT_BOX_SHADOW__("-webkit-box-shadow", "webkit-box-shadow", ff("none")), /** The style property {@code webkitBoxSizing}. */ - WEBKIT_BOX_SIZING("webkitBoxSizing", "webkit-box-sizing", ff("content-box")), + WEBKIT_BOX_SIZING("webkitBoxSizing", "webkit-box-sizing", chrome("content-box"), ff("content-box")), /** The style property {@code WebkitBoxSizing}. */ WEBKIT_BOX_SIZING_("WebkitBoxSizing", "webkit-box-sizing", ff("content-box")), @@ -3374,6 +3381,9 @@ /** The style property {@code -webkit-box-sizing}. */ WEBKIT_BOX_SIZING__("-webkit-box-sizing", "webkit-box-sizing", ff("content-box")), + /** The style property {@code webkitClipPath}. */ + WEBKIT_CLIP_PATH("webkitClipPath", "webkit-clip-path", chrome("none")), + /** The style property {@code webkitColumnBreakAfter}. */ WEBKIT_COLUMN_BREAK_AFTER("webkitColumnBreakAfter", "webkit-column-break-after", chrome("auto")), @@ -3383,8 +3393,35 @@ /** The style property {@code webkitColumnBreakInside}. */ WEBKIT_COLUMN_BREAK_INSIDE("webkitColumnBreakInside", "webkit-column-break-inside", chrome("auto")), + /** The style property {@code webkitColumnCount}. */ + WEBKIT_COLUMN_COUNT("webkitColumnCount", "webkit-column-count", chrome("auto")), + + /** The style property {@code webkitColumnGap}. */ + WEBKIT_COLUMN_GAP("webkitColumnGap", "webkit-column-gap", chrome("normal")), + + /** The style property {@code webkitColumnRule}. */ + WEBKIT_COLUMN_RULE("webkitColumnRule", "webkit-column-rule", chrome("0px none rgb(0, 0, 0)")), + + /** The style property {@code webkitColumnRuleColor}. */ + WEBKIT_COLUMN_RULE_COLOR("webkitColumnRuleColor", "webkit-column-rule-color", chrome("rgb(0, 0, 0)")), + + /** The style property {@code webkitColumnRuleStyle}. */ + WEBKIT_COLUMN_RULE_STYLE("webkitColumnRuleStyle", "webkit-column-rule-style", chrome("none")), + + /** The style property {@code webkitColumnRuleWidth}. */ + WEBKIT_COLUMN_RULE_WIDTH("webkitColumnRuleWidth", "webkit-column-rule-width", chrome("0px")), + + /** The style property {@code webkitColumnSpan}. */ + WEBKIT_COLUMN_SPAN("webkitColumnSpan", "webkit-column-rule-span", chrome("none")), + + /** The style property {@code webkitColumnWidth}. */ + WEBKIT_COLUMN_WIDTH("webkitColumnWidth", "webkit-column-width", chrome("auto")), + + /** The style property {@code webkitColumns}. */ + WEBKIT_COLUMNS("webkitColumns", "webkit-columns", chrome("auto auto")), + /** The style property {@code webkitFilter}. */ - WEBKIT_FILTER("webkitFilter", "webkit-filter", ff("none")), + WEBKIT_FILTER("webkitFilter", "webkit-filter", chrome("none"), ff("none")), /** The style property {@code WebkitFilter}. */ WEBKIT_FILTER_("WebkitFilter", "webkit-filter", ff("none")), @@ -3393,7 +3430,7 @@ WEBKIT_FILTER__("-webkit-filter", "webkit-filter", ff("none")), /** The style property {@code webkitFlex}. */ - WEBKIT_FLEX("webkitFlex", "webkit-flex", ff("")), + WEBKIT_FLEX("webkitFlex", "webkit-flex", chrome("0 1 auto"), ff("")), /** The style property {@code WebkitFlex}. */ WEBKIT_FLEX_("WebkitFlex", "webkit-flex", ff("")), @@ -3402,7 +3439,7 @@ WEBKIT_FLEX__("-webkit-flex", "webkit-flex", ff("")), /** The style property {@code webkitFlexBasis}. */ - WEBKIT_FLEX_BASIS("webkitFlexBasis", "webkit-flex-basis", ff("auto")), + WEBKIT_FLEX_BASIS("webkitFlexBasis", "webkit-flex-basis", chrome("auto"), ff("auto")), /** The style property {@code WebkitFlexBasis}. */ WEBKIT_FLEX_BASIS_("WebkitFlexBasis", "webkit-flex-basis", ff("auto")), @@ -3411,7 +3448,7 @@ WEBKIT_FLEX_BASIS__("-webkit-flex-basis", "webkit-flex-basis", ff("auto")), /** The style property {@code webkitFlexDirection}. */ - WEBKIT_FLEX_DIRECTION("webkitFlexDirection", "webkit-flex-direction", ff("row")), + WEBKIT_FLEX_DIRECTION("webkitFlexDirection", "webkit-flex-direction", chrome("row"), ff("row")), /** The style property {@code WebkitFlexDirection}. */ WEBKIT_FLEX_DIRECTION_("WebkitFlexDirection", "webkit-flex-direction", ff("row")), @@ -3420,7 +3457,7 @@ WEBKIT_FLEX_DIRECTION__("-webkit-flex-direction", "webkit-flex-direction", ff("row")), /** The style property {@code webkitFlexFlow}. */ - WEBKIT_FLEX_FLOW("webkitFlexFlow", "webkit-flex-flow", ff("")), + WEBKIT_FLEX_FLOW("webkitFlexFlow", "webkit-flex-flow", chrome("row nowrap"), ff("")), /** The style property {@code WebkitFlexFlow}. */ WEBKIT_FLEX_FLOW_("WebkitFlexFlow", "webkit-flex-flow", ff("")), @@ -3429,7 +3466,7 @@ WEBKIT_FLEX_FLOW__("-webkit-flex-flow", "webkit-flex-flow", ff("")), /** The style property {@code webkitFlexGrow}. */ - WEBKIT_FLEX_GROW("webkitFlexGrow", "webkit-flex-grow", ff("0")), + WEBKIT_FLEX_GROW("webkitFlexGrow", "webkit-flex-grow", chrome("0"), ff("0")), /** The style property {@code WebkitFlexGrow}. */ WEBKIT_FLEX_GROW_("WebkitFlexGrow", "webkit-flex-grow", ff("0")), @@ -3438,7 +3475,7 @@ WEBKIT_FLEX_GROW__("-webkit-flex-grow", "webkit-flex-grow", ff("0")), /** The style property {@code webkitFlexShrink}. */ - WEBKIT_FLEX_SHRINK("webkitFlexShrink", "webkit-flex-shrink", ff("1")), + WEBKIT_FLEX_SHRINK("webkitFlexShrink", "webkit-flex-shrink", chrome("1"), ff("1")), /** The style property {@code WebkitFlexShrink}. */ WEBKIT_FLEX_SHRINK_("WebkitFlexShrink", "webkit-flex-shrink", ff("1")), @@ -3447,7 +3484,7 @@ WEBKIT_FLEX_SHRINK__("-webkit-flex-shrink", "webkit-flex-shrink", ff("1")), /** The style property {@code webkitFlexWrap}. */ - WEBKIT_FLEX_WRAP("webkitFlexWrap", "webkit-flex-wrap", ff("nowrap")), + WEBKIT_FLEX_WRAP("webkitFlexWrap", "webkit-flex-wrap", chrome("nowrap"), ff("nowrap")), /** The style property {@code WebkitFlexWrap}. */ WEBKIT_FLEX_WRAP_("WebkitFlexWrap", "webkit-flex-wrap", ff("nowrap")), @@ -3455,6 +3492,9 @@ /** The style property {@code -webkit-flex-wrap}. */ WEBKIT_FLEX_WRAP__("-webkit-flex-wrap", "webkit-flex-wrap", ff("nowrap")), + /** The style property {@code webkitFontFeatureSettings}. */ + WEBKIT_FONT_FEATURE_SETTINGS("webkitFontFeatureSettings", "webkit-font-feature-settings", chrome("normal")), + /** The style property {@code webkitFontSizeDelta}. */ WEBKIT_FONT_SIZE_DELTA("webkitFontSizeDelta", "webkit-font-size-delta", chrome("")), @@ -3468,7 +3508,7 @@ WEBKIT_HYPHENATE_CHARACTER("webkitHyphenateCharacter", "webkit-hyphenate-character", chrome("auto")), /** The style property {@code webkitJustifyContent}. */ - WEBKIT_JUSTIFY_CONTENT("webkitJustifyContent", "webkit-justify-content", ff("normal")), + WEBKIT_JUSTIFY_CONTENT("webkitJustifyContent", "webkit-justify-content", chrome("normal"), ff("normal")), /** The style property {@code WebkitJustifyContent}. */ WEBKIT_JUSTIFY_CONTENT_("WebkitJustifyContent", "webkit-justify-content", ff("normal")), @@ -3646,8 +3686,11 @@ /** The style property {@code webkitMinLogicalWidth}. */ WEBKIT_MIN_LOGICAL_WIDTH("webkitMinLogicalWidth", "webkit-min-logical-width", chrome("0px")), + /** The style property {@code webkitOpacity}. */ + WEBKIT_OPACITY("webkitOpacity", "webkit-opacity", chrome("1")), + /** The style property {@code webkitOrder}. */ - WEBKIT_ORDER("webkitOrder", "webkit-order", ff("0")), + WEBKIT_ORDER("webkitOrder", "webkit-order", chrome("0"), ff("0")), /** The style property {@code WebkitOrder}. */ WEBKIT_ORDER_("WebkitOrder", "webkit-order", ff("0")), @@ -3668,7 +3711,7 @@ WEBKIT_PADDING_START("webkitPaddingStart", "webkit-padding-start", chrome("0px")), /** The style property {@code webkitPerspective}. */ - WEBKIT_PERSPECTIVE("webkitPerspective", "webkit-perspective", ff("none")), + WEBKIT_PERSPECTIVE("webkitPerspective", "webkit-perspective", chrome("none"), ff("none")), /** The style property {@code WebkitPerspective}. */ WEBKIT_PERSPECTIVE_("WebkitPerspective", "webkit-perspective", ff("none")), @@ -3677,7 +3720,8 @@ WEBKIT_PERSPECTIVE__("-webkit-perspective", "webkit-perspective", ff("none")), /** The style property {@code webkitPerspectiveOrigin}. */ - WEBKIT_PERSPECTIVE_ORIGIN("webkitPerspectiveOrigin", "webkit-perspective-origin", ff("625px 172.5px")), + WEBKIT_PERSPECTIVE_ORIGIN("webkitPerspectiveOrigin", "webkit-perspective-origin", + chrome("456.5px 161px"), ff("625px 172.5px")), /** The style property {@code WebkitPerspectiveOrigin}. */ WEBKIT_PERSPECTIVE_ORIGIN_("WebkitPerspectiveOrigin", "webkit-perspective-origin", ff("625px 172.5px")), @@ -3700,6 +3744,15 @@ /** The style property {@code webkitRubyPosition}. */ WEBKIT_RUBY_POSITION("webkitRubyPosition", "webkit-ruby-position", chrome("before")), + /** The style property {@code webkitShapeImageThreshold}. */ + WEBKIT_SHAPE_IMAGE_THRESHOLD("webkitShapeImageThreshold", "webkit-shape-image-threshold", chrome("0")), + + /** The style property {@code webkitShapeMargin}. */ + WEBKIT_SHAPE_MARGIN("webkitShapeMargin", "webkit-shape-margin", chrome("0px")), + + /** The style property {@code webkitShapeOutside}. */ + WEBKIT_SHAPE_OUTSIDE("webkitShapeOutside", "webkit-shape-outside", chrome("none")), + /** The style property {@code webkitTapHighlightColor}. */ WEBKIT_TAP_HIGHLIGHT_COLOR("webkitTapHighlightColor", "webkit-tap-highlight-color", chrome("rgba(0, 0, 0, 0.18)")), @@ -3745,7 +3798,7 @@ WEBKIT_TEXT_SECURITY("webkitTextSecurity", "webkit-text-security", chrome("none")), /** The style property {@code webkitTextSizeAdjust}. */ - WEBKIT_TEXT_SIZE_ADJUST("webkitTextSizeAdjust", "webkit-text-size-adjust", ff("auto")), + WEBKIT_TEXT_SIZE_ADJUST("webkitTextSizeAdjust", "webkit-text-size-adjust", chrome("auto"), ff("auto")), /** The style property {@code WebkitTextSizeAdjust}. */ WEBKIT_TEXT_SIZE_ADJUST_("WebkitTextSizeAdjust", "webkit-text-size-adjust", ff("auto")), @@ -3784,7 +3837,7 @@ WEBKIT_TEXT_STROKE_WIDTH__("-webkit-text-stroke-width", "webkit-text-stroke-width", ff("0px")), /** The style property {@code webkitTransform}. */ - WEBKIT_TRANSFORM("webkitTransform", "webkit-transform", ff("none")), + WEBKIT_TRANSFORM("webkitTransform", "webkit-transform", chrome("none"), ff("none")), /** The style property {@code WebkitTransform}. */ WEBKIT_TRANSFORM_("WebkitTransform", "webkit-transform", ff("none")), @@ -3793,7 +3846,8 @@ WEBKIT_TRANSFORM__("-webkit-transform", "webkit-transform", ff("none")), /** The style property {@code webkitTransformOrigin}. */ - WEBKIT_TRANSFORM_ORIGIN("webkitTransformOrigin", "webkit-transform-origin", ff("625px 172.5px")), + WEBKIT_TRANSFORM_ORIGIN("webkitTransformOrigin", "webkit-transform-origin", + chrome("620px 161px"), ff("625px 172.5px")), /** The style property {@code WebkitTransformOrigin}. */ WEBKIT_TRANSFORM_ORIGIN_("WebkitTransformOrigin", "webkit-transform-origin", ff("625px 172.5px")), @@ -3811,7 +3865,7 @@ WEBKIT_TRANSFORM_ORIGIN_Z("webkitTransformOriginZ", "webkit-transform-origin-z", chrome("")), /** The style property {@code webkitTransformStyle}. */ - WEBKIT_TRANSFORM_STYLE("webkitTransformStyle", "webkit-transform-style", ff("flat")), + WEBKIT_TRANSFORM_STYLE("webkitTransformStyle", "webkit-transform-style", chrome("flat"), ff("flat")), /** The style property {@code WebkitTransformStyle}. */ WEBKIT_TRANSFORM_STYLE_("WebkitTransformStyle", "webkit-transform-style", ff("flat")), @@ -3820,7 +3874,7 @@ WEBKIT_TRANSFORM_STYLE__("-webkit-transform-style", "webkit-transform-style", ff("flat")), /** The style property {@code webkitTransition}. */ - WEBKIT_TRANSITION("webkitTransition", "webkit-transition", ff("")), + WEBKIT_TRANSITION("webkitTransition", "webkit-transition", chrome("all 0s ease 0s"), ff("")), /** The style property {@code WebkitTransition}. */ WEBKIT_TRANSITION_("WebkitTransition", "webkit-transition", ff("")), @@ -3829,7 +3883,7 @@ WEBKIT_TRANSITION__("-webkit-transition", "webkit-transition", ff("")), /** The style property {@code webkitTransitionDelay}. */ - WEBKIT_TRANSITION_DELAY("webkitTransitionDelay", "webkit-transition-delay", ff("0s")), + WEBKIT_TRANSITION_DELAY("webkitTransitionDelay", "webkit-transition-delay", chrome("0s"), ff("0s")), /** The style property {@code WebkitTransitionDelay}. */ WEBKIT_TRANSITION_DELAY_("WebkitTransitionDelay", "webkit-transition-delay", ff("0s")), @@ -3838,7 +3892,7 @@ WEBKIT_TRANSITION_DELAY__("-webkit-transition-delay", "webkit-transition-delay", ff("0s")), /** The style property {@code webkitTransitionDuration}. */ - WEBKIT_TRANSITION_DURATION("webkitTransitionDuration", "webkit-transition-duration", ff("0s")), + WEBKIT_TRANSITION_DURATION("webkitTransitionDuration", "webkit-transition-duration", chrome("0s"), ff("0s")), /** The style property {@code WebkitTransitionDuration}. */ WEBKIT_TRANSITION_DURATION_("WebkitTransitionDuration", "webkit-transition-duration", ff("0s")), @@ -3847,7 +3901,7 @@ WEBKIT_TRANSITION_DURATION__("-webkit-transition-duration", "webkit-transition-duration", ff("0s")), /** The style property {@code webkitTransitionProperty}. */ - WEBKIT_TRANSITION_PROPERTY("webkitTransitionProperty", "webkit-transition-property", ff("all")), + WEBKIT_TRANSITION_PROPERTY("webkitTransitionProperty", "webkit-transition-property", chrome("all"), ff("all")), /** The style property {@code WebkitTransitionProperty}. */ WEBKIT_TRANSITION_PROPERTY_("WebkitTransitionProperty", "webkit-transition-property", ff("all")), @@ -3857,7 +3911,7 @@ /** The style property {@code webkitTransitionTimingFunction}. */ WEBKIT_TRANSITION_TIMING_FUNCTION("webkitTransitionTimingFunction", "webkit-transition-timing-function", - ff("ease")), + chrome("ease"), ff("ease")), /** The style property {@code WebkitTransitionTimingFunction}. */ WEBKIT_TRANSITION_TIMING_FUNCTION_("WebkitTransitionTimingFunction", "webkit-transition-timing-function", @@ -3874,7 +3928,7 @@ WEBKIT_USER_MODIFY("webkitUserModify", "webkit-user-modify", chrome("read-only")), /** The style property {@code webkitUserSelect}. */ - WEBKIT_USER_SELECT("webkitUserSelect", "webkit-user-select", ff("auto")), + WEBKIT_USER_SELECT("webkitUserSelect", "webkit-user-select", chrome("auto"), ff("auto")), /** The style property {@code WebkitUserSelect}. */ WEBKIT_USER_SELECT_("WebkitUserSelect", "webkit-user-select", ff("auto")), Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormat.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -76,7 +76,7 @@ commonFormats.put("", mmSlash); commonFormats.put("ar", "dd\u200F/MM\u200F/YYYY"); commonFormats.put("ar-SA", "d\u200F/M\u200F/YYYY هـ"); - commonFormats.put("ban", ddDot); + commonFormats.put("ban", mmSlash); commonFormats.put("be", ddDot); commonFormats.put("bg", ddDot + "\u200E \u0433."); commonFormats.put("ca", ddSlash); @@ -153,9 +153,9 @@ commonFormats.put("sq", ddDot); FF_52_FORMATS_.putAll(commonFormats); + FF_52_FORMATS_.put("ban", ddDot); FF_60_FORMATS_.putAll(commonFormats); - FF_60_FORMATS_.put("ban", mmSlash); CHROME_FORMATS_.put("be", yyyyDash); CHROME_FORMATS_.put("en-CA", yyyyDash); @@ -165,7 +165,6 @@ CHROME_FORMATS_.put("es-US", ddSlash); CHROME_FORMATS_.put("fr-CH", ddDot); CHROME_FORMATS_.put("hr", ddDotBlankDot); - CHROME_FORMATS_.put("in", ddDot); CHROME_FORMATS_.put("in-ID", ddSlash); CHROME_FORMATS_.put("is", yyyyDash); CHROME_FORMATS_.put("iw", ddDot); @@ -193,6 +192,7 @@ IE_FORMATS_.put("ar-SD", rightToLeft); IE_FORMATS_.put("ar-SY", rightToLeft); IE_FORMATS_.put("ar-YE", rightToLeft); + IE_FORMATS_.put("ban", ddDot); IE_FORMATS_.put("cs", ddDot); IE_FORMATS_.put("da", ddDash); IE_FORMATS_.put("en-IN", ddDash); Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -50,7 +50,7 @@ public class ExternalTest { /** Chrome driver. */ - static String CHROME_DRIVER_ = "2.40"; + static String CHROME_DRIVER_ = "2.41"; /** Gecko driver. */ static String GECKO_DRIVER_ = "0.21.0"; /** IE driver. */ Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/ElementPropertiesTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/ElementPropertiesTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/ElementPropertiesTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -2765,7 +2765,7 @@ + "volume,webkitAudioDecodedByteCount,webkitDecodedFrameCount," + "webkitDisplayingFullscreen,webkitDroppedFrameCount," + "webkitEnterFullscreen(),webkitEnterFullScreen()," - + "webkitExitFullScreen(),webkitExitFullscreen(),webkitSupportsFullscreen,webkitVideoDecodedByteCount," + + "webkitExitFullscreen(),webkitExitFullScreen(),webkitSupportsFullscreen,webkitVideoDecodedByteCount," + "width", FF52 = "addTextTrack(),autoplay,buffered,canPlayType(),controls,crossOrigin,currentSrc,currentTime," + "defaultMuted,defaultPlaybackRate,duration,ended,error,fastSeek(),getVideoPlaybackQuality()," @@ -3296,21 +3296,21 @@ + "linkColor,links,location,onabort,onauxclick,onbeforecopy," + "onbeforecut,onbeforepaste,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose," + "oncontextmenu,oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave," - + "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus," + + "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onfreeze," + "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,onpointerup,onprogress,onratechange,onreadystatechange,onreset,onresize," - + "onscroll,onsearch,onseeked,onseeking,onselect,onselectionchange,onselectstart,onstalled," + + "onresume,onscroll,onsearch,onseeked,onseeking,onselect,onselectionchange,onselectstart,onstalled," + "onsubmit,onsuspend,ontimeupdate,ontoggle,onvisibilitychange,onvolumechange,onwaiting," + "onwebkitfullscreenchange," - + "onwebkitfullscreenerror,onwheel,open(),origin,plugins,pointerLockElement,preferredStylesheetSet," + + "onwebkitfullscreenerror,onwheel,open(),origin,plugins,pointerLockElement," + "prepend(),queryCommandEnabled(),queryCommandIndeterm(),queryCommandState(),queryCommandSupported()," + "queryCommandValue(),querySelector(),querySelectorAll(),readyState,referrer,registerElement()," + "releaseEvents(),rootElement," - + "scripts,scrollingElement,selectedStylesheetSet,styleSheets,title,URL," - + "visibilityState,vlinkColor," + + "scripts,scrollingElement,styleSheets,title,URL," + + "visibilityState,vlinkColor,wasDiscarded," + "webkitCancelFullScreen(),webkitCurrentFullScreenElement,webkitExitFullscreen()," + "webkitFullscreenElement,webkitFullscreenEnabled,webkitHidden,webkitIsFullScreen," + "webkitVisibilityState,write(),writeln(),xmlEncoding,xmlStandalone,xmlVersion", Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -2078,9 +2078,10 @@ * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "exception", - FF = "function DOMRectList() {\n [native code]\n}") - @NotYetImplemented(FF) + @Alerts(DEFAULT = "function DOMRectList() {\n [native code]\n}", + CHROME = "function DOMRectList() { [native code] }", + IE = "exception") + @NotYetImplemented({CHROME, FF}) public void domRectList() throws Exception { test("DOMRectList"); } Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -14,6 +14,7 @@ */ package com.gargoylesoftware.htmlunit.general; +import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.CHROME; import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.FF; import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.IE; @@ -1302,9 +1303,9 @@ * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "undefined", - FF = "function") - @NotYetImplemented(FF) + @Alerts(DEFAULT = "function", + IE = "undefined") + @NotYetImplemented({CHROME, FF}) public void domRectList() throws Exception { test("DOMRectList"); } Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlImageInputTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlImageInputTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlImageInputTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -73,7 +73,7 @@ */ @Test @Alerts(DEFAULT = "§§URL§§?button.x=0&button.y=0", - CHROME = "§§URL§§?button.x=30&button.y=8", + CHROME = "§§URL§§?button.x=28&button.y=8", IE = "§§URL§§?button.x=14&button.y=15") @NotYetImplemented({CHROME, IE}) public void click_NoPosition_NoValue() throws Exception { Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -148,9 +148,9 @@ * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = {"#a b", "§§URL§§#a b", "#a%20b", "§§URL§§#a%20b", "#abc;,/?:@&=+$-_.!~*()ABC123foo", + @Alerts(DEFAULT = {"#a%20b", "§§URL§§#a%20b", "#a%20b", "§§URL§§#a%20b", "#abc;,/?:@&=+$-_.!~*()ABC123foo", "#%25%20%5E%5B%5D%7C%22%3C%3E%7B%7D%5C"}, - FF = {"#a%20b", "§§URL§§#a%20b", "#a%20b", "§§URL§§#a%20b", "#abc;,/?:@&=+$-_.!~*()ABC123foo", + IE = {"#a b", "§§URL§§#a b", "#a%20b", "§§URL§§#a%20b", "#abc;,/?:@&=+$-_.!~*()ABC123foo", "#%25%20%5E%5B%5D%7C%22%3C%3E%7B%7D%5C"}) public void hashEncoding() throws Exception { final String html = "<html><head><title>First</title><script>\n" @@ -177,7 +177,7 @@ */ @Test @Alerts({"#myDataTable=foo%3Dojkoj", "§§URL§§#myDataTable=foo%3Dojkoj"}) - @NotYetImplemented(FF) + @NotYetImplemented({CHROME, FF}) public void hashEncoding2() throws Exception { final String html = "<html><body><script>\n" + "window.location.hash = 'myDataTable=foo%3Dojkoj';\n" @@ -194,7 +194,6 @@ @Test @Alerts(DEFAULT = {"#%C3%BC%C3%B6%C3%A4", "§§URL§§#%C3%BC%C3%B6%C3%A4"}, IE = {"#üöä", "§§URL§§#üöä"}) - @NotYetImplemented(CHROME) public void hashEncoding3() throws Exception { final String html = "<html><body><script>\n" + "window.location.hash = 'üöä';\n" @@ -209,8 +208,8 @@ * @throws Exception if an error occurs */ @Test - @Alerts(DEFAULT = "#<a>foobar</a>", - FF = "#%3Ca%3Efoobar%3C/a%3E") + @Alerts(DEFAULT = "#%3Ca%3Efoobar%3C/a%3E", + IE = "#<a>foobar</a>") public void hash() throws Exception { checkHash(URL_FIRST + "?#<a>foobar</a>"); } Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementClientWidthTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementClientWidthTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementClientWidthTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -1793,7 +1793,7 @@ * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "92", + @Alerts(CHROME = "47", FF52 = "50", FF60 = "48", IE = "100") @@ -1822,7 +1822,7 @@ * @throws Exception if the test fails */ @Test - @Alerts(CHROME = "58", + @Alerts(CHROME = "54", FF52 = "96", FF60 = "94", IE = "114") Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/property/ElementOffsetWidthTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -1789,7 +1789,7 @@ * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "96", + @Alerts(DEFAULT = "51", FF52 = "56", FF60 = "54", IE = "102") @@ -1818,7 +1818,7 @@ * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "62", + @Alerts(DEFAULT = "58", FF52 = "102", FF60 = "100", IE = "116") Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/intl/DateTimeFormatTest.java 2018-07-28 15:41:38 UTC (rev 15496) @@ -119,8 +119,8 @@ * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "20.12.2012", - FF60 = "12/20/2012", + @Alerts(DEFAULT = "12/20/2012", + FF52 = "20.12.2012", IE = "\u200E20\u200E.\u200E12\u200E.\u200E2012") public void format_ban() throws Exception { test("new Intl.DateTimeFormat('ban').format(date)"); @@ -1174,7 +1174,6 @@ */ @Test @Alerts(DEFAULT = "20/12/2012", - CHROME = "20.12.2012", IE = "\u200E20\u200E/\u200E12\u200E/\u200E2012") public void format_in() throws Exception { test("new Intl.DateTimeFormat('in').format(date)"); Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt 2018-07-28 15:41:38 UTC (rev 15496) @@ -293,8 +293,24 @@ vectorEffect verticalAlign visibility +webkitAlignContent +webkitAlignItems +webkitAlignSelf +webkitAnimation +webkitAnimationDelay +webkitAnimationDirection +webkitAnimationDuration +webkitAnimationFillMode +webkitAnimationIterationCount +webkitAnimationName +webkitAnimationPlayState +webkitAnimationTimingFunction webkitAppRegion webkitAppearance +webkitBackfaceVisibility +webkitBackgroundClip +webkitBackgroundOrigin +webkitBackgroundSize webkitBorderAfter webkitBorderAfterColor webkitBorderAfterStyle @@ -303,6 +319,8 @@ webkitBorderBeforeColor webkitBorderBeforeStyle webkitBorderBeforeWidth +webkitBorderBottomLeftRadius +webkitBorderBottomRightRadius webkitBorderEnd webkitBorderEndColor webkitBorderEndStyle @@ -309,10 +327,13 @@ webkitBorderEndWidth webkitBorderHorizontalSpacing webkitBorderImage +webkitBorderRadius webkitBorderStart webkitBorderStartColor webkitBorderStartStyle webkitBorderStartWidth +webkitBorderTopLeftRadius +webkitBorderTopRightRadius webkitBorderVerticalSpacing webkitBoxAlign webkitBoxDecorationBreak @@ -322,13 +343,35 @@ webkitBoxOrient webkitBoxPack webkitBoxReflect +webkitBoxShadow +webkitBoxSizing +webkitClipPath webkitColumnBreakAfter webkitColumnBreakBefore webkitColumnBreakInside +webkitColumnCount +webkitColumnGap +webkitColumnRule +webkitColumnRuleColor +webkitColumnRuleStyle +webkitColumnRuleWidth +webkitColumnSpan +webkitColumnWidth +webkitColumns +webkitFilter +webkitFlex +webkitFlexBasis +webkitFlexDirection +webkitFlexFlow +webkitFlexGrow +webkitFlexShrink +webkitFlexWrap +webkitFontFeatureSettings webkitFontSizeDelta webkitFontSmoothing webkitHighlight webkitHyphenateCharacter +webkitJustifyContent webkitLineBreak webkitLineClamp webkitLocale @@ -365,15 +408,22 @@ webkitMaxLogicalWidth webkitMinLogicalHeight webkitMinLogicalWidth +webkitOpacity +webkitOrder webkitPaddingAfter webkitPaddingBefore webkitPaddingEnd webkitPaddingStart +webkitPerspective +webkitPerspectiveOrigin webkitPerspectiveOriginX webkitPerspectiveOriginY webkitPrintColorAdjust webkitRtlOrdering webkitRubyPosition +webkitShapeImageThreshold +webkitShapeMargin +webkitShapeOutside webkitTapHighlightColor webkitTextCombine webkitTextDecorationsInEffect @@ -384,14 +434,24 @@ webkitTextFillColor webkitTextOrientation webkitTextSecurity +webkitTextSizeAdjust webkitTextStroke webkitTextStrokeColor webkitTextStrokeWidth +webkitTransform +webkitTransformOrigin webkitTransformOriginX webkitTransformOriginY webkitTransformOriginZ +webkitTransformStyle +webkitTransition +webkitTransitionDelay +webkitTransitionDuration +webkitTransitionProperty +webkitTransitionTimingFunction webkitUserDrag webkitUserModify +webkitUserSelect webkitWritingMode whiteSpace widows Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt 2018-07-28 15:41:38 UTC (rev 15496) @@ -292,8 +292,24 @@ vectorEffect verticalAlign visibility +webkitAlignContent +webkitAlignItems +webkitAlignSelf +webkitAnimation +webkitAnimationDelay +webkitAnimationDirection +webkitAnimationDuration +webkitAnimationFillMode +webkitAnimationIterationCount +webkitAnimationName +webkitAnimationPlayState +webkitAnimationTimingFunction webkitAppRegion webkitAppearance +webkitBackfaceVisibility +webkitBackgroundClip +webkitBackgroundOrigin +webkitBackgroundSize webkitBorderAfter webkitBorderAfterColor webkitBorderAfterStyle @@ -302,6 +318,8 @@ webkitBorderBeforeColor webkitBorderBeforeStyle webkitBorderBeforeWidth +webkitBorderBottomLeftRadius +webkitBorderBottomRightRadius webkitBorderEnd webkitBorderEndColor webkitBorderEndStyle @@ -308,10 +326,13 @@ webkitBorderEndWidth webkitBorderHorizontalSpacing webkitBorderImage +webkitBorderRadius webkitBorderStart webkitBorderStartColor webkitBorderStartStyle webkitBorderStartWidth +webkitBorderTopLeftRadius +webkitBorderTopRightRadius webkitBorderVerticalSpacing webkitBoxAlign webkitBoxDecorationBreak @@ -321,13 +342,35 @@ webkitBoxOrient webkitBoxPack webkitBoxReflect +webkitBoxShadow +webkitBoxSizing +webkitClipPath webkitColumnBreakAfter webkitColumnBreakBefore webkitColumnBreakInside +webkitColumnCount +webkitColumnGap +webkitColumnRule +webkitColumnRuleColor +webkitColumnRuleStyle +webkitColumnRuleWidth +webkitColumnSpan +webkitColumnWidth +webkitColumns +webkitFilter +webkitFlex +webkitFlexBasis +webkitFlexDirection +webkitFlexFlow +webkitFlexGrow +webkitFlexShrink +webkitFlexWrap +webkitFontFeatureSettings webkitFontSizeDelta webkitFontSmoothing webkitHighlight webkitHyphenateCharacter +webkitJustifyContent webkitLineBreak webkitLineClamp webkitLocale @@ -364,15 +407,22 @@ webkitMaxLogicalWidth webkitMinLogicalHeight webkitMinLogicalWidth +webkitOpacity +webkitOrder webkitPaddingAfter webkitPaddingBefore webkitPaddingEnd webkitPaddingStart +webkitPerspective +webkitPerspectiveOrigin webkitPerspectiveOriginX webkitPerspectiveOriginY webkitPrintColorAdjust webkitRtlOrdering webkitRubyPosition +webkitShapeImageThreshold +webkitShapeMargin +webkitShapeOutside webkitTapHighlightColor webkitTextCombine webkitTextDecorationsInEffect @@ -383,14 +433,24 @@ webkitTextFillColor webkitTextOrientation webkitTextSecurity +webkitTextSizeAdjust webkitTextStroke webkitTextStrokeColor webkitTextStrokeWidth +webkitTransform +webkitTransformOrigin webkitTransformOriginX webkitTransformOriginY webkitTransformOriginZ +webkitTransformStyle +webkitTransition +webkitTransitionDelay +webkitTransitionDuration +webkitTransitionProperty +webkitTransitionTimingFunction webkitUserDrag webkitUserModify +webkitUserSelect webkitWritingMode whiteSpace widows Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt 2018-07-28 15:41:38 UTC (rev 15496) @@ -292,8 +292,24 @@ vectorEffect=:none verticalAlign=:baseline visibility=:visible +webkitAlignContent=:normal +webkitAlignItems=:normal +webkitAlignSelf=:auto +webkitAnimation=:none 0s ease 0s 1 normal none running +webkitAnimationDelay=:0s +webkitAnimationDirection=:normal +webkitAnimationDuration=:0s +webkitAnimationFillMode=:none +webkitAnimationIterationCount=:1 +webkitAnimationName=:none +webkitAnimationPlayState=:running +webkitAnimationTimingFunction=:ease webkitAppRegion=:none webkitAppearance=:none +webkitBackfaceVisibility=:visible +webkitBackgroundClip=:border-box +webkitBackgroundOrigin=:padding-box +webkitBackgroundSize=:auto webkitBorderAfter=:0px none rgb(0, 0, 0) webkitBorderAfterColor=:rgb(0, 0, 0) webkitBorderAfterStyle=:none @@ -302,6 +318,8 @@ webkitBorderBeforeColor=:rgb(0, 0, 0) webkitBorderBeforeStyle=:none webkitBorderBeforeWidth=:0px +webkitBorderBottomLeftRadius=:0px +webkitBorderBottomRightRadius=:0px webkitBorderEnd=:0px none rgb(0, 0, 0) webkitBorderEndColor=:rgb(0, 0, 0) webkitBorderEndStyle=:none @@ -308,10 +326,13 @@ webkitBorderEndWidth=:0px webkitBorderHorizontalSpacing=:0px webkitBorderImage=:none +webkitBorderRadius=:0px webkitBorderStart=:0px none rgb(0, 0, 0) webkitBorderStartColor=:rgb(0, 0, 0) webkitBorderStartStyle=:none webkitBorderStartWidth=:0px +webkitBorderTopLeftRadius=:0px +webkitBorderTopRightRadius=:0px webkitBorderVerticalSpacing=:0px webkitBoxAlign=:stretch webkitBoxDecorationBreak=:slice @@ -321,13 +342,35 @@ webkitBoxOrient=:horizontal webkitBoxPack=:start webkitBoxReflect=:none +webkitBoxShadow=:none +webkitBoxSizing=:content-box +webkitClipPath=:none webkitColumnBreakAfter=:auto webkitColumnBreakBefore=:auto webkitColumnBreakInside=:auto +webkitColumnCount=:auto +webkitColumnGap=:normal +webkitColumnRule=:0px none rgb(0, 0, 0) +webkitColumnRuleColor=:rgb(0, 0, 0) +webkitColumnRuleStyle=:none +webkitColumnRuleWidth=:0px +webkitColumnSpan=:none +webkitColumnWidth=:auto +webkitColumns=:auto auto +webkitFilter=:none +webkitFlex=:0 1 auto +webkitFlexBasis=:auto +webkitFlexDirection=:row +webkitFlexFlow=:row nowrap +webkitFlexGrow=:0 +webkitFlexShrink=:1 +webkitFlexWrap=:nowrap +webkitFontFeatureSettings=:normal webkitFontSizeDelta=: webkitFontSmoothing=:auto webkitHighlight=:none webkitHyphenateCharacter=:auto +webkitJustifyContent=:normal webkitLineBreak=:auto webkitLineClamp=:none webkitLocale=:auto @@ -364,15 +407,22 @@ webkitMaxLogicalWidth=:none webkitMinLogicalHeight=:0px webkitMinLogicalWidth=:0px +webkitOpacity=:1 +webkitOrder=:0 webkitPaddingAfter=:0px webkitPaddingBefore=:0px webkitPaddingEnd=:0px webkitPaddingStart=:0px +webkitPerspective=:none +webkitPerspectiveOrigin=:456.5px 161px webkitPerspectiveOriginX=: webkitPerspectiveOriginY=: webkitPrintColorAdjust=:economy webkitRtlOrdering=:logical webkitRubyPosition=:before +webkitShapeImageThreshold=:0 +webkitShapeMargin=:0px +webkitShapeOutside=:none webkitTapHighlightColor=:rgba(0, 0, 0, 0.18) webkitTextCombine=:none webkitTextDecorationsInEffect=:none @@ -383,14 +433,24 @@ webkitTextFillColor=:rgb(0, 0, 0) webkitTextOrientation=:vertical-right webkitTextSecurity=:none +webkitTextSizeAdjust=:auto webkitTextStroke=: webkitTextStrokeColor=:rgb(0, 0, 0) webkitTextStrokeWidth=:0px +webkitTransform=:none +webkitTransformOrigin=:620px 161px webkitTransformOriginX=: webkitTransformOriginY=: webkitTransformOriginZ=: +webkitTransformStyle=:flat +webkitTransition=:all 0s ease 0s +webkitTransitionDelay=:0s +webkitTransitionDuration=:0s +webkitTransitionProperty=:all +webkitTransitionTimingFunction=:ease webkitUserDrag=:auto webkitUserModify=:read-only +webkitUserSelect=:auto webkitWritingMode=:horizontal-tb whiteSpace=:normal widows=:2 Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt 2018-07-25 17:38:50 UTC (rev 15495) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt 2018-07-28 15:41:38 UTC (rev 15496) @@ -292,8 +292,24 @@ vectorEffect=: verticalAlign=: visibility=: +webkitAlignContent=: +webkitAlignItems=: +webkitAlignSelf=: +webkitAnimation=: +webkitAnimationDelay=: +webkitAnimationDirection=: +webkitAnimationDuration=: +webkitAnimationFillMode=: +webkitAnimationIterationCount=: +webkitAnimationName=: +webkitAnimationPlayState=: +webkitAnimationTimingFunction=: webkitAppRegion=: webkitAppearance=: +webkitBackfaceVisibility=: +webkitBackgroundClip=: +webkitBackgroundOrigin=: +webkitBackgroundSize=: webkitBorderAfter=: webkitBorderAfterColor=: webkitBorderAfterStyle=: @@ -302,6 +318,8 @@ webkitBorderBeforeColor=: webkitBorderBeforeStyle=: webkitBorderBeforeWidth=: +webkitBorderBottomLeftRadius=: +webkitBorderBottomRightRadius=: webkitBorderEnd=: webkitBorderEndColor=: webkitBorderEndStyle=: @@ -308,10 +326,13 @@ webkitBorderEndWidth=: webkitBorderHorizontalSpacing=: webkitBorderImage=: +webkitBorderRadius=: webkitBorderStart=: webkitBorderStartColor=: webkitBorderStartStyle=: webkitBorderStartWidth=: +webkitBorderTopLeftRadius=: +webkitBorderTopRightRadius=: webkitBorderVerticalSpacing=: webkitBoxAlign=: webkitBoxDecorationBreak=: @@ -321,13 +342,35 @@ webkitBoxOrient=: webkitBoxPack=: webkitBoxReflect=: +webkitBoxShadow=: +webkitBoxSizing=: +webkitClipPath=: webkitColumnBreakAfter=: webkitColumnBreakBefore=: webkitColumnBreakInside=: +webkitColumnCount=: +webkitColumnGap=: +webkitColumnRule=: +webkitColumnRuleColor=: +webkitColumnRuleStyle=: +webkitColumnRuleWidth=: +webkitColumnSpan=: +webkitColumnWidth=: +webkitColumns=: +webkitFilter=: +webkitFlex=: +webkitFlexBasis=: +webkitFlexDirection=: +webkitFlexFlow=: +webkitFlexGrow=: +webkitFlexShrink=: +webkitFlexWrap=: +webk... [truncated message content] |
From: rbri <rb...@rb...> - 2018-07-28 09:59:49
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-rhino-fork Commit: 28e149a27371cac80e06e99bc3646fbadb40ab56 https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/28e149a27371cac80e06e99bc3646fbadb40ab56 Author: rbri <rb...@rb...> Date: 2018-07-20 (Fri, 20 Jul 2018) Changed paths: M src/org/mozilla/javascript/typedarrays/NativeArrayBuffer.java A testsrc/org/mozilla/javascript/tests/NativeArrayBufferTest.java Log Message: ----------- fix issue 437 Commit: ef99ca1d026d5af69db463d1021b379e8dfef4b0 https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/ef99ca1d026d5af69db463d1021b379e8dfef4b0 Author: rbri <rb...@rb...> Date: 2018-07-20 (Fri, 20 Jul 2018) Changed paths: M toolsrc/org/mozilla/javascript/tools/idswitch/CodePrinter.java Log Message: ----------- use the system line separator for code generation Commit: acc8a9d1d502c01886e2c0eb2556829b4070ad0d https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/acc8a9d1d502c01886e2c0eb2556829b4070ad0d Author: rbri <rb...@rb...> Date: 2018-07-20 (Fri, 20 Jul 2018) Changed paths: M src/org/mozilla/javascript/EqualObjectGraphs.java Log Message: ----------- remove work around for 437 Commit: 7a1c3e2c58c1561709a0bd9aa80589c3183fdae9 https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/7a1c3e2c58c1561709a0bd9aa80589c3183fdae9 Author: rbri <rb...@rb...> Date: 2018-07-20 (Fri, 20 Jul 2018) Changed paths: M src/org/mozilla/javascript/EqualObjectGraphs.java M src/org/mozilla/javascript/typedarrays/NativeArrayBufferView.java M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java M testsrc/org/mozilla/javascript/tests/harmony/TypedArrayJavaTest.java Log Message: ----------- fix #449 also and remove the work around from EqualObjectGraphs Commit: e7ce0f761305d876f99a323a27214f064c5fb4f3 https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/e7ce0f761305d876f99a323a27214f064c5fb4f3 Author: rbri <rb...@rb...> Date: 2018-07-28 (Sat, 28 Jul 2018) Changed paths: M src/org/mozilla/javascript/EqualObjectGraphs.java M src/org/mozilla/javascript/typedarrays/NativeArrayBuffer.java M src/org/mozilla/javascript/typedarrays/NativeArrayBufferView.java M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java A testsrc/org/mozilla/javascript/tests/NativeArrayBufferTest.java M testsrc/org/mozilla/javascript/tests/harmony/TypedArrayJavaTest.java M toolsrc/org/mozilla/javascript/tools/idswitch/CodePrinter.java Log Message: ----------- Merge remote-tracking branch 'rbri_rhino/#437' Compare: https://github.com/HtmlUnit/htmlunit-rhino-fork/compare/211c5e646697...e7ce0f761305 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |
From: RBRi <rb...@us...> - 2018-07-27 18:43:37
|
Can you please * check if the latest snapshot makes any diffrence * before calling element.click() check if the element is dislayed (element.isDisplayed()) * call element.click(false, false, false, true, true, false) instead of element.click() --- ** [bugs:#1967] Clicking button has stopped working and returns same web page** **Status:** accepted **Group:** 2.31 **Created:** Mon Jun 11, 2018 09:45 AM UTC by Martin Strange **Last Updated:** Fri Jul 20, 2018 01:02 PM UTC **Owner:** RBRi Until recently, I have been running HtmlUnit 2.25. It was throwing up rhino errors but still allowed my code to click the edit button in a Google Sites web page to bring up the editable version of the page. My code has recently stopped working. Now when I call click() to click the edit button, the same web page is returned (easy to verify since the returned web page still contains the edit button and not the save button of the editable web page). I have switched to HmtlUnit 2.31. The good news is the rhino errors have gone. But click() is still not advancing to the editable web page. The problem doesn't seem likely to be a Javascript error, since once the right element is obtained I don't think Javascript is involved in the actual click() process. Here is my code: ~~~ :::java // Set up the web client. WebClient webClient = new WebClient(BrowserVersion.CHROME); // Read in cookies file so that the Google Sites server will recognise // me as logged in and return the logged in web page in the following // getPage call (code not shown here as this all works fine). // Get logged in web page. HtmlPage loggedInPage= webClient.getPage("https://sites.google.com/site/[my-web-page-at-google-sites]"); // Wait 2 secs just in case time is needed to execute Javascript. webClient.waitForBackgroundJavaScriptStartingBefore(2000); // Get the element (edit button) to click. HtmlElement element loggedInPage.getElementById("edit-start-btn"); // Check that element obtained is the correct edit button and all is // looking good for clicking it. System.out.println("Element about to be clicked is: + element); // Click the edit button to get the editable web page. HtmlPage editablePage = element.click(); // Have a look at the returned web page to see if it is the editable page. System.out.println(editablePage.asXml()); ~~~ Here is the web page code snippet containing the button I want to click: ~~~html <div role="button" id="edit-start-btn" class="goog-inline-block jfk-button jfk-button-standard jfk-button-disabled" aria-disabled="true"> <span id="sites-collaborator-bar-edit-page-icon" class="sites-camelot-icon"> </span> </div> ~~~ My code finds the element on the web page OK since the println that outputs details about the element about to be clicked corresponds correctly with the edit button shown in this web page code snippet above: ~~~ Element about to be clicked is: HtmlDivision[<div role="button" id="edit-start-btn" class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-right collaborator-btn-collapse-right" aria-disabled="false" aria-label="Edit page" tabindex="0">] ~~~ Why does my code fail, and why should it have previously worked OK in HtmlUnit 2.25 and then suddenly stopped working? I notice that the time now taken to perform the click() is at most a second or apparently instantaneous. When the code was working, it took a second or two. Could this indicate that HtmlUnit is not even going to the Google Sites server, perhaps returning the cached version of the same page instead? One thought I had but probably not relevant: could it be a focus issue? I know HtmlUnit has changed for text input in forms, now requiring the focus to be shifted to the form which wasn't the case before. Does the focus have to be shifted to a button before clicking it will work? Many thanks if you can help. I find HtmlUnit really useful in the work I do. It's an awesome tool and you guys do a fantastic job in developing and supporting it. --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-27 18:26:33
|
At the moment we have no solution for this but you can use this work around: * download the non minimized version of jQuery and place it on your machine * use the FalsifyingWebConnection to replace the server respons with the content from your machine ~~~ webClient.setWebConnection(new FalsifyingWebConnection(webClient) { @Override public WebResponse getResponse(WebRequest webRequest) throws IOException { System.out.println(webRequest.getUrl().toExternalForm()); if (webRequest.getUrl().getPath().endsWith("jquery-1.6.1.min.js")) { String jQuery = FileUtils.readFileToString(new File("jquery-1.6.1.js")); return createWebResponse(webRequest, jQuery, "application/javascript"); } return super.getResponse(webRequest); } }); ~~~ --- ** [bugs:#1835] Exception in JQuery 1.6.1 causing JQuery not to load** **Status:** accepted **Group:** 2.23 **Created:** Wed Nov 16, 2016 10:32 PM UTC by Willie Owens **Last Updated:** Mon Jun 19, 2017 12:23 PM UTC **Owner:** nobody To reproduce, here is a basic HTML file: ~~~ <html> <head> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script> </head> <body> Hello world! </body> </html> ~~~ which can be tested using the java program: ~~~ public class HtmlUnitJQuery1_6_1 { public static void main(String[] args) throws Exception { WebClient wc = new WebClient(BrowserVersion.CHROME); wc.getPage("file:///home/wowens/Documents/jquery1.6.1.html"); } } ~~~ You'll get an error that we cannot call the function "replace" on undefined: ~~~ Exception in thread "main" ======= EXCEPTION START ======== EcmaError: lineNumber=[18] column=[0] lineSource=[null] name=[TypeError] sourceName=[http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js] message=[TypeError: Cannot call method "replace" of undefined (http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js#18)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "replace" of undefined (http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js#18) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:883) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:815) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:787) at com.gargoylesoftware.htmlunit.InteractivePage.executeJavaScriptFunctionIfPossible(InteractivePage.java:216) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners(EventListenersContainer.java:258) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:322) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:192) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1167) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1172) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1223) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:254) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:484) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:351) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:416) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:401) at urjanet.pull.web.htmlunit.Anniston.main(Anniston.java:25) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot call method "replace" of undefined (http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js#18) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3976) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2414) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:808) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:868) ... 19 more Enclosed exception: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot call method "replace" of undefined (http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js#18) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3976) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2414) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:18) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:16) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:16) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:16) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:17) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:16) at script(http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js:16) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:808) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:868) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:815) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:787) at com.gargoylesoftware.htmlunit.InteractivePage.executeJavaScriptFunctionIfPossible(InteractivePage.java:216) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners(EventListenersContainer.java:258) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:322) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:192) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1167) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1172) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1223) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:254) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:484) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:351) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:416) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:401) at urjanet.pull.web.htmlunit.Anniston.main(Anniston.java:25) == CALLING JAVASCRIPT == function () { c.removeEventListener("DOMContentLoaded", z, !1), e.ready(); } ======= EXCEPTION END ======== ~~~ Using an later minor version of jquery works fine. I'd found this issue: https://github.com/bfsc/reviewer/issues/27, but in my case I need JQuery to load and I cannot use another version. Thanks, Willie --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-25 19:03:59
|
- **status**: accepted --> closed --- ** [bugs:#1976] java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function** **Status:** closed **Group:** Latest SVN **Created:** Wed Jul 25, 2018 03:06 AM UTC by Kim Myungho **Last Updated:** Wed Jul 25, 2018 07:03 PM UTC **Owner:** RBRi Hello. I tested htmlunit 2.31 for upgrade from 2.26 to 2.31. During test, I encountered ClassCastException like below. ~~~ java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.getEventHandler(EventListenersContainer.java:357) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventHandler(EventListenersContainer.java:294) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:323) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:189) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1413) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1418) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1220) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:292) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:398) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:315) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:480) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.urlCheck(HttpPageMonitoring.java:337) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.check(HttpPageMonitoring.java:145) at com.nhnent.mercury.inspect.webmon.WebScenarioSimulator.lambda$simulate$1(WebScenarioSimulator.java:48) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at java.lang.Thread.run(Thread.java:748) ~~~ I found that there's no type checking before cast. The problem has been fixed after adding some type checking logic. https://sourceforge.net/p/htmlunit/code/HEAD/tree/tags/HtmlUnit-2.31/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventListenersContainer.java#l357 I look forward to fixed this issue asap. Thank you for reading. HtmlUnit is awesome!!! --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-25 19:03:46
|
New snapshot is out now. Again thanks for this report and thanks for using HtmlUnit. --- ** [bugs:#1976] java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function** **Status:** accepted **Group:** Latest SVN **Created:** Wed Jul 25, 2018 03:06 AM UTC by Kim Myungho **Last Updated:** Wed Jul 25, 2018 05:40 PM UTC **Owner:** RBRi Hello. I tested htmlunit 2.31 for upgrade from 2.26 to 2.31. During test, I encountered ClassCastException like below. ~~~ java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.getEventHandler(EventListenersContainer.java:357) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventHandler(EventListenersContainer.java:294) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:323) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:189) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1413) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1418) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1220) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:292) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:398) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:315) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:480) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.urlCheck(HttpPageMonitoring.java:337) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.check(HttpPageMonitoring.java:145) at com.nhnent.mercury.inspect.webmon.WebScenarioSimulator.lambda$simulate$1(WebScenarioSimulator.java:48) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at java.lang.Thread.run(Thread.java:748) ~~~ I found that there's no type checking before cast. The problem has been fixed after adding some type checking logic. https://sourceforge.net/p/htmlunit/code/HEAD/tree/tags/HtmlUnit-2.31/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventListenersContainer.java#l357 I look forward to fixed this issue asap. Thank you for reading. HtmlUnit is awesome!!! --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-25 17:40:44
|
- **status**: open --> accepted - **assigned_to**: RBRi --- ** [bugs:#1976] java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function** **Status:** accepted **Group:** Latest SVN **Created:** Wed Jul 25, 2018 03:06 AM UTC by Kim Myungho **Last Updated:** Wed Jul 25, 2018 05:40 PM UTC **Owner:** RBRi Hello. I tested htmlunit 2.31 for upgrade from 2.26 to 2.31. During test, I encountered ClassCastException like below. ~~~ java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.getEventHandler(EventListenersContainer.java:357) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventHandler(EventListenersContainer.java:294) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:323) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:189) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1413) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1418) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1220) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:292) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:398) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:315) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:480) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.urlCheck(HttpPageMonitoring.java:337) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.check(HttpPageMonitoring.java:145) at com.nhnent.mercury.inspect.webmon.WebScenarioSimulator.lambda$simulate$1(WebScenarioSimulator.java:48) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at java.lang.Thread.run(Thread.java:748) ~~~ I found that there's no type checking before cast. The problem has been fixed after adding some type checking logic. https://sourceforge.net/p/htmlunit/code/HEAD/tree/tags/HtmlUnit-2.31/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventListenersContainer.java#l357 I look forward to fixed this issue asap. Thank you for reading. HtmlUnit is awesome!!! --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2018-07-25 17:40:27
|
Great finding. Hopefully this is fixed now - have to wait a bit what suprises our build server will create. If the test suite is green again, i will create a new snapshot and inform as ususal via twitter (https://twitter.com/HtmlUnit) --- ** [bugs:#1976] java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function** **Status:** open **Group:** Latest SVN **Created:** Wed Jul 25, 2018 03:06 AM UTC by Kim Myungho **Last Updated:** Wed Jul 25, 2018 03:10 AM UTC **Owner:** nobody Hello. I tested htmlunit 2.31 for upgrade from 2.26 to 2.31. During test, I encountered ClassCastException like below. ~~~ java.lang.ClassCastException: java.lang.Integer cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Function at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.getEventHandler(EventListenersContainer.java:357) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventHandler(EventListenersContainer.java:294) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:323) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:189) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1413) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532) at com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1418) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1220) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:292) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:398) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:315) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:480) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.urlCheck(HttpPageMonitoring.java:337) at com.nhnent.mercury.inspect.webmon.HttpPageMonitoring.check(HttpPageMonitoring.java:145) at com.nhnent.mercury.inspect.webmon.WebScenarioSimulator.lambda$simulate$1(WebScenarioSimulator.java:48) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at java.lang.Thread.run(Thread.java:748) ~~~ I found that there's no type checking before cast. The problem has been fixed after adding some type checking logic. https://sourceforge.net/p/htmlunit/code/HEAD/tree/tags/HtmlUnit-2.31/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventListenersContainer.java#l357 I look forward to fixed this issue asap. Thank you for reading. HtmlUnit is awesome!!! --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |