chrome-devtools-frontend 1.0.1541552 → 1.0.1543082

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.
Files changed (66) hide show
  1. package/docs/get_the_code.md +9 -0
  2. package/front_end/Tests.js +1 -0
  3. package/front_end/core/common/Settings.ts +38 -15
  4. package/front_end/core/host/InspectorFrontendHost.ts +0 -3
  5. package/front_end/core/host/UserMetrics.ts +5 -0
  6. package/front_end/core/root/Runtime.ts +0 -10
  7. package/front_end/core/sdk/IOModel.ts +1 -4
  8. package/front_end/core/sdk/NetworkManager.ts +0 -7
  9. package/front_end/core/sdk/NetworkRequest.ts +0 -10
  10. package/front_end/core/sdk/ServerSentEventsProtocol.ts +4 -0
  11. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +5 -5
  12. package/front_end/entrypoints/main/MainImpl.ts +6 -3
  13. package/front_end/entrypoints/main/main-meta.ts +1 -5
  14. package/front_end/foundation/Universe.ts +2 -10
  15. package/front_end/generated/Deprecation.ts +0 -14
  16. package/front_end/generated/InspectorBackendCommands.ts +1 -1
  17. package/front_end/generated/SupportedCSSProperties.js +42 -42
  18. package/front_end/generated/protocol.ts +0 -1
  19. package/front_end/models/ai_assistance/BuiltInAi.ts +13 -7
  20. package/front_end/models/ai_code_completion/AiCodeCompletion.ts +72 -31
  21. package/front_end/models/bindings/CompilerScriptMapping.ts +3 -2
  22. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +3 -1
  23. package/front_end/models/har/Importer.ts +14 -0
  24. package/front_end/models/issues_manager/IssuesManager.ts +0 -5
  25. package/front_end/models/javascript_metadata/NativeFunctions.js +0 -4
  26. package/front_end/models/trace/handlers/ScriptsHandler.ts +26 -0
  27. package/front_end/models/trace/types/TraceEvents.ts +1 -1
  28. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +117 -103
  29. package/front_end/panels/ai_assistance/components/ChatView.ts +7 -31
  30. package/front_end/panels/ai_assistance/components/chatView.css +1 -1
  31. package/front_end/panels/application/components/BackForwardCacheView.ts +12 -9
  32. package/front_end/panels/console/ConsoleInsightTeaser.ts +5 -0
  33. package/front_end/panels/console/ConsolePrompt.ts +9 -2
  34. package/front_end/panels/console/ConsoleView.ts +3 -0
  35. package/front_end/panels/network/NetworkDataGridNode.ts +0 -7
  36. package/front_end/panels/network/NetworkLogView.ts +1 -45
  37. package/front_end/panels/security/SecurityPanel.ts +0 -2
  38. package/front_end/panels/security/SecurityPanelSidebar.ts +0 -16
  39. package/front_end/panels/security/security.ts +0 -2
  40. package/front_end/panels/sources/AiCodeCompletionPlugin.ts +17 -1
  41. package/front_end/third_party/chromium/README.chromium +1 -1
  42. package/front_end/ui/components/expandable_list/ExpandableList.docs.ts +30 -0
  43. package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +0 -4
  44. package/front_end/ui/components/markdown_view/MarkdownView.docs.ts +95 -0
  45. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +246 -13
  46. package/front_end/ui/components/text_editor/config.ts +1 -1
  47. package/front_end/ui/legacy/Widget.ts +13 -4
  48. package/front_end/ui/legacy/components/utils/Linkifier.ts +45 -1
  49. package/front_end/ui/visual_logging/KnownContextValues.ts +11 -0
  50. package/package.json +1 -1
  51. package/front_end/models/issues_manager/UserReidentificationIssue.ts +0 -72
  52. package/front_end/models/issues_manager/descriptions/userReidentificationBlocked.md +0 -5
  53. package/front_end/panels/security/IPProtectionTreeElement.ts +0 -21
  54. package/front_end/panels/security/IPProtectionView.ts +0 -287
  55. package/front_end/ui/components/docs/expandable_list/basic.html +0 -24
  56. package/front_end/ui/components/docs/expandable_list/basic.ts +0 -30
  57. package/front_end/ui/components/docs/markdown_image/basic.html +0 -19
  58. package/front_end/ui/components/docs/markdown_image/basic.ts +0 -38
  59. package/front_end/ui/components/docs/markdown_link/basic.html +0 -17
  60. package/front_end/ui/components/docs/markdown_link/basic.ts +0 -19
  61. package/front_end/ui/components/docs/markdown_view/basic.html +0 -25
  62. package/front_end/ui/components/docs/markdown_view/basic.ts +0 -67
  63. package/front_end/ui/components/docs/markdown_view/code-block.html +0 -30
  64. package/front_end/ui/components/docs/markdown_view/code-block.ts +0 -71
  65. package/front_end/ui/components/docs/text_prompt/basic.html +0 -35
  66. package/front_end/ui/components/docs/text_prompt/basic.ts +0 -19
@@ -1,19 +0,0 @@
1
- // Copyright 2021 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- import * as FrontendHelpers from '../../../../testing/EnvironmentHelpers.js';
6
- import * as ComponentHelpers from '../../helpers/helpers.js';
7
- import * as TextPrompt from '../../text_prompt/text_prompt.js';
8
-
9
- await ComponentHelpers.ComponentServerSetup.setup();
10
- await FrontendHelpers.initializeGlobalVars();
11
-
12
- const textPrompt = new TextPrompt.TextPrompt.TextPrompt();
13
- document.getElementById('container')?.appendChild(textPrompt);
14
-
15
- textPrompt.data = {
16
- ariaLabel: 'Quick open prompt',
17
- prefix: 'Open',
18
- suggestion: 'File',
19
- };