chrome-devtools-frontend 1.0.921086 → 1.0.922671

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 (190) hide show
  1. package/config/gni/all_devtools_files.gni +1 -1
  2. package/config/gni/devtools_grd_files.gni +2 -0
  3. package/front_end/core/common/ColorUtils.ts +2 -1
  4. package/front_end/core/common/Object.ts +36 -1
  5. package/front_end/core/common/Settings.ts +8 -1
  6. package/front_end/core/common/common.ts +2 -1
  7. package/front_end/core/i18n/locales/af.json +53 -32
  8. package/front_end/core/i18n/locales/am.json +56 -35
  9. package/front_end/core/i18n/locales/ar.json +53 -32
  10. package/front_end/core/i18n/locales/as.json +63 -42
  11. package/front_end/core/i18n/locales/az.json +53 -32
  12. package/front_end/core/i18n/locales/be.json +52 -31
  13. package/front_end/core/i18n/locales/bg.json +51 -30
  14. package/front_end/core/i18n/locales/bn.json +63 -42
  15. package/front_end/core/i18n/locales/bs.json +57 -36
  16. package/front_end/core/i18n/locales/ca.json +55 -34
  17. package/front_end/core/i18n/locales/cs.json +51 -30
  18. package/front_end/core/i18n/locales/cy.json +63 -42
  19. package/front_end/core/i18n/locales/da.json +55 -34
  20. package/front_end/core/i18n/locales/de.json +52 -31
  21. package/front_end/core/i18n/locales/el.json +58 -37
  22. package/front_end/core/i18n/locales/en-GB.json +51 -30
  23. package/front_end/core/i18n/locales/en-US.json +3 -0
  24. package/front_end/core/i18n/locales/en-XL.json +3 -0
  25. package/front_end/core/i18n/locales/es-419.json +53 -32
  26. package/front_end/core/i18n/locales/es.json +52 -31
  27. package/front_end/core/i18n/locales/et.json +54 -33
  28. package/front_end/core/i18n/locales/eu.json +71 -50
  29. package/front_end/core/i18n/locales/fa.json +54 -33
  30. package/front_end/core/i18n/locales/fi.json +55 -34
  31. package/front_end/core/i18n/locales/fil.json +59 -38
  32. package/front_end/core/i18n/locales/fr-CA.json +52 -31
  33. package/front_end/core/i18n/locales/fr.json +54 -33
  34. package/front_end/core/i18n/locales/gl.json +57 -36
  35. package/front_end/core/i18n/locales/gu.json +65 -44
  36. package/front_end/core/i18n/locales/he.json +56 -35
  37. package/front_end/core/i18n/locales/hi.json +61 -40
  38. package/front_end/core/i18n/locales/hr.json +55 -34
  39. package/front_end/core/i18n/locales/hu.json +53 -32
  40. package/front_end/core/i18n/locales/hy.json +54 -33
  41. package/front_end/core/i18n/locales/id.json +59 -38
  42. package/front_end/core/i18n/locales/is.json +51 -30
  43. package/front_end/core/i18n/locales/it.json +51 -30
  44. package/front_end/core/i18n/locales/ja.json +52 -31
  45. package/front_end/core/i18n/locales/ka.json +51 -30
  46. package/front_end/core/i18n/locales/kk.json +56 -35
  47. package/front_end/core/i18n/locales/km.json +59 -38
  48. package/front_end/core/i18n/locales/kn.json +63 -42
  49. package/front_end/core/i18n/locales/ko.json +59 -38
  50. package/front_end/core/i18n/locales/ky.json +54 -33
  51. package/front_end/core/i18n/locales/lo.json +59 -38
  52. package/front_end/core/i18n/locales/lt.json +52 -31
  53. package/front_end/core/i18n/locales/lv.json +60 -39
  54. package/front_end/core/i18n/locales/mk.json +51 -30
  55. package/front_end/core/i18n/locales/ml.json +65 -44
  56. package/front_end/core/i18n/locales/mn.json +59 -38
  57. package/front_end/core/i18n/locales/mr.json +61 -40
  58. package/front_end/core/i18n/locales/ms.json +59 -38
  59. package/front_end/core/i18n/locales/my.json +59 -38
  60. package/front_end/core/i18n/locales/ne.json +63 -42
  61. package/front_end/core/i18n/locales/nl.json +55 -34
  62. package/front_end/core/i18n/locales/no.json +54 -33
  63. package/front_end/core/i18n/locales/or.json +63 -42
  64. package/front_end/core/i18n/locales/pa.json +61 -40
  65. package/front_end/core/i18n/locales/pl.json +51 -30
  66. package/front_end/core/i18n/locales/pt-PT.json +52 -31
  67. package/front_end/core/i18n/locales/pt.json +59 -38
  68. package/front_end/core/i18n/locales/ro.json +52 -31
  69. package/front_end/core/i18n/locales/ru.json +52 -31
  70. package/front_end/core/i18n/locales/si.json +59 -38
  71. package/front_end/core/i18n/locales/sk.json +52 -31
  72. package/front_end/core/i18n/locales/sl.json +52 -31
  73. package/front_end/core/i18n/locales/sq.json +51 -30
  74. package/front_end/core/i18n/locales/sr-Latn.json +52 -31
  75. package/front_end/core/i18n/locales/sr.json +52 -31
  76. package/front_end/core/i18n/locales/sv.json +52 -31
  77. package/front_end/core/i18n/locales/sw.json +60 -39
  78. package/front_end/core/i18n/locales/ta.json +67 -46
  79. package/front_end/core/i18n/locales/te.json +62 -41
  80. package/front_end/core/i18n/locales/th.json +52 -31
  81. package/front_end/core/i18n/locales/tr.json +55 -34
  82. package/front_end/core/i18n/locales/uk.json +55 -34
  83. package/front_end/core/i18n/locales/ur.json +60 -39
  84. package/front_end/core/i18n/locales/uz.json +52 -31
  85. package/front_end/core/i18n/locales/vi.json +54 -33
  86. package/front_end/core/i18n/locales/zh-HK.json +52 -31
  87. package/front_end/core/i18n/locales/zh-TW.json +57 -36
  88. package/front_end/core/i18n/locales/zh.json +56 -35
  89. package/front_end/core/i18n/locales/zu.json +59 -38
  90. package/front_end/core/sdk/FrameManager.ts +2 -2
  91. package/front_end/core/sdk/RemoteObject.ts +43 -20
  92. package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
  93. package/front_end/entrypoints/js_app/JsMain.ts +1 -1
  94. package/front_end/entrypoints/node_main/NodeMain.ts +1 -1
  95. package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
  96. package/front_end/legacy/legacy-defs.d.ts +9 -0
  97. package/front_end/models/emulation/DeviceModeModel.ts +1 -1
  98. package/front_end/models/extensions/ExtensionAPI.ts +1 -1
  99. package/front_end/models/issues_manager/AttributionReportingIssue.ts +4 -1
  100. package/front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md +4 -0
  101. package/front_end/models/timeline_model/TimelineModel.ts +5 -1
  102. package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -7
  103. package/front_end/panels/application/DatabaseQueryView.ts +7 -1
  104. package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
  105. package/front_end/panels/changes/ChangesSidebar.ts +6 -1
  106. package/front_end/panels/console/ConsolePrompt.ts +6 -1
  107. package/front_end/panels/console/ConsoleSidebar.ts +5 -1
  108. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  109. package/front_end/panels/coverage/CoverageView.ts +5 -4
  110. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +59 -48
  111. package/front_end/panels/css_overview/CSSOverviewController.ts +48 -8
  112. package/front_end/panels/css_overview/CSSOverviewPanel.ts +1 -1
  113. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +8 -1
  114. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +14 -12
  115. package/front_end/panels/elements/ElementsPanel.ts +10 -8
  116. package/front_end/panels/elements/ElementsTreeOutline.ts +8 -1
  117. package/front_end/panels/elements/StylesSidebarPane.ts +12 -2
  118. package/front_end/panels/elements/layoutPane.css +1 -0
  119. package/front_end/panels/emulation/AdvancedApp.ts +2 -12
  120. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +14 -1
  121. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +10 -0
  122. package/front_end/panels/layer_viewer/LayerDetailsView.ts +7 -1
  123. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +4 -4
  124. package/front_end/panels/layer_viewer/Layers3DView.ts +7 -1
  125. package/front_end/panels/layer_viewer/PaintProfilerView.ts +7 -1
  126. package/front_end/panels/layers/LayersPanel.ts +1 -1
  127. package/front_end/panels/lighthouse/LighthouseProtocolService.ts +1 -2
  128. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +4 -0
  129. package/front_end/panels/network/NetworkDataGridNode.ts +46 -104
  130. package/front_end/panels/network/NetworkItemView.ts +2 -6
  131. package/front_end/panels/network/NetworkLogView.ts +4 -4
  132. package/front_end/panels/network/NetworkPanel.ts +12 -18
  133. package/front_end/panels/network/RequestTimingView.ts +3 -1
  134. package/front_end/panels/network/module.json +0 -3
  135. package/front_end/panels/profiler/CPUProfileFlameChart.ts +26 -11
  136. package/front_end/panels/profiler/HeapProfileView.ts +5 -6
  137. package/front_end/panels/profiler/HeapSnapshotView.ts +6 -6
  138. package/front_end/panels/profiler/HeapTimelineOverview.ts +17 -3
  139. package/front_end/panels/profiler/ProfileLauncherView.ts +6 -1
  140. package/front_end/panels/profiler/ProfileView.ts +1 -1
  141. package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
  142. package/front_end/panels/settings/SettingsScreen.ts +2 -2
  143. package/front_end/panels/sources/CSSPlugin.ts +6 -6
  144. package/front_end/panels/sources/DebuggerPlugin.ts +4 -5
  145. package/front_end/panels/sources/EditingLocationHistoryManager.ts +7 -5
  146. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +5 -5
  147. package/front_end/panels/sources/OutlineQuickOpen.ts +7 -2
  148. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +5 -6
  149. package/front_end/panels/sources/SourcesPanel.ts +2 -2
  150. package/front_end/panels/sources/SourcesView.ts +16 -3
  151. package/front_end/panels/sources/TabbedEditorContainer.ts +8 -13
  152. package/front_end/panels/sources/UISourceCodeFrame.ts +7 -1
  153. package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -7
  154. package/front_end/panels/timeline/TimelineDetailsView.ts +1 -1
  155. package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
  156. package/front_end/panels/timeline/TimelineLayersView.ts +7 -7
  157. package/front_end/panels/timeline/TimelinePanel.ts +2 -1
  158. package/front_end/panels/timeline/TimelineTreeView.ts +6 -1
  159. package/front_end/ui/components/docs/toggle_fonts.ts +28 -1
  160. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +4 -5
  161. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +14 -5
  162. package/front_end/ui/legacy/Dialog.ts +12 -2
  163. package/front_end/ui/legacy/FilterBar.ts +12 -8
  164. package/front_end/ui/legacy/InspectorView.ts +3 -3
  165. package/front_end/ui/legacy/SplitWidget.ts +6 -1
  166. package/front_end/ui/legacy/TabbedPane.ts +9 -1
  167. package/front_end/ui/legacy/TextEditor.ts +12 -1
  168. package/front_end/ui/legacy/Treeoutline.ts +19 -11
  169. package/front_end/ui/legacy/ViewManager.ts +8 -7
  170. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
  171. package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
  172. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +7 -1
  173. package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +12 -1
  174. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +19 -71
  175. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +8 -1
  176. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +9 -1
  177. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +13 -3
  178. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +14 -3
  179. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -4
  180. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -3
  181. package/front_end/ui/legacy/components/quick_open/QuickInput.ts +4 -5
  182. package/front_end/ui/legacy/components/quick_open/QuickPick.ts +4 -5
  183. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +29 -19
  184. package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +18 -2
  185. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +3 -1
  186. package/front_end/ui/legacy/splitWidget.css +2 -2
  187. package/inspector_overlay/common.ts +3 -3
  188. package/inspector_overlay/tool_viewport_size.ts +1 -1
  189. package/package.json +1 -1
  190. package/scripts/build/generate_css_js_files.js +1 -0
@@ -243,10 +243,10 @@
243
243
  "message": "Uzulazule ku-{PH1}"
244
244
  },
245
245
  "core/sdk/ConsoleModel.ts | profileSFinished": {
246
- "message": "Iphrofayela ye-'{PH1}' iqedile."
246
+ "message": "Iphrofayela ye-\"{PH1}\" iqedile."
247
247
  },
248
248
  "core/sdk/ConsoleModel.ts | profileSStarted": {
249
- "message": "Iphrofayela le-'{PH1}' liqalile."
249
+ "message": "Iphrofayela le-\"{PH1}\" liqalile."
250
250
  },
251
251
  "core/sdk/DOMDebuggerModel.ts | animation": {
252
252
  "message": "Ukugqwayiza"
@@ -866,6 +866,9 @@
866
866
  "entrypoints/inspector_main/RenderingOptions.ts | forcesCssPreferscolorschemeMedia": {
867
867
  "message": "Imidiya yesakhi samandla we-CSS prefers-color-scheme"
868
868
  },
869
+ "entrypoints/inspector_main/RenderingOptions.ts | forcesCssPreferscontrastMedia": {
870
+ "message": "Imidiya yesakhi samandla we-CSS prefers-contrast"
871
+ },
869
872
  "entrypoints/inspector_main/RenderingOptions.ts | forcesCssPrefersreduceddataMedia": {
870
873
  "message": "Imidiya yesakhi samandla we-CSS prefers-reduced-data"
871
874
  },
@@ -1979,6 +1982,15 @@
1979
1982
  "panels/application/AppManifestView.ts | actualWidthSpxOfSSDoesNotMatch": {
1980
1983
  "message": "Ububanzi boqobo ({PH1}px) kokungu-{PH2} {PH3} ayifani nobubanzi obucacisiwe ({PH4}px)"
1981
1984
  },
1985
+ "panels/application/AppManifestView.ts | appId": {
1986
+ "message": "I-Id ye-app"
1987
+ },
1988
+ "panels/application/AppManifestView.ts | appIdExplainer": {
1989
+ "message": "Lokhu kusetshenziswa i-browser ukwazi uma ngabe i-manifest kumele ibuyekeze i-application ekhona, noma uma ngabe isho i-app entsha yewebhu engafakwa."
1990
+ },
1991
+ "panels/application/AppManifestView.ts | appIdNote": {
1992
+ "message": "Qaphela: i-'id' ayicacisiwe ku-manifest, i-'start_url' iyasetshenziswa kunalokho. Ukuze ucacise i-app Id efana nobunikazi bamanje, sethela inkambu ye-'id' ku-''{PH1}''."
1993
+ },
1982
1994
  "panels/application/AppManifestView.ts | appManifest": {
1983
1995
  "message": "I-Manifest Yohlelo Lokusebenza"
1984
1996
  },
@@ -2130,7 +2142,7 @@
2130
2142
  "message": "{PH1} src ayisethiwe"
2131
2143
  },
2132
2144
  "panels/application/AppManifestView.ts | sUrlSFailedToParse": {
2133
- "message": "I-{PH1} URL '{PH2}' yehlulekile ukuncozulula"
2145
+ "message": "{PH1} i-URL \"{PH2}\" yehlulekile ukuncozulula"
2134
2146
  },
2135
2147
  "panels/application/AppManifestView.ts | screenshot": {
2136
2148
  "message": "Isithombe-skrini"
@@ -2288,8 +2300,8 @@
2288
2300
  "panels/application/BackForwardCacheView.ts | bfcacheStatus": {
2289
2301
  "message": "Isimo senqolobane yasemuva-phambili"
2290
2302
  },
2291
- "panels/application/BackForwardCacheView.ts | explanations": {
2292
- "message": "Izincazelo"
2303
+ "panels/application/BackForwardCacheView.ts | chromeSupportNeeded": {
2304
+ "message": "Ukuzulazula kokugcina akuzange kwenziwe inqolobane ngoba"
2293
2305
  },
2294
2306
  "panels/application/BackForwardCacheView.ts | lastMainFrameNavigation": {
2295
2307
  "message": "Ukuzulazula Kohlaka Oluyinhloko Lokugcina"
@@ -2300,6 +2312,9 @@
2300
2312
  "panels/application/BackForwardCacheView.ts | normalNavigation": {
2301
2313
  "message": "Ukuzulazula okuvamile"
2302
2314
  },
2315
+ "panels/application/BackForwardCacheView.ts | pageSupportNeeded": {
2316
+ "message": "Izakhi ezivimbela inqolobane yasemuva-phambili"
2317
+ },
2303
2318
  "panels/application/BackForwardCacheView.ts | restoredFromBFCache": {
2304
2319
  "message": "Kubuyiselwe kusuka kwinqolobane yasemuva-phambili"
2305
2320
  },
@@ -2312,6 +2327,9 @@
2312
2327
  "panels/application/BackForwardCacheView.ts | url": {
2313
2328
  "message": "I-URL"
2314
2329
  },
2330
+ "panels/application/BackForwardCacheView.ts | willBeSupported": {
2331
+ "message": "(Kusekelwa kuhlobo lwesikhathi esizayo lwe-Chrome)"
2332
+ },
2315
2333
  "panels/application/BackgroundServiceView.ts | backgroundFetch": {
2316
2334
  "message": "Ukulanda kwangemuva"
2317
2335
  },
@@ -4577,6 +4595,9 @@
4577
4595
  "panels/help/help-meta.ts | reportADevtoolsIssue": {
4578
4596
  "message": "Bika inkinga ye-DevTools"
4579
4597
  },
4598
+ "panels/help/help-meta.ts | reportTranslationIssue": {
4599
+ "message": "Bika inkinga yokuhumusha"
4600
+ },
4580
4601
  "panels/help/help-meta.ts | showWhatsNew": {
4581
4602
  "message": "Bonisa Lokho okusha"
4582
4603
  },
@@ -4895,6 +4916,9 @@
4895
4916
  "panels/issues/HiddenIssuesRow.ts | hiddenIssues": {
4896
4917
  "message": "Izinkinga ezifihliwe"
4897
4918
  },
4919
+ "panels/issues/HiddenIssuesRow.ts | unhideIssues": {
4920
+ "message": "Ungafihli zonke izinkinga"
4921
+ },
4898
4922
  "panels/issues/IssueView.ts | affectedResources": {
4899
4923
  "message": "Imithombo Ethintekile"
4900
4924
  },
@@ -4973,9 +4997,6 @@
4973
4997
  "panels/issues/IssuesPane.ts | trustedWebActivity": {
4974
4998
  "message": "Umsebenzi wewebhu othenjwayo"
4975
4999
  },
4976
- "panels/issues/IssuesPane.ts | unHideAllHiddenIssues": {
4977
- "message": "Ungafihli zonke izinkinga ezifihliwe"
4978
- },
4979
5000
  "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | blocked": {
4980
5001
  "message": "uvinjiwe"
4981
5002
  },
@@ -6146,8 +6167,8 @@
6146
6167
  "panels/network/NetworkLogView.ts | performARequestOrHitSToRecordThe": {
6147
6168
  "message": "Yenza isicelo noma shaya i-{PH1} ukuze urekhode ukulayisha kabusha."
6148
6169
  },
6149
- "panels/network/NetworkLogView.ts | recordSToDisplayNetworkActivity": {
6150
- "message": "Rekhoda i-({PH1}) ukubonisa umsebenzi wenethiwekhi."
6170
+ "panels/network/NetworkLogView.ts | recordToDisplayNetworkActivity": {
6171
+ "message": "Rekhoda ilogu yenethiwekhi ({PH1}) ukuze ubonise umsebenzi wenethiwekhi."
6151
6172
  },
6152
6173
  "panels/network/NetworkLogView.ts | recordingNetworkActivity": {
6153
6174
  "message": "Umsebenzi wenethiwekhi yokurekhoda…"
@@ -7203,7 +7224,7 @@
7203
7224
  "message": "Bonisa kukubuka Kwesifinyezo"
7204
7225
  },
7205
7226
  "panels/profiler/HeapSnapshotGridNodes.ts | revealObjectSWithIdSInSummary": {
7206
- "message": "Veza into ye-'{PH1}' ene-id ethi @{PH2} ekubukeni kwesifinyezo"
7227
+ "message": "Veza into ye-\"{PH1}\" ene-id ethi @{PH2} ekubukeni Kwesifinyezo"
7207
7228
  },
7208
7229
  "panels/profiler/HeapSnapshotGridNodes.ts | storeAsGlobalVariable": {
7209
7230
  "message": "Gcina njengeziguquki zomhlaba"
@@ -7215,7 +7236,7 @@
7215
7236
  "message": "Into yomsebenzisi etholakalayo kusuka kuwindi"
7216
7237
  },
7217
7238
  "panels/profiler/HeapSnapshotProxy.ts | anErrorOccurredWhenACallToMethod": {
7218
- "message": "Kuvele iphutha uma ikholi yendlela '{PH1}' icelwa"
7239
+ "message": "Kuvele iphutha uma ikholi yendlela \"{PH1}\" icelwa"
7219
7240
  },
7220
7241
  "panels/profiler/HeapSnapshotView.ts | AllocationTimelinesShowInstrumented": {
7221
7242
  "message": "Ukunikezwa komugqa wesikhathi kubonisa ukunikezwa kwememori ye-JavaScript ngesikhathi. Lapho iphrofayela eisiqoshiwe ungakhetha isikhawu sesikhathi ukuze ubone izinto ezazabelwe ngaphakathi kwayo nokuthi zisaphila ekupheleni kokurekhoda. Sebenzisa lolu hlobo lwephrofayela ukususa ukuvuza kwememori."
@@ -7521,7 +7542,7 @@
7521
7542
  "message": "Yehlulekile ukufunda ifayela"
7522
7543
  },
7523
7544
  "panels/profiler/ProfileView.ts | fileSReadErrorS": {
7524
- "message": "Iphutha lokufunda ifayela le-'{PH1}' : {PH2}"
7545
+ "message": "Iphutha lokufunda ifayela le-\"{PH1}\": {PH2}"
7525
7546
  },
7526
7547
  "panels/profiler/ProfileView.ts | findByCostMsNameOrFile": {
7527
7548
  "message": "Thola ngezindleko (>50ms), igama noma ifayela"
@@ -7566,7 +7587,7 @@
7566
7587
  "message": "Isihlahla (Phezulu Phansi)"
7567
7588
  },
7568
7589
  "panels/profiler/ProfilesPanel.ts | cantLoadFileSupportedFile": {
7569
- "message": "Ayikwazi ukulayisha ifayela. Izijobelelo zefayela ezisekelwayo: '{PH1}.'"
7590
+ "message": "Ayikwazi ukulayisha ifayela. Izijobelelo zefayela ezisekelwayo: \"{PH1}\"."
7570
7591
  },
7571
7592
  "panels/profiler/ProfilesPanel.ts | cantLoadProfileWhileAnother": {
7572
7593
  "message": "Ayikwazi ukulayisha iphrofayela ngenkathi enye iphrofayela irekhodwa."
@@ -7616,9 +7637,6 @@
7616
7637
  "panels/protocol_monitor/ProtocolMonitor.ts | clearAll": {
7617
7638
  "message": "Sula konke"
7618
7639
  },
7619
- "panels/protocol_monitor/ProtocolMonitor.ts | direction": {
7620
- "message": "Isikhombisi-ndlela"
7621
- },
7622
7640
  "panels/protocol_monitor/ProtocolMonitor.ts | documentation": {
7623
7641
  "message": "Imibhalo"
7624
7642
  },
@@ -7658,6 +7676,9 @@
7658
7676
  "panels/protocol_monitor/ProtocolMonitor.ts | timestamp": {
7659
7677
  "message": "Isitembu sesikhathi"
7660
7678
  },
7679
+ "panels/protocol_monitor/ProtocolMonitor.ts | type": {
7680
+ "message": "Uhlobo"
7681
+ },
7661
7682
  "panels/protocol_monitor/protocol_monitor-meta.ts | protocolMonitor": {
7662
7683
  "message": "Isingameli sephrothokholi"
7663
7684
  },
@@ -7970,9 +7991,6 @@
7970
7991
  "panels/security/SecurityPanel.ts | theSecurityDetailsAboveAreFrom": {
7971
7992
  "message": "Imininingwane yokuvikelwa engaphezulu isuka kumpendulo yokuqala ehloliwe."
7972
7993
  },
7973
- "panels/security/SecurityPanel.ts | theSecurityOfThisPageIsUnknown": {
7974
- "message": "Ukuphepha kwaleli khasi akwaziwa."
7975
- },
7976
7994
  "panels/security/SecurityPanel.ts | theServerSignatureUsesShaWhichIs": {
7977
7995
  "message": "Isiginesha yeseva isebenzisa i-SHA-1, engasasebenzi. Nika amandla i-algorithm yesiginesha ye-SHA-2 esikhundleni salokho. (Qaphela lokhu kwehlukile kusiginesha esesitifiketini.)"
7978
7996
  },
@@ -8000,15 +8018,6 @@
8000
8018
  "panels/security/SecurityPanel.ts | thisPageIsInsecureUnencrypted": {
8001
8019
  "message": "Leli khasi alivikelekile (i-HTTP)."
8002
8020
  },
8003
- "panels/security/SecurityPanel.ts | thisPageIsNotSecure": {
8004
- "message": "Leli khasi alivikelekile."
8005
- },
8006
- "panels/security/SecurityPanel.ts | thisPageIsNotSecureBrokenHttps": {
8007
- "message": "Leli khasi alivikelekile (i-HTTPS ephukile)."
8008
- },
8009
- "panels/security/SecurityPanel.ts | thisPageIsSecureValidHttps": {
8010
- "message": "Leli khasi livikelekile (i-HTTPS evumelekile)."
8011
- },
8012
8021
  "panels/security/SecurityPanel.ts | thisPageIsSuspicious": {
8013
8022
  "message": "Leli khasi liyasolisa"
8014
8023
  },
@@ -8316,7 +8325,7 @@
8316
8325
  "message": "Faka isikripthi yokuqukethwe ukuze ungalunaki uhlu (izandiso zesikripthi ekhasini)"
8317
8326
  },
8318
8327
  "panels/settings/FrameworkIgnoreListSettingsTab.ts | ignoreScriptsWhoseNamesMatchS": {
8319
- "message": "Ziba amaskripthi amagama azo afana ne-'{PH1}'"
8328
+ "message": "Ziba amaskripthi amagama azo afana ne-\"{PH1}\""
8320
8329
  },
8321
8330
  "panels/settings/FrameworkIgnoreListSettingsTab.ts | noIgnoreListPatterns": {
8322
8331
  "message": "Awekho amaphethini wohlu lokuziba"
@@ -8420,6 +8429,9 @@
8420
8429
  "panels/settings/emulation/DevicesSettingsTab.ts | device": {
8421
8430
  "message": "Idivayisi"
8422
8431
  },
8432
+ "panels/settings/emulation/DevicesSettingsTab.ts | deviceAddedOrUpdated": {
8433
+ "message": "Idivayisi ye-{PH1} ingezwe/yabuyekezwa ngempumelelo."
8434
+ },
8423
8435
  "panels/settings/emulation/DevicesSettingsTab.ts | deviceName": {
8424
8436
  "message": "Igama ledivayisi"
8425
8437
  },
@@ -8450,6 +8462,9 @@
8450
8462
  "panels/settings/emulation/components/UserAgentClientHintsForm.ts | addBrand": {
8451
8463
  "message": "Yengeza ibhrendi"
8452
8464
  },
8465
+ "panels/settings/emulation/components/UserAgentClientHintsForm.ts | addedBrand": {
8466
+ "message": "Kungezwe umugqa webhrendi"
8467
+ },
8453
8468
  "panels/settings/emulation/components/UserAgentClientHintsForm.ts | architecture": {
8454
8469
  "message": "Ezokwakha"
8455
8470
  },
@@ -8477,6 +8492,9 @@
8477
8492
  "panels/settings/emulation/components/UserAgentClientHintsForm.ts | deleteTooltip": {
8478
8493
  "message": "Sula"
8479
8494
  },
8495
+ "panels/settings/emulation/components/UserAgentClientHintsForm.ts | deletedBrand": {
8496
+ "message": "Umugqa womkhiqizo osuliwe"
8497
+ },
8480
8498
  "panels/settings/emulation/components/UserAgentClientHintsForm.ts | deviceModel": {
8481
8499
  "message": "Imodeli yedivayisi"
8482
8500
  },
@@ -9809,6 +9827,12 @@
9809
9827
  "panels/timeline/TimelineUIUtils.ts | asyncTask": {
9810
9828
  "message": "Umsebenzi we-Async"
9811
9829
  },
9830
+ "panels/timeline/TimelineUIUtils.ts | cacheModule": {
9831
+ "message": "Ikhodi Yenqolobane Yemojula"
9832
+ },
9833
+ "panels/timeline/TimelineUIUtils.ts | cacheScript": {
9834
+ "message": "Ikhodi Yenqolobane Yeskripthi"
9835
+ },
9812
9836
  "panels/timeline/TimelineUIUtils.ts | cachedWasmModule": {
9813
9837
  "message": "Imojula Yenqolobane ye-Wasm"
9814
9838
  },
@@ -9941,6 +9965,9 @@
9941
9965
  "panels/timeline/TimelineUIUtils.ts | duration": {
9942
9966
  "message": "Ubude besikhathi"
9943
9967
  },
9968
+ "panels/timeline/TimelineUIUtils.ts | eagerCompile": {
9969
+ "message": "Ihlanganisa konke ukusebenza ngentshiseko"
9970
+ },
9944
9971
  "panels/timeline/TimelineUIUtils.ts | elementsAffected": {
9945
9972
  "message": "Ama-elementi Athintekile"
9946
9973
  },
@@ -10394,9 +10421,6 @@
10394
10421
  "panels/timeline/TimelineUIUtils.ts | scriptNotEligible": {
10395
10422
  "message": "iskripthi asifanelekile"
10396
10423
  },
10397
- "panels/timeline/TimelineUIUtils.ts | scriptSavedToCache": {
10398
- "message": "iskripthi silondolozwe kunqolobane"
10399
- },
10400
10424
  "panels/timeline/TimelineUIUtils.ts | scripting": {
10401
10425
  "message": "Ukwenza iskripthi"
10402
10426
  },
@@ -11564,11 +11588,8 @@
11564
11588
  "ui/legacy/components/quick_open/QuickInput.ts | pressEnterToConfirmOrEscapeTo": {
11565
11589
  "message": "{PH1} (Cindezela u-'Enter' ukuze uqinisekise noma u-'Escape' ukuze ukhansele.)"
11566
11590
  },
11567
- "ui/legacy/components/quick_open/QuickOpen.ts | typeQuestionMarkToSeeAvailable": {
11568
- "message": "Thayipha imaka lombuzo ukuze ubone imiyalo etholakalayo"
11569
- },
11570
- "ui/legacy/components/quick_open/QuickOpen.ts | typeToSeeAvailableCommands": {
11571
- "message": "Thayipha '?' ukubona imiyalo etholakalayo"
11591
+ "ui/legacy/components/quick_open/QuickOpen.ts | useTabToSwitchCommandsTypeToSeeAvailableCommands": {
11592
+ "message": "Sebenzisa Ithebu ukushintsha imiyalo. Thayipha '?' ukubona imiyalo etholakalayo"
11572
11593
  },
11573
11594
  "ui/legacy/components/quick_open/quick_open-meta.ts | openFile": {
11574
11595
  "message": "Vula ifayela"
@@ -141,8 +141,8 @@ export class FrameManager extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
141
141
  }
142
142
  }
143
143
 
144
- private frameNavigated(event: Common.EventTarget.EventTargetEvent): void {
145
- const frame = (event.data as ResourceTreeFrame);
144
+ private frameNavigated(event: Common.EventTarget.EventTargetEvent<ResourceTreeFrame>): void {
145
+ const frame = event.data;
146
146
  this.dispatchEventToListeners(Events.FrameNavigated, {frame});
147
147
  if (frame.isTopFrame()) {
148
148
  this.dispatchEventToListeners(Events.TopFrameNavigated, {frame});
@@ -151,10 +151,12 @@ export class RemoteObject {
151
151
  return {value: objectAsProtocolRemoteObject.value};
152
152
  }
153
153
 
154
- static async loadFromObjectPerProto(object: RemoteObject, generatePreview: boolean): Promise<GetPropertiesResult> {
154
+ static async loadFromObjectPerProto(
155
+ object: RemoteObject, generatePreview: boolean,
156
+ nonIndexedPropertiesOnly: boolean = false): Promise<GetPropertiesResult> {
155
157
  const result = await Promise.all([
156
- object.getAllProperties(true /* accessorPropertiesOnly */, generatePreview),
157
- object.getOwnProperties(generatePreview),
158
+ object.getAllProperties(true /* accessorPropertiesOnly */, generatePreview, nonIndexedPropertiesOnly),
159
+ object.getOwnProperties(generatePreview, nonIndexedPropertiesOnly),
158
160
  ]);
159
161
  const accessorProperties = result[0].properties;
160
162
  const ownProperties = result[1].properties;
@@ -246,11 +248,12 @@ export class RemoteObject {
246
248
  throw 'Not implemented';
247
249
  }
248
250
 
249
- getOwnProperties(_generatePreview: boolean): Promise<GetPropertiesResult> {
251
+ getOwnProperties(_generatePreview: boolean, _nonIndexedPropertiesOnly?: boolean): Promise<GetPropertiesResult> {
250
252
  throw 'Not implemented';
251
253
  }
252
254
 
253
- getAllProperties(_accessorPropertiesOnly: boolean, _generatePreview: boolean): Promise<GetPropertiesResult> {
255
+ getAllProperties(_accessorPropertiesOnly: boolean, _generatePreview: boolean, _nonIndexedPropertiesOnly?: boolean):
256
+ Promise<GetPropertiesResult> {
254
257
  throw 'Not implemented';
255
258
  }
256
259
 
@@ -409,26 +412,34 @@ export class RemoteObjectImpl extends RemoteObject {
409
412
  return this.classNameInternal;
410
413
  }
411
414
 
412
- getOwnProperties(generatePreview: boolean): Promise<GetPropertiesResult> {
413
- return this.doGetProperties(true, false, generatePreview);
415
+ getOwnProperties(generatePreview: boolean, nonIndexedPropertiesOnly: boolean = false): Promise<GetPropertiesResult> {
416
+ return this.doGetProperties(true, false, nonIndexedPropertiesOnly, generatePreview);
414
417
  }
415
418
 
416
- getAllProperties(accessorPropertiesOnly: boolean, generatePreview: boolean): Promise<GetPropertiesResult> {
417
- return this.doGetProperties(false, accessorPropertiesOnly, generatePreview);
419
+ getAllProperties(
420
+ accessorPropertiesOnly: boolean, generatePreview: boolean,
421
+ nonIndexedPropertiesOnly: boolean = false): Promise<GetPropertiesResult> {
422
+ return this.doGetProperties(false, accessorPropertiesOnly, nonIndexedPropertiesOnly, generatePreview);
418
423
  }
419
424
 
420
425
  async createRemoteObject(object: Protocol.Runtime.RemoteObject): Promise<RemoteObject> {
421
426
  return this.runtimeModelInternal.createRemoteObject(object);
422
427
  }
423
428
 
424
- async doGetProperties(ownProperties: boolean, accessorPropertiesOnly: boolean, generatePreview: boolean):
425
- Promise<GetPropertiesResult> {
429
+ async doGetProperties(
430
+ ownProperties: boolean, accessorPropertiesOnly: boolean, nonIndexedPropertiesOnly: boolean,
431
+ generatePreview: boolean): Promise<GetPropertiesResult> {
426
432
  if (!this.objectIdInternal) {
427
433
  return {properties: null, internalProperties: null} as GetPropertiesResult;
428
434
  }
429
435
 
430
- const response = await this.runtimeAgent.invoke_getProperties(
431
- {objectId: this.objectIdInternal, ownProperties, accessorPropertiesOnly, generatePreview});
436
+ const response = await this.runtimeAgent.invoke_getProperties({
437
+ objectId: this.objectIdInternal,
438
+ ownProperties,
439
+ accessorPropertiesOnly,
440
+ nonIndexedPropertiesOnly,
441
+ generatePreview,
442
+ });
432
443
  if (response.getError()) {
433
444
  return {properties: null, internalProperties: null} as GetPropertiesResult;
434
445
  }
@@ -634,8 +645,8 @@ export class ScopeRemoteObject extends RemoteObjectImpl {
634
645
  return {properties: this.savedScopeProperties.slice(), internalProperties: null};
635
646
  }
636
647
 
637
- const allProperties =
638
- await super.doGetProperties(ownProperties, accessorPropertiesOnly, true /* generatePreview */);
648
+ const allProperties = await super.doGetProperties(
649
+ ownProperties, accessorPropertiesOnly, false /* nonIndexedPropertiesOnly */, true /* generatePreview */);
639
650
  if (this.scopeRef && Array.isArray(allProperties.properties)) {
640
651
  this.savedScopeProperties = allProperties.properties.slice();
641
652
  if (!this.scopeRef.callFrameId) {
@@ -861,15 +872,27 @@ export class LocalJSONObject extends RemoteObject {
861
872
  return Boolean(Object.keys((this.valueInternal as Object)).length);
862
873
  }
863
874
 
864
- async getOwnProperties(_generatePreview: boolean): Promise<GetPropertiesResult> {
865
- return {properties: this.children(), internalProperties: null} as GetPropertiesResult;
875
+ async getOwnProperties(_generatePreview: boolean, nonIndexedPropertiesOnly: boolean = false):
876
+ Promise<GetPropertiesResult> {
877
+ function isArrayIndex(name: string): boolean {
878
+ const index = Number(name) >>> 0;
879
+ return String(index) === name;
880
+ }
881
+
882
+ let properties = this.children();
883
+ if (nonIndexedPropertiesOnly) {
884
+ properties = properties.filter(property => !isArrayIndex(property.name));
885
+ }
886
+ return {properties, internalProperties: null};
866
887
  }
867
888
 
868
- async getAllProperties(accessorPropertiesOnly: boolean, _generatePreview: boolean): Promise<GetPropertiesResult> {
889
+ async getAllProperties(
890
+ accessorPropertiesOnly: boolean, generatePreview: boolean,
891
+ nonIndexedPropertiesOnly: boolean = false): Promise<GetPropertiesResult> {
869
892
  if (accessorPropertiesOnly) {
870
- return {properties: [], internalProperties: null} as GetPropertiesResult;
893
+ return {properties: [], internalProperties: null};
871
894
  }
872
- return {properties: this.children(), internalProperties: null} as GetPropertiesResult;
895
+ return await this.getOwnProperties(generatePreview, nonIndexedPropertiesOnly);
873
896
  }
874
897
 
875
898
  private children(): RemoteObjectProperty[] {
@@ -37,7 +37,7 @@ const str_ = i18n.i18n.registerUIStrings('entrypoints/inspector_main/InspectorMa
37
37
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
38
38
  let inspectorMainImplInstance: InspectorMainImpl;
39
39
 
40
- export class InspectorMainImpl extends Common.ObjectWrapper.ObjectWrapper implements Common.Runnable.Runnable {
40
+ export class InspectorMainImpl implements Common.Runnable.Runnable {
41
41
  static instance(opts: {
42
42
  forceNew: boolean|null,
43
43
  } = {forceNew: null}): InspectorMainImpl {
@@ -20,7 +20,7 @@ const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
20
20
 
21
21
  let jsMainImplInstance: JsMainImpl;
22
22
 
23
- export class JsMainImpl extends Common.ObjectWrapper.ObjectWrapper implements Common.Runnable.Runnable {
23
+ export class JsMainImpl implements Common.Runnable.Runnable {
24
24
  static instance(opts: {forceNew: boolean|null} = {forceNew: null}): JsMainImpl {
25
25
  const {forceNew} = opts;
26
26
  if (!jsMainImplInstance || forceNew) {
@@ -27,7 +27,7 @@ const str_ = i18n.i18n.registerUIStrings('entrypoints/node_main/NodeMain.ts', UI
27
27
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
28
28
  let nodeMainImplInstance: NodeMainImpl;
29
29
 
30
- export class NodeMainImpl extends Common.ObjectWrapper.ObjectWrapper implements Common.Runnable.Runnable {
30
+ export class NodeMainImpl implements Common.Runnable.Runnable {
31
31
  static instance(opts: {forceNew: boolean|null} = {forceNew: null}): NodeMainImpl {
32
32
  const {forceNew} = opts;
33
33
  if (!nodeMainImplInstance || forceNew) {
@@ -20,7 +20,7 @@ const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
20
20
 
21
21
  let workerMainImplInstance: WorkerMainImpl;
22
22
 
23
- export class WorkerMainImpl extends Common.ObjectWrapper.ObjectWrapper implements Common.Runnable.Runnable {
23
+ export class WorkerMainImpl implements Common.Runnable.Runnable {
24
24
  static instance(opts: {
25
25
  forceNew: boolean|null,
26
26
  } = {forceNew: null}): WorkerMainImpl {
@@ -154,3 +154,12 @@ interface ShadowRoot {
154
154
  elementFromPoint(x: number, y: number): Element | null;
155
155
  getSelection(): Selection | null;
156
156
  }
157
+
158
+ interface HTMLDialogElement {
159
+ open: boolean;
160
+ returnValue: string;
161
+
162
+ close(returnValue?: string): void;
163
+ show(): void;
164
+ showModal(): void;
165
+ }
@@ -113,7 +113,7 @@ export class DeviceModeModel extends Common.ObjectWrapper.ObjectWrapper<EventTyp
113
113
  this.appliedDeviceScaleFactorInternal = window.devicePixelRatio;
114
114
  this.appliedUserAgentTypeInternal = UA.Desktop;
115
115
  this.experimentDualScreenSupport = Root.Runtime.experiments.isEnabled('dualScreenSupport');
116
- this.webPlatformExperimentalFeaturesEnabledInternal = Boolean(eval('window.getWindowSegments'));
116
+ this.webPlatformExperimentalFeaturesEnabledInternal = Boolean(eval('"segments" in window.visualViewport'));
117
117
 
118
118
  this.scaleSettingInternal = Common.Settings.Settings.instance().createSetting('emulation.deviceScale', 1);
119
119
  // We've used to allow zero before.
@@ -545,7 +545,7 @@ self.injectedExtensionAPI = function(
545
545
  const id = 'extension-panel-' + extensionServer.nextObjectId();
546
546
  extensionServer.sendRequest(
547
547
  {command: PrivateAPI.Commands.CreatePanel, id, title, page},
548
- callback && callback.bind(this, new (Constructor(ExtensionPanel))(id)));
548
+ callback && ((): unknown => callback.call(this, new (Constructor(ExtensionPanel))(id))));
549
549
  },
550
550
 
551
551
  setOpenResourceHandler: function(
@@ -104,7 +104,10 @@ export class AttributionReportingIssue extends Issue<IssueCode> {
104
104
  links: [],
105
105
  };
106
106
  case IssueCode.AttributionEventSourceTriggerDataTooLarge:
107
- return null;
107
+ return {
108
+ file: 'arAttributionEventSourceTriggerDataTooLarge.md',
109
+ links: [],
110
+ };
108
111
  }
109
112
  }
110
113
 
@@ -0,0 +1,4 @@
1
+ # Ensure the event source trigger data doesn't exceed the 1-bit limit
2
+
3
+ The `event-source-trigger-data` query parameter of an attribution redirect was truncated to the lowest 1 bit, because it was exceeding the limit.
4
+ Replace the `event-source-trigger-data` parameter with an integer that respects the 1-bit limit, that is a number between 0 and 1.
@@ -1075,7 +1075,11 @@ export class TimelineModelImpl {
1075
1075
 
1076
1076
  case RecordType.Paint: {
1077
1077
  this.invalidationTracker.didPaint = true;
1078
- timelineData.backendNodeIds.push(eventData['nodeId']);
1078
+ // With CompositeAfterPaint enabled, paint events are no longer
1079
+ // associated with a Node, and nodeId will not be present.
1080
+ if ('nodeId' in eventData) {
1081
+ timelineData.backendNodeIds.push(eventData['nodeId']);
1082
+ }
1079
1083
  // Only keep layer paint events, skip paints for subframes that get painted to the same layer as parent.
1080
1084
  if (!eventData['layerId']) {
1081
1085
  break;
@@ -508,7 +508,7 @@ export class ApplicationPanelSidebar extends UI.Widget.VBox implements SDK.Targe
508
508
  this.applicationCacheListTreeElement.setExpandable(false);
509
509
  }
510
510
 
511
- private treeElementAdded(event: Common.EventTarget.EventTargetEvent): void {
511
+ private treeElementAdded(event: Common.EventTarget.EventTargetEvent<UI.TreeOutline.TreeElement>): void {
512
512
  // On tree item selection its itemURL and those of its parents are persisted.
513
513
  // On reload/navigation we check for matches starting from the root on the
514
514
  // path to the current element. Matching nodes are expanded until we hit a
@@ -519,14 +519,15 @@ export class ApplicationPanelSidebar extends UI.Widget.VBox implements SDK.Targe
519
519
  return;
520
520
  }
521
521
  const element = event.data;
522
- const elementPath = [element];
523
- for (let parent = element.parent; parent && parent.itemURL; parent = parent.parent) {
524
- elementPath.push(parent);
522
+ const elementPath = [element as UI.TreeOutline.TreeElement | ApplicationPanelTreeElement];
523
+ for (let parent = element.parent as UI.TreeOutline.TreeElement | ApplicationPanelTreeElement | null;
524
+ parent && 'itemURL' in parent && parent.itemURL; parent = parent.parent) {
525
+ elementPath.push(parent as ApplicationPanelTreeElement);
525
526
  }
526
527
 
527
528
  let i = selection.length - 1;
528
529
  let j = elementPath.length - 1;
529
- while (i >= 0 && j >= 0 && selection[i] === elementPath[j].itemURL) {
530
+ while (i >= 0 && j >= 0 && selection[i] === (elementPath[j] as ApplicationPanelTreeElement).itemURL) {
530
531
  if (!elementPath[j].expanded) {
531
532
  if (i > 0) {
532
533
  elementPath[j].expand();
@@ -692,8 +693,8 @@ export class ApplicationPanelSidebar extends UI.Widget.VBox implements SDK.Targe
692
693
  this.panel.showView(view);
693
694
  }
694
695
 
695
- private async updateDatabaseTables(event: Common.EventTarget.EventTargetEvent): Promise<void> {
696
- const database = (event.data as DatabaseModelDatabase);
696
+ private async updateDatabaseTables(event: Common.EventTarget.EventTargetEvent<DatabaseModelDatabase>): Promise<void> {
697
+ const database = event.data;
697
698
 
698
699
  if (!database) {
699
700
  return;
@@ -27,6 +27,7 @@
27
27
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
  */
29
29
 
30
+ import * as Common from '../../core/common/common.js';
30
31
  import * as i18n from '../../core/i18n/i18n.js';
31
32
  import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
32
33
  import * as UI from '../../ui/legacy/legacy.js';
@@ -46,7 +47,8 @@ const UIStrings = {
46
47
  };
47
48
  const str_ = i18n.i18n.registerUIStrings('panels/application/DatabaseQueryView.ts', UIStrings);
48
49
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
49
- export class DatabaseQueryView extends UI.Widget.VBox {
50
+ export class DatabaseQueryView extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.VBox>(
51
+ UI.Widget.VBox) {
50
52
  database: Database;
51
53
  private queryWrapper: HTMLElement;
52
54
  private readonly promptContainer: HTMLElement;
@@ -316,6 +318,10 @@ export enum Events {
316
318
  SchemaUpdated = 'SchemaUpdated',
317
319
  }
318
320
 
321
+ export type EventTypes = {
322
+ [Events.SchemaUpdated]: Database,
323
+ };
324
+
319
325
  export const SQL_BUILT_INS = [
320
326
  'SELECT ',
321
327
  'FROM ',
@@ -517,7 +517,7 @@ export class RequestView extends UI.Widget.VBox {
517
517
  }
518
518
  }
519
519
 
520
- private tabSelected(event: Common.EventTarget.EventTargetEvent): void {
520
+ private tabSelected(event: Common.EventTarget.EventTargetEvent<UI.TabbedPane.EventData>): void {
521
521
  if (!event.data.isUserGesture) {
522
522
  return;
523
523
  }
@@ -22,7 +22,8 @@ const UIStrings = {
22
22
  const str_ = i18n.i18n.registerUIStrings('panels/changes/ChangesSidebar.ts', UIStrings);
23
23
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
24
24
 
25
- export class ChangesSidebar extends UI.Widget.Widget {
25
+ export class ChangesSidebar extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.Widget>(
26
+ UI.Widget.Widget) {
26
27
  private treeoutline: UI.TreeOutline.TreeOutlineInShadow;
27
28
  private readonly treeElements: Map<Workspace.UISourceCode.UISourceCode, UISourceCodeTreeElement>;
28
29
  private readonly workspaceDiff: WorkspaceDiff.WorkspaceDiff.WorkspaceDiffImpl;
@@ -110,6 +111,10 @@ export const enum Events {
110
111
  SelectedUISourceCodeChanged = 'SelectedUISourceCodeChanged',
111
112
  }
112
113
 
114
+ export type EventTypes = {
115
+ [Events.SelectedUISourceCodeChanged]: void,
116
+ };
117
+
113
118
  export class UISourceCodeTreeElement extends UI.TreeOutline.TreeElement {
114
119
  uiSourceCode: Workspace.UISourceCode.UISourceCode;
115
120
  private readonly eventListeners: Common.EventTarget.EventDescriptor[];
@@ -22,7 +22,8 @@ const UIStrings = {
22
22
  };
23
23
  const str_ = i18n.i18n.registerUIStrings('panels/console/ConsolePrompt.ts', UIStrings);
24
24
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
25
- export class ConsolePrompt extends UI.Widget.Widget {
25
+ export class ConsolePrompt extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.Widget>(
26
+ UI.Widget.Widget) {
26
27
  private addCompletionsFromHistory: boolean;
27
28
  private historyInternal: ConsoleHistoryManager;
28
29
  private initialText: string;
@@ -455,3 +456,7 @@ export class ConsoleHistoryManager {
455
456
  export const enum Events {
456
457
  TextChanged = 'TextChanged',
457
458
  }
459
+
460
+ export type EventTypes = {
461
+ [Events.TextChanged]: void,
462
+ };