lighthouse 13.6.0-dev.20261116 → 13.6.0-dev.20261118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/run.d.ts +7 -0
- package/cli/run.js +38 -3
- package/core/audits/baseline.d.ts +3 -0
- package/core/audits/origin-isolation.js +5 -2
- package/core/computed/lcp-network-record.js +1 -1
- package/core/computed/metrics/lcp-breakdown.d.ts +19 -0
- package/core/computed/metrics/lcp-breakdown.js +71 -8
- package/core/computed/page-dependency-graph.js +4 -1
- package/core/computed/trace-engine-result.js +0 -9
- package/core/lib/baseline/web-features-data.json +12 -3
- package/core/lib/baseline/web-features-metadata.json +1 -1
- package/core/lib/deprecations-strings.d.ts +0 -2
- package/core/lib/deprecations-strings.js +1 -18
- package/package.json +19 -19
- package/shared/localization/locales/ar-XB.json +3 -0
- package/shared/localization/locales/ar.json +3 -0
- package/shared/localization/locales/bg.json +3 -0
- package/shared/localization/locales/ca.json +75 -72
- package/shared/localization/locales/cs.json +3 -0
- package/shared/localization/locales/da.json +3 -0
- package/shared/localization/locales/de.json +3 -0
- package/shared/localization/locales/el.json +3 -0
- package/shared/localization/locales/en-GB.json +3 -0
- package/shared/localization/locales/es-419.json +3 -0
- package/shared/localization/locales/es.json +3 -0
- package/shared/localization/locales/fi.json +3 -0
- package/shared/localization/locales/fil.json +3 -0
- package/shared/localization/locales/fr.json +3 -0
- package/shared/localization/locales/he.json +3 -0
- package/shared/localization/locales/hi.json +11 -8
- package/shared/localization/locales/hr.json +3 -0
- package/shared/localization/locales/hu.json +3 -0
- package/shared/localization/locales/id.json +3 -0
- package/shared/localization/locales/it.json +3 -0
- package/shared/localization/locales/ja.json +3 -0
- package/shared/localization/locales/ko.json +3 -0
- package/shared/localization/locales/lt.json +3 -0
- package/shared/localization/locales/lv.json +5 -2
- package/shared/localization/locales/nl.json +3 -0
- package/shared/localization/locales/no.json +3 -0
- package/shared/localization/locales/pl.json +3 -0
- package/shared/localization/locales/pt-PT.json +3 -0
- package/shared/localization/locales/pt.json +32 -29
- package/shared/localization/locales/ro.json +3 -0
- package/shared/localization/locales/ru.json +3 -0
- package/shared/localization/locales/sk.json +3 -0
- package/shared/localization/locales/sl.json +3 -0
- package/shared/localization/locales/sr-Latn.json +3 -0
- package/shared/localization/locales/sr.json +3 -0
- package/shared/localization/locales/sv.json +3 -0
- package/shared/localization/locales/ta.json +3 -0
- package/shared/localization/locales/te.json +3 -0
- package/shared/localization/locales/th.json +3 -0
- package/shared/localization/locales/tr.json +3 -0
- package/shared/localization/locales/uk.json +3 -0
- package/shared/localization/locales/vi.json +3 -0
- package/shared/localization/locales/zh-HK.json +3 -0
- package/shared/localization/locales/zh-TW.json +3 -0
- package/shared/localization/locales/zh.json +3 -0
package/cli/run.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ export type ExitError = Error & {
|
|
|
2
2
|
code: string;
|
|
3
3
|
friendlyMessage?: string;
|
|
4
4
|
};
|
|
5
|
+
/**
|
|
6
|
+
* Logs a warning on Linux when `/dev/shm` is small (e.g. default 64MB in Docker/CI containers)
|
|
7
|
+
* and `--disable-dev-shm-usage` was not passed, as Chrome may crash or hang (`PROTOCOL_TIMEOUT`).
|
|
8
|
+
* @param {Array<string>} chromeFlags
|
|
9
|
+
* @param {NodeJS.Platform} [platform]
|
|
10
|
+
*/
|
|
11
|
+
export function checkDevShmUsage(chromeFlags: Array<string>, platform?: NodeJS.Platform): void;
|
|
5
12
|
/**
|
|
6
13
|
* exported for testing
|
|
7
14
|
* @param {string|Array<string>} flags
|
package/cli/run.js
CHANGED
|
@@ -26,6 +26,7 @@ import {Sentry} from '../core/lib/sentry.js';
|
|
|
26
26
|
|
|
27
27
|
const _RUNTIME_ERROR_CODE = 1;
|
|
28
28
|
const _PROTOCOL_TIMEOUT_EXIT_CODE = 67;
|
|
29
|
+
const _SHM_SIZE_THRESHOLD_BYTES = 64 * 1024 * 1024;
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* exported for testing
|
|
@@ -65,13 +66,39 @@ function parseChromeFlags(flags = '') {
|
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Logs a warning on Linux when `/dev/shm` is small (e.g. default 64MB in Docker/CI containers)
|
|
71
|
+
* and `--disable-dev-shm-usage` was not passed, as Chrome may crash or hang (`PROTOCOL_TIMEOUT`).
|
|
72
|
+
* @param {Array<string>} chromeFlags
|
|
73
|
+
* @param {NodeJS.Platform} [platform]
|
|
74
|
+
*/
|
|
75
|
+
function checkDevShmUsage(chromeFlags, platform = process.platform) {
|
|
76
|
+
if (platform !== 'linux') return;
|
|
77
|
+
if (chromeFlags.includes('--disable-dev-shm-usage')) return;
|
|
78
|
+
|
|
79
|
+
try {
|
|
80
|
+
const {bsize, blocks} = fs.statfsSync('/dev/shm');
|
|
81
|
+
const totalBytes = bsize * blocks;
|
|
82
|
+
if (totalBytes > 0 && totalBytes <= _SHM_SIZE_THRESHOLD_BYTES) {
|
|
83
|
+
const sizeMb = Math.round(totalBytes / (1024 * 1024));
|
|
84
|
+
log.warn(
|
|
85
|
+
'CLI',
|
|
86
|
+
`Detected small /dev/shm (${sizeMb}MB). Pass --chrome-flags="--disable-dev-shm-usage" ` +
|
|
87
|
+
'or increase shared memory size to avoid Chrome crashes and PROTOCOL_TIMEOUT errors.'
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
} catch {
|
|
91
|
+
// Ignore if /dev/shm does not exist or cannot be inspected.
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
68
95
|
/**
|
|
69
96
|
* Attempts to connect to an instance of Chrome with an open remote-debugging
|
|
70
97
|
* port. If none is found, launches a debuggable instance.
|
|
71
98
|
* @param {LH.CliFlags} flags
|
|
72
99
|
* @return {Promise<ChromeLauncher.LaunchedChrome>}
|
|
73
100
|
*/
|
|
74
|
-
function getDebuggableChrome(flags) {
|
|
101
|
+
async function getDebuggableChrome(flags) {
|
|
75
102
|
if (process.platform === 'darwin' && process.arch === 'x64') {
|
|
76
103
|
const cpus = os.cpus();
|
|
77
104
|
if (cpus[0].model.includes('Apple')) {
|
|
@@ -84,12 +111,19 @@ function getDebuggableChrome(flags) {
|
|
|
84
111
|
}
|
|
85
112
|
}
|
|
86
113
|
|
|
87
|
-
|
|
114
|
+
const chromeFlags = parseChromeFlags(flags.chromeFlags);
|
|
115
|
+
const launchedChrome = await ChromeLauncher.launch({
|
|
88
116
|
port: flags.port,
|
|
89
117
|
ignoreDefaultFlags: flags.chromeIgnoreDefaultFlags,
|
|
90
|
-
chromeFlags
|
|
118
|
+
chromeFlags,
|
|
91
119
|
logLevel: flags.logLevel,
|
|
92
120
|
});
|
|
121
|
+
|
|
122
|
+
if (launchedChrome.pid) {
|
|
123
|
+
checkDevShmUsage(chromeFlags);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return launchedChrome;
|
|
93
127
|
}
|
|
94
128
|
|
|
95
129
|
/** @return {never} */
|
|
@@ -290,6 +324,7 @@ async function runLighthouse(urlOrUrls, flags, config) {
|
|
|
290
324
|
}
|
|
291
325
|
|
|
292
326
|
export {
|
|
327
|
+
checkDevShmUsage,
|
|
293
328
|
parseChromeFlags,
|
|
294
329
|
saveResults,
|
|
295
330
|
runLighthouse,
|
|
@@ -696,6 +696,7 @@ declare class Baseline extends Audit {
|
|
|
696
696
|
"document-caretpositionfrompoint": string;
|
|
697
697
|
"event-timing": string;
|
|
698
698
|
"ext-texture-compression-rgtc": string;
|
|
699
|
+
"ext-texture-norm16": string;
|
|
699
700
|
"fetch-priority": string;
|
|
700
701
|
"field-sizing": string;
|
|
701
702
|
float16array: string;
|
|
@@ -748,7 +749,9 @@ declare class Baseline extends Audit {
|
|
|
748
749
|
"ruby-align": string;
|
|
749
750
|
"ruby-position": string;
|
|
750
751
|
scope: string;
|
|
752
|
+
"scoped-custom-element-registries": string;
|
|
751
753
|
"screen-wake-lock": string;
|
|
754
|
+
"scroll-driven-animations": string;
|
|
752
755
|
"scroll-to-text-fragment": string;
|
|
753
756
|
"scrollbar-color": string;
|
|
754
757
|
"scrollbar-gutter": string;
|
|
@@ -58,8 +58,11 @@ class OriginIsolation extends Audit {
|
|
|
58
58
|
})
|
|
59
59
|
.flatMap(h => h.value);
|
|
60
60
|
|
|
61
|
-
//
|
|
62
|
-
|
|
61
|
+
// COOP is a Structured Field item: the policy token can be followed by parameters such as
|
|
62
|
+
// `report-to`, which don't change the policy (e.g. `same-origin; report-to="coop"`).
|
|
63
|
+
// https://html.spec.whatwg.org/multipage/browsers.html#obtain-coop
|
|
64
|
+
// Sanitize the header value and ignore any parameters.
|
|
65
|
+
coopHeaders = coopHeaders.map(v => v.split(';')[0].toLowerCase().replace(/\s/g, ''));
|
|
63
66
|
|
|
64
67
|
return coopHeaders;
|
|
65
68
|
}
|
|
@@ -42,7 +42,7 @@ class LCPNetworkRecord {
|
|
|
42
42
|
}).sort((a, b) => b.ts - a.ts)[0];
|
|
43
43
|
|
|
44
44
|
const lcpUrl = lcpImagePaintEvent?.args.data?.imageUrl;
|
|
45
|
-
if (!lcpUrl) return;
|
|
45
|
+
if (!lcpUrl || lcpUrl.startsWith('data:')) return;
|
|
46
46
|
|
|
47
47
|
const candidates = networkRecords.filter(record => {
|
|
48
48
|
return record.url === lcpUrl &&
|
|
@@ -11,6 +11,25 @@ declare const LCPBreakdownComputed: typeof LCPBreakdown & {
|
|
|
11
11
|
* Note: this omits renderDelay for simulated throttling.
|
|
12
12
|
*/
|
|
13
13
|
declare class LCPBreakdown {
|
|
14
|
+
/**
|
|
15
|
+
* @param {Map<LH.Gatherer.Simulation.GraphNode, LH.Gatherer.Simulation.NodeTiming>} nodeTimings
|
|
16
|
+
* @param {LH.Artifacts.NetworkRequest} lcpRecord
|
|
17
|
+
* @return {LH.Gatherer.Simulation.NodeTiming|undefined}
|
|
18
|
+
*/
|
|
19
|
+
static findLcpNodeTiming(nodeTimings: Map<LH.Gatherer.Simulation.GraphNode, LH.Gatherer.Simulation.NodeTiming>, lcpRecord: LH.Artifacts.NetworkRequest): LH.Gatherer.Simulation.NodeTiming | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Returns simulated [loadStart, loadEnd] for `lcpRecord` from Lantern's nodeTimings,
|
|
22
|
+
* or undefined if the record is non-network or absent from both graphs.
|
|
23
|
+
* Uses `queuedTime` (when Chrome enqueues the request) rather than `startTime`
|
|
24
|
+
* (when a connection slot opens), matching how observed LCPBreakdown defines loadDelay.
|
|
25
|
+
* @param {LH.Artifacts.LanternMetric} lanternLcp
|
|
26
|
+
* @param {LH.Artifacts.NetworkRequest} lcpRecord
|
|
27
|
+
* @return {{loadStart: number, loadEnd: number}|undefined}
|
|
28
|
+
*/
|
|
29
|
+
static getSimulatedLcpLoadBounds(lanternLcp: LH.Artifacts.LanternMetric, lcpRecord: LH.Artifacts.NetworkRequest): {
|
|
30
|
+
loadStart: number;
|
|
31
|
+
loadEnd: number;
|
|
32
|
+
} | undefined;
|
|
14
33
|
/**
|
|
15
34
|
* @param {LH.Artifacts.MetricComputationDataInput} data
|
|
16
35
|
* @param {LH.Artifacts.ComputedContext} context
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import * as Lantern from '../../lib/lantern/lantern.js';
|
|
8
|
+
import {NetworkRequest} from '../../lib/network-request.js';
|
|
7
9
|
import {makeComputedArtifact} from '../computed-artifact.js';
|
|
8
10
|
import {LighthouseError} from '../../lib/lh-error.js';
|
|
9
|
-
import {
|
|
11
|
+
import {LanternLargestContentfulPaint} from './lantern-largest-contentful-paint.js';
|
|
10
12
|
import {ProcessedNavigation} from '../processed-navigation.js';
|
|
11
13
|
import {TimeToFirstByte} from './time-to-first-byte.js';
|
|
12
14
|
import {LCPNetworkRecord} from '../lcp-network-record.js';
|
|
@@ -16,6 +18,59 @@ import {NavigationInsights} from '../navigation-insights.js';
|
|
|
16
18
|
* Note: this omits renderDelay for simulated throttling.
|
|
17
19
|
*/
|
|
18
20
|
class LCPBreakdown {
|
|
21
|
+
/**
|
|
22
|
+
* @param {Map<LH.Gatherer.Simulation.GraphNode, LH.Gatherer.Simulation.NodeTiming>} nodeTimings
|
|
23
|
+
* @param {LH.Artifacts.NetworkRequest} lcpRecord
|
|
24
|
+
* @return {LH.Gatherer.Simulation.NodeTiming|undefined}
|
|
25
|
+
*/
|
|
26
|
+
static findLcpNodeTiming(nodeTimings, lcpRecord) {
|
|
27
|
+
for (const [node, timing] of nodeTimings) {
|
|
28
|
+
if (node.type === 'network' && node.id === lcpRecord.requestId) {
|
|
29
|
+
return timing;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Returns simulated [loadStart, loadEnd] for `lcpRecord` from Lantern's nodeTimings,
|
|
37
|
+
* or undefined if the record is non-network or absent from both graphs.
|
|
38
|
+
* Uses `queuedTime` (when Chrome enqueues the request) rather than `startTime`
|
|
39
|
+
* (when a connection slot opens), matching how observed LCPBreakdown defines loadDelay.
|
|
40
|
+
* @param {LH.Artifacts.LanternMetric} lanternLcp
|
|
41
|
+
* @param {LH.Artifacts.NetworkRequest} lcpRecord
|
|
42
|
+
* @return {{loadStart: number, loadEnd: number}|undefined}
|
|
43
|
+
*/
|
|
44
|
+
static getSimulatedLcpLoadBounds(lanternLcp, lcpRecord) {
|
|
45
|
+
if (NetworkRequest.isNonNetworkRequest(lcpRecord)) return undefined;
|
|
46
|
+
|
|
47
|
+
const optimisticTiming =
|
|
48
|
+
this.findLcpNodeTiming(lanternLcp.optimisticEstimate.nodeTimings, lcpRecord);
|
|
49
|
+
const pessimisticTiming =
|
|
50
|
+
this.findLcpNodeTiming(lanternLcp.pessimisticEstimate.nodeTimings, lcpRecord);
|
|
51
|
+
|
|
52
|
+
if (optimisticTiming && pessimisticTiming) {
|
|
53
|
+
const {optimistic, pessimistic} = Lantern.Metrics.LargestContentfulPaint.coefficients;
|
|
54
|
+
const weightSum = optimistic + pessimistic;
|
|
55
|
+
/** @param {number} o @param {number} p */
|
|
56
|
+
const blend = (o, p) => (optimistic * o + pessimistic * p) / weightSum;
|
|
57
|
+
return {
|
|
58
|
+
loadStart: blend(optimisticTiming.queuedTime, pessimisticTiming.queuedTime),
|
|
59
|
+
loadEnd: blend(optimisticTiming.endTime, pessimisticTiming.endTime),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const singleTiming = optimisticTiming || pessimisticTiming;
|
|
64
|
+
if (singleTiming) {
|
|
65
|
+
return {
|
|
66
|
+
loadStart: singleTiming.queuedTime,
|
|
67
|
+
loadEnd: singleTiming.endTime,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
|
|
19
74
|
/**
|
|
20
75
|
* @param {LH.Artifacts.MetricComputationDataInput} data
|
|
21
76
|
* @param {LH.Artifacts.ComputedContext} context
|
|
@@ -28,7 +83,6 @@ class LCPBreakdown {
|
|
|
28
83
|
if (observedLcp === undefined) {
|
|
29
84
|
throw new LighthouseError(LighthouseError.errors.NO_LCP);
|
|
30
85
|
}
|
|
31
|
-
const timeOrigin = processedNavigation.timestamps.timeOrigin / 1000;
|
|
32
86
|
|
|
33
87
|
const {timing: ttfb} = await TimeToFirstByte.request(data, context);
|
|
34
88
|
|
|
@@ -37,14 +91,23 @@ class LCPBreakdown {
|
|
|
37
91
|
return {ttfb};
|
|
38
92
|
}
|
|
39
93
|
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
const throttleRatio = metricLcp / observedLcp;
|
|
94
|
+
const lanternLcp = await LanternLargestContentfulPaint.request(data, context);
|
|
95
|
+
const metricLcp = lanternLcp.timing;
|
|
43
96
|
|
|
44
|
-
|
|
45
|
-
|
|
97
|
+
let {loadStart: unclampedLoadStart, loadEnd: unclampedLoadEnd} =
|
|
98
|
+
this.getSimulatedLcpLoadBounds(lanternLcp, lcpRecord) || {};
|
|
46
99
|
|
|
47
|
-
|
|
100
|
+
if (unclampedLoadStart === undefined || unclampedLoadEnd === undefined) {
|
|
101
|
+
const timeOrigin = processedNavigation.timestamps.timeOrigin / 1000;
|
|
102
|
+
const throttleRatio = metricLcp / observedLcp;
|
|
103
|
+
unclampedLoadStart = (lcpRecord.networkRequestTime - timeOrigin) * throttleRatio;
|
|
104
|
+
unclampedLoadEnd = (lcpRecord.networkEndTime - timeOrigin) * throttleRatio;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Clamp to [ttfb, metricLcp]. `unclampedLoadStart` can be below `ttfb` when
|
|
108
|
+
// observed TTFB exceeds Lantern's simulated main-document finish time (yielding loadDelay=0),
|
|
109
|
+
// and `unclampedLoadEnd` can exceed `metricLcp` for low-priority LCP images.
|
|
110
|
+
const loadStart = Math.max(ttfb, Math.min(unclampedLoadStart, metricLcp));
|
|
48
111
|
const loadEnd = Math.max(loadStart, Math.min(unclampedLoadEnd, metricLcp));
|
|
49
112
|
|
|
50
113
|
return {
|
|
@@ -36,7 +36,10 @@ class PageDependencyGraph {
|
|
|
36
36
|
return graph;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
// Exclude data: URIs to match TraceEngine's NetworkRequestsHandler.
|
|
40
|
+
const lanternRequests = networkRecords
|
|
41
|
+
.filter(record => !record.url.startsWith('data:'))
|
|
42
|
+
.map(NetworkRequest.asLanternNetworkRequest);
|
|
40
43
|
return Lantern.Graph.PageDependencyGraph.createGraph(mainThreadEvents, lanternRequests, URL);
|
|
41
44
|
}
|
|
42
45
|
}
|
|
@@ -77,15 +77,6 @@ class TraceEngineResult {
|
|
|
77
77
|
const insights = processor.insights;
|
|
78
78
|
this.localizeInsights(insights);
|
|
79
79
|
|
|
80
|
-
// Release intermediate handler state retained in module-level TraceHandlers singletons
|
|
81
|
-
// and static Lantern simulation node timings after trace processing completes.
|
|
82
|
-
for (const handler of Object.values(TraceEngine.TraceHandlers)) {
|
|
83
|
-
handler.reset();
|
|
84
|
-
}
|
|
85
|
-
if (!process.env.LANTERN_DEBUG) {
|
|
86
|
-
Lantern.Simulation.Simulator.allNodeTimings.clear();
|
|
87
|
-
}
|
|
88
|
-
|
|
89
80
|
return {data, insights};
|
|
90
81
|
}
|
|
91
82
|
|
|
@@ -685,6 +685,7 @@
|
|
|
685
685
|
"document-caretpositionfrompoint": "2025-12-12",
|
|
686
686
|
"event-timing": "2025-12-12",
|
|
687
687
|
"ext-texture-compression-rgtc": "2025-05-12",
|
|
688
|
+
"ext-texture-norm16": "2026-10-27",
|
|
688
689
|
"fetch-priority": "2024-10-29",
|
|
689
690
|
"field-sizing": "2026-06-16",
|
|
690
691
|
"float16array": "2025-04-04",
|
|
@@ -737,7 +738,9 @@
|
|
|
737
738
|
"ruby-align": "2024-12-11",
|
|
738
739
|
"ruby-position": "2024-12-11",
|
|
739
740
|
"scope": "2026-03-24",
|
|
741
|
+
"scoped-custom-element-registries": "2026-10-27",
|
|
740
742
|
"screen-wake-lock": "2025-03-31",
|
|
743
|
+
"scroll-driven-animations": "2026-10-27",
|
|
741
744
|
"scroll-to-text-fragment": "2024-10-01",
|
|
742
745
|
"scrollbar-color": "2025-12-12",
|
|
743
746
|
"scrollbar-gutter": "2024-12-11",
|
|
@@ -885,7 +888,9 @@
|
|
|
885
888
|
"display-contents",
|
|
886
889
|
"display-mode",
|
|
887
890
|
"display-ruby",
|
|
891
|
+
"display-state",
|
|
888
892
|
"document-colors",
|
|
893
|
+
"document-isolation-policy",
|
|
889
894
|
"document-modelcontext",
|
|
890
895
|
"document-picture-in-picture",
|
|
891
896
|
"document-write",
|
|
@@ -902,7 +907,6 @@
|
|
|
902
907
|
"ext-float-blend",
|
|
903
908
|
"ext-frag-depth",
|
|
904
909
|
"ext-texture-compression-bptc",
|
|
905
|
-
"ext-texture-norm16",
|
|
906
910
|
"external",
|
|
907
911
|
"eyedropper",
|
|
908
912
|
"fast-seek",
|
|
@@ -996,6 +1000,7 @@
|
|
|
996
1000
|
"link-parameters",
|
|
997
1001
|
"link-rel-expect",
|
|
998
1002
|
"link-rel-prefetch",
|
|
1003
|
+
"link-to",
|
|
999
1004
|
"loading-lazy-media",
|
|
1000
1005
|
"local-fonts",
|
|
1001
1006
|
"local-network-access",
|
|
@@ -1021,6 +1026,7 @@
|
|
|
1021
1026
|
"move-before",
|
|
1022
1027
|
"mutation-events",
|
|
1023
1028
|
"navigation-precommit-handlers",
|
|
1029
|
+
"navigation-source",
|
|
1024
1030
|
"navigation-timing-confidence",
|
|
1025
1031
|
"navigator-install",
|
|
1026
1032
|
"network-information",
|
|
@@ -1029,6 +1035,7 @@
|
|
|
1029
1035
|
"numeric-factory-functions",
|
|
1030
1036
|
"object-view-box",
|
|
1031
1037
|
"observable",
|
|
1038
|
+
"offline-audio-context-incremental-rendering",
|
|
1032
1039
|
"opaquerange",
|
|
1033
1040
|
"orientation-sensor",
|
|
1034
1041
|
"origin",
|
|
@@ -1083,6 +1090,7 @@
|
|
|
1083
1090
|
"reporting-interventions",
|
|
1084
1091
|
"reporting-permissions-policy-violations",
|
|
1085
1092
|
"requestidlecallback",
|
|
1093
|
+
"resizable",
|
|
1086
1094
|
"resize",
|
|
1087
1095
|
"retriable-module-loading",
|
|
1088
1096
|
"rhythmic-sizing",
|
|
@@ -1090,18 +1098,17 @@
|
|
|
1090
1098
|
"sanitizer",
|
|
1091
1099
|
"savedata",
|
|
1092
1100
|
"scheduler",
|
|
1093
|
-
"scoped-custom-element-registries",
|
|
1094
1101
|
"screen-capture",
|
|
1095
1102
|
"screen-orientation-lock",
|
|
1096
1103
|
"scroll-axis-lock",
|
|
1097
1104
|
"scroll-buttons",
|
|
1098
|
-
"scroll-driven-animations",
|
|
1099
1105
|
"scroll-initial-target",
|
|
1100
1106
|
"scroll-into-view-container",
|
|
1101
1107
|
"scroll-marker-targets",
|
|
1102
1108
|
"scroll-markers",
|
|
1103
1109
|
"scroll-promises",
|
|
1104
1110
|
"scroll-snap-events",
|
|
1111
|
+
"scroll-snap-type-pair",
|
|
1105
1112
|
"scroll-target-group",
|
|
1106
1113
|
"scroll-triggered-animations",
|
|
1107
1114
|
"secure-payment-confirmation",
|
|
@@ -1109,6 +1116,7 @@
|
|
|
1109
1116
|
"serial",
|
|
1110
1117
|
"serializable-errors",
|
|
1111
1118
|
"service-workers-static-routes",
|
|
1119
|
+
"shapes-polygon-round",
|
|
1112
1120
|
"share",
|
|
1113
1121
|
"shared-storage",
|
|
1114
1122
|
"shared-storage-locks",
|
|
@@ -1217,6 +1225,7 @@
|
|
|
1217
1225
|
"window-controls-overlay",
|
|
1218
1226
|
"window-drag",
|
|
1219
1227
|
"window-management",
|
|
1228
|
+
"window-management-resizing",
|
|
1220
1229
|
"with",
|
|
1221
1230
|
"word-break-auto-phrase",
|
|
1222
1231
|
"word-break-break-word",
|
|
@@ -16,14 +16,12 @@ export namespace UIStrings {
|
|
|
16
16
|
let DocumentCreateEventTransitionEvent: string;
|
|
17
17
|
let ExampleBrowserProcessDeprecation: string;
|
|
18
18
|
let FencedFrame: string;
|
|
19
|
-
let Fledge: string;
|
|
20
19
|
let GeolocationInsecureOrigin: string;
|
|
21
20
|
let GeolocationInsecureOriginDeprecatedNotRemoved: string;
|
|
22
21
|
let GetUserMediaInsecureOrigin: string;
|
|
23
22
|
let HostCandidateAttributeGetter: string;
|
|
24
23
|
let IdentityInCanMakePaymentEvent: string;
|
|
25
24
|
let InsecurePrivateNetworkSubresourceRequest: string;
|
|
26
|
-
let InterestGroupDailyUpdateUrl: string;
|
|
27
25
|
let IntlV8BreakIterator: string;
|
|
28
26
|
let LanguageModel_InputQuota: string;
|
|
29
27
|
let LanguageModel_InputUsage: string;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
// auto-generated by build/build-cdt-strings.js
|
|
2
|
+
// chromium commit: 26fd5b50588a0c10c6611b21493af9c30646cd93
|
|
2
3
|
/* eslint-disable */
|
|
3
|
-
// Copyright 2026 The Chromium Authors
|
|
4
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
5
|
-
// found in the LICENSE file.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
4
|
|
|
10
5
|
export const UIStrings = {
|
|
11
6
|
/**
|
|
@@ -76,10 +71,6 @@ export const UIStrings = {
|
|
|
76
71
|
* @description Warning displayed to developers that they are using the Fenced Frame API which has been deprecated and is scheduled to be removed.
|
|
77
72
|
*/
|
|
78
73
|
FencedFrame: "Fenced Frame API is deprecated and scheduled for removal.",
|
|
79
|
-
/**
|
|
80
|
-
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when one of the Protected Audience APIs like `navigator.joinAdInterestGroup`, `navigator.getInterestGroupAdAuctionData` or `navigator.runAdAuction` are called.
|
|
81
|
-
*/
|
|
82
|
-
Fledge: "The Protected Audience API is deprecated and will be removed in a future release.",
|
|
83
74
|
/**
|
|
84
75
|
* @description Warning displayed to developers when the Geolocation API is used from an insecure origin (one that isn't localhost or doesn't use HTTPS) to notify them that this use is no longer supported.
|
|
85
76
|
*/
|
|
@@ -104,10 +95,6 @@ export const UIStrings = {
|
|
|
104
95
|
* @description This warning occurs when an insecure context (e.g., HTTP) requests a private resource (not on open internet). This is done to mitigate the potential for CSRF and other attacks.
|
|
105
96
|
*/
|
|
106
97
|
InsecurePrivateNetworkSubresourceRequest: "The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them.",
|
|
107
|
-
/**
|
|
108
|
-
* @description This is a deprecated warning to developers that a field in a structure has been renamed.
|
|
109
|
-
*/
|
|
110
|
-
InterestGroupDailyUpdateUrl: "The `dailyUpdateUrl` field of `InterestGroups` passed to `joinAdInterestGroup()` has been renamed to `updateUrl`, to more accurately reflect its behavior.",
|
|
111
98
|
/**
|
|
112
99
|
* @description Warning displayed to developers that instead of calling the `Intl.v8BreakIterator` constructor, which is not a standard JavaScript API, use ECMA402 standard API Intl.Segmenter shipped in end of 2020 instead.
|
|
113
100
|
*/
|
|
@@ -306,10 +293,6 @@ export const UIStrings = {
|
|
|
306
293
|
XSLT: "XSLTProcessor and XSLT Processing Instructions have been deprecated by all browsers. These features will be removed from this browser soon.",
|
|
307
294
|
};
|
|
308
295
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
296
|
export const DEPRECATIONS_METADATA = {
|
|
314
297
|
"AttributionReporting": {
|
|
315
298
|
"chromeStatusFeature": 6320639375966208
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lighthouse",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.6.0-dev.
|
|
4
|
+
"version": "13.6.0-dev.20261118",
|
|
5
5
|
"description": "Automated auditing, performance metrics, and best practices for the web.",
|
|
6
6
|
"main": "./core/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"acorn": "^8.19.0",
|
|
121
121
|
"ajv": "^8.20.0",
|
|
122
122
|
"ajv-formats": "^3.0.1",
|
|
123
|
-
"chrome-devtools-frontend": "1.0.
|
|
123
|
+
"chrome-devtools-frontend": "1.0.1745108",
|
|
124
124
|
"concurrently": "^10.0.6",
|
|
125
125
|
"conventional-changelog": "^8.1.3",
|
|
126
126
|
"core-js-compat": "^3.51.0",
|
|
@@ -141,40 +141,40 @@
|
|
|
141
141
|
"mocha": "^12.0.3",
|
|
142
142
|
"preact": "^10.29.8",
|
|
143
143
|
"pretty-json-stringify": "^0.0.2",
|
|
144
|
-
"puppeteer": "^25.
|
|
144
|
+
"puppeteer": "^25.18.1",
|
|
145
145
|
"terser": "^5.51.2",
|
|
146
146
|
"testdouble": "^4.0.0",
|
|
147
147
|
"tsx": "^4.23.15",
|
|
148
148
|
"typed-query-selector": "^2.12.3",
|
|
149
149
|
"typescript": "6.0.3",
|
|
150
150
|
"typescript-eslint": "^8.60.1",
|
|
151
|
-
"web-features": "^3.
|
|
151
|
+
"web-features": "^3.46.0",
|
|
152
152
|
"webtreemap-cdt": "^3.2.1"
|
|
153
153
|
},
|
|
154
154
|
"dependencies": {
|
|
155
|
-
"@paulirish/trace_engine": "0.0.
|
|
156
|
-
"axe-core": "4.14.
|
|
155
|
+
"@paulirish/trace_engine": "0.0.69",
|
|
156
|
+
"axe-core": "4.14.1",
|
|
157
157
|
"chrome-launcher": "^1.2.3",
|
|
158
|
-
"configstore": "
|
|
158
|
+
"configstore": "8.0.0",
|
|
159
159
|
"csp_evaluator": "1.1.8",
|
|
160
|
-
"debug": "
|
|
161
|
-
"devtools-protocol": "0.0.
|
|
162
|
-
"enquirer": "
|
|
163
|
-
"http-link-header": "
|
|
160
|
+
"debug": "4.4.3",
|
|
161
|
+
"devtools-protocol": "0.0.1746437",
|
|
162
|
+
"enquirer": "2.4.1",
|
|
163
|
+
"http-link-header": "1.1.4",
|
|
164
164
|
"intl-messageformat": "^12.1.5",
|
|
165
|
-
"js-library-detector": "
|
|
165
|
+
"js-library-detector": "6.7.0",
|
|
166
166
|
"lighthouse-stack-packs": "1.12.3",
|
|
167
|
-
"puppeteer-core": "^25.
|
|
168
|
-
"robots-parser": "
|
|
169
|
-
"speedline-core": "
|
|
167
|
+
"puppeteer-core": "^25.18.1",
|
|
168
|
+
"robots-parser": "3.0.1",
|
|
169
|
+
"speedline-core": "1.4.3",
|
|
170
170
|
"third-party-web": "^0.30.0",
|
|
171
|
-
"tldts-icann": "^7.4
|
|
171
|
+
"tldts-icann": "^7.5.4",
|
|
172
172
|
"yargs": "^18.2.0",
|
|
173
|
-
"yargs-parser": "
|
|
173
|
+
"yargs-parser": "22.0.0"
|
|
174
174
|
},
|
|
175
175
|
"resolutions": {
|
|
176
|
-
"puppeteer/**/devtools-protocol": "0.0.
|
|
177
|
-
"puppeteer-core/**/devtools-protocol": "0.0.
|
|
176
|
+
"puppeteer/**/devtools-protocol": "0.0.1746437",
|
|
177
|
+
"puppeteer-core/**/devtools-protocol": "0.0.1746437"
|
|
178
178
|
},
|
|
179
179
|
"repository": {
|
|
180
180
|
"type": "git",
|
|
@@ -2258,6 +2258,9 @@
|
|
|
2258
2258
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
2259
2259
|
"message": "يجب أن تستخدم الإضافات ميزة حظر الوصول من نطاقات أخرى لمواصلة استخدام الكائن SharedArrayBuffer. يُرجى الاطّلاع على https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/."
|
|
2260
2260
|
},
|
|
2261
|
+
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | ViewTransitionPreventSvgFilterPaint": {
|
|
2262
|
+
"message": "لا يمكن تطبيق فلاتر الرسومات الموجّهة التي يمكن تغيير حجمها (SVG) على محتوى انتقال العرض، مثل ::view-transition-old() و::view-transition-new()، لأنّه قد يتضمّن إطارات iframe أو مكوّنات إضافية متعدّدة المصادر."
|
|
2263
|
+
},
|
|
2261
2264
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | WebBluetoothRemoteCharacteristicWriteValue": {
|
|
2262
2265
|
"message": "تم إيقاف \"BluetoothRemoteGATTCharacteristic.writeValue()\" نهائيًا. يُرجى استخدام \"writeValueWithResponse()\" أو \"writeValueWithoutResponse()\" بدلاً من ذلك."
|
|
2263
2266
|
},
|
|
@@ -2258,6 +2258,9 @@
|
|
|
2258
2258
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
2259
2259
|
"message": "يجب أن تستخدم الإضافات ميزة حظر الوصول من نطاقات أخرى لمواصلة استخدام الكائن SharedArrayBuffer. يُرجى الاطّلاع على https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/."
|
|
2260
2260
|
},
|
|
2261
|
+
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | ViewTransitionPreventSvgFilterPaint": {
|
|
2262
|
+
"message": "لا يمكن تطبيق فلاتر الرسومات الموجّهة التي يمكن تغيير حجمها (SVG) على محتوى انتقال العرض، مثل ::view-transition-old() و::view-transition-new()، لأنّه قد يتضمّن إطارات iframe أو مكوّنات إضافية متعدّدة المصادر."
|
|
2263
|
+
},
|
|
2261
2264
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | WebBluetoothRemoteCharacteristicWriteValue": {
|
|
2262
2265
|
"message": "تم إيقاف \"BluetoothRemoteGATTCharacteristic.writeValue()\" نهائيًا. يُرجى استخدام \"writeValueWithResponse()\" أو \"writeValueWithoutResponse()\" بدلاً من ذلك."
|
|
2263
2266
|
},
|
|
@@ -2258,6 +2258,9 @@
|
|
|
2258
2258
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
2259
2259
|
"message": "Разширенията трябва да се включат в изолирането от външни източници, за да продължат да използват SharedArrayBuffer. Вижте https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/."
|
|
2260
2260
|
},
|
|
2261
|
+
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | ViewTransitionPreventSvgFilterPaint": {
|
|
2262
|
+
"message": "Филтрите за SVG не могат да се прилагат към съдържание за преход между изгледи, като например ::view-transition-old() и ::view-transition-new(), тъй като то може да включва вложени рамки или приставки от различни източници."
|
|
2263
|
+
},
|
|
2261
2264
|
"node_modules/@paulirish/trace_engine/generated/Deprecation.js | WebBluetoothRemoteCharacteristicWriteValue": {
|
|
2262
2265
|
"message": "Методът BluetoothRemoteGATTCharacteristic.writeValue() е оттеглен. Вместо него използвайте writeValueWithResponse() или writeValueWithoutResponse()."
|
|
2263
2266
|
},
|