Site icon Brief News

Chrome 61 arrives with JavaScript modules and WebUSB support


Google has launched Chrome 61 for Windows, Mac, and Linux. Additions in this release include JavaScript modules and WebUSB support, among other developer features. You can update to the latest version now using the browser’s built-in silent updater or download it directly from google.com/chrome.

Chrome is arguably more than a browser. With over 1 billion users, it’s a major platform that web developers have to consider. In fact, with Chrome’s regular additions and changes, developers have to keep up to ensure they are taking advantage of everything available.

Chrome now supports JavaScript modules natively via the new <script type=module> element, letting developers declare a script’s dependencies. Modules are already popular in third-party build tools, which use them to bundle only the required scripts. Native support means the browser can fetch granular dependencies in parallel, taking advantage of caching, avoiding duplications across the page, and ensuring the script executes in the correct order, all without a build step. Google recommends these two blog posts for more information: ECMAScript modules in browsers and ES6 Modules in Depth.

Speaking of JavaScript, Chrome 61 also upgrades the browser’s V8 JavaScript engine to version 6.1. Developers can expect performance improvements and a binary size reduction.

The WebUSB API meanwhile allows web apps to access user-permitted USB devices. This enables all the functionality provided by hardware peripherals such as keyboards, mice, printers, and gamepads, while still preserving the security guarantees of the web.

Other developer features in this release include:

For what’s new in the browser’s DevTools, check out the release notes.

Chrome 61 also implements 22 security fixes. The following ones were found by external researchers:

Google thus spent at least $ 23,500 in bug bounties for this release. As always, the security fixes alone should be enough incentive for you to upgrade.

Speaking of security, this release also removes trust in WoSign and StartCom certificates. Back in Octobeer 2016, Google unveiled its plan for the process, starting with only trusting certificates issued prior to October 21 2016 in Chrome 56, restricting trust to a set of whitelisted hostnames based on the Alexa Top 1 milion, and then reducing the size of the whitelist over the course of several Chrome releases. In Chrome 61, the whitelist has been removed, resulting in full distrust of the existing WoSign and StartCom root certificates and all certificates they have issued.

Google releases a new version of its browser every six weeks or so. Chrome 62 will arrive by mid October.

VentureBeat

Exit mobile version