Ok, got a build done with current incoming, and can confirm that at least for my case it's working in IE 11 again without the polyfill. :)
(This is for an asm.js build with no memory init file, so no extra resources need to be loaded once the JS is loaded.) Thanks! -- brion On Mon, Jul 30, 2018 at 7:00 PM Alon Zakai <[email protected]> wrote: > Yeah, I think it's definitely worth supporting stuff like this in > LEGACY_VM_SUPPORT. I'd like us to support IE11 for quite some time, unless > it really becomes impractical. > > For this specific issue though, I think we may have already fixed it in > #6914 and #6894 - we should check for document.currentScript more carefully > now. Is this still an issue on latest incoming? (those landed after 1.38.10) > > - Alon > > > On Sun, Jul 29, 2018 at 6:42 PM, Brion Vibber <[email protected]> wrote: > >> Quick heads-up in case anybody else is still maintaining libraries to run >> in IE 11: >> >> The check for document.currentScript for getting environmental paths in >> emscripten 1.38.10 fails in IE 11, which doesn't provide an implementation >> of this property. >> >> For my use in ogv.js I've hackishly polyfilled it: >> https://github.com/brion/ogv.js/blob/master/src/js/currentScript.js >> This isn't a 100% correct polyfill, though, so beware if you use it, it >> may affect other things in your page. >> >> Is there any interest in adding stuff like that to the LEGACY_VM_SUPPORT >> option, or should we expect IE 11 support to occasionally degrade at this >> point? >> >> -- brion >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
