[HtmlUnit] SVN: [14731] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ javascript/host/html

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[HtmlUnit] SVN: [14731] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ javascript/host/html

HtmlUnit - Dev mailing list
Revision: 14731
          http://sourceforge.net/p/htmlunit/code/14731
Author:   rbri
Date:     2017-07-27 18:11:23 +0000 (Thu, 27 Jul 2017)
Log Message:
-----------
latest Chrome - bring our impl in sync (wip)

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLBodyElement.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameSetElement.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLBodyElement.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLBodyElement.java 2017-07-27 18:00:31 UTC (rev 14730)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLBodyElement.java 2017-07-27 18:11:23 UTC (rev 14731)
@@ -507,6 +507,24 @@
     }
 
     /**
+     * Returns the {@code onmessageerror} event handler for this element.
+     * @return the {@code onmessageerror} event handler for this element
+     */
+    @JsxGetter(CHROME)
+    public Function getOnmessageerror() {
+        return getEventHandler("onmessageerror");
+    }
+
+    /**
+     * Sets the {@code onmessageerror} event handler for this element.
+     * @param onmessageerror the {@code onmessageerror} event handler for this element
+     */
+    @JsxSetter(CHROME)
+    public void setOnmessageerror(final Object onmessageerror) {
+        setEventHandler("onmessageerror", onmessageerror);
+    }
+
+    /**
      * {@inheritDoc}
      */
     @Override

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameSetElement.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameSetElement.java 2017-07-27 18:00:31 UTC (rev 14730)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameSetElement.java 2017-07-27 18:11:23 UTC (rev 14731)
@@ -204,6 +204,24 @@
     }
 
     /**
+     * Returns the {@code onmessageerror} event handler for this element.
+     * @return the {@code onmessageerror} event handler for this element
+     */
+    @JsxGetter(CHROME)
+    public Function getOnmessageerror() {
+        return getEventHandler("onmessageerror");
+    }
+
+    /**
+     * Sets the {@code onmessageerror} event handler for this element.
+     * @param onmessageerror the {@code onmessageerror} event handler for this element
+     */
+    @JsxSetter(CHROME)
+    public void setOnmessageerror(final Object onmessageerror) {
+        setEventHandler("onmessageerror", onmessageerror);
+    }
+
+    /**
      * Returns the {@code onoffline} event handler.
      * @return the {@code onoffline} event handler
      */


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop