Google heeft versie 65 van zijn webbrowser Chrome uitgebracht. Google Chrome is beschikbaar voor Windows, Linux en macOS. Er zijn ook versies voor Android en iOS, maar die volgen een iets ander releaseschema. Sinds versie 50 is de ondersteuning voor oudere versies van Windows en macOS vervallen. De belangrijkste veranderingen en verbeteringen die in deze versie zijn aangebracht zijn hieronder voor je op een rijtje gezet.
CSS Paint API
The CSS Paint API, also known as “CSS Custom Paint”, allows developers to programmatically generate an image whenever a CSS property expects one. Instead of referencing an image resource, developers can now use the new paint() function to reference a paint worklet that will draw the image. This API can be used for many things, including making the DOM tree smaller and transferring significantly less data compared to an image.Server Timing API<style> textarea { background-image: paint(checkerboard); } </style> <textarea></textarea> <script> CSS.paintWorklet.addModule('checkerboard.js'); </script>
Developers interested in measuring the performance of their web applications have been able to use the Navigation Timing and Resource Timing APIs to request timing data for the document and its resources. Until now, there has been no way for the server to send any details about its response time to the client. The new Server Timing API allows web servers to pass performance timing information via HTTP headers to browsers. This new API provides developers a more complete performance picture that includes the speed of both the client and the server. For example, Chrome Developer Tools now shows server timing performance information via the Server Timing API.Other features in this release
Blink > CSSBlink > DOM
- Developers can now use the :any-link pseudo-selector to apply CSS properties to all unvisited or visited hyperlink elements.
- The syntax for specifying HSL/HSLA and RGB/RGBA coordinates for the color property now match the CSS Color 4 spec.
- Developers can use display:contents to generate boxes for an element’s children and pseudo-elements without generating the parent box.
Blink > Feature Policy
- To complement assignedNodes(), the <slot> element now has an assignedElements() method, which returns only the element nodes assigned to a given slot.
- Chrome now supports the HTMLAnchorElement.relList property to indicate the relationship between the resource represented by the <a> element and the current document. Thanks to Samsung for this contribution!
Blink > Network
- Developers can now use the sync-xhr feature policy to selectively enable and disable the use of Synchronous XMLHttpRequest.
Blink > Performance APIs
- To match compatibility with the TLS spec, Chrome now supports the draft-23 version of the TLS 1.3 protocol.
- Developers can use Request.destination to evaluate which resource their service worker is fetching.
Blink > Security
- As WebIDL was deprecated, PerformanceResourceTiming, PerformanceLongTaskTiming, and TaskAttributionTiming now support the toJSON method to convert objects to JSON.
Blink > Bindings
- To protect users against cross-origin information leakage, Chrome will ignore the presence of the download attribute on anchor elements with cross-origin attributes.
Deprecations and interoperability improvements
Blink > Network
- To match compatibility with the HTML spec, document.all is no longer overwritable.
- As previously announced, Chrome 65 will not trust certificates issued from Symantec’s Legacy PKI after December 1st, 2017, and will result in interstitials. This will only affect site operators who explicitly opted-out of the transition from Symantec’s Legacy PKI to DigiCert’s new PKI, and does not apply to the previously disclosed independent sub-CAs from this infrastructure.