defiant.js icon indicating copy to clipboard operation
defiant.js copied to clipboard

does not work in IE11

Open thedimm opened this issue 6 years ago • 9 comments

syntax errors in IE

thedimm avatar Dec 17 '18 15:12 thedimm

Which version?

hbi99 avatar Dec 17 '18 16:12 hbi99

Latest v2.1.2 Tried defiant.js and defiant.min.js and I got syntax error in IE when I include them. OK in Chrome.

thedimm avatar Dec 17 '18 16:12 thedimm

I mean which version of IE :-)

hbi99 avatar Dec 17 '18 21:12 hbi99

Sorry :) IE 11.0.9600

thedimm avatar Dec 17 '18 22:12 thedimm

the same with me

namnguyen2091 avatar Dec 18 '18 03:12 namnguyen2091

The specific error occurring in IE11 (I have the issue in 11.0.9600): SCRIPT1046: "Multiple definitions of a property not allowed in strict mode" File: defiant.minjs, Line: 6; Column 4764

designbymichael avatar Mar 26 '19 14:03 designbymichael

When I dive a bit deeper, it looks like IE is throwing security errors with this line (759 in defiant.js): worker = new Worker(url.createObjectURL(blob));

I've seen conversations about this issue in other scripts, too, like leaflet.js: https://github.com/Leaflet/Leaflet.VectorGrid/issues/58

designbymichael avatar Mar 26 '19 15:03 designbymichael

I'm also seeing errors in IE 11: Object doesn't support property or method 'selectNodes'

dkachele avatar Apr 23 '19 17:04 dkachele

@designbymichael I encountered a problem with Web Workers in IE. This seems to be a known issue as well and I haven't been able to come up with a solution.

hbi99 avatar May 19 '19 12:05 hbi99