Google Chrome 75.0.3770.142

Google heeft versie 75 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 in versie 75, naast de gebruikelijke bug- en security fixes, zijn hieronder voor je op een rijtje gezet. Hint for low latency canvas contexts The canvas.getContext() method now supports a desynchronized hint, which provides a low-latency alternative to the now deprecated NaCl/PPAPI solution which used native OpenGL rendering. The new solution requires either 2d or webgl context types. To use it, pass desynchronized: true in the options parameter of canvas.getContext() and specify CanvasRenderingContext2D, a WebGL2RenderingContext, or a 65WebGL2ComputeRenderingContext as the context type. For example: const canvas = document.querySelector(“canvas”);const context_type = ‘2d’; // ‘webgl’ or ‘webgl2′ canvas.getContext(context_type, {desynchronized: true, alpha: false }); For more information and links to sample code, read Low latency rendering with the desynchronized hint on our developer’s site. Web share now supports files Files are now supported by the Web Share API. Over the last few years, we’ve been working to bring native sharing capabilities to the web. The Web Share API allows web apps to invoke the same share dialog box that a native app user would see. If you’re already used the sharing APIs, most of this looks familiar. As highlighted above, the new feature brings a new method and a new shareData property. For details read Share files with Web Share. Numeric separators Numeric literals now allow underscores (_, U+005F) as separators to make them more readable. For example, 1_000_000_000 will be interpreted by mathematical operations as equivalent to 1000000000. There are a few things you should be aware of. Underscores can only appear between digits, and consecutive underscores are not allowed. So literals such as 3._14, _2.71 or 1.6__2 are illegal. Allow PaymentRequest.show() to take optional detailsPromise The detailsPromise argument is a way to signal that the browser should show a spinner or equivalent and wait on allowing user interaction until an update. Some users may not know the total or the number of line items at the time of attempting to open the payment sheet with show(). Animation improvements Animation() constructor The new Animation()constructor gives developers more control over the created animation by using the exact KeyframeEffect object (see below). Currently developers must use the Element.animate() method, which returns an Animation object that is internally constructed. AnimationEffect and KeyframeEffect AnimationEffect and KeyframeEffect allow a developer interactive control over the following parts of their Animation:

Share

Laat een reactie achter

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *