chrome-devtools-frontend 1.0.1592129 → 1.0.1593518
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/Images/src/tab-move.svg +1 -0
- package/front_end/application_tokens.css +4 -4
- package/front_end/core/host/UserMetrics.ts +2 -1
- package/front_end/core/root/ExperimentNames.ts +1 -0
- package/front_end/entrypoints/main/MainImpl.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +3 -1
- package/front_end/generated/SupportedCSSProperties.js +2 -2
- package/front_end/generated/protocol-mapping.d.ts +13 -0
- package/front_end/generated/protocol-proxy-api.d.ts +12 -0
- package/front_end/generated/protocol.ts +75 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +24 -1
- package/front_end/models/ai_assistance/agents/BreakpointDebuggerAgent.ts +320 -26
- package/front_end/models/ai_assistance/agents/BreakpointDebuggerAgentOverlay.ts +87 -0
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.snapshot.txt +8 -8
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +79 -48
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +16 -2
- package/front_end/models/computed_style/ComputedStyleModel.ts +40 -6
- package/front_end/models/javascript_metadata/NativeFunctions.js +6 -6
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +5 -3
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +39 -7
- package/front_end/panels/ai_assistance/README.md +61 -0
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +141 -27
- package/front_end/panels/ai_assistance/components/ChatView.ts +5 -1
- package/front_end/panels/ai_assistance/components/MarkdownRendererWithCodeBlock.ts +55 -1
- package/front_end/panels/ai_assistance/components/WalkthroughView.ts +19 -7
- package/front_end/panels/ai_assistance/components/chatMessage.css +30 -0
- package/front_end/panels/ai_assistance/components/walkthroughView.css +12 -7
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/application/CookieItemsView.ts +194 -134
- package/front_end/panels/application/DeviceBoundSessionsTreeElement.ts +1 -1
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -0
- package/front_end/panels/application/StorageItemsToolbar.ts +25 -2
- package/front_end/panels/application/components/BackForwardCacheView.ts +4 -2
- package/front_end/panels/application/cookieItemsView.css +28 -26
- package/front_end/panels/autofill/AutofillView.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +161 -154
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +1 -0
- package/front_end/panels/browser_debugger/domBreakpointsSidebarPane.css +58 -36
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -1
- package/front_end/panels/console/consoleView.css +7 -2
- package/front_end/panels/elements/ComputedStyleWidget.ts +16 -26
- package/front_end/panels/elements/ElementsPanel.ts +26 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +1 -0
- package/front_end/panels/elements/LayoutPane.ts +8 -7
- package/front_end/panels/elements/StandaloneStylesContainer.ts +254 -0
- package/front_end/panels/elements/StylePropertyTreeElement.ts +33 -0
- package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +148 -1
- package/front_end/panels/elements/components/ComputedStyleTrace.ts +4 -0
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +1 -1
- package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -1
- package/front_end/panels/elements/components/computedStyleProperty.css +1 -1
- package/front_end/panels/elements/elements-meta.ts +3 -5
- package/front_end/panels/elements/elements.ts +2 -0
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +6 -0
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -1
- package/front_end/panels/media/PlayerListView.ts +1 -1
- package/front_end/panels/network/NetworkLogViewColumns.ts +2 -1
- package/front_end/panels/network/components/RequestHeaderSection.ts +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/recorder/components/RecordingListView.ts +1 -1
- package/front_end/panels/recorder/components/StepEditor.ts +3 -3
- package/front_end/panels/settings/KeybindsSettingsTab.ts +2 -1
- package/front_end/panels/sources/components/HeadersView.ts +2 -2
- package/front_end/panels/timeline/components/BreadcrumbsUI.ts +1 -1
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +1 -1
- package/front_end/panels/timeline/components/metricCard.css +0 -4
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Navigation.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Navigation.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Navigation.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +6 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Navigation.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Navigation.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Navigation.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/bidi/core/Navigation.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +7 -12
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +13 -2
- package/front_end/ui/components/tree_outline/TreeOutline.ts +6 -2
- package/front_end/ui/components/tree_outline/treeOutline.css +5 -0
- package/front_end/ui/legacy/ListControl.ts +5 -3
- package/front_end/ui/legacy/ListWidget.ts +1 -1
- package/front_end/ui/legacy/SoftContextMenu.ts +2 -1
- package/front_end/ui/legacy/Treeoutline.ts +1 -0
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +44 -24
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +4 -2
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +1 -1
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +31 -0
- package/front_end/ui/visual_logging/Debugging.ts +4 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
- package/package.json +1 -1
|
@@ -183,26 +183,26 @@ export interface CookiesTableData {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
export class CookiesTable extends UI.Widget.VBox {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
#saveCallback?: ((arg0: SDK.Cookie.Cookie, arg1: SDK.Cookie.Cookie|null) => Promise<boolean>);
|
|
187
|
+
#refreshCallback?: (() => void);
|
|
188
|
+
#selectedCallback?: ((arg0: SDK.Cookie.Cookie|null) => void);
|
|
189
|
+
#deleteCallback?: ((arg0: SDK.Cookie.Cookie, arg1: () => void) => void);
|
|
190
190
|
private lastEditedColumnId: string|null;
|
|
191
191
|
private data: CookieData[] = [];
|
|
192
192
|
private cookies: SDK.Cookie.Cookie[] = [];
|
|
193
|
-
|
|
193
|
+
#cookieDomain: string;
|
|
194
194
|
private cookieToBlockedReasons: ReadonlyMap<SDK.Cookie.Cookie, SDK.CookieModel.BlockedReason[]>|null;
|
|
195
195
|
private cookieToExemptionReason: ReadonlyMap<SDK.Cookie.Cookie, SDK.CookieModel.ExemptionReason>|null;
|
|
196
196
|
private readonly view: ViewFunction;
|
|
197
197
|
private selectedKey?: string;
|
|
198
|
-
|
|
198
|
+
#editable: boolean;
|
|
199
199
|
private renderInline: boolean;
|
|
200
200
|
private readonly schemeBindingEnabled: boolean;
|
|
201
201
|
private readonly portBindingEnabled: boolean;
|
|
202
202
|
constructor(
|
|
203
203
|
element?: HTMLElement, renderInline?: boolean,
|
|
204
204
|
saveCallback?: ((arg0: SDK.Cookie.Cookie, arg1: SDK.Cookie.Cookie|null) => Promise<boolean>),
|
|
205
|
-
refreshCallback?: (() => void), selectedCallback?: (() => void),
|
|
205
|
+
refreshCallback?: (() => void), selectedCallback?: ((arg0: SDK.Cookie.Cookie|null) => void),
|
|
206
206
|
deleteCallback?: ((arg0: SDK.Cookie.Cookie, arg1: () => void) => void), view?: ViewFunction) {
|
|
207
207
|
super(element);
|
|
208
208
|
if (!view) {
|
|
@@ -302,11 +302,11 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
302
302
|
|
|
303
303
|
this.element.classList.add('cookies-table');
|
|
304
304
|
|
|
305
|
-
this
|
|
306
|
-
this
|
|
307
|
-
this
|
|
305
|
+
this.#saveCallback = saveCallback;
|
|
306
|
+
this.#refreshCallback = refreshCallback;
|
|
307
|
+
this.#deleteCallback = deleteCallback;
|
|
308
308
|
|
|
309
|
-
this
|
|
309
|
+
this.#editable = Boolean(saveCallback);
|
|
310
310
|
const {devToolsEnableOriginBoundCookies} = Root.Runtime.hostConfig;
|
|
311
311
|
|
|
312
312
|
this.schemeBindingEnabled = Boolean(devToolsEnableOriginBoundCookies?.schemeBindingEnabled);
|
|
@@ -316,13 +316,13 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
316
316
|
|
|
317
317
|
this.renderInline = Boolean(renderInline);
|
|
318
318
|
|
|
319
|
-
this
|
|
319
|
+
this.#selectedCallback = selectedCallback;
|
|
320
320
|
|
|
321
321
|
this.lastEditedColumnId = null;
|
|
322
322
|
|
|
323
323
|
this.data = [];
|
|
324
324
|
|
|
325
|
-
this
|
|
325
|
+
this.#cookieDomain = '';
|
|
326
326
|
|
|
327
327
|
this.cookieToBlockedReasons = null;
|
|
328
328
|
|
|
@@ -335,6 +335,26 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
335
335
|
this.setCookies(data.cookies, data.cookieToBlockedReasons, data.cookieToExemptionReason);
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
+
set saveCallback(callback: (arg0: SDK.Cookie.Cookie, arg1: SDK.Cookie.Cookie|null) => Promise<boolean>) {
|
|
339
|
+
this.#saveCallback = callback;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
set refreshCallback(callback: () => void) {
|
|
343
|
+
this.#refreshCallback = callback;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
set selectedCallback(callback: (arg0: SDK.Cookie.Cookie|null) => void) {
|
|
347
|
+
this.#selectedCallback = callback;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
set deleteCallback(callback: (arg0: SDK.Cookie.Cookie, arg1: () => void) => void) {
|
|
351
|
+
this.#deleteCallback = callback;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
set editable(value: boolean) {
|
|
355
|
+
this.#editable = value;
|
|
356
|
+
}
|
|
357
|
+
|
|
338
358
|
set inline(value: boolean) {
|
|
339
359
|
this.renderInline = value;
|
|
340
360
|
this.requestUpdate();
|
|
@@ -357,8 +377,8 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
357
377
|
this.requestUpdate();
|
|
358
378
|
}
|
|
359
379
|
|
|
360
|
-
|
|
361
|
-
this
|
|
380
|
+
set cookieDomain(cookieDomain: string) {
|
|
381
|
+
this.#cookieDomain = cookieDomain;
|
|
362
382
|
}
|
|
363
383
|
|
|
364
384
|
selectedCookie(): SDK.Cookie.Cookie|null {
|
|
@@ -374,7 +394,7 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
374
394
|
const input: ViewInput = {
|
|
375
395
|
data: this.data,
|
|
376
396
|
selectedKey: this.selectedKey,
|
|
377
|
-
editable: this
|
|
397
|
+
editable: this.#editable,
|
|
378
398
|
renderInline: this.renderInline,
|
|
379
399
|
schemeBindingEnabled: this.schemeBindingEnabled,
|
|
380
400
|
portBindingEnabled: this.portBindingEnabled,
|
|
@@ -391,13 +411,13 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
391
411
|
|
|
392
412
|
private onSelect(key: string|undefined): void {
|
|
393
413
|
this.selectedKey = key;
|
|
394
|
-
this
|
|
414
|
+
this.#selectedCallback?.(this.selectedCookie());
|
|
395
415
|
}
|
|
396
416
|
|
|
397
417
|
private onDeleteCookie(data: CookieData): void {
|
|
398
418
|
const cookie = this.cookies.find(cookie => cookie.key() === data.key);
|
|
399
|
-
if (cookie && this
|
|
400
|
-
this
|
|
419
|
+
if (cookie && this.#deleteCallback) {
|
|
420
|
+
this.#deleteCallback(cookie, () => this.refresh());
|
|
401
421
|
}
|
|
402
422
|
}
|
|
403
423
|
|
|
@@ -434,7 +454,7 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
434
454
|
data[SDK.Cookie.Attribute.VALUE] = '';
|
|
435
455
|
}
|
|
436
456
|
if (data[SDK.Cookie.Attribute.DOMAIN] === undefined) {
|
|
437
|
-
data[SDK.Cookie.Attribute.DOMAIN] = this
|
|
457
|
+
data[SDK.Cookie.Attribute.DOMAIN] = this.#cookieDomain;
|
|
438
458
|
}
|
|
439
459
|
if (data[SDK.Cookie.Attribute.PATH] === undefined) {
|
|
440
460
|
data[SDK.Cookie.Attribute.PATH] = '/';
|
|
@@ -448,11 +468,11 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
448
468
|
}
|
|
449
469
|
|
|
450
470
|
private saveCookie(newCookieData: CookieData, oldCookie?: SDK.Cookie.Cookie): void {
|
|
451
|
-
if (!this
|
|
471
|
+
if (!this.#saveCallback) {
|
|
452
472
|
return;
|
|
453
473
|
}
|
|
454
474
|
const newCookie = this.createCookieFromData(newCookieData);
|
|
455
|
-
void this
|
|
475
|
+
void this.#saveCallback(newCookie, oldCookie ?? null).then(success => {
|
|
456
476
|
if (!success) {
|
|
457
477
|
newCookieData.dirty = true;
|
|
458
478
|
}
|
|
@@ -591,8 +611,8 @@ export class CookiesTable extends UI.Widget.VBox {
|
|
|
591
611
|
}
|
|
592
612
|
|
|
593
613
|
private refresh(): void {
|
|
594
|
-
if (this
|
|
595
|
-
this
|
|
614
|
+
if (this.#refreshCallback) {
|
|
615
|
+
this.#refreshCallback();
|
|
596
616
|
}
|
|
597
617
|
}
|
|
598
618
|
|
|
@@ -1766,8 +1766,10 @@ export class DataGridNode<T> {
|
|
|
1766
1766
|
|
|
1767
1767
|
protected createElement(): HTMLElement {
|
|
1768
1768
|
this.elementInternal = document.createElement('tr');
|
|
1769
|
-
this.elementInternal.setAttribute(
|
|
1770
|
-
|
|
1769
|
+
this.elementInternal.setAttribute('jslog', `${VisualLogging.tableRow().track({
|
|
1770
|
+
resize: true,
|
|
1771
|
+
keydown: 'ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Enter|Space'
|
|
1772
|
+
})}`);
|
|
1771
1773
|
this.elementInternal.classList.add('data-grid-data-grid-node');
|
|
1772
1774
|
if (this.dataGrid) {
|
|
1773
1775
|
this.dataGrid.elementToDataGridNode.set(this.elementInternal, this);
|
|
@@ -280,7 +280,7 @@ export class FilteredListWidget extends Common.ObjectWrapper.eventMixin<EventTyp
|
|
|
280
280
|
if (this.provider) {
|
|
281
281
|
render(this.provider.renderItem(item, this.cleanValue()), wrapperElement);
|
|
282
282
|
wrapperElement.setAttribute(
|
|
283
|
-
'jslog', `${VisualLogging.item(this.provider.jslogContextAt(item)).track({click: true})}`);
|
|
283
|
+
'jslog', `${VisualLogging.item(this.provider.jslogContextAt(item)).track({click: true, resize: true})}`);
|
|
284
284
|
}
|
|
285
285
|
UI.ARIAUtils.markAsOption(wrapperElement);
|
|
286
286
|
return wrapperElement;
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
36
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
|
37
|
+
import * as Root from '../../../../core/root/root.js';
|
|
37
38
|
import * as SDK from '../../../../core/sdk/sdk.js';
|
|
38
39
|
import * as StackTrace from '../../../../models/stack_trace/stack_trace.js';
|
|
39
40
|
import * as Workspace from '../../../../models/workspace/workspace.js';
|
|
@@ -242,6 +243,36 @@ export class StackTracePreviewContent extends UI.Widget.Widget {
|
|
|
242
243
|
onShowLess: this.#onShowMoreLess.bind(this, false),
|
|
243
244
|
};
|
|
244
245
|
this.#view(input, {}, this.contentElement);
|
|
246
|
+
this.#updateHasNonIgnoredLinks();
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// Propagate ignore-list state to the host element so that CSS outside the
|
|
250
|
+
// shadow DOM can coordinate ignore-list toggling across multiple stack
|
|
251
|
+
// traces (e.g. Error inline stack + console.error call stack).
|
|
252
|
+
// See crbug.com/379788109.
|
|
253
|
+
#updateHasNonIgnoredLinks = (): void => {
|
|
254
|
+
const hasNonIgnoredLinks = this.linkElements.some(link => {
|
|
255
|
+
const uiLocation = Linkifier.uiLocation(link);
|
|
256
|
+
if (uiLocation) {
|
|
257
|
+
return !uiLocation.isIgnoreListed();
|
|
258
|
+
}
|
|
259
|
+
return !link.classList.contains('ignore-list-link');
|
|
260
|
+
});
|
|
261
|
+
this.element.classList.toggle('has-non-ignored-links', hasNonIgnoredLinks);
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
override wasShown(): void {
|
|
265
|
+
super.wasShown();
|
|
266
|
+
if (Root.DevToolsContext.globalInstance().has(Workspace.IgnoreListManager.IgnoreListManager)) {
|
|
267
|
+
Workspace.IgnoreListManager.IgnoreListManager.instance().addChangeListener(this.#updateHasNonIgnoredLinks);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
override willHide(): void {
|
|
272
|
+
if (Root.DevToolsContext.globalInstance().has(Workspace.IgnoreListManager.IgnoreListManager)) {
|
|
273
|
+
Workspace.IgnoreListManager.IgnoreListManager.instance().removeChangeListener(this.#updateHasNonIgnoredLinks);
|
|
274
|
+
}
|
|
275
|
+
super.willHide();
|
|
245
276
|
}
|
|
246
277
|
|
|
247
278
|
get linkElements(): readonly HTMLElement[] {
|
|
@@ -878,6 +878,10 @@ function checkPendingEventExpectation(): void {
|
|
|
878
878
|
}
|
|
879
879
|
if (!found) {
|
|
880
880
|
processMissingEvents(pendingEventExpectation, expectedEventIndex, matchedImpressions);
|
|
881
|
+
if (!pendingEventExpectation.missingEvents?.length) {
|
|
882
|
+
numMatchedEvents = actualEventIndex;
|
|
883
|
+
pendingEventExpectation.success();
|
|
884
|
+
}
|
|
881
885
|
return;
|
|
882
886
|
}
|
|
883
887
|
}
|
|
@@ -2058,6 +2058,7 @@ export const knownContextValues = new Set([
|
|
|
2058
2058
|
'java-script-disabled-true',
|
|
2059
2059
|
'javascript',
|
|
2060
2060
|
'javascript-context',
|
|
2061
|
+
'jpeg-xl',
|
|
2061
2062
|
'jpeg-xl-format-disabled',
|
|
2062
2063
|
'jpeg-xl-format-disabled-true',
|
|
2063
2064
|
'jpg-header',
|
|
@@ -3720,6 +3721,7 @@ export const knownContextValues = new Set([
|
|
|
3720
3721
|
'srgb',
|
|
3721
3722
|
'stack-trace',
|
|
3722
3723
|
'stalled',
|
|
3724
|
+
'standalone-styles',
|
|
3723
3725
|
'standard-emulated-device-list',
|
|
3724
3726
|
'start',
|
|
3725
3727
|
'start-conversation-drjones-file',
|
package/package.json
CHANGED