chrome-devtools-frontend 1.0.1681091 → 1.0.1681498
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/front_end/core/sdk/DOMModel.ts +8 -0
- package/front_end/core/sdk/NetworkManager.ts +9 -4
- package/front_end/core/sdk/OverlayModel.ts +3 -2
- package/front_end/core/sdk/SDKSettings.ts +19 -0
- package/front_end/entrypoints/main/main-meta.ts +82 -0
- package/front_end/entrypoints/shell/shell.ts +0 -3
- package/front_end/entrypoints/trace_app/trace_app.ts +0 -3
- package/front_end/models/ai_code_completion/debug.ts +6 -3
- package/front_end/models/ai_code_generation/debug.ts +6 -3
- package/front_end/models/badges/UserBadges.ts +9 -2
- package/front_end/models/emulation/DeviceModeModel.ts +16 -27
- package/front_end/models/emulation/EmulatedDevices.ts +30 -125
- package/front_end/models/extensions/ExtensionAPI.ts +34 -23
- package/front_end/models/logs/NetworkLog.ts +3 -3
- package/front_end/models/logs/logs-meta.ts +0 -60
- package/front_end/models/persistence/NetworkPersistenceManager.ts +7 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageView.ts +2 -0
- package/front_end/panels/common/BadgeNotification.ts +1 -1
- package/front_end/panels/common/ExtensionPanel.ts +12 -7
- package/front_end/panels/common/ExtensionServer.ts +76 -16
- package/front_end/panels/common/GdpSignUpDialog.ts +1 -1
- package/front_end/panels/console/ConsoleView.ts +2 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +3 -2
- package/front_end/panels/console/console-meta.ts +9 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +12 -12
- package/front_end/panels/elements/CSSSpecificityBreakdown.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +6 -6
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +1 -1
- package/front_end/panels/elements/ComputedStyleWidget.ts +4 -5
- package/front_end/panels/elements/DOMTreeContextMenu.ts +3 -6
- package/front_end/panels/elements/ElementIssueUtils.ts +20 -20
- package/front_end/panels/elements/ElementStatePaneWidget.ts +6 -6
- package/front_end/panels/elements/ElementsPanel.ts +10 -10
- package/front_end/panels/elements/ElementsTreeElement.ts +28 -28
- package/front_end/panels/elements/ElementsTreeOutline.ts +5 -20
- package/front_end/panels/elements/EventListenersWidget.ts +8 -8
- package/front_end/panels/elements/LayersWidget.ts +4 -4
- package/front_end/panels/elements/LayoutPane.ts +11 -11
- package/front_end/panels/elements/MarkerDecorator.ts +3 -3
- package/front_end/panels/elements/PlatformFontsWidget.ts +8 -8
- package/front_end/panels/elements/PropertiesWidget.ts +4 -4
- package/front_end/panels/elements/PropertyRenderer.ts +2 -2
- package/front_end/panels/elements/ShortcutTreeElement.ts +1 -1
- package/front_end/panels/elements/StylePropertiesSection.ts +14 -14
- package/front_end/panels/elements/StylePropertyTreeElement.ts +21 -21
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -13
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +1 -1
- package/front_end/panels/elements/components/CSSHintDetailsView.ts +1 -1
- package/front_end/panels/elements/components/CSSVariableValueView.ts +3 -3
- package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +2 -2
- package/front_end/panels/elements/components/ElementsTreeExpandButton.ts +1 -1
- package/front_end/panels/elements/elements-meta.ts +13 -13
- package/front_end/panels/issues/AffectedCookiesView.ts +2 -0
- package/front_end/panels/issues/AffectedElementsView.ts +5 -0
- package/front_end/panels/issues/IssueView.ts +7 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +11 -7
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +2 -0
- package/front_end/panels/network/NetworkLogView.ts +5 -2
- package/front_end/panels/network/NetworkOverview.ts +11 -5
- package/front_end/panels/network/NetworkPanel.ts +2 -1
- package/front_end/panels/network/NetworkWaterfallColumn.ts +16 -3
- package/front_end/panels/network/RequestHeadersView.ts +4 -4
- package/front_end/panels/network/components/ResponseHeaderSection.ts +6 -2
- package/front_end/panels/network/network-meta.ts +57 -0
- package/front_end/panels/settings/components/SyncSection.ts +1 -1
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +0 -3
- package/front_end/panels/sources/NavigatorView.ts +6 -2
- package/front_end/panels/sources/SourcesNavigator.ts +8 -4
- package/front_end/panels/sources/SourcesPanel.ts +4 -2
- package/front_end/panels/sources/SourcesSearchScope.ts +3 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +2 -2
- package/front_end/panels/web_audio/WebAudioView.ts +8 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/web-vitals/rebuild.sh +1 -1
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +11 -11
- package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +19 -20
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +2 -2
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +164 -325
- package/front_end/ui/visual_logging/KnownContextValues.ts +11 -0
- package/mcp/mcp.ts +0 -3
- package/package.json +1 -1
- package/front_end/core/sdk/sdk-meta.ts +0 -40
- package/front_end/models/badges/badges-meta.ts +0 -27
- package/front_end/models/persistence/persistence-meta.ts +0 -69
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright 2020 The Chromium Authors
|
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
-
// found in the LICENSE file.
|
|
4
|
-
|
|
5
|
-
import * as Common from '../common/common.js';
|
|
6
|
-
import * as i18n from '../i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Title of a setting under the Console category in Settings.
|
|
11
|
-
*/
|
|
12
|
-
logXmlhttprequests: 'Log XMLHttpRequests',
|
|
13
|
-
/**
|
|
14
|
-
* @description Title of a setting under the Appearance category in Settings. When the webpage is
|
|
15
|
-
* paused by devtools, an overlay is shown on top of the page to indicate that it is paused. The
|
|
16
|
-
* overlay is a pause/unpause button and some text, which appears on top of the paused page. This
|
|
17
|
-
* setting turns off this overlay.
|
|
18
|
-
*/
|
|
19
|
-
disablePaused: 'Disable paused state overlay',
|
|
20
|
-
} as const;
|
|
21
|
-
const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
|
|
22
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
23
|
-
|
|
24
|
-
Common.Settings.registerSettingExtension({
|
|
25
|
-
category: Common.Settings.SettingCategory.CONSOLE,
|
|
26
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
27
|
-
title: i18nLazyString(UIStrings.logXmlhttprequests),
|
|
28
|
-
settingName: 'monitoring-xhr-enabled',
|
|
29
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
30
|
-
defaultValue: false,
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
Common.Settings.registerSettingExtension({
|
|
34
|
-
category: Common.Settings.SettingCategory.APPEARANCE,
|
|
35
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
36
|
-
title: i18nLazyString(UIStrings.disablePaused),
|
|
37
|
-
settingName: 'disable-paused-state-overlay',
|
|
38
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
39
|
-
defaultValue: false,
|
|
40
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 The Chromium Authors
|
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
-
// found in the LICENSE file.
|
|
4
|
-
|
|
5
|
-
import * as Common from '../../core/common/common.js';
|
|
6
|
-
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Label for a checkbox in the settings UI. Allows developers to opt-in/opt-out
|
|
11
|
-
* of receiving Google Developer Program (GDP) badges based on their activity in Chrome DevTools.
|
|
12
|
-
*/
|
|
13
|
-
earnBadges: 'Earn badges',
|
|
14
|
-
} as const;
|
|
15
|
-
|
|
16
|
-
const str_ = i18n.i18n.registerUIStrings('models/badges/badges-meta.ts', UIStrings);
|
|
17
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
18
|
-
|
|
19
|
-
Common.Settings.registerSettingExtension({
|
|
20
|
-
category: Common.Settings.SettingCategory.ACCOUNT,
|
|
21
|
-
settingName: 'receive-gdp-badges',
|
|
22
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
23
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
24
|
-
title: i18nLazyString(UIStrings.earnBadges),
|
|
25
|
-
defaultValue: false,
|
|
26
|
-
reloadRequired: true,
|
|
27
|
-
});
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// Copyright 2020 The Chromium Authors
|
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
-
// found in the LICENSE file.
|
|
4
|
-
|
|
5
|
-
import * as Common from '../../core/common/common.js';
|
|
6
|
-
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Title of a setting under the Persistence category in Settings.
|
|
11
|
-
*/
|
|
12
|
-
localOverrides: 'Local overrides',
|
|
13
|
-
/**
|
|
14
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
15
|
-
*/
|
|
16
|
-
interception: 'interception',
|
|
17
|
-
/**
|
|
18
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
19
|
-
*/
|
|
20
|
-
override: 'override',
|
|
21
|
-
/**
|
|
22
|
-
* @description A tag of group network by frame setting that can be searched in the command menu.
|
|
23
|
-
*/
|
|
24
|
-
network: 'network',
|
|
25
|
-
/**
|
|
26
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
27
|
-
*/
|
|
28
|
-
rewrite: 'rewrite',
|
|
29
|
-
/**
|
|
30
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
31
|
-
* Noun for network request.
|
|
32
|
-
*/
|
|
33
|
-
request: 'request',
|
|
34
|
-
/**
|
|
35
|
-
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
36
|
-
*/
|
|
37
|
-
enableOverrideNetworkRequests: 'Enable override network requests',
|
|
38
|
-
/**
|
|
39
|
-
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
40
|
-
*/
|
|
41
|
-
disableOverrideNetworkRequests: 'Disable override network requests',
|
|
42
|
-
} as const;
|
|
43
|
-
const str_ = i18n.i18n.registerUIStrings('models/persistence/persistence-meta.ts', UIStrings);
|
|
44
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
45
|
-
|
|
46
|
-
Common.Settings.registerSettingExtension({
|
|
47
|
-
category: Common.Settings.SettingCategory.PERSISTENCE,
|
|
48
|
-
title: i18nLazyString(UIStrings.localOverrides),
|
|
49
|
-
settingName: 'persistence-network-overrides-enabled',
|
|
50
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
51
|
-
defaultValue: false,
|
|
52
|
-
tags: [
|
|
53
|
-
i18nLazyString(UIStrings.interception),
|
|
54
|
-
i18nLazyString(UIStrings.override),
|
|
55
|
-
i18nLazyString(UIStrings.network),
|
|
56
|
-
i18nLazyString(UIStrings.rewrite),
|
|
57
|
-
i18nLazyString(UIStrings.request),
|
|
58
|
-
],
|
|
59
|
-
options: [
|
|
60
|
-
{
|
|
61
|
-
value: true,
|
|
62
|
-
title: i18nLazyString(UIStrings.enableOverrideNetworkRequests),
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
value: false,
|
|
66
|
-
title: i18nLazyString(UIStrings.disableOverrideNetworkRequests),
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
});
|