What's New In DevTools (Chrome 86)
Interested in helping improve DevTools? Sign up to participate in Google User Research here.
New Media panel #
DevTools now displays media players information in the Media panel.
Prior to the new media panel in DevTools, logging and debug information about video players could be found in
Chromium issue: 1018414
Capture node screenshots via Elements panel context menu #
You can now capture node screenshots via the context menu in the Elements panel.
For example, you can take a screenshot of the table of content by right clicking the element and select Capture node screenshot.
Chromium issue: 1100253
Issues tab updates #
The Issues warning bar on the Console panel is now replaced with a regular message.
Third-party cookie issues are now hidden by default in the Issues tab. Enable the new Include third-party cookie issues checkbox to view them.
Emulate missing local fonts #
Open the Rendering tab and use the new Disable local fonts feature to emulate missing
local() sources in
For example, when the font "Rubik" is installed on your device and the
@font-face src rule uses it as a
local() font, Chrome uses the local font file from your device.
When Disable local fonts is enabled, DevTools ignores the
local() fonts and fetches them from the network.
Oftentimes, developers and designers use two different copies of the same font during development:
- A local font for your design tools, and
- A web font for your code
Disabling local fonts makes it easier for you to:
- Debug and measure web fonts loading performance and optimization
- Verify correctness of your CSS
- Discover any differences between web fonts and their local versions
Chromium issue: 384968
Emulate inactive users #
The Idle Detection API allows developers to detect inactive users and react on idle state changes. You can now use DevTools to emulate idle state changes in the Sensors tab for both the user state and the screen state instead of waiting for the actual idle state to change. You can open the Sensors tab from the Drawer.
Chromium issue: 1090802
In Chrome 86, this feature is available behind the chrome://flags/#enable-experimental-web-platform-features flag. You can see this emulation option only if the flag is enabled.
prefers-reduced-data media query detects if the user prefers being served alternate content that uses less data for the page to be rendered.
You can now use DevTools to emulate the
prefers-reduced-data media query.
Chromium issue: 1096068
- Logical assignment operators - DevTools now supports logical assignment with the new operators
??=in the Console and Sources panels.
- Pretty-print numeric separators - DevTools now properly pretty-prints the numeric separators in the Sources panel.
Lighthouse 6.2 in the Lighthouse panel #
The Lighthouse panel is now running Lighthouse 6.2. Check out the release notes for a full list of changes.
New audits in Lighthouse 6.2:
- Avoid long main thread tasks. Reports the longest tasks on the main thread, useful for identifying worst contributors to input delay.
- Links are crawlable. Check if the
hrefattribute of anchor elements links to an appropriate destination, so the links can be discovered.
- Unsized image elements - Check if an explicit
heightis set on image elements. Explicit image size can reduce layout shifts and improve CLS.
- Avoid non-composited animations. Reports non-composited animations that appear janky and reduce CLS.
- Listens for the
unloadevents. Reports the
unloadevent. Consider using the
visibilitychangeevents instead as the
unloadevent does not fire reliably.
Updated audits in Lighthouse 6.2:
Chromium issue: 772558
Deprecation of "other origins" listing in the Service Workers pane #
DevTools now provides a link to view the full list of service workers from other origins in a new browser tab -
Previously DevTools displayed a list nested under the Application panel > Service workers pane.
Chromium issue: 807440
Show coverage summary for filtered items #
DevTools now recalculates and displays a summary of coverage information dynamically when filters are applied in the Coverage tab. Previously, the Coverage tab always displayed a summary of all coverage information.
In the example below notice how the summary initially says
446 kB of 2.0 MB (22%) used so far. 1.5 MB unused. and then says
57 kB of 604 kB (10%) used so far. 546 kB unused. after CSS filtering has been applied.
Chromium issue: 1061385
New frame details view in Application panel #
DevTools now show a detailed view for each frame. Access it by clicking a frame under the Frames menu in the Application panel.
Chromium issue: 1093247
Frame details for opened windows #
DevTools now displays opened windows / pop-ups under the frame tree as well. The frame details view of the opened windows includes additional security information.
Chromium issue: 1107766
Security and isolation information (COEP / COOP) #
DevTools now display secure context, Cross-Origin-Embedder-Policy (COEP) and Cross-Origin-Opener-Policy (COOP) in the frame details.
More security information will be added to the frame details view soon.
Chromium issue: 1051466
Elements and Network panel updates #
Accessible color suggestion in the Styles pane #
DevTools now provides color suggestions for low color contrast text.
In the example below,
h1 has low contrast text. To fix it, open the color picker of the
color property in the Styles pane. After you expand the Contrast ratio section, DevTools provides AA and AAA color suggestions. Click on the suggested color to apply the color.
Chromium issue: 1093227
Reinstate Properties pane in the Elements panel #
The Properties pane is back, it was deprecated in Chrome 84. In a future version of DevTools, we are going to improve the workflow for inspecting properties of elements.
X-Client-Data header values in the Network panel #
When inspecting a network resource in the Network panel, DevTools now formats any
X-Client-Data header values in Headers pane as code.
X-Client-Data HTTP header contains a list of experiment IDs and Chrome flags that are enabled in your browser. The raw header values look like opaque strings since they are base-64-encoded, serialized protocol buffers. To make the contents more transparent to developers, DevTools is now showing the decoded values.
Chromium issue: 1103854
Auto-complete custom fonts in the Styles pane #
Imported font faces are now added to the list of CSS auto-completion when editing the
font-family property in the Styles pane.
In this example,
'Noto Sans' is a custom font installed in the local machine. It is displayed in the CSS completion list. Previously, it was not.
Chromium issue: 1106221
Consistently display resource type in Network panel #
DevTools now consistently displays the same resource type as the original network request and appends
/ Redirect to the Type column value when redirection (status 302) happens.
Previously DevTools changed the type to
Chromium issue: 997694
Clear buttons in the Elements and Network panels #
The filter text boxes in the Styles pane and Network panel, as well as the DOM search text box in the Elements panel, now have Clear buttons. Clicking Clear removes any text that you have input.
Chromium issue: 1067184