Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Object.values() function is not supported on IE 11 and older versions of Google Chrome
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global...
A lot of our clients still use Windows XP with Google Chrome 49 installed (latest available for Win XP). So they have problems after upgrading theme to bootstrap-3.10.
Comment | File | Size | Author |
---|---|---|---|
#2 | object-values-fix-2948623.patch | 1.13 KB | f1mishutka |
Comments
Comment #2
f1mishutka CreditAttribution: f1mishutka as a volunteer commentedMy proposal: do not use Object.values() function in JS code (I've found 2 places)
P.S.: I hate IE too. And I do not like clients that use old Google Chrome versions and forcing us to support them.
But that is reality :(
Comment #3
markhalliwellLink provided is for Array.prototype.values, not Object.values. Regardless, https://caniuse.com/#feat=object-values provides a better understanding of how saturated this feature is.
Even Microsoft stopped supporting Windows XP... 4 years ago...
This isn't just a matter of updating to a modern browser. They should upgrade their whole computer which, coincidentally, will come with a newer browser :D
Comment #5
markhalliwellComment #6
f1mishutka CreditAttribution: f1mishutka as a volunteer commentedMark, I don't think there are any developers who like IE or old browsers for web development or even for surfing. But we are talking about clients.
One of our customers has ~20 computers under Windows XP (they use very old software and have compatibility problems even under Windows 7). And we want to sell them our service (it based on Drupal 8 and Bootstrap theme). And I can not tell to the customers "You guys stupidos. You have to buy 20 new computers with licenses and all the stuff and solve your old software compatibility problems after that just to try our services". So I tell them very gently "You have very old browser. This is very bad practice and really unsafe. Please, consider some ways to upgrade." And after that I should provide them a way to work with our system using their current environment for them be able at least to try how good we are for them.
Anyway thank you very much for developing Bootstrap theme! Really appreciate your work!
P.S.: Can't wait to try Bootstrap 4 for Drupal 8 :)
Comment #7
f1mishutka CreditAttribution: f1mishutka as a volunteer commentedComment #8
MatroskeenBy the way, the same issue can be reproduced in iPhone / iPad. This is not only IE issue.
Anyway, thanks for the patch ;)
Comment #9
f1mishutka CreditAttribution: f1mishutka as a volunteer commentedYes, this function was not supported on iOS before March 2017: http://prntscr.com/ildfnk