chrome-devtools-frontend 1.0.947377 → 1.0.948916

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 (124) hide show
  1. package/config/gni/all_devtools_files.gni +1 -6
  2. package/config/gni/devtools_grd_files.gni +5 -12
  3. package/config/gni/devtools_image_files.gni +1 -0
  4. package/front_end/.eslintrc.js +1 -0
  5. package/front_end/Images/src/circled_backslash_icon.svg +3 -0
  6. package/front_end/core/host/UserMetrics.ts +1 -1
  7. package/front_end/core/i18n/locales/en-US.json +32 -44
  8. package/front_end/core/i18n/locales/en-XL.json +32 -44
  9. package/front_end/core/platform/platform.ts +0 -2
  10. package/front_end/core/platform/string-utilities.ts +14 -1
  11. package/front_end/core/platform/utilities.ts +0 -29
  12. package/front_end/core/root/Runtime.ts +4 -207
  13. package/front_end/core/sdk/Cookie.ts +0 -21
  14. package/front_end/core/sdk/RemoteObject.ts +15 -1
  15. package/front_end/core/sdk/sdk-legacy.ts +0 -3
  16. package/front_end/entrypoints/devtools_app/{devtools_app-meta-files.ts → devtools_app.ts} +9 -3
  17. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +2 -1
  18. package/front_end/entrypoints/js_app/{JsMain.ts → js_app.ts} +5 -1
  19. package/front_end/entrypoints/main/MainImpl.ts +0 -1
  20. package/front_end/entrypoints/ndb_app/{ndb_app.js → ndb_app.ts} +0 -2
  21. package/front_end/entrypoints/node_app/node_app.ts +1 -3
  22. package/front_end/entrypoints/shell/{shell.js → shell.ts} +0 -2
  23. package/front_end/entrypoints/visibility.gni +3 -1
  24. package/front_end/entrypoints/worker_app/worker_app.ts +1 -4
  25. package/front_end/generated/InspectorBackendCommands.js +8 -1
  26. package/front_end/generated/protocol-mapping.d.ts +4 -0
  27. package/front_end/generated/protocol-proxy-api.d.ts +6 -0
  28. package/front_end/generated/protocol.d.ts +9 -0
  29. package/front_end/legacy/legacy-defs.d.ts +0 -4
  30. package/front_end/legacy_test_runner/test_runner/TestRunner.js +35 -59
  31. package/front_end/models/issues_manager/AttributionReportingIssue.ts +27 -2
  32. package/front_end/models/issues_manager/CorsIssue.ts +15 -15
  33. package/front_end/models/issues_manager/descriptions/{corsInsecurePrivateNetworkPreflight.md → corsPreflightAllowPrivateNetworkError.md} +1 -1
  34. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +3 -1
  35. package/front_end/panels/application/BackForwardCacheStrings.ts +1 -5
  36. package/front_end/panels/application/BackForwardCacheView.ts +150 -58
  37. package/front_end/panels/application/ResourcesPanel.ts +0 -42
  38. package/front_end/panels/application/application-legacy.ts +0 -3
  39. package/front_end/panels/application/application-meta.ts +0 -13
  40. package/front_end/panels/application/backForwardCacheView.css +44 -6
  41. package/front_end/panels/application/components/FrameDetailsView.ts +3 -3
  42. package/front_end/panels/application/components/OriginTrialTreeView.ts +3 -3
  43. package/front_end/panels/application/components/StackTrace.ts +1 -1
  44. package/front_end/panels/console/ConsolePrompt.ts +0 -4
  45. package/front_end/panels/coverage/CoverageView.ts +1 -1
  46. package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -0
  47. package/front_end/panels/css_overview/cssOverviewCompletedView.css +1 -1
  48. package/front_end/panels/developer_resources/DeveloperResourcesView.ts +2 -1
  49. package/front_end/panels/elements/AccessibilityTreeUtils.ts +1 -7
  50. package/front_end/panels/elements/ElementsPanel.ts +9 -1
  51. package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
  52. package/front_end/panels/elements/PropertiesWidget.ts +109 -4
  53. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +1 -1
  54. package/front_end/panels/elements/propertiesWidget.css +34 -0
  55. package/front_end/panels/emulation/DeviceModeToolbar.ts +5 -1
  56. package/front_end/panels/issues/CorsIssueDetailsView.ts +20 -8
  57. package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -0
  58. package/front_end/panels/profiler/CPUProfileFlameChart.ts +3 -1
  59. package/front_end/panels/profiler/ProfileDataGrid.ts +2 -1
  60. package/front_end/panels/settings/components/SyncSection.ts +2 -2
  61. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +46 -46
  62. package/front_end/panels/timeline/TimelineTreeView.ts +2 -1
  63. package/front_end/ui/components/diff_view/DiffView.ts +4 -4
  64. package/front_end/ui/components/helpers/component-server-setup.ts +1 -12
  65. package/front_end/ui/components/helpers/helpers.ts +0 -2
  66. package/front_end/ui/components/icon_button/IconButton.ts +1 -1
  67. package/front_end/ui/components/issue_counter/IssueCounter.ts +2 -2
  68. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +3 -3
  69. package/front_end/ui/components/markdown_view/MarkdownView.ts +4 -4
  70. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +98 -0
  71. package/front_end/ui/components/panel_feedback/panel_feedback.ts +1 -0
  72. package/front_end/ui/components/panel_feedback/previewToggle.css +24 -0
  73. package/front_end/ui/components/report_view/ReportView.ts +22 -0
  74. package/front_end/ui/components/report_view/reportSection.css +20 -0
  75. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +1 -1
  76. package/front_end/ui/components/settings/SettingCheckbox.ts +2 -2
  77. package/front_end/ui/components/text_editor/config.ts +4 -3
  78. package/front_end/ui/components/text_editor/javascript.ts +8 -4
  79. package/front_end/ui/components/text_prompt/TextPrompt.ts +2 -2
  80. package/front_end/ui/legacy/GlassPane.ts +1 -1
  81. package/front_end/ui/legacy/SearchableView.ts +2 -1
  82. package/front_end/ui/legacy/Treeoutline.ts +1 -1
  83. package/front_end/ui/legacy/Widget.ts +1 -1
  84. package/front_end/ui/legacy/XWidget.ts +0 -5
  85. package/front_end/ui/legacy/components/inline_editor/CSSVarSwatch.ts +2 -2
  86. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +1 -1
  87. package/front_end/ui/legacy/utils/append-style.ts +2 -13
  88. package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +7 -5
  89. package/package.json +2 -4
  90. package/scripts/build/build_inspector_overlay.py +15 -1
  91. package/scripts/build/rjsmin.py +84 -115
  92. package/scripts/eslint_rules/lib/ban_a_tags_in_lit_html.js +2 -11
  93. package/scripts/eslint_rules/lib/ban_literal_devtools_component_tag_names.js +2 -11
  94. package/scripts/eslint_rules/lib/ban_self_closing_custom_element_tagnames.js +2 -11
  95. package/scripts/eslint_rules/lib/ban_style_tags_in_lit_html.js +2 -11
  96. package/scripts/eslint_rules/lib/lit_html_data_as_type.js +2 -11
  97. package/scripts/eslint_rules/lib/lit_html_no_attribute_quotes.js +89 -0
  98. package/scripts/eslint_rules/lib/lit_no_style_interpolation.js +2 -11
  99. package/scripts/eslint_rules/lib/no_only_eslint_tests.js +53 -0
  100. package/scripts/eslint_rules/lib/static_tag_must_be_static_property.js +2 -11
  101. package/scripts/eslint_rules/lib/utils.js +29 -0
  102. package/scripts/eslint_rules/tests/.eslintrc.js +18 -0
  103. package/scripts/eslint_rules/tests/lit_html_no_attribute_quotes_test.js +45 -0
  104. package/scripts/eslint_rules/tests/no_only_eslint_tests_test.js +94 -0
  105. package/scripts/eslint_rules/tests/utils_test.js +40 -0
  106. package/front_end/entrypoints/devtools_app/devtools_app.js +0 -11
  107. package/front_end/entrypoints/devtools_app/devtools_app.json +0 -4
  108. package/front_end/entrypoints/js_app/js_app.js +0 -12
  109. package/front_end/entrypoints/js_app/js_app.json +0 -3
  110. package/front_end/entrypoints/ndb_app/ndb_app.json +0 -4
  111. package/front_end/entrypoints/startup/RuntimeInstantiator.ts +0 -95
  112. package/front_end/entrypoints/startup/startup.ts +0 -9
  113. package/front_end/panels/help/HelpImpl.ts +0 -141
  114. package/front_end/panels/help/ReleaseNoteText.ts +0 -1496
  115. package/front_end/panels/help/ReleaseNoteView.ts +0 -107
  116. package/front_end/panels/help/help-meta.ts +0 -145
  117. package/front_end/panels/help/help.ts +0 -13
  118. package/front_end/panels/help/releaseNote.css +0 -115
  119. package/front_end/ui/components/helpers/get-stylesheet.ts +0 -45
  120. package/scripts/build/build_release_applications.py +0 -216
  121. package/scripts/build/modular_build.py +0 -184
  122. package/scripts/check_gn.js +0 -119
  123. package/scripts/json_validator/module.schema.json +0 -19
  124. package/scripts/json_validator/validate_module_json.js +0 -44
@@ -5,10 +5,6 @@
5
5
  import("../../scripts/build/ninja/vars.gni")
6
6
 
7
7
  all_devtools_files = [
8
- "front_end/entrypoints/shell/shell.js",
9
- "front_end/entrypoints/devtools_app/devtools_app.js",
10
- "front_end/entrypoints/js_app/js_app.js",
11
- "front_end/entrypoints/ndb_app/ndb_app.js",
12
8
  "front_end/legacy_test_runner/accessibility_test_runner/accessibility_test_runner.js",
13
9
  "front_end/legacy_test_runner/application_test_runner/application_test_runner.js",
14
10
  "front_end/legacy_test_runner/bindings_test_runner/bindings_test_runner.js",
@@ -42,7 +38,6 @@ all_devtools_files = [
42
38
  "front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js",
43
39
  "front_end/legacy_test_runner/heap_profiler_test_runner/heap_profiler_test_runner.js",
44
40
  "front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js",
45
- "front_end/entrypoints/ndb_app/ndb_app.json",
46
41
  "front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
47
42
  "front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
48
43
  "front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
@@ -85,7 +80,7 @@ all_devtools_files = [
85
80
  "front_end/models/issues_manager/descriptions/mixedContent.md",
86
81
  "front_end/models/issues_manager/descriptions/sharedArrayBuffer.md",
87
82
  "front_end/models/issues_manager/descriptions/corsInsecurePrivateNetwork.md",
88
- "front_end/models/issues_manager/descriptions/corsInsecurePrivateNetworkPreflight.md",
83
+ "front_end/models/issues_manager/descriptions/corsPreflightAllowPrivateNetworkError.md",
89
84
  "front_end/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md",
90
85
  "front_end/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md",
91
86
  "front_end/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md",
@@ -45,6 +45,7 @@ grd_files_release_sources = [
45
45
  "front_end/Images/chromeRight.avif",
46
46
  "front_end/Images/chromeSelect.svg",
47
47
  "front_end/Images/chromeSelectDark.svg",
48
+ "front_end/Images/circled_backslash_icon.svg",
48
49
  "front_end/Images/circled_exclamation_icon.svg",
49
50
  "front_end/Images/close-icon.svg",
50
51
  "front_end/Images/copy_icon.svg",
@@ -204,7 +205,6 @@ grd_files_release_sources = [
204
205
  "front_end/emulated_devices/optimized/iPhone6Plus-landscape.avif",
205
206
  "front_end/emulated_devices/optimized/iPhone6Plus-portrait.avif",
206
207
  "front_end/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js",
207
- "front_end/entrypoints/devtools_app/devtools_app-meta-files.js",
208
208
  "front_end/entrypoints/devtools_app/devtools_app.js",
209
209
  "front_end/entrypoints/formatter_worker/FormatterActions.js",
210
210
  "front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.js",
@@ -215,7 +215,6 @@ grd_files_release_sources = [
215
215
  "front_end/entrypoints/inspector/inspector.js",
216
216
  "front_end/entrypoints/inspector_main/inspector_main-meta.js",
217
217
  "front_end/entrypoints/inspector_main/inspector_main.js",
218
- "front_end/entrypoints/js_app/JsMain.js",
219
218
  "front_end/entrypoints/js_app/js_app.js",
220
219
  "front_end/entrypoints/lighthouse_worker/lighthouse_worker.js",
221
220
  "front_end/entrypoints/main/main-legacy.js",
@@ -224,7 +223,6 @@ grd_files_release_sources = [
224
223
  "front_end/entrypoints/ndb_app/ndb_app.js",
225
224
  "front_end/entrypoints/node_app/node_app.js",
226
225
  "front_end/entrypoints/shell/shell.js",
227
- "front_end/entrypoints/startup/startup.js",
228
226
  "front_end/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js",
229
227
  "front_end/entrypoints/wasmparser_worker/wasmparser_worker.js",
230
228
  "front_end/entrypoints/worker_app/worker_app.js",
@@ -283,11 +281,11 @@ grd_files_release_sources = [
283
281
  "front_end/models/issues_manager/descriptions/corsDisallowedByMode.md",
284
282
  "front_end/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md",
285
283
  "front_end/models/issues_manager/descriptions/corsInsecurePrivateNetwork.md",
286
- "front_end/models/issues_manager/descriptions/corsInsecurePrivateNetworkPreflight.md",
287
284
  "front_end/models/issues_manager/descriptions/corsInvalidHeaderValues.md",
288
285
  "front_end/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md",
289
286
  "front_end/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md",
290
287
  "front_end/models/issues_manager/descriptions/corsOriginMismatch.md",
288
+ "front_end/models/issues_manager/descriptions/corsPreflightAllowPrivateNetworkError.md",
291
289
  "front_end/models/issues_manager/descriptions/corsPreflightResponseInvalid.md",
292
290
  "front_end/models/issues_manager/descriptions/corsRedirectContainsCredentials.md",
293
291
  "front_end/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md",
@@ -358,8 +356,6 @@ grd_files_release_sources = [
358
356
  "front_end/panels/emulation/emulation-meta.js",
359
357
  "front_end/panels/emulation/emulation.js",
360
358
  "front_end/panels/event_listeners/event_listeners.js",
361
- "front_end/panels/help/help-meta.js",
362
- "front_end/panels/help/help.js",
363
359
  "front_end/panels/input/input-meta.js",
364
360
  "front_end/panels/input/input.js",
365
361
  "front_end/panels/issues/components/components.js",
@@ -651,7 +647,6 @@ grd_files_debug_sources = [
651
647
  "front_end/entrypoints/node_app/NodeConnectionsPanel.js",
652
648
  "front_end/entrypoints/node_app/NodeMain.js",
653
649
  "front_end/entrypoints/node_app/nodeConnectionsPanel.css.js",
654
- "front_end/entrypoints/startup/RuntimeInstantiator.js",
655
650
  "front_end/entrypoints/wasmparser_worker/WasmParserWorker.js",
656
651
  "front_end/entrypoints/worker_app/WorkerMain.js",
657
652
  "front_end/generated/ARIAProperties.js",
@@ -960,10 +955,6 @@ grd_files_debug_sources = [
960
955
  "front_end/panels/event_listeners/EventListenersUtils.js",
961
956
  "front_end/panels/event_listeners/EventListenersView.js",
962
957
  "front_end/panels/event_listeners/eventListenersView.css.js",
963
- "front_end/panels/help/HelpImpl.js",
964
- "front_end/panels/help/ReleaseNoteText.js",
965
- "front_end/panels/help/ReleaseNoteView.js",
966
- "front_end/panels/help/releaseNote.css.js",
967
958
  "front_end/panels/input/InputModel.js",
968
959
  "front_end/panels/input/InputTimeline.js",
969
960
  "front_end/panels/input/inputTimeline.css.js",
@@ -1317,7 +1308,6 @@ grd_files_debug_sources = [
1317
1308
  "front_end/ui/components/helpers/custom-elements.js",
1318
1309
  "front_end/ui/components/helpers/directives.js",
1319
1310
  "front_end/ui/components/helpers/get-root-node.js",
1320
- "front_end/ui/components/helpers/get-stylesheet.js",
1321
1311
  "front_end/ui/components/helpers/scheduled-render.js",
1322
1312
  "front_end/ui/components/helpers/set-css-property.js",
1323
1313
  "front_end/ui/components/icon_button/Icon.js",
@@ -1357,11 +1347,14 @@ grd_files_debug_sources = [
1357
1347
  "front_end/ui/components/markdown_view/markdownView.css.js",
1358
1348
  "front_end/ui/components/panel_feedback/FeedbackButton.js",
1359
1349
  "front_end/ui/components/panel_feedback/PanelFeedback.js",
1350
+ "front_end/ui/components/panel_feedback/PreviewToggle.js",
1360
1351
  "front_end/ui/components/panel_feedback/panelFeedback.css.js",
1352
+ "front_end/ui/components/panel_feedback/previewToggle.css.js",
1361
1353
  "front_end/ui/components/render_coordinator/RenderCoordinator.js",
1362
1354
  "front_end/ui/components/report_view/ReportView.js",
1363
1355
  "front_end/ui/components/report_view/report.css.js",
1364
1356
  "front_end/ui/components/report_view/reportKey.css.js",
1357
+ "front_end/ui/components/report_view/reportSection.css.js",
1365
1358
  "front_end/ui/components/report_view/reportSectionDivider.css.js",
1366
1359
  "front_end/ui/components/report_view/reportSectionHeader.css.js",
1367
1360
  "front_end/ui/components/report_view/reportValue.css.js",
@@ -56,6 +56,7 @@ devtools_svg_sources = [
56
56
  "chevrons.svg",
57
57
  "chromeSelect.svg",
58
58
  "chromeSelectDark.svg",
59
+ "circled_backslash_icon.svg",
59
60
  "circled_exclamation_icon.svg",
60
61
  "close-icon.svg",
61
62
  "copy_icon.svg",
@@ -40,6 +40,7 @@ module.exports = {
40
40
  'rulesdir/check_was_shown_methods': 2,
41
41
  'rulesdir/static_custom_event_names': 2,
42
42
  'rulesdir/lit_html_host_this': 2,
43
+ 'rulesdir/lit_html_no_attribute_quotes': 2,
43
44
  '@typescript-eslint/naming-convention': [
44
45
  'error', {
45
46
  'selector': ['property', 'parameterProperty'],
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 4.233 4.233" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.117.132a1.985 1.985 0 1 0 .001 3.97 1.985 1.985 0 0 0-.001-3.97zm0 3.572a1.587 1.587 0 0 1-1.252-2.56L3.089 3.37a1.57 1.57 0 0 1-.972.335Zm1.252-.615L1.144.865a1.587 1.587 0 0 1 2.224 2.224z" style="fill:#000;stroke-width:.264583"/>
3
+ </svg>
@@ -674,7 +674,6 @@ export const IssueCreated: {
674
674
  'TrustedWebActivityIssue::kDigitalAssetLinks': 40,
675
675
  LowTextContrastIssue: 41,
676
676
  'CorsIssue::InsecurePrivateNetwork': 42,
677
- 'CorsIssue::InsecurePrivateNetworkPreflight': 43,
678
677
  'CorsIssue::InvalidHeaders': 44,
679
678
  'CorsIssue::WildcardOriginWithCredentials': 45,
680
679
  'CorsIssue::PreflightResponseInvalid': 46,
@@ -692,6 +691,7 @@ export const IssueCreated: {
692
691
  'QuirksModeIssue::QuirksMode': 58,
693
692
  'QuirksModeIssue::LimitedQuirksMode': 59,
694
693
  DeprecationIssue: 60,
694
+ 'CorsIssue::PreflightAllowPrivateNetworkError': 61,
695
695
  };
696
696
 
697
697
  // TODO(crbug.com/1167717): Make this a const enum again
@@ -1019,7 +1019,7 @@
1019
1019
  "entrypoints/inspector_main/RenderingOptions.ts | showsLayerBordersOrangeoliveAnd": {
1020
1020
  "message": "Shows layer borders (orange/olive) and tiles (cyan)."
1021
1021
  },
1022
- "entrypoints/js_app/JsMain.ts | main": {
1022
+ "entrypoints/js_app/js_app.ts | main": {
1023
1023
  "message": "Main"
1024
1024
  },
1025
1025
  "entrypoints/main/main-meta.ts | asAuthored": {
@@ -1340,8 +1340,8 @@
1340
1340
  "models/issues_manager/CorsIssue.ts | CORS": {
1341
1341
  "message": "Cross-Origin Resource Sharing (CORS)"
1342
1342
  },
1343
- "models/issues_manager/CorsIssue.ts | corsForPrivateNetworksRfc": {
1344
- "message": "CORS for private networks (RFC1918)"
1343
+ "models/issues_manager/CorsIssue.ts | corsPrivateNetworkAccess": {
1344
+ "message": "Private Network Access"
1345
1345
  },
1346
1346
  "models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | coopAndCoep": {
1347
1347
  "message": "COOP and COEP"
@@ -2498,9 +2498,6 @@
2498
2498
  "panels/application/BackForwardCacheStrings.ts | notMainFrame": {
2499
2499
  "message": "Navigation happened in a frame other than the main frame."
2500
2500
  },
2501
- "panels/application/BackForwardCacheStrings.ts | optInUnloadHeaderNotPresent": {
2502
- "message": "The page has unload handler without the back/forward cache opt-in header."
2503
- },
2504
2501
  "panels/application/BackForwardCacheStrings.ts | outstandingIndexedDBTransaction": {
2505
2502
  "message": "Page with ongoing indexed DB transactions are not currently eligible for back/forward cache."
2506
2503
  },
@@ -2645,20 +2642,20 @@
2645
2642
  "panels/application/BackForwardCacheView.ts | backForwardCacheTitle": {
2646
2643
  "message": "Back/forward cache"
2647
2644
  },
2648
- "panels/application/BackForwardCacheView.ts | bfcacheStatus": {
2649
- "message": "Back/forward cache Status"
2650
- },
2651
2645
  "panels/application/BackForwardCacheView.ts | circumstantial": {
2652
2646
  "message": "Not Actionable"
2653
2647
  },
2654
2648
  "panels/application/BackForwardCacheView.ts | circumstantialExplanation": {
2655
2649
  "message": "These reasons are not actionable i.e. caching was prevented by something outside of the direct control of the page."
2656
2650
  },
2651
+ "panels/application/BackForwardCacheView.ts | learnMore": {
2652
+ "message": "Learn more: back/forward cache eligibility"
2653
+ },
2657
2654
  "panels/application/BackForwardCacheView.ts | mainFrame": {
2658
2655
  "message": "Main Frame"
2659
2656
  },
2660
2657
  "panels/application/BackForwardCacheView.ts | normalNavigation": {
2661
- "message": "Normal navigation (Not restored from back/forward cache)"
2658
+ "message": "Not served from back/forward cache: to trigger back/forward cache, use Chrome's back/forward buttons, or use the test button below to automatically navigate away and back."
2662
2659
  },
2663
2660
  "panels/application/BackForwardCacheView.ts | pageSupportNeeded": {
2664
2661
  "message": "Actionable"
@@ -2667,10 +2664,13 @@
2667
2664
  "message": "These reasons are actionable i.e. they can be cleaned up to make the page eligible for back/forward cache."
2668
2665
  },
2669
2666
  "panels/application/BackForwardCacheView.ts | restoredFromBFCache": {
2670
- "message": "Restored from back/forward cache"
2667
+ "message": "Successfully served from back/forward cache."
2668
+ },
2669
+ "panels/application/BackForwardCacheView.ts | runningTest": {
2670
+ "message": "Running test"
2671
2671
  },
2672
2672
  "panels/application/BackForwardCacheView.ts | runTest": {
2673
- "message": "Run Test"
2673
+ "message": "Test back/forward cache"
2674
2674
  },
2675
2675
  "panels/application/BackForwardCacheView.ts | supportPending": {
2676
2676
  "message": "Pending Support"
@@ -2682,10 +2682,10 @@
2682
2682
  "message": "unavailable"
2683
2683
  },
2684
2684
  "panels/application/BackForwardCacheView.ts | unknown": {
2685
- "message": "unknown"
2685
+ "message": "Unknown Status"
2686
2686
  },
2687
2687
  "panels/application/BackForwardCacheView.ts | url": {
2688
- "message": "URL"
2688
+ "message": "URL:"
2689
2689
  },
2690
2690
  "panels/application/BackgroundServiceView.ts | backgroundFetch": {
2691
2691
  "message": "Background Fetch"
@@ -4664,6 +4664,21 @@
4664
4664
  "panels/elements/PlatformFontsWidget.ts | renderedFonts": {
4665
4665
  "message": "Rendered Fonts"
4666
4666
  },
4667
+ "panels/elements/PropertiesWidget.ts | filter": {
4668
+ "message": "Filter"
4669
+ },
4670
+ "panels/elements/PropertiesWidget.ts | filterProperties": {
4671
+ "message": "Filter Properties"
4672
+ },
4673
+ "panels/elements/PropertiesWidget.ts | noMatchingProperty": {
4674
+ "message": "No matching property"
4675
+ },
4676
+ "panels/elements/PropertiesWidget.ts | showAll": {
4677
+ "message": "Show all"
4678
+ },
4679
+ "panels/elements/PropertiesWidget.ts | showAllTooltip": {
4680
+ "message": "When unchecked, only properties whose values are neither null nor undefined will be shown"
4681
+ },
4667
4682
  "panels/elements/StylePropertyTreeElement.ts | copyAllCssDeclarationsAsJs": {
4668
4683
  "message": "Copy all declarations as JS"
4669
4684
  },
@@ -4958,36 +4973,6 @@
4958
4973
  "panels/event_listeners/EventListenersView.ts | toggleWhetherEventListenerIs": {
4959
4974
  "message": "Toggle whether event listener is passive or blocking"
4960
4975
  },
4961
- "panels/help/help-meta.ts | bug": {
4962
- "message": "bug"
4963
- },
4964
- "panels/help/help-meta.ts | doNotShowWhatsNewAfterEachUpdate": {
4965
- "message": "Do not show What's New after each update"
4966
- },
4967
- "panels/help/help-meta.ts | releaseNotes": {
4968
- "message": "Release notes"
4969
- },
4970
- "panels/help/help-meta.ts | reportADevtoolsIssue": {
4971
- "message": "Report a DevTools issue"
4972
- },
4973
- "panels/help/help-meta.ts | reportTranslationIssue": {
4974
- "message": "Report a translation issue"
4975
- },
4976
- "panels/help/help-meta.ts | showWhatsNew": {
4977
- "message": "Show What's New"
4978
- },
4979
- "panels/help/help-meta.ts | showWhatsNewAfterEachUpdate": {
4980
- "message": "Show What's New after each update"
4981
- },
4982
- "panels/help/help-meta.ts | whatsNew": {
4983
- "message": "What's New"
4984
- },
4985
- "panels/help/ReleaseNoteView.ts | close": {
4986
- "message": "Close"
4987
- },
4988
- "panels/help/ReleaseNoteView.ts | learnMore": {
4989
- "message": "Learn more"
4990
- },
4991
4976
  "panels/input/input-meta.ts | inputs": {
4992
4977
  "message": "Inputs"
4993
4978
  },
@@ -11405,6 +11390,9 @@
11405
11390
  "ui/components/panel_feedback/PanelFeedback.ts | videoAndDocumentation": {
11406
11391
  "message": "Video and documentation"
11407
11392
  },
11393
+ "ui/components/panel_feedback/PreviewToggle.ts | previewTextFeedbackLink": {
11394
+ "message": "Send us your feedback."
11395
+ },
11408
11396
  "ui/components/request_link_icon/RequestLinkIcon.ts | clickToShowRequestInTheNetwork": {
11409
11397
  "message": "Click to open the network panel and show request for URL: {url}"
11410
11398
  },
@@ -1019,7 +1019,7 @@
1019
1019
  "entrypoints/inspector_main/RenderingOptions.ts | showsLayerBordersOrangeoliveAnd": {
1020
1020
  "message": "Ŝh́ôẃŝ ĺâýêŕ b̂ór̂d́êŕŝ (ór̂án̂ǵê/ól̂ív̂é) âńd̂ t́îĺêś (ĉýâń)."
1021
1021
  },
1022
- "entrypoints/js_app/JsMain.ts | main": {
1022
+ "entrypoints/js_app/js_app.ts | main": {
1023
1023
  "message": "M̂áîń"
1024
1024
  },
1025
1025
  "entrypoints/main/main-meta.ts | asAuthored": {
@@ -1340,8 +1340,8 @@
1340
1340
  "models/issues_manager/CorsIssue.ts | CORS": {
1341
1341
  "message": "Ĉŕôśŝ-Ór̂íĝín̂ Ŕêśôúr̂ćê Śĥár̂ín̂ǵ (CORS)"
1342
1342
  },
1343
- "models/issues_manager/CorsIssue.ts | corsForPrivateNetworksRfc": {
1344
- "message": "ĈÓR̂Ś f̂ór̂ ṕr̂ív̂át̂é n̂ét̂ẃôŕk̂ (R̂F́Ĉ1918)"
1343
+ "models/issues_manager/CorsIssue.ts | corsPrivateNetworkAccess": {
1344
+ "message": "P̂ŕîv́ât́ê Ńêt́ŵór̂ḱ Âćĉéŝś"
1345
1345
  },
1346
1346
  "models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | coopAndCoep": {
1347
1347
  "message": "ĈÓÔṔ âńd̂ ĆÔÉP̂"
@@ -2498,9 +2498,6 @@
2498
2498
  "panels/application/BackForwardCacheStrings.ts | notMainFrame": {
2499
2499
  "message": "N̂áv̂íĝát̂íôń ĥáp̂ṕêńêd́ îń â f́r̂ám̂é ôt́ĥér̂ t́ĥán̂ t́ĥé m̂áîń f̂ŕâḿê."
2500
2500
  },
2501
- "panels/application/BackForwardCacheStrings.ts | optInUnloadHeaderNotPresent": {
2502
- "message": "T̂h́ê ṕâǵê h́âś ûńl̂óâd́ ĥán̂d́l̂ér̂ ẃît́ĥóût́ t̂h́ê b́âćk̂/f́ôŕŵár̂d́ ĉáĉh́ê óp̂t́-îń ĥéâd́êŕ."
2503
- },
2504
2501
  "panels/application/BackForwardCacheStrings.ts | outstandingIndexedDBTransaction": {
2505
2502
  "message": "P̂áĝé ŵít̂h́ ôńĝóîńĝ ín̂d́êx́êd́ D̂B́ t̂ŕâńŝáĉt́îón̂ś âŕê ńôt́ ĉúr̂ŕêńt̂ĺŷ él̂íĝíb̂ĺê f́ôŕ b̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé."
2506
2503
  },
@@ -2645,20 +2642,20 @@
2645
2642
  "panels/application/BackForwardCacheView.ts | backForwardCacheTitle": {
2646
2643
  "message": "B̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé"
2647
2644
  },
2648
- "panels/application/BackForwardCacheView.ts | bfcacheStatus": {
2649
- "message": "B̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé Ŝt́ât́ûś"
2650
- },
2651
2645
  "panels/application/BackForwardCacheView.ts | circumstantial": {
2652
2646
  "message": "N̂ót̂ Áĉt́îón̂áb̂ĺê"
2653
2647
  },
2654
2648
  "panels/application/BackForwardCacheView.ts | circumstantialExplanation": {
2655
2649
  "message": "T̂h́êśê ŕêáŝón̂ś âŕê ńôt́ âćt̂íôńâb́l̂é î.é. ĉáĉh́îńĝ ẃâś p̂ŕêv́êńt̂éd̂ b́ŷ śôḿêt́ĥín̂ǵ ôút̂śîd́ê óf̂ t́ĥé d̂ír̂éĉt́ ĉón̂t́r̂ól̂ óf̂ t́ĥé p̂áĝé."
2656
2650
  },
2651
+ "panels/application/BackForwardCacheView.ts | learnMore": {
2652
+ "message": "L̂éâŕn̂ ḿôŕê: b́âćk̂/f́ôŕŵár̂d́ ĉáĉh́ê él̂íĝíb̂íl̂ít̂ý"
2653
+ },
2657
2654
  "panels/application/BackForwardCacheView.ts | mainFrame": {
2658
2655
  "message": "M̂áîń F̂ŕâḿê"
2659
2656
  },
2660
2657
  "panels/application/BackForwardCacheView.ts | normalNavigation": {
2661
- "message": "N̂ór̂ḿâĺ n̂áv̂íĝát̂íôń (N̂ót̂ ŕêśt̂ór̂éd̂ f́r̂óm̂ b́âćk̂/f́ôŕŵár̂d́ ĉáĉh́ê)"
2658
+ "message": "N̂ót̂ śêŕv̂éd̂ f́r̂óm̂ b́âćk̂/f́ôŕŵr̂d́ ĉáĉh́ê: t́ô t́r̂ĝǵêŕ b̂áĉḱ/f̂r̂ẃâd̂ ćâćĥé, ûśê Ćŕôê'ś b̂áĉḱ/f̂ór̂ẃâŕd̂ût́t̂ón̂ś, ôŕ ûśê t́ĥé t̂éŝt́ b̂út̂t́ôń b̂él̂ó t́ô ût́ôât́ćâĺl̂ý n̂áv̂íĝát̂é âẃâý âńd̂ b́âćk̂."
2662
2659
  },
2663
2660
  "panels/application/BackForwardCacheView.ts | pageSupportNeeded": {
2664
2661
  "message": "Âćt̂íôńâb́l̂é"
@@ -2667,10 +2664,13 @@
2667
2664
  "message": "T̂h́êśê ŕêáŝón̂ś âŕê áĉt́îón̂áb̂ĺê í.ê. t́ĥéŷ ćâń b̂é ĉĺêán̂éd̂ úp̂ t́ô ḿâḱê t́ĥé p̂áĝé êĺîǵîb́l̂é f̂ór̂ b́âćk̂/f́ôŕŵár̂d́ ĉáĉh́ê."
2668
2665
  },
2669
2666
  "panels/application/BackForwardCacheView.ts | restoredFromBFCache": {
2670
- "message": "R̂éŝt́ôŕêd́ f̂ŕôḿ b̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé"
2667
+ "message": "Ŝúĉćêśŝf́ûĺl̂ý ŝér̂v́êd́ f̂ŕôḿ b̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé."
2668
+ },
2669
+ "panels/application/BackForwardCacheView.ts | runningTest": {
2670
+ "message": "R̂ún̂ńîńĝ t́êśt̂"
2671
2671
  },
2672
2672
  "panels/application/BackForwardCacheView.ts | runTest": {
2673
- "message": "R̂ún̂ T́êśt̂"
2673
+ "message": "T̂éŝ b̂áĉḱ/f̂ór̂ẃâŕd̂ ćâćĥé"
2674
2674
  },
2675
2675
  "panels/application/BackForwardCacheView.ts | supportPending": {
2676
2676
  "message": "P̂én̂d́îńĝ Śûṕp̂ór̂t́"
@@ -2682,10 +2682,10 @@
2682
2682
  "message": "ûńâv́âíl̂áb̂ĺê"
2683
2683
  },
2684
2684
  "panels/application/BackForwardCacheView.ts | unknown": {
2685
- "message": "ûńk̂ńôẃn̂"
2685
+ "message": "Ûńk̂ńôẃn̂ Śt̂át̂úŝ"
2686
2686
  },
2687
2687
  "panels/application/BackForwardCacheView.ts | url": {
2688
- "message": "ÛŔL̂"
2688
+ "message": "ÛŔL̂:"
2689
2689
  },
2690
2690
  "panels/application/BackgroundServiceView.ts | backgroundFetch": {
2691
2691
  "message": "B̂áĉḱĝŕôún̂d́ F̂ét̂ćĥ"
@@ -4664,6 +4664,21 @@
4664
4664
  "panels/elements/PlatformFontsWidget.ts | renderedFonts": {
4665
4665
  "message": "R̂én̂d́êŕêd́ F̂ón̂t́ŝ"
4666
4666
  },
4667
+ "panels/elements/PropertiesWidget.ts | filter": {
4668
+ "message": "F̂íl̂t́êŕ"
4669
+ },
4670
+ "panels/elements/PropertiesWidget.ts | filterProperties": {
4671
+ "message": "F̂íl̂t́êŕ P̂ŕôṕêŕt̂íêś"
4672
+ },
4673
+ "panels/elements/PropertiesWidget.ts | noMatchingProperty": {
4674
+ "message": "N̂ó m̂át̂ćĥín̂ǵ p̂ŕôṕêŕt̂ý"
4675
+ },
4676
+ "panels/elements/PropertiesWidget.ts | showAll": {
4677
+ "message": "Ŝh́ôẃ âĺl̂"
4678
+ },
4679
+ "panels/elements/PropertiesWidget.ts | showAllTooltip": {
4680
+ "message": "Ŵh́êń ûńĉh́êćk̂éd̂, ón̂ĺŷ ṕr̂óp̂ér̂t́îéŝ ẃĥóŝé v̂ál̂úêś âŕê ńêít̂h́êŕ n̂úl̂ĺ n̂ór̂ ún̂d́êf́îńêd́ ŵíl̂ĺ b̂é ŝh́ôẃn̂"
4681
+ },
4667
4682
  "panels/elements/StylePropertyTreeElement.ts | copyAllCssDeclarationsAsJs": {
4668
4683
  "message": "Ĉóp̂ý âĺl̂ d́êćl̂ár̂át̂íôńŝ áŝ J́Ŝ"
4669
4684
  },
@@ -4958,36 +4973,6 @@
4958
4973
  "panels/event_listeners/EventListenersView.ts | toggleWhetherEventListenerIs": {
4959
4974
  "message": "T̂óĝǵl̂é ŵh́êt́ĥér̂ év̂én̂t́ l̂íŝt́êńêŕ îś p̂áŝśîv́ê ór̂ b́l̂óĉḱîńĝ"
4960
4975
  },
4961
- "panels/help/help-meta.ts | bug": {
4962
- "message": "b̂úĝ"
4963
- },
4964
- "panels/help/help-meta.ts | doNotShowWhatsNewAfterEachUpdate": {
4965
- "message": "D̂ó n̂ót̂ śĥóŵ Ẃĥát̂'ś N̂éŵ áf̂t́êŕ êáĉh́ ûṕd̂át̂é"
4966
- },
4967
- "panels/help/help-meta.ts | releaseNotes": {
4968
- "message": "R̂él̂éâśê ńôt́êś"
4969
- },
4970
- "panels/help/help-meta.ts | reportADevtoolsIssue": {
4971
- "message": "R̂ép̂ór̂t́ â D́êv́T̂óôĺŝ íŝśûé"
4972
- },
4973
- "panels/help/help-meta.ts | reportTranslationIssue": {
4974
- "message": "R̂ép̂ór̂t́ â t́r̂án̂śl̂át̂íôń îśŝúê"
4975
- },
4976
- "panels/help/help-meta.ts | showWhatsNew": {
4977
- "message": "Ŝh́ôẃ Ŵh́ât́'ŝ Ńêẃ"
4978
- },
4979
- "panels/help/help-meta.ts | showWhatsNewAfterEachUpdate": {
4980
- "message": "Ŝh́ôẃ Ŵh́ât́'ŝ Ńêẃ âf́t̂ér̂ éâćĥ úp̂d́ât́ê"
4981
- },
4982
- "panels/help/help-meta.ts | whatsNew": {
4983
- "message": "Ŵh́ât́'ŝ Ńêẃ"
4984
- },
4985
- "panels/help/ReleaseNoteView.ts | close": {
4986
- "message": "Ĉĺôśê"
4987
- },
4988
- "panels/help/ReleaseNoteView.ts | learnMore": {
4989
- "message": "L̂éâŕn̂ ḿôŕê"
4990
- },
4991
4976
  "panels/input/input-meta.ts | inputs": {
4992
4977
  "message": "Îńp̂út̂ś"
4993
4978
  },
@@ -11405,6 +11390,9 @@
11405
11390
  "ui/components/panel_feedback/PanelFeedback.ts | videoAndDocumentation": {
11406
11391
  "message": "V̂íd̂éô án̂d́ d̂óĉúm̂én̂t́ât́îón̂"
11407
11392
  },
11393
+ "ui/components/panel_feedback/PreviewToggle.ts | previewTextFeedbackLink": {
11394
+ "message": "Ŝén̂d́ ûś ŷóûŕ f̂éêd́b̂áĉḱ."
11395
+ },
11408
11396
  "ui/components/request_link_icon/RequestLinkIcon.ts | clickToShowRequestInTheNetwork": {
11409
11397
  "message": "Ĉĺîćk̂ t́ô óp̂én̂ t́ĥé n̂ét̂ẃôŕk̂ ṕâńêĺ âńd̂ śĥóŵ ŕêq́ûéŝt́ f̂ór̂ ÚR̂Ĺ: {url}"
11410
11398
  },
@@ -28,8 +28,6 @@
28
28
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
29
  */
30
30
 
31
- import './utilities.js';
32
-
33
31
  import * as ArrayUtilities from './array-utilities.js';
34
32
  import * as DateUtilities from './date-utilities.js';
35
33
  import * as DevToolsPath from './DevToolsPath.js';
@@ -450,7 +450,7 @@ export const createSearchRegex = function(query: string, caseSensitive: boolean,
450
450
  }
451
451
 
452
452
  if (!regexObject) {
453
- regexObject = self.createPlainTextSearchRegex(query, regexFlags);
453
+ regexObject = createPlainTextSearchRegex(query, regexFlags);
454
454
  }
455
455
 
456
456
  return regexObject;
@@ -602,3 +602,16 @@ export const findUnclosedCssQuote = function(str: string): string {
602
602
  }
603
603
  return unmatchedQuote;
604
604
  };
605
+
606
+ export const createPlainTextSearchRegex = function(query: string, flags?: string): RegExp {
607
+ // This should be kept the same as the one in StringUtil.cpp.
608
+ let regex = '';
609
+ for (let i = 0; i < query.length; ++i) {
610
+ const c = query.charAt(i);
611
+ if (regexSpecialCharacters().indexOf(c) !== -1) {
612
+ regex += '\\';
613
+ }
614
+ regex += c;
615
+ }
616
+ return new RegExp(regex, flags || '');
617
+ };
@@ -31,35 +31,6 @@
31
31
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
32
  */
33
33
 
34
- /* The long term goal here is to remove all functions in this file and
35
- * replace them with ES Module functions rather than prototype
36
- * extensions but in the mean time if an old func in here depends on one
37
- * that has been migrated, it will need to be imported.
38
- */
39
-
40
- import {caseInsensetiveComparator, regexSpecialCharacters, sprintf} from './string-utilities.js';
41
-
42
- // Still used in the test runners that can't use ES modules :(
43
- String.sprintf = sprintf;
44
-
45
- // @ts-ignore https://crbug.com/1050549
46
- String.regexSpecialCharacters = regexSpecialCharacters;
47
- // @ts-ignore https://crbug.com/1050549
48
- String.caseInsensetiveComparator = caseInsensetiveComparator;
49
-
50
- self.createPlainTextSearchRegex = function(query: string, flags?: string): RegExp {
51
- // This should be kept the same as the one in StringUtil.cpp.
52
- let regex = '';
53
- for (let i = 0; i < query.length; ++i) {
54
- const c = query.charAt(i);
55
- if (regexSpecialCharacters().indexOf(c) !== -1) {
56
- regex += '\\';
57
- }
58
- regex += c;
59
- }
60
- return new RegExp(regex, flags || '');
61
- };
62
-
63
34
  export function runOnWindowLoad(callback: () => void): void {
64
35
  function windowLoaded(): void {
65
36
  window.removeEventListener('DOMContentLoaded', windowLoaded, false);