From: <asa...@us...> - 2015-05-03 08:40:56
|
Revision: 10413 http://sourceforge.net/p/htmlunit/code/10413 Author: asashour Date: 2015-05-03 08:40:53 +0000 (Sun, 03 May 2015) Log Message: ----------- Window to inherit EventTarget, to be done at prototype level. 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 2015-05-03 08:02:41 UTC (rev 10412) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java 2015-05-03 08:40:53 UTC (rev 10413) @@ -129,6 +129,7 @@ import com.gargoylesoftware.htmlunit.javascript.host.dom.Node; import com.gargoylesoftware.htmlunit.javascript.host.dom.Selection; import com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer; +import com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget; import com.gargoylesoftware.htmlunit.javascript.host.html.DocumentProxy; import com.gargoylesoftware.htmlunit.javascript.host.html.HTMLBodyElement; import com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection; @@ -158,7 +159,7 @@ * @see <a href="http://msdn.microsoft.com/en-us/library/ms535873.aspx">MSDN documentation</a> */ @JsxClass -public class Window extends SimpleScriptable implements ScriptableWithFallbackGetter, Function { +public class Window extends EventTarget implements ScriptableWithFallbackGetter, Function { private static final Log LOG = LogFactory.getLog(Window.class); |