Chrome 77 - What’s New in DevTools

Chrome for Developers · Intermediate ·📰 AI News & Updates ·6y ago

Key Takeaways

Explores new features in Chrome 77 DevTools, including layout shift visualization and Lighthouse 5.1 integration

Full Transcript

[Music] chrome 77 approaches here's what's new in dev tools first up you can now copy an element CSS Styles I like the styles on this link element and want to copy them first I right-click and select inspect to highlight the link in the Dom tree actually I want to make the font italic first now I'll right-click the element and select copy copy Styles and when I paste to the clipboard I can see the element styles including my font-style:italic declaration when you're reading an article in the content jumps around that's called layout shifting it usually happens because ads and images have finished loading and the page didn't reserve space for them you can now visualize layout shifts from the rendering tab however a word of warning this feature can cause your screen to flash a lot so if you're prone to photosensitive epilepsy you might want to look away to visualize layout shifts first press ctrl shift P or command shift P to open the command menu type rendering run the show rendering command and then enable the layout shift regions checkbox now as you load or interact with pages layout shifts are highlighted blue the audits panel has a couple new audits and a new metric as always if you want to find ways to improve page quality go to the audits panel then click run audits and after 10 seconds or so the oddest panel gives you a report on how to improve the estimated input latency metric in the performance section has been replaced with a new metric called maximum potential first input delay the old metric did not factor into your performance core and the new one doesn't either the new keep request counts and file sizes low audit reports the total number of network requests and the size of each request and down in the PWA section the new Apple touch icon audit checks that your PWA can be added to an iOS homescreen dev tools now automatically syncs its theme with your OS team right now my OS is in its dark theme when I opened up tools it's also in dark theme when I set my OS to its light theme and then close and reopen dev tools dev tools is also in its liking by the way dark theme isn't new we've had it for a long time to manually enable it press ctrl shift P or command shift P to open the command menu type dark then run the enable dark theme command for light theme run the enable light theme command if you create conditional breakpoints or lock points a lot there's a new keyboard shortcut for opening the breakpoint editor while my cursor is in the editor I can press ctrl alt B or command option B on Mac to open the breakpoint editor to choose my break point type I can press shift tab to select the menu then space to open the menu then I can select either break point or conditional breakpoint or log point if you're not sure how to use conditional breakpoints or lock points check out the links in the description for more information prefetch links give you the chance to download resources before the needed in order to speed up subsequent page loads the network panel now indicates whether a resource came from the prefetch cache on this page i'm prefetching an HTML file and a CSS file in the network panel you can see that the resources were downloaded even though they're not actually needed for the page I'm currently on when I navigate to page 2 the size column tells me that the resources came from the prefetch cache check out our resource prioritization guide to learn more about prefetch the console now shows private class fields in this older version of Chrome I'm defining a class called cat with a public field called name and a private field called color when I inspect the object I can't see the private field in chroma 77 after I define the same class and inspect the object I can see the private field as expected the background services section now supports push messages and notifications a push message is when a server sends information to a service worker and a notification is when a service worker shows information to a user to record notifications go to the application panel then go to the notifications pane then click record now when I send a notification I see it log to the table I can click the notification to view more information about it however considering that this is a background service it wouldn't be that helpful if it only worked when dev tools was open so dev tools logs notifications and pushed messages for three days even when dev tools is closed for example first I'll close dev tools then changed the title and message to closed then send the message to reopen dev tools I'll press ctrl shift I or command option I which is the shortcut for reopening the last panel I was using in this case the application panel and here you can see that the second message was logged here's a bonus tip about a lesser-known dev tools feature the Dom tree search UI to open the Dom trees search UI focus the Dom tree then press ctrl F or command F on Mac you can search by strings like dev tools or CSS selectors like input type equals hidden or even XPath queries thanks for watching we'll be back in six weeks for chrome 78 [Music]

Original Description

New to DevTools in Chrome 77: 0:10 - Copy element’s style 0:35 - Visualize layouts shifts 1:15 - Lighthouse 5.1 in the Audits panel 2:02 - OS theme syncing 2:36 - Keyboard shortcut for opening the Breakpoint Editor 3:09 - Prefetch cache in Network panel 3:44 - Private properties when viewing objects 4:07 - Notifications and push messages in the Application panel Check out the blog version of these release notes here: https://goo.gle/2luDAeQ Tweet us: https://twitter.com/chromedevtools Subscribe to the Google Chrome Developers channel: http://goo.gl/LLLNvf
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Chrome for Developers · Chrome for Developers · 0 of 60

← Previous Next →
1 Polymer Performance Patterns (The Polymer Summit 2015)
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
2 Polymer Power Tools (The Polymer Summit 2015)
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
3 Chrome Dev Summit 2014 – Chrome Case Studies
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
4 Web Directions Code 2015 round up
Web Directions Code 2015 round up
Chrome for Developers
5 Maintainable Code - HTTP203
Maintainable Code - HTTP203
Chrome for Developers
6 iron-ajax… wat?! -- Polycasts #26
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
7 The Guardian - Supercharged
The Guardian - Supercharged
Chrome for Developers
8 ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
9 #AskPolymer: Rob answers all the questions ever -- Polycasts #27
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
10 The Future of JavaScript - HTTP203
The Future of JavaScript - HTTP203
Chrome for Developers
11 Data Binding 101 -- Polycasts #28
Data Binding 101 -- Polycasts #28
Chrome for Developers
12 The Guardian part 2 - Supercharged
The Guardian part 2 - Supercharged
Chrome for Developers
13 The Future of Web Audio: with Chris Wilson and Chris Lowis
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
14 Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
15 Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
16 #AskPolymer: How do you make the show? -- Polycasts #29
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
17 Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
18 Binding to Objects -- Polycasts #30
Binding to Objects -- Polycasts #30
Chrome for Developers
19 Player FM - Supercharged
Player FM - Supercharged
Chrome for Developers
20 Where’s the Designer? #AskPolymer -- Polycasts #31
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
21 Jake Beats Wikipedia - HTTP203
Jake Beats Wikipedia - HTTP203
Chrome for Developers
22 Supercharged Observers! -- Polycasts #32
Supercharged Observers! -- Polycasts #32
Chrome for Developers
23 Jai's Web blog - Supercharged
Jai's Web blog - Supercharged
Chrome for Developers
24 Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
25 What about internationalization? #AskPolymer -- Polycasts #33
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
26 Developing for Billions (Chrome Dev Summit 2015)
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
27 Google+ Performance Improvement Comparison
Google+ Performance Improvement Comparison
Chrome for Developers
28 Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
29 Progressive Web Apps (Chrome Dev Summit 2015)
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
30 Instant Loading with Service Workers (Chrome Dev Summit 2015)
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
31 Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
32 Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
33 Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
34 Polymer - State of the Union (Chrome Dev Summit 2015)
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
35 Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
36 Introduction to RAIL (Chrome Dev Summit 2015)
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
37 DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
38 RAIL in the real world (Chrome Dev Summit 2015)
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
39 #ChromeDevSummit talks are up - W00T! -- Polycast #34
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
40 V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
41 Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
42 Owning your performance: RAIL (Chrome Dev Summit 2015)
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
43 HTTP/2 101 (Chrome Dev Summit 2015)
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
44 Leadership Panel (Chrome Dev Summit 2015)
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
45 Build Processes, Totally Tooling Tips (S2, Ep 5)
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
46 Accessibility (Chrome Dev Summit 2015)
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
47 Binding to Arrays -- Polycasts #35
Binding to Arrays -- Polycasts #35
Chrome for Developers
48 HTTP2 - HTTP203
HTTP2 - HTTP203
Chrome for Developers
49 Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
50 Call For Submissions - Supercharged
Call For Submissions - Supercharged
Chrome for Developers
51 Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
52 Testing AJAX with Web Component Tester -- Polycasts #37
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
53 Slack: Extended Xmas Special - Supercharged
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
54 Browser testing with Travis & Sauce Labs -- Polycasts #38
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
55 Optimize for production with Vulcanize -- Polycasts #39
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
56 Highlights from Chrome Dev Summit 2015
Highlights from Chrome Dev Summit 2015
Chrome for Developers
57 Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
58 Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
59 How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
60 Colors – DevTools Tonight #0 (Pilot)
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers

Related AI Lessons

Chapters (8)

0:10 Copy element’s style
0:35 Visualize layouts shifts
1:15 Lighthouse 5.1 in the Audits panel
2:02 OS theme syncing
2:36 Keyboard shortcut for opening the Breakpoint Editor
3:09 Prefetch cache in Network panel
3:44 Private properties when viewing objects
4:07 Notifications and push messages in the Application panel
Up next
1942: Hitler's Gamble for Victory by Richard Hargreaves · Audiobook preview
Google Play Books
Watch →