chrome-devtools-frontend 1.0.1000713 → 1.0.1001476
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/devtools_grd_files.gni +3 -0
- package/front_end/.eslintrc.js +1 -0
- package/front_end/core/i18n/locales/en-US.json +189 -0
- package/front_end/core/i18n/locales/en-XL.json +189 -0
- package/front_end/models/bindings/BreakpointManager.ts +12 -11
- package/front_end/models/issues_manager/DeprecationIssue.ts +273 -228
- package/front_end/models/persistence/PersistenceImpl.ts +2 -2
- package/front_end/panels/application/components/BackForwardCacheView.ts +4 -5
- package/front_end/panels/application/components/FrameDetailsView.ts +19 -19
- package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +1 -1
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +4 -0
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/network/components/RequestTrustTokensView.ts +7 -7
- package/front_end/panels/sources/DebuggerPlugin.ts +10 -9
- package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +3 -3
- package/front_end/third_party/puppeteer/package/README.md +11 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +26 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +19 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +6 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js +2 -15
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +23 -15
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +17 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +1 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/package.json +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +19 -11
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +6 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js +2 -15
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +21 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js +17 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +1 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/package.json +33 -18
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +4 -1
- package/front_end/ui/components/data_grid/DataGrid.ts +1 -1
- package/front_end/ui/components/data_grid/DataGridUtils.ts +1 -1
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +1 -1
- package/front_end/ui/lit-html/lit-html.ts +3 -0
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/lit_template_result_or_nothing.js +4 -0
- package/scripts/eslint_rules/tests/lit_template_result_or_nothing_test.js +13 -0
@@ -256,8 +256,8 @@ export class PersistenceImpl extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
256
256
|
Promise<void> {
|
257
257
|
const breakpoints = this.breakpointManager.breakpointLocationsForUISourceCode(from).map(
|
258
258
|
breakpointLocation => breakpointLocation.breakpoint);
|
259
|
-
await Promise.all(breakpoints.map(breakpoint => {
|
260
|
-
breakpoint.remove(false /* keepInStorage */);
|
259
|
+
await Promise.all(breakpoints.map(async breakpoint => {
|
260
|
+
await breakpoint.remove(false /* keepInStorage */);
|
261
261
|
return this.breakpointManager.setBreakpoint(
|
262
262
|
to, breakpoint.lineNumber(), breakpoint.columnNumber(), breakpoint.condition(), breakpoint.enabled());
|
263
263
|
}));
|
@@ -311,7 +311,7 @@ export class BackForwardCacheView extends HTMLElement {
|
|
311
311
|
}
|
312
312
|
|
313
313
|
#maybeRenderFrameTree(explanationTree: Protocol.Page.BackForwardCacheNotRestoredExplanationTree|
|
314
|
-
undefined): LitHtml.
|
314
|
+
undefined): LitHtml.LitTemplate {
|
315
315
|
if (!explanationTree || (explanationTree.explanations.length === 0 && explanationTree.children.length === 0) ||
|
316
316
|
!Root.Runtime.experiments.isEnabled('bfcacheDisplayTree')) {
|
317
317
|
return LitHtml.nothing;
|
@@ -456,7 +456,7 @@ export class BackForwardCacheView extends HTMLElement {
|
|
456
456
|
|
457
457
|
#maybeRenderExplanations(
|
458
458
|
explanations: Protocol.Page.BackForwardCacheNotRestoredExplanation[],
|
459
|
-
explanationTree: Protocol.Page.BackForwardCacheNotRestoredExplanationTree|undefined): LitHtml.
|
459
|
+
explanationTree: Protocol.Page.BackForwardCacheNotRestoredExplanationTree|undefined): LitHtml.LitTemplate {
|
460
460
|
if (explanations.length === 0) {
|
461
461
|
return LitHtml.nothing;
|
462
462
|
}
|
@@ -508,8 +508,7 @@ export class BackForwardCacheView extends HTMLElement {
|
|
508
508
|
// clang-format on
|
509
509
|
}
|
510
510
|
|
511
|
-
#maybeRenderReasonContext(explanation: Protocol.Page.BackForwardCacheNotRestoredExplanation): LitHtml.
|
512
|
-
{} {
|
511
|
+
#maybeRenderReasonContext(explanation: Protocol.Page.BackForwardCacheNotRestoredExplanation): LitHtml.LitTemplate {
|
513
512
|
if (explanation.reason ===
|
514
513
|
Protocol.Page.BackForwardCacheNotRestoredReason.EmbedderExtensionSentMessageToCachedFrame &&
|
515
514
|
explanation.context) {
|
@@ -522,7 +521,7 @@ export class BackForwardCacheView extends HTMLElement {
|
|
522
521
|
return LitHtml.nothing;
|
523
522
|
}
|
524
523
|
|
525
|
-
#renderFramesPerReason(frames: string[]|undefined): LitHtml.
|
524
|
+
#renderFramesPerReason(frames: string[]|undefined): LitHtml.LitTemplate {
|
526
525
|
if (frames === undefined || frames.length === 0 || !Root.Runtime.experiments.isEnabled('bfcacheDisplayTree')) {
|
527
526
|
return LitHtml.nothing;
|
528
527
|
}
|
@@ -318,7 +318,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
318
318
|
});
|
319
319
|
}
|
320
320
|
|
321
|
-
#renderOriginTrial(): LitHtml.
|
321
|
+
#renderOriginTrial(): LitHtml.LitTemplate {
|
322
322
|
if (!this.#frame) {
|
323
323
|
return LitHtml.nothing;
|
324
324
|
}
|
@@ -354,7 +354,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
354
354
|
`;
|
355
355
|
}
|
356
356
|
|
357
|
-
#renderDocumentSection(): LitHtml.
|
357
|
+
#renderDocumentSection(): LitHtml.LitTemplate {
|
358
358
|
if (!this.#frame) {
|
359
359
|
return LitHtml.nothing;
|
360
360
|
}
|
@@ -381,7 +381,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
381
381
|
`;
|
382
382
|
}
|
383
383
|
|
384
|
-
#maybeRenderSourcesLinkForURL(): LitHtml.
|
384
|
+
#maybeRenderSourcesLinkForURL(): LitHtml.LitTemplate {
|
385
385
|
if (!this.#frame || this.#frame.unreachableUrl()) {
|
386
386
|
return LitHtml.nothing;
|
387
387
|
}
|
@@ -393,7 +393,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
393
393
|
);
|
394
394
|
}
|
395
395
|
|
396
|
-
#maybeRenderNetworkLinkForURL(): LitHtml.
|
396
|
+
#maybeRenderNetworkLinkForURL(): LitHtml.LitTemplate {
|
397
397
|
if (this.#frame) {
|
398
398
|
const resource = this.#frame.resourceForURL(this.#frame.url);
|
399
399
|
if (resource && resource.request) {
|
@@ -422,7 +422,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
422
422
|
return null;
|
423
423
|
}
|
424
424
|
|
425
|
-
#maybeRenderUnreachableURL(): LitHtml.
|
425
|
+
#maybeRenderUnreachableURL(): LitHtml.LitTemplate {
|
426
426
|
if (!this.#frame || !this.#frame.unreachableUrl()) {
|
427
427
|
return LitHtml.nothing;
|
428
428
|
}
|
@@ -438,7 +438,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
438
438
|
`;
|
439
439
|
}
|
440
440
|
|
441
|
-
#renderNetworkLinkForUnreachableURL(): LitHtml.
|
441
|
+
#renderNetworkLinkForUnreachableURL(): LitHtml.LitTemplate {
|
442
442
|
if (this.#frame) {
|
443
443
|
const unreachableUrl = Common.ParsedURL.ParsedURL.fromString(this.#frame.unreachableUrl());
|
444
444
|
if (unreachableUrl) {
|
@@ -464,7 +464,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
464
464
|
return LitHtml.nothing;
|
465
465
|
}
|
466
466
|
|
467
|
-
#maybeRenderOrigin(): LitHtml.
|
467
|
+
#maybeRenderOrigin(): LitHtml.LitTemplate {
|
468
468
|
if (this.#frame && this.#frame.securityOrigin && this.#frame.securityOrigin !== '://') {
|
469
469
|
return LitHtml.html`
|
470
470
|
<${ReportView.ReportView.ReportKey.litTagName}>${i18nString(UIStrings.origin)}</${
|
@@ -477,7 +477,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
477
477
|
return LitHtml.nothing;
|
478
478
|
}
|
479
479
|
|
480
|
-
async #renderOwnerElement(): Promise<LitHtml.
|
480
|
+
async #renderOwnerElement(): Promise<LitHtml.LitTemplate> {
|
481
481
|
if (this.#frame) {
|
482
482
|
const linkTargetDOMNode = await this.#frame.getOwnerDOMNodeOrDocument();
|
483
483
|
if (linkTargetDOMNode) {
|
@@ -507,7 +507,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
507
507
|
return LitHtml.nothing;
|
508
508
|
}
|
509
509
|
|
510
|
-
#maybeRenderCreationStacktrace(): LitHtml.
|
510
|
+
#maybeRenderCreationStacktrace(): LitHtml.LitTemplate {
|
511
511
|
const creationStackTraceData = this.#frame?.getCreationStackTraceData();
|
512
512
|
if (creationStackTraceData && creationStackTraceData.creationStackTrace) {
|
513
513
|
// Disabled until https://crbug.com/1079231 is fixed.
|
@@ -549,7 +549,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
549
549
|
}
|
550
550
|
}
|
551
551
|
|
552
|
-
#maybeRenderAdStatus(): LitHtml.
|
552
|
+
#maybeRenderAdStatus(): LitHtml.LitTemplate {
|
553
553
|
if (!this.#frame) {
|
554
554
|
return LitHtml.nothing;
|
555
555
|
}
|
@@ -572,7 +572,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
572
572
|
`;
|
573
573
|
}
|
574
574
|
|
575
|
-
#renderIsolationSection(): LitHtml.
|
575
|
+
#renderIsolationSection(): LitHtml.LitTemplate {
|
576
576
|
if (!this.#frame) {
|
577
577
|
return LitHtml.nothing;
|
578
578
|
}
|
@@ -596,7 +596,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
596
596
|
`;
|
597
597
|
}
|
598
598
|
|
599
|
-
#maybeRenderSecureContextExplanation(): LitHtml.
|
599
|
+
#maybeRenderSecureContextExplanation(): LitHtml.LitTemplate {
|
600
600
|
const explanation = this.#getSecureContextExplanation();
|
601
601
|
if (explanation) {
|
602
602
|
return LitHtml.html`<span class="inline-comment">${explanation}</span>`;
|
@@ -618,7 +618,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
618
618
|
return null;
|
619
619
|
}
|
620
620
|
|
621
|
-
async #maybeRenderCoopCoepStatus(): Promise<LitHtml.
|
621
|
+
async #maybeRenderCoopCoepStatus(): Promise<LitHtml.LitTemplate> {
|
622
622
|
if (this.#frame) {
|
623
623
|
const model = this.#frame.resourceTreeModel().target().model(SDK.NetworkManager.NetworkManager);
|
624
624
|
const info = model && await model.getSecurityIsolationStatus(this.#frame.id);
|
@@ -642,7 +642,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
642
642
|
info: Protocol.Network.CrossOriginEmbedderPolicyStatus|Protocol.Network.CrossOriginOpenerPolicyStatus|undefined,
|
643
643
|
policyName: string,
|
644
644
|
noneValue: Protocol.Network.CrossOriginEmbedderPolicyValue|
|
645
|
-
Protocol.Network.CrossOriginOpenerPolicyValue): LitHtml.
|
645
|
+
Protocol.Network.CrossOriginOpenerPolicyValue): LitHtml.LitTemplate {
|
646
646
|
if (!info) {
|
647
647
|
return LitHtml.nothing;
|
648
648
|
}
|
@@ -661,7 +661,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
661
661
|
`;
|
662
662
|
}
|
663
663
|
|
664
|
-
#renderApiAvailabilitySection(): LitHtml.
|
664
|
+
#renderApiAvailabilitySection(): LitHtml.LitTemplate {
|
665
665
|
if (!this.#frame) {
|
666
666
|
return LitHtml.nothing;
|
667
667
|
}
|
@@ -680,7 +680,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
680
680
|
`;
|
681
681
|
}
|
682
682
|
|
683
|
-
#renderSharedArrayBufferAvailability(): LitHtml.
|
683
|
+
#renderSharedArrayBufferAvailability(): LitHtml.LitTemplate {
|
684
684
|
if (this.#frame) {
|
685
685
|
const features = this.#frame.getGatedAPIFeatures();
|
686
686
|
if (features) {
|
@@ -694,7 +694,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
694
694
|
i18nString(UIStrings.sharedarraybufferConstructorIs) :
|
695
695
|
(sabAvailable ? i18nString(UIStrings.sharedarraybufferConstructorIsAvailable) : '');
|
696
696
|
|
697
|
-
function renderHint(frame: SDK.ResourceTreeModel.ResourceTreeFrame): LitHtml.
|
697
|
+
function renderHint(frame: SDK.ResourceTreeModel.ResourceTreeFrame): LitHtml.LitTemplate {
|
698
698
|
switch (frame.getCrossOriginIsolatedContextType()) {
|
699
699
|
case Protocol.Page.CrossOriginIsolatedContextType.Isolated:
|
700
700
|
return LitHtml.nothing;
|
@@ -730,7 +730,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
730
730
|
return LitHtml.nothing;
|
731
731
|
}
|
732
732
|
|
733
|
-
#renderMeasureMemoryAvailability(): LitHtml.
|
733
|
+
#renderMeasureMemoryAvailability(): LitHtml.LitTemplate {
|
734
734
|
if (this.#frame) {
|
735
735
|
const measureMemoryAvailable = this.#frame.isCrossOriginIsolated();
|
736
736
|
const availabilityText =
|
@@ -750,7 +750,7 @@ export class FrameDetailsReportView extends HTMLElement {
|
|
750
750
|
return LitHtml.nothing;
|
751
751
|
}
|
752
752
|
|
753
|
-
#renderAdditionalInfoSection(): LitHtml.
|
753
|
+
#renderAdditionalInfoSection(): LitHtml.LitTemplate {
|
754
754
|
if (!this.#frame) {
|
755
755
|
return LitHtml.nothing;
|
756
756
|
}
|
@@ -105,7 +105,7 @@ export class PermissionsPolicySection extends HTMLElement {
|
|
105
105
|
void this.#render();
|
106
106
|
}
|
107
107
|
|
108
|
-
#renderAllowed(): LitHtml.
|
108
|
+
#renderAllowed(): LitHtml.LitTemplate {
|
109
109
|
const allowed = this.#permissionsPolicySectionData.policies.filter(p => p.allowed).map(p => p.feature).sort();
|
110
110
|
if (!allowed.length) {
|
111
111
|
return LitHtml.nothing;
|
@@ -119,7 +119,7 @@ export class PermissionsPolicySection extends HTMLElement {
|
|
119
119
|
`;
|
120
120
|
}
|
121
121
|
|
122
|
-
async #renderDisallowed(): Promise<LitHtml.
|
122
|
+
async #renderDisallowed(): Promise<LitHtml.LitTemplate> {
|
123
123
|
const disallowed = this.#permissionsPolicySectionData.policies.filter(p => !p.allowed)
|
124
124
|
.sort((a, b) => a.feature.localeCompare(b.feature));
|
125
125
|
if (!disallowed.length) {
|
@@ -1074,7 +1074,7 @@ export class ElementNode extends DataGrid.SortableDataGrid.SortableDataGridNode<
|
|
1074
1074
|
button.classList.add('show-element');
|
1075
1075
|
UI.Tooltip.Tooltip.install(button, i18nString(UIStrings.showElement));
|
1076
1076
|
button.tabIndex = 0;
|
1077
|
-
button.onclick = (): void =>
|
1077
|
+
button.onclick = (): Promise<void> => frontendNode.scrollIntoView();
|
1078
1078
|
cell.appendChild(button);
|
1079
1079
|
});
|
1080
1080
|
return cell;
|
@@ -104,7 +104,7 @@ export class QueryContainer extends HTMLElement {
|
|
104
104
|
// clang-format on
|
105
105
|
}
|
106
106
|
|
107
|
-
#renderQueriedSizeDetails(): LitHtml.
|
107
|
+
#renderQueriedSizeDetails(): LitHtml.LitTemplate {
|
108
108
|
if (!this.#queriedSizeDetails || this.#queriedSizeDetails.queryAxis === QueryAxis.None) {
|
109
109
|
return LitHtml.nothing;
|
110
110
|
}
|
@@ -150,7 +150,7 @@ export class RequestTrustTokensReport extends HTMLElement {
|
|
150
150
|
// clang-format on
|
151
151
|
}
|
152
152
|
|
153
|
-
#renderParameterSection(): LitHtml.
|
153
|
+
#renderParameterSection(): LitHtml.LitTemplate {
|
154
154
|
if (!this.#trustTokenData || !this.#trustTokenData.params) {
|
155
155
|
return LitHtml.nothing;
|
156
156
|
}
|
@@ -167,14 +167,14 @@ export class RequestTrustTokensReport extends HTMLElement {
|
|
167
167
|
`;
|
168
168
|
}
|
169
169
|
|
170
|
-
#renderRefreshPolicy(params: Protocol.Network.TrustTokenParams): LitHtml.
|
170
|
+
#renderRefreshPolicy(params: Protocol.Network.TrustTokenParams): LitHtml.LitTemplate {
|
171
171
|
if (params.type !== Protocol.Network.TrustTokenOperationType.Redemption) {
|
172
172
|
return LitHtml.nothing;
|
173
173
|
}
|
174
174
|
return renderRowWithCodeValue(i18nString(UIStrings.refreshPolicy), params.refreshPolicy.toString());
|
175
175
|
}
|
176
176
|
|
177
|
-
#renderIssuers(params: Protocol.Network.TrustTokenParams): LitHtml.
|
177
|
+
#renderIssuers(params: Protocol.Network.TrustTokenParams): LitHtml.LitTemplate {
|
178
178
|
if (!params.issuers || params.issuers.length === 0) {
|
179
179
|
return LitHtml.nothing;
|
180
180
|
}
|
@@ -193,7 +193,7 @@ export class RequestTrustTokensReport extends HTMLElement {
|
|
193
193
|
// The issuer and top level origin are technically parameters but reported in the
|
194
194
|
// result structure due to the timing when they are calculated in the backend.
|
195
195
|
// Nonetheless, we show them as part of the parameter section.
|
196
|
-
#renderIssuerAndTopLevelOriginFromResult(): LitHtml.
|
196
|
+
#renderIssuerAndTopLevelOriginFromResult(): LitHtml.LitTemplate {
|
197
197
|
if (!this.#trustTokenData || !this.#trustTokenData.result) {
|
198
198
|
return LitHtml.nothing;
|
199
199
|
}
|
@@ -203,7 +203,7 @@ export class RequestTrustTokensReport extends HTMLElement {
|
|
203
203
|
${renderSimpleRowIfValuePresent(i18nString(UIStrings.issuer), this.#trustTokenData.result.issuerOrigin)}`;
|
204
204
|
}
|
205
205
|
|
206
|
-
#renderResultSection(): LitHtml.
|
206
|
+
#renderResultSection(): LitHtml.LitTemplate {
|
207
207
|
if (!this.#trustTokenData || !this.#trustTokenData.result) {
|
208
208
|
return LitHtml.nothing;
|
209
209
|
}
|
@@ -227,7 +227,7 @@ export class RequestTrustTokensReport extends HTMLElement {
|
|
227
227
|
`;
|
228
228
|
}
|
229
229
|
|
230
|
-
#renderIssuedTokenCount(result: Protocol.Network.TrustTokenOperationDoneEvent): LitHtml.
|
230
|
+
#renderIssuedTokenCount(result: Protocol.Network.TrustTokenOperationDoneEvent): LitHtml.LitTemplate {
|
231
231
|
if (result.type !== Protocol.Network.TrustTokenOperationType.Issuance) {
|
232
232
|
return LitHtml.nothing;
|
233
233
|
}
|
@@ -284,7 +284,7 @@ function getDetailedTextForStatusCode(status: Protocol.Network.TrustTokenOperati
|
|
284
284
|
}
|
285
285
|
}
|
286
286
|
|
287
|
-
function renderSimpleRowIfValuePresent<T>(key: string, value: T|undefined): LitHtml.
|
287
|
+
function renderSimpleRowIfValuePresent<T>(key: string, value: T|undefined): LitHtml.LitTemplate {
|
288
288
|
if (value === undefined) {
|
289
289
|
return LitHtml.nothing;
|
290
290
|
}
|
@@ -441,7 +441,7 @@ export class DebuggerPlugin extends Plugin {
|
|
441
441
|
} else {
|
442
442
|
const removeTitle = i18nString(UIStrings.removeBreakpoint, {n: breakpoints.length});
|
443
443
|
contextMenu.debugSection().appendItem(
|
444
|
-
removeTitle, () => breakpoints.forEach(breakpoint => breakpoint.remove(false)));
|
444
|
+
removeTitle, () => breakpoints.forEach(breakpoint => void breakpoint.remove(false)));
|
445
445
|
if (breakpoints.length === 1 && supportsConditionalBreakpoints) {
|
446
446
|
// Editing breakpoints only make sense for conditional breakpoints
|
447
447
|
// and logpoints and both are currently only available for JavaScript
|
@@ -520,7 +520,7 @@ export class DebuggerPlugin extends Plugin {
|
|
520
520
|
if (value !== this.muted) {
|
521
521
|
this.muted = value;
|
522
522
|
if (!value) {
|
523
|
-
this.restoreBreakpointsAfterEditing();
|
523
|
+
void this.restoreBreakpointsAfterEditing();
|
524
524
|
} else if (this.editor) {
|
525
525
|
this.editor.dispatch({effects: muteBreakpoints.of(null)});
|
526
526
|
}
|
@@ -1221,18 +1221,19 @@ export class DebuggerPlugin extends Plugin {
|
|
1221
1221
|
// breakpoints the breakpoint manager might have (which point into
|
1222
1222
|
// the old file) with the breakpoints we have, which had their
|
1223
1223
|
// positions tracked through the changes.
|
1224
|
-
private restoreBreakpointsAfterEditing(): void {
|
1224
|
+
private async restoreBreakpointsAfterEditing(): Promise<void> {
|
1225
1225
|
const {breakpoints} = this;
|
1226
1226
|
const editor = this.editor as TextEditor.TextEditor.TextEditor;
|
1227
1227
|
this.breakpoints = [];
|
1228
|
-
|
1228
|
+
await Promise.all(breakpoints.map(async description => {
|
1229
|
+
const {breakpoint, position} = description;
|
1229
1230
|
const condition = breakpoint.condition(), enabled = breakpoint.enabled();
|
1230
|
-
breakpoint.remove(false);
|
1231
|
+
await breakpoint.remove(false);
|
1231
1232
|
const editorLocation = editor.toLineColumn(position);
|
1232
1233
|
const uiLocation =
|
1233
1234
|
this.transformer.editorLocationToUILocation(editorLocation.lineNumber, editorLocation.columnNumber);
|
1234
|
-
|
1235
|
-
}
|
1235
|
+
await this.setBreakpoint(uiLocation.lineNumber, uiLocation.columnNumber, condition, enabled);
|
1236
|
+
}));
|
1236
1237
|
}
|
1237
1238
|
|
1238
1239
|
private async refreshBreakpoints(): Promise<void> {
|
@@ -1269,7 +1270,7 @@ export class DebuggerPlugin extends Plugin {
|
|
1269
1270
|
if (event.shiftKey) {
|
1270
1271
|
breakpoint.setEnabled(!breakpoint.enabled());
|
1271
1272
|
} else {
|
1272
|
-
breakpoint.remove(false);
|
1273
|
+
void breakpoint.remove(false);
|
1273
1274
|
}
|
1274
1275
|
} else if (this.editor) {
|
1275
1276
|
const editorLocation = this.editor.editor.posAtDOM(event.target as unknown as HTMLElement);
|
@@ -1444,7 +1445,7 @@ export class DebuggerPlugin extends Plugin {
|
|
1444
1445
|
if (onlyDisable) {
|
1445
1446
|
breakpoint.setEnabled(hasDisabled);
|
1446
1447
|
} else {
|
1447
|
-
breakpoint.remove(false);
|
1448
|
+
void breakpoint.remove(false);
|
1448
1449
|
}
|
1449
1450
|
}
|
1450
1451
|
}
|
@@ -426,7 +426,7 @@ export class JavaScriptBreakpointsSidebarPane extends UI.ThrottledWidget.Throttl
|
|
426
426
|
const removeEntryTitle = breakpoints.length > 1 ? i18nString(UIStrings.removeAllBreakpointsInLine) :
|
427
427
|
i18nString(UIStrings.removeBreakpoint);
|
428
428
|
contextMenu.defaultSection().appendItem(
|
429
|
-
removeEntryTitle, () => breakpoints.map(breakpoint => breakpoint.remove(false /* keepInStorage */)));
|
429
|
+
removeEntryTitle, () => breakpoints.map(breakpoint => void breakpoint.remove(false /* keepInStorage */)));
|
430
430
|
if (event.target instanceof Element) {
|
431
431
|
contextMenu.defaultSection().appendItem(
|
432
432
|
i18nString(UIStrings.revealLocation), this.revealLocation.bind(this, event.target));
|
@@ -487,14 +487,14 @@ export class JavaScriptBreakpointsSidebarPane extends UI.ThrottledWidget.Throttl
|
|
487
487
|
|
488
488
|
private removeAllBreakpoints(): void {
|
489
489
|
for (const breakpointLocation of this.breakpointManager.allBreakpointLocations()) {
|
490
|
-
breakpointLocation.breakpoint.remove(false /* keepInStorage */);
|
490
|
+
void breakpointLocation.breakpoint.remove(false /* keepInStorage */);
|
491
491
|
}
|
492
492
|
}
|
493
493
|
|
494
494
|
private removeOtherBreakpoints(selectedBreakpoints: Set<Bindings.BreakpointManager.Breakpoint>): void {
|
495
495
|
for (const breakpointLocation of this.breakpointManager.allBreakpointLocations()) {
|
496
496
|
if (!selectedBreakpoints.has(breakpointLocation.breakpoint)) {
|
497
|
-
breakpointLocation.breakpoint.remove(false /* keepInStorage */);
|
497
|
+
void breakpointLocation.breakpoint.remove(false /* keepInStorage */);
|
498
498
|
}
|
499
499
|
}
|
500
500
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
<img src="https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png" height="200" align="right">
|
10
10
|
|
11
|
-
###### [API](https://github.com/puppeteer/puppeteer/blob/
|
11
|
+
###### [API](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md) | [FAQ](#faq) | [Contributing](https://github.com/puppeteer/puppeteer/blob/main/CONTRIBUTING.md) | [Troubleshooting](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md)
|
12
12
|
|
13
13
|
> Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the [DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). Puppeteer runs [headless](https://developers.google.com/web/updates/2017/04/headless-chrome) by default, but can be configured to run full (non-headless) Chrome or Chromium.
|
14
14
|
|
@@ -39,7 +39,7 @@ npm i puppeteer
|
|
39
39
|
# or "yarn add puppeteer"
|
40
40
|
```
|
41
41
|
|
42
|
-
Note: When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API. To skip the download, download into another path, or download a different browser, see [Environment variables](https://github.com/puppeteer/puppeteer/blob/
|
42
|
+
Note: When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API. To skip the download, download into another path, or download a different browser, see [Environment variables](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#environment-variables).
|
43
43
|
|
44
44
|
### puppeteer-core
|
45
45
|
|
@@ -63,7 +63,7 @@ Note: Prior to v1.18.1, Puppeteer required at least Node v6.4.0. Versions from v
|
|
63
63
|
Node 8.9.0+. Starting from v3.0.0 Puppeteer starts to rely on Node 10.18.1+. All examples below use async/await which is only supported in Node v7.6.0 or greater.
|
64
64
|
|
65
65
|
Puppeteer will be familiar to people using other browser testing frameworks. You create an instance
|
66
|
-
of `Browser`, open pages, and then manipulate them with [Puppeteer's API](https://github.com/puppeteer/puppeteer/blob/
|
66
|
+
of `Browser`, open pages, and then manipulate them with [Puppeteer's API](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#).
|
67
67
|
|
68
68
|
**Example** - navigating to https://example.com and saving a screenshot as _example.png_:
|
69
69
|
|
@@ -88,7 +88,7 @@ Execute script on the command line
|
|
88
88
|
node example.js
|
89
89
|
```
|
90
90
|
|
91
|
-
Puppeteer sets an initial page size to 800×600px, which defines the screenshot size. The page size can be customized with [`Page.setViewport()`](https://github.com/puppeteer/puppeteer/blob/
|
91
|
+
Puppeteer sets an initial page size to 800×600px, which defines the screenshot size. The page size can be customized with [`Page.setViewport()`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#pagesetviewportviewport).
|
92
92
|
|
93
93
|
**Example** - create a PDF.
|
94
94
|
|
@@ -115,7 +115,7 @@ Execute script on the command line
|
|
115
115
|
node hn.js
|
116
116
|
```
|
117
117
|
|
118
|
-
See [`Page.pdf()`](https://github.com/puppeteer/puppeteer/blob/
|
118
|
+
See [`Page.pdf()`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#pagepdfoptions) for more information about creating pdfs.
|
119
119
|
|
120
120
|
**Example** - evaluate script in the context of the page
|
121
121
|
|
@@ -150,7 +150,7 @@ Execute script on the command line
|
|
150
150
|
node get-dimensions.js
|
151
151
|
```
|
152
152
|
|
153
|
-
See [`Page.evaluate()`](https://github.com/puppeteer/puppeteer/blob/
|
153
|
+
See [`Page.evaluate()`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#pageevaluatepagefunction-args) for more information on `evaluate` and related methods like `evaluateOnNewDocument` and `exposeFunction`.
|
154
154
|
|
155
155
|
<!-- [END getstarted] -->
|
156
156
|
|
@@ -160,7 +160,7 @@ See [`Page.evaluate()`](https://github.com/puppeteer/puppeteer/blob/v13.7.0/docs
|
|
160
160
|
|
161
161
|
**1. Uses Headless mode**
|
162
162
|
|
163
|
-
Puppeteer launches Chromium in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). To launch a full version of Chromium, set the [`headless` option](https://github.com/puppeteer/puppeteer/blob/
|
163
|
+
Puppeteer launches Chromium in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). To launch a full version of Chromium, set the [`headless` option](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#puppeteerlaunchoptions) when launching a browser:
|
164
164
|
|
165
165
|
```js
|
166
166
|
const browser = await puppeteer.launch({ headless: false }); // default is true
|
@@ -176,7 +176,7 @@ pass in the executable's path when creating a `Browser` instance:
|
|
176
176
|
const browser = await puppeteer.launch({ executablePath: '/path/to/Chrome' });
|
177
177
|
```
|
178
178
|
|
179
|
-
You can also use Puppeteer with Firefox Nightly (experimental support). See [`Puppeteer.launch()`](https://github.com/puppeteer/puppeteer/blob/
|
179
|
+
You can also use Puppeteer with Firefox Nightly (experimental support). See [`Puppeteer.launch()`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#puppeteerlaunchoptions) for more information.
|
180
180
|
|
181
181
|
See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for a description of the differences between Chromium and Chrome. [`This article`](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/chromium_browser_vs_google_chrome.md) describes some differences for Linux users.
|
182
182
|
|
@@ -188,7 +188,7 @@ Puppeteer creates its own browser user profile which it **cleans up on every run
|
|
188
188
|
|
189
189
|
## Resources
|
190
190
|
|
191
|
-
- [API Documentation](https://github.com/puppeteer/puppeteer/blob/
|
191
|
+
- [API Documentation](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md)
|
192
192
|
- [Examples](https://github.com/puppeteer/puppeteer/tree/main/examples/)
|
193
193
|
- [Community list of Puppeteer resources](https://github.com/transitive-bullshit/awesome-puppeteer)
|
194
194
|
|
@@ -330,7 +330,7 @@ See [Contributing](https://github.com/puppeteer/puppeteer/blob/main/CONTRIBUTING
|
|
330
330
|
|
331
331
|
Official Firefox support is currently experimental. The ongoing collaboration with Mozilla aims to support common end-to-end testing use cases, for which developers expect cross-browser coverage. The Puppeteer team needs input from users to stabilize Firefox support and to bring missing APIs to our attention.
|
332
332
|
|
333
|
-
From Puppeteer v2.1.0 onwards you can specify [`puppeteer.launch({product: 'firefox'})`](https://github.com/puppeteer/puppeteer/blob/
|
333
|
+
From Puppeteer v2.1.0 onwards you can specify [`puppeteer.launch({product: 'firefox'})`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#puppeteerlaunchoptions) to run your Puppeteer scripts in Firefox Nightly, without any additional custom patches. While [an older experiment](https://www.npmjs.com/package/puppeteer-firefox) required a patched version of Firefox, [the current approach](https://wiki.mozilla.org/Remote) works with “stock” Firefox.
|
334
334
|
|
335
335
|
We will continue to collaborate with other browser vendors to bring Puppeteer support to browsers such as Safari.
|
336
336
|
This effort includes exploration of a standard for executing cross-browser commands (instead of relying on the non-standard DevTools Protocol used by Chrome).
|
@@ -433,7 +433,7 @@ await page.evaluate(() => {
|
|
433
433
|
|
434
434
|
You may find that Puppeteer does not behave as expected when controlling pages that incorporate audio and video. (For example, [video playback/screenshots is likely to fail](https://github.com/puppeteer/puppeteer/issues/291).) There are two reasons for this:
|
435
435
|
|
436
|
-
- Puppeteer is bundled with Chromium — not Chrome — and so by default, it inherits all of [Chromium's media-related limitations](https://www.chromium.org/audio-video). This means that Puppeteer does not support licensed formats such as AAC or H.264. (However, it is possible to force Puppeteer to use a separately-installed version Chrome instead of Chromium via the [`executablePath` option to `puppeteer.launch`](https://github.com/puppeteer/puppeteer/blob/
|
436
|
+
- Puppeteer is bundled with Chromium — not Chrome — and so by default, it inherits all of [Chromium's media-related limitations](https://www.chromium.org/audio-video). This means that Puppeteer does not support licensed formats such as AAC or H.264. (However, it is possible to force Puppeteer to use a separately-installed version Chrome instead of Chromium via the [`executablePath` option to `puppeteer.launch`](https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#puppeteerlaunchoptions). You should only use this configuration if you need an official release of Chrome that supports these media formats.)
|
437
437
|
- Since Puppeteer (in all configurations) controls a desktop version of Chromium/Chrome, features that are only supported by the mobile version of Chrome are not supported. This means that Puppeteer [does not support HTTP Live Streaming (HLS)](https://caniuse.com/#feat=http-live-streaming).
|
438
438
|
|
439
439
|
#### Q: I am having trouble installing / running Puppeteer in my test environment. Where should I look for help?
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../src/common/Debug.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,KAAK,WAAY,MAAM,eAAc,OAAO,EAAE,KAAK,
|
1
|
+
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../src/common/Debug.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,KAAK,WAAY,MAAM,eAAc,OAAO,EAAE,KAAK,IA6B/D,CAAC"}
|
@@ -14,6 +14,29 @@
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
18
|
+
if (k2 === undefined) k2 = k;
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
22
|
+
}
|
23
|
+
Object.defineProperty(o, k2, desc);
|
24
|
+
}) : (function(o, m, k, k2) {
|
25
|
+
if (k2 === undefined) k2 = k;
|
26
|
+
o[k2] = m[k];
|
27
|
+
}));
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
30
|
+
}) : function(o, v) {
|
31
|
+
o["default"] = v;
|
32
|
+
});
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
34
|
+
if (mod && mod.__esModule) return mod;
|
35
|
+
var result = {};
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
37
|
+
__setModuleDefault(result, mod);
|
38
|
+
return result;
|
39
|
+
};
|
17
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
41
|
exports.debug = void 0;
|
19
42
|
const environment_js_1 = require("../environment.js");
|
@@ -55,8 +78,9 @@ const environment_js_1 = require("../environment.js");
|
|
55
78
|
*/
|
56
79
|
const debug = (prefix) => {
|
57
80
|
if (environment_js_1.isNode) {
|
58
|
-
|
59
|
-
|
81
|
+
return async (...logArgs) => {
|
82
|
+
(await Promise.resolve().then(() => __importStar(require('debug')))).default(prefix)(logArgs);
|
83
|
+
};
|
60
84
|
}
|
61
85
|
return (...logArgs) => {
|
62
86
|
const debugLevel = globalThis.__PUPPETEER_DEBUG;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Debug.js","sourceRoot":"","sources":["../../../../src/common/Debug.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"Debug.js","sourceRoot":"","sources":["../../../../src/common/Debug.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sDAA2C;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACI,MAAM,KAAK,GAAG,CAAC,MAAc,EAAkC,EAAE;IACtE,IAAI,uBAAM,EAAE;QACV,OAAO,KAAK,EAAE,GAAG,OAAkB,EAAE,EAAE;YACrC,CAAC,wDAAa,OAAO,GAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC,CAAC;KACH;IAED,OAAO,CAAC,GAAG,OAAkB,EAAQ,EAAE;QACrC,MAAM,UAAU,GAAG,UAAU,CAAC,iBAA2B,CAAC;QAC1D,IAAI,CAAC,UAAU;YAAE,OAAO;QAExB,MAAM,wBAAwB,GAAG,UAAU,KAAK,GAAG,CAAC;QAEpD,MAAM,uBAAuB,GAC3B,wBAAwB;YACxB;;;;eAIG;YACH,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;gBACvB,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC;gBAC/B,CAAC,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC;QAE7B,IAAI,CAAC,uBAAuB;YAAE,OAAO;QAErC,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC;IACxC,CAAC,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,KAAK,SA6BhB"}
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FrameManager.d.ts","sourceRoot":"","sources":["../../../../src/common/FrameManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAyB,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAc,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAA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.send('Page.enable'),
|
99
99
|
client.send('Page.getFrameTree'),
|
100
|
+
client !== this._client
|
101
|
+
? client.send('Target.setAutoAttach', {
|
102
|
+
autoAttach: true,
|
103
|
+
waitForDebuggerOnStart: false,
|
104
|
+
flatten: true,
|
105
|
+
})
|
106
|
+
: Promise.resolve(),
|
100
107
|
]);
|
101
108
|
const { frameTree } = result[1];
|
102
109
|
this._handleFrameTree(client, frameTree);
|