@@ -31,7 +31,6 @@ const isChrome = hasDom
31
31
? typeof global . chrome === 'object' && ! ( typeof global . opera === 'object' )
32
32
: false ;
33
33
const isFirefox = hasDom ? / F i r e f o x | F x i O S / u. test ( navigator . userAgent ) : false ;
34
- const isIE11 = ! global . ActiveXObject && 'ActiveXObject' in window ;
35
34
36
35
interface Counters {
37
36
adds : number ;
@@ -82,8 +81,6 @@ if (hasDom) {
82
81
83
82
if ( isChrome || isFirefox ) {
84
83
assert . strictEqual ( SUPPORTS_EVENT_OPTIONS , true , 'is true in chrome and firefox' ) ;
85
- } else if ( isIE11 ) {
86
- assert . strictEqual ( SUPPORTS_EVENT_OPTIONS , false , 'is false in IE11' ) ;
87
84
}
88
85
}
89
86
@@ -189,11 +186,7 @@ if (hasDom) {
189
186
190
187
assert . strictEqual ( count , 1 , 'has been called 1 times' ) ;
191
188
192
- if ( isIE11 ) {
193
- this . assertCounts ( { adds : 1 , removes : 1 } ) ;
194
- } else {
195
- this . assertCounts ( { adds : 1 , removes : 0 } ) ;
196
- }
189
+ this . assertCounts ( { adds : 1 , removes : 0 } ) ;
197
190
}
198
191
199
192
@test
@@ -226,11 +219,7 @@ if (hasDom) {
226
219
button . click ( ) ;
227
220
assert . strictEqual ( count , 3 , 'is not called again' ) ;
228
221
229
- if ( isIE11 ) {
230
- this . assertCounts ( { adds : 2 , removes : 2 } ) ;
231
- } else {
232
- this . assertCounts ( { adds : 2 , removes : 1 } ) ;
233
- }
222
+ this . assertCounts ( { adds : 2 , removes : 1 } ) ;
234
223
}
235
224
236
225
@test
0 commit comments