chrome-devtools-frontend 1.0.920568 → 1.0.922044
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/config/gni/all_devtools_files.gni +1 -1
- package/config/gni/devtools_grd_files.gni +5 -0
- package/config/typescript/tsconfig.base.json +1 -0
- package/extension-api/ExtensionAPI.d.ts +1 -1
- package/front_end/core/common/ColorUtils.ts +2 -1
- package/front_end/core/common/Object.ts +36 -1
- package/front_end/core/common/WasmDisassembly.ts +6 -14
- package/front_end/core/common/common.ts +2 -1
- package/front_end/core/i18n/locales/af.json +53 -32
- package/front_end/core/i18n/locales/am.json +56 -35
- package/front_end/core/i18n/locales/ar.json +53 -32
- package/front_end/core/i18n/locales/as.json +63 -42
- package/front_end/core/i18n/locales/az.json +53 -32
- package/front_end/core/i18n/locales/be.json +52 -31
- package/front_end/core/i18n/locales/bg.json +51 -30
- package/front_end/core/i18n/locales/bn.json +63 -42
- package/front_end/core/i18n/locales/bs.json +57 -36
- package/front_end/core/i18n/locales/ca.json +55 -34
- package/front_end/core/i18n/locales/cs.json +51 -30
- package/front_end/core/i18n/locales/cy.json +63 -42
- package/front_end/core/i18n/locales/da.json +55 -34
- package/front_end/core/i18n/locales/de.json +52 -31
- package/front_end/core/i18n/locales/el.json +58 -37
- package/front_end/core/i18n/locales/en-GB.json +51 -30
- package/front_end/core/i18n/locales/en-US.json +67 -34
- package/front_end/core/i18n/locales/en-XL.json +67 -34
- package/front_end/core/i18n/locales/es-419.json +53 -32
- package/front_end/core/i18n/locales/es.json +52 -31
- package/front_end/core/i18n/locales/et.json +54 -33
- package/front_end/core/i18n/locales/eu.json +71 -50
- package/front_end/core/i18n/locales/fa.json +54 -33
- package/front_end/core/i18n/locales/fi.json +55 -34
- package/front_end/core/i18n/locales/fil.json +59 -38
- package/front_end/core/i18n/locales/fr-CA.json +52 -31
- package/front_end/core/i18n/locales/fr.json +54 -33
- package/front_end/core/i18n/locales/gl.json +57 -36
- package/front_end/core/i18n/locales/gu.json +65 -44
- package/front_end/core/i18n/locales/he.json +56 -35
- package/front_end/core/i18n/locales/hi.json +61 -40
- package/front_end/core/i18n/locales/hr.json +55 -34
- package/front_end/core/i18n/locales/hu.json +53 -32
- package/front_end/core/i18n/locales/hy.json +54 -33
- package/front_end/core/i18n/locales/id.json +59 -38
- package/front_end/core/i18n/locales/is.json +51 -30
- package/front_end/core/i18n/locales/it.json +51 -30
- package/front_end/core/i18n/locales/ja.json +52 -31
- package/front_end/core/i18n/locales/ka.json +51 -30
- package/front_end/core/i18n/locales/kk.json +56 -35
- package/front_end/core/i18n/locales/km.json +59 -38
- package/front_end/core/i18n/locales/kn.json +63 -42
- package/front_end/core/i18n/locales/ko.json +59 -38
- package/front_end/core/i18n/locales/ky.json +54 -33
- package/front_end/core/i18n/locales/lo.json +59 -38
- package/front_end/core/i18n/locales/lt.json +52 -31
- package/front_end/core/i18n/locales/lv.json +60 -39
- package/front_end/core/i18n/locales/mk.json +51 -30
- package/front_end/core/i18n/locales/ml.json +65 -44
- package/front_end/core/i18n/locales/mn.json +59 -38
- package/front_end/core/i18n/locales/mr.json +61 -40
- package/front_end/core/i18n/locales/ms.json +59 -38
- package/front_end/core/i18n/locales/my.json +59 -38
- package/front_end/core/i18n/locales/ne.json +63 -42
- package/front_end/core/i18n/locales/nl.json +55 -34
- package/front_end/core/i18n/locales/no.json +54 -33
- package/front_end/core/i18n/locales/or.json +63 -42
- package/front_end/core/i18n/locales/pa.json +61 -40
- package/front_end/core/i18n/locales/pl.json +51 -30
- package/front_end/core/i18n/locales/pt-PT.json +52 -31
- package/front_end/core/i18n/locales/pt.json +59 -38
- package/front_end/core/i18n/locales/ro.json +52 -31
- package/front_end/core/i18n/locales/ru.json +52 -31
- package/front_end/core/i18n/locales/si.json +59 -38
- package/front_end/core/i18n/locales/sk.json +52 -31
- package/front_end/core/i18n/locales/sl.json +52 -31
- package/front_end/core/i18n/locales/sq.json +51 -30
- package/front_end/core/i18n/locales/sr-Latn.json +52 -31
- package/front_end/core/i18n/locales/sr.json +52 -31
- package/front_end/core/i18n/locales/sv.json +52 -31
- package/front_end/core/i18n/locales/sw.json +60 -39
- package/front_end/core/i18n/locales/ta.json +67 -46
- package/front_end/core/i18n/locales/te.json +62 -41
- package/front_end/core/i18n/locales/th.json +52 -31
- package/front_end/core/i18n/locales/tr.json +55 -34
- package/front_end/core/i18n/locales/uk.json +55 -34
- package/front_end/core/i18n/locales/ur.json +60 -39
- package/front_end/core/i18n/locales/uz.json +52 -31
- package/front_end/core/i18n/locales/vi.json +54 -33
- package/front_end/core/i18n/locales/zh-HK.json +52 -31
- package/front_end/core/i18n/locales/zh-TW.json +57 -36
- package/front_end/core/i18n/locales/zh.json +56 -35
- package/front_end/core/i18n/locales/zu.json +59 -38
- package/front_end/core/sdk/RemoteObject.ts +43 -20
- package/front_end/core/sdk/TracingModel.ts +1 -1
- package/front_end/generated/SupportedCSSProperties.js +4 -4
- package/front_end/legacy/legacy-defs.d.ts +24 -0
- package/front_end/models/extensions/ExtensionAPI.ts +9 -4
- package/front_end/models/extensions/ExtensionServer.ts +1 -1
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +4 -1
- package/front_end/models/issues_manager/SameSiteCookieIssue.ts +12 -3
- package/front_end/models/issues_manager/descriptions/SameSiteSamePartyCrossPartyContextSet.md +10 -0
- package/front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md +4 -0
- package/front_end/models/timeline_model/TimelineModel.ts +5 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -2
- package/front_end/panels/application/DatabaseQueryView.ts +7 -1
- package/front_end/panels/changes/ChangesSidebar.ts +6 -1
- package/front_end/panels/console/ConsolePrompt.ts +6 -1
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +8 -1
- package/front_end/panels/elements/ElementsPanel.ts +25 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -2
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +13 -1
- package/front_end/panels/elements/layoutPane.css +1 -0
- package/front_end/panels/emulation/AdvancedApp.ts +2 -12
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +14 -1
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +10 -0
- package/front_end/panels/issues/IssueAggregator.ts +2 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +7 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +7 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +7 -1
- package/front_end/panels/lighthouse/LighthousePanel.ts +6 -7
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +8 -4
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +4 -0
- package/front_end/panels/network/NetworkItemView.ts +24 -4
- package/front_end/panels/network/NetworkLogView.ts +14 -5
- package/front_end/panels/network/NetworkPanel.ts +7 -6
- package/front_end/panels/network/RequestHeadersView.ts +0 -345
- package/front_end/panels/network/RequestPayloadView.ts +529 -0
- package/front_end/panels/network/RequestTimingView.ts +3 -1
- package/front_end/panels/network/forward/UIRequestLocation.ts +1 -0
- package/front_end/panels/network/module.json +0 -3
- package/front_end/panels/network/network-legacy.ts +5 -0
- package/front_end/panels/network/network.ts +2 -0
- package/front_end/panels/network/requestPayloadTree.css +130 -0
- package/front_end/panels/network/requestPayloadView.css +16 -0
- package/front_end/panels/profiler/CPUProfileFlameChart.ts +3 -3
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -1
- package/front_end/panels/profiler/ProfileView.ts +1 -1
- package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +5 -5
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +5 -6
- package/front_end/panels/sources/SourcesPanel.ts +4 -5
- package/front_end/panels/sources/SourcesView.ts +16 -3
- package/front_end/panels/sources/UISourceCodeFrame.ts +7 -1
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -7
- package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
- package/front_end/panels/timeline/TimelineLayersView.ts +7 -7
- package/front_end/panels/timeline/TimelinePanel.ts +5 -4
- package/front_end/ui/legacy/ARIAUtils.ts +12 -0
- package/front_end/ui/legacy/Fragment.ts +1 -1
- package/front_end/ui/legacy/InspectorView.ts +17 -0
- package/front_end/ui/legacy/SplitWidget.ts +6 -1
- package/front_end/ui/legacy/TabbedPane.ts +4 -0
- package/front_end/ui/legacy/UIUtils.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +5 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +16 -66
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +8 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +9 -1
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +11 -1
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +6 -3
- package/front_end/ui/legacy/utils/focus-changed.ts +1 -1
- package/inspector_overlay/common.ts +3 -3
- package/inspector_overlay/tool_viewport_size.ts +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ function XWidgetfocusWidgetForNode(node: Node|null): void {
|
|
|
35
35
|
const XWidgetCtor = customElements.get('x-widget');
|
|
36
36
|
let widget = null;
|
|
37
37
|
while (node) {
|
|
38
|
-
if (node instanceof XWidgetCtor) {
|
|
38
|
+
if (XWidgetCtor && node instanceof XWidgetCtor) {
|
|
39
39
|
if (widget) {
|
|
40
40
|
// TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -38,7 +38,7 @@ interface ViewportSize {
|
|
|
38
38
|
|
|
39
39
|
export interface ResetData {
|
|
40
40
|
viewportSize: ViewportSize;
|
|
41
|
-
|
|
41
|
+
viewportSizeForMediaQueries?: ViewportSize;
|
|
42
42
|
deviceScaleFactor: number;
|
|
43
43
|
pageScaleFactor: number;
|
|
44
44
|
pageZoomFactor: number;
|
|
@@ -52,7 +52,7 @@ export interface ResetData {
|
|
|
52
52
|
// Old logic is kept temporarily while the tools are being migrated.
|
|
53
53
|
export class Overlay {
|
|
54
54
|
protected viewportSize = {width: 800, height: 600};
|
|
55
|
-
protected
|
|
55
|
+
protected viewportSizeForMediaQueries?: ViewportSize;
|
|
56
56
|
protected deviceScaleFactor = 1;
|
|
57
57
|
protected emulationScaleFactor = 1;
|
|
58
58
|
protected pageScaleFactor = 1;
|
|
@@ -104,7 +104,7 @@ export class Overlay {
|
|
|
104
104
|
reset(resetData?: ResetData) {
|
|
105
105
|
if (resetData) {
|
|
106
106
|
this.viewportSize = resetData.viewportSize;
|
|
107
|
-
this.
|
|
107
|
+
this.viewportSizeForMediaQueries = resetData.viewportSizeForMediaQueries;
|
|
108
108
|
this.deviceScaleFactor = resetData.deviceScaleFactor;
|
|
109
109
|
this.pageScaleFactor = resetData.pageScaleFactor;
|
|
110
110
|
this.pageZoomFactor = resetData.pageZoomFactor;
|
|
@@ -29,7 +29,7 @@ export class ViewportSizeOverlay extends Overlay {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
drawViewSize() {
|
|
32
|
-
const viewportSize = this.
|
|
32
|
+
const viewportSize = this.viewportSizeForMediaQueries || this.viewportSize;
|
|
33
33
|
const text = `${formatNumber(viewportSize.width)}px \xD7 ${formatNumber(viewportSize.height)}px`;
|
|
34
34
|
const canvasWidth = this.canvasWidth || 0;
|
|
35
35
|
this.context.save();
|
package/package.json
CHANGED