New Post
Fiddle-of-the-week: Spec-compliant getStats
Read the original at blog.mozilla.org
Firefox has supported getStats to the spec for a couple of years now, and Chrome Canary finally has a spec-compliant version, so it’s a good time to check in how to write code that (soon!) will work across browsers. Unfortunately, the specification has changed several times over the years, even breaking Firefox. Here’s how to tell whether your getStats code is up to spec as of 2017: It uses…
Excerpt only. The full article stays on the original site.