<div dir="ltr"><div>tl;dr: performance.now accuracy decreased, SharedArrayBuffer disabled in all browsers </div><div><br></div>There were recently two very serious security vulnerabilities disclosed (<a href="https://en.wikipedia.org/wiki/Spectre_(security_vulnerability)">Spectre</a> & <a href="https://en.wikipedia.org/wiki/Meltdown_(security_vulnerability)">Meltdown</a>) that affect pretty much anything that can run code on your machine.<div><br></div><div>That includes browsers, so major vendors have started rolling out mitigations for such attacks so that the vulnerabilities can't be exploited from JavaScript. Here is some info in case you haven't followed:</div><div><br></div><div><b>Summary</b></div><div><ul><li>performance.now is going to be rounded to avoid exposing the high precision timer</li><ul><li>to 1ms in Safari, 20µs in Firefox, 20µs with 20µs jitter in Edge, unspecified in Chrome</li></ul><li>SharedArrayBuffer is going to be disabled for now since it can be used to create high precision timers from JS</li></ul><div><b>Articles</b></div></div><div><br></div><div>Here are some articles from the different vendors. The Webkit one is more extensive and has approachable explanations, reasoning and links to commit, and is very interesting to read:</div><div><ul><li><a href="https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/">https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/</a><br></li><li><a href="https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/">https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/</a><br></li><li><a href="https://www.chromium.org/Home/chromium-security/ssca">https://www.chromium.org/Home/chromium-security/ssca</a><br></li><li><a href="https://blogs.windows.com/msedgedev/2018/01/03/speculative-execution-mitigations-microsoft-edge-internet-explorer/">https://blogs.windows.com/msedgedev/2018/01/03/speculative-execution-mitigations-microsoft-edge-internet-explorer/</a><br></li></ul><div><b>Conclusion</b></div></div><div><b><br></b></div><div>This changes shouldn't impact us at all in our usual browser work, but it is good to know about the changes of behavior to not be surprised if they do.</div><div><br></div><div>Hope this is useful, have a nice day!</div></div>