Software update: Google Chrome 69.0.3497.81

Sep

6

2018

Google has released version 69 of its web browser Chrome. Google Chrome is available for Windows, Linux and macOS. There are also versions for Android and iOS, but they follow a slightly different release schedule. Since version 50, the support for older versions of Windows and macOS has expired . In version 69 the appearance has been freshened up. The most important changes in this issue, in addition to the usual bug and security fixes, are listed below for you

New CSS tricks
Chrome has added several new CSS features.

Conic gradients
CSS conic (angular / sweep) gradients allow color transitions around a center rather than radiating from it. This allows, for example, creating and using CSS properties. More examples are available .

New margin, padding, and border properties
Logical margin , padding , and border properties now use standard names , specifically margin- {block, inline} – {start, end}, padding- {block, inline} – {start, end} and border- {block, inline} – {start, end} – {width, style, color}. These capabilities were supported through -webkit prefixes and non-standard names. Shorthand properties are only added for border- {block, inline} – {start, end}.

CSS scroll snap
CSS scroll snap positions are offsets in a scroll container’s visual viewport where scrolling will stop after each scrolling operation. This improves the user experience by allowing scrollable zones to easily stop at predefined points. This also allows common UX scroll patterns without the need for JavaScript. One such pattern is a horizontal image carousel accomplished with the declarations below. The article Well-Controlled Scrolling with CSS Scroll Snap provides more depth.

Display cutouts
Display cutouts are now supported in Chrome through the new CSS env () function (environment variables) and the viewport-fit meta tag. This allows developers to take advantage of the entire screen on devices that have a display cutout. For example, the browser should expand to the display area and the site should have the viewport-fit property in the viewport meta tag to cover. The site can then use the safe area in the CSS environment variables to lay out their content without being covered by the cutout. The explainer and the spec provide more information.

Canvas
OffscreenCanvas is a new interface that allows 2D and WebGL canvas rendering contexts to be used in Workers. This increases parallelism in web applications and improves performance on multi-core systems. Chrome now also supports DedicatedWorker.requestAnimationFrame (), allowing animation-like events to be triggered in Windows.

DOM
A new method named Element.toggleAttribute () Allows toggling the existence of an element’s attribute in a way similar to Element.classList.toggle. An optional force parameter forces addition or deletion of the attribute depending on the value of force. This makes managing boolean attributes much simpler as the interface does not use strings as does Element.setAttribute ().

Fetch API: Request.isHistoryNavigation
A boolean property has to be added to request objects to indicate whether a particular request is a history navigation. This allows a service worker to know whether a request was due to a back / forward navigation. An example of how this can be used is that a service worker could respond to a navigation with a cached response.

JavaScript APIs
JavaScript has several new APIs:
The ReportingObserver API provides a JavaScript callback function invoked in response to deprecations and browser interventions. The report can be saved, sent to the server or handled using arbitrary JavaScript. This feature is designed to provide greater insight into the operation of their sites on real-world devices.
JavaScript arrays are getting two new methods . Array.prototype.flat () returns a new array with all sub-array elements concatenated into recursively up to the specified depth. The sub-array elements become members of the new array. Array.prototype.flatMap () first maps each element using a mapping function, then flattens the result into a new array. This method is functionally equivalent to a folder followed by calling flat () with a depth of 1.
Keyboard Map API
Some applications such as games assign specific functions to specific physical keys. When the interface references these keys to the needs of the key, which varies by locale, or the character is installed by the user. Because of these layout variations it’s often possible for the character shown in the interface to not reference the intended physical key. This new API provides a way to translate KeyboardEvent.code values ​​representing physical keys into correct strings for display to the user. You can find details and examples of this new API in the specification and the explainer .

Loader
Support for the “rtt”, “downlink”, and “ect” client hint values and HTTP request headers have been added to Chrome to convey a device’s network connection speed to servers. For example, the client hint provides the server with the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds. The server could use this as a downsampled image if the connection speed is slower than expected. These network quality hints provide the same values ​​as supplied to the web information APIs navigator.connection.rtt, navigator.connection.downlink, and navigator.connection.effectiveType.

Media: Querying encryption scheme support through EME
Some platforms or key systems only support AES-128 in CTR mode, while others only support CBCS mode. Still others are able to support both. A new method allows web developers to query whether a specific encryption scheme is supported by Encrypted Media Extensions (EME).

Mid-ligature text selection
Chrome now allows for text to be selected inside ligatures. (A ligature is a combination of two or more letters in a single symbol.) This contains both mouse selection as well as cursor selection in input and textarea elements. We have also changed slightly the way we render text selection to support this change. Parts of text are now included with the original style .

Performance
To avoid leaking information between frames, performance.memory values ​​are currently heavily quantized, and delayed by 20 minutes. If the renderer process is locked to documents from a single site (as in the case of Site Isolation on desktop ), we can expand this information with fewer concerns about leaking information between frames. In these cases, we will not return quantized memory consumption information , delayed by 30 seconds. This allows developers to detect performance regressions from user data more easily because the memory measurements will be accurate and can be done more frequently.

ServiceWorker
Service workers have two improvements:
ServiceWorkerRegistration.update () previously resolved with undefined. Now it resolves to the registration object as required by the specification.
Because of a technical limitation, navigator. Service Worker threw a SecurityError when accessed on an insecure context. After this change, navigator.serviceWorker returns undefined.
This aligns with the specification.

Update behavior of CSS Grid Layout percentage row tracks and gutters
In a future release, there will be a change in the percentage of row tracks and gutters in a grid with indefinite height. Currently they behave similar to percentage heights in regular blocks, but going forward they want symmetric. Percentages will be ignored when computing intrinsic height (like it happens now) and resolved afterwards against that height. That way both column and row axes will have a symmetric behavior in order to resolve tracks and gutters specified by percentages. In Chrome 69 you’ll get a warning in the JavaScript console about this change. If you want to keep the current behavior in Chrome 70 you need to replace your percentage of row tracks and gutters in indefinite height grid containers by “auto” and “0px” respectively.

Web Locks API
The Web Locks API allows scripts running in one tab to asynchronously acquire a lock , hold it while it is running, then release it. While hero, no other script execution in the same origin can acquire the same lock. A lock represents some potential shared resource, identified by a name chosen by the web app. For example, if a web app running in multiple tabs wants to ensure that only one tab is syncing to the network, each tab could try to acquire a my_net_sync lock, but only one tab will succeed. An example is shown below. It shows a function when a lock for my_resource is acquired. await navigator.locks.request (‘my_resource’, async lock => {const url = await look_up_in_database (); const response = await fetch (url); const body = await response.text (); await store_body_in_database (body);} ); For more details about the API methods and options, see the explainer and draft specification .

Web Authentication now supports CTAP2 FIDO devices
Web Authentication adds support for CTAP2 devices , which provide advanced security capabilities such as biometric authentication and resident keys. The WebAuthentication API formerly only supported Universal 2nd Factor (U2F) devices at the transport layer. This change does not alter the API surface itself, but enables rich device interactions via the existing Web Authentication API.

WebRTC
WebRTC has two improvements:
Chrome now supports the RTCRtpParameters.headerExtensions dictionary entry which is returned by RTCRtpSender.getParameters (). This is a read-only field that allows inspection of the parameters that are set on PeerConnection after negotiation.
The RTCRtpSender and RTCRtpReceiver interfaces now provide the getCapabilities () method
which returns the most optimistic view of the capabilities of the media. It does not have any resources, ports, or other state but is meant to provide the types of capabilities of the browser, including codecs or RTP extensions.

Deprecations and Interoperability Improvements
Chrome sometimes deprecates, removes, or changes to increase interoperability with other browsers. This version of Chrome includes the following such changes.

Removal or ‘stalled’ event from HTMLMediaElements that use Media Source Extensions
Previously, the HTMLMediaElement.stalled event fired when media download has failed to progress for at least 3 seconds. In Media Source Extensions, the web app manages the download and the media element is not aware of its progress. Since some apps append media data in chunks larger than 3 seconds, stalled was being fired at times. To solve this, stalled has been removed for Media Source Extensions .

Removal of document.createTouchList
The document.createTouchList () method was removed in favor of the Touch () constructor which has been supported since Chrome 48.

The window.confirm () method no longer activates its parent tab
If a document in a background tab calls window.confirm (), it returns with false , and no dialog is shown to the user. If the tab is active, then the call shows a dialog as normal. Specifically, this is the ability to use window.confirm () to bring a tab on the front because this is rarely what the user wants.
Google Chrome 69

Version number 69.0.3497.81
Release status Final
Operating systems Windows 7, Linux, macOS, Windows Server 2012, Windows 8, Windows 10, Windows Server 2016
Website
Google
Download

Viewing:-47

In: A Technology & Gadgets Asked By: [20267 Red Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »


Star Points Scale

Earn points for Asking and Answering Questions!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]