chrome-devtools-frontend 1.0.1657855 → 1.0.1661063
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/.agents/skills/evaluate-ai-css-completion/SKILL.md +133 -0
- package/.agents/skills/evaluate-ai-css-completion/scripts/evaluate.js +76 -0
- package/.agents/skills/migrate-chromium-test/SKILL.md +15 -70
- package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +37 -18
- package/.agents/skills/version-control/SKILL.md +8 -1
- package/AUTHORS +1 -0
- package/SECURITY.md +3 -0
- package/docs/get_the_code.md +6 -0
- package/eslint.config.mjs +7 -0
- package/extension-api/ExtensionAPI.d.ts +88 -0
- package/front_end/Tests.js +6 -6
- package/front_end/core/common/Gzip.ts +12 -5
- package/front_end/core/host/AidaClient.ts +35 -9
- package/front_end/core/host/GdpClient.ts +10 -7
- package/front_end/core/host/InspectorFrontendHost.ts +1 -0
- package/front_end/core/host/InspectorFrontendHostStub.ts +2 -0
- package/front_end/core/platform/StringUtilities.ts +55 -4
- package/front_end/core/sdk/AccessibilityModel.snapshot.txt +17 -0
- package/front_end/core/sdk/AccessibilityModel.ts +132 -2
- package/front_end/core/sdk/CPUThrottlingManager.ts +10 -5
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -5
- package/front_end/core/sdk/ConsoleModel.ts +5 -5
- package/front_end/core/sdk/DOMDebuggerModel.ts +7 -1
- package/front_end/core/sdk/DOMModel.ts +33 -18
- package/front_end/core/sdk/DebuggerModel.ts +4 -4
- package/front_end/core/sdk/EventBreakpointsModel.ts +2 -0
- package/front_end/core/sdk/FrameManager.ts +1 -0
- package/front_end/core/sdk/IsolateManager.ts +1 -0
- package/front_end/core/sdk/NetworkManager.ts +59 -11
- package/front_end/core/sdk/NetworkRequest.ts +38 -1
- package/front_end/core/sdk/OverlayModel.ts +45 -6
- package/front_end/core/sdk/PageResourceLoader.ts +2 -0
- package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
- package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
- package/front_end/core/sdk/ServerTiming.ts +17 -13
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +4 -2
- package/front_end/core/sdk/ServiceWorkerManager.ts +19 -5
- package/front_end/core/sdk/SourceMap.ts +5 -5
- package/front_end/core/sdk/SourceMapManager.ts +3 -2
- package/front_end/core/sdk/TargetManager.ts +14 -1
- package/front_end/core/sdk/TraceObject.ts +4 -2
- package/front_end/core/sdk/sdk-meta.ts +170 -0
- package/front_end/design_system_tokens.css +0 -5
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +5 -2
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +26 -4
- package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +8 -3
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +4 -4
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +2 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +36 -37
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +15 -33
- package/front_end/entrypoints/js_app/js_app.ts +6 -5
- package/front_end/entrypoints/main/GlobalAiButton.ts +4 -4
- package/front_end/entrypoints/main/MainImpl.ts +20 -22
- package/front_end/entrypoints/main/main-meta.ts +42 -42
- package/front_end/entrypoints/node_app/node_app.ts +3 -2
- package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
- package/front_end/foundation/Universe.ts +44 -1
- package/front_end/generated/InspectorBackendCommands.ts +2 -2
- package/front_end/generated/SupportedCSSProperties.js +19 -12
- package/front_end/generated/protocol.ts +3 -1
- package/front_end/models/ai_assistance/AiConversation.ts +19 -17
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +37 -14
- package/front_end/models/ai_assistance/AiUtils.ts +38 -42
- package/front_end/models/ai_assistance/agents/AiAgent.ts +5 -1
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -1
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +270 -286
- package/front_end/models/ai_assistance/data_formatters/UnitFormatters.ts +20 -0
- package/front_end/models/ai_assistance/performance/AICallTree.ts +3 -1
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +3 -2
- package/front_end/models/autofill_manager/AutofillManager.ts +3 -1
- package/front_end/models/bindings/CompilerScriptMapping.ts +7 -7
- package/front_end/models/bindings/ContentProviderBasedProject.ts +4 -4
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +5 -5
- package/front_end/models/bindings/DefaultScriptMapping.ts +3 -3
- package/front_end/models/bindings/NetworkProject.ts +5 -10
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -1
- package/front_end/models/bindings/ResourceMapping.ts +3 -4
- package/front_end/models/bindings/ResourceScriptMapping.ts +2 -3
- package/front_end/models/bindings/ResourceUtils.ts +1 -1
- package/front_end/models/bindings/SASSSourceMapping.ts +11 -9
- package/front_end/models/bindings/StylesSourceMapping.ts +3 -3
- package/front_end/models/bindings/TempFile.ts +8 -3
- package/front_end/models/emulation/EmulatedDevices.ts +389 -8
- package/front_end/models/extensions/ExtensionAPI.ts +116 -52
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +13 -12
- package/front_end/models/formatter/ScriptFormatter.ts +8 -11
- package/front_end/models/issues_manager/BounceTrackingIssue.ts +1 -1
- package/front_end/models/issues_manager/ClientHintIssue.ts +1 -1
- package/front_end/models/issues_manager/ConnectionAllowlistIssue.ts +1 -1
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +7 -7
- package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +2 -2
- package/front_end/models/issues_manager/CookieIssue.ts +27 -16
- package/front_end/models/issues_manager/CorsIssue.ts +3 -3
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +2 -2
- package/front_end/models/issues_manager/DeprecationIssue.ts +3 -3
- package/front_end/models/issues_manager/EmailVerificationRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.ts +7 -7
- package/front_end/models/issues_manager/HeavyAdIssue.ts +3 -3
- package/front_end/models/issues_manager/Issue.ts +11 -12
- package/front_end/models/issues_manager/IssueAggregator.ts +0 -9
- package/front_end/models/issues_manager/IssueResolver.ts +2 -2
- package/front_end/models/issues_manager/IssuesManager.ts +136 -137
- package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
- package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +3 -3
- package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
- package/front_end/models/issues_manager/SelectivePermissionsInterventionIssue.ts +2 -2
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +2 -2
- package/front_end/models/issues_manager/SharedDictionaryIssue.ts +1 -1
- package/front_end/models/issues_manager/UnencodedDigestIssue.ts +3 -3
- package/front_end/models/issues_manager/issues_manager.ts +0 -2
- package/front_end/models/javascript_metadata/NativeFunctions.js +5 -1
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +5 -0
- package/front_end/models/source_map_scopes/FunctionCodeResolver.ts +13 -10
- package/front_end/models/stack_trace/StackTraceModel.ts +3 -3
- package/front_end/models/text_utils/ContentData.ts +27 -0
- package/front_end/models/trace/helpers/SamplesIntegrator.ts +21 -5
- package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +29 -14
- package/front_end/models/web_mcp/WebMCPModel.ts +24 -6
- package/front_end/models/workspace/IgnoreListManager.ts +6 -6
- package/front_end/models/workspace/UISourceCode.ts +3 -3
- package/front_end/models/workspace/WorkspaceImpl.ts +10 -1
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +10 -4
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -22
- package/front_end/panels/ai_assistance/ExportConversation.ts +3 -4
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +3 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -1
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +2 -2
- package/front_end/panels/animation/AnimationTimeline.ts +17 -19
- package/front_end/panels/animation/AnimationUI.ts +5 -5
- package/front_end/panels/animation/animation-meta.ts +2 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +4 -3
- package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -6
- package/front_end/panels/application/FrameDetailsView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +220 -266
- package/front_end/panels/application/OpenedWindowDetailsView.ts +1 -1
- package/front_end/panels/application/ResourcesPanel.ts +9 -2
- package/front_end/panels/application/ServiceWorkersView.ts +252 -211
- package/front_end/panels/application/StorageView.ts +97 -33
- package/front_end/panels/application/WebMCPView.ts +53 -44
- package/front_end/panels/application/components/AdsView.ts +201 -30
- package/front_end/panels/application/components/adsView.css +25 -0
- package/front_end/panels/application/indexedDBViews.css +38 -9
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -2
- package/front_end/panels/application/preloading/helper/PreloadingForward.ts +2 -1
- package/front_end/panels/application/storageView.css +26 -9
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +5 -1
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +8 -6
- package/front_end/panels/common/DOMLinkifier.ts +1 -1
- package/front_end/panels/common/ExtensionServer.ts +119 -14
- package/front_end/panels/console/ConsoleContextSelector.ts +1 -1
- package/front_end/panels/console/ConsolePinPane.ts +2 -2
- package/front_end/panels/console/ConsolePrompt.ts +2 -2
- package/front_end/panels/console/ConsoleView.ts +3 -2
- package/front_end/panels/console/PromptBuilder.ts +2 -1
- package/front_end/panels/console/SymbolizedErrorWidget.ts +2 -1
- package/front_end/panels/console_counters/WarningErrorCounter.ts +2 -2
- package/front_end/panels/coverage/CoverageListView.ts +28 -28
- package/front_end/panels/coverage/CoverageModel.ts +2 -1
- package/front_end/panels/coverage/CoverageView.ts +22 -22
- package/front_end/panels/coverage/coverage-meta.ts +5 -5
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +36 -36
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -1
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewStartView.ts +6 -6
- package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +6 -6
- package/front_end/panels/css_overview/css_overview-meta.ts +2 -2
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/elements/AccessibilityTreeUtils.ts +8 -102
- package/front_end/panels/elements/AccessibilityTreeView.ts +163 -70
- package/front_end/panels/elements/ElementsPanel.ts +17 -11
- package/front_end/panels/elements/ElementsTreeElement.ts +4 -1
- package/front_end/panels/elements/ElementsTreeOutline.ts +4 -4
- package/front_end/panels/elements/LayoutPane.ts +1 -1
- package/front_end/panels/elements/MetricsSidebarPane.ts +100 -34
- package/front_end/panels/elements/StylePropertiesSection.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -2
- package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +7 -18
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -2
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/emulation/DeviceModeView.ts +52 -70
- package/front_end/panels/issues/AffectedDirectivesView.ts +1 -1
- package/front_end/panels/issues/AffectedResourcesView.ts +2 -1
- package/front_end/panels/issues/IssueView.ts +0 -2
- package/front_end/panels/issues/IssuesPane.ts +1 -8
- package/front_end/panels/js_timeline/js_timeline-meta.ts +3 -2
- package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +3 -3
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +5 -5
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +4 -4
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +6 -6
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +8 -9
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +1 -1
- package/front_end/panels/linear_memory_inspector/linear_memory_inspector-meta.ts +2 -2
- package/front_end/panels/network/NetworkDataGridNode.ts +124 -36
- package/front_end/panels/network/NetworkLogView.ts +9 -1
- package/front_end/panels/network/NetworkLogViewColumns.ts +18 -0
- package/front_end/panels/network/NetworkPanel.ts +2 -1
- package/front_end/panels/network/RequestPayloadView.ts +68 -20
- package/front_end/panels/network/RequestPreviewView.ts +7 -1
- package/front_end/panels/network/RequestTimingView.ts +95 -127
- package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
- package/front_end/panels/network/forward/UIFilter.ts +1 -0
- package/front_end/panels/network/requestPayloadView.css +10 -0
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +12 -12
- package/front_end/panels/performance_monitor/performance_monitor-meta.ts +7 -7
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +2 -2
- package/front_end/panels/profiler/HeapProfileView.ts +563 -51
- package/front_end/panels/profiler/HeapSnapshotView.ts +14 -9
- package/front_end/panels/profiler/ProfilesPanel.ts +13 -7
- package/front_end/panels/profiler/WritableProfileHeader.ts +152 -0
- package/front_end/panels/profiler/profiler.ts +2 -2
- package/front_end/panels/recorder/{components/ControlButton.ts → ControlButton.ts} +9 -10
- package/front_end/panels/recorder/{components/CreateRecordingView.ts → CreateRecordingView.ts} +59 -58
- package/front_end/panels/recorder/ExtensionView.ts +123 -0
- package/front_end/panels/recorder/RecorderController.ts +102 -92
- package/front_end/panels/recorder/{components/RecordingListView.ts → RecordingListView.ts} +22 -23
- package/front_end/panels/recorder/{components/RecordingView.ts → RecordingView.ts} +99 -96
- package/front_end/panels/recorder/{components/ReplaySection.ts → ReplaySection.ts} +20 -20
- package/front_end/panels/recorder/{components/SelectorPicker.ts → SelectorPicker.ts} +13 -13
- package/front_end/panels/recorder/{components/StepEditor.ts → StepEditor.ts} +367 -336
- package/front_end/panels/recorder/{components/StepView.ts → StepView.ts} +48 -49
- package/front_end/panels/recorder/{components/TimelineSection.ts → TimelineSection.ts} +2 -2
- package/front_end/panels/recorder/models/RecorderSettings.ts +2 -2
- package/front_end/panels/recorder/recorder-meta.ts +7 -7
- package/front_end/panels/recorder/recorder.ts +23 -1
- package/front_end/panels/recorder/{components/recordingView.css → recordingView.css} +1 -1
- package/front_end/panels/recorder/util/util.ts +113 -0
- package/front_end/panels/screencast/ScreencastApp.ts +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +12 -12
- package/front_end/panels/search/SearchResultsPane.ts +4 -4
- package/front_end/panels/search/SearchView.ts +20 -20
- package/front_end/panels/security/SecurityModel.ts +7 -7
- package/front_end/panels/security/SecurityPanel.ts +99 -107
- package/front_end/panels/security/SecurityPanelSidebar.ts +7 -7
- package/front_end/panels/security/security-meta.ts +2 -2
- package/front_end/panels/sensors/LocationsSettingsTab.ts +19 -19
- package/front_end/panels/sensors/SensorsView.ts +27 -27
- package/front_end/panels/sensors/sensors-meta.ts +13 -167
- package/front_end/panels/settings/AISettingsTab.ts +98 -56
- package/front_end/panels/settings/EditFileSystemView.ts +2 -2
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +20 -20
- package/front_end/panels/settings/KeybindsSettingsTab.ts +20 -21
- package/front_end/panels/settings/SettingsScreen.ts +11 -11
- package/front_end/panels/settings/WorkspaceSettingsTab.ts +5 -5
- package/front_end/panels/settings/components/SyncSection.ts +12 -12
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +31 -31
- package/front_end/panels/settings/emulation/emulation-meta.ts +1 -1
- package/front_end/panels/settings/settings-meta.ts +14 -14
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +2 -2
- package/front_end/panels/sources/NavigatorView.ts +7 -6
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +83 -37
- package/front_end/panels/sources/SourcesNavigator.ts +22 -21
- package/front_end/panels/sources/SourcesView.ts +10 -1
- package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
- package/front_end/panels/sources/scopeChainSidebarPane.css +12 -4
- package/front_end/panels/sources/sources-meta.ts +4 -4
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +5 -2
- package/front_end/panels/timeline/IsolateSelector.ts +10 -8
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -1
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +20 -8
- package/front_end/panels/timeline/TimelineUIUtils.ts +149 -131
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +4 -2
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +4 -2
- package/front_end/panels/timeline/components/insights/ImageRef.ts +2 -1
- package/front_end/panels/timeline/timeline-meta.ts +3 -2
- package/front_end/panels/utils/utils.ts +7 -3
- package/front_end/panels/web_audio/WebAudioView.ts +17 -18
- package/front_end/panels/web_audio/web_audio-meta.ts +3 -3
- package/front_end/panels/whats_new/ReleaseNoteView.ts +1 -1
- package/front_end/panels/whats_new/whats_new-meta.ts +11 -11
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/lit/lib/async-directive.d.ts +2 -1
- package/front_end/third_party/lit/lib/async-directive.js +1 -1
- package/front_end/third_party/lit/lib/async-directive.js.map +1 -1
- package/front_end/third_party/lit/lib/decorators.d.ts +2 -1
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.d.ts +2 -1
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.d.ts +2 -1
- package/front_end/third_party/lit/lib/directives.js +8 -8
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +2 -1
- package/front_end/third_party/lit/lib/lit.js +1 -1
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.d.ts +2 -1
- package/front_end/third_party/lit/lib/static-html.js +1 -1
- package/front_end/third_party/lit/lib/static-html.js.map +1 -1
- package/front_end/third_party/lit/package.json +2 -2
- package/front_end/third_party/lit/rebuild.sh +1 -1
- package/front_end/third_party/lit/src/async-directive.ts +5 -0
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +1 -1
- package/front_end/ui/components/diff_view/DiffView.ts +2 -2
- package/front_end/ui/components/issue_counter/IssueCounter.ts +3 -3
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +5 -5
- package/front_end/ui/components/lists/List.ts +2 -2
- package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +5 -5
- package/front_end/ui/components/settings/SettingCheckbox.ts +1 -1
- package/front_end/ui/components/snackbars/Snackbar.ts +1 -1
- package/front_end/ui/components/survey_link/SurveyLink.ts +3 -3
- package/front_end/ui/components/text_editor/config.ts +2 -2
- package/front_end/ui/components/tree_outline/TreeOutline.ts +34 -1
- package/front_end/ui/legacy/ReportView.ts +5 -0
- package/front_end/ui/legacy/Treeoutline.ts +6 -0
- package/front_end/ui/legacy/View.ts +1 -1
- package/front_end/ui/legacy/Widget.ts +14 -15
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +8 -3
- package/front_end/ui/legacy/components/data_grid/data_grid.ts +1 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +106 -38
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +7 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +2 -1
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +4 -2
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +10 -1
- package/front_end/ui/legacy/inspectorCommon.css +5 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
- package/mcp/mcp.ts +2 -0
- package/package.json +4 -4
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +0 -247
- package/front_end/models/issues_manager/descriptions/arInsecureContext.md +0 -7
- package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +0 -6
- package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +0 -5
- package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +0 -4
- package/front_end/models/issues_manager/descriptions/arOsSourceIgnored.md +0 -18
- package/front_end/models/issues_manager/descriptions/arOsTriggerIgnored.md +0 -19
- package/front_end/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +0 -8
- package/front_end/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +0 -9
- package/front_end/models/issues_manager/descriptions/arSourceIgnored.md +0 -13
- package/front_end/models/issues_manager/descriptions/arTriggerIgnored.md +0 -12
- package/front_end/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +0 -10
- package/front_end/models/issues_manager/descriptions/arWebAndOsHeaders.md +0 -11
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +0 -182
- package/front_end/panels/profiler/ProfileView.ts +0 -611
- package/front_end/panels/recorder/components/ExtensionView.ts +0 -132
- package/front_end/panels/recorder/components/components.ts +0 -25
- package/front_end/panels/recorder/components/util.ts +0 -116
- /package/front_end/panels/recorder/{components/controlButton.css → controlButton.css} +0 -0
- /package/front_end/panels/recorder/{components/createRecordingView.css → createRecordingView.css} +0 -0
- /package/front_end/panels/recorder/{components/extensionView.css → extensionView.css} +0 -0
- /package/front_end/panels/recorder/{components/recordingListView.css → recordingListView.css} +0 -0
- /package/front_end/panels/recorder/{components/replaySection.css → replaySection.css} +0 -0
- /package/front_end/panels/recorder/{components/selectorPicker.css → selectorPicker.css} +0 -0
- /package/front_end/panels/recorder/{components/startView.css → startView.css} +0 -0
- /package/front_end/panels/recorder/{components/stepEditor.css → stepEditor.css} +0 -0
- /package/front_end/panels/recorder/{components/stepView.css → stepView.css} +0 -0
- /package/front_end/panels/recorder/{components/timelineSection.css → timelineSection.css} +0 -0
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import * as Common from '../../core/common/common.js';
|
|
9
9
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
10
|
+
import * as Root from '../../core/root/root.js';
|
|
10
11
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
11
12
|
import type * as Protocol from '../../generated/protocol.js';
|
|
12
13
|
|
|
@@ -575,22 +576,20 @@ enum Show {
|
|
|
575
576
|
/* eslint-enable @typescript-eslint/naming-convention */
|
|
576
577
|
}
|
|
577
578
|
|
|
578
|
-
let emulatedDevicesListInstance: EmulatedDevicesList;
|
|
579
|
-
|
|
580
579
|
export class EmulatedDevicesList extends Common.ObjectWrapper.ObjectWrapper<EventTypes> {
|
|
581
580
|
readonly #standardSetting: Common.Settings.Setting<any[]>;
|
|
582
581
|
#standard: Set<EmulatedDevice>;
|
|
583
582
|
readonly #customSetting: Common.Settings.Setting<any[]>;
|
|
584
583
|
readonly #custom: Set<EmulatedDevice>;
|
|
585
|
-
constructor() {
|
|
584
|
+
constructor(settings: Common.Settings.Settings = Common.Settings.Settings.instance()) {
|
|
586
585
|
super();
|
|
587
586
|
|
|
588
|
-
this.#standardSetting =
|
|
587
|
+
this.#standardSetting = settings.createSetting('standard-emulated-device-list', []);
|
|
589
588
|
this.#standard = new Set();
|
|
590
589
|
this.listFromJSONV1(this.#standardSetting.get(), this.#standard);
|
|
591
590
|
this.updateStandardDevices();
|
|
592
591
|
|
|
593
|
-
this.#customSetting =
|
|
592
|
+
this.#customSetting = settings.createSetting('custom-emulated-device-list', []);
|
|
594
593
|
this.#custom = new Set();
|
|
595
594
|
if (!this.listFromJSONV1(this.#customSetting.get(), this.#custom)) {
|
|
596
595
|
this.saveCustomDevices();
|
|
@@ -598,10 +597,10 @@ export class EmulatedDevicesList extends Common.ObjectWrapper.ObjectWrapper<Even
|
|
|
598
597
|
}
|
|
599
598
|
|
|
600
599
|
static instance(): EmulatedDevicesList {
|
|
601
|
-
if (!
|
|
602
|
-
|
|
600
|
+
if (!Root.DevToolsContext.globalInstance().has(EmulatedDevicesList)) {
|
|
601
|
+
Root.DevToolsContext.globalInstance().set(EmulatedDevicesList, new EmulatedDevicesList());
|
|
603
602
|
}
|
|
604
|
-
return
|
|
603
|
+
return Root.DevToolsContext.globalInstance().get(EmulatedDevicesList);
|
|
605
604
|
}
|
|
606
605
|
|
|
607
606
|
private updateStandardDevices(): void {
|
|
@@ -767,6 +766,7 @@ export interface JSONMode {
|
|
|
767
766
|
|
|
768
767
|
// These props should quoted for the script to work properly
|
|
769
768
|
/* eslint-disable @stylistic/quote-props */
|
|
769
|
+
// TODO(crbug.com/40718410): Add Android system navigation bar safe areas to the Pixel presets.
|
|
770
770
|
const emulatedDevices = [
|
|
771
771
|
// This is used by a python script to keep this list up-to-date with
|
|
772
772
|
// chromedriver native code.
|
|
@@ -815,6 +815,22 @@ const emulatedDevices = [
|
|
|
815
815
|
'user-agent-metadata':
|
|
816
816
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
817
817
|
'type': 'phone',
|
|
818
|
+
'modes': [
|
|
819
|
+
{
|
|
820
|
+
'title': 'default',
|
|
821
|
+
'orientation': 'vertical',
|
|
822
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
823
|
+
'safe-area-insets': {'left': 0, 'top': 44, 'right': 0, 'bottom': 34},
|
|
824
|
+
'cutout':
|
|
825
|
+
{'shape': 'notch', 'x': 92, 'y': 0, 'width': 231, 'height': 33, 'upper-radius': 6, 'lower-radius': 25},
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
'title': 'default',
|
|
829
|
+
'orientation': 'horizontal',
|
|
830
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
831
|
+
'safe-area-insets': {'left': 44, 'top': 0, 'right': 44, 'bottom': 21},
|
|
832
|
+
},
|
|
833
|
+
],
|
|
818
834
|
},
|
|
819
835
|
{
|
|
820
836
|
'order': 14,
|
|
@@ -837,6 +853,22 @@ const emulatedDevices = [
|
|
|
837
853
|
'user-agent-metadata':
|
|
838
854
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
839
855
|
'type': 'phone',
|
|
856
|
+
'modes': [
|
|
857
|
+
{
|
|
858
|
+
'title': 'default',
|
|
859
|
+
'orientation': 'vertical',
|
|
860
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
861
|
+
'safe-area-insets': {'left': 0, 'top': 47, 'right': 0, 'bottom': 34},
|
|
862
|
+
'cutout':
|
|
863
|
+
{'shape': 'notch', 'x': 90, 'y': 0, 'width': 210, 'height': 32, 'upper-radius': 6, 'lower-radius': 23},
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
'title': 'default',
|
|
867
|
+
'orientation': 'horizontal',
|
|
868
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
869
|
+
'safe-area-insets': {'left': 47, 'top': 0, 'right': 47, 'bottom': 21},
|
|
870
|
+
},
|
|
871
|
+
],
|
|
840
872
|
},
|
|
841
873
|
{
|
|
842
874
|
'order': 15,
|
|
@@ -859,6 +891,22 @@ const emulatedDevices = [
|
|
|
859
891
|
'user-agent-metadata':
|
|
860
892
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
861
893
|
'type': 'phone',
|
|
894
|
+
'modes': [
|
|
895
|
+
{
|
|
896
|
+
'title': 'default',
|
|
897
|
+
'orientation': 'vertical',
|
|
898
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
899
|
+
'safe-area-insets': {'left': 0, 'top': 47, 'right': 0, 'bottom': 34},
|
|
900
|
+
'cutout':
|
|
901
|
+
{'shape': 'notch', 'x': 114, 'y': 0, 'width': 162, 'height': 34, 'upper-radius': 5, 'lower-radius': 22},
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
'title': 'default',
|
|
905
|
+
'orientation': 'horizontal',
|
|
906
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
907
|
+
'safe-area-insets': {'left': 47, 'top': 0, 'right': 47, 'bottom': 21},
|
|
908
|
+
},
|
|
909
|
+
],
|
|
862
910
|
},
|
|
863
911
|
{
|
|
864
912
|
'order': 16,
|
|
@@ -881,6 +929,22 @@ const emulatedDevices = [
|
|
|
881
929
|
'user-agent-metadata':
|
|
882
930
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
883
931
|
'type': 'phone',
|
|
932
|
+
'modes': [
|
|
933
|
+
{
|
|
934
|
+
'title': 'default',
|
|
935
|
+
'orientation': 'vertical',
|
|
936
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
937
|
+
'safe-area-insets': {'left': 0, 'top': 47, 'right': 0, 'bottom': 34},
|
|
938
|
+
'cutout':
|
|
939
|
+
{'shape': 'notch', 'x': 133, 'y': 0, 'width': 161, 'height': 34, 'upper-radius': 5, 'lower-radius': 22},
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
'title': 'default',
|
|
943
|
+
'orientation': 'horizontal',
|
|
944
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
945
|
+
'safe-area-insets': {'left': 47, 'top': 0, 'right': 47, 'bottom': 21},
|
|
946
|
+
},
|
|
947
|
+
],
|
|
884
948
|
},
|
|
885
949
|
{
|
|
886
950
|
'order': 17,
|
|
@@ -903,6 +967,21 @@ const emulatedDevices = [
|
|
|
903
967
|
'user-agent-metadata':
|
|
904
968
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
905
969
|
'type': 'phone',
|
|
970
|
+
'modes': [
|
|
971
|
+
{
|
|
972
|
+
'title': 'default',
|
|
973
|
+
'orientation': 'vertical',
|
|
974
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
975
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
976
|
+
'cutout': {'shape': 'pill', 'x': 134, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
'title': 'default',
|
|
980
|
+
'orientation': 'horizontal',
|
|
981
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
982
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
983
|
+
},
|
|
984
|
+
],
|
|
906
985
|
},
|
|
907
986
|
{
|
|
908
987
|
'order': 18,
|
|
@@ -925,6 +1004,21 @@ const emulatedDevices = [
|
|
|
925
1004
|
'user-agent-metadata':
|
|
926
1005
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
927
1006
|
'type': 'phone',
|
|
1007
|
+
'modes': [
|
|
1008
|
+
{
|
|
1009
|
+
'title': 'default',
|
|
1010
|
+
'orientation': 'vertical',
|
|
1011
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1012
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1013
|
+
'cutout': {'shape': 'pill', 'x': 153, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
'title': 'default',
|
|
1017
|
+
'orientation': 'horizontal',
|
|
1018
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1019
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1020
|
+
},
|
|
1021
|
+
],
|
|
928
1022
|
},
|
|
929
1023
|
{
|
|
930
1024
|
'order': 19,
|
|
@@ -947,6 +1041,21 @@ const emulatedDevices = [
|
|
|
947
1041
|
'user-agent-metadata':
|
|
948
1042
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
949
1043
|
'type': 'phone',
|
|
1044
|
+
'modes': [
|
|
1045
|
+
{
|
|
1046
|
+
'title': 'default',
|
|
1047
|
+
'orientation': 'vertical',
|
|
1048
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1049
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1050
|
+
'cutout': {'shape': 'pill', 'x': 134, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
'title': 'default',
|
|
1054
|
+
'orientation': 'horizontal',
|
|
1055
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1056
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1057
|
+
},
|
|
1058
|
+
],
|
|
950
1059
|
},
|
|
951
1060
|
{
|
|
952
1061
|
'order': 20,
|
|
@@ -969,6 +1078,21 @@ const emulatedDevices = [
|
|
|
969
1078
|
'user-agent-metadata':
|
|
970
1079
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
971
1080
|
'type': 'phone',
|
|
1081
|
+
'modes': [
|
|
1082
|
+
{
|
|
1083
|
+
'title': 'default',
|
|
1084
|
+
'orientation': 'vertical',
|
|
1085
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1086
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1087
|
+
'cutout': {'shape': 'pill', 'x': 153, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
'title': 'default',
|
|
1091
|
+
'orientation': 'horizontal',
|
|
1092
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1093
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1094
|
+
},
|
|
1095
|
+
],
|
|
972
1096
|
},
|
|
973
1097
|
{
|
|
974
1098
|
'order': 21,
|
|
@@ -991,6 +1115,21 @@ const emulatedDevices = [
|
|
|
991
1115
|
'user-agent-metadata':
|
|
992
1116
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
993
1117
|
'type': 'phone',
|
|
1118
|
+
'modes': [
|
|
1119
|
+
{
|
|
1120
|
+
'title': 'default',
|
|
1121
|
+
'orientation': 'vertical',
|
|
1122
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1123
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1124
|
+
'cutout': {'shape': 'pill', 'x': 134, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
'title': 'default',
|
|
1128
|
+
'orientation': 'horizontal',
|
|
1129
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1130
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1131
|
+
},
|
|
1132
|
+
],
|
|
994
1133
|
},
|
|
995
1134
|
{
|
|
996
1135
|
'order': 22,
|
|
@@ -1013,6 +1152,21 @@ const emulatedDevices = [
|
|
|
1013
1152
|
'user-agent-metadata':
|
|
1014
1153
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1015
1154
|
'type': 'phone',
|
|
1155
|
+
'modes': [
|
|
1156
|
+
{
|
|
1157
|
+
'title': 'default',
|
|
1158
|
+
'orientation': 'vertical',
|
|
1159
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1160
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1161
|
+
'cutout': {'shape': 'pill', 'x': 153, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
'title': 'default',
|
|
1165
|
+
'orientation': 'horizontal',
|
|
1166
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1167
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1016
1170
|
},
|
|
1017
1171
|
{
|
|
1018
1172
|
'order': 23,
|
|
@@ -1035,6 +1189,22 @@ const emulatedDevices = [
|
|
|
1035
1189
|
'user-agent-metadata':
|
|
1036
1190
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1037
1191
|
'type': 'phone',
|
|
1192
|
+
'modes': [
|
|
1193
|
+
{
|
|
1194
|
+
'title': 'default',
|
|
1195
|
+
'orientation': 'vertical',
|
|
1196
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1197
|
+
'safe-area-insets': {'left': 0, 'top': 47, 'right': 0, 'bottom': 34},
|
|
1198
|
+
'cutout':
|
|
1199
|
+
{'shape': 'notch', 'x': 114, 'y': 0, 'width': 162, 'height': 34, 'upper-radius': 5, 'lower-radius': 22},
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
'title': 'default',
|
|
1203
|
+
'orientation': 'horizontal',
|
|
1204
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1205
|
+
'safe-area-insets': {'left': 47, 'top': 0, 'right': 47, 'bottom': 21},
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1038
1208
|
},
|
|
1039
1209
|
{
|
|
1040
1210
|
'order': 24,
|
|
@@ -1057,6 +1227,21 @@ const emulatedDevices = [
|
|
|
1057
1227
|
'user-agent-metadata':
|
|
1058
1228
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1059
1229
|
'type': 'phone',
|
|
1230
|
+
'modes': [
|
|
1231
|
+
{
|
|
1232
|
+
'title': 'default',
|
|
1233
|
+
'orientation': 'vertical',
|
|
1234
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1235
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1236
|
+
'cutout': {'shape': 'pill', 'x': 134, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
'title': 'default',
|
|
1240
|
+
'orientation': 'horizontal',
|
|
1241
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1242
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1243
|
+
},
|
|
1244
|
+
],
|
|
1060
1245
|
},
|
|
1061
1246
|
{
|
|
1062
1247
|
'order': 25,
|
|
@@ -1079,6 +1264,21 @@ const emulatedDevices = [
|
|
|
1079
1264
|
'user-agent-metadata':
|
|
1080
1265
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1081
1266
|
'type': 'phone',
|
|
1267
|
+
'modes': [
|
|
1268
|
+
{
|
|
1269
|
+
'title': 'default',
|
|
1270
|
+
'orientation': 'vertical',
|
|
1271
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1272
|
+
'safe-area-insets': {'left': 0, 'top': 59, 'right': 0, 'bottom': 34},
|
|
1273
|
+
'cutout': {'shape': 'pill', 'x': 153, 'y': 11, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
'title': 'default',
|
|
1277
|
+
'orientation': 'horizontal',
|
|
1278
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1279
|
+
'safe-area-insets': {'left': 59, 'top': 0, 'right': 59, 'bottom': 21},
|
|
1280
|
+
},
|
|
1281
|
+
],
|
|
1082
1282
|
},
|
|
1083
1283
|
{
|
|
1084
1284
|
'order': 26,
|
|
@@ -1101,6 +1301,21 @@ const emulatedDevices = [
|
|
|
1101
1301
|
'user-agent-metadata':
|
|
1102
1302
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1103
1303
|
'type': 'phone',
|
|
1304
|
+
'modes': [
|
|
1305
|
+
{
|
|
1306
|
+
'title': 'default',
|
|
1307
|
+
'orientation': 'vertical',
|
|
1308
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1309
|
+
'safe-area-insets': {'left': 0, 'top': 62, 'right': 0, 'bottom': 34},
|
|
1310
|
+
'cutout': {'shape': 'pill', 'x': 139, 'y': 14, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
'title': 'default',
|
|
1314
|
+
'orientation': 'horizontal',
|
|
1315
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1316
|
+
'safe-area-insets': {'left': 62, 'top': 0, 'right': 62, 'bottom': 21},
|
|
1317
|
+
},
|
|
1318
|
+
],
|
|
1104
1319
|
},
|
|
1105
1320
|
{
|
|
1106
1321
|
'order': 27,
|
|
@@ -1123,6 +1338,21 @@ const emulatedDevices = [
|
|
|
1123
1338
|
'user-agent-metadata':
|
|
1124
1339
|
{'platform': 'iOS', 'platformVersion': '18.5', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1125
1340
|
'type': 'phone',
|
|
1341
|
+
'modes': [
|
|
1342
|
+
{
|
|
1343
|
+
'title': 'default',
|
|
1344
|
+
'orientation': 'vertical',
|
|
1345
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1346
|
+
'safe-area-insets': {'left': 0, 'top': 62, 'right': 0, 'bottom': 34},
|
|
1347
|
+
'cutout': {'shape': 'pill', 'x': 158, 'y': 14, 'width': 125, 'height': 37, 'border-radius': 19},
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
'title': 'default',
|
|
1351
|
+
'orientation': 'horizontal',
|
|
1352
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1353
|
+
'safe-area-insets': {'left': 62, 'top': 0, 'right': 62, 'bottom': 21},
|
|
1354
|
+
},
|
|
1355
|
+
],
|
|
1126
1356
|
},
|
|
1127
1357
|
{
|
|
1128
1358
|
'order': 28,
|
|
@@ -1145,6 +1375,21 @@ const emulatedDevices = [
|
|
|
1145
1375
|
'user-agent-metadata':
|
|
1146
1376
|
{'platform': 'Android', 'platformVersion': '11', 'architecture': '', 'model': 'Pixel 3', 'mobile': true},
|
|
1147
1377
|
'type': 'phone',
|
|
1378
|
+
'modes': [
|
|
1379
|
+
{
|
|
1380
|
+
'title': 'default',
|
|
1381
|
+
'orientation': 'vertical',
|
|
1382
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1383
|
+
'safe-area-insets': {'left': 0, 'top': 45, 'right': 0, 'bottom': 0},
|
|
1384
|
+
'cutout': {'shape': 'rectangle', 'x': 126, 'y': 0, 'width': 141, 'height': 45},
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
'title': 'default',
|
|
1388
|
+
'orientation': 'horizontal',
|
|
1389
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1390
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 45, 'bottom': 0},
|
|
1391
|
+
},
|
|
1392
|
+
],
|
|
1148
1393
|
},
|
|
1149
1394
|
{
|
|
1150
1395
|
'order': 30,
|
|
@@ -1167,6 +1412,21 @@ const emulatedDevices = [
|
|
|
1167
1412
|
'user-agent-metadata':
|
|
1168
1413
|
{'platform': 'Android', 'platformVersion': '13', 'architecture': '', 'model': 'Pixel 7', 'mobile': true},
|
|
1169
1414
|
'type': 'phone',
|
|
1415
|
+
'modes': [
|
|
1416
|
+
{
|
|
1417
|
+
'title': 'default',
|
|
1418
|
+
'orientation': 'vertical',
|
|
1419
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1420
|
+
'safe-area-insets': {'left': 0, 'top': 52, 'right': 0, 'bottom': 0},
|
|
1421
|
+
'cutout': {'shape': 'circle', 'x': 183, 'y': 0, 'width': 55, 'height': 52, 'cx': 206, 'cy': 26, 'radius': 13},
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
'title': 'default',
|
|
1425
|
+
'orientation': 'horizontal',
|
|
1426
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1427
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 52, 'bottom': 0},
|
|
1428
|
+
},
|
|
1429
|
+
],
|
|
1170
1430
|
},
|
|
1171
1431
|
{
|
|
1172
1432
|
'order': 31,
|
|
@@ -1189,6 +1449,21 @@ const emulatedDevices = [
|
|
|
1189
1449
|
'user-agent-metadata':
|
|
1190
1450
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 8', 'mobile': true},
|
|
1191
1451
|
'type': 'phone',
|
|
1452
|
+
'modes': [
|
|
1453
|
+
{
|
|
1454
|
+
'title': 'default',
|
|
1455
|
+
'orientation': 'vertical',
|
|
1456
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1457
|
+
'safe-area-insets': {'left': 0, 'top': 50, 'right': 0, 'bottom': 0},
|
|
1458
|
+
'cutout': {'shape': 'circle', 'x': 182, 'y': 0, 'width': 46, 'height': 50, 'cx': 206, 'cy': 25, 'radius': 14},
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
'title': 'default',
|
|
1462
|
+
'orientation': 'horizontal',
|
|
1463
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1464
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 50, 'bottom': 0},
|
|
1465
|
+
},
|
|
1466
|
+
],
|
|
1192
1467
|
},
|
|
1193
1468
|
{
|
|
1194
1469
|
'order': 32,
|
|
@@ -1211,6 +1486,21 @@ const emulatedDevices = [
|
|
|
1211
1486
|
'user-agent-metadata':
|
|
1212
1487
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 8 Pro', 'mobile': true},
|
|
1213
1488
|
'type': 'phone',
|
|
1489
|
+
'modes': [
|
|
1490
|
+
{
|
|
1491
|
+
'title': 'default',
|
|
1492
|
+
'orientation': 'vertical',
|
|
1493
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1494
|
+
'safe-area-insets': {'left': 0, 'top': 50, 'right': 0, 'bottom': 0},
|
|
1495
|
+
'cutout': {'shape': 'circle', 'x': 205, 'y': 0, 'width': 37, 'height': 50, 'cx': 224, 'cy': 25, 'radius': 14},
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
'title': 'default',
|
|
1499
|
+
'orientation': 'horizontal',
|
|
1500
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1501
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 50, 'bottom': 0},
|
|
1502
|
+
},
|
|
1503
|
+
],
|
|
1214
1504
|
},
|
|
1215
1505
|
{
|
|
1216
1506
|
'order': 33,
|
|
@@ -1233,6 +1523,21 @@ const emulatedDevices = [
|
|
|
1233
1523
|
'user-agent-metadata':
|
|
1234
1524
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 8a', 'mobile': true},
|
|
1235
1525
|
'type': 'phone',
|
|
1526
|
+
'modes': [
|
|
1527
|
+
{
|
|
1528
|
+
'title': 'default',
|
|
1529
|
+
'orientation': 'vertical',
|
|
1530
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1531
|
+
'safe-area-insets': {'left': 0, 'top': 46, 'right': 0, 'bottom': 0},
|
|
1532
|
+
'cutout': {'shape': 'circle', 'x': 185, 'y': 0, 'width': 42, 'height': 46, 'cx': 206, 'cy': 26, 'radius': 13},
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
'title': 'default',
|
|
1536
|
+
'orientation': 'horizontal',
|
|
1537
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1538
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 46, 'bottom': 0},
|
|
1539
|
+
},
|
|
1540
|
+
],
|
|
1236
1541
|
},
|
|
1237
1542
|
{
|
|
1238
1543
|
'order': 34,
|
|
@@ -1255,6 +1560,21 @@ const emulatedDevices = [
|
|
|
1255
1560
|
'user-agent-metadata':
|
|
1256
1561
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 9', 'mobile': true},
|
|
1257
1562
|
'type': 'phone',
|
|
1563
|
+
'modes': [
|
|
1564
|
+
{
|
|
1565
|
+
'title': 'default',
|
|
1566
|
+
'orientation': 'vertical',
|
|
1567
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1568
|
+
'safe-area-insets': {'left': 0, 'top': 58, 'right': 0, 'bottom': 0},
|
|
1569
|
+
'cutout': {'shape': 'circle', 'x': 188, 'y': 0, 'width': 37, 'height': 58, 'cx': 206, 'cy': 29, 'radius': 14},
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
'title': 'default',
|
|
1573
|
+
'orientation': 'horizontal',
|
|
1574
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1575
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 58, 'bottom': 0},
|
|
1576
|
+
},
|
|
1577
|
+
],
|
|
1258
1578
|
},
|
|
1259
1579
|
{
|
|
1260
1580
|
'order': 35,
|
|
@@ -1277,6 +1597,21 @@ const emulatedDevices = [
|
|
|
1277
1597
|
'user-agent-metadata':
|
|
1278
1598
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 9 Pro', 'mobile': true},
|
|
1279
1599
|
'type': 'phone',
|
|
1600
|
+
'modes': [
|
|
1601
|
+
{
|
|
1602
|
+
'title': 'default',
|
|
1603
|
+
'orientation': 'vertical',
|
|
1604
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1605
|
+
'safe-area-insets': {'left': 0, 'top': 68, 'right': 0, 'bottom': 0},
|
|
1606
|
+
'cutout': {'shape': 'circle', 'x': 195, 'y': 0, 'width': 36, 'height': 68, 'cx': 213, 'cy': 34, 'radius': 16},
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
'title': 'default',
|
|
1610
|
+
'orientation': 'horizontal',
|
|
1611
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1612
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 68, 'bottom': 0},
|
|
1613
|
+
},
|
|
1614
|
+
],
|
|
1280
1615
|
},
|
|
1281
1616
|
{
|
|
1282
1617
|
'order': 36,
|
|
@@ -1299,6 +1634,21 @@ const emulatedDevices = [
|
|
|
1299
1634
|
'user-agent-metadata':
|
|
1300
1635
|
{'platform': 'Android', 'platformVersion': '14', 'architecture': '', 'model': 'Pixel 9 Pro XL', 'mobile': true},
|
|
1301
1636
|
'type': 'phone',
|
|
1637
|
+
'modes': [
|
|
1638
|
+
{
|
|
1639
|
+
'title': 'default',
|
|
1640
|
+
'orientation': 'vertical',
|
|
1641
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1642
|
+
'safe-area-insets': {'left': 0, 'top': 66, 'right': 0, 'bottom': 0},
|
|
1643
|
+
'cutout': {'shape': 'circle', 'x': 205, 'y': 0, 'width': 38, 'height': 66, 'cx': 224, 'cy': 33, 'radius': 16},
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
'title': 'default',
|
|
1647
|
+
'orientation': 'horizontal',
|
|
1648
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1649
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 66, 'bottom': 0},
|
|
1650
|
+
},
|
|
1651
|
+
],
|
|
1302
1652
|
},
|
|
1303
1653
|
{
|
|
1304
1654
|
'order': 37,
|
|
@@ -1321,6 +1671,21 @@ const emulatedDevices = [
|
|
|
1321
1671
|
'user-agent-metadata':
|
|
1322
1672
|
{'platform': 'Android', 'platformVersion': '16', 'architecture': '', 'model': 'Pixel 10', 'mobile': true},
|
|
1323
1673
|
'type': 'phone',
|
|
1674
|
+
'modes': [
|
|
1675
|
+
{
|
|
1676
|
+
'title': 'default',
|
|
1677
|
+
'orientation': 'vertical',
|
|
1678
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1679
|
+
'safe-area-insets': {'left': 0, 'top': 58, 'right': 0, 'bottom': 0},
|
|
1680
|
+
'cutout': {'shape': 'circle', 'x': 188, 'y': 0, 'width': 37, 'height': 58, 'cx': 206, 'cy': 29, 'radius': 14},
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
'title': 'default',
|
|
1684
|
+
'orientation': 'horizontal',
|
|
1685
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
1686
|
+
'safe-area-insets': {'left': 0, 'top': 0, 'right': 58, 'bottom': 0},
|
|
1687
|
+
},
|
|
1688
|
+
],
|
|
1324
1689
|
},
|
|
1325
1690
|
{
|
|
1326
1691
|
'order': 38,
|
|
@@ -1791,6 +2156,22 @@ const emulatedDevices = [
|
|
|
1791
2156
|
'user-agent-metadata':
|
|
1792
2157
|
{'platform': 'iOS', 'platformVersion': '13.2.3', 'architecture': '', 'model': 'iPhone', 'mobile': true},
|
|
1793
2158
|
'type': 'phone',
|
|
2159
|
+
'modes': [
|
|
2160
|
+
{
|
|
2161
|
+
'title': 'default',
|
|
2162
|
+
'orientation': 'vertical',
|
|
2163
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
2164
|
+
'safe-area-insets': {'left': 0, 'top': 44, 'right': 0, 'bottom': 34},
|
|
2165
|
+
'cutout':
|
|
2166
|
+
{'shape': 'notch', 'x': 85, 'y': 0, 'width': 204, 'height': 30, 'upper-radius': 8, 'lower-radius': 19},
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
'title': 'default',
|
|
2170
|
+
'orientation': 'horizontal',
|
|
2171
|
+
'insets': {'left': 0, 'top': 0, 'right': 0, 'bottom': 0},
|
|
2172
|
+
'safe-area-insets': {'left': 44, 'top': 0, 'right': 44, 'bottom': 21},
|
|
2173
|
+
},
|
|
2174
|
+
],
|
|
1794
2175
|
},
|
|
1795
2176
|
{
|
|
1796
2177
|
'show-by-default': false,
|