Skip to content

Commit 2eb8f34

Browse files
authored
v10.0.0 (#14594)
1 parent 836271a commit 2eb8f34

File tree

7 files changed

+543
-28
lines changed

7 files changed

+543
-28
lines changed

changelog.md

Lines changed: 531 additions & 2 deletions
Large diffs are not rendered by default.

core/test/fixtures/fraggle-rock/reports/sample-flow-result.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"steps": [
33
{
44
"lhr": {
5-
"lighthouseVersion": "9.5.0",
5+
"lighthouseVersion": "10.0.0",
66
"requestedUrl": "https://www.mikescerealshack.co/",
77
"mainDocumentUrl": "https://www.mikescerealshack.co/",
88
"finalDisplayedUrl": "https://www.mikescerealshack.co/",
@@ -7449,7 +7449,7 @@
74497449
},
74507450
{
74517451
"lhr": {
7452-
"lighthouseVersion": "9.5.0",
7452+
"lighthouseVersion": "10.0.0",
74537453
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
74547454
"fetchTime": "2023-01-13T23:27:51.982Z",
74557455
"gatherMode": "timespan",
@@ -11150,7 +11150,7 @@
1115011150
},
1115111151
{
1115211152
"lhr": {
11153-
"lighthouseVersion": "9.5.0",
11153+
"lighthouseVersion": "10.0.0",
1115411154
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
1115511155
"fetchTime": "2023-01-13T23:28:01.888Z",
1115611156
"gatherMode": "snapshot",
@@ -15798,7 +15798,7 @@
1579815798
},
1579915799
{
1580015800
"lhr": {
15801-
"lighthouseVersion": "9.5.0",
15801+
"lighthouseVersion": "10.0.0",
1580215802
"requestedUrl": "https://www.mikescerealshack.co/corrections",
1580315803
"mainDocumentUrl": "https://www.mikescerealshack.co/corrections",
1580415804
"finalDisplayedUrl": "https://www.mikescerealshack.co/corrections",

core/test/results/sample_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lighthouseVersion": "9.5.0",
2+
"lighthouseVersion": "10.0.0",
33
"requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
44
"mainDocumentUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
55
"finalDisplayedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",

docs/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ A Lighthouse plugin is just a node module with a name that starts with `lighthou
6060
"name": "lighthouse-plugin-cats",
6161
"main": "plugin.js",
6262
"peerDependencies": {
63-
"lighthouse": "^9.5.0"
63+
"lighthouse": "^10.0.0"
6464
},
6565
"devDependencies": {
66-
"lighthouse": "^9.5.0"
66+
"lighthouse": "^10.0.0"
6767
}
6868
}
6969
```

docs/recipes/lighthouse-plugin-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"main": "./plugin.js",
66
"peerDependencies": {
7-
"lighthouse": "^9.5.0"
7+
"lighthouse": "^10.0.0"
88
},
99
"devDependencies": {
1010
"lighthouse": "^8.6.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lighthouse",
33
"type": "module",
4-
"version": "9.5.0",
4+
"version": "10.0.0",
55
"description": "Automated auditing, performance metrics, and best practices for the web.",
66
"main": "./core/index.js",
77
"bin": {

third-party/devtools-tests/e2e/lighthouse/navigation_test.ts

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ describe('Navigation', async function() {
9494
assert.strictEqual(numNavigations, 6);
9595
}
9696

97-
// TODO: Reenable this for 10.0
98-
// 9.6.x is forked so Lighthouse ToT is still using 9.5.0 as the version.
99-
// assert.strictEqual(lhr.lighthouseVersion, '9.6.6');
97+
assert.strictEqual(lhr.lighthouseVersion, '10.0.0');
10098
assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/);
10199

102100
assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');
@@ -105,13 +103,7 @@ describe('Navigation', async function() {
105103
assert.strictEqual(lhr.configSettings.throttling.rttMs, 150);
106104
assert.strictEqual(lhr.configSettings.screenEmulation.disabled, true);
107105
assert.include(lhr.configSettings.emulatedUserAgent, 'Mobile');
108-
109-
// A bug in FR caused `networkUserAgent` to be excluded from the LHR.
110-
// https://github.com/GoogleChrome/lighthouse/pull/14392
111-
// TODO: Reenable once the fix lands in DT.
112-
if (mode === 'legacy') {
113-
assert.include(lhr.environment.networkUserAgent, 'Mobile');
114-
}
106+
assert.include(lhr.environment.networkUserAgent, 'Mobile');
115107

116108
assert.deepStrictEqual(artifacts.ViewportDimensions, {
117109
innerHeight: 823,
@@ -257,13 +249,7 @@ describe('Navigation', async function() {
257249
assert.strictEqual(lhr.configSettings.throttling.rttMs, 40);
258250
assert.strictEqual(lhr.configSettings.screenEmulation.disabled, true);
259251
assert.notInclude(lhr.configSettings.emulatedUserAgent, 'Mobile');
260-
261-
// A bug in FR caused `networkUserAgent` to be excluded from the LHR.
262-
// https://github.com/GoogleChrome/lighthouse/pull/14392
263-
// TODO: Reenable once the fix lands in DT.
264-
if (mode === 'legacy') {
265-
assert.notInclude(lhr.environment.networkUserAgent, 'Mobile');
266-
}
252+
assert.notInclude(lhr.environment.networkUserAgent, 'Mobile');
267253

268254
const viewTraceButton = await $textContent('Ver rastro original', reportEl);
269255
assert.ok(viewTraceButton);

0 commit comments

Comments
 (0)