12/25/2023 0 Comments Angular2 unresponsive script firefox![]() The torch needs to be passed on to Edge, which I find to be a worthy browser in this vast and everchanging web landscape. I love working with Microsoft technologies, but I honestly believe IE should be dead and buried. In the meantime I want to clarify that I don’t want to bash on Microsoft. That’s all for now, we’re still in development to support IE11, so expect this list to grow over time. Put these lines in your polyfills.ts file: /* * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js * with the following flag, it will bypass `zone.js` patch for IE/Edge */ //(window as any)._Zone_enable_cross_context_check = true if (document || /Edge/.test(erAgent)) The most efficient way to fix this, is by enabling cross context check on Zone.js. When using the IE11 developer tools, Angular throws the ‘Can’t execute code from a freed script’ error. If you did not prevail on the first task, my condolences, here are some common issues for you to keep in mind when supporting IE in Angular development. Note that the following pieces of modern tech are not supported in IE11: Show them this blogpost, show them the references, show them this IE bug that is still open after 4 years. So I just need to change the dom.maxscriptruntime each time the page gets loaded. I’ve created a small list of issues I’ve encountered when developing and Angular 5 application for an IE 11 client.įirst, if you ever get asked to support IE, talk your customer/manager/client out of it. On when the value is set to default(i.e.10) my firefox goes Not Responding and I get warning alert message like Warning: Unresponsive Script I just need to set the value to 20 or 30 to avoid any such alerts popping often and let the script to run for longer time. But, there are things that really aren’t up for the Angular devs to fix. I must say that there’s quite the support provided by the Angular dev team and community.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |