Skip to content

Commit 823fbb8

Browse files
committed
time to remove IE (issue #735)
1 parent b1270e7 commit 823fbb8

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/main/java/org/htmlunit/javascript/host/dom/Document.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import static org.htmlunit.javascript.configuration.SupportedBrowser.EDGE;
2626
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF;
2727
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR;
28-
// import static org.htmlunit.javascript.configuration.SupportedBrowser.IE;
2928

3029
import java.io.IOException;
3130
import java.io.Serializable;
@@ -1362,6 +1361,15 @@ public void setOnfocus(final Object handler) {
13621361
setEventHandler(Event.TYPE_FOCUS, handler);
13631362
}
13641363

1364+
/**
1365+
* Returns the {@code onfocus} event handler for this element.
1366+
* @return the {@code onfocus} event handler for this element
1367+
*/
1368+
@JsxGetter
1369+
public Object getOnfocus() {
1370+
return getEventHandler(Event.TYPE_FOCUS);
1371+
}
1372+
13651373
/**
13661374
* Sets the {@code onkeydown} event handler for this element.
13671375
* @param handler the {@code onkeydown} event handler for this element

0 commit comments

Comments
 (0)