Skip to content

Commit ca52d74

Browse files
committed
time to remove IE (issue #735)
1 parent b6c2550 commit ca52d74

10 files changed

Lines changed: 61 additions & 66 deletions

File tree

src/main/java/org/htmlunit/javascript/configuration/JavaScriptConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@
236236
import org.htmlunit.javascript.host.file.FileSystemDirectoryReader;
237237
import org.htmlunit.javascript.host.file.FileSystemEntry;
238238
import org.htmlunit.javascript.host.file.FileSystemFileEntry;
239-
import org.htmlunit.javascript.host.geo.GeolocationCoordinates;
240239
import org.htmlunit.javascript.host.geo.Geolocation;
240+
import org.htmlunit.javascript.host.geo.GeolocationCoordinates;
241241
import org.htmlunit.javascript.host.geo.GeolocationPosition;
242242
import org.htmlunit.javascript.host.geo.GeolocationPositionError;
243243
import org.htmlunit.javascript.host.html.Audio;

src/main/java/org/htmlunit/javascript/host/Window.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public Navigator getNavigator() {
531531
* Returns the JavaScript property {@code clientInformation}.
532532
* @return the client information
533533
*/
534-
@JsxGetter({CHROME, EDGE, FF, FF_ESR, IE})
534+
@JsxGetter
535535
public Object getClientInformation() {
536536
if (clientInformation_ != null) {
537537
return clientInformation_;
@@ -2048,7 +2048,7 @@ public int getDevicePixelRatio() {
20482048
* Returns the {@code styleMedia} property.
20492049
* @return the {@code styleMedia} property
20502050
*/
2051-
@JsxGetter({CHROME, EDGE, IE})
2051+
@JsxGetter({CHROME, EDGE})
20522052
public StyleMedia getStyleMedia() {
20532053
final StyleMedia styleMedia = new StyleMedia();
20542054
styleMedia.setParentScope(this);
@@ -2104,7 +2104,7 @@ public SpeechSynthesis getSpeechSynthesis() {
21042104
* Returns the {@code offscreenBuffering} property.
21052105
* @return the {@code offscreenBuffering} property
21062106
*/
2107-
@JsxGetter({CHROME, EDGE, IE})
2107+
@JsxGetter({CHROME, EDGE})
21082108
public Object getOffscreenBuffering() {
21092109
return true;
21102110
}
@@ -2213,7 +2213,7 @@ public void setOninvalid(final Object oninvalid) {
22132213
* Returns the {@code onpointerout} event handler.
22142214
* @return the {@code onpointerout} event handler
22152215
*/
2216-
@JsxGetter({CHROME, EDGE, IE})
2216+
@JsxGetter({CHROME, EDGE})
22172217
public Function getOnpointerout() {
22182218
return getEventHandler(Event.TYPE_POINTEROUT);
22192219
}
@@ -2222,7 +2222,7 @@ public Function getOnpointerout() {
22222222
* Sets the {@code onpointerout} event handler.
22232223
* @param onpointerout the {@code onpointerout} event handler
22242224
*/
2225-
@JsxSetter({CHROME, EDGE, IE})
2225+
@JsxSetter({CHROME, EDGE})
22262226
public void setOnpointerout(final Object onpointerout) {
22272227
setHandlerForJavaScript(Event.TYPE_POINTEROUT, onpointerout);
22282228
}
@@ -2321,7 +2321,7 @@ public void setOncancel(final Object oncancel) {
23212321
* Returns the {@code onpointerenter} event handler.
23222322
* @return the {@code onpointerenter} event handler
23232323
*/
2324-
@JsxGetter({CHROME, EDGE, IE})
2324+
@JsxGetter({CHROME, EDGE})
23252325
public Function getOnpointerenter() {
23262326
return getEventHandler(Event.TYPE_POINTERENTER);
23272327
}
@@ -2330,7 +2330,7 @@ public Function getOnpointerenter() {
23302330
* Sets the {@code onpointerenter} event handler.
23312331
* @param onpointerenter the {@code onpointerenter} event handler
23322332
*/
2333-
@JsxSetter({CHROME, EDGE, IE})
2333+
@JsxSetter({CHROME, EDGE})
23342334
public void setOnpointerenter(final Object onpointerenter) {
23352335
setHandlerForJavaScript(Event.TYPE_POINTERENTER, onpointerenter);
23362336
}
@@ -2717,7 +2717,7 @@ public void setOnmspointerover(final Object onmspointerover) {
27172717
* Returns the {@code onpointermove} event handler.
27182718
* @return the {@code onpointermove} event handler
27192719
*/
2720-
@JsxGetter({CHROME, EDGE, IE})
2720+
@JsxGetter({CHROME, EDGE})
27212721
public Function getOnpointermove() {
27222722
return getEventHandler(Event.TYPE_POINTERMOVE);
27232723
}
@@ -2726,7 +2726,7 @@ public Function getOnpointermove() {
27262726
* Sets the {@code onpointermove} event handler.
27272727
* @param onpointermove the {@code onpointermove} event handler
27282728
*/
2729-
@JsxSetter({CHROME, EDGE, IE})
2729+
@JsxSetter({CHROME, EDGE})
27302730
public void setOnpointermove(final Object onpointermove) {
27312731
setHandlerForJavaScript(Event.TYPE_POINTERMOVE, onpointermove);
27322732
}
@@ -2789,7 +2789,7 @@ public void setOnlostpointercapture(final Object onlostpointercapture) {
27892789
* Returns the {@code onpointerover} event handler.
27902790
* @return the {@code onpointerover} event handler
27912791
*/
2792-
@JsxGetter({CHROME, EDGE, IE})
2792+
@JsxGetter({CHROME, EDGE})
27932793
public Function getOnpointerover() {
27942794
return getEventHandler(Event.TYPE_POINTEROVER);
27952795
}
@@ -2798,7 +2798,7 @@ public Function getOnpointerover() {
27982798
* Sets the {@code onpointerover} event handler.
27992799
* @param onpointerover the {@code onpointerover} event handler
28002800
*/
2801-
@JsxSetter({CHROME, EDGE, IE})
2801+
@JsxSetter({CHROME, EDGE})
28022802
public void setOnpointerover(final Object onpointerover) {
28032803
setHandlerForJavaScript(Event.TYPE_POINTEROVER, onpointerover);
28042804
}
@@ -2915,7 +2915,7 @@ public void setOnmouseleave(final Object onmouseleave) {
29152915
* Returns the {@code onmousewheel} event handler.
29162916
* @return the {@code onmousewheel} event handler
29172917
*/
2918-
@JsxGetter({CHROME, EDGE, IE})
2918+
@JsxGetter({CHROME, EDGE})
29192919
public Function getOnmousewheel() {
29202920
return getEventHandler(Event.TYPE_MOUSEWHEEL);
29212921
}
@@ -2924,7 +2924,7 @@ public Function getOnmousewheel() {
29242924
* Sets the {@code onmousewheel} event handler.
29252925
* @param onmousewheel the {@code onmousewheel} event handler
29262926
*/
2927-
@JsxSetter({CHROME, EDGE, IE})
2927+
@JsxSetter({CHROME, EDGE})
29282928
public void setOnmousewheel(final Object onmousewheel) {
29292929
setHandlerForJavaScript(Event.TYPE_MOUSEWHEEL, onmousewheel);
29302930
}
@@ -3257,7 +3257,7 @@ public void setOnrejectionhandled(final Object onrejectionhandled) {
32573257
* Returns the {@code onpointercancel} event handler.
32583258
* @return the {@code onpointercancel} event handler
32593259
*/
3260-
@JsxGetter({CHROME, EDGE, IE})
3260+
@JsxGetter({CHROME, EDGE})
32613261
public Function getOnpointercancel() {
32623262
return getEventHandler(Event.TYPE_POINTERCANCEL);
32633263
}
@@ -3266,7 +3266,7 @@ public Function getOnpointercancel() {
32663266
* Sets the {@code onpointercancel} event handler.
32673267
* @param onpointercancel the {@code onpointercancel} event handler
32683268
*/
3269-
@JsxSetter({CHROME, EDGE, IE})
3269+
@JsxSetter({CHROME, EDGE})
32703270
public void setOnpointercancel(final Object onpointercancel) {
32713271
setHandlerForJavaScript(Event.TYPE_POINTERCANCEL, onpointercancel);
32723272
}
@@ -3365,7 +3365,7 @@ public void setOnprogress(final Object onprogress) {
33653365
* Returns the {@code onpointerup} event handler.
33663366
* @return the {@code onpointerup} event handler
33673367
*/
3368-
@JsxGetter({CHROME, EDGE, IE})
3368+
@JsxGetter({CHROME, EDGE})
33693369
public Function getOnpointerup() {
33703370
return getEventHandler(Event.TYPE_POINTERUP);
33713371
}
@@ -3374,7 +3374,7 @@ public Function getOnpointerup() {
33743374
* Sets the {@code onpointerup} event handler.
33753375
* @param onpointerup the {@code onpointerup} event handler
33763376
*/
3377-
@JsxSetter({CHROME, EDGE, IE})
3377+
@JsxSetter({CHROME, EDGE})
33783378
public void setOnpointerup(final Object onpointerup) {
33793379
setHandlerForJavaScript(Event.TYPE_POINTERUP, onpointerup);
33803380
}
@@ -3419,7 +3419,7 @@ public void setOnmspointerdown(final Object onmspointerdown) {
34193419
* Returns the {@code onpointerleave} event handler.
34203420
* @return the {@code onpointerleave} event handler
34213421
*/
3422-
@JsxGetter({CHROME, EDGE, IE})
3422+
@JsxGetter({CHROME, EDGE})
34233423
public Function getOnpointerleave() {
34243424
return getEventHandler(Event.TYPE_POINTERLEAVE);
34253425
}
@@ -3428,7 +3428,7 @@ public Function getOnpointerleave() {
34283428
* Sets the {@code onpointerleave} event handler.
34293429
* @param onpointerleave the {@code onpointerleave} event handler
34303430
*/
3431-
@JsxSetter({CHROME, EDGE, IE})
3431+
@JsxSetter({CHROME, EDGE})
34323432
public void setOnpointerleave(final Object onpointerleave) {
34333433
setHandlerForJavaScript(Event.TYPE_POINTERLEAVE, onpointerleave);
34343434
}
@@ -3869,7 +3869,7 @@ public void setOndragleave(final Object ondragleave) {
38693869
* Returns the {@code onpointerdown} event handler.
38703870
* @return the {@code onpointerdown} event handler
38713871
*/
3872-
@JsxGetter({CHROME, EDGE, IE})
3872+
@JsxGetter({CHROME, EDGE})
38733873
public Function getOnpointerdown() {
38743874
return getEventHandler(Event.TYPE_POINTERDOWN);
38753875
}
@@ -3878,7 +3878,7 @@ public Function getOnpointerdown() {
38783878
* Sets the {@code onpointerdown} event handler.
38793879
* @param onpointerdown the {@code onpointerdown} event handler
38803880
*/
3881-
@JsxSetter({CHROME, EDGE, IE})
3881+
@JsxSetter({CHROME, EDGE})
38823882
public void setOnpointerdown(final Object onpointerdown) {
38833883
setHandlerForJavaScript(Event.TYPE_POINTERDOWN, onpointerdown);
38843884
}

src/main/java/org/htmlunit/javascript/host/css/CSSStyleDeclaration.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ public void setWidth(final Object width) {
19661966
* Gets the {@code widows} style attribute.
19671967
* @return the style attribute
19681968
*/
1969-
@JsxGetter({CHROME, EDGE, IE})
1969+
@JsxGetter({CHROME, EDGE})
19701970
public String getWidows() {
19711971
if (styleDeclaration_ == null) {
19721972
return null; // prototype
@@ -1978,7 +1978,7 @@ public String getWidows() {
19781978
* Sets the {@code widows} style attribute.
19791979
* @param widows the new attribute
19801980
*/
1981-
@JsxSetter({CHROME, EDGE, IE})
1981+
@JsxSetter({CHROME, EDGE})
19821982
public void setWidows(final String widows) {
19831983
if (getBrowserVersion().hasFeature(CSS_BACKGROUND_INITIAL)) {
19841984
try {
@@ -1997,7 +1997,7 @@ public void setWidows(final String widows) {
19971997
* Gets the {@code orphans} style attribute.
19981998
* @return the style attribute
19991999
*/
2000-
@JsxGetter({CHROME, EDGE, IE})
2000+
@JsxGetter({CHROME, EDGE})
20012001
public String getOrphans() {
20022002
if (styleDeclaration_ == null) {
20032003
return null; // prototype
@@ -2009,7 +2009,7 @@ public String getOrphans() {
20092009
* Sets the {@code orphans} style attribute.
20102010
* @param orphans the new attribute
20112011
*/
2012-
@JsxSetter({CHROME, EDGE, IE})
2012+
@JsxSetter({CHROME, EDGE})
20132013
public void setOrphans(final String orphans) {
20142014
if (getBrowserVersion().hasFeature(CSS_BACKGROUND_INITIAL)) {
20152015
try {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import static org.htmlunit.javascript.configuration.SupportedBrowser.CHROME;
1818
import static org.htmlunit.javascript.configuration.SupportedBrowser.EDGE;
19-
import static org.htmlunit.javascript.configuration.SupportedBrowser.IE;
2019

2120
import org.htmlunit.javascript.HtmlUnitScriptable;
2221
import org.htmlunit.javascript.configuration.JsxClass;
@@ -28,7 +27,7 @@
2827
* @author Ahmed Ashour
2928
* @author Ronald Brill
3029
*/
31-
@JsxClass({CHROME, EDGE, IE})
30+
@JsxClass({CHROME, EDGE})
3231
public class DOMError extends HtmlUnitScriptable {
3332

3433
/**

0 commit comments

Comments
 (0)