chrome-devtools-frontend 1.0.1675430 → 1.0.1676824
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/WATCHLISTS +0 -4
- package/front_end/core/common/Settings.ts +0 -66
- package/front_end/core/root/Runtime.ts +0 -5
- package/front_end/core/sdk/CSSMetadata.ts +5 -9
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +8 -28
- package/front_end/core/sdk/DebuggerModel.ts +50 -30
- package/front_end/core/sdk/ResourceTreeModel.ts +20 -1
- package/front_end/core/sdk/Script.ts +9 -53
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +213 -23
- package/front_end/entrypoints/main/MainImpl.ts +31 -0
- package/front_end/generated/InspectorBackendCommands.ts +3 -1
- package/front_end/generated/SupportedCSSProperties.ts +21 -4
- package/front_end/generated/protocol-mapping.d.ts +14 -0
- package/front_end/generated/protocol-proxy-api.d.ts +10 -0
- package/front_end/generated/protocol.ts +35 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +11 -0
- package/front_end/models/ai_assistance/AiConversation.ts +22 -5
- package/front_end/models/ai_assistance/README.md +52 -26
- package/front_end/models/ai_assistance/agents/AiAgent.ts +54 -8
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +7 -194
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +8 -87
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -1
- package/front_end/models/ai_assistance/ai_assistance.ts +16 -0
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +124 -0
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +111 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +69 -1
- package/front_end/models/ai_assistance/skills/README.md +63 -1
- package/front_end/models/ai_assistance/skills/Skill.ts +1 -1
- package/front_end/models/ai_assistance/skills/SkillRegistry.ts +4 -0
- package/front_end/models/ai_assistance/skills/performance.md +8 -0
- package/front_end/models/ai_assistance/skills/sources.md +16 -0
- package/front_end/models/ai_assistance/skills/storage.md +31 -0
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +101 -0
- package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +83 -0
- package/front_end/models/ai_assistance/tools/GetTraceMainThreadSummary.ts +106 -0
- package/front_end/models/ai_assistance/tools/GetTraceNetworkSummary.ts +104 -0
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +81 -0
- package/front_end/models/ai_assistance/tools/ListSources.ts +116 -0
- package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +90 -0
- package/front_end/models/ai_assistance/tools/Tool.ts +22 -1
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +14 -0
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +4 -0
- package/front_end/models/bindings/CompilerScriptMapping.ts +4 -0
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +8 -0
- package/front_end/models/bindings/ResourceScriptMapping.ts +3 -201
- package/front_end/models/bindings/SASSSourceMapping.ts +6 -0
- package/front_end/models/breakpoints/BreakpointManager.ts +2 -49
- package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +27 -0
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +10 -2
- package/front_end/models/issues_manager/descriptions/connectionAllowlistEmbeddingRequirementNotSatisfied.md +26 -0
- package/front_end/models/issues_manager/descriptions/connectionAllowlistIFrameAttributeLoosensEmbeddingRequirement.md +19 -0
- package/front_end/models/issues_manager/descriptions/connectionAllowlistInvalidAllowConnectionAllowlistFrom.md +21 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +1 -1
- package/front_end/models/persistence/IsolatedFileSystem.ts +7 -8
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
- package/front_end/models/persistence/PlatformFileSystem.ts +1 -1
- package/front_end/models/persistence/persistence-meta.ts +9 -9
- package/front_end/models/trace/types/TraceEvents.ts +36 -0
- package/front_end/panels/accessibility/ARIAAttributesView.ts +3 -3
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +36 -36
- package/front_end/panels/accessibility/AccessibilityStrings.ts +168 -168
- package/front_end/panels/accessibility/SourceOrderView.ts +7 -7
- package/front_end/panels/accessibility/accessibility-meta.ts +2 -2
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +5 -5
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +27 -2
- package/front_end/panels/application/IndexedDBViews.ts +65 -63
- package/front_end/panels/application/WebMCPView.ts +16 -7
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +5 -5
- package/front_end/panels/common/BadgeNotification.ts +8 -8
- package/front_end/panels/common/ExtensionServer.ts +21 -1
- package/front_end/panels/common/GdpSignUpDialog.ts +16 -16
- package/front_end/panels/common/GeminiRebrandPromoDialog.ts +5 -6
- package/front_end/panels/common/PersistenceUtils.ts +2 -2
- package/front_end/panels/common/common.ts +0 -97
- package/front_end/panels/console/ConsoleInsightTeaser.ts +2 -2
- package/front_end/panels/console/ConsolePinPane.ts +2 -2
- package/front_end/panels/console/ConsoleView.ts +20 -19
- package/front_end/panels/elements/LayoutPane.ts +2 -8
- package/front_end/panels/event_listeners/EventListenersView.ts +8 -4
- package/front_end/panels/issues/AffectedTrackingSitesView.ts +25 -14
- package/front_end/panels/media/PlayerMessagesView.ts +149 -68
- package/front_end/panels/network/NetworkPanel.ts +1 -1
- package/front_end/panels/network/RequestPayloadView.ts +1 -0
- package/front_end/panels/profiler/HeapSnapshotView.ts +0 -2
- package/front_end/panels/profiler/heapProfiler.css +0 -9
- package/front_end/panels/recorder/RecorderPanel.ts +2 -3
- package/front_end/panels/screencast/ScreencastView.ts +148 -138
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +9 -58
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +1 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +3 -8
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +4 -2
- package/front_end/panels/timeline/TimelineController.ts +36 -64
- package/front_end/panels/timeline/TimelinePanel.ts +11 -8
- package/front_end/panels/timeline/TimelineUIUtils.ts +5 -2
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +2 -2
- package/front_end/panels/timeline/timelinePanel.css +0 -10
- package/front_end/panels/utils/utils.ts +7 -7
- package/front_end/services/tracing/PerformanceTracing.ts +5 -17
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
- package/front_end/third_party/codemirror.next/package.json +2 -2
- package/front_end/third_party/codemirror.next/rebuild.sh +4 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +436 -10
- package/front_end/ui/comments/CommentManager.ts +640 -0
- package/front_end/ui/comments/CommentsOverlayWidget.ts +121 -0
- package/front_end/ui/comments/comments.ts +4 -0
- package/front_end/ui/comments/commentsOverlay.css +49 -0
- package/front_end/{panels/common → ui/components/dialogs}/FreDialog.ts +6 -6
- package/front_end/ui/components/dialogs/TypeToAllowDialog.ts +96 -0
- package/front_end/ui/components/dialogs/dialogs.ts +4 -0
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -3
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeCompletionDisclaimer.ts +13 -13
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +7 -6
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeCompletionTeaser.ts +43 -46
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +22 -26
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeGenerationTeaser.ts +10 -10
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeGenerationUpgradeDialog.ts +5 -5
- package/front_end/ui/components/text_editor/text_editor.ts +4 -0
- package/front_end/ui/legacy/Toolbar.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +11 -3
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +270 -162
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +5 -0
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -16
- package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +5 -12
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +8 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +2 -2
- package/front_end/ui/settings/SettingUIRegistration.ts +55 -6
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/mcp/mcp.ts +6 -1
- package/package.json +1 -1
- package/front_end/Images/toolbarResizerVertical.png +0 -0
- package/front_end/emulated_devices/MotoG4-landscape.svg +0 -155
- package/front_end/emulated_devices/MotoG4-portrait.svg +0 -155
- package/front_end/emulated_devices/Nexus5X-landscape.svg +0 -19
- package/front_end/emulated_devices/Nexus5X-portrait.svg +0 -19
- package/front_end/emulated_devices/Nexus6P-landscape.svg +0 -50
- package/front_end/emulated_devices/Nexus6P-portrait.svg +0 -54
- package/front_end/emulated_devices/google-nest-hub-horizontal.png +0 -0
- package/front_end/emulated_devices/google-nest-hub-max-horizontal.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-navigation-2x.png +0 -0
- package/front_end/emulated_devices/iPad-landscape.svg +0 -73
- package/front_end/emulated_devices/iPad-portrait.svg +0 -76
- package/front_end/emulated_devices/iPhone5-landscape.svg +0 -99
- package/front_end/emulated_devices/iPhone5-portrait.svg +0 -83
- package/front_end/emulated_devices/iPhone6-landscape.svg +0 -111
- package/front_end/emulated_devices/iPhone6-portrait.svg +0 -116
- package/front_end/emulated_devices/iPhone6Plus-landscape.svg +0 -118
- package/front_end/emulated_devices/iPhone6Plus-portrait.svg +0 -116
- package/front_end/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/README.md +0 -9
- package/front_end/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/iPad-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPad-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/optimized_images.gni +0 -53
- package/front_end/models/ai_assistance/agents/README.md +0 -136
- /package/front_end/{panels/common → ui/components/dialogs}/freDialog.css +0 -0
- /package/front_end/{panels/common/common.css → ui/components/dialogs/typeToAllowDialog.css} +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeCompletionDisclaimer.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeCompletionTeaser.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeGenerationTeaser.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeGenerationUpgradeDialog.css +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# A framed document did not accept its embedder's `Connection-Allowlist`.
|
|
2
|
+
|
|
3
|
+
An embedder can require a framed document to enforce a `Connection-Allowlist` by
|
|
4
|
+
setting the `connectionallowlist` attribute on the frame. The framed document
|
|
5
|
+
must agree, in one of two ways:
|
|
6
|
+
|
|
7
|
+
* by responding with an `Allow-Connection-Allowlist-From` header naming the
|
|
8
|
+
embedder's origin (or `*` to accept any embedder), which installs the
|
|
9
|
+
embedder's allowlist on the framed document, or
|
|
10
|
+
* by responding with a `Connection-Allowlist` header of its own that is at
|
|
11
|
+
least as strict as the one required, which is then enforced instead.
|
|
12
|
+
|
|
13
|
+
This response did neither, so it was not displayed.
|
|
14
|
+
|
|
15
|
+
For example, a document framed by an embedder requiring
|
|
16
|
+
`("https://cdn.example/")` may accept that requirement outright:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
Allow-Connection-Allowlist-From: *
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
or satisfy it with an allowlist that is no more permissive:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Connection-Allowlist: ("https://cdn.example/")
|
|
26
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# A frame's `connectionallowlist` attribute was discarded.
|
|
2
|
+
|
|
3
|
+
An embedder can require a framed document to enforce a `Connection-Allowlist` by
|
|
4
|
+
setting the `connectionallowlist` attribute on the frame. When a requirement is
|
|
5
|
+
already in effect for the embedder itself, a nested frame's attribute may only
|
|
6
|
+
make that requirement stricter, never looser.
|
|
7
|
+
|
|
8
|
+
This frame's attribute allowed connections that the requirement it inherits from
|
|
9
|
+
an ancestor does not, so the attribute was discarded and the inherited
|
|
10
|
+
requirement applies unchanged.
|
|
11
|
+
|
|
12
|
+
For example, the nested frame below cannot re-admit `https://example.com/`, so
|
|
13
|
+
it inherits `("https://cdn.example/")` rather than the value it asked for:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
<!-- Framed by an ancestor that requires ("https://cdn.example/"): -->
|
|
17
|
+
<iframe connectionallowlist='("https://cdn.example/" "https://example.com/")'
|
|
18
|
+
src="..."></iframe>
|
|
19
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# The `Allow-Connection-Allowlist-From` header is invalid.
|
|
2
|
+
|
|
3
|
+
A document that is framed by an embedder requiring a `Connection-Allowlist` can
|
|
4
|
+
accept that requirement by responding with an `Allow-Connection-Allowlist-From`
|
|
5
|
+
header. The header's value must be either `*`, or a single serialized origin
|
|
6
|
+
naming the embedder whose requirement it is willing to accept.
|
|
7
|
+
|
|
8
|
+
This response's header was neither, so it could not be used to accept the
|
|
9
|
+
embedder's requirement.
|
|
10
|
+
|
|
11
|
+
For example, both of the following are valid:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Allow-Connection-Allowlist-From: *
|
|
15
|
+
Allow-Connection-Allowlist-From: https://example.com
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Note that an origin's serialization has no trailing slash, and carries no path,
|
|
19
|
+
query, or userinfo. Values like `https://example.com/` and
|
|
20
|
+
`https://user@example.com/path` are therefore rejected rather than being
|
|
21
|
+
silently reinterpreted as `https://example.com`.
|
|
@@ -13,14 +13,14 @@ import {Events as PlatformFileSystemEvents, PlatformFileSystem, PlatformFileSyst
|
|
|
13
13
|
|
|
14
14
|
const UIStrings = {
|
|
15
15
|
/**
|
|
16
|
-
* @description Text in
|
|
16
|
+
* @description Text in isolated file system of workspace settings in Settings.
|
|
17
17
|
* @example {folder does not exist} PH1
|
|
18
18
|
*/
|
|
19
19
|
fileSystemErrorS: 'File system error: {PH1}',
|
|
20
20
|
/**
|
|
21
|
-
* @description Error message when reading a remote blob
|
|
21
|
+
* @description Error message when reading a remote blob.
|
|
22
22
|
*/
|
|
23
|
-
blobCouldNotBeLoaded: 'Blob
|
|
23
|
+
blobCouldNotBeLoaded: 'Blob couldn’t be loaded',
|
|
24
24
|
/**
|
|
25
25
|
* @description Error message when reading a file.
|
|
26
26
|
* @example {c:\dir\file.js} PH1
|
|
@@ -28,18 +28,17 @@ const UIStrings = {
|
|
|
28
28
|
*/
|
|
29
29
|
cantReadFileSS: 'Can’t read file: {PH1}: {PH2}',
|
|
30
30
|
/**
|
|
31
|
-
* @description Text to show something is linked to another
|
|
31
|
+
* @description Text to show something is linked to another.
|
|
32
32
|
* @example {example.url} PH1
|
|
33
33
|
*/
|
|
34
34
|
linkedToS: 'Linked to {PH1}',
|
|
35
35
|
/**
|
|
36
|
-
* @description Error message shown when
|
|
36
|
+
* @description Error message shown when DevTools failed to create a file system directory.
|
|
37
37
|
* @example {path/} PH1
|
|
38
38
|
*/
|
|
39
|
-
createDirFailedBecausePathIsFile:
|
|
40
|
-
'Overrides: Failed to create directory {PH1} because the path exists and is a file.',
|
|
39
|
+
createDirFailedBecausePathIsFile: 'Overrides: Failed to create directory {PH1} because the path exists and is a file',
|
|
41
40
|
/**
|
|
42
|
-
* @description Error message shown when
|
|
41
|
+
* @description Error message shown when DevTools failed to create a file system directory.
|
|
43
42
|
* @example {path/} PH1
|
|
44
43
|
*/
|
|
45
44
|
createDirFailed: 'Overrides: Failed to create directory {PH1}. Are the workspace or overrides configured correctly?',
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
|
|
19
19
|
const UIStrings = {
|
|
20
20
|
/**
|
|
21
|
-
* @description Text in
|
|
21
|
+
* @description Text in isolated file system manager of workspace settings in Settings.
|
|
22
22
|
* @example {folder does not exist} PH1
|
|
23
23
|
*/
|
|
24
|
-
unableToAddFilesystemS: '
|
|
24
|
+
unableToAddFilesystemS: 'Can’t add file system: {PH1}',
|
|
25
25
|
} as const;
|
|
26
26
|
const str_ = i18n.i18n.registerUIStrings('models/persistence/IsolatedFileSystemManager.ts', UIStrings);
|
|
27
27
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -11,7 +11,7 @@ const UIStrings = {
|
|
|
11
11
|
/**
|
|
12
12
|
* @description Assertion error message when failing to load a file.
|
|
13
13
|
*/
|
|
14
|
-
unableToReadFilesWithThis: '`PlatformFileSystem`
|
|
14
|
+
unableToReadFilesWithThis: '`PlatformFileSystem` can’t read files',
|
|
15
15
|
} as const;
|
|
16
16
|
const str_ = i18n.i18n.registerUIStrings('models/persistence/PlatformFileSystem.ts', UIStrings);
|
|
17
17
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -7,36 +7,36 @@ import * as i18n from '../../core/i18n/i18n.js';
|
|
|
7
7
|
|
|
8
8
|
const UIStrings = {
|
|
9
9
|
/**
|
|
10
|
-
* @description Title of a setting under the Persistence category in Settings
|
|
10
|
+
* @description Title of a setting under the Persistence category in Settings.
|
|
11
11
|
*/
|
|
12
12
|
localOverrides: 'Local overrides',
|
|
13
13
|
/**
|
|
14
|
-
* @description A tag of
|
|
14
|
+
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
15
15
|
*/
|
|
16
16
|
interception: 'interception',
|
|
17
17
|
/**
|
|
18
|
-
* @description A tag of
|
|
18
|
+
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
19
19
|
*/
|
|
20
20
|
override: 'override',
|
|
21
21
|
/**
|
|
22
|
-
* @description A tag of
|
|
22
|
+
* @description A tag of group network by frame setting that can be searched in the command menu.
|
|
23
23
|
*/
|
|
24
24
|
network: 'network',
|
|
25
25
|
/**
|
|
26
|
-
* @description A tag of
|
|
26
|
+
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
27
27
|
*/
|
|
28
28
|
rewrite: 'rewrite',
|
|
29
29
|
/**
|
|
30
|
-
* @description A tag of
|
|
31
|
-
*Noun for network request.
|
|
30
|
+
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
31
|
+
* Noun for network request.
|
|
32
32
|
*/
|
|
33
33
|
request: 'request',
|
|
34
34
|
/**
|
|
35
|
-
* @description Title of an option under the Persistence category that can be invoked through the
|
|
35
|
+
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
36
36
|
*/
|
|
37
37
|
enableOverrideNetworkRequests: 'Enable override network requests',
|
|
38
38
|
/**
|
|
39
|
-
* @description Title of an option under the Persistence category that can be invoked through the
|
|
39
|
+
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
40
40
|
*/
|
|
41
41
|
disableOverrideNetworkRequests: 'Disable override network requests',
|
|
42
42
|
} as const;
|
|
@@ -3277,6 +3277,42 @@ export const Categories = {
|
|
|
3277
3277
|
Loading: 'loading',
|
|
3278
3278
|
} as const;
|
|
3279
3279
|
|
|
3280
|
+
export const DefaultCategories = [
|
|
3281
|
+
'blink.console',
|
|
3282
|
+
'blink.user_timing',
|
|
3283
|
+
'loading',
|
|
3284
|
+
'devtools.timeline',
|
|
3285
|
+
'disabled-by-default-devtools.target-rundown',
|
|
3286
|
+
'disabled-by-default-devtools.timeline.frame',
|
|
3287
|
+
'disabled-by-default-devtools.timeline.stack',
|
|
3288
|
+
'disabled-by-default-devtools.timeline',
|
|
3289
|
+
'disabled-by-default-devtools.v8-source-rundown-sources',
|
|
3290
|
+
'disabled-by-default-devtools.v8-source-rundown',
|
|
3291
|
+
'disabled-by-default-layout_shift.debug',
|
|
3292
|
+
'disabled-by-default-v8.inspector',
|
|
3293
|
+
'disabled-by-default-v8.cpu_profiler.hires',
|
|
3294
|
+
'disabled-by-default-lighthouse',
|
|
3295
|
+
'v8.execute',
|
|
3296
|
+
'v8',
|
|
3297
|
+
'cppgc',
|
|
3298
|
+
'navigation,rail',
|
|
3299
|
+
] as const;
|
|
3300
|
+
|
|
3301
|
+
export const OptionalCategories = {
|
|
3302
|
+
JsSampling: ['disabled-by-default-v8.cpu_profiler'],
|
|
3303
|
+
InvalidationTracking: ['disabled-by-default-devtools.timeline.invalidationTracking'],
|
|
3304
|
+
AdvancedPaint: [
|
|
3305
|
+
'disabled-by-default-devtools.timeline.layers',
|
|
3306
|
+
'disabled-by-default-devtools.timeline.picture',
|
|
3307
|
+
'disabled-by-default-blink.graphics_context_annotations',
|
|
3308
|
+
],
|
|
3309
|
+
Screenshot: ['disabled-by-default-devtools.screenshot'],
|
|
3310
|
+
CssSelectorStats: [
|
|
3311
|
+
'disabled-by-default-blink.debug',
|
|
3312
|
+
'disabled-by-default-devtools.timeline.invalidationTracking',
|
|
3313
|
+
],
|
|
3314
|
+
} as const;
|
|
3315
|
+
|
|
3280
3316
|
/**
|
|
3281
3317
|
* The frames implementation in handlers/FramesHandler is considered "legacy"
|
|
3282
3318
|
* in that it is based on the old TimelineModel implementation rather than
|
|
@@ -15,11 +15,11 @@ import {ariaMetadata} from './ARIAMetadata.js';
|
|
|
15
15
|
|
|
16
16
|
const UIStrings = {
|
|
17
17
|
/**
|
|
18
|
-
* @description Text in
|
|
18
|
+
* @description Text in the ARIA attributes view under the Accessibility tab in the Elements panel.
|
|
19
19
|
*/
|
|
20
|
-
ariaAttributes: 'ARIA
|
|
20
|
+
ariaAttributes: 'ARIA attributes',
|
|
21
21
|
/**
|
|
22
|
-
* @description Text in
|
|
22
|
+
* @description Text in the ARIA attributes view under the Accessibility tab in the Elements panel.
|
|
23
23
|
*/
|
|
24
24
|
noAriaAttributes: 'No ARIA attributes',
|
|
25
25
|
} as const;
|
|
@@ -20,105 +20,105 @@ import {AccessibilitySubPane} from './AccessibilitySubPane.js';
|
|
|
20
20
|
|
|
21
21
|
const UIStrings = {
|
|
22
22
|
/**
|
|
23
|
-
* @description Text in
|
|
23
|
+
* @description Text in the computed properties view under the Accessibility tab in the Elements panel.
|
|
24
24
|
*/
|
|
25
|
-
computedProperties: 'Computed
|
|
25
|
+
computedProperties: 'Computed properties',
|
|
26
26
|
/**
|
|
27
|
-
* @description Text in Accessibility
|
|
27
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
28
28
|
*/
|
|
29
29
|
noAccessibilityNode: 'No accessibility node',
|
|
30
30
|
/**
|
|
31
|
-
* @description Text in Accessibility
|
|
31
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
32
32
|
*/
|
|
33
33
|
accessibilityNodeNotExposed: 'Accessibility node not exposed',
|
|
34
34
|
/**
|
|
35
|
-
* @description Text in Accessibility
|
|
35
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
36
36
|
*/
|
|
37
|
-
invalidSource: 'Invalid source
|
|
37
|
+
invalidSource: 'Invalid source',
|
|
38
38
|
/**
|
|
39
|
-
* @description Text in Accessibility
|
|
39
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
40
40
|
*/
|
|
41
41
|
notSpecified: 'Not specified',
|
|
42
42
|
/**
|
|
43
|
-
* @description Text in Accessibility
|
|
43
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
44
44
|
*/
|
|
45
|
-
noNodeWithThisId: 'No node with this ID
|
|
45
|
+
noNodeWithThisId: 'No node with this ID',
|
|
46
46
|
/**
|
|
47
|
-
* @description Text
|
|
47
|
+
* @description Text that appears in the Accessibility tab in the Elements panel when an element is covered by a modal or pop-up window.
|
|
48
48
|
*/
|
|
49
49
|
elementIsHiddenBy: 'Element is hidden by active modal dialog:\xA0',
|
|
50
50
|
/**
|
|
51
|
-
* @description Text
|
|
51
|
+
* @description Text that appears in the Accessibility tab in the Elements panel when an element is hidden by another accessibility tree.
|
|
52
52
|
*/
|
|
53
53
|
elementIsHiddenByChildTree: 'Element is hidden by child tree:\xA0',
|
|
54
54
|
/**
|
|
55
|
-
* @description Reason
|
|
55
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
56
56
|
*/
|
|
57
57
|
ancestorChildrenAreAll: 'Ancestor’s children are all presentational:\xA0',
|
|
58
58
|
/**
|
|
59
|
-
* @description Reason
|
|
59
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
60
60
|
* @example {aria-hidden} PH1
|
|
61
61
|
*/
|
|
62
62
|
elementIsPlaceholder: 'Element is {PH1}.',
|
|
63
63
|
/**
|
|
64
|
-
* @description Reason
|
|
64
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
65
65
|
* @example {aria-hidden} PH1
|
|
66
66
|
* @example {true} PH2
|
|
67
67
|
*/
|
|
68
68
|
placeholderIsPlaceholderOnAncestor: '{PH1} is {PH2} on ancestor:\xA0',
|
|
69
69
|
/**
|
|
70
|
-
* @description Text in Accessibility
|
|
70
|
+
* @description Text in the Accessibility tab in the Elements panel.
|
|
71
71
|
*/
|
|
72
|
-
elementHasEmptyAltText: 'Element has empty alt text
|
|
72
|
+
elementHasEmptyAltText: 'Element has empty alt text',
|
|
73
73
|
/**
|
|
74
|
-
* @description Reason
|
|
74
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
75
75
|
*/
|
|
76
|
-
noTextContent: 'No text content
|
|
76
|
+
noTextContent: 'No text content',
|
|
77
77
|
/**
|
|
78
|
-
* @description Reason
|
|
78
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
79
79
|
*/
|
|
80
|
-
elementIsInert: 'Element is `inert
|
|
80
|
+
elementIsInert: 'Element is `inert`',
|
|
81
81
|
/**
|
|
82
|
-
* @description Reason
|
|
82
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
83
83
|
*/
|
|
84
84
|
elementIsInAnInertSubTree: 'Element is in an `inert` subtree from\xA0',
|
|
85
85
|
/**
|
|
86
|
-
* @description Reason
|
|
86
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
87
87
|
*/
|
|
88
88
|
elementsInheritsPresentational: 'Element inherits presentational role from\xA0',
|
|
89
89
|
/**
|
|
90
|
-
* @description Reason
|
|
90
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
91
91
|
*/
|
|
92
92
|
partOfLabelElement: 'Part of label element:\xA0',
|
|
93
93
|
/**
|
|
94
|
-
* @description Reason
|
|
94
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
95
95
|
*/
|
|
96
96
|
labelFor: 'Label for\xA0',
|
|
97
97
|
/**
|
|
98
|
-
* @description Reason
|
|
98
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
99
99
|
*/
|
|
100
|
-
elementIsNotRendered: 'Element is not rendered
|
|
100
|
+
elementIsNotRendered: 'Element is not rendered',
|
|
101
101
|
/**
|
|
102
|
-
* @description Reason
|
|
102
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
103
103
|
*/
|
|
104
|
-
elementIsNotVisible: 'Element is not visible
|
|
104
|
+
elementIsNotVisible: 'Element is not visible',
|
|
105
105
|
/**
|
|
106
|
-
* @description Reason
|
|
107
|
-
*ARIA role for this element, which will always have the format 'role=', but with different roles
|
|
108
|
-
*(which are not translated). https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
|
|
106
|
+
* @description Reason in the Accessibility tab in the Elements panel. Indicates the
|
|
107
|
+
* ARIA role for this element, which will always have the format 'role=', but with different roles
|
|
108
|
+
* (which are not translated). https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
|
|
109
109
|
* @example {role=link} PH1
|
|
110
110
|
*/
|
|
111
111
|
elementHasPlaceholder: 'Element has {PH1}.',
|
|
112
112
|
/**
|
|
113
|
-
* @description Reason
|
|
113
|
+
* @description Reason in the Accessibility tab in the Elements panel.
|
|
114
114
|
*/
|
|
115
|
-
elementIsPresentational: 'Element is presentational
|
|
115
|
+
elementIsPresentational: 'Element is presentational',
|
|
116
116
|
/**
|
|
117
|
-
* @description Reason
|
|
117
|
+
* @description Reason in the Accessibility tab in the Elements panel. Here
|
|
118
118
|
* 'interesting' is from the perspective of the accessibility engine in Chrome. A non-interesting
|
|
119
|
-
* element doesn't have any special accessibility considerations
|
|
119
|
+
* element doesn't have any special accessibility considerations.
|
|
120
120
|
*/
|
|
121
|
-
elementNotInteresting: 'Element not interesting for accessibility
|
|
121
|
+
elementNotInteresting: 'Element not interesting for accessibility',
|
|
122
122
|
} as const;
|
|
123
123
|
const str_ = i18n.i18n.registerUIStrings('panels/accessibility/AccessibilityNodeView.ts', UIStrings);
|
|
124
124
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|