chrome-devtools-frontend 1.0.1376716 → 1.0.1386602
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/.stylelintrc.json +2 -1
- package/config/gni/devtools_grd_files.gni +40 -11
- package/config/gni/devtools_image_files.gni +4 -0
- package/docs/README.md +4 -0
- package/docs/contributing/issues.md +13 -10
- package/docs/get_the_code.md +4 -1
- package/docs/policy/README.md +6 -0
- package/docs/policy/slow-close.md +52 -0
- package/docs/styleguide/ux/README.md +1 -0
- package/docs/styleguide/ux/numbers.md +106 -0
- package/front_end/Images/src/animation.svg +3 -0
- package/front_end/Images/src/brush-2.svg +3 -0
- package/front_end/Images/src/cookie_off.svg +3 -0
- package/front_end/Images/src/domain.svg +3 -0
- package/front_end/core/common/Color.ts +3 -3
- package/front_end/core/common/SettingRegistration.ts +8 -1
- package/front_end/core/host/AidaClient.ts +4 -3
- package/front_end/core/host/InspectorFrontendHost.ts +4 -0
- package/front_end/core/host/InspectorFrontendHostAPI.ts +0 -1
- package/front_end/core/host/UserMetrics.ts +0 -8
- package/front_end/core/i18n/ByteUtilities.test.ts +34 -0
- package/front_end/core/i18n/ByteUtilities.ts +65 -0
- package/front_end/core/i18n/NumberFormatter.ts +75 -0
- package/front_end/core/i18n/i18n.ts +4 -0
- package/front_end/core/i18n/locales/af.json +1031 -887
- package/front_end/core/i18n/locales/am.json +1036 -892
- package/front_end/core/i18n/locales/ar.json +1039 -895
- package/front_end/core/i18n/locales/as.json +1032 -888
- package/front_end/core/i18n/locales/az.json +1034 -890
- package/front_end/core/i18n/locales/be.json +1031 -887
- package/front_end/core/i18n/locales/bg.json +1031 -887
- package/front_end/core/i18n/locales/bn.json +1033 -889
- package/front_end/core/i18n/locales/bs.json +1036 -892
- package/front_end/core/i18n/locales/ca.json +1031 -887
- package/front_end/core/i18n/locales/cs.json +1030 -886
- package/front_end/core/i18n/locales/cy.json +1032 -888
- package/front_end/core/i18n/locales/da.json +1031 -887
- package/front_end/core/i18n/locales/de.json +1033 -889
- package/front_end/core/i18n/locales/el.json +1031 -887
- package/front_end/core/i18n/locales/en-GB.json +1033 -889
- package/front_end/core/i18n/locales/es-419.json +1029 -885
- package/front_end/core/i18n/locales/es.json +1032 -888
- package/front_end/core/i18n/locales/et.json +1033 -889
- package/front_end/core/i18n/locales/eu.json +1031 -887
- package/front_end/core/i18n/locales/fa.json +1035 -891
- package/front_end/core/i18n/locales/fi.json +1035 -891
- package/front_end/core/i18n/locales/fil.json +1034 -890
- package/front_end/core/i18n/locales/fr-CA.json +1031 -887
- package/front_end/core/i18n/locales/fr.json +1049 -905
- package/front_end/core/i18n/locales/gl.json +1032 -888
- package/front_end/core/i18n/locales/gu.json +1035 -891
- package/front_end/core/i18n/locales/he.json +1031 -887
- package/front_end/core/i18n/locales/hi.json +1034 -890
- package/front_end/core/i18n/locales/hr.json +1031 -887
- package/front_end/core/i18n/locales/hu.json +1033 -889
- package/front_end/core/i18n/locales/hy.json +1046 -902
- package/front_end/core/i18n/locales/id.json +1023 -879
- package/front_end/core/i18n/locales/is.json +1032 -888
- package/front_end/core/i18n/locales/it.json +1031 -887
- package/front_end/core/i18n/locales/ja.json +1042 -898
- package/front_end/core/i18n/locales/ka.json +1034 -890
- package/front_end/core/i18n/locales/kk.json +1035 -891
- package/front_end/core/i18n/locales/km.json +1035 -891
- package/front_end/core/i18n/locales/kn.json +1036 -892
- package/front_end/core/i18n/locales/ko.json +1031 -887
- package/front_end/core/i18n/locales/ky.json +1032 -888
- package/front_end/core/i18n/locales/lo.json +1030 -886
- package/front_end/core/i18n/locales/lt.json +1032 -888
- package/front_end/core/i18n/locales/lv.json +1032 -888
- package/front_end/core/i18n/locales/mk.json +1032 -888
- package/front_end/core/i18n/locales/ml.json +1033 -889
- package/front_end/core/i18n/locales/mn.json +1034 -890
- package/front_end/core/i18n/locales/mr.json +1035 -891
- package/front_end/core/i18n/locales/ms.json +1033 -889
- package/front_end/core/i18n/locales/my.json +1033 -889
- package/front_end/core/i18n/locales/ne.json +1036 -892
- package/front_end/core/i18n/locales/nl.json +1033 -889
- package/front_end/core/i18n/locales/no.json +1036 -892
- package/front_end/core/i18n/locales/or.json +1043 -899
- package/front_end/core/i18n/locales/pa.json +1030 -886
- package/front_end/core/i18n/locales/pl.json +1032 -888
- package/front_end/core/i18n/locales/pt-PT.json +1033 -889
- package/front_end/core/i18n/locales/pt.json +1033 -889
- package/front_end/core/i18n/locales/ro.json +1029 -885
- package/front_end/core/i18n/locales/ru.json +1026 -882
- package/front_end/core/i18n/locales/si.json +1031 -887
- package/front_end/core/i18n/locales/sk.json +1033 -889
- package/front_end/core/i18n/locales/sl.json +1031 -887
- package/front_end/core/i18n/locales/sq.json +1061 -917
- package/front_end/core/i18n/locales/sr-Latn.json +1033 -889
- package/front_end/core/i18n/locales/sr.json +1033 -889
- package/front_end/core/i18n/locales/sv.json +1031 -887
- package/front_end/core/i18n/locales/sw.json +1033 -889
- package/front_end/core/i18n/locales/ta.json +1058 -914
- package/front_end/core/i18n/locales/te.json +1037 -893
- package/front_end/core/i18n/locales/th.json +1032 -888
- package/front_end/core/i18n/locales/tr.json +1031 -887
- package/front_end/core/i18n/locales/uk.json +1030 -886
- package/front_end/core/i18n/locales/ur.json +1031 -887
- package/front_end/core/i18n/locales/uz.json +1023 -879
- package/front_end/core/i18n/locales/vi.json +1032 -888
- package/front_end/core/i18n/locales/zh-HK.json +1032 -888
- package/front_end/core/i18n/locales/zh-TW.json +1032 -888
- package/front_end/core/i18n/locales/zh.json +1033 -889
- package/front_end/core/i18n/locales/zu.json +1032 -888
- package/front_end/core/i18n/time-utilities.test.ts +20 -2
- package/front_end/core/i18n/time-utilities.ts +125 -86
- package/front_end/core/platform/NumberUtilities.test.ts +3 -26
- package/front_end/core/platform/NumberUtilities.ts +0 -20
- package/front_end/core/root/Runtime.ts +6 -4
- package/front_end/core/sdk/CPUThrottlingManager.ts +4 -0
- package/front_end/core/sdk/CSSContainerQuery.test.ts +10 -16
- package/front_end/core/sdk/CSSContainerQuery.ts +3 -15
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +4 -0
- package/front_end/core/sdk/CSSMatchedStyles.ts +5 -5
- package/front_end/core/sdk/CSSModel.ts +18 -0
- package/front_end/core/sdk/CSSPropertyParser.test.ts +16 -1
- package/front_end/core/sdk/CSSPropertyParser.ts +2 -2
- package/front_end/core/sdk/NetworkManager.test.ts +50 -0
- package/front_end/core/sdk/NetworkManager.ts +6 -4
- package/front_end/core/sdk/SourceMap.test.ts +5 -5
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +7 -2
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
- package/front_end/core/sdk/SourceMapScopes.test.ts +112 -45
- package/front_end/core/sdk/SourceMapScopes.ts +39 -14
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +51 -50
- package/front_end/core/sdk/SourceMapScopesInfo.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +35 -0
- package/front_end/devtools_compatibility.js +0 -1
- package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -0
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +3 -3
- package/front_end/entrypoints/inspector_main/renderingOptions.css +1 -1
- package/front_end/entrypoints/main/ExecutionContextSelector.test.ts +13 -3
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +23 -1
- package/front_end/entrypoints/main/MainImpl.ts +0 -5
- package/front_end/generated/ARIAProperties.js +4 -0
- package/front_end/generated/Deprecation.ts +0 -15
- package/front_end/generated/InspectorBackendCommands.js +9 -7
- package/front_end/generated/SupportedCSSProperties.js +14 -41
- package/front_end/generated/protocol-mapping.d.ts +15 -1
- package/front_end/generated/protocol-proxy-api.d.ts +14 -1
- package/front_end/generated/protocol.ts +27 -2
- package/front_end/models/bindings/IgnoreListManager.ts +25 -2
- package/front_end/models/crux-manager/CrUXManager.test.ts +25 -6
- package/front_end/models/crux-manager/CrUXManager.ts +23 -4
- package/front_end/models/extensions/ExtensionAPI.ts +9 -1
- package/front_end/models/extensions/ExtensionServer.test.ts +14 -0
- package/front_end/models/extensions/ExtensionServer.ts +28 -15
- package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +2 -0
- package/front_end/models/issues_manager/CookieIssue.ts +79 -2
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/front_end/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +22 -25
- package/front_end/models/live-metrics/web-vitals-injected/{rollup.config.js → rollup.config.mjs} +1 -1
- package/front_end/models/persistence/EditFileSystemView.ts +20 -10
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +50 -54
- package/front_end/models/persistence/editFileSystemView.css +38 -15
- package/front_end/models/persistence/workspaceSettingsTab.css +21 -87
- package/front_end/models/timeline_model/timeline_model.ts +0 -6
- package/front_end/models/trace/Processor.test.ts +18 -17
- package/front_end/models/trace/Processor.ts +10 -14
- package/front_end/models/trace/README.md +0 -1
- package/front_end/models/trace/extras/Metadata.test.ts +35 -2
- package/front_end/models/trace/extras/Metadata.ts +24 -5
- package/front_end/models/{timeline_model → trace/extras}/TimelineJSProfile.ts +19 -29
- package/front_end/models/{timeline_model/TimelineModelFilter.test.ts → trace/extras/TraceFilter.test.ts} +15 -17
- package/front_end/models/trace/extras/TraceFilter.ts +62 -0
- package/front_end/models/{timeline_model/TimelineProfileTree.test.ts → trace/extras/TraceTree.test.ts} +44 -43
- package/front_end/models/{timeline_model/TimelineProfileTree.ts → trace/extras/TraceTree.ts} +86 -70
- package/front_end/models/trace/extras/URLForEntry.ts +6 -5
- package/front_end/models/trace/extras/extras.ts +3 -0
- package/front_end/models/trace/handlers/AnimationHandler.ts +0 -8
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +1 -11
- package/front_end/models/trace/handlers/FramesHandler.test.ts +1 -6
- package/front_end/models/trace/handlers/FramesHandler.ts +1 -14
- package/front_end/models/trace/handlers/GPUHandler.test.ts +0 -2
- package/front_end/models/trace/handlers/GPUHandler.ts +1 -25
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +15 -0
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +0 -20
- package/front_end/models/trace/handlers/InvalidationsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/InvalidationsHandler.ts +0 -18
- package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +2 -2
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +63 -3
- package/front_end/models/trace/handlers/LargestTextPaintHandler.ts +3 -0
- package/front_end/models/trace/handlers/LayerTreeHandler.test.ts +0 -2
- package/front_end/models/trace/handlers/LayerTreeHandler.ts +1 -18
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +0 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +1 -20
- package/front_end/models/trace/handlers/MemoryHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/MemoryHandler.ts +3 -0
- package/front_end/models/trace/handlers/MetaHandler.test.ts +1 -32
- package/front_end/models/trace/handlers/MetaHandler.ts +2 -30
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +0 -26
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +4 -23
- package/front_end/models/trace/handlers/PageFramesHandler.ts +3 -0
- package/front_end/models/trace/handlers/RendererHandler.test.ts +0 -4
- package/front_end/models/trace/handlers/RendererHandler.ts +1 -24
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +0 -5
- package/front_end/models/trace/handlers/SamplesHandler.ts +0 -26
- package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/SelectorStatsHandler.ts +3 -0
- package/front_end/models/trace/handlers/ServerTimingsHandler.ts +1 -16
- package/front_end/models/trace/handlers/Threads.test.ts +1 -2
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +4 -27
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +16 -25
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +0 -17
- package/front_end/models/trace/handlers/WorkersHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/WorkersHandler.ts +0 -23
- package/front_end/models/trace/handlers/types.ts +1 -8
- package/front_end/models/trace/helpers/Timing.ts +8 -0
- package/front_end/models/trace/insights/{CumulativeLayoutShift.test.ts → CLSCulprits.test.ts} +21 -21
- package/front_end/models/trace/insights/{CumulativeLayoutShift.ts → CLSCulprits.ts} +32 -5
- package/front_end/models/trace/insights/Common.ts +5 -55
- package/front_end/models/trace/insights/DocumentLatency.test.ts +2 -2
- package/front_end/models/trace/insights/DocumentLatency.ts +39 -6
- package/front_end/models/trace/insights/FontDisplay.ts +31 -5
- package/front_end/models/trace/insights/ImageDelivery.test.ts +98 -0
- package/front_end/models/trace/insights/ImageDelivery.ts +183 -0
- package/front_end/models/trace/insights/InteractionToNextPaint.test.ts +1 -1
- package/front_end/models/trace/insights/InteractionToNextPaint.ts +32 -6
- package/front_end/models/trace/insights/LCPDiscovery.test.ts +58 -0
- package/front_end/models/trace/insights/LCPDiscovery.ts +122 -0
- package/front_end/models/trace/insights/{LargestContentfulPaint.test.ts → LCPPhases.test.ts} +6 -28
- package/front_end/models/trace/insights/{LargestContentfulPaint.ts → LCPPhases.ts} +59 -38
- package/front_end/models/trace/insights/{InsightRunners.ts → Models.ts} +5 -3
- package/front_end/models/trace/insights/RenderBlocking.test.ts +1 -1
- package/front_end/models/trace/insights/RenderBlocking.ts +41 -28
- package/front_end/models/trace/insights/SlowCSSSelector.ts +33 -5
- package/front_end/models/trace/insights/{ThirdPartyWeb.test.ts → ThirdParties.test.ts} +3 -3
- package/front_end/models/trace/insights/{ThirdPartyWeb.ts → ThirdParties.ts} +32 -5
- package/front_end/models/trace/insights/Viewport.test.ts +1 -1
- package/front_end/models/trace/insights/Viewport.ts +40 -9
- package/front_end/models/trace/insights/insights.ts +1 -1
- package/front_end/models/trace/insights/types.ts +22 -9
- package/front_end/models/trace/types/File.ts +7 -0
- package/front_end/models/trace/types/TraceEvents.ts +60 -24
- package/front_end/panels/animation/AnimationTimeline.ts +2 -4
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +0 -5
- package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -21
- package/front_end/panels/application/IndexedDBViews.ts +4 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +4 -1
- package/front_end/panels/application/SharedStorageItemsView.test.ts +3 -3
- package/front_end/panels/application/SharedStorageItemsView.ts +5 -3
- package/front_end/panels/application/StorageView.test.ts +1 -1
- package/front_end/panels/application/StorageView.ts +3 -3
- package/front_end/panels/application/components/StorageMetadataView.ts +1 -2
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +35 -32
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/console/ConsoleViewMessage.test.ts +25 -0
- package/front_end/panels/console/ConsoleViewMessage.ts +23 -0
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/coverage/CoverageView.ts +3 -3
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +1 -1
- package/front_end/panels/elements/ComputedStyleModel.ts +9 -2
- package/front_end/panels/elements/ComputedStyleWidget.test.ts +72 -0
- package/front_end/panels/elements/ComputedStyleWidget.ts +12 -0
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +85 -30
- package/front_end/panels/elements/ElementStatePaneWidget.ts +49 -26
- package/front_end/panels/elements/ElementsSidebarPane.ts +3 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +25 -11
- package/front_end/panels/elements/LayersWidget.ts +1 -1
- package/front_end/panels/elements/MetricsSidebarPane.ts +12 -7
- package/front_end/panels/elements/PropertyMatchers.test.ts +7 -0
- package/front_end/panels/elements/PropertyMatchers.ts +6 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +15 -6
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +3 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -3
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +2 -2
- package/front_end/panels/emulation/DeviceModeView.ts +1 -1
- package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/explain/components/ConsoleInsight.ts +8 -18
- package/front_end/panels/freestyler/AiAgent.test.ts +376 -50
- package/front_end/panels/freestyler/AiAgent.ts +251 -144
- package/front_end/panels/freestyler/AiHistoryStorage.test.ts +159 -0
- package/front_end/panels/freestyler/AiHistoryStorage.ts +73 -0
- package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +113 -38
- package/front_end/panels/freestyler/DrJonesFileAgent.ts +56 -34
- package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +29 -20
- package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +39 -18
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +44 -42
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +51 -22
- package/front_end/panels/freestyler/FreestylerAgent.test.ts +210 -28
- package/front_end/panels/freestyler/FreestylerAgent.ts +65 -26
- package/front_end/panels/freestyler/FreestylerPanel.test.ts +610 -39
- package/front_end/panels/freestyler/FreestylerPanel.ts +414 -255
- package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +126 -34
- package/front_end/panels/freestyler/components/FreestylerChatUi.ts +431 -280
- package/front_end/panels/freestyler/components/UserActionRow.ts +157 -47
- package/front_end/panels/freestyler/components/freestylerChatUi.css +90 -35
- package/front_end/panels/freestyler/components/userActionRow.css +41 -67
- package/front_end/panels/freestyler/freestyler-meta.ts +3 -11
- package/front_end/panels/freestyler/freestyler.ts +1 -0
- package/front_end/panels/issues/IssueAggregator.test.ts +50 -0
- package/front_end/panels/issues/IssueAggregator.ts +10 -10
- package/front_end/panels/issues/components/HideIssuesMenu.ts +2 -11
- package/front_end/panels/issues/issuesTree.css +1 -1
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +2 -3
- package/front_end/panels/layer_viewer/Layers3DView.ts +1 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -6
- package/front_end/panels/layers/LayersPanel.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +46 -0
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +26 -17
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +25 -19
- package/front_end/panels/network/BinaryResourceView.ts +6 -7
- package/front_end/panels/network/BlockedURLsPane.ts +1 -1
- package/front_end/panels/network/EventSourceMessagesView.ts +1 -1
- package/front_end/panels/network/NetworkDataGridNode.ts +4 -3
- package/front_end/panels/network/NetworkLogView.test.ts +1 -1
- package/front_end/panels/network/NetworkLogView.ts +7 -8
- package/front_end/panels/network/NetworkPanel.ts +40 -32
- package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -1
- package/front_end/panels/network/RequestTimingView.test.ts +35 -1
- package/front_end/panels/network/RequestTimingView.ts +96 -0
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -2
- package/front_end/panels/network/networkTimingTable.css +2 -1
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
- package/front_end/panels/profiler/HeapProfileView.ts +10 -10
- package/front_end/panels/profiler/HeapSnapshotView.ts +2 -2
- package/front_end/panels/profiler/HeapTimelineOverview.ts +13 -13
- package/front_end/panels/profiler/IsolateSelector.ts +4 -5
- package/front_end/panels/profiler/LiveHeapProfileView.ts +3 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +4 -4
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +7 -6
- package/front_end/panels/profiler/ProfileView.ts +3 -3
- package/front_end/panels/profiler/profileLauncherView.css +1 -1
- package/front_end/panels/profiler/profilesSidebarTree.css +1 -1
- package/front_end/panels/recorder/components/RecordingView.ts +2 -2
- package/front_end/panels/recorder/injected/{rollup.config.js → rollup.config.mjs} +1 -1
- package/front_end/panels/recorder/recorderController.css +1 -5
- package/front_end/panels/security/CookieControlsTreeElement.ts +18 -0
- package/front_end/panels/security/CookieControlsView.test.ts +29 -0
- package/front_end/panels/security/CookieControlsView.ts +265 -0
- package/front_end/panels/security/CookieReportTreeElement.ts +1 -9
- package/front_end/panels/security/CookieReportView.test.ts +157 -0
- package/front_end/panels/security/CookieReportView.ts +316 -0
- package/front_end/panels/security/SecurityPanel.ts +12 -4
- package/front_end/panels/security/SecurityPanelSidebar.ts +6 -1
- package/front_end/panels/security/cookieControlsView.css +101 -0
- package/front_end/panels/security/cookieReportView.css +69 -0
- package/front_end/panels/security/security.ts +4 -0
- package/front_end/panels/security/sidebar.css +2 -3
- package/front_end/panels/sensors/LocationsSettingsTab.ts +26 -11
- package/front_end/panels/sensors/locationsSettingsTab.css +18 -18
- package/front_end/panels/settings/AISettingsTab.ts +6 -15
- package/front_end/panels/settings/KeybindsSettingsTab.ts +4 -3
- package/front_end/panels/settings/SettingsScreen.ts +64 -55
- package/front_end/panels/settings/aiSettingsTab.css +3 -14
- package/front_end/panels/settings/components/SyncSection.ts +1 -2
- package/front_end/panels/settings/components/syncSection.css +0 -10
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +4 -2
- package/front_end/panels/settings/keybindsSettingsTab.css +12 -10
- package/front_end/panels/settings/settings-meta.ts +3 -1
- package/front_end/panels/settings/settingsScreen.css +37 -125
- package/front_end/panels/sources/CallStackSidebarPane.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +9 -4
- package/front_end/panels/sources/NavigatorView.ts +12 -13
- package/front_end/panels/sources/navigatorTree.css +1 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/timeline/ActiveFilters.ts +3 -4
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +2 -9
- package/front_end/panels/timeline/AppenderUtils.ts +1 -1
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +38 -41
- package/front_end/panels/timeline/CountersGraph.ts +2 -4
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +7 -8
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +4 -13
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +3 -4
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -12
- package/front_end/panels/timeline/README.md +2 -1
- package/front_end/panels/timeline/ServerTimingsTrackAppender.ts +1 -10
- package/front_end/panels/timeline/ThreadAppender.ts +9 -12
- package/front_end/panels/timeline/TimelineController.ts +14 -4
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +3 -2
- package/front_end/panels/timeline/TimelineDetailsView.ts +18 -17
- package/front_end/panels/timeline/TimelineEventOverview.ts +3 -4
- package/front_end/panels/timeline/TimelineFilters.ts +3 -4
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +58 -46
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -3
- package/front_end/panels/timeline/TimelineFlameChartView.ts +54 -26
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +20 -15
- package/front_end/panels/timeline/TimelineHistoryManager.ts +46 -58
- package/front_end/panels/timeline/TimelineLayersView.ts +1 -1
- package/front_end/panels/timeline/TimelineLoader.test.ts +1 -2
- package/front_end/panels/timeline/TimelineLoader.ts +19 -4
- package/front_end/panels/timeline/TimelineMiniMap.ts +12 -2
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +161 -32
- package/front_end/panels/timeline/TimelineTreeView.test.ts +12 -13
- package/front_end/panels/timeline/TimelineTreeView.ts +98 -54
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +2 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +56 -14
- package/front_end/panels/timeline/TimingsTrackAppender.ts +6 -13
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +1 -0
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +6 -1
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +6 -7
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +15 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +27 -44
- package/front_end/panels/timeline/components/MetricCard.test.ts +1 -1
- package/front_end/panels/timeline/components/MetricCard.ts +46 -0
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +3 -4
- package/front_end/panels/timeline/components/Sidebar.ts +1 -4
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +1 -1
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +1 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +23 -35
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +53 -41
- package/front_end/panels/timeline/components/TimelineSummary.test.ts +75 -0
- package/front_end/panels/timeline/components/TimelineSummary.ts +101 -0
- package/front_end/panels/timeline/components/Utils.test.ts +49 -0
- package/front_end/panels/timeline/components/Utils.ts +2 -2
- package/front_end/panels/timeline/components/components.ts +2 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +84 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +291 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +24 -62
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +43 -72
- package/front_end/panels/timeline/components/insights/EventRef.ts +70 -2
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +37 -61
- package/front_end/panels/timeline/components/insights/Helpers.ts +5 -212
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +142 -0
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +34 -69
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +52 -103
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +31 -92
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +38 -64
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +3 -198
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +59 -95
- package/front_end/panels/timeline/components/insights/Table.ts +6 -3
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +51 -78
- package/front_end/panels/timeline/components/insights/Viewport.ts +27 -49
- package/front_end/panels/timeline/components/insights/{sidebarInsight.css → baseInsightComponent.css} +9 -9
- package/front_end/panels/timeline/components/insights/insights.ts +4 -0
- package/front_end/panels/timeline/components/insights/types.ts +0 -7
- package/front_end/panels/timeline/components/liveMetricsView.css +10 -18
- package/front_end/panels/timeline/components/metricCard.css +11 -0
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +1 -1
- package/front_end/panels/timeline/components/timelineSummary.css +67 -0
- package/front_end/panels/timeline/docs/flame_chart_migration.md +1 -1
- package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
- package/front_end/panels/timeline/fixtures/traces/image-delivery.json.gz +0 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +5 -5
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +35 -12
- package/front_end/panels/timeline/timeline-meta.ts +1 -1
- package/front_end/panels/timeline/timelineFlameChartView.css +1 -1
- package/front_end/panels/timeline/timelineFlamechartPopover.css +14 -4
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -3
- package/front_end/panels/timeline/timelinePanel.css +0 -1
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +5 -5
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +5 -6
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +11 -2
- package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +0 -9
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +37 -44
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +44 -30
- package/front_end/panels/timeline/utils/AICallTree.test.ts +105 -0
- package/front_end/panels/timeline/utils/AICallTree.ts +25 -24
- package/front_end/panels/timeline/utils/EntryName.ts +1 -2
- package/front_end/panels/timeline/utils/Helpers.ts +19 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +52 -0
- package/front_end/panels/timeline/utils/IgnoreList.ts +68 -7
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +2 -0
- package/front_end/panels/webauthn/webauthnPane.css +1 -1
- package/front_end/panels/whats_new/ReleaseNote.test.ts +90 -0
- package/front_end/panels/whats_new/ReleaseNoteText.ts +52 -0
- package/front_end/panels/whats_new/ReleaseNoteView.ts +157 -0
- package/front_end/panels/whats_new/WhatsNewImpl.ts +102 -0
- package/front_end/panels/whats_new/releaseNoteView.css +121 -0
- package/front_end/panels/whats_new/resources/WNDT.md +6 -0
- package/front_end/panels/whats_new/resources/whatsnew.avif +0 -0
- package/front_end/panels/whats_new/whats_new-meta.ts +142 -0
- package/front_end/panels/whats_new/whats_new.ts +13 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +4 -3
- package/front_end/testing/EnvironmentHelpers.ts +6 -20
- package/front_end/testing/InsightHelpers.ts +4 -4
- package/front_end/testing/SourceMapEncoder.ts +27 -11
- package/front_end/testing/TraceHelpers.ts +3 -2
- package/front_end/testing/TraceLoader.ts +6 -2
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1380 -1369
- package/front_end/third_party/lighthouse/locales/ar-XB.json +88 -85
- package/front_end/third_party/lighthouse/locales/ar.json +98 -95
- package/front_end/third_party/lighthouse/locales/bg.json +88 -85
- package/front_end/third_party/lighthouse/locales/ca.json +91 -88
- package/front_end/third_party/lighthouse/locales/cs.json +91 -88
- package/front_end/third_party/lighthouse/locales/da.json +94 -91
- package/front_end/third_party/lighthouse/locales/de.json +92 -89
- package/front_end/third_party/lighthouse/locales/el.json +92 -89
- package/front_end/third_party/lighthouse/locales/en-GB.json +89 -86
- package/front_end/third_party/lighthouse/locales/en-US.json +23 -20
- package/front_end/third_party/lighthouse/locales/en-XA.json +88 -85
- package/front_end/third_party/lighthouse/locales/en-XL.json +23 -20
- package/front_end/third_party/lighthouse/locales/es-419.json +92 -89
- package/front_end/third_party/lighthouse/locales/es.json +91 -88
- package/front_end/third_party/lighthouse/locales/fi.json +92 -89
- package/front_end/third_party/lighthouse/locales/fil.json +93 -90
- package/front_end/third_party/lighthouse/locales/fr.json +94 -91
- package/front_end/third_party/lighthouse/locales/he.json +97 -94
- package/front_end/third_party/lighthouse/locales/hi.json +92 -89
- package/front_end/third_party/lighthouse/locales/hr.json +90 -87
- package/front_end/third_party/lighthouse/locales/hu.json +90 -87
- package/front_end/third_party/lighthouse/locales/id.json +91 -88
- package/front_end/third_party/lighthouse/locales/it.json +90 -87
- package/front_end/third_party/lighthouse/locales/ja.json +90 -87
- package/front_end/third_party/lighthouse/locales/ko.json +90 -87
- package/front_end/third_party/lighthouse/locales/lt.json +90 -87
- package/front_end/third_party/lighthouse/locales/lv.json +91 -88
- package/front_end/third_party/lighthouse/locales/nl.json +90 -87
- package/front_end/third_party/lighthouse/locales/no.json +92 -89
- package/front_end/third_party/lighthouse/locales/pl.json +90 -87
- package/front_end/third_party/lighthouse/locales/pt-PT.json +111 -108
- package/front_end/third_party/lighthouse/locales/pt.json +97 -94
- package/front_end/third_party/lighthouse/locales/ro.json +94 -91
- package/front_end/third_party/lighthouse/locales/ru.json +93 -90
- package/front_end/third_party/lighthouse/locales/sk.json +93 -90
- package/front_end/third_party/lighthouse/locales/sl.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr.json +91 -88
- package/front_end/third_party/lighthouse/locales/sv.json +92 -89
- package/front_end/third_party/lighthouse/locales/ta.json +101 -98
- package/front_end/third_party/lighthouse/locales/te.json +92 -89
- package/front_end/third_party/lighthouse/locales/th.json +95 -92
- package/front_end/third_party/lighthouse/locales/tr.json +91 -88
- package/front_end/third_party/lighthouse/locales/uk.json +93 -90
- package/front_end/third_party/lighthouse/locales/vi.json +95 -92
- package/front_end/third_party/lighthouse/locales/zh-HK.json +92 -89
- package/front_end/third_party/lighthouse/locales/zh-TW.json +98 -95
- package/front_end/third_party/lighthouse/locales/zh.json +96 -93
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +10 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +14 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js +16 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +34 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +51 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.d.ts +14 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js +57 -23
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js +13 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts +15 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js +55 -26
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts +0 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +2 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +0 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +100 -10
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +291 -143
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +10 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +14 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js +16 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +34 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +51 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.d.ts +14 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js +57 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js +13 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts +15 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js +55 -26
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts +0 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js +1 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +0 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js +15 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +100 -10
- package/front_end/third_party/puppeteer/package/package.json +5 -5
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +10 -3
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +21 -3
- package/front_end/third_party/puppeteer/package/src/api/Frame.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/api/Input.ts +57 -8
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +9 -7
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +72 -31
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +11 -3
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +14 -9
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +3 -5
- package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +71 -26
- package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +34 -17
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +1 -15
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +8 -1
- package/front_end/third_party/puppeteer/package/src/common/DownloadBehavior.ts +31 -0
- package/front_end/third_party/puppeteer/package/src/common/Errors.ts +7 -0
- package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +9 -9
- package/front_end/third_party/puppeteer/package/src/common/common.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/environment.ts +1 -4
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/incremental-id-generator.ts +20 -0
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +2 -0
- package/front_end/ui/components/buttons/Button.test.ts +14 -0
- package/front_end/ui/components/buttons/Button.ts +27 -4
- package/front_end/ui/components/cards/card.css +7 -4
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +4 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +78 -0
- package/front_end/ui/components/dialogs/ButtonDialog.ts +131 -0
- package/front_end/ui/components/dialogs/Dialog.test.ts +43 -0
- package/front_end/ui/components/dialogs/Dialog.ts +63 -3
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +15 -1
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +33 -23
- package/front_end/ui/components/dialogs/buttonDialog.css +9 -0
- package/front_end/ui/components/dialogs/dialog.css +15 -4
- package/front_end/ui/components/dialogs/dialogs.ts +2 -0
- package/front_end/ui/components/dialogs/shortcutDialog.css +58 -38
- package/front_end/ui/components/docs/dialog/button_dialog.html +28 -0
- package/front_end/ui/components/docs/dialog/button_dialog.ts +29 -0
- package/front_end/ui/components/docs/freestyler/basic.ts +6 -8
- package/front_end/ui/components/docs/freestyler/empty_state.ts +6 -8
- package/front_end/ui/components/docs/performance_panel/basic.ts +1 -1
- package/front_end/ui/components/docs/performance_panel/timeline_history_manager.ts +6 -4
- package/front_end/ui/components/docs/performance_panel/track_example.html +1 -1
- package/front_end/ui/components/floating_button/FloatingButton.ts +3 -2
- package/front_end/ui/components/icon_button/fileSourceIcon.css +7 -3
- package/front_end/ui/components/issue_counter/IssueCounter.ts +15 -2
- package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +39 -17
- package/front_end/ui/components/markdown_view/MarkdownView.ts +92 -14
- package/front_end/ui/components/markdown_view/markdownView.css +15 -0
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +24 -18
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -2
- package/front_end/ui/components/switch/SwitchImpl.ts +2 -2
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/Infobar.ts +6 -0
- package/front_end/ui/legacy/InplaceEditor.ts +18 -14
- package/front_end/ui/legacy/InspectorView.ts +40 -0
- package/front_end/ui/legacy/ListWidget.ts +4 -2
- package/front_end/ui/legacy/TabbedPane.ts +0 -14
- package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
- package/front_end/ui/legacy/Toolbar.ts +3 -3
- package/front_end/ui/legacy/UIUtils.ts +8 -13
- package/front_end/ui/legacy/Widget.ts +32 -0
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +7 -2
- package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +6 -9
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +43 -38
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +21 -12
- package/front_end/ui/legacy/components/inline_editor/LinkSwatch.test.ts +19 -0
- package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +37 -47
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +129 -100
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +4 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.test.ts +9 -4
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +23 -9
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +102 -43
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +0 -2
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +4 -4
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +49 -0
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +23 -46
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -1
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +1 -1
- package/front_end/ui/legacy/components/utils/jsUtils.css +8 -0
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/inspectorCommon.css +1 -1
- package/front_end/ui/legacy/listWidget.css +4 -1
- package/front_end/ui/legacy/reportView.css +1 -1
- package/front_end/ui/legacy/textPrompt.css +1 -1
- package/front_end/ui/legacy/toolbar.css +7 -11
- package/front_end/ui/legacy/treeoutline.css +3 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +186 -1
- package/front_end/ui/visual_logging/LoggingConfig.ts +6 -2
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +27 -1
- package/front_end/ui/visual_logging/LoggingDriver.ts +7 -4
- package/package.json +8 -8
- package/scripts/build/ninja/bundle.gni +3 -3
- package/scripts/build/{rollup.config.js → rollup.config.mjs} +4 -4
- package/scripts/build/wasm-as.py +1 -1
- package/scripts/devtools_paths.py +8 -4
- package/scripts/eslint_rules/tests/check_test_definitions_test.js +8 -3
- package/scripts/freestyler/auto_freestyler.js +12 -4
- package/scripts/freestyler/to_tsv.mjs +40 -0
- package/scripts/tools/update_goldens.py +11 -13
- package/scripts/tools/update_goldens_v2.py +1 -1
- package/front_end/models/timeline_model/TimelineModelFilter.ts +0 -61
- package/front_end/panels/timeline/components/insights/SidebarInsight.test.ts +0 -72
- package/front_end/ui/components/docs/two_states_counter/basic.html +0 -27
- package/front_end/ui/components/docs/two_states_counter/basic.ts +0 -45
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.test.ts +0 -73
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -104
- package/front_end/ui/components/two_states_counter/twoStatesCounter.css +0 -37
- package/front_end/ui/components/two_states_counter/two_states_counter.ts +0 -9
- /package/front_end/Images/{rollup.config.js → rollup.config.mjs} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"core/audits/accessibility/accesskeys.js | description": {
|
3
|
-
"message": "快速鍵可讓使用者快速聚焦網頁的特定部分。如要讓使用者正確瀏覽,每個快速鍵一律不可重複。[進一步瞭解快速鍵](https://dequeuniversity.com/rules/axe/4.
|
3
|
+
"message": "快速鍵可讓使用者快速聚焦網頁的特定部分。如要讓使用者正確瀏覽,每個快速鍵一律不可重複。[進一步瞭解快速鍵](https://dequeuniversity.com/rules/axe/4.10/accesskeys)。"
|
4
4
|
},
|
5
5
|
"core/audits/accessibility/accesskeys.js | failureTitle": {
|
6
6
|
"message": "`[accesskey]` 的值重複"
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"message": "`[accesskey]` 值獨一無二"
|
10
10
|
},
|
11
11
|
"core/audits/accessibility/aria-allowed-attr.js | description": {
|
12
|
-
"message": "每個 ARIA「`role`」都支援一部分特定的「`aria-*`」屬性。配對錯誤會導致「`aria-*`」屬性無效。[瞭解如何讓 ARIA 屬性與其角色相符](https://dequeuniversity.com/rules/axe/4.
|
12
|
+
"message": "每個 ARIA「`role`」都支援一部分特定的「`aria-*`」屬性。配對錯誤會導致「`aria-*`」屬性無效。[瞭解如何讓 ARIA 屬性與其角色相符](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr)。"
|
13
13
|
},
|
14
14
|
"core/audits/accessibility/aria-allowed-attr.js | failureTitle": {
|
15
15
|
"message": "`[aria-*]` 屬性與其角色不符"
|
@@ -18,16 +18,16 @@
|
|
18
18
|
"message": "`[aria-*]` 屬性與其角色相符"
|
19
19
|
},
|
20
20
|
"core/audits/accessibility/aria-allowed-role.js | description": {
|
21
|
-
"message": "
|
21
|
+
"message": "很多 HTML 元素只能接受指派特定的 ARIA 角色。如果使用禁用的 ARIA 角色,可能會影響網頁的無障礙功能。[進一步瞭解 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role)。"
|
22
22
|
},
|
23
23
|
"core/audits/accessibility/aria-allowed-role.js | failureTitle": {
|
24
|
-
"message": "
|
24
|
+
"message": "有不兼容的元素使用 ARIA 角色"
|
25
25
|
},
|
26
26
|
"core/audits/accessibility/aria-allowed-role.js | title": {
|
27
|
-
"message": "
|
27
|
+
"message": "使用 ARIA 角色的元素均為兼容元素"
|
28
28
|
},
|
29
29
|
"core/audits/accessibility/aria-command-name.js | description": {
|
30
|
-
"message": "如果元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何讓指令元素更容易使用](https://dequeuniversity.com/rules/axe/4.
|
30
|
+
"message": "如果元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何讓指令元素更容易使用](https://dequeuniversity.com/rules/axe/4.10/aria-command-name)。"
|
31
31
|
},
|
32
32
|
"core/audits/accessibility/aria-command-name.js | failureTitle": {
|
33
33
|
"message": "`button`、`link` 和 `menuitem` 元素沒有無障礙名稱。"
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"message": "`button`、`link` 和 `menuitem` 元素具有無障礙名稱"
|
37
37
|
},
|
38
38
|
"core/audits/accessibility/aria-conditional-attr.js | description": {
|
39
|
-
"message": "元素的部分 ARIA 屬性只能在特定條件下使用。[進一步瞭解條件式 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.
|
39
|
+
"message": "元素的部分 ARIA 屬性只能在特定條件下使用。[進一步瞭解條件式 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-conditional-attr)。"
|
40
40
|
},
|
41
41
|
"core/audits/accessibility/aria-conditional-attr.js | failureTitle": {
|
42
42
|
"message": "未按照指定方式在元素角色中使用 ARIA 屬性"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"message": "按照指定方式在元素角色中使用 ARIA 屬性"
|
46
46
|
},
|
47
47
|
"core/audits/accessibility/aria-deprecated-role.js | description": {
|
48
|
-
"message": "輔助技術可能無法正確處理已淘汰的 ARIA 角色。[進一步瞭解已淘汰的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
48
|
+
"message": "輔助技術可能無法正確處理已淘汰的 ARIA 角色。[進一步瞭解已淘汰的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-deprecated-role)。"
|
49
49
|
},
|
50
50
|
"core/audits/accessibility/aria-deprecated-role.js | failureTitle": {
|
51
51
|
"message": "使用已淘汰的 ARIA 角色"
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"message": "未使用已淘汰的 ARIA 角色"
|
55
55
|
},
|
56
56
|
"core/audits/accessibility/aria-dialog-name.js | description": {
|
57
|
-
"message": "如果 ARIA 對話框元素沒有無障礙名稱,螢幕閱讀器使用者就可能無法分辨這些元素的用途。[瞭解如何讓 ARIA 對話框元素更易用](https://dequeuniversity.com/rules/axe/4.
|
57
|
+
"message": "如果 ARIA 對話框元素沒有無障礙名稱,螢幕閱讀器使用者就可能無法分辨這些元素的用途。[瞭解如何讓 ARIA 對話框元素更易用](https://dequeuniversity.com/rules/axe/4.10/aria-dialog-name)。"
|
58
58
|
},
|
59
59
|
"core/audits/accessibility/aria-dialog-name.js | failureTitle": {
|
60
60
|
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素沒有無障礙名稱。"
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素具有無障礙名稱。"
|
64
64
|
},
|
65
65
|
"core/audits/accessibility/aria-hidden-body.js | description": {
|
66
|
-
"message": "在 `<body>` 文件上設定 `aria-hidden=\"true\"` 時,輔助技術 (例如螢幕閱讀器) 的運作將無法保持一致。[瞭解 `aria-hidden` 如何影響文件內文](https://dequeuniversity.com/rules/axe/4.
|
66
|
+
"message": "在 `<body>` 文件上設定 `aria-hidden=\"true\"` 時,輔助技術 (例如螢幕閱讀器) 的運作將無法保持一致。[瞭解 `aria-hidden` 如何影響文件內文](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-body)。"
|
67
67
|
},
|
68
68
|
"core/audits/accessibility/aria-hidden-body.js | failureTitle": {
|
69
69
|
"message": "`[aria-hidden=\"true\"]` 有在文件 `<body>` 上顯示"
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"message": "`[aria-hidden=\"true\"]` 沒有在文件 `<body>` 上顯示"
|
73
73
|
},
|
74
74
|
"core/audits/accessibility/aria-hidden-focus.js | description": {
|
75
|
-
"message": "`[aria-hidden=\"true\"]` 元素中可聚焦的子代會禁止使用輔助技術 (例如螢幕閱讀器) 的使用者運用這些互動元素。[瞭解 `aria-hidden` 如何影響可聚焦的元素](https://dequeuniversity.com/rules/axe/4.
|
75
|
+
"message": "`[aria-hidden=\"true\"]` 元素中可聚焦的子代會禁止使用輔助技術 (例如螢幕閱讀器) 的使用者運用這些互動元素。[瞭解 `aria-hidden` 如何影響可聚焦的元素](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus)。"
|
76
76
|
},
|
77
77
|
"core/audits/accessibility/aria-hidden-focus.js | failureTitle": {
|
78
78
|
"message": "`[aria-hidden=\"true\"]` 元素含有可聚焦的子代"
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"message": "`[aria-hidden=\"true\"]` 元素不含可聚焦的子代"
|
82
82
|
},
|
83
83
|
"core/audits/accessibility/aria-input-field-name.js | description": {
|
84
|
-
"message": "如果輸入欄位沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[進一步瞭解輸入欄位標籤](https://dequeuniversity.com/rules/axe/4.
|
84
|
+
"message": "如果輸入欄位沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[進一步瞭解輸入欄位標籤](https://dequeuniversity.com/rules/axe/4.10/aria-input-field-name)。"
|
85
85
|
},
|
86
86
|
"core/audits/accessibility/aria-input-field-name.js | failureTitle": {
|
87
87
|
"message": "ARIA 輸入欄位沒有輔助名稱"
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"message": "ARIA 輸入欄位有輔助名稱"
|
91
91
|
},
|
92
92
|
"core/audits/accessibility/aria-meter-name.js | description": {
|
93
|
-
"message": "如果計量器元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`meter`元素](https://dequeuniversity.com/rules/axe/4.
|
93
|
+
"message": "如果計量器元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`meter`元素](https://dequeuniversity.com/rules/axe/4.10/aria-meter-name)。"
|
94
94
|
},
|
95
95
|
"core/audits/accessibility/aria-meter-name.js | failureTitle": {
|
96
96
|
"message": "ARIA `meter` 元素沒有無障礙名稱。"
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"message": "ARIA `meter` 元素具有無障礙名稱"
|
100
100
|
},
|
101
101
|
"core/audits/accessibility/aria-progressbar-name.js | description": {
|
102
|
-
"message": "如果 `progressbar` 元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該元素。[瞭解如何為 `progressbar` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.
|
102
|
+
"message": "如果 `progressbar` 元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該元素。[瞭解如何為 `progressbar` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.10/aria-progressbar-name)。"
|
103
103
|
},
|
104
104
|
"core/audits/accessibility/aria-progressbar-name.js | failureTitle": {
|
105
105
|
"message": "ARIA `progressbar` 元素沒有無障礙名稱。"
|
@@ -108,7 +108,7 @@
|
|
108
108
|
"message": "ARIA `progressbar` 元素具有無障礙名稱"
|
109
109
|
},
|
110
110
|
"core/audits/accessibility/aria-prohibited-attr.js | description": {
|
111
|
-
"message": "如果在禁止使用 ARIA 屬性的角色中使用這些屬性,可能會導致輔助技術使用者無法取得重要資料。[進一步瞭解禁止使用的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
111
|
+
"message": "如果在禁止使用 ARIA 屬性的角色中使用這些屬性,可能會導致輔助技術使用者無法取得重要資料。[進一步瞭解禁止使用的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr)。"
|
112
112
|
},
|
113
113
|
"core/audits/accessibility/aria-prohibited-attr.js | failureTitle": {
|
114
114
|
"message": "多項元素使用禁用的 ARIA 屬性"
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"message": "元素僅使用允許的 ARIA 屬性"
|
118
118
|
},
|
119
119
|
"core/audits/accessibility/aria-required-attr.js | description": {
|
120
|
-
"message": "部分 ARIA 角色的必要屬性會向螢幕閱讀器的使用者說明元素狀態。[進一步瞭解角色和必要屬性](https://dequeuniversity.com/rules/axe/4.
|
120
|
+
"message": "部分 ARIA 角色的必要屬性會向螢幕閱讀器的使用者說明元素狀態。[進一步瞭解角色和必要屬性](https://dequeuniversity.com/rules/axe/4.10/aria-required-attr)。"
|
121
121
|
},
|
122
122
|
"core/audits/accessibility/aria-required-attr.js | failureTitle": {
|
123
123
|
"message": "`[role]` 未具備所有必要的 `[aria-*]` 屬性"
|
@@ -126,7 +126,7 @@
|
|
126
126
|
"message": "`[role]` 具備所有必要的 `[aria-*]` 屬性"
|
127
127
|
},
|
128
128
|
"core/audits/accessibility/aria-required-children.js | description": {
|
129
|
-
"message": "部分 ARIA 父角色必須包含特定的子角色,才能正確執行無障礙功能。[進一步瞭解角色和需要的子元素](https://dequeuniversity.com/rules/axe/4.
|
129
|
+
"message": "部分 ARIA 父角色必須包含特定的子角色,才能正確執行無障礙功能。[進一步瞭解角色和需要的子元素](https://dequeuniversity.com/rules/axe/4.10/aria-required-children)。"
|
130
130
|
},
|
131
131
|
"core/audits/accessibility/aria-required-children.js | failureTitle": {
|
132
132
|
"message": "包含 ARIA `[role]` 且要求子元素包含特定 `[role]` 的元素缺少部分或全部的必要子元素。"
|
@@ -135,7 +135,7 @@
|
|
135
135
|
"message": "包含 ARIA `[role]` 且要求子元素包含特定 `[role]` 的元素具有全部必要的子元素。"
|
136
136
|
},
|
137
137
|
"core/audits/accessibility/aria-required-parent.js | description": {
|
138
|
-
"message": "部分 ARIA 子角色必須包括在特定的父角色中,才能正確執行無障礙功能。[進一步瞭解 ARIA 角色和需要的父元素](https://dequeuniversity.com/rules/axe/4.
|
138
|
+
"message": "部分 ARIA 子角色必須包括在特定的父角色中,才能正確執行無障礙功能。[進一步瞭解 ARIA 角色和需要的父元素](https://dequeuniversity.com/rules/axe/4.10/aria-required-parent)。"
|
139
139
|
},
|
140
140
|
"core/audits/accessibility/aria-required-parent.js | failureTitle": {
|
141
141
|
"message": "`[role]` 未包含在必要的父元素中"
|
@@ -144,7 +144,7 @@
|
|
144
144
|
"message": "`[role]` 已包含在必要的父元素中"
|
145
145
|
},
|
146
146
|
"core/audits/accessibility/aria-roles.js | description": {
|
147
|
-
"message": "ARIA 角色必須具備有效的值,才能執行無障礙功能。[進一步瞭解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
147
|
+
"message": "ARIA 角色必須具備有效的值,才能執行無障礙功能。[進一步瞭解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-roles)。"
|
148
148
|
},
|
149
149
|
"core/audits/accessibility/aria-roles.js | failureTitle": {
|
150
150
|
"message": "`[role]` 值無效"
|
@@ -153,7 +153,7 @@
|
|
153
153
|
"message": "`[role]` 值有效"
|
154
154
|
},
|
155
155
|
"core/audits/accessibility/aria-text.js | description": {
|
156
|
-
"message": "在由標記分割的文字節點前後新增 `role=text`,VoiceOver 就會將其視為一個詞組,但系統不會通知該元素的可聚焦子元素。[進一步瞭解 `role=text` 屬性](https://dequeuniversity.com/rules/axe/4.
|
156
|
+
"message": "在由標記分割的文字節點前後新增 `role=text`,VoiceOver 就會將其視為一個詞組,但系統不會通知該元素的可聚焦子元素。[進一步瞭解 `role=text` 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-text)。"
|
157
157
|
},
|
158
158
|
"core/audits/accessibility/aria-text.js | failureTitle": {
|
159
159
|
"message": "具有 `role=text` 屬性的元素有可聚焦的子元素。"
|
@@ -162,7 +162,7 @@
|
|
162
162
|
"message": "具有 `role=text` 屬性的元素沒有可聚焦的子元素。"
|
163
163
|
},
|
164
164
|
"core/audits/accessibility/aria-toggle-field-name.js | description": {
|
165
|
-
"message": "如果切換欄位沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[進一步瞭解切換欄位](https://dequeuniversity.com/rules/axe/4.
|
165
|
+
"message": "如果切換欄位沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[進一步瞭解切換欄位](https://dequeuniversity.com/rules/axe/4.10/aria-toggle-field-name)。"
|
166
166
|
},
|
167
167
|
"core/audits/accessibility/aria-toggle-field-name.js | failureTitle": {
|
168
168
|
"message": "ARIA 切換欄位沒有輔助名稱"
|
@@ -171,7 +171,7 @@
|
|
171
171
|
"message": "ARIA 切換欄位有輔助名稱"
|
172
172
|
},
|
173
173
|
"core/audits/accessibility/aria-tooltip-name.js | description": {
|
174
|
-
"message": "如果提示元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`tooltip`元素](https://dequeuniversity.com/rules/axe/4.
|
174
|
+
"message": "如果提示元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`tooltip`元素](https://dequeuniversity.com/rules/axe/4.10/aria-tooltip-name)。"
|
175
175
|
},
|
176
176
|
"core/audits/accessibility/aria-tooltip-name.js | failureTitle": {
|
177
177
|
"message": "ARIA `tooltip` 元素沒有無障礙名稱。"
|
@@ -180,7 +180,7 @@
|
|
180
180
|
"message": "ARIA `tooltip` 元素具有無障礙名稱"
|
181
181
|
},
|
182
182
|
"core/audits/accessibility/aria-treeitem-name.js | description": {
|
183
|
-
"message": "如果 `treeitem` 元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該元素。[進一步瞭解如何為 `treeitem` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.
|
183
|
+
"message": "如果 `treeitem` 元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該元素。[進一步瞭解如何為 `treeitem` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.10/aria-treeitem-name)。"
|
184
184
|
},
|
185
185
|
"core/audits/accessibility/aria-treeitem-name.js | failureTitle": {
|
186
186
|
"message": "ARIA `treeitem` 元素沒有無障礙名稱。"
|
@@ -189,7 +189,7 @@
|
|
189
189
|
"message": "ARIA `treeitem` 元素具有無障礙名稱"
|
190
190
|
},
|
191
191
|
"core/audits/accessibility/aria-valid-attr-value.js | description": {
|
192
|
-
"message": "輔助技術 (如螢幕閱讀器) 無法解讀具有無效值的 ARIA 屬性。[進一步瞭解 ARIA 屬性的有效值](https://dequeuniversity.com/rules/axe/4.
|
192
|
+
"message": "輔助技術 (如螢幕閱讀器) 無法解讀具有無效值的 ARIA 屬性。[進一步瞭解 ARIA 屬性的有效值](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value)。"
|
193
193
|
},
|
194
194
|
"core/audits/accessibility/aria-valid-attr-value.js | failureTitle": {
|
195
195
|
"message": "`[aria-*]` 屬性並無有效的值"
|
@@ -198,7 +198,7 @@
|
|
198
198
|
"message": "`[aria-*]` 屬性具備有效的值"
|
199
199
|
},
|
200
200
|
"core/audits/accessibility/aria-valid-attr.js | description": {
|
201
|
-
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀名稱無效的 ARIA 屬性。[進一步瞭解有效的 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.
|
201
|
+
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀名稱無效的 ARIA 屬性。[進一步瞭解有效的 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr)。"
|
202
202
|
},
|
203
203
|
"core/audits/accessibility/aria-valid-attr.js | failureTitle": {
|
204
204
|
"message": "`[aria-*]` 屬性無效或拼字錯誤"
|
@@ -210,7 +210,7 @@
|
|
210
210
|
"message": "審核失敗的元素"
|
211
211
|
},
|
212
212
|
"core/audits/accessibility/button-name.js | description": {
|
213
|
-
"message": "如果按鈕沒有無障礙名稱,螢幕閱讀器只會讀出「按鈕」,導致依賴螢幕閱讀器的使用者無法使用該按鈕。[瞭解如何讓使用者更容易使用按鈕](https://dequeuniversity.com/rules/axe/4.
|
213
|
+
"message": "如果按鈕沒有無障礙名稱,螢幕閱讀器只會讀出「按鈕」,導致依賴螢幕閱讀器的使用者無法使用該按鈕。[瞭解如何讓使用者更容易使用按鈕](https://dequeuniversity.com/rules/axe/4.10/button-name)。"
|
214
214
|
},
|
215
215
|
"core/audits/accessibility/button-name.js | failureTitle": {
|
216
216
|
"message": "按鈕沒有可存取的名稱"
|
@@ -219,7 +219,7 @@
|
|
219
219
|
"message": "按鈕有可存取的名稱"
|
220
220
|
},
|
221
221
|
"core/audits/accessibility/bypass.js | description": {
|
222
|
-
"message": "為重複的內容新增略過選項,可提高鍵盤使用者的網頁瀏覽效率。[進一步瞭解如何繞過區塊](https://dequeuniversity.com/rules/axe/4.
|
222
|
+
"message": "為重複的內容新增略過選項,可提高鍵盤使用者的網頁瀏覽效率。[進一步瞭解如何繞過區塊](https://dequeuniversity.com/rules/axe/4.10/bypass)。"
|
223
223
|
},
|
224
224
|
"core/audits/accessibility/bypass.js | failureTitle": {
|
225
225
|
"message": "網頁中沒有標題、略過連結或地標區域"
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"message": "網頁包含標題、略過連結或地標區域"
|
229
229
|
},
|
230
230
|
"core/audits/accessibility/color-contrast.js | description": {
|
231
|
-
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。[瞭解如何提供充足的顏色對比度](https://dequeuniversity.com/rules/axe/4.
|
231
|
+
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。[瞭解如何提供充足的顏色對比度](https://dequeuniversity.com/rules/axe/4.10/color-contrast)。"
|
232
232
|
},
|
233
233
|
"core/audits/accessibility/color-contrast.js | failureTitle": {
|
234
234
|
"message": "背景和前景顏色沒有足夠的對比度。"
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"message": "背景和前景顏色有足夠的對比度"
|
238
238
|
},
|
239
239
|
"core/audits/accessibility/definition-list.js | description": {
|
240
|
-
"message": "如果定義清單的標記不正確,螢幕閱讀器可能會輸出令人混淆或不正確的內容。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.
|
240
|
+
"message": "如果定義清單的標記不正確,螢幕閱讀器可能會輸出令人混淆或不正確的內容。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.10/definition-list)。"
|
241
241
|
},
|
242
242
|
"core/audits/accessibility/definition-list.js | failureTitle": {
|
243
243
|
"message": "`<dl>` 並非只包含排序正確的 `<dt>` 和 `<dd>` 群組、`<script>`、`<template>` 或 `<div>` 元素。"
|
@@ -246,7 +246,7 @@
|
|
246
246
|
"message": "`<dl>` 只包含排序正確的 `<dt>` 和 `<dd>` 群組、`<script>`、`<template>` 或 `<div>` 元素。"
|
247
247
|
},
|
248
248
|
"core/audits/accessibility/dlitem.js | description": {
|
249
|
-
"message": "定義清單項目 (`<dt>` 和 `<dd>`) 必須納入在父 `<dl>` 元素中,才能確保螢幕閱讀器正確朗讀這些項目。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.
|
249
|
+
"message": "定義清單項目 (`<dt>` 和 `<dd>`) 必須納入在父 `<dl>` 元素中,才能確保螢幕閱讀器正確朗讀這些項目。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.10/dlitem)。"
|
250
250
|
},
|
251
251
|
"core/audits/accessibility/dlitem.js | failureTitle": {
|
252
252
|
"message": "定義清單項目未納入在 `<dl>` 元素中"
|
@@ -255,7 +255,7 @@
|
|
255
255
|
"message": "定義清單項目已納入在 `<dl>` 元素中"
|
256
256
|
},
|
257
257
|
"core/audits/accessibility/document-title.js | description": {
|
258
|
-
"message": "標題可讓螢幕閱讀器使用者概略瞭解網頁內容;搜尋引擎使用者經常需要使用此資料,判斷網頁內容是否與他們的搜尋查詢有關。[進一步瞭解文件標題](https://dequeuniversity.com/rules/axe/4.
|
258
|
+
"message": "標題可讓螢幕閱讀器使用者概略瞭解網頁內容;搜尋引擎使用者經常需要使用此資料,判斷網頁內容是否與他們的搜尋查詢有關。[進一步瞭解文件標題](https://dequeuniversity.com/rules/axe/4.10/document-title)。"
|
259
259
|
},
|
260
260
|
"core/audits/accessibility/document-title.js | failureTitle": {
|
261
261
|
"message": "文件並無有效的 `<title>` 元素"
|
@@ -264,7 +264,7 @@
|
|
264
264
|
"message": "文件具備 `<title>` 元素"
|
265
265
|
},
|
266
266
|
"core/audits/accessibility/duplicate-id-aria.js | description": {
|
267
|
-
"message": "ARIA ID 的值不可重複,以免輔助技術忽略其他例項。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.
|
267
|
+
"message": "ARIA ID 的值不可重複,以免輔助技術忽略其他例項。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.10/duplicate-id-aria)。"
|
268
268
|
},
|
269
269
|
"core/audits/accessibility/duplicate-id-aria.js | failureTitle": {
|
270
270
|
"message": "ARIA ID 重複"
|
@@ -273,7 +273,7 @@
|
|
273
273
|
"message": "ARIA ID 沒有重複"
|
274
274
|
},
|
275
275
|
"core/audits/accessibility/empty-heading.js | description": {
|
276
|
-
"message": "如果 heading 沒有內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資料。[進一步瞭解 headings](https://dequeuniversity.com/rules/axe/4.
|
276
|
+
"message": "如果 heading 沒有內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資料。[進一步瞭解 headings](https://dequeuniversity.com/rules/axe/4.10/empty-heading)。"
|
277
277
|
},
|
278
278
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
279
279
|
"message": "Heading 元素不含任何內容。"
|
@@ -282,7 +282,7 @@
|
|
282
282
|
"message": "所有 heading 元素都包含內容。"
|
283
283
|
},
|
284
284
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
285
|
-
"message": "使用第一個、最後一個或所有標籤的螢幕閱讀器等輔助技術,可能無法將包含多個標籤的表格欄位正確讀出。[瞭解如何使用表格標籤](https://dequeuniversity.com/rules/axe/4.
|
285
|
+
"message": "使用第一個、最後一個或所有標籤的螢幕閱讀器等輔助技術,可能無法將包含多個標籤的表格欄位正確讀出。[瞭解如何使用表格標籤](https://dequeuniversity.com/rules/axe/4.10/form-field-multiple-labels)。"
|
286
286
|
},
|
287
287
|
"core/audits/accessibility/form-field-multiple-labels.js | failureTitle": {
|
288
288
|
"message": "表格欄位含有多個標籤"
|
@@ -291,7 +291,7 @@
|
|
291
291
|
"message": "沒有表格欄位含有多個標籤"
|
292
292
|
},
|
293
293
|
"core/audits/accessibility/frame-title.js | description": {
|
294
|
-
"message": "螢幕閱讀器使用者依賴頁框標題來瞭解頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.
|
294
|
+
"message": "螢幕閱讀器使用者依賴頁框標題來瞭解頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.10/frame-title)。"
|
295
295
|
},
|
296
296
|
"core/audits/accessibility/frame-title.js | failureTitle": {
|
297
297
|
"message": "`<frame>` 或 `<iframe>` 元素沒有標題"
|
@@ -300,7 +300,7 @@
|
|
300
300
|
"message": "`<frame>` 或 `<iframe>` 元素包含名稱"
|
301
301
|
},
|
302
302
|
"core/audits/accessibility/heading-order.js | description": {
|
303
|
-
"message": "排序正確且未略過層級的標題可傳達網頁的語意結構,讓您在使用輔助技術時更容易瀏覽及理解。[進一步瞭解標題排序](https://dequeuniversity.com/rules/axe/4.
|
303
|
+
"message": "排序正確且未略過層級的標題可傳達網頁的語意結構,讓您在使用輔助技術時更容易瀏覽及理解。[進一步瞭解標題排序](https://dequeuniversity.com/rules/axe/4.10/heading-order)。"
|
304
304
|
},
|
305
305
|
"core/audits/accessibility/heading-order.js | failureTitle": {
|
306
306
|
"message": "標題元素未遞減排序"
|
@@ -309,7 +309,7 @@
|
|
309
309
|
"message": "標題元素已遞減排序"
|
310
310
|
},
|
311
311
|
"core/audits/accessibility/html-has-lang.js | description": {
|
312
|
-
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用使用者設定螢幕閱讀器時選擇的預設語言。如果網頁實際並非採用預設語言,螢幕閱讀器可能無法正確朗讀文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
312
|
+
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用使用者設定螢幕閱讀器時選擇的預設語言。如果網頁實際並非採用預設語言,螢幕閱讀器可能無法正確朗讀文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-has-lang)。"
|
313
313
|
},
|
314
314
|
"core/audits/accessibility/html-has-lang.js | failureTitle": {
|
315
315
|
"message": "`<html>` 元素並無 `[lang]` 屬性"
|
@@ -318,7 +318,7 @@
|
|
318
318
|
"message": "`<html>` 元素具備 `[lang]` 屬性"
|
319
319
|
},
|
320
320
|
"core/audits/accessibility/html-lang-valid.js | description": {
|
321
|
-
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
321
|
+
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-lang-valid)。"
|
322
322
|
},
|
323
323
|
"core/audits/accessibility/html-lang-valid.js | failureTitle": {
|
324
324
|
"message": "`<html>` 元素的 `[lang]` 屬性並無有效的值。"
|
@@ -327,7 +327,7 @@
|
|
327
327
|
"message": "`<html>` 元素的 `[lang]` 屬性具備有效的值"
|
328
328
|
},
|
329
329
|
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
330
|
-
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解此 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
330
|
+
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解此 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-xml-lang-mismatch)。"
|
331
331
|
},
|
332
332
|
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
333
333
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與`[lang]` 屬性中的基本語言不同。"
|
@@ -336,7 +336,7 @@
|
|
336
336
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與 `[lang]` 屬性的基本語言相同。"
|
337
337
|
},
|
338
338
|
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
339
|
-
"message": "具有相同目的地的連結應提供相同的描述,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.
|
339
|
+
"message": "具有相同目的地的連結應提供相同的描述,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.10/identical-links-same-purpose)。"
|
340
340
|
},
|
341
341
|
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
342
342
|
"message": "相同連結的用途不同。"
|
@@ -345,7 +345,7 @@
|
|
345
345
|
"message": "相同的連結用途相同。"
|
346
346
|
},
|
347
347
|
"core/audits/accessibility/image-alt.js | description": {
|
348
|
-
"message": "資訊型元素應提供簡短貼切的替代文字。只要將 alt 屬性留空,系統便會忽略該裝飾元素。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
348
|
+
"message": "資訊型元素應提供簡短貼切的替代文字。只要將 alt 屬性留空,系統便會忽略該裝飾元素。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.10/image-alt)。"
|
349
349
|
},
|
350
350
|
"core/audits/accessibility/image-alt.js | failureTitle": {
|
351
351
|
"message": "圖片元素並無 `[alt]` 屬性"
|
@@ -354,7 +354,7 @@
|
|
354
354
|
"message": "圖片元素具有 `[alt]` 屬性"
|
355
355
|
},
|
356
356
|
"core/audits/accessibility/image-redundant-alt.js | description": {
|
357
|
-
"message": "資訊型元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成混淆,因為系統會朗讀同樣的文字兩次。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
357
|
+
"message": "資訊型元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成混淆,因為系統會朗讀同樣的文字兩次。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.10/image-redundant-alt)。"
|
358
358
|
},
|
359
359
|
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
360
360
|
"message": "圖片元素所含「`[alt]`」屬性有多餘的文字。"
|
@@ -363,7 +363,7 @@
|
|
363
363
|
"message": "圖片元素所含「`[alt]`」屬性沒有多餘的文字。"
|
364
364
|
},
|
365
365
|
"core/audits/accessibility/input-button-name.js | description": {
|
366
|
-
"message": "您可以為輸入按鈕新增可識別且可存取的文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.
|
366
|
+
"message": "您可以為輸入按鈕新增可識別且可存取的文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.10/input-button-name)。"
|
367
367
|
},
|
368
368
|
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
369
369
|
"message": "輸入按鈕沒有可識別的文字。"
|
@@ -372,7 +372,7 @@
|
|
372
372
|
"message": "輸入按鈕有可識別的文字。"
|
373
373
|
},
|
374
374
|
"core/audits/accessibility/input-image-alt.js | description": {
|
375
|
-
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片說明文字](https://dequeuniversity.com/rules/axe/4.
|
375
|
+
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片說明文字](https://dequeuniversity.com/rules/axe/4.10/input-image-alt)。"
|
376
376
|
},
|
377
377
|
"core/audits/accessibility/input-image-alt.js | failureTitle": {
|
378
378
|
"message": "`<input type=\"image\">` 元素未設定 `[alt]` 文字"
|
@@ -381,7 +381,7 @@
|
|
381
381
|
"message": "`<input type=\"image\">` 元素具有 `[alt]` 文字"
|
382
382
|
},
|
383
383
|
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
384
|
-
"message": "如果顯示的文字標籤與無障礙名稱不符,可能對螢幕閱讀器使用者造成混淆。[進一步瞭解無障礙名稱](https://dequeuniversity.com/rules/axe/4.
|
384
|
+
"message": "如果顯示的文字標籤與無障礙名稱不符,可能對螢幕閱讀器使用者造成混淆。[進一步瞭解無障礙名稱](https://dequeuniversity.com/rules/axe/4.10/label-content-name-mismatch)。"
|
385
385
|
},
|
386
386
|
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
387
387
|
"message": "含有可見文字標籤的元素沒有相符的無障礙名稱。"
|
@@ -390,7 +390,7 @@
|
|
390
390
|
"message": "含有可見文字標籤的元素有相符的無障礙名稱。"
|
391
391
|
},
|
392
392
|
"core/audits/accessibility/label.js | description": {
|
393
|
-
"message": "標籤可以確保輔助技術 (例如螢幕閱讀器) 正確朗讀表格控制項。[進一步瞭解表格元素標籤](https://dequeuniversity.com/rules/axe/4.
|
393
|
+
"message": "標籤可以確保輔助技術 (例如螢幕閱讀器) 正確朗讀表格控制項。[進一步瞭解表格元素標籤](https://dequeuniversity.com/rules/axe/4.10/label)。"
|
394
394
|
},
|
395
395
|
"core/audits/accessibility/label.js | failureTitle": {
|
396
396
|
"message": "表格元素沒有相關聯的標籤"
|
@@ -399,7 +399,7 @@
|
|
399
399
|
"message": "表格元素具有相關聯的標籤"
|
400
400
|
},
|
401
401
|
"core/audits/accessibility/landmark-one-main.js | description": {
|
402
|
-
"message": "其中一項主要標籤可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解標籤](https://dequeuniversity.com/rules/axe/4.
|
402
|
+
"message": "其中一項主要標籤可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解標籤](https://dequeuniversity.com/rules/axe/4.10/landmark-one-main)。"
|
403
403
|
},
|
404
404
|
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
405
405
|
"message": "文件不含主要標籤。"
|
@@ -408,7 +408,7 @@
|
|
408
408
|
"message": "文件具有主要標籤。"
|
409
409
|
},
|
410
410
|
"core/audits/accessibility/link-in-text-block.js | description": {
|
411
|
-
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。可辨別的連結文字有助改善低視力使用者的體驗。[瞭解如何設定可明確辨別的連結](https://dequeuniversity.com/rules/axe/4.
|
411
|
+
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。可辨別的連結文字有助改善低視力使用者的體驗。[瞭解如何設定可明確辨別的連結](https://dequeuniversity.com/rules/axe/4.10/link-in-text-block)。"
|
412
412
|
},
|
413
413
|
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
414
414
|
"message": "連結需依賴顏色辨別。"
|
@@ -417,7 +417,7 @@
|
|
417
417
|
"message": "不需依賴顏色亦可明確辨別連結。"
|
418
418
|
},
|
419
419
|
"core/audits/accessibility/link-name.js | description": {
|
420
|
-
"message": "使用可辨別、不重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結更易用](https://dequeuniversity.com/rules/axe/4.
|
420
|
+
"message": "使用可辨別、不重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結更易用](https://dequeuniversity.com/rules/axe/4.10/link-name)。"
|
421
421
|
},
|
422
422
|
"core/audits/accessibility/link-name.js | failureTitle": {
|
423
423
|
"message": "連結並無可辨別的名稱"
|
@@ -426,7 +426,7 @@
|
|
426
426
|
"message": "連結具有可辨別的名稱"
|
427
427
|
},
|
428
428
|
"core/audits/accessibility/list.js | description": {
|
429
|
-
"message": "螢幕閱讀器會以特定方式朗讀清單。確認清單採用正確的結構有助螢幕閱讀器順利輸出內容。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.
|
429
|
+
"message": "螢幕閱讀器會以特定方式朗讀清單。確認清單採用正確的結構有助螢幕閱讀器順利輸出內容。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.10/list)。"
|
430
430
|
},
|
431
431
|
"core/audits/accessibility/list.js | failureTitle": {
|
432
432
|
"message": "清單中並非只包含 `<li>` 元素和指令碼支援元素 (`<script>` 和 `<template>`)。"
|
@@ -435,7 +435,7 @@
|
|
435
435
|
"message": "清單只包含 `<li>` 元素和支援指令碼的元素 (`<script>` 和 `<template>`)。"
|
436
436
|
},
|
437
437
|
"core/audits/accessibility/listitem.js | description": {
|
438
|
-
"message": "清單項目 (`<li>`) 必須包含在父元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.
|
438
|
+
"message": "清單項目 (`<li>`) 必須包含在父元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.10/listitem)。"
|
439
439
|
},
|
440
440
|
"core/audits/accessibility/listitem.js | failureTitle": {
|
441
441
|
"message": "清單項目 (`<li>`) 未包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中。"
|
@@ -444,7 +444,7 @@
|
|
444
444
|
"message": "清單項目 (`<li>`) 已包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中"
|
445
445
|
},
|
446
446
|
"core/audits/accessibility/meta-refresh.js | description": {
|
447
|
-
"message": "使用者不會預期系統自動重新整理網頁,且執行此操作會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標籤](https://dequeuniversity.com/rules/axe/4.
|
447
|
+
"message": "使用者不會預期系統自動重新整理網頁,且執行此操作會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標籤](https://dequeuniversity.com/rules/axe/4.10/meta-refresh)。"
|
448
448
|
},
|
449
449
|
"core/audits/accessibility/meta-refresh.js | failureTitle": {
|
450
450
|
"message": "文件使用 `<meta http-equiv=\"refresh\">`"
|
@@ -453,7 +453,7 @@
|
|
453
453
|
"message": "文件未使用 `<meta http-equiv=\"refresh\">`"
|
454
454
|
},
|
455
455
|
"core/audits/accessibility/meta-viewport.js | description": {
|
456
|
-
"message": "停用縮放功能會對低視力人士造成困擾,他們需要透過螢幕放大功能才能清楚看見網頁內容。[進一步瞭解檢視區中繼標記](https://dequeuniversity.com/rules/axe/4.
|
456
|
+
"message": "停用縮放功能會對低視力人士造成困擾,他們需要透過螢幕放大功能才能清楚看見網頁內容。[進一步瞭解檢視區中繼標記](https://dequeuniversity.com/rules/axe/4.10/meta-viewport)。"
|
457
457
|
},
|
458
458
|
"core/audits/accessibility/meta-viewport.js | failureTitle": {
|
459
459
|
"message": "`<meta name=\"viewport\">` 元素中使用了 `[user-scalable=\"no\"]`,或 `[maximum-scale]` 屬性少於 5。"
|
@@ -462,7 +462,7 @@
|
|
462
462
|
"message": "`<meta name=\"viewport\">` 元素中未有使用 `[user-scalable=\"no\"]` 元素,而且 `[maximum-scale]` 屬性少於 5。"
|
463
463
|
},
|
464
464
|
"core/audits/accessibility/object-alt.js | description": {
|
465
|
-
"message": "螢幕閱讀器無法翻譯非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達其意思。[進一步瞭解 `object` 元素的說明文字](https://dequeuniversity.com/rules/axe/4.
|
465
|
+
"message": "螢幕閱讀器無法翻譯非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達其意思。[進一步瞭解 `object` 元素的說明文字](https://dequeuniversity.com/rules/axe/4.10/object-alt)。"
|
466
466
|
},
|
467
467
|
"core/audits/accessibility/object-alt.js | failureTitle": {
|
468
468
|
"message": "`<object>` 元素未設定替代文字"
|
@@ -471,7 +471,7 @@
|
|
471
471
|
"message": "`<object>` 元素具有替代文字"
|
472
472
|
},
|
473
473
|
"core/audits/accessibility/select-name.js | description": {
|
474
|
-
"message": "沒有有效標籤的 Form 元素可能對螢幕閱讀器使用者造成困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
474
|
+
"message": "沒有有效標籤的 Form 元素可能對螢幕閱讀器使用者造成困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.10/select-name)。"
|
475
475
|
},
|
476
476
|
"core/audits/accessibility/select-name.js | failureTitle": {
|
477
477
|
"message": "Select 元素沒有相關聯的 label 元素。"
|
@@ -480,7 +480,7 @@
|
|
480
480
|
"message": "Select 元素具有關聯的 label 元素。"
|
481
481
|
},
|
482
482
|
"core/audits/accessibility/skip-link.js | description": {
|
483
|
-
"message": "加入跳過連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳過連結](https://dequeuniversity.com/rules/axe/4.
|
483
|
+
"message": "加入跳過連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳過連結](https://dequeuniversity.com/rules/axe/4.10/skip-link)。"
|
484
484
|
},
|
485
485
|
"core/audits/accessibility/skip-link.js | failureTitle": {
|
486
486
|
"message": "跳過連結無法聚焦。"
|
@@ -489,7 +489,7 @@
|
|
489
489
|
"message": "跳過連結可聚焦。"
|
490
490
|
},
|
491
491
|
"core/audits/accessibility/tabindex.js | description": {
|
492
|
-
"message": "如果值大於 0,代表已採用明確的瀏覽排序。雖然此做法在技術上可行,但通常會對依賴輔助技術的使用者造成困擾。[進一步瞭解此 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.
|
492
|
+
"message": "如果值大於 0,代表已採用明確的瀏覽排序。雖然此做法在技術上可行,但通常會對依賴輔助技術的使用者造成困擾。[進一步瞭解此 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.10/tabindex)。"
|
493
493
|
},
|
494
494
|
"core/audits/accessibility/tabindex.js | failureTitle": {
|
495
495
|
"message": "部分元素的 `[tabindex]` 值大於 0"
|
@@ -498,7 +498,7 @@
|
|
498
498
|
"message": "所有元素的 `[tabindex]` 值皆未超過 0"
|
499
499
|
},
|
500
500
|
"core/audits/accessibility/table-duplicate-name.js | description": {
|
501
|
-
"message": "摘要屬性應描述表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.
|
501
|
+
"message": "摘要屬性應描述表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.10/table-duplicate-name)。"
|
502
502
|
},
|
503
503
|
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
504
504
|
"message": "表格內容與摘要屬性和「`<caption>.`」相同"
|
@@ -507,7 +507,7 @@
|
|
507
507
|
"message": "表格內容與摘要屬性和「`<caption>`」不同。"
|
508
508
|
},
|
509
509
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
510
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
510
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.10/table-fake-caption)。"
|
511
511
|
},
|
512
512
|
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
513
513
|
"message": "表格使用含有 `[colspan]` 屬性的儲存格表示標題,而非使用 `<caption>` 屬性。"
|
@@ -516,7 +516,7 @@
|
|
516
516
|
"message": "表格使用 `<caption>` 屬性表示標題,而非使用含有 `[colspan]` 屬性的儲存格。"
|
517
517
|
},
|
518
518
|
"core/audits/accessibility/target-size.js | description": {
|
519
|
-
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以觸控細小控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.
|
519
|
+
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以觸控細小控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.10/target-size)。"
|
520
520
|
},
|
521
521
|
"core/audits/accessibility/target-size.js | failureTitle": {
|
522
522
|
"message": "觸控目標的大小或間距不足。"
|
@@ -525,7 +525,7 @@
|
|
525
525
|
"message": "觸控目標的大小和間距充足。"
|
526
526
|
},
|
527
527
|
"core/audits/accessibility/td-has-header.js | description": {
|
528
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個或以上儲存格) 中的 `<td>` 元素使用相關聯的表格標題,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.
|
528
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個或以上儲存格) 中的 `<td>` 元素使用相關聯的表格標題,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.10/td-has-header)。"
|
529
529
|
},
|
530
530
|
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
531
531
|
"message": "大型 `<table>` 中的 `<td>` 元素沒有表格標題。"
|
@@ -534,7 +534,7 @@
|
|
534
534
|
"message": "大型 `<table>` 中的 `<td>` 元素有一或多個表格標題。"
|
535
535
|
},
|
536
536
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
537
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保採用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,或許能改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.
|
537
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保採用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,或許能改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.10/td-headers-attr)。"
|
538
538
|
},
|
539
539
|
"core/audits/accessibility/td-headers-attr.js | failureTitle": {
|
540
540
|
"message": "`<table>` 元素中採用 `[headers]` 屬性的儲存格參照了 `id`,無法在同一表格中找到此元素。"
|
@@ -543,7 +543,7 @@
|
|
543
543
|
"message": "`<table>` 元素中採用 `[headers]` 屬性的儲存格,參照了同一表格中的其他儲存格。"
|
544
544
|
},
|
545
545
|
"core/audits/accessibility/th-has-data-cells.js | description": {
|
546
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保表格標題一律參照特定一組儲存格,或許能有助改善螢幕閱讀器使用者的體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.
|
546
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保表格標題一律參照特定一組儲存格,或許能有助改善螢幕閱讀器使用者的體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.10/th-has-data-cells)。"
|
547
547
|
},
|
548
548
|
"core/audits/accessibility/th-has-data-cells.js | failureTitle": {
|
549
549
|
"message": "`<th>` 元素及帶有 `[role=\"columnheader\"/\"rowheader\"]` 的元素沒有所描述的資料儲存格。"
|
@@ -552,7 +552,7 @@
|
|
552
552
|
"message": "`<th>` 元素和帶有 `[role=\"columnheader\"/\"rowheader\"]` 的元素有其描述的資料儲存格。"
|
553
553
|
},
|
554
554
|
"core/audits/accessibility/valid-lang.js | description": {
|
555
|
-
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
555
|
+
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/valid-lang)。"
|
556
556
|
},
|
557
557
|
"core/audits/accessibility/valid-lang.js | failureTitle": {
|
558
558
|
"message": "`[lang]` 屬性並無有效的值"
|
@@ -561,7 +561,7 @@
|
|
561
561
|
"message": "`[lang]` 屬性具備有效的值"
|
562
562
|
},
|
563
563
|
"core/audits/accessibility/video-caption.js | description": {
|
564
|
-
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者取得影片資料。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.
|
564
|
+
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者取得影片資料。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.10/video-caption)。"
|
565
565
|
},
|
566
566
|
"core/audits/accessibility/video-caption.js | failureTitle": {
|
567
567
|
"message": "`<video>` 元素不含任何帶有 `[kind=\"captions\"]` 的 `<track>` 元素"
|
@@ -975,7 +975,7 @@
|
|
975
975
|
"message": "在網頁字型載入時,所有文字仍然顯示"
|
976
976
|
},
|
977
977
|
"core/audits/font-display.js | undeclaredFontOriginWarning": {
|
978
|
-
"message": "{fontCountForOrigin,plural, =1{Lighthouse 無法為來源 ({fontOrigin}) 自動檢查 `font-display`
|
978
|
+
"message": "{fontCountForOrigin,plural, =1{Lighthouse 無法為來源 ({fontOrigin}) 自動檢查 `font-display` 值。}other{Lighthouse 無法為來源 ({fontOrigin}) 自動檢查 `font-display` 值。}}"
|
979
979
|
},
|
980
980
|
"core/audits/image-aspect-ratio.js | columnActual": {
|
981
981
|
"message": "實際的圖片長寬比"
|
@@ -1101,7 +1101,7 @@
|
|
1101
1101
|
"message": "「最大內容繪製」圖片沒有延遲載入"
|
1102
1102
|
},
|
1103
1103
|
"core/audits/long-tasks.js | description": {
|
1104
|
-
"message": "列出主要執行緒上執行時間最長的工作,有助辨識導致輸入延遲的主因。[瞭解如何避免長時間的主要執行緒工作](https://web.dev/articles/long-tasks
|
1104
|
+
"message": "列出主要執行緒上執行時間最長的工作,有助辨識導致輸入延遲的主因。[瞭解如何避免長時間的主要執行緒工作](https://web.dev/articles/optimize-long-tasks)"
|
1105
1105
|
},
|
1106
1106
|
"core/audits/long-tasks.js | displayValue": {
|
1107
1107
|
"message": "{itemCount,plural, =1{找到 # 項長時間執行的工作}other{找到 # 項長時間執行的工作}}"
|
@@ -1377,7 +1377,7 @@
|
|
1377
1377
|
"message": "初始伺服器回應時間短暫"
|
1378
1378
|
},
|
1379
1379
|
"core/audits/third-party-cookies.js | description": {
|
1380
|
-
"message": "
|
1380
|
+
"message": "Chrome 推出全新體驗,讓使用者選擇在無第三方 Cookie 的情況下瀏覽網頁。[進一步瞭解第三方 Cookie](https://developers.google.com/privacy-sandbox/cookies)。"
|
1381
1381
|
},
|
1382
1382
|
"core/audits/third-party-cookies.js | displayValue": {
|
1383
1383
|
"message": "{itemCount,plural, =1{找到 1 個 Cookie}other{找到 # 個 Cookie}}"
|
@@ -1665,7 +1665,7 @@
|
|
1665
1665
|
"message": "清除瀏覽器快取已逾時。請嘗試再次審核此頁面。如果問題仍未解決,請報告錯誤。"
|
1666
1666
|
},
|
1667
1667
|
"core/gather/driver/storage.js | warningData": {
|
1668
|
-
"message": "{locationCount,plural, =1{
|
1668
|
+
"message": "{locationCount,plural, =1{可能有儲存資料影響以下位置的載入效能:{locations}。請透過無痕式視窗審核此頁面,以免這些資源影響分數。}other{可能有儲存資料影響以下位置的載入效能:{locations}。請透過無痕式視窗審核此頁面,以免這些資源影響分數。}}"
|
1669
1669
|
},
|
1670
1670
|
"core/gather/driver/storage.js | warningOriginDataTimeout": {
|
1671
1671
|
"message": "清除原始資料已逾時。請嘗試再次審核此頁面。如果問題仍未解決,請報告錯誤。"
|
@@ -2658,49 +2658,55 @@
|
|
2658
2658
|
"message": "建議使用組件開發套件 (CDK) 中的 `BreakpointObserver` 公用程式來管理圖片中斷點。[瞭解詳情](https://material.angular.io/cdk/layout/overview)。"
|
2659
2659
|
},
|
2660
2660
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | efficient-animated-content": {
|
2661
|
-
"message": "
|
2662
|
-
},
|
2663
|
-
"node_modules/lighthouse-stack-packs/packs/drupal.js | font-display": {
|
2664
|
-
"message": "在主題中定義自訂字體時,請指定 `@font-display`。"
|
2661
|
+
"message": "Consider uploading your `GIF` to a service which will make it available to embed as an HTML5 video."
|
2665
2662
|
},
|
2666
2663
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | modern-image-formats": {
|
2667
2664
|
"message": "請考慮在網站上設定[含有 Convert 圖片樣式的 WebP 圖片格式](https://www.drupal.org/docs/core-modules-and-themes/core-modules/image-module/working-with-images#styles)。"
|
2668
2665
|
},
|
2669
2666
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | offscreen-images": {
|
2670
|
-
"message": "
|
2667
|
+
"message": "Consider configuring lazy load images in `Drupal`. The field formatters for images support `lazy` or `eager`."
|
2668
|
+
},
|
2669
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | prioritize-lcp-image": {
|
2670
|
+
"message": "If the LCP element is dynamically added to the page, you should optimize the image in order to improve LCP. [Learn more](https://www.smashingmagazine.com/2023/08/methods-improving-drupal-largest-contentful-paint-core-web-vital/)."
|
2671
|
+
},
|
2672
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | redirects": {
|
2673
|
+
"message": "Redirects introduce additional delays before the page can be loaded. If the [Redirect](https://www.drupal.org/project/redirect) module is installed, review if unnecessary redirects can be removed. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/redirects)."
|
2671
2674
|
},
|
2672
2675
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | render-blocking-resources": {
|
2673
|
-
"message": "
|
2676
|
+
"message": "Consider using [a module](https://www.drupal.org/project/critical_css) to inline critical CSS and JavaScript, and use the defer attribute for non-critical CSS or JavaScript."
|
2674
2677
|
},
|
2675
2678
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | server-response-time": {
|
2676
|
-
"message": "
|
2679
|
+
"message": "Offload traffic with one or more `Drupal` caching modules such as `Internal Page Cache`, `Internal Dynamic Page Cache`, and `BigPipe`. Couple these with a CDN to further improve response time. Your hosting servers should make use of PHP OPcache. Consider using memory-caching such as Redis or Memcached to reduce database query times. Lastly use performant themes, modules, and faster servers to lower server response time."
|
2677
2680
|
},
|
2678
2681
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | total-byte-weight": {
|
2679
|
-
"message": "
|
2682
|
+
"message": "Consider using [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) to reduce the size of images loaded on your page. If you are using `Views` to show multiple content items on a page, consider implementing pagination to limit the number of content items shown on a given page."
|
2680
2683
|
},
|
2681
2684
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-css": {
|
2682
|
-
"message": "
|
2685
|
+
"message": "Ensure you have enabled \"Aggregate CSS files\" in the \"Administration » Configuration » Development\" page."
|
2683
2686
|
},
|
2684
2687
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-javascript": {
|
2685
|
-
"message": "
|
2688
|
+
"message": "Ensure you have enabled \"Aggregate JavaScript files\" in the \"Administration » Configuration » Development\" page."
|
2686
2689
|
},
|
2687
2690
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unused-css-rules": {
|
2688
|
-
"message": "
|
2691
|
+
"message": "Consider removing unused CSS rules and only attach the needed `Drupal` libraries to the relevant page or component in a page. See the [`Drupal` documentation](https://www.drupal.org/docs/develop/theming-drupal/adding-assets-css-js-to-a-drupal-theme-via-librariesyml#define) for details. To identify attached libraries that are adding extraneous CSS, try running [code coverage](https://developer.chrome.com/docs/devtools/coverage) in Chrome DevTools. You can identify the theme/module responsible from the URL of the stylesheet when CSS aggregation is disabled in your `Drupal` site. Look out for themes/modules that have many stylesheets in the list which have a lot of red in code coverage. A theme/module should only attach a stylesheet library if it is actually used on the page."
|
2689
2692
|
},
|
2690
2693
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unused-javascript": {
|
2691
|
-
"message": "
|
2694
|
+
"message": "Consider removing unused JavaScript assets and only attach the needed `Drupal` libraries to the relevant page or component in a page. See the [Drupal documentation](https://www.drupal.org/docs/develop/theming-drupal/adding-assets-css-js-to-a-drupal-theme-via-librariesyml#define) for details. To identify attached libraries that are adding extraneous JavaScript, try running [code coverage](https://developer.chrome.com/docs/devtools/coverage) in Chrome DevTools. You can identify the theme/module responsible from the URL of the script when JavaScript aggregation is disabled in your `Drupal` site. Look out for themes/modules that have many scripts in the list which have a lot of red in code coverage. A theme/module should only attach a script library if it is actually used on the page."
|
2692
2695
|
},
|
2693
2696
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-long-cache-ttl": {
|
2694
|
-
"message": "
|
2697
|
+
"message": "Set the \"Browser and proxy cache maximum age\" in the \"Administration » Configuration » Development\" page. Read about [`Drupal` cache and optimizing for performance](https://www.drupal.org/docs/8/api/cache-api/cache-api)."
|
2695
2698
|
},
|
2696
2699
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-optimized-images": {
|
2697
|
-
"message": "
|
2700
|
+
"message": "Consider using [a module](https://www.drupal.org/project/project_module?f%5B0%5D=&f%5B1%5D=&f%5B2%5D=im_vid_3%3A123&f%5B3%5D=&f%5B4%5D=sm_field_project_type%3Afull&f%5B5%5D=&f%5B6%5D=&text=image&solrsort=iss_project_release_usage+desc&op=Search) that automatically optimizes and reduces the size of images uploaded through the site while retaining quality. Also, ensure you are using the native [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) provided from `Drupal` for all images rendered on the site."
|
2698
2701
|
},
|
2699
2702
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-rel-preconnect": {
|
2700
|
-
"message": "
|
2703
|
+
"message": "`Preconnect` or `dns-prefetch` resource hints can be added by installing and configuring [a module](https://www.drupal.org/project/project_module?f%5B0%5D=&f%5B1%5D=&f%5B2%5D=&f%5B3%5D=&f%5B4%5D=sm_field_project_type%3Afull&f%5B5%5D=&f%5B6%5D=&text=Preconnect&solrsort=score+desc&op=Search) that provides facilities for user agent resource hints."
|
2701
2704
|
},
|
2702
2705
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-responsive-images": {
|
2703
|
-
"message": "
|
2706
|
+
"message": "Ensure that you are using the native [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) provided from `Drupal`. Use the Responsive Image Styles when rendering image fields through view modes, views, or images uploaded through the WYSIWYG editor."
|
2707
|
+
},
|
2708
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-text-compression": {
|
2709
|
+
"message": "Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. Consider using a CDN that natively supports this, or configure the web server to perform this operation. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/text-compression)."
|
2704
2710
|
},
|
2705
2711
|
"node_modules/lighthouse-stack-packs/packs/ezoic.js | font-display": {
|
2706
2712
|
"message": "使用 [Ezoic Leap](https://pubdash.ezoic.com/speed) 並啟用 `Optimize Fonts` 以自動利用 `font-display` CSS 功能,確保系統在載入網站頁字型時使用者可以看到文字。"
|
@@ -2897,9 +2903,6 @@
|
|
2897
2903
|
"node_modules/lighthouse-stack-packs/packs/nitropack.js | render-blocking-resources": {
|
2898
2904
|
"message": "在 NitroPack 中啟用「[`Remove render-blocking resources`](https://support.nitropack.io/hc/en-us/articles/13820893500049-How-to-Deal-with-Render-Blocking-Resources-in-NitroPack)」,加快初始載入時間。"
|
2899
2905
|
},
|
2900
|
-
"node_modules/lighthouse-stack-packs/packs/nitropack.js | server-response-time": {
|
2901
|
-
"message": "啟用「[`Instant Load`](https://support.nitropack.io/hc/en-us/articles/16547340617361)」以改善伺服器回應時間,並優化使用者感知到的效能。"
|
2902
|
-
},
|
2903
2906
|
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unminified-css": {
|
2904
2907
|
"message": "在「快取」設定中啟用「[`Minify resources`](https://support.nitropack.io/hc/en-us/articles/360061059394-Minify-Resources)」,可縮減 CSS、HTML 和 JavaScript 檔案的大小,以縮短載入時間。"
|
2905
2908
|
},
|
@@ -3033,7 +3036,7 @@
|
|
3033
3036
|
"message": "部分 WordPress 外掛程式可助您[內嵌重要資產](https://wordpress.org/plugins/search/critical+css/)或[延後載入較不重要的資源](https://wordpress.org/plugins/search/defer+css+javascript/)。請注意,這些外掛程式的優化設定可能影響主題或外掛程式的功能,因此您可能需要變更程式碼。"
|
3034
3037
|
},
|
3035
3038
|
"node_modules/lighthouse-stack-packs/packs/wordpress.js | server-response-time": {
|
3036
|
-
"message": "
|
3039
|
+
"message": "Choose a lightweight theme (ideally a block theme) and implement full-page caching or a static site solution. Disable unnecessary plugins to minimize server overhead. Consider upgrading your hosting to managed or dedicated service."
|
3037
3040
|
},
|
3038
3041
|
"node_modules/lighthouse-stack-packs/packs/wordpress.js | total-byte-weight": {
|
3039
3042
|
"message": "建議在文章清單中顯示摘錄 (例如加入更多標籤)、減少特定頁面顯示的文章數量、將較長的文章分為多個頁面,或使用可延遲載入留言的外掛程式。"
|