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