[wp-trac] [WordPress Trac] #53078: Stop loading polyfills specific to Internet Explorer
WordPress Trac
noreply at wordpress.org
Tue Apr 27 13:11:34 UTC 2021
#53078: Stop loading polyfills specific to Internet Explorer
---------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+---------------------
Comment (by desrosj):
Thanks @sergiomdgomes!
When I originally investigating, I referenced the
[https://www.npmjs.com/package/formdata-polyfill#native-browser-
compatibility-as-of-2020-01-13 native browser compatibility section in the
polyfill's Readme file]. This indicates that no versions Edge support
`for...of`.
However, I just did some more digging and it seems that this is
[https://caniuse.com/mdn-javascript_statements_for_of incorrect according
to Can I use].
With this in mind, I think that we can also stop loading the `formdata-
polyfill`. I'll update the PR.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53078#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list