When an animation is captured, we start a screencast for taking its screenshots for preview and after finishing taking screenshots, we stop the screencast. However, if there already exists a screencast (i.e. if the user is inspecting a remote page using `chrome://inspect`), after the animations finished taking screenshots, they stop the screencast for `ScreencastView` too causing the view to freeze. This CL: * Adds ability to stack screencasts in screen capture model. When it receives a new `startScreencast`, it adds the existing screencast to a stack and serves to the newly added screencast. * Then, when the newly added screencast is stopped, it resumes the previous screencast from the stack. Fixed: 395838062 Change-Id: I7ee6df0cbb4e9f7927cb1cb250ceb69e78355a77 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6276143 Reviewed-by: Danil Somsikov <dsv@chromium.org> Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
Chrome DevTools frontend
The client-side of the Chrome DevTools, including all TypeScript & CSS to run the DevTools webapp.
Source code and documentation
The frontend is available on chromium.googlesource.com. Check out the Chromium DevTools documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.
- DevTools user documentation: devtools.chrome.com
- Debugger protocol documentation: chromedevtools.github.io/devtools-protocol
- Awesome Chrome DevTools: github.com/paulirish/awesome-chrome-devtools
- Contributing to Chrome DevTools: goo.gle/devtools-contribution-guide
- Contributing To Chrome DevTools Protocol: goo.gle/devtools-contribution-guide-cdp
Source mirrors
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
Getting in touch
- @ChromeDevTools on Twitter
- Chrome DevTools mailing list: g/google-chrome-developer-tools
- File a new DevTools ticket: goo.gle/devtools-bug
There are a few options to keep an eye on the latest and greatest of DevTools development:
-
Follow What's new in DevTools.
-
Follow Umar's Dev Tips.
-
Follow these individual Twitter accounts: @umaar, @malyw, @kdzwinel, @addyosmani, @paul_irish, @samccone, @mathias, @mattzeunert, @PrashantPalikhe, @ziyunfei, and @bmeurer.
-
Follow to g/devtools-reviews@chromium.org mailing list for all reviews of pending code, and view the log, or follow @DevToolsCommits on Twitter.
-
Checkout all open DevTools tickets on crbug.com
-
Use Chrome Canary and poke around the experiments.