From: <rb...@us...> - 2017-07-26 13:21:51
|
Revision: 14715 http://sourceforge.net/p/htmlunit/code/14715 Author: rbri Date: 2017-07-26 13:21:48 +0000 (Wed, 26 Jul 2017) Log Message: ----------- latest Chrome (wip) Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/InputEvent.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/InputEvent.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/InputEvent.java 2017-07-26 13:09:47 UTC (rev 14714) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/event/InputEvent.java 2017-07-26 13:21:48 UTC (rev 14715) @@ -14,6 +14,7 @@ */ package com.gargoylesoftware.htmlunit.javascript.host.event; +import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF; import com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass; @@ -24,7 +25,7 @@ * * @author Ahmed Ashour */ -@JsxClass(FF) +@JsxClass({FF, CHROME}) public class InputEvent extends UIEvent { /** Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2017-07-26 13:09:47 UTC (rev 14714) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostClassNameTest.java 2017-07-26 13:21:48 UTC (rev 14715) @@ -6921,6 +6921,7 @@ */ @Test @Alerts(DEFAULT = "exception", + CHROME = "function InputEvent() { [native code] }", FF = "function InputEvent() {\n [native code]\n}") public void inputEvent() throws Exception { test("InputEvent"); @@ -10250,7 +10251,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "function SharedArrayBuffer() { [native code] }") public void sharedArrayBuffer() throws Exception { test("SharedArrayBuffer"); } @@ -10278,7 +10280,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "[object Atomics]") public void atomics() throws Exception { test("Atomics"); } @@ -10709,8 +10712,7 @@ * @throws Exception if the test fails */ @Test - @Alerts(DEFAULT = "exception", - CHROME = "function SiteBoundCredential() { [native code] }") + @Alerts("exception") public void siteBoundCredential() throws Exception { test("SiteBoundCredential"); } @@ -10831,7 +10833,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "function BudgetService() { [native code] }") public void budgetService() throws Exception { test("BudgetService"); } @@ -10840,7 +10843,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "function PaymentResponse() { [native code] }") public void paymentResponse() throws Exception { test("PaymentResponse"); } @@ -11144,7 +11148,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "function PaymentAddress() { [native code] }") public void paymentAddress() throws Exception { test("PaymentAddress"); } @@ -11171,7 +11176,8 @@ * @throws Exception if the test fails */ @Test - @Alerts("exception") + @Alerts(DEFAULT = "exception", + CHROME = "function PaymentRequest() { [native code] }") public void paymentRequest() throws Exception { test("PaymentRequest"); } |