chrome-devtools-frontend 1.0.1636056 → 1.0.1640418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front_end/core/common/Color.ts +0 -4
- package/front_end/core/host/AidaClientTypes.ts +8 -6
- package/front_end/core/root/Runtime.ts +2 -2
- package/front_end/core/sdk/DOMStorageModel.ts +1 -1
- package/front_end/core/sdk/SourceMap.ts +8 -3
- package/front_end/core/sdk/TargetManager.ts +14 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +147 -0
- package/front_end/generated/ARIAProperties.js +17 -4
- package/front_end/generated/InspectorBackendCommands.ts +13 -7
- package/front_end/generated/SupportedCSSProperties.js +1 -0
- package/front_end/generated/protocol-mapping.d.ts +7 -0
- package/front_end/generated/protocol-proxy-api.d.ts +14 -0
- package/front_end/generated/protocol.ts +120 -2
- package/front_end/global_typings/global_defs.d.ts +13 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +116 -0
- package/front_end/models/ai_assistance/AiConversation.ts +22 -36
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +0 -1
- package/front_end/models/ai_assistance/AiOrigins.ts +46 -0
- package/front_end/models/ai_assistance/AiUtils.ts +9 -0
- package/front_end/models/ai_assistance/README.md +16 -0
- package/front_end/models/ai_assistance/StorageItem.ts +30 -26
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +12 -5
- package/front_end/models/ai_assistance/agents/AiAgent.ts +86 -32
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +31 -10
- package/front_end/models/ai_assistance/agents/ConversationSummaryAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/FileAgent.ts +2 -2
- package/front_end/models/ai_assistance/agents/GreenDevAgent.ts +1 -3
- package/front_end/models/ai_assistance/agents/NetworkAgent.snapshot.txt +19 -0
- package/front_end/models/ai_assistance/agents/NetworkAgent.ts +9 -4
- package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +41 -12
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +442 -122
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +2 -2
- package/front_end/models/ai_assistance/ai_assistance.ts +4 -2
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/performance/AIContext.ts +7 -8
- package/front_end/models/ai_assistance/skills/README.md +40 -0
- package/front_end/models/ai_assistance/skills/Skill.ts +13 -0
- package/front_end/models/ai_assistance/skills/SkillRegistry.ts +10 -0
- package/front_end/models/ai_assistance/skills/styling.md +6 -0
- package/front_end/models/bindings/CompilerScriptMapping.ts +12 -4
- package/front_end/models/breakpoints/BreakpointManager.ts +54 -2
- package/front_end/models/greendev/Prototypes.ts +0 -7
- package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +20 -0
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +5 -0
- package/front_end/models/issues_manager/EmailVerificationRequestIssue.ts +293 -0
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
- package/front_end/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +1748 -1739
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +1 -1
- package/front_end/models/stack_trace/DetailedErrorStackParser.ts +9 -1
- package/front_end/models/stack_trace/StackTraceImpl.ts +29 -9
- package/front_end/models/stack_trace/StackTraceModel.ts +23 -11
- package/front_end/models/stack_trace/Trie.ts +11 -1
- package/front_end/models/trace/extras/TraceTree.ts +20 -1
- package/front_end/models/trace/insights/Common.ts +9 -0
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +21 -25
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +19 -75
- package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +10 -3
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +148 -2
- package/front_end/panels/ai_assistance/components/PerformanceAgentMarkdownRenderer.ts +2 -3
- package/front_end/panels/ai_assistance/components/chatMessage.css +27 -0
- package/front_end/panels/application/CookieItemsView.ts +24 -0
- package/front_end/panels/application/DOMStorageItemsView.ts +9 -4
- package/front_end/panels/application/preloading/components/PreloadingString.ts +6 -0
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +4 -4
- package/front_end/panels/console/ConsoleViewMessage.ts +13 -102
- package/front_end/panels/elements/StandaloneStylesContainer.ts +10 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +6 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +30 -1
- package/front_end/panels/elements/StylesContainer.ts +3 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +54 -4
- package/front_end/panels/elements/elements-meta.ts +14 -0
- package/front_end/panels/layer_viewer/layerDetailsView.css +1 -1
- package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseProtocolService.ts +4 -4
- package/front_end/panels/network/NetworkDataGridNode.ts +14 -0
- package/front_end/panels/network/NetworkLogViewColumns.ts +2 -2
- package/front_end/panels/network/RequestHeadersView.ts +55 -19
- package/front_end/panels/network/networkTimingTable.css +2 -4
- package/front_end/panels/recorder/components/ReplaySection.ts +28 -16
- package/front_end/panels/recorder/converters/LighthouseConverter.snapshot.txt +47 -0
- package/front_end/panels/recorder/converters/PuppeteerConverter.snapshot.txt +49 -0
- package/front_end/panels/recorder/converters/PuppeteerReplayConverter.snapshot.txt +33 -0
- package/front_end/panels/settings/SettingsScreen.ts +1 -2
- package/front_end/panels/sources/BreakpointsView.ts +23 -42
- package/front_end/panels/sources/DebuggerPlugin.ts +12 -5
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +169 -106
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +1 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +2 -2
- package/front_end/third_party/marked/README.chromium +3 -6
- package/front_end/third_party/marked/package/README.md +5 -5
- package/front_end/third_party/marked/package/bin/main.js +27 -22
- package/front_end/third_party/marked/package/bin/marked.js +2 -1
- package/front_end/third_party/marked/package/lib/marked.esm.d.ts +346 -256
- package/front_end/third_party/marked/package/lib/marked.esm.js +67 -2698
- package/front_end/third_party/marked/package/lib/marked.esm.js.map +7 -1
- package/front_end/third_party/marked/package/lib/marked.umd.js +69 -2722
- package/front_end/third_party/marked/package/lib/marked.umd.js.map +7 -1
- package/front_end/third_party/marked/package/man/marked.1 +4 -2
- package/front_end/third_party/marked/package/man/marked.1.md +2 -1
- package/front_end/third_party/marked/package/package.json +49 -57
- package/front_end/third_party/puppeteer-replay/README.chromium +2 -2
- package/front_end/third_party/puppeteer-replay/package/lib/cli.js +84 -80
- package/front_end/third_party/puppeteer-replay/package/lib/cli.js.map +1 -1
- package/front_end/third_party/puppeteer-replay/package/lib/extension-test.js +79 -83
- package/front_end/third_party/puppeteer-replay/package/lib/extension-test.js.map +1 -1
- package/front_end/third_party/puppeteer-replay/package/lib/main.d.ts +43 -171
- package/front_end/third_party/puppeteer-replay/package/lib/main.js +51 -206
- package/front_end/third_party/puppeteer-replay/package/lib/main.js.map +1 -1
- package/front_end/third_party/puppeteer-replay/package/package.json +37 -67
- package/front_end/tsconfig.json +1 -1
- package/front_end/ui/components/markdown_view/CodeBlock.ts +17 -6
- package/front_end/ui/components/markdown_view/MarkdownView.ts +39 -3
- package/front_end/ui/components/markdown_view/codeBlock.css +11 -0
- package/front_end/ui/components/markdown_view/markdownView.css +17 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +0 -79
- package/front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts +16 -4
- package/front_end/ui/visual_logging/KnownContextValues.ts +4 -0
- package/inspector_overlay/testing/InspectorOverlayHelpers.ts +2 -0
- package/mcp/mcp.ts +1 -6
- package/package.json +14 -16
- package/front_end/models/ai_assistance/agents/BreakpointDebuggerAgent.ts +0 -1015
- package/front_end/models/ai_assistance/agents/BreakpointDebuggerAgentOverlay.ts +0 -87
- package/front_end/third_party/marked/package/bin/marked +0 -215
- package/front_end/third_party/marked/package/lib/marked.cjs +0 -2726
- package/front_end/third_party/marked/package/lib/marked.cjs.map +0 -1
- package/front_end/third_party/marked/package/lib/marked.d.cts +0 -670
- package/front_end/third_party/marked/package/lib/marked.js +0 -2780
- package/front_end/third_party/marked/package/man/marked.1.txt +0 -86
- package/front_end/third_party/marked/package/marked.min.js +0 -6
- package/front_end/third_party/marked/package/src/Lexer.js +0 -492
- package/front_end/third_party/marked/package/src/Parser.js +0 -286
- package/front_end/third_party/marked/package/src/Renderer.js +0 -166
- package/front_end/third_party/marked/package/src/Slugger.js +0 -49
- package/front_end/third_party/marked/package/src/TextRenderer.js +0 -42
- package/front_end/third_party/marked/package/src/Tokenizer.js +0 -755
- package/front_end/third_party/marked/package/src/defaults.js +0 -29
- package/front_end/third_party/marked/package/src/helpers.js +0 -249
- package/front_end/third_party/marked/package/src/marked.js +0 -350
- package/front_end/third_party/marked/package/src/rules.js +0 -285
- package/front_end/third_party/puppeteer-replay/package/lib/cjs/main.cjs +0 -2099
- package/front_end/third_party/puppeteer-replay/package/lib/cjs/main.cjs.map +0 -1
- package/front_end/third_party/puppeteer-replay/package/lib/cjs/main.d.cts +0 -686
- package/front_end/third_party/puppeteer-replay/package/lib/cjs/main.d.ts +0 -35
- package/mcp/HostBindings.ts +0 -319
- /package/front_end/third_party/marked/package/{LICENSE.md → LICENSE} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-test.js","sources":["../src/CLIUtils.ts","../src/Spec.ts","../src/extension-test.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension-test.js","sources":["../src/C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19 +13,9 @@ type JSONArray = JSONValue[];
|
|
|
13
13
|
type JSONSerializable<Object extends object> = PickType<Object, JSONValue>;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
you may not use this file except in compliance with the License.
|
|
20
|
-
You may obtain a copy of the License at
|
|
21
|
-
|
|
22
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
23
|
-
|
|
24
|
-
Unless required by applicable law or agreed to in writing, software
|
|
25
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
26
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
|
-
See the License for the specific language governing permissions and
|
|
28
|
-
limitations under the License.
|
|
16
|
+
* @license
|
|
17
|
+
* Copyright 2022 Google LLC
|
|
18
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
29
19
|
*/
|
|
30
20
|
|
|
31
21
|
type Target = string;
|
|
@@ -321,23 +311,14 @@ type Schema_UserStep = UserStep;
|
|
|
321
311
|
type Schema_WaitForElementStep = WaitForElementStep;
|
|
322
312
|
type Schema_WaitForExpressionStep = WaitForExpressionStep;
|
|
323
313
|
declare namespace Schema {
|
|
324
|
-
export {
|
|
314
|
+
export { Schema_AssertedEventType as AssertedEventType, Schema_SelectorType as SelectorType, Schema_StepType as StepType };
|
|
315
|
+
export type { Schema_AssertedEvent as AssertedEvent, Schema_AssertionStep as AssertionStep, Schema_BaseStep as BaseStep, Schema_ChangeStep as ChangeStep, Schema_ClickAttributes as ClickAttributes, Schema_ClickStep as ClickStep, Schema_CloseStep as CloseStep, Schema_CustomStep as CustomStep, Schema_CustomStepParams as CustomStepParams, Schema_DoubleClickStep as DoubleClickStep, Schema_EmulateNetworkConditionsStep as EmulateNetworkConditionsStep, Schema_FrameSelector as FrameSelector, Schema_HoverStep as HoverStep, Schema_Key as Key, Schema_KeyDownStep as KeyDownStep, Schema_KeyUpStep as KeyUpStep, Schema_NavigateStep as NavigateStep, Schema_NavigationEvent as NavigationEvent, Schema_Pattern as Pattern, Schema_PointerButtonType as PointerButtonType, Schema_PointerDeviceType as PointerDeviceType, Schema_ScrollElementStep as ScrollElementStep, Schema_ScrollPageStep as ScrollPageStep, Schema_ScrollStep as ScrollStep, Schema_Selector as Selector, Schema_SetViewportStep as SetViewportStep, Schema_Step as Step, Schema_StepWithFrame as StepWithFrame, Schema_StepWithSelectors as StepWithSelectors, Schema_StepWithTarget as StepWithTarget, Schema_Target as Target, Schema_UserFlow as UserFlow, Schema_UserStep as UserStep, Schema_WaitForElementStep as WaitForElementStep, Schema_WaitForExpressionStep as WaitForExpressionStep };
|
|
325
316
|
}
|
|
326
317
|
|
|
327
318
|
/**
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
you may not use this file except in compliance with the License.
|
|
332
|
-
You may obtain a copy of the License at
|
|
333
|
-
|
|
334
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
335
|
-
|
|
336
|
-
Unless required by applicable law or agreed to in writing, software
|
|
337
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
338
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
339
|
-
See the License for the specific language governing permissions and
|
|
340
|
-
limitations under the License.
|
|
319
|
+
* @license
|
|
320
|
+
* Copyright 2022 Google LLC
|
|
321
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
341
322
|
*/
|
|
342
323
|
|
|
343
324
|
declare function assertAllStepTypesAreHandled(s: never): never;
|
|
@@ -365,19 +346,9 @@ declare function getSelectorType(selector: string): SelectorType;
|
|
|
365
346
|
declare function selectorToPElementSelector(selector: string[] | string): string;
|
|
366
347
|
|
|
367
348
|
/**
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
you may not use this file except in compliance with the License.
|
|
372
|
-
You may obtain a copy of the License at
|
|
373
|
-
|
|
374
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
375
|
-
|
|
376
|
-
Unless required by applicable law or agreed to in writing, software
|
|
377
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
378
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
379
|
-
See the License for the specific language governing permissions and
|
|
380
|
-
limitations under the License.
|
|
349
|
+
* @license
|
|
350
|
+
* Copyright 2022 Google LLC
|
|
351
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
381
352
|
*/
|
|
382
353
|
interface LineWriter {
|
|
383
354
|
appendLine(line: string): LineWriter;
|
|
@@ -388,19 +359,9 @@ interface LineWriter {
|
|
|
388
359
|
}
|
|
389
360
|
|
|
390
361
|
/**
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
you may not use this file except in compliance with the License.
|
|
395
|
-
You may obtain a copy of the License at
|
|
396
|
-
|
|
397
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
398
|
-
|
|
399
|
-
Unless required by applicable law or agreed to in writing, software
|
|
400
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
401
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
402
|
-
See the License for the specific language governing permissions and
|
|
403
|
-
limitations under the License.
|
|
362
|
+
* @license
|
|
363
|
+
* Copyright 2022 Google LLC
|
|
364
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
404
365
|
*/
|
|
405
366
|
|
|
406
367
|
declare class StringifyExtension {
|
|
@@ -412,19 +373,9 @@ declare class StringifyExtension {
|
|
|
412
373
|
}
|
|
413
374
|
|
|
414
375
|
/**
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
you may not use this file except in compliance with the License.
|
|
419
|
-
You may obtain a copy of the License at
|
|
420
|
-
|
|
421
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
422
|
-
|
|
423
|
-
Unless required by applicable law or agreed to in writing, software
|
|
424
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
425
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
426
|
-
See the License for the specific language governing permissions and
|
|
427
|
-
limitations under the License.
|
|
376
|
+
* @license
|
|
377
|
+
* Copyright 2022 Google LLC
|
|
378
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
428
379
|
*/
|
|
429
380
|
|
|
430
381
|
/**
|
|
@@ -440,19 +391,9 @@ declare class JSONStringifyExtension extends StringifyExtension {
|
|
|
440
391
|
}
|
|
441
392
|
|
|
442
393
|
/**
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
you may not use this file except in compliance with the License.
|
|
447
|
-
You may obtain a copy of the License at
|
|
448
|
-
|
|
449
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
450
|
-
|
|
451
|
-
Unless required by applicable law or agreed to in writing, software
|
|
452
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
453
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
454
|
-
See the License for the specific language governing permissions and
|
|
455
|
-
limitations under the License.
|
|
394
|
+
* @license
|
|
395
|
+
* Copyright 2022 Google LLC
|
|
396
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
456
397
|
*/
|
|
457
398
|
|
|
458
399
|
interface StringifyOptions {
|
|
@@ -487,19 +428,9 @@ declare function parseSourceMap(text: string): SourceMap | undefined;
|
|
|
487
428
|
declare function stripSourceMap(text: string): string;
|
|
488
429
|
|
|
489
430
|
/**
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
you may not use this file except in compliance with the License.
|
|
494
|
-
You may obtain a copy of the License at
|
|
495
|
-
|
|
496
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
497
|
-
|
|
498
|
-
Unless required by applicable law or agreed to in writing, software
|
|
499
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
500
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
501
|
-
See the License for the specific language governing permissions and
|
|
502
|
-
limitations under the License.
|
|
431
|
+
* @license
|
|
432
|
+
* Copyright 2022 Google LLC
|
|
433
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
503
434
|
*/
|
|
504
435
|
|
|
505
436
|
declare class RunnerExtension {
|
|
@@ -511,19 +442,9 @@ declare class RunnerExtension {
|
|
|
511
442
|
}
|
|
512
443
|
|
|
513
444
|
/**
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
you may not use this file except in compliance with the License.
|
|
518
|
-
You may obtain a copy of the License at
|
|
519
|
-
|
|
520
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
521
|
-
|
|
522
|
-
Unless required by applicable law or agreed to in writing, software
|
|
523
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
524
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
525
|
-
See the License for the specific language governing permissions and
|
|
526
|
-
limitations under the License.
|
|
445
|
+
* @license
|
|
446
|
+
* Copyright 2022 Google LLC
|
|
447
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
527
448
|
*/
|
|
528
449
|
|
|
529
450
|
declare class Runner {
|
|
@@ -549,19 +470,9 @@ declare function createRunner(extension: RunnerExtension): Promise<Runner>;
|
|
|
549
470
|
declare function createRunner(flow: UserFlow, extension: RunnerExtension): Promise<Runner>;
|
|
550
471
|
|
|
551
472
|
/**
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
you may not use this file except in compliance with the License.
|
|
556
|
-
You may obtain a copy of the License at
|
|
557
|
-
|
|
558
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
559
|
-
|
|
560
|
-
Unless required by applicable law or agreed to in writing, software
|
|
561
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
562
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
563
|
-
See the License for the specific language governing permissions and
|
|
564
|
-
limitations under the License.
|
|
473
|
+
* @license
|
|
474
|
+
* Copyright 2022 Google LLC
|
|
475
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
565
476
|
*/
|
|
566
477
|
|
|
567
478
|
declare class PuppeteerRunnerExtension extends RunnerExtension {
|
|
@@ -579,19 +490,9 @@ declare class PuppeteerRunnerOwningBrowserExtension extends PuppeteerRunnerExten
|
|
|
579
490
|
}
|
|
580
491
|
|
|
581
492
|
/**
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
you may not use this file except in compliance with the License.
|
|
586
|
-
You may obtain a copy of the License at
|
|
587
|
-
|
|
588
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
589
|
-
|
|
590
|
-
Unless required by applicable law or agreed to in writing, software
|
|
591
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
592
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
593
|
-
See the License for the specific language governing permissions and
|
|
594
|
-
limitations under the License.
|
|
493
|
+
* @license
|
|
494
|
+
* Copyright 2022 Google LLC
|
|
495
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
595
496
|
*/
|
|
596
497
|
|
|
597
498
|
type TargetBrowser = 'chrome' | 'firefox';
|
|
@@ -604,19 +505,9 @@ declare class PuppeteerStringifyExtension extends StringifyExtension {
|
|
|
604
505
|
}
|
|
605
506
|
|
|
606
507
|
/**
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
you may not use this file except in compliance with the License.
|
|
611
|
-
You may obtain a copy of the License at
|
|
612
|
-
|
|
613
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
614
|
-
|
|
615
|
-
Unless required by applicable law or agreed to in writing, software
|
|
616
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
617
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
618
|
-
See the License for the specific language governing permissions and
|
|
619
|
-
limitations under the License.
|
|
508
|
+
* @license
|
|
509
|
+
* Copyright 2022 Google LLC
|
|
510
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
620
511
|
*/
|
|
621
512
|
|
|
622
513
|
/**
|
|
@@ -629,19 +520,9 @@ declare class PuppeteerReplayStringifyExtension extends StringifyExtension {
|
|
|
629
520
|
}
|
|
630
521
|
|
|
631
522
|
/**
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
you may not use this file except in compliance with the License.
|
|
636
|
-
You may obtain a copy of the License at
|
|
637
|
-
|
|
638
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
639
|
-
|
|
640
|
-
Unless required by applicable law or agreed to in writing, software
|
|
641
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
642
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
643
|
-
See the License for the specific language governing permissions and
|
|
644
|
-
limitations under the License.
|
|
523
|
+
* @license
|
|
524
|
+
* Copyright 2022 Google LLC
|
|
525
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
645
526
|
*/
|
|
646
527
|
|
|
647
528
|
declare class LighthouseStringifyExtension extends PuppeteerStringifyExtension {
|
|
@@ -661,19 +542,9 @@ declare class LighthouseRunnerExtension extends PuppeteerRunnerExtension {
|
|
|
661
542
|
}
|
|
662
543
|
|
|
663
544
|
/**
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
you may not use this file except in compliance with the License.
|
|
668
|
-
You may obtain a copy of the License at
|
|
669
|
-
|
|
670
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
671
|
-
|
|
672
|
-
Unless required by applicable law or agreed to in writing, software
|
|
673
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
674
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
675
|
-
See the License for the specific language governing permissions and
|
|
676
|
-
limitations under the License.
|
|
545
|
+
* @license
|
|
546
|
+
* Copyright 2022 Google LLC
|
|
547
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
677
548
|
*/
|
|
678
549
|
/**
|
|
679
550
|
* Copyright (c) 2020 The Chromium Authors. All rights reserved.
|
|
@@ -683,4 +554,5 @@ declare class LighthouseRunnerExtension extends PuppeteerRunnerExtension {
|
|
|
683
554
|
declare function formatJSONAsJS(json: unknown, indent: string): string;
|
|
684
555
|
declare const formatAsJSLiteral: (content: string) => string;
|
|
685
556
|
|
|
686
|
-
export {
|
|
557
|
+
export { AssertedEventType, JSONStringifyExtension, LighthouseRunnerExtension, LighthouseStringifyExtension, PuppeteerReplayStringifyExtension, PuppeteerRunnerExtension, PuppeteerRunnerOwningBrowserExtension, PuppeteerStringifyExtension, Runner, RunnerExtension, Schema, SelectorType, StepType, StringifyExtension, assertAllStepTypesAreHandled, createRunner, formatAsJSLiteral, formatJSONAsJS, getSelectorType, maxTimeout, minTimeout, mouseButtonMap, parse, parseSourceMap, parseStep, pointerDeviceTypes, selectorToPElementSelector, stringify, stringifyStep, stripSourceMap, typeableInputTypes, validTimeout };
|
|
558
|
+
export type { AssertedEvent, AssertionStep, BaseStep, ChangeStep, ClickAttributes, ClickStep, CloseStep, CustomStep, CustomStepParams, DoubleClickStep, EmulateNetworkConditionsStep, FrameSelector, HoverStep, Key, KeyDownStep, KeyUpStep, LineWriter, NavigateStep, NavigationEvent, Pattern, PointerButtonType, PointerDeviceType, ScrollElementStep, ScrollPageStep, ScrollStep, Selector, SetViewportStep, SourceMap, Step, StepWithFrame, StepWithSelectors, StepWithTarget, StringifyOptions, Target, UserFlow, UserStep, WaitForElementStep, WaitForExpressionStep };
|