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

494 Коммитов

Автор SHA1 Сообщение Дата
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
Paul Irish 62ca0b3671 traceviewer module + input readiness metric
PR  (#309) has the details

* Adds conversion script to convert catapult repo into a consumable node mobule
* Adds 'input readiness' metric which depends on traceviewer
* works with browserify.
2016-05-10 23:35:31 -07:00
Paul Lewis c1d5eb4e14 Adds module support. (#287) 2016-05-05 11:37:33 -07:00
Pierre-Marie Dartus 26796a31f1 Fix start script entry (#282) 2016-05-05 12:45:56 +01:00
Sam Thorogood 51b30d0954 pull in speedline and report speedIndex 2016-04-28 17:04:04 -07:00
Paul Irish e84bc3c065 test/ folder refactor (#245)
* folder refactor: tests/ now match up.

* add readme notes on `npm run watch`
2016-04-24 17:45:33 -07:00
Paul Irish de850dd236
folder refactor: cli/ ftw. Now: `node cli https://pwa.rocks` 2016-04-23 18:44:12 -07:00
Paul Irish 714ece497a
folder refactor: scripts/ get their own home 2016-04-23 18:43:53 -07:00
Paul Lewis 0f149459da Adds a11y valid-aria-attr check, using axe-core audits 2016-04-23 17:00:13 -07:00
Brendan Kenny cff829c7db Adds full report to CLI and extension; upgrades printer.
* Refactors for a 'full report' in CLI & extension.
* Upgrades the printer; adds tests.
2016-04-21 09:55:06 +01:00
Brendan Kenny f32eec17b5 reorganization of devtools frontend imports and mocking 2016-04-20 12:56:12 -07:00
Sam Saccone 2a84d3337b tests: Add initial smoke test coverage.
We can continue to add to this as we hit more and more issues.
2016-04-19 08:16:02 -07:00
Deepanjan Roy 0cc8bb4a00 Do not run if node version older than 5.9 2016-03-31 16:32:40 -04:00
Sam Saccone d3aeb330d6 Fix incorrect npm start command 2016-03-29 17:49:03 -07:00
Brendan Kenny da55619943 Merge pull request #95 from brendankenny/closure
add closure type checking (to audits/ only for now)
2016-03-29 17:43:23 -07:00
Brendan Kenny 807af0f3d0 add closure type checking to audits 2016-03-29 17:40:58 -07:00
ragingwind 57ec21d247 Using npm script to launch chrome 2016-03-29 09:33:32 +09:00
Paul Lewis 8bb55c3e25 Adds tests for all aggregators and audits.
Ensures all the files in the folders all override the required getters.
2016-03-24 18:04:26 +00:00
Paul Lewis f81a84f7a8 Moves trace processor tests so things are tidier. 2016-03-24 14:33:38 +00:00
Paul Lewis aae908df4d Removes chai 2016-03-24 14:19:46 +00:00
Paul Lewis 6b5c790db3 Merge pull request #62 from GoogleChrome/sjs/test-sketch
Background color test sketch 🌽
2016-03-23 14:49:08 +00:00
Sam Saccone 592dd0e2f2 Background color test sketch 🌽
* Fix a loose contract in the audit.
* Add test coverage for the audit.
2016-03-23 07:46:22 -07:00
Sindre Sorhus fae8b26ee2 simplify package.json 2016-03-23 14:24:13 +07:00
Paul Irish c0cdd7196d wip 2016-03-22 20:48:52 -07:00
Paul Irish aef32fd78a lint fixes 2016-03-22 11:29:41 -07:00
Paul Irish 10e5a9368a Add cli with flags. URL now customizable 2016-03-22 11:24:49 -07:00
Paul Lewis 3f4a5f2377 Backports extension; refactors much. 2016-03-22 15:26:24 +00:00
Paul Irish 7d5ebb0d68 devtools-timeline-model now won't conflict with local devtools frontend. 2016-03-20 20:48:07 -07:00
Paul Irish 1e3883e228 Merge branch 'master' into fmp-metric 2016-03-19 12:45:45 -07:00
Paul Irish 9bfae8d983 wip 2016-03-18 18:36:30 -07:00
Brendan Kenny ce9bfba6b4 remove unneeded deps, lock devtools version 2016-03-18 18:29:51 -07:00
Paul Irish 83bb275d05 Add first-meaningful-paint metric first pass. ref #26 2016-03-18 18:12:31 -07:00
Brendan Kenny 280bfbceff add hacky network request recording
uses DevTools's NetworkManager frontend to process CRI events
2016-03-18 17:49:17 -07:00
Brendan Kenny 5e7ede2bec rough port @paullewis's changes to current master 2016-03-17 02:25:16 -07:00
Sam Saccone 0c336f8546 Simplify running. 2016-03-12 16:48:29 -08:00
Brendan Kenny a6b0cd7790 linting fixes 2016-03-11 23:34:10 -08:00
Brendan Kenny fdd726e2ff split unit tests into their own npm script
moar tiny PRs!
2016-03-11 16:05:49 -08:00
Brendan Kenny 709ee589f0 make readme example run
add missing dep and typo in CLI example
2016-03-11 15:52:23 -08:00
Brendan Kenny 4fb117277e add bare Google-style eslint checking 2016-03-11 15:33:22 -08:00
Paul Irish 4832174122 Merge branch 'master' into cri 2016-03-11 13:52:15 -08:00
Nat Duca 019b7fa2ef Use traceviewer package for trace parsing
\o/
2016-03-11 10:01:19 -08:00
Paul Irish 9b9baef342 dropped webdriver and adopted chrome-remote-interface. ported JS & SW audits over. 2016-03-09 03:21:30 -08:00
Paul Irish 976cde4db0 tests 2016-03-04 17:45:26 -08:00
Paul Lewis 2629bf68cb Adds ChromeDriver and test for SW. 2016-01-18 17:07:46 +00:00
Paul Lewis c09a442f05 Adds tests. 2016-01-15 17:13:20 +00:00