Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: third_party/WebKit/Source/devtools/readme.md

Issue 2462153003: DevTools: Automagically detect user compiled content shell in npm test (Closed)
Patch Set: minor addition to readme Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/scripts/npm_test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Chrome DevTools frontend 1 # Chrome DevTools frontend
2 2
3 The client-side of the Chrome DevTools, including all JS & CSS to run the DevToo ls webapp. 3 The client-side of the Chrome DevTools, including all JS & CSS to run the DevToo ls webapp.
4 4
5 It is available on NPM as the [chrome-devtools-frontend](https://www.npmjs.com/p ackage/chrome-devtools-frontend) package. It's not currently available via CJS o r ES2015 modules, so consuming this package in other tools may require [some eff ort](https://github.com/paulirish/devtools-timeline-model/blob/master/index.js). 5 It is available on NPM as the [chrome-devtools-frontend](https://www.npmjs.com/p ackage/chrome-devtools-frontend) package. It's not currently available via CJS o r ES2015 modules, so consuming this package in other tools may require [some eff ort](https://github.com/paulirish/devtools-timeline-model/blob/master/index.js).
6 6
7 #### Package versioning 7 #### Package versioning
8 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 Chro mium commit, however the package is updated roughly daily. 8 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 Chro mium commit, however the package is updated roughly daily.
9 9
10 ### Source code 10 ### Source code
(...skipping 19 matching lines...) Expand all
30 > npm run chrome -- https://news.ycombinator.com 30 > npm run chrome -- https://news.ycombinator.com
31 > ``` 31 > ```
32 > (e.g. this launches Hacker News on startup) 32 > (e.g. this launches Hacker News on startup)
33 33
34 ### Hacking 34 ### Hacking
35 * DevTools documentation: [devtools.chrome.com](https://devtools.chrome.com) 35 * DevTools documentation: [devtools.chrome.com](https://devtools.chrome.com)
36 * [Debugging protocol docs](https://developer.chrome.com/devtools/docs/debugger- protocol) and [Chrome Debugging Protocol Viewer](http://chromedevtools.github.io /debugger-protocol-viewer/) 36 * [Debugging protocol docs](https://developer.chrome.com/devtools/docs/debugger- protocol) and [Chrome Debugging Protocol Viewer](http://chromedevtools.github.io /debugger-protocol-viewer/)
37 * [awesome-chrome-devtools](https://github.com/paulirish/awesome-chrome-devtools ): recommended tools and resources 37 * [awesome-chrome-devtools](https://github.com/paulirish/awesome-chrome-devtools ): recommended tools and resources
38 * Contributing to DevTools: [bit.ly/devtools-contribution-guide](http://bit.ly/d evtools-contribution-guide) 38 * Contributing to DevTools: [bit.ly/devtools-contribution-guide](http://bit.ly/d evtools-contribution-guide)
39 39
40 ### Testing
41
42 Basic:
43 * `npm test` - builds devtools and runs all inspector layout tests
44
45 > Note: If you're using a full chromium checkout and compiled content shell in o ut/Release, then `npm test` uses that. Otherwise, with only a front-end checkout (i.e. cloning from GitHub), then `npm test` will fetch a previously compiled co ntent shell from the cloud (and cache it for future test runs).
46
47 Advanced:
48 * `npm test -- --fetch-content-shell` - even if you're using a full chromium che ckout and have a compiled content shell, this will fetch a pre-compiled content shell. This is useful if you haven't compiled your content shell recently.
49 * `npm test -- -f --child-processes=16` - pass in additional flags to the test h arness
50 * `npm test -- inspector/sources inspector/console` - run specific tests
51 * `npm test -- inspector/cookie-resource-match.html --debug-devtools` - debug a specific test (non-bundled & minified). You can use "-d" as a shorthand for "--d ebug-devtools".
52 * `npm run test:build` - only builds devtools (in debug mode)
53 * `npm run test:run` - only runs devtools tests
40 54
41 #### Development 55 #### Development
42 * All devtools commits: [View the log], [RSS feed] or [@DevToolsCommits] on Twit ter 56 * All devtools commits: [View the log], [RSS feed] or [@DevToolsCommits] on Twit ter
43 * [All open DevTools tickets] on crbug.com 57 * [All open DevTools tickets] on crbug.com
44 * File a new DevTools ticket: [new.crbug.com](https://bugs.chromium.org/p/chromi um/issues/entry?labels=OS-All,Type-Bug,Pri-2&components=Platform%3EDevTools) 58 * File a new DevTools ticket: [new.crbug.com](https://bugs.chromium.org/p/chromi um/issues/entry?labels=OS-All,Type-Bug,Pri-2&components=Platform%3EDevTools)
45 * Code reviews mailing list: [devtools-reviews@chromium.org] 59 * Code reviews mailing list: [devtools-reviews@chromium.org]
46 60
47 ### Getting in touch 61 ### Getting in touch
48 * [@ChromeDevTools] on Twitter 62 * [@ChromeDevTools] on Twitter
49 * Chrome DevTools mailing list: [groups.google.com/forum/google-chrome-developer -tools](https://groups.google.com/forum/#!forum/google-chrome-developer-tools) 63 * Chrome DevTools mailing list: [groups.google.com/forum/google-chrome-developer -tools](https://groups.google.com/forum/#!forum/google-chrome-developer-tools)
50 64
51 [devtools-reviews@chromium.org]: https://groups.google.com/a/chromium.org/foru m/#!forum/devtools-reviews 65 [devtools-reviews@chromium.org]: https://groups.google.com/a/chromium.org/foru m/#!forum/devtools-reviews
52 [RSS feed]: https://feeds.peter.sh/chrome-devtools/ 66 [RSS feed]: https://feeds.peter.sh/chrome-devtools/
53 [View the log]: https://chromium.googlesource.com/chromium/src/third_party/Web Kit/Source/devtools/+log/master 67 [View the log]: https://chromium.googlesource.com/chromium/src/third_party/Web Kit/Source/devtools/+log/master
54 [@ChromeDevTools]: http://twitter.com/ChromeDevTools 68 [@ChromeDevTools]: http://twitter.com/ChromeDevTools
55 [@DevToolsCommits]: http://twitter.com/DevToolsCommits 69 [@DevToolsCommits]: http://twitter.com/DevToolsCommits
56 [all open DevTools tickets]: https://bugs.chromium.org/p/chromium/issues/list? can=2&q=component%3APlatform%3EDevTools&sort=&groupby=&colspec=ID+Stars+Owner+Su mmary+Modified+Opened 70 [all open DevTools tickets]: https://bugs.chromium.org/p/chromium/issues/list? can=2&q=component%3APlatform%3EDevTools&sort=&groupby=&colspec=ID+Stars+Owner+Su mmary+Modified+Opened
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/scripts/npm_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698