Граф коммитов

494 Коммитов

Автор SHA1 Сообщение Дата
Paul Irish ff8e00cef1 deps: chrome-launcher to 0.10.4 (#6043) 2018-09-18 16:06:47 -07:00
Brendan Kenny 6656521ea0
core(tsc): add type checking to sentry usage (#5993) 2018-09-07 17:36:01 -07:00
Paul Irish 44dcc5db04
3.1.1 (#5992) 2018-09-07 11:06:57 -07:00
Paul Irish 6d6b3b6240
3.1.0 (#5982) 2018-09-06 15:38:42 -07:00
Brendan Kenny e07a94bdd5 core(tsc): update debugger protocol type checking (#5836) 2018-08-31 17:59:19 -07:00
Brendan Kenny 58467b6b50
core(tsc): update to ts 3.1 to support new protocol defs (#5942) 2018-08-31 14:36:58 -07:00
Patrick Hulce 1d825972ae
core(lhr): expose environment info (#5871) 2018-08-22 17:00:01 -07:00
Brendan Kenny 82ff1fedfd
core(tsc): update to latest tsc (#5581) 2018-08-07 18:14:27 -07:00
Paul Irish 87cce00745
deps: depend on speedline-core, rather than the cli (#5800) 2018-08-07 15:23:52 -07:00
Paul Irish e40f77e6e4 core(i18n): incorporate 52 languages into messages pipeline (#5781) 2018-08-07 11:54:30 -07:00
Brendan Kenny e367395c56 core(i18n): add locale fallback when language not supported (#5746) 2018-07-30 14:47:19 -07:00
Patrick Hulce 5633819f7f core(i18n): support descriptions (#5718) 2018-07-26 16:02:02 -07:00
Brendan Kenny 0421b6cbe4
core: adjust audit titles for consistency (#5717) 2018-07-26 13:35:56 -07:00
Patrick Hulce 6e7db32a25
misc(i18n): add assertion script (#5686) 2018-07-19 10:15:27 -07:00
Paul Irish 9274461484
3.0.3 (#5678) 2018-07-18 07:56:42 +08:00
Patrick Hulce 589162b696 core(i18n): initial utility library (#5644) 2018-07-18 07:35:18 +08:00
Patrick Hulce ff7d162564
core: bump to 3.0.2 (#5656) 2018-07-11 12:49:29 -07:00
Paul Irish 36a2a546d2
core: bump to v3.0.1 (#5608) 2018-07-02 11:59:21 -07:00
Paul Irish 6193242bb2
tests: run the golden LHR check earlier (#5609) 2018-07-02 10:18:39 -07:00
Patrick Hulce aa43403683 tests: adopt jest (leaving mocha) for core & cli (#5386) 2018-06-29 02:45:18 +01:00
Paul Irish d6aa4416d7
3.0.0 (#5583) 2018-06-29 01:49:37 +01:00
Patrick Hulce 3f8b498f00
core: remove dependency on devtools-frontend NetworkRequest (#5451) 2018-06-20 11:19:07 -07:00
Patrick Hulce aeda7c86ea
misc(scripts): more useful lantern debugging output (#5517) 2018-06-18 18:57:53 -07:00
Patrick Hulce b263f83627
tests(lantern): add lantern regression test scripts (#5435) 2018-06-15 16:29:28 -07:00
Patrick Hulce deaf6073e6
core(audit-mode): do not require a URL (#5495) 2018-06-13 14:28:49 -07:00
Patrick Hulce 996c5d7ea1 v3.0.0-beta.0 (#5328) 2018-05-24 10:47:23 -07:00
Patrick Hulce 40cf8da6b4
misc(scripts): add trace/devtoolslog minification scripts (#5237) 2018-05-22 12:11:12 -07:00
Brendan Kenny ef0def4c3a core(tsc): add type checking to viewer (#5258) 2018-05-18 18:52:10 -07:00
Patrick Hulce 9b8154b9f4 deps(snyk): prettify snyk snapshot (#5080) 2018-05-18 11:41:01 -07:00
Brendan Kenny 4a046e09b5
core(tsc): add tsc type checking to report (#5195) 2018-05-17 12:09:48 -07:00
Paul Irish 632eb32688
3.0.0-alpha.2 (#5236) 2018-05-16 16:53:53 -07:00
Brendan Kenny d8c26be83f
tests(viewer): upgrade pptr to handle new CSSOM use in the report (#5191) 2018-05-11 17:07:52 -07:00
Patrick Hulce c7c0044c36 3.0.0-alpha.1 2018-05-10 08:56:26 -07:00
Patrick Hulce a6dbd1ae96
core(config): switch to lantern by default, add presets (#5041) 2018-05-03 14:36:13 -07:00
Brendan Kenny ed14c8e0f9
core(tsc): more type checking of top-level audits (#5089) 2018-05-02 13:35:57 -07:00
Paul Irish f01184d4a5
core: bump version to 3.0 alpha (#5082) 2018-05-02 11:57:29 -07:00
Brendan Kenny b38cdd3c57 deps(speedline): use speedline's types instead of our own (#5078) 2018-04-30 22:37:54 -07:00
Brendan Kenny 7c24921151
core(tsc): add type checking to dbw audits (#5069) 2018-04-30 13:09:41 -07:00
Brendan Kenny 5554c3d271 core(tsc): update for new @types/css-font-loading-module (#5061) 2018-04-27 18:51:29 -07:00
Paul Irish 55a9a69364
tests: bump bundlesize threshold (#5050) 2018-04-26 15:02:56 -07:00
Brendan Kenny 4b8b51da41 tests(viewer): add pptr test for viewer (#5025) 2018-04-25 19:08:08 -07:00
Paul Irish 4276e6ec4f
misc: remove timing from golden lhr (#5020) 2018-04-23 13:27:18 -07:00
Brendan Kenny 670a77aa20 core(tsc): add type checking to fonts gatherer (#5018) 2018-04-23 12:00:02 -07:00
Patrick Hulce 70f9ecc497
cli: update documented throttling flags (#5000) 2018-04-20 11:08:08 -07:00
Brendan Kenny 9d10641059 tests(smoke): add smoke test code coverage (#4967) 2018-04-13 19:30:08 -07:00
Brendan Kenny cd2d36e023
core(tsc): add type checking to runner (#4961) 2018-04-13 10:56:21 -07:00
Paul Irish 0db69e52c7
tests: add CI test to confirm sample_v2.json is up to date (#4956) 2018-04-12 17:09:27 -07:00
Brendan Kenny 5bacdff524
extension(compilation): add object rest support (#4954) 2018-04-11 15:02:03 -07:00
Paul Irish 419b023680
tests(smokehouse): run smoketests in parallel (#4748)
* Replaced those gnarly `run-test.sh` scripts with a flexible JS-based smoketest runner. Runs each `smokehouse.js` invocation in its own child-process.
* Moved a run of `dbw-expectations` into `offline`, as it was testing the exact same URL, just asserting different aspects out the output.
* `yarn smoke` will run all, but you can do `yarn smoke byte` and `yarn smoke byte ttci` to run individual smokehouse expectations
* Split the PWA smoketests into two files (`pwa` and `pwa2`), as they were some of the slowest smoketests we did.
* `yarn smokehouse` was removed. it's effectively replaced with `yarn smoke pwa && yarn smoke pwa2`
* Restore the `shop.polymer-project.org` smoketest. 
  * Add a workaround for #4898, since it reproduces in this test.
2018-04-10 21:26:24 -04:00
Brendan Kenny 82c83813e7
core(tsc): add type checking to asset-saver (#4949) 2018-04-10 16:44:46 -07:00
Brendan Kenny 1de5667b1a
cli(chore): remove chrome-launcher stubs (#4945) 2018-04-10 11:04:54 -07:00
Nouri Khalass a031e466ee cli(output): Add ability to export results to CSV (#4912)
Co-authored-by: Michiel van Spaendonck <mvanspaendonck@users.noreply.github.com>
Co-authored-by: Kanav Anand <anandkanav92@users.noreply.github.com>
Co-authored-by: Ernst Mulders <ernstmul@users.noreply.github.com>
Co-authored-by: Paul Irish <paulirish@users.noreply.github.com>
2018-04-09 15:40:15 -07:00
Paul Irish 3e550850e9
tests: use nyc instead of istanbul for coverage (#4919)
Drop run-mocha.sh, too.
2018-04-05 15:50:50 -07:00
Brendan Kenny e26b2cf0f2
core(tsc): add type checking to use of CRDP events (#4886) 2018-03-30 13:27:53 -07:00
Konrad Dzwinel 2200c7851e extension: use browserify url library (#4875)
Also bumps robots-parser dependency to 2.0.1
2018-03-28 16:40:38 -07:00
Paul Irish bda147bec5
tests(fixtures): introduce update-report-fixtures script (#4793)
Adding `yarn run update:sample-artifacts` and `yarn run update:sample-json`
2018-03-21 13:26:17 -07:00
Ward Peeters e90f9acb89 extension(tests): add extension pptr smoketest (#4640) 2018-03-20 16:24:09 -07:00
Konrad Dzwinel 5192079f23 deps(robots-parser): patch robots-parser to work in browser env (#4819) 2018-03-20 11:39:02 -07:00
Brendan Kenny adf4f86dce
core(tsc): add type defs for Chrome Remote Debugging Protocol (#4816) 2018-03-19 18:07:14 -07:00
Brendan Kenny 8d64c26172 misc(tsc): reorganize and expose external interfaces (#4788) 2018-03-16 16:04:43 -07:00
jiewei.ljw ce8ed566e9 misc: clean *.screenshots.json (#4754) 2018-03-14 02:36:02 -07:00
Brendan Kenny e675e1b4f7 core: add type checking to connection (#4738) 2018-03-12 16:17:46 -07:00
Paul Irish bc9efba9b7
core(lhr): overhaul LHR details, introduce details.summary (#4616)
- completely new shape of `details`:
  - `result.details.headings` describes the expected report columns
  - `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
- new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
2018-03-08 18:45:19 -08:00
Brendan Kenny 3b8d4b9c43
core: make url-shim extend native URL module; add type checking (#4712) 2018-03-08 13:08:51 -08:00
Paul Irish aaa000df2e
misc: drop support of Node 6 (#4703) 2018-03-07 14:12:26 -08:00
Konrad Dzwinel fd750fc20c core(is-crawlable): determine if page indexing is blocked by robots.txt (#4548) 2018-03-02 15:20:45 -08:00
Ben Schwarz 54225c419f deps(axe-core): update axe-core to 3.0.0-beta.2 release (#4595) 2018-03-02 14:29:28 -08:00
Paul Irish f9171e0133 2.9.1 2018-02-12 15:31:37 -08:00
Patrick Hulce f9cdfc5d97
core(computed-artifact): use deep equality over strict (#4409) 2018-02-08 10:57:28 -08:00
Paul Irish 1d8df25203
2.9.0 (#4459) 2018-02-07 18:33:04 -08:00
Paul Irish 1b96506992 misc(package): scripts don't require "--" for options to be forwarded (#4437) 2018-02-06 14:04:09 -08:00
Paul Irish d6b027e957
tests(coverage): minimize impact of timeout due to istanbul's instrumentation (#4396) 2018-01-31 10:43:52 -08:00
Paul Irish fe17df0539
deps: bump metaviewport-parser to 0.2.0 (#4382) 2018-01-29 15:53:19 -08:00
Chris Thompson c225d0189f misc(package): Add mixed-content yarn script (#4344) 2018-01-26 13:01:19 +11:00
Paul Irish 5c197c5549
2.8.0 (#4245) 2018-01-12 14:46:20 -08:00
Ward Peeters 6c5e7a4fce deps(chrome-launcher): Upgrade chrome-launcher to 0.10.2 (#4192) 2018-01-09 11:49:46 -08:00
Rob Dodson 8c088a682e report(a11y): Don't count non-applicable a11y audits toward score (#4052) 2018-01-05 12:36:53 -08:00
Paul Irish a2bcf82c13
core(lifecycle): allow gathering & auditing to run separately (#3743)
New features:
* Gather mode launches the browser, collects artifacts, saves them to disk, and quits.
* Audit mode skips browser interaction, loads artifacts from disk, runs audits on them, generates report
* --gather-mode and --audit-mode are the long versions of -G and -A.
* -GA is also supported. Normal run, but saves artifacts to disk for subsequent -A runs.

Other changes:
* config.auditResults is removed
* assetSaver got a new impl of saveArtifacts, and added loadArtifacts
* --save-artifacts CLI flag was removed
2018-01-05 12:17:11 -08:00
Patrick Hulce d7a9f3bc37
core(network-recorder): use findNetworkQuietPeriods for networkIdle (#4102)
core(network-recorder): use findNetworkQuietPeriods for networkIdle calculations
2018-01-02 13:58:44 -08:00
Patrick Hulce 017c9c1e31 new-audit(unminified-javascript): detect savings from minifcation (#3950) 2017-12-19 18:31:33 -08:00
Patrick Hulce 9fa36ceaf2
deps: bump js-library-detector (#4086) 2017-12-18 16:32:06 -08:00
Patrick Hulce 5e23dbba1a
v2.7.0 (#4060) 2017-12-14 16:14:41 -08:00
Paul Irish cf92030c05 tests(smokehouse): adopt URLSearchParams for querystring manipulation (#3941)
* bump whatwg-url to latest to get their URLSearchParams

* use real URLSearchParams for header parsing.

* fix looping over urlsearchparams

* latest whatwg-url adds a trailing slash to chrome://version

* remove trailing slashes on chrome:// urls, as per spec
2017-12-08 09:42:49 -08:00
Robert Medeiros 3bdb56e80a deps: Bump ws to 3.3.2 (#3949) 2017-11-29 16:57:53 -08:00
Konrad Dzwinel 6910f5d2f6 new_audit(hreflang): document has a valid hreflang code (#3815) 2017-11-28 18:18:28 -08:00
Brendan Kenny 407b1af5eb
cli: compile out remaining typescript; add tsc type checking via jsdocs (#3747) 2017-11-20 18:10:03 -08:00
Paul Irish 1fe2a95266 misc(changelog): minor changelog generation usability bumps (#3847) 2017-11-17 18:08:52 -08:00
Brendan Kenny 70574e872c
2.6.0 (#3848) 2017-11-17 17:48:16 -08:00
Patrick Hulce 32ed80c048 new_audit(cache-headers): detects savings from leveraging caching (#3531) 2017-11-17 15:42:14 -08:00
Patrick Hulce a9780d6690 core(speed-index): only compute perceptual speed index (#3845) 2017-11-17 22:36:57 +01:00
Ward Peeters 5b96072da7
misc(changelog-generator): Generate changelogs (#3632) 2017-11-11 14:33:12 +01:00
Patrick Hulce de5785042d core(lib): add error reporting (#2420)
* refactor(StartUrl): switch from error to debugString object

* feat: add error reporting

* cave to peer pressure

* lint

* merge fixes

* reduce yarn churn

* limit impact to run.ts

* clang format

* avoid duplicate errors

* lint

* disable error reporting on test

* feedback

* remove enableErrorReporting default

* update readme

* fix yarn.lock

* add error reporting doc

* doc feedback

* move sentry call

* more cleanup

* remove unused environmentData
2017-10-26 17:01:03 -07:00
Patrick Hulce 04b685fa9f core(driver): use execution context isolation when necessary (#3500)
* fix(driver): use execution context isolation when necessary

* feedback

* add unit test

* feedback

* add jsdoc comment
2017-10-13 15:57:00 -07:00
Brendan Kenny a86c4b4711 tests(eslint): update eslint (and goog config) to latest (#3396)
* tests(eslint): update eslint (and goog config) to latest

* update deps
2017-10-11 16:26:40 -07:00
Paul Irish 7711705262 core: add cz-customizable to establish a commit message convention (#3499)
* misc: add cz-customizable to establish a commit message convention

* add cz config

* nits
2017-10-11 10:32:34 -07:00
Paul Irish 320eb1f78f tests(eslint): use --quiet flag rather than --silent (#3491) 2017-10-06 18:31:53 -07:00
Paul Irish f7a3a273a4 web-inspector: fall back to page's Runtime and queryParam() (#3497) 2017-10-06 15:19:36 -07:00
Ward Peeters b074ac7dca feat(redirects-audit): Adding Redirect audit (PSI Compat) (#3308) 2017-10-05 16:43:55 -07:00
Paul Irish 05030ade96 Bump launcher to 0.8.1 (#3479) 2017-10-05 08:26:33 -07:00
Brendan Kenny db9e375519 2.5.0 2017-10-04 15:27:08 -07:00
Brendan Kenny 474f3069f2 fix(deps): add yargs-parser at 7.0.0 (#3478)
reverts previous addition to put package in root deps
2017-10-04 15:14:57 -07:00
Paul Irish 2d2206b874 ws to 1.1.2. fix insecure randomness vuln. 2017-09-29 18:22:30 -07:00
tkadlec 6b4b8b97fb feat(audit): No vulnerable JS libraries audit (#2372) 2017-09-29 15:53:49 -07:00
Brendan Kenny 80f185f954 Switch to using standalone chrome-launcher package (#3410) 2017-09-26 07:14:08 +09:00
Paul Irish 7352c68206 fix(bundlesize): re-enable bundlesize reporting (#3392) 2017-09-22 13:39:39 -07:00
Laurence Cartwright d42075501e fix: Bump axe-core to 2.4.1 (#3320)
* Bump axe-core to 2.4.1 Fixes #3318

* Bump yarn.lock for axe-core
2017-09-13 13:39:33 -07:00
Brendan Kenny 850dbb3377 test(smokehouse): add basic smoke test for SEO audits (#3267) 2017-09-12 14:35:33 -07:00
Rob Dodson bc09205675 Bump axe to 2.4.0 (#3284) 2017-09-08 14:42:36 -07:00
Siddharth Kshetrapal 0e07b7deea Upgrade bundlesize to 0.13.2 (#3122) 2017-08-29 10:49:14 -07:00
Paul Irish c05198f37b 2.4.0 2017-08-14 16:42:51 -07:00
Mykyta Khmel e1a04dd94d "shrink-to-fit" property in "viewport" meta is no longer invalid (#2863) 2017-08-07 12:39:58 -07:00
Paul Irish 232c99bd6a v2.3.0 2017-07-19 19:09:48 -07:00
Paul Irish 5172ff7f0a add bundlesize to track our build size (#2676)
* add bundlesize to check lh-bg.js.
* check viewer size as well.
* run bundlesize on travis.
2017-07-11 14:23:18 -07:00
Paul Irish ef08106357 upgrade rimraf to latest (#2641) 2017-07-05 10:18:21 -07:00
Paul Irish 187c6d5096 v2.2.1 2017-06-30 15:14:45 -07:00
Paul Irish 5501779b51 v2.2.0 2017-06-30 14:33:03 -07:00
Brendan Kenny fadaef9513 remove report v1 and dependencies (#2596)
removes removes report as well as formatters, handlebars, handlebar build files, etc
2017-06-28 14:07:42 -07:00
Patrick Hulce 56eaa50f84 fix(driver): wait for CPU idle via clientside perfObserver (#2473) 2017-06-28 13:42:23 -07:00
Brendan Kenny 2b31a44e34 Viewer: Lighthouse 2.0 support (#2521)
* basic viewer working

* most features working

* reenable remaining features

* cleanup

* fix filename

* logger, ga, and version check

* make closure happy

* pull report-ui-features out of report-renderer

disable save-as-gist based on providing a callback for saving

* gulp watch

* add back drag-and-drop unit test

* actually make closure happy

* review fixes

* review feedback
2017-06-22 15:55:19 -07:00
Paul Irish ad4c3db40e Report coverage to codecov.io (#2519) 2017-06-19 21:20:26 -07:00
Sam Saccone cc5485fead Enable typescript coverage metrics for coveralls.
use nyc + lcov merge to generate a combined coverage report.

Fixes #2374
2017-06-19 20:49:14 -07:00
Sam Saccone c787b75420 extract logger from lighthouse (#2528) 2017-06-19 18:30:12 -07:00
Will Chen 1c5c57fe1c plots: smoke test for happy case (#2411) 2017-06-13 15:11:19 -04:00
Paul Irish 65db419b15 Tag lighthouse 2.1.0 (#2450)
* bump extension to 2.1.0

* v2.1.0
2017-06-06 17:22:07 -07:00
Paul Irish 387731a80c Run npm install/build tasks in parallel (#2381) 2017-06-05 11:23:58 -07:00
Even Stensberg 5107ab25ee revise package.json script to the correct folder (#2373) 2017-05-26 10:31:34 -07:00
Paul Irish 57b8fc7309 v2.0.1-alpha.0 2017-05-23 15:34:59 -07:00
Rob Dodson 3716658be4 Rev axe to address #2206 (#2335) 2017-05-22 16:07:23 -07:00
Paul Irish 31cb266de2 Tag and ship Lighthouse 2.0 (#2315)
* bump to 2.0, during eric & brendan's Google IO presentation
* v2.0.0
2017-05-19 12:54:50 -07:00
Brendan Kenny 10741b1038 yarn install-all should really install all (#2308) 2017-05-18 18:27:06 -07:00
Patrick Hulce c4c858affc chore: bump canary to 2.0.0-alpha.7 (#2288) 2017-05-16 22:31:00 -07:00
Paul Irish 817034440c Ship new canary v2.0.0-alpha.6 (#2262) 2017-05-15 23:42:19 -07:00
Patrick Hulce 73fc72000d feat: add filmstrip to report (#2239)
* feat: add filmstrip to report

* add doc to scale down thumbnail method

* closure

* update test year

* never show 0ms screenshot

* feedback

* feedback

* feedback

* better version of feedback

* nuke bold
2017-05-15 14:03:24 -07:00
Paul Irish fc05324d5b release: Tagging 2.0.0-alpha.5 (#2253) 2017-05-15 12:41:15 -07:00
Sam Saccone 2e2deb289f Update chrome-debug path 2017-05-15 12:35:12 -04:00
Sam Saccone 9c06fc188c Extract chrome-launcher to a standalone thing. (#2245)
* Also extract default flags to standalone entity.
2017-05-13 15:40:33 -07:00
Patrick Hulce 7d7bac668a perf: enable speedline fastMode (#2230) 2017-05-11 12:10:37 -07:00
Paul Irish 978ef5bbf2 bump to 2.0.0-alpha.4 (#2207) 2017-05-09 23:46:40 -07:00
Paul Irish efaeb135fd Report-> domhtml renderer. Add Lighthouse Canary assets (#2184) 2017-05-09 14:08:32 -07:00
Sam Saccone b21c40b571 Add automatic formatting tests 2017-05-08 18:21:45 -07:00
Paul Irish 4efdd20f5e version to 2.0.0-alpha.2 2017-05-08 13:56:15 -07:00
Paul Irish 9a8f7b732c Rename *-unit scripts to unit-* (#2119) 2017-05-01 18:03:30 -07:00
Paul Irish ff4d66714b Add script to compile renderer against TOT devtools frontend (#2099) 2017-05-01 16:46:13 -07:00
Brendan Kenny 11957a01d1 followup for issues in #2000 (#2100)
also update closure for mid-month release
2017-04-28 17:14:10 -07:00
Rob Dodson e46244d640 Bump axe-core (#2090) 2017-04-27 16:17:14 -07:00
Paul Irish 638760eec8 Migrate all dev scripts + docs from npm to yarn. (#2072)
Users can install install with npm, though
2017-04-26 12:41:01 -07:00
Paul Irish 948b80b185 package.json: Lighthouse version => 2.0.0-alpha.1 2017-04-22 12:07:26 -07:00
Paul Irish a549461217 package.json: only use yarn to install 2017-04-22 10:51:06 -07:00
Brendan Kenny 2faa6867d0 add Closure type checking for report v2 (#2043)
* initial closure type checking for report v2
* introduce DOM.find(selector,context); 
* enable closure checking (for report) in tests
2017-04-21 14:55:38 -07:00
Patrick Hulce d90bce3b84 fix: bump speedline to fix perceptual speed index (#2046)
* fix: bump speedline to fix perceptual speed index

* test: update tests for speedline bump
2017-04-20 23:52:33 -07:00
Paul Irish 1563f927d1 bump master to v1.7.0-alpha (#2017)
[skip ci]
2017-04-14 18:07:08 -07:00
Paul Irish eed06ad086 add script to roll LH to devtools. (#2009) 2017-04-13 18:52:25 -07:00
Paul Irish c1f54d7919 Remove babel transpile of traceviewerjs (#1998)
* remove destructuring rewrite from traceviewerjs
* regenerate traceviewer-js
* eslintignore: add plots/out
* Update build-traceviewer-module.js
2017-04-12 11:17:42 -04:00
Eric Bidelman 0b9f960216 Report v2: generate DOM from `<template>`; improve scoring and details (#1963) 2017-04-07 16:54:57 -07:00
Patrick Hulce 4849d515e0 feat: add npm run clean (#1974) 2017-04-07 16:06:18 -07:00
Paul Irish 71b86c51fa Add a smoke test for perf config. (#1957) 2017-04-03 14:17:46 -07:00
Eric Bidelman 0386598fe8 CLI: remove npm prepublish (#1889) 2017-03-27 18:24:09 -07:00
Eric Bidelman bd06f760c0 Fixes #1907 - move update-notifier to root (#1908) 2017-03-24 18:11:53 -07:00
Brendan Kenny b5afd60e3b remove formatters 2017-03-09 20:33:33 -08:00
Sendil Kumar N 3649322203 Adopt handlebars precompiled templates (#1752)
* Adopt handlebars precompiled templates
* Included gulp-concat / declare in dev dependencies
* replace empty to null formatter
* Added gulp to run before executing unit tests
* travis build changes
* changes to appveyor build
2017-03-03 16:57:03 -08:00
Paul Irish 1b8af1f69c bump to 1.6.0 (#1814) 2017-03-03 16:22:26 -08:00
Patrick Hulce 59bc945ef7 feat: configurable page timeout (#1672)
* feat: configurable page timeout
* update max-wait-for-load description
* update readme text
* bump yargs
2017-02-15 16:07:25 -08:00
Patrick Hulce d1b91101a8 refactor: DRY byte efficiency audits (#1635)
* refactor: DRY byte efficiency tests

* loosen responsive images conditions

* reduce optimized images aggressiveness

* consistency with optimized images threshold

* more updates

* add class overview

* update unused css description

* more feedback

* added smoke tests

* adjust perf.json

* pauls feedback
2017-02-14 16:43:16 -08:00
Brendan Kenny 3043cc3732 1.5.1 (#1688) 2017-02-10 12:23:18 -08:00
XhmikosR a00eee2e19 Use uppercase repository name in github URLs. (#1682) 2017-02-10 08:46:20 -08:00
Brendan Kenny 49ed379a36 1.5.0 (#1680) 2017-02-09 21:10:23 -08:00
XhmikosR c32c37615a Update mocha to v3.2.0.
Fixes various `npm i` warnings.
2017-02-02 02:09:50 +02:00
XhmikosR 8a41880f10 Switch back to plain `npm install` (#1522)
`npm install -C` does not work on Windows.
2017-01-25 11:48:11 -08:00
XhmikosR fd90f5ce94 Modify package.json scripts to use bash/node explicitly. (#1510)
Shebangs don't work on Windows.
2017-01-24 20:49:40 -08:00
Brendan Kenny a17238a2d8 remove support for node before v6 (#1519) 2017-01-24 15:39:47 -08:00
Brendan Kenny 6833a5a8e0 lock (npm) dependency versions (#1422) 2017-01-23 15:44:03 -08:00
Patrick Hulce ae897933a0 fix: less noisy CSS unused rules (#1466)
* fix: less noisy CSS unused rules

* filter out duplicate stylesheets
* don't report stylesheets that have no rules

addresses #1456

* add smokehouse length expectation

* feedback
2017-01-17 12:42:45 -08:00
M Somerville 4514a73781 Viewport audit: accept initial-scale and allow spaces (#1267)
Introduce `metaviewport-parser` module for better parsing.
2017-01-12 10:33:50 -08:00
Eric Bidelman b810242d25 Add install/build scripts for each package.json (#1439)
* Prepublish commands to do the initial building
* Update CLI warning for ts compile
* Remove prepublish. Add helpful build scripts
* Keep prepublish for tsc compile
* make node4 happy
2017-01-12 02:28:53 -08:00
Eric Bidelman cd5015a2e6 Viewer: Add tests for fileuploader (#1184) 2017-01-05 16:42:10 -08:00
Brendan Kenny 179783b6a2 1.4.1 (#1406) 2017-01-04 18:45:16 -08:00
Paul Irish de25797c04 1.4.0 (#1403) 2017-01-04 15:34:04 -08:00
Eric Bidelman 83c4915caa Removes uses of HTML injection in report (#1226)
* Beginning to use markdown in snippets

* Allow links and code snippets

* Update audits to use .md instead of html

* Add tests
2017-01-03 10:47:21 -08:00
XhmikosR 46a7fb1427 Remove duplicate mkdirp dependency.
Fixes npm install warning.
2016-12-23 23:23:26 +02:00
Brendan Kenny aa1059b0e9 1.3.2 (#1281) 2016-12-23 11:02:00 -08:00
Brendan Kenny a00240b4e0 1.3.1 (#1230) 2016-12-21 18:53:53 -08:00
Brendan Kenny 029e1f0d78 1.3.0 (#1181) 2016-12-19 16:43:50 -08:00
Patrick Hulce 54fe456153 Fix evaluateAsync in the face of aggressive Promise polyfills (#1178)
* Fix `driver.evaluateAsync` behavior when [zone.js](https://github.com/angular/zone.js) has mucked with Promise.

* Add zone.js to the smoke tests so regression won't happen again.

* Remove old testing promise-polyfill
2016-12-19 15:29:00 -08:00
Brendan Kenny 55284fc5ba bin.ts simplification refactor 2016-12-15 17:42:54 -08:00
WeiweiAtGit dd6348a4be Add --view flag which will start a server and host report.html (#1130) 2016-12-14 17:48:12 -08:00
Ward Peeters 279965c8cd Use whatwg-url to parse urls (#997) 2016-12-14 09:05:08 -08:00
Paul Irish 83a5fdb94d bump axe to 2.1.7 with perf fix (#1155) 2016-12-13 18:09:10 -08:00
Paul Irish 8142268f83 Upgrade ESLint and eslint-config-google to latest (#1136) 2016-12-13 16:49:28 -08:00
Eric Bidelman 509691fa72 Add Lighthouse Report Viewer (#1109) 2016-12-06 17:16:50 -08:00
Paul Irish 393bbf28f6 remove jszip dependency for traceviewer. (#1094) 2016-12-01 17:48:58 -08:00
Brendan Kenny c1ab428c58 unmute some smoke test failures (#1081)
also update smoke test expectations for changes in perf metric scoring
2016-11-29 17:19:02 -08:00
Brendan Kenny 31637d7e7b 1.2.2 2016-11-29 15:53:37 -08:00
Brendan Kenny 30a8709975 1.2.1 (#1022) 2016-11-22 18:13:11 -08:00
Brendan Kenny f17ce7c059 1.2.0 (#961) 2016-11-17 00:09:47 -08:00
Eric Bidelman ae285d14d3 Add DBW audits and gatherers to default config 2016-11-08 15:48:25 -08:00
Sam Saccone 55eaed4529 Migrate launch-chrome.sh to use chrome-launcher. 2016-11-06 10:42:33 -08:00
Eric Bidelman ffe0afda4a Add DBW to smoke tests (#843) 2016-11-01 21:09:00 -07:00
Brendan Kenny 694baf61d5 1.1.7 (#865) 2016-10-31 15:25:57 -07:00
Eric Bidelman 8eaf3e0636 DBW: update flags 2016-10-26 17:02:03 -07:00
Sam Saccone b712120ef9 Migrate cli js to TS 2016-10-22 15:13:17 -07:00
Pavel Feldman 7062bfb550 Extract Connection abstraction from Driver (#800)
* Migrate off chrome-remote-interface
* Extract Connection delegate abstraction from driver.
2016-10-20 18:08:47 -07:00
Brendan Kenny 41a5cfe314 make existing smoketest run using smokehouse (#788)
* transfer npm run smoke to using smokehouse

* run smokehouse subprocess with --harmony if needed
2016-10-18 11:27:18 -07:00
Paul Irish b446a816bf Adopt Perceptual Speed Index (#785)
* report PSI instead.

* bump speedline to 1.0.3

* update tests for pSI swap
2016-10-17 08:33:27 -07:00
Brendan Kenny 9e44fd843e add smokehouse, an end-to-end test runner (#781) 2016-10-16 21:38:17 -07:00
Paul Irish f80e121cbe
1.1.6 2016-10-12 11:33:44 -07:00
Brendan Kenny e9297e25fa 1.1.5 (#759) 2016-10-10 15:49:34 -07:00
Paul Irish 88baef6e9a
speedline to 1.0.2. ref #728
fptovc branch === the 1.0.2 tag, so this commit has no functional changes.
See #728 for details
2016-10-02 12:48:09 -07:00
Paul Irish 98a0b2e7c8
speedline to 1.0.1 2016-10-01 17:06:48 -07:00
Paul Irish 39c3490a33 bump chrome-devtools-frontend module (#724)
* devtools frontend bump. A+ for --perf
* speedline to 1.0.0
2016-09-30 18:09:42 -07:00
Paul Irish 67680a09b6 Bump catapult/traceviewer to latest (#723)
* Bump traceviewer to master

* Add babel transpile to build-traceviewer-module.js
2016-09-30 17:59:29 -07:00
Paul Irish a85aa1f20d
speedline to 1.0.0 2016-09-30 17:04:05 -07:00
Eric Bidelman 75a5d4c968 Fix --mobile=false CLI flag and use it for DBW (#721) 2016-09-29 17:07:51 -07:00
Paul Irish 013b3f2ed1
remove closure compile from npm test 2016-09-23 10:46:57 +01:00
Eric Bidelman 8786b028b3 Add npm run dbw 2016-09-22 18:20:09 -07:00
Paul Irish aaeef0bf20 Merge pull request #678 from GoogleChrome/chromedebugcmd
Add `chrome-debug` binary to launch the debuggable standalone chrome
2016-09-20 23:39:33 -07:00
Paul Irish 71520d21bb
Add `chrome-debug` binary to launch the debuggable standalone chrome 2016-09-20 17:09:05 -07:00
Brendan Kenny 2267208409 1.1.4 2016-09-19 14:52:48 -07:00
Boopathi Rajaa f8ace8b4b0 Naming and other small fixes. Enable travis to use lighthouse launcher 2016-09-15 01:05:31 +02:00
Boopathi Rajaa 324548a82f Run chrome as a part of Lighthouse CLI
+ (Fixes #349)
+ Rebases - https://github.com/GoogleChrome/lighthouse/compare/master...boopathi:launch-chrome-js to use the new CLI and folder structures

Logic:

+ When connection fails, try launching chrome
+ Poll every ~= 500ms to remote debugger port 9222 till a connection
can be established for a fixed number of retries - 10.
+ Attempt running lighthouse again whenever the connection is
successful

Lint fixes and option change - use-some-chrome to select-chrome

use strict for node 4 and 5

Clean up some stuff and add linux and windows - To be verified

Fix some lint

Move all finders to a single file and make it all sync

launch-chrome flag and split run function

Add LICENSE

Runner class to list of functions

linux additional flag and linux throw error for undef env

skip-autolaunch

Fix lint and node 4&5
2016-09-14 04:54:07 +02:00
Brendan Kenny a5bbe2338f 1.1.3 2016-09-06 16:50:06 -07:00
Paul Irish c72a695167
Merge branch 'master' into wardpeet-rename-tests 2016-08-19 20:51:05 -07:00
Paul Irish c8662e3d0c Introduce computedArtifacts (#583)
The difference between classic gatherers and computed artifacts:

* gatherers all speak directly to the browser and collect data. All of them talk to the protocol
* computed artifacts do not talk to the protocol. They take either a trace or networkRecords and generate another artifact that's of value to more than 1 audits. 

https://github.com/GoogleChrome/lighthouse/pull/583
2016-08-19 20:47:31 -07:00
Paul Irish 35e649ad50
mocha tests unfortch can't rely on globbing 2016-08-19 20:45:20 -07:00
Paul Irish 543b422603 Revamp smoketest, include offline & SW test
* Replace pythonsimplehttpserver with a configurable node-based server

### offline & sw details
* use SW logic from from googlechrome.github.io/samples/service-worker/basic , but adapted
* Simpler skipWaiting thanks to dbca5f70c8 (commitcomment-18601764)
* run smoketests on diff ports so sw isn't shared.
* Load offline-ready page twice so we dont have to worry about racing between cache population and lighthouse's gatherer.
* make offline page take longer to load to allow enough time for SW to populate cache
2016-08-19 20:15:25 -07:00
Paul Irish 0269917f96
1.1.2 2016-08-05 23:04:47 -07:00
Paul Irish ed8e056f52
1.1.1 2016-08-04 21:59:08 -07:00
Paul Irish d9a7f84763
1.1.0 2016-08-02 10:24:43 -07:00
Paul Irish 59fdea9dce
Refactor npm scripts for mocha 2016-08-01 17:11:35 -07:00
Paul Irish e8bb926eac
1.0.6 2016-07-28 15:55:42 -04:00
Ward Peeters 1b998a3e40 Moved everything from lighthouse-core to ligthouse 2016-07-26 07:38:23 +02:00
Ward Peeters da09ffb29a Cleanup harmony scripts #513 (#516) 2016-07-25 17:07:53 -04:00
Michael Gerakis fe5f57dbf3 Travis: enable testing of node v4 + --harmony (#501) 2016-07-11 17:35:56 -07:00
Paul Lewis 07e4958d36 Removes the 'module' folder from main. 2016-07-11 13:36:50 +01:00
Paul Irish 90ffa1a220
1.0.5 2016-07-08 14:26:21 -07:00
Paul Irish e28ee772c5 Install child folder deps through helper script (#500) 2016-07-08 14:22:05 -07:00
Paul Irish fcf82d22d8
1.0.4 2016-07-08 13:26:25 -07:00
Paul Irish 15b473dd5c
1.0.3 2016-07-07 19:11:26 -07:00
Michael Gerakis 94cc318ee4 Require semver as a dependency. (#473) 2016-06-27 22:19:23 +01:00
Paul Irish ab00e2c7e4
bump package to 1.0.2 2016-06-24 01:51:11 +01:00
Paul Irish dfe2a77ada
yargs on 3.30.0 . 2016-06-23 20:01:31 +01:00
Ward Peeters cfd98ab808 Setting up yargs instead of meow 2016-06-22 17:31:47 +02:00
Paul Lewis 4733a35469 Root package (#431)
* Creates package.json at root

* Removes lighthouse-core deps from CLI & extension

* Updates requires to use relative paths

* Fixes report loader path

* merge root package with cli package.json

* Updates smoke test paths

* Updates .travis.yml

* Update .travis.yml again

* Removes core/package.json

* Revert "Removes core/package.json"

This reverts commit 32e57ee782.
2016-06-15 19:37:52 +01:00
Paul Lewis 0295887b88 Refactors to separate /lighthouse-core, /lighthouse-extension and /lighthouse-cli 2016-06-14 12:10:19 +01:00
Paul Irish ed71d6b355 Screenshots gatherer, audit & asset viewer
* save screenshots in --save-assets flag
* meow needs to know what cmd line options are booleans.
* Get screenshots running with new whitelisted scheduler.
* use json-stringify-safe, which handles larger objects better than native.
* change default url to aliexpress, as platform-status.mozilla is down.

Closure is unhappy with the return value. I'm not sure why.
2016-05-28 00:00:48 -07:00
Paul Irish 1548a45a0f Merge pull request #375 from brendankenny/coverage
add istanbul test coverage reporting
2016-05-27 12:02:01 -07:00
Sam Thorogood 9ff0e36f65 get closure-type-checking running again (#360)
* minimal type fixes to get building
2016-05-27 12:01:12 -07:00
Brendan Kenny 127e50be4b add coveralls support for coverage info 2016-05-27 00:58:28 -07:00
Brendan Kenny 62adf05401 add istanbul test coverage reporting
also removes smoke tests from what are (ostensibly) unit tests
2016-05-27 00:41:38 -07:00
Zack Boehm fe9de41f24 Update package.json homepage & issue URLs from Big Rig (#357) 2016-05-25 13:47:23 -07:00
Boopathi Rajaa 50525add43 Fix unit test watch npm command
+ Fix extension.js and extension*.js are ignored
+ no need for grep -v. find supports exlusions
2016-05-17 12:05:37 +02:00