Document supported browsers
See original GitHub issueWe’re running into some trouble running our test suite for Thorax with chai. IE9 is fine, but we get this error on IE8:
" Object doesn’t support property or method ‘create’ "
In addition we had to replace to.be.true
with to.be['true']
etc.
It would be a nice addition to the website to know which versions of what browsers chai officially supports.
Issue Analytics
- State:
- Created 11 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
document.head | Can I use... Support tables for HTML5, CSS3 ...
document.head · Global · Chrome · Edge * · Safari · Firefox · Opera · IE · Chrome for Android.
Read more >Supported browsers - GitHub Docs
About web browser support for GitHub · Apple Safari · Google Chrome · Microsoft Edge · Mozilla Firefox.
Read more >Which browsers work with Microsoft 365 for the web and ...
Windows 11: The new Microsoft Edge, Mozilla Firefox, or Google Chrome ; Windows 10: The new Microsoft Edge, Microsoft Edge Legacy, Mozilla Firefox,...
Read more >System requirements and browsers - Google Docs Editors Help
Browsers · Chrome · Firefox · Windows only: Microsoft Edge · Mac only: Safari.
Read more >3.1 - Supported Browsers | Documentation@ProcessMaker
We support the current and previous major releases of Firefox, Google Chrome and Internet Explorer on a rolling basis. Each time a new...
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 FreeTop 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
Top GitHub Comments
It’s come up a few times recently, so I’m going to try to push this issue a little more forward.
Here are my 2c about the whole browser support thing:
I think, given we’re a testing framework, we need to support a broad range of versions. But also, given our limited person power, we need to be relatively conservative. I think supporting every engine that is officially supported by their respective vendors is a happy and relatively non-arbitrary point to fix to (Node, Firefox, Chrome, Opera, Safari, Edge, IE)
This means supporting Node 0.10 until October 1st or thereabouts, and 0.12 until the end of this year. IE wise, this means supporting IE9 until April 2017 (when Vista’s extended support ends), IE10 and above for longer. For Firefox we’ll support whatever the ESR version is, plus latest. Chrome, Opera and Safari only officially support their latest versions, so we’ll do the same. All of these versions should run through CI so we know we’re not breaking them.
I think in addition to all of that, we should provide what I’ll call “soft” support for other versions. By soft support I mean if someone files an issue, we’ll attempt to fix it - but sweeping architectural changes or large fixes will not be considered. This means users are welcome to try to use Chai in unsupported browsers, and if they encounter breakages, feel free to report them - however, also acknowledge that we might close issues saying we don’t have manpower to provide the support you’re after.
I ripped out all the stuff that needed ES5 and provide Chai’s
assert
API in a way that works in IE8 (maybe even IE6): https://github.com/jokeyrhyme/assertive-chai.js Take a look if you like Chai’s assertions and need IE8 compatibility.