Google yesterday released Chrome 72 Beta for Android, Chrome OS, Linux, macOS, and Windows. This version comes with support for public class fields, a user activation query API, and more.
You can now declare public class fields in scripts, which can be either initialized or uninitialized. To implement public class fields, you need to declare them inside a class declaration but outside of any member functions. Support for private class fields will be added in the future releases.
Chrome 72 Beta comes with user activation query API, using which you can check whether there has been a user activation. This is introduced to avoid annoying web page behaviors such as autoplay. Additionally, it enables embedded iframes to examine postMessage() calls to determine whether they occurred within the context of a user activation.
Previously, JSON.stringify used to return ill-formed Unicode strings if the input had any lone surrogates. To solve this, well-formed JSON.stringify outputs escape sequences for lone surrogates, making its output valid Unicode and representable in UTF-8.
Along with these updates, TLS 1.0 and TLS 1.1 are deprecated and removal is expected in Chrome 81.
Read the detailed list of updates on Chromium’s blog.
Google’s V8 7.2 and Chrome 72 gets public class fields syntax; private class fields to come soon
Google Chrome announces an update on its Autoplay policy and its existing YouTube video annotations
“ChromeOS is ready for web development” – A talk by Dan Dascalescu at the Chrome Web Summit 2018