Skip to content

Commit 5a43ee4

Browse files
Build 11-02-2024 (#21)
Latest devtools frontend commit: [7e1c296](https://chromium.googlesource.com/devtools/devtools-frontend.git/+/7e1c2962306bf810375c1b010a693a79150b32da) Co-authored-by: GitHub <noreply@github.com>
1 parent af95df1 commit 5a43ee4

File tree

465 files changed

+2336
-1990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

465 files changed

+2336
-1990
lines changed

Diff for: public/core/common/AppProvider.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export declare function registerAppProvider(registration: AppProviderRegistratio
77
export declare function getRegisteredAppProviders(): AppProviderRegistration[];
88
export interface AppProviderRegistration {
99
loadAppProvider: () => Promise<AppProvider>;
10-
condition?: Root.Runtime.ConditionName;
10+
condition?: Root.Runtime.Condition;
1111
order: number;
1212
}

Diff for: public/core/common/AppProvider.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/common/SettingRegistration.d.ts

+5-10
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ export interface SettingRegistration {
6363
* The title with which the setting is shown on screen.
6464
*/
6565
title?: () => Platform.UIString.LocalizedString;
66-
/**
67-
* The title with which the setting is shown on screen, if the platform running DevTools is 'mac'.
68-
* If not set, the 'title' field will be used instead.
69-
*/
70-
titleMac?: () => Platform.UIString.LocalizedString;
7166
/**
7267
* The identifier of the setting.
7368
*/
@@ -112,12 +107,12 @@ export interface SettingRegistration {
112107
*/
113108
experiment?: Root.Runtime.ExperimentName;
114109
/**
115-
* A condition represented as a string the setting's availability depends on. Conditions come
116-
* from the queryParamsObject defined in Runtime and just as the experiment field, they determine the availability
117-
* of the setting. A condition can be negated by prepending a ‘!’ to the value of the condition
118-
* property and in that case the behaviour of the setting's availability will be inverted.
110+
* A condition is a function that will make the setting available if it
111+
* returns true, and not available, otherwise. Make sure that objects you
112+
* access from inside the condition function are ready at the time when the
113+
* setting conditions are checked.
119114
*/
120-
condition?: Root.Runtime.ConditionName;
115+
condition?: Root.Runtime.Condition;
121116
/**
122117
* If a setting is deprecated, define this notice to show an appropriate warning according to the `warning` propertiy.
123118
* If `disabled` is set, the setting will be disabled in the settings UI. In that case, `experiment` optionally can be

Diff for: public/core/common/SettingRegistration.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/common/Settings.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ export declare class Deprecation {
6262
}
6363
export declare class Setting<V> {
6464
#private;
65+
readonly name: string;
6566
readonly defaultValue: V;
6667
private readonly eventSupport;
6768
readonly storage: SettingsStorage;
68-
readonly name: string;
6969
constructor(name: string, defaultValue: V, eventSupport: ObjectWrapper<GenericEvents>, storage: SettingsStorage);
7070
setSerializer(serializer: Serializer<unknown, V>): void;
7171
addChangeListener(listener: (arg0: EventTargetEvent<V>) => void, thisObject?: Object): EventDescriptor;

Diff for: public/core/common/Settings.js

+3-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/common/Settings.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/host/InspectorFrontendHost.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as Common from '../common/common.js';
22
import * as Platform from '../platform/platform.js';
3-
import { type CanShowSurveyResult, type ChangeEvent, type ClickEvent, type ContextMenuDescriptor, type DoAidaConversationResult, type DragEvent, type EnumeratedHistogram, type EventTypes, type ExtensionDescriptor, type HoverEvent, type ImpressionEvent, type InspectorFrontendHostAPI, type KeyDownEvent, type LoadNetworkResourceResult, type ShowSurveyResult, type SyncInformation } from './InspectorFrontendHostAPI.js';
3+
import { type CanShowSurveyResult, type ChangeEvent, type ClickEvent, type ContextMenuDescriptor, type DoAidaConversationResult, type DragEvent, type EnumeratedHistogram, type EventTypes, type ExtensionDescriptor, type HoverEvent, type ImpressionEvent, type InspectorFrontendHostAPI, type KeyDownEvent, type LoadNetworkResourceResult, type ResizeEvent, type ShowSurveyResult, type SyncInformation } from './InspectorFrontendHostAPI.js';
44
/**
55
* The InspectorFrontendHostStub is a stub interface used the frontend is loaded like a webpage. Examples:
66
* - devtools://devtools/bundled/devtools_app.html
@@ -103,6 +103,7 @@ export declare class InspectorFrontendHostStub implements InspectorFrontendHostA
103103
initialTargetId(): Promise<string | null>;
104104
doAidaConversation(request: string, callback: (result: DoAidaConversationResult) => void): void;
105105
recordImpression(event: ImpressionEvent): void;
106+
recordResize(event: ResizeEvent): void;
106107
recordClick(event: ClickEvent): void;
107108
recordHover(event: HoverEvent): void;
108109
recordDrag(event: DragEvent): void;

Diff for: public/core/host/InspectorFrontendHost.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/host/InspectorFrontendHost.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/host/InspectorFrontendHostAPI.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,17 @@ export interface VisualElementImpression {
9393
type: number;
9494
parent?: number;
9595
context?: number;
96+
width?: number;
97+
height?: number;
9698
}
9799
export interface ImpressionEvent {
98100
impressions: VisualElementImpression[];
99101
}
102+
export interface ResizeEvent {
103+
veid: number;
104+
width?: number;
105+
height?: number;
106+
}
100107
export interface ClickEvent {
101108
veid: number;
102109
mouseButton: number;

Diff for: public/core/host/InspectorFrontendHostAPI.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/host/UserMetrics.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ export declare enum Action {
190190
InsightConsoleMessageShown = 113,
191191
InsightRequestedViaContextMenu = 114,
192192
InsightRequestedViaHoverButton = 115,
193-
InsightRefined = 116,
194193
InsightRatedPositive = 117,
195194
InsightRatedNegative = 118,
196195
InsightClosed = 119,
@@ -204,7 +203,10 @@ export declare enum Action {
204203
ToggleEmulateFocusedPageFromStylesPaneOff = 127,
205204
ToggleEmulateFocusedPageFromRenderingTab = 128,
206205
ToggleEmulateFocusedPageFromCommandMenu = 129,
207-
MaxValue = 130
206+
InsightGenerated = 130,
207+
InsightErroredApi = 131,
208+
InsightErroredMarkdown = 132,
209+
MaxValue = 133
208210
}
209211
export declare enum PanelCodes {
210212
elements = 1,

Diff for: public/core/host/UserMetrics.js

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/host/UserMetrics.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: public/core/i18n/locales/en-US.json

+1-1
Large diffs are not rendered by default.

Diff for: public/core/i18n/locales/en-XL.json

+1-1
Large diffs are not rendered by default.

Diff for: public/core/i18n/locales/generated/en-US.json

+40-13
Original file line numberDiff line numberDiff line change
@@ -6366,46 +6366,64 @@
63666366
"message": "Console message"
63676367
},
63686368
"panels/explain/components/ConsoleInsight.ts | disclaimer": {
6369-
"message": "The following data will be sent to Google servers to generate tailored tips and suggestions. It may be stored, reviewed by humans, or used to train AI models."
6370-
},
6371-
"panels/explain/components/ConsoleInsight.ts | dogfood": {
6372-
"message": "Dogfood"
6369+
"message": "The following data will be sent to Google to find an explanation for the console message. They may be reviewed by humans and used to improve products."
63736370
},
63746371
"panels/explain/components/ConsoleInsight.ts | error": {
63756372
"message": "Something went wrong…"
63766373
},
6374+
"panels/explain/components/ConsoleInsight.ts | finePrint": {
6375+
"message": "This is an experimental AI insights tool and won’t always get it right."
6376+
},
63776377
"panels/explain/components/ConsoleInsight.ts | generating": {
6378-
"message": "Generating…"
6378+
"message": "Coming up with an explanation…"
6379+
},
6380+
"panels/explain/components/ConsoleInsight.ts | goToSettings": {
6381+
"message": "Go to settings"
6382+
},
6383+
"panels/explain/components/ConsoleInsight.ts | inputData": {
6384+
"message": "Data used to create this insight"
63796385
},
63806386
"panels/explain/components/ConsoleInsight.ts | insight": {
63816387
"message": "Insight"
63826388
},
63836389
"panels/explain/components/ConsoleInsight.ts | learnMore": {
6384-
"message": "Learn more"
6390+
"message": "Learn more about AI in DevTools"
63856391
},
63866392
"panels/explain/components/ConsoleInsight.ts | networkRequest": {
63876393
"message": "Network request"
63886394
},
6395+
"panels/explain/components/ConsoleInsight.ts | notAvailable": {
6396+
"message": "Console insights is not available"
6397+
},
6398+
"panels/explain/components/ConsoleInsight.ts | notLoggedIn": {
6399+
"message": "This feature is only available if you are signed into Chrome with your Google account."
6400+
},
6401+
"panels/explain/components/ConsoleInsight.ts | offline": {
6402+
"message": "Internet connection is currently not available."
6403+
},
63896404
"panels/explain/components/ConsoleInsight.ts | opensInNewTab": {
63906405
"message": "(opens in a new tab)"
63916406
},
63926407
"panels/explain/components/ConsoleInsight.ts | relatedCode": {
63936408
"message": "Related code"
63946409
},
6395-
"panels/explain/components/ConsoleInsight.ts | sources": {
6396-
"message": "Sources"
6397-
},
63986410
"panels/explain/components/ConsoleInsight.ts | stackTrace": {
63996411
"message": "Stacktrace"
64006412
},
64016413
"panels/explain/components/ConsoleInsight.ts | submitFeedback": {
64026414
"message": "Submit feedback"
64036415
},
6404-
"panels/explain/components/ConsoleInsight.ts | thumbDown": {
6405-
"message": "Thumb down"
6416+
"panels/explain/components/ConsoleInsight.ts | syncIsOff": {
6417+
"message": "This feature is only available if you have Chrome sync turned on."
6418+
},
6419+
"panels/explain/components/ConsoleInsight.ts | thumbsDown": {
6420+
"message": "Thumbs down"
64066421
},
6407-
"panels/explain/components/ConsoleInsight.ts | thumbUp": {
6408-
"message": "Thumb up"
6422+
"panels/explain/components/ConsoleInsight.ts | thumbsUp": {
6423+
"message": "Thumbs up"
6424+
},
6425+
"panels/explain/explain-meta.ts | enableConsoleInsights": {
6426+
"message": "Enable Console Insights"
64096427
},
64106428
"panels/explain/explain-meta.ts | explainThisError": {
64116429
"message": "Explain this error"
@@ -7919,12 +7937,18 @@
79197937
"panels/network/components/WebBundleInfoView.ts | bundledResource": {
79207938
"message": "Bundled resource"
79217939
},
7940+
"panels/network/EventSourceMessagesView.ts | clearAll": {
7941+
"message": "Clear all"
7942+
},
79227943
"panels/network/EventSourceMessagesView.ts | copyMessage": {
79237944
"message": "Copy message"
79247945
},
79257946
"panels/network/EventSourceMessagesView.ts | data": {
79267947
"message": "Data"
79277948
},
7949+
"panels/network/EventSourceMessagesView.ts | enterRegex": {
7950+
"message": "Enter regex, for example: https?"
7951+
},
79287952
"panels/network/EventSourceMessagesView.ts | eventSource": {
79297953
"message": "Event Source"
79307954
},
@@ -9809,6 +9833,9 @@
98099833
"panels/recorder/components/CreateRecordingView.ts | includeNecessarySelectors": {
98109834
"message": "You must choose CSS, Pierce, or XPath as one of your options. Only these selectors are guaranteed to be recorded since ARIA and text selectors may not be unique."
98119835
},
9836+
"panels/recorder/components/CreateRecordingView.ts | learnMore": {
9837+
"message": "Learn more"
9838+
},
98129839
"panels/recorder/components/CreateRecordingView.ts | recordingName": {
98139840
"message": "Recording name"
98149841
},

0 commit comments

Comments
 (0)