Weekly tests with polyfill combinations are failing in IE8
See original GitHub issuesee : https://github.com/Financial-Times/polyfill-library/runs/4280696106?check_suite_focus=true
Browser: ie/8.0 Test config: targeted / combined / shard 1 ✘ 610 tests, 46 failures 116 seconds to complete
Failures:
- ie/8.0:
-> TextEncoder passes the feature detect
http://bs-local.com:9876/test?includePolyfills=yes&always=no&feature=TextEncoder
false == true
- ie/8.0:
-> TextEncoder TextEncoder has a valid constructor
http://bs-local.com:9876/test?includePolyfills=yes&always=no&feature=TextEncoder
'TextEncoder' is undefined
- ie/8.0:
-> TextEncoder TextDecoder has a valid constructor
http://bs-local.com:9876/test?includePolyfills=yes&always=no&feature=TextEncoder
'TextDecoder' is undefined
- ie/8.0:
-> TextEncoder TextDecoder decodes encoded strings
http://bs-local.com:9876/test?includePolyfills=yes&always=no&feature=TextEncoder
'TextEncoder' is undefined
...
I can’t immediately see which change introduced this regression.
There is an exception on : polyfills/Object/defineProperty/polyfill.js:37
This explains why polyfill tests fail at some point.
Something throws an exception, stopping execution of the polyfill bundle.
if (!supportsAccessors) {
throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);
}
But there are a lot of callers and most have a try catch
.
To reproduce manually in IE8 :
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
I Used The Web For A Day On Internet Explorer 8
If we try to run the Array.indexOf method in IE8, it will fail. But if we're already writing in ES5, what else can...
Read more >ESLint checks for missing polyfills in your web apps ... - Medium
Avoiding Uncaught and unexpected — ESLint checks for missing polyfills in your web apps. TL;DR; this eslint rule will give you feedback if...
Read more >Cross Browser Compatibility Issues With Form Input Types
Newly introduced form input types posed a plethora of cross browser compatibility issues, which in some cases dampened UX or lead to faulty...
Read more >ie-love - npm
Combo polyfill for IE8 and below. ... x.x, and ie-love for IE8 and below, and load jQuery 2. ... cloneNode():p.test(a)?(d.cache[a]=d.
Read more >Internet Explorer 11 testing - Office Add-ins - Microsoft Learn
Office on the web no longer opens in Internet Explorer. · AppSource still tests for combinations of platform and Office desktop versions that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I have now found the fix for this and also found another bug to fix 😄
You’re right @romainmenke I did miss this - I’ll see if I have time to look into it today - thank you for pinging me on this!