From: <rb...@us...> - 2017-09-09 18:33:18
|
Revision: 14820 http://sourceforge.net/p/htmlunit/code/14820 Author: rbri Date: 2017-09-09 18:33:15 +0000 (Sat, 09 Sep 2017) Log Message: ----------- NetworkInformation added Modified Paths: -------------- trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2017-09-09 18:31:25 UTC (rev 14819) +++ trunk/htmlunit/src/changes/changes.xml 2017-09-09 18:33:15 UTC (rev 14820) @@ -7,7 +7,10 @@ </properties> <body> - <release version="2.28" date="???" description="Bugfixes, Chrome 60"> + <release version="2.28" date="???" description="Bugfixes, Chrome 61"> + <action type="add" dev="rbri"> + JavaScript: support NetworkInformation (Chrome only at the moment). + </action> <action type="add" dev="rbri" issue="1913"> JavaScript: support FileReader.readAsArrayBuffer(). </action> Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2017-09-09 18:31:25 UTC (rev 14819) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2017-09-09 18:33:15 UTC (rev 14820) @@ -449,9 +449,21 @@ } /** + * Test {@link com.gargoylesoftware.htmlunit.javascript.host.ClientRect}. + * * @throws Exception if an error occurs */ @Test + @Alerts(DEFAULT = "function", + IE = "undefined") + public void domRect() throws Exception { + test("DOMRect"); + } + + /** + * @throws Exception if an error occurs + */ + @Test @Alerts(DEFAULT = "undefined", FF = "function") public void domRectList() throws Exception { @@ -3139,18 +3151,6 @@ } /** - * Test {@link com.gargoylesoftware.htmlunit.javascript.host.ClientRect}. - * - * @throws Exception if an error occurs - */ - @Test - @Alerts(DEFAULT = "function", - IE = "undefined") - public void domRect() throws Exception { - test("DOMRect"); - } - - /** * Test {@link com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleDeclaration}. * * @throws Exception if an error occurs |