chrome-devtools-frontend 1.0.943986 → 1.0.945579

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 (335) hide show
  1. package/config/gni/devtools_grd_files.gni +4 -0
  2. package/config/gni/devtools_image_files.gni +1 -0
  3. package/front_end/Images/src/circled_exclamation_icon.svg +3 -0
  4. package/front_end/core/common/ParsedURL.ts +1 -1
  5. package/front_end/core/host/UserMetrics.ts +2 -1
  6. package/front_end/core/i18n/i18nImpl.ts +7 -4
  7. package/front_end/core/i18n/locales/en-US.json +3 -72
  8. package/front_end/core/i18n/locales/en-XL.json +15 -84
  9. package/front_end/core/protocol_client/NodeURL.ts +1 -0
  10. package/front_end/core/sdk/CSSMetadata.ts +0 -1
  11. package/front_end/core/sdk/CSSStyleDeclaration.ts +4 -0
  12. package/front_end/core/sdk/CSSStyleSheetHeader.ts +2 -3
  13. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -3
  14. package/front_end/core/sdk/Cookie.ts +17 -0
  15. package/front_end/core/sdk/CookieModel.ts +1 -0
  16. package/front_end/core/sdk/DebuggerModel.ts +5 -4
  17. package/front_end/core/sdk/NetworkManager.ts +4 -1
  18. package/front_end/core/sdk/NetworkRequest.ts +2 -2
  19. package/front_end/core/sdk/OverlayModel.ts +0 -9
  20. package/front_end/core/sdk/Resource.ts +2 -2
  21. package/front_end/core/sdk/Script.ts +2 -3
  22. package/front_end/core/sdk/sdk-meta.ts +0 -26
  23. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +0 -13
  24. package/front_end/entrypoints/main/MainImpl.ts +4 -0
  25. package/front_end/generated/protocol.d.ts +0 -4
  26. package/front_end/models/bindings/BreakpointManager.ts +3 -4
  27. package/front_end/models/bindings/ResourceMapping.ts +1 -2
  28. package/front_end/models/bindings/StylesSourceMapping.ts +1 -2
  29. package/front_end/models/emulation/EmulatedDevices.ts +2 -4
  30. package/front_end/models/persistence/IsolatedFileSystem.ts +7 -6
  31. package/front_end/models/persistence/PersistenceActions.ts +4 -1
  32. package/front_end/models/persistence/PlatformFileSystem.ts +3 -4
  33. package/front_end/models/text_utils/ContentProvider.ts +1 -2
  34. package/front_end/models/text_utils/StaticContentProvider.ts +2 -3
  35. package/front_end/models/workspace/UISourceCode.ts +2 -2
  36. package/front_end/models/workspace_diff/WorkspaceDiff.ts +20 -6
  37. package/front_end/panels/animation/animationTimeline.css +2 -0
  38. package/front_end/panels/application/BackForwardCacheStrings.ts +15 -75
  39. package/front_end/panels/application/BackForwardCacheView.ts +8 -1
  40. package/front_end/panels/application/ReportingApiView.ts +15 -1
  41. package/front_end/panels/application/components/EndpointsGrid.ts +63 -4
  42. package/front_end/panels/application/components/FrameDetailsView.ts +21 -34
  43. package/front_end/panels/changes/ChangesView.ts +8 -7
  44. package/front_end/panels/console/ConsolePinPane.ts +1 -0
  45. package/front_end/panels/console/ConsolePrompt.ts +121 -171
  46. package/front_end/panels/console/ConsoleView.ts +1 -1
  47. package/front_end/panels/console/consoleView.css +1 -1
  48. package/front_end/panels/css_overview/cssOverviewCompletedView.css +2 -2
  49. package/front_end/panels/elements/AccessibilityTreeUtils.ts +2 -1
  50. package/front_end/panels/elements/ElementsTreeElement.ts +1 -0
  51. package/front_end/panels/elements/StyleEditorWidget.ts +13 -2
  52. package/front_end/panels/elements/StylePropertyHighlighter.ts +29 -19
  53. package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -12
  54. package/front_end/panels/elements/StylesSidebarPane.ts +36 -10
  55. package/front_end/panels/elements/components/AccessibilityTreeNode.ts +27 -3
  56. package/front_end/panels/emulation/DeviceModeView.ts +3 -0
  57. package/front_end/panels/help/ReleaseNoteText.ts +3 -1
  58. package/front_end/panels/network/NetworkDataGridNode.ts +5 -1
  59. package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +1 -1
  60. package/front_end/panels/sources/BreakpointEditDialog.ts +1 -0
  61. package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
  62. package/front_end/panels/sources/NavigatorView.ts +1 -1
  63. package/front_end/panels/sources/UISourceCodeFrame.ts +0 -1
  64. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -34
  65. package/front_end/panels/timeline/TimelineUIUtils.ts +51 -3
  66. package/front_end/services/window_bounds/WindowBoundsService.ts +27 -0
  67. package/front_end/services/window_bounds/window_bounds.ts +9 -0
  68. package/front_end/third_party/acorn/README.chromium +2 -2
  69. package/front_end/third_party/acorn/acorn.ts +1 -1
  70. package/front_end/third_party/acorn/package/CHANGELOG.md +31 -1
  71. package/front_end/third_party/acorn/package/README.md +1 -1
  72. package/front_end/third_party/acorn/package/dist/acorn.d.ts +3 -0
  73. package/front_end/third_party/acorn/package/dist/acorn.js +772 -708
  74. package/front_end/third_party/acorn/package/dist/acorn.mjs +767 -703
  75. package/front_end/third_party/acorn/package/dist/bin.js +47 -21
  76. package/front_end/third_party/acorn/package/package.json +1 -1
  77. package/front_end/third_party/acorn-loose/README.chromium +2 -2
  78. package/front_end/third_party/acorn-loose/package/CHANGELOG.md +12 -0
  79. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.js +27 -7
  80. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs +28 -8
  81. package/front_end/third_party/acorn-loose/package/package.json +2 -2
  82. package/front_end/third_party/codemirror.next/bundle.ts +4 -3
  83. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  84. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +39 -1
  85. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  86. package/front_end/third_party/codemirror.next/package.json +4 -4
  87. package/front_end/third_party/i18n/i18n-impl.ts +1 -1
  88. package/front_end/third_party/lit-html/README.chromium +2 -2
  89. package/front_end/third_party/lit-html/package/CHANGELOG.md +216 -28
  90. package/front_end/third_party/lit-html/package/LICENSE +9 -9
  91. package/front_end/third_party/lit-html/package/README.md +12 -162
  92. package/front_end/third_party/lit-html/package/async-directive.d.ts +23 -54
  93. package/front_end/third_party/lit-html/package/async-directive.d.ts.map +1 -1
  94. package/front_end/third_party/lit-html/package/async-directive.js +2 -7
  95. package/front_end/third_party/lit-html/package/async-directive.js.map +1 -1
  96. package/front_end/third_party/lit-html/package/development/async-directive.d.ts +23 -54
  97. package/front_end/third_party/lit-html/package/development/async-directive.d.ts.map +1 -1
  98. package/front_end/third_party/lit-html/package/development/async-directive.js +44 -194
  99. package/front_end/third_party/lit-html/package/development/async-directive.js.map +1 -1
  100. package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts +6 -5
  101. package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts.map +1 -1
  102. package/front_end/third_party/lit-html/package/development/directive-helpers.js +25 -9
  103. package/front_end/third_party/lit-html/package/development/directive-helpers.js.map +1 -1
  104. package/front_end/third_party/lit-html/package/development/directive.d.ts +3 -16
  105. package/front_end/third_party/lit-html/package/development/directive.d.ts.map +1 -1
  106. package/front_end/third_party/lit-html/package/development/directive.js +6 -1
  107. package/front_end/third_party/lit-html/package/development/directive.js.map +1 -1
  108. package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts +7 -14
  109. package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts.map +1 -1
  110. package/front_end/third_party/lit-html/package/development/directives/async-append.js +17 -58
  111. package/front_end/third_party/lit-html/package/development/directives/async-append.js.map +1 -1
  112. package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts +9 -14
  113. package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts.map +1 -1
  114. package/front_end/third_party/lit-html/package/development/directives/async-replace.js +57 -37
  115. package/front_end/third_party/lit-html/package/development/directives/async-replace.js.map +1 -1
  116. package/front_end/third_party/lit-html/package/development/directives/cache.d.ts +2 -3
  117. package/front_end/third_party/lit-html/package/development/directives/cache.d.ts.map +1 -1
  118. package/front_end/third_party/lit-html/package/development/directives/cache.js +4 -6
  119. package/front_end/third_party/lit-html/package/development/directives/cache.js.map +1 -1
  120. package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts +2 -2
  121. package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts.map +1 -1
  122. package/front_end/third_party/lit-html/package/development/directives/class-map.js +17 -7
  123. package/front_end/third_party/lit-html/package/development/directives/class-map.js.map +1 -1
  124. package/front_end/third_party/lit-html/package/development/directives/guard.d.ts +3 -2
  125. package/front_end/third_party/lit-html/package/development/directives/guard.d.ts.map +1 -1
  126. package/front_end/third_party/lit-html/package/development/directives/guard.js +3 -2
  127. package/front_end/third_party/lit-html/package/development/directives/guard.js.map +1 -1
  128. package/front_end/third_party/lit-html/package/development/directives/live.d.ts +4 -3
  129. package/front_end/third_party/lit-html/package/development/directives/live.d.ts.map +1 -1
  130. package/front_end/third_party/lit-html/package/development/directives/live.js +5 -7
  131. package/front_end/third_party/lit-html/package/development/directives/live.js.map +1 -1
  132. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts +58 -0
  133. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts.map +1 -0
  134. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js +85 -0
  135. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js.map +1 -0
  136. package/front_end/third_party/lit-html/package/development/directives/ref.d.ts +14 -11
  137. package/front_end/third_party/lit-html/package/development/directives/ref.d.ts.map +1 -1
  138. package/front_end/third_party/lit-html/package/development/directives/ref.js +13 -11
  139. package/front_end/third_party/lit-html/package/development/directives/ref.js.map +1 -1
  140. package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts +8 -4
  141. package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts.map +1 -1
  142. package/front_end/third_party/lit-html/package/development/directives/repeat.js +23 -9
  143. package/front_end/third_party/lit-html/package/development/directives/repeat.js.map +1 -1
  144. package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts +1 -2
  145. package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts.map +1 -1
  146. package/front_end/third_party/lit-html/package/development/directives/style-map.js +1 -2
  147. package/front_end/third_party/lit-html/package/development/directives/style-map.js.map +1 -1
  148. package/front_end/third_party/lit-html/package/development/directives/template-content.d.ts +1 -2
  149. package/front_end/third_party/lit-html/package/development/directives/template-content.js +1 -2
  150. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts +6 -4
  151. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts.map +1 -1
  152. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js +7 -5
  153. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js.map +1 -1
  154. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts +4 -1
  155. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts.map +1 -1
  156. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js +3 -0
  157. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js.map +1 -1
  158. package/front_end/third_party/lit-html/package/development/directives/until.d.ts +12 -8
  159. package/front_end/third_party/lit-html/package/development/directives/until.d.ts.map +1 -1
  160. package/front_end/third_party/lit-html/package/development/directives/until.js +63 -23
  161. package/front_end/third_party/lit-html/package/development/directives/until.js.map +1 -1
  162. package/front_end/third_party/lit-html/package/development/experimental-hydrate.d.ts.map +1 -1
  163. package/front_end/third_party/lit-html/package/development/experimental-hydrate.js +9 -8
  164. package/front_end/third_party/lit-html/package/development/experimental-hydrate.js.map +1 -1
  165. package/front_end/third_party/lit-html/package/development/lit-html.d.ts +81 -136
  166. package/front_end/third_party/lit-html/package/development/lit-html.d.ts.map +1 -1
  167. package/front_end/third_party/lit-html/package/development/lit-html.js +249 -76
  168. package/front_end/third_party/lit-html/package/development/lit-html.js.map +1 -1
  169. package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts +1 -41
  170. package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts.map +1 -1
  171. package/front_end/third_party/lit-html/package/development/polyfill-support.js +40 -21
  172. package/front_end/third_party/lit-html/package/development/polyfill-support.js.map +1 -1
  173. package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts +12 -10
  174. package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts.map +1 -1
  175. package/front_end/third_party/lit-html/package/development/private-ssr-support.js +11 -3
  176. package/front_end/third_party/lit-html/package/development/private-ssr-support.js.map +1 -1
  177. package/front_end/third_party/lit-html/package/development/static.d.ts.map +1 -1
  178. package/front_end/third_party/lit-html/package/development/static.js +6 -5
  179. package/front_end/third_party/lit-html/package/development/static.js.map +1 -1
  180. package/front_end/third_party/lit-html/package/directive-helpers.d.ts +6 -5
  181. package/front_end/third_party/lit-html/package/directive-helpers.d.ts.map +1 -1
  182. package/front_end/third_party/lit-html/package/directive-helpers.js +2 -2
  183. package/front_end/third_party/lit-html/package/directive-helpers.js.map +1 -1
  184. package/front_end/third_party/lit-html/package/directive.d.ts +3 -16
  185. package/front_end/third_party/lit-html/package/directive.d.ts.map +1 -1
  186. package/front_end/third_party/lit-html/package/directive.js +1 -1
  187. package/front_end/third_party/lit-html/package/directive.js.map +1 -1
  188. package/front_end/third_party/lit-html/package/directives/async-append.d.ts +7 -14
  189. package/front_end/third_party/lit-html/package/directives/async-append.d.ts.map +1 -1
  190. package/front_end/third_party/lit-html/package/directives/async-append.js +2 -6
  191. package/front_end/third_party/lit-html/package/directives/async-append.js.map +1 -1
  192. package/front_end/third_party/lit-html/package/directives/async-replace.d.ts +9 -14
  193. package/front_end/third_party/lit-html/package/directives/async-replace.d.ts.map +1 -1
  194. package/front_end/third_party/lit-html/package/directives/async-replace.js +2 -5
  195. package/front_end/third_party/lit-html/package/directives/async-replace.js.map +1 -1
  196. package/front_end/third_party/lit-html/package/directives/cache.d.ts +2 -3
  197. package/front_end/third_party/lit-html/package/directives/cache.d.ts.map +1 -1
  198. package/front_end/third_party/lit-html/package/directives/cache.js +2 -5
  199. package/front_end/third_party/lit-html/package/directives/cache.js.map +1 -1
  200. package/front_end/third_party/lit-html/package/directives/class-map.d.ts +2 -2
  201. package/front_end/third_party/lit-html/package/directives/class-map.d.ts.map +1 -1
  202. package/front_end/third_party/lit-html/package/directives/class-map.js +2 -4
  203. package/front_end/third_party/lit-html/package/directives/class-map.js.map +1 -1
  204. package/front_end/third_party/lit-html/package/directives/guard.d.ts +3 -2
  205. package/front_end/third_party/lit-html/package/directives/guard.d.ts.map +1 -1
  206. package/front_end/third_party/lit-html/package/directives/guard.js +2 -4
  207. package/front_end/third_party/lit-html/package/directives/guard.js.map +1 -1
  208. package/front_end/third_party/lit-html/package/directives/live.d.ts +4 -3
  209. package/front_end/third_party/lit-html/package/directives/live.d.ts.map +1 -1
  210. package/front_end/third_party/lit-html/package/directives/live.js +1 -4
  211. package/front_end/third_party/lit-html/package/directives/live.js.map +1 -1
  212. package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts +58 -0
  213. package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts.map +1 -0
  214. package/front_end/third_party/lit-html/package/directives/private-async-helpers.js +7 -0
  215. package/front_end/third_party/lit-html/package/directives/private-async-helpers.js.map +1 -0
  216. package/front_end/third_party/lit-html/package/directives/ref.d.ts +14 -11
  217. package/front_end/third_party/lit-html/package/directives/ref.d.ts.map +1 -1
  218. package/front_end/third_party/lit-html/package/directives/ref.js +2 -5
  219. package/front_end/third_party/lit-html/package/directives/ref.js.map +1 -1
  220. package/front_end/third_party/lit-html/package/directives/repeat.d.ts +8 -4
  221. package/front_end/third_party/lit-html/package/directives/repeat.d.ts.map +1 -1
  222. package/front_end/third_party/lit-html/package/directives/repeat.js +2 -5
  223. package/front_end/third_party/lit-html/package/directives/repeat.js.map +1 -1
  224. package/front_end/third_party/lit-html/package/directives/style-map.d.ts +1 -2
  225. package/front_end/third_party/lit-html/package/directives/style-map.d.ts.map +1 -1
  226. package/front_end/third_party/lit-html/package/directives/style-map.js +2 -4
  227. package/front_end/third_party/lit-html/package/directives/style-map.js.map +1 -1
  228. package/front_end/third_party/lit-html/package/directives/template-content.d.ts +1 -2
  229. package/front_end/third_party/lit-html/package/directives/template-content.js +2 -4
  230. package/front_end/third_party/lit-html/package/directives/template-content.js.map +1 -1
  231. package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts +6 -4
  232. package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts.map +1 -1
  233. package/front_end/third_party/lit-html/package/directives/unsafe-html.js +2 -4
  234. package/front_end/third_party/lit-html/package/directives/unsafe-html.js.map +1 -1
  235. package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts +4 -1
  236. package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts.map +1 -1
  237. package/front_end/third_party/lit-html/package/directives/unsafe-svg.js.map +1 -1
  238. package/front_end/third_party/lit-html/package/directives/until.d.ts +12 -8
  239. package/front_end/third_party/lit-html/package/directives/until.d.ts.map +1 -1
  240. package/front_end/third_party/lit-html/package/directives/until.js +2 -6
  241. package/front_end/third_party/lit-html/package/directives/until.js.map +1 -1
  242. package/front_end/third_party/lit-html/package/experimental-hydrate.d.ts.map +1 -1
  243. package/front_end/third_party/lit-html/package/experimental-hydrate.js +2 -5
  244. package/front_end/third_party/lit-html/package/experimental-hydrate.js.map +1 -1
  245. package/front_end/third_party/lit-html/package/lit-html.d.ts +81 -136
  246. package/front_end/third_party/lit-html/package/lit-html.d.ts.map +1 -1
  247. package/front_end/third_party/lit-html/package/lit-html.js +1 -1
  248. package/front_end/third_party/lit-html/package/lit-html.js.map +1 -1
  249. package/front_end/third_party/lit-html/package/package.json +75 -24
  250. package/front_end/third_party/lit-html/package/polyfill-support.d.ts +1 -41
  251. package/front_end/third_party/lit-html/package/polyfill-support.d.ts.map +1 -1
  252. package/front_end/third_party/lit-html/package/polyfill-support.js +1 -1
  253. package/front_end/third_party/lit-html/package/polyfill-support.js.map +1 -1
  254. package/front_end/third_party/lit-html/package/private-ssr-support.d.ts +12 -10
  255. package/front_end/third_party/lit-html/package/private-ssr-support.d.ts.map +1 -1
  256. package/front_end/third_party/lit-html/package/private-ssr-support.js +2 -2
  257. package/front_end/third_party/lit-html/package/private-ssr-support.js.map +1 -1
  258. package/front_end/third_party/lit-html/package/static.d.ts.map +1 -1
  259. package/front_end/third_party/lit-html/package/static.js +1 -1
  260. package/front_end/third_party/lit-html/package/static.js.map +1 -1
  261. package/front_end/third_party/marked/README.chromium +2 -2
  262. package/front_end/third_party/marked/marked.ts +2 -2
  263. package/front_end/third_party/marked/package/README.md +7 -1
  264. package/front_end/third_party/marked/package/bin/marked.js +214 -0
  265. package/front_end/third_party/marked/package/lib/marked.cjs +2907 -0
  266. package/front_end/third_party/marked/package/lib/marked.esm.d.ts +1 -3
  267. package/front_end/third_party/marked/package/lib/marked.esm.js +627 -586
  268. package/front_end/third_party/marked/package/lib/marked.umd.js +2913 -0
  269. package/front_end/third_party/marked/package/man/marked.1 +5 -24
  270. package/front_end/third_party/marked/package/man/marked.1.txt +21 -31
  271. package/front_end/third_party/marked/package/marked.min.js +1 -1
  272. package/front_end/third_party/marked/package/package.json +41 -32
  273. package/front_end/third_party/marked/package/src/Lexer.js +109 -108
  274. package/front_end/third_party/marked/package/src/Parser.js +38 -15
  275. package/front_end/third_party/marked/package/src/Renderer.js +5 -5
  276. package/front_end/third_party/marked/package/src/Slugger.js +2 -2
  277. package/front_end/third_party/marked/package/src/TextRenderer.js +2 -2
  278. package/front_end/third_party/marked/package/src/Tokenizer.js +215 -190
  279. package/front_end/third_party/marked/package/src/defaults.js +6 -9
  280. package/front_end/third_party/marked/package/src/helpers.js +16 -27
  281. package/front_end/third_party/marked/package/src/marked.js +146 -63
  282. package/front_end/third_party/marked/package/src/rules.js +20 -45
  283. package/front_end/third_party/wasmparser/README.chromium +2 -2
  284. package/front_end/third_party/wasmparser/package/.github/workflows/main.yml +47 -0
  285. package/front_end/third_party/wasmparser/package/CHANGELOG.md +12 -0
  286. package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js +53 -53
  287. package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js.map +1 -1
  288. package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js +53 -53
  289. package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js.map +1 -1
  290. package/front_end/third_party/wasmparser/package/package.json +1 -1
  291. package/front_end/third_party/wasmparser/package/src/WasmParser.ts +53 -53
  292. package/front_end/ui/components/adorners/Adorner.ts +14 -14
  293. package/front_end/ui/components/buttons/Button.ts +116 -42
  294. package/front_end/ui/components/data_grid/DataGrid.ts +122 -122
  295. package/front_end/ui/components/data_grid/DataGridController.ts +42 -42
  296. package/front_end/ui/components/diff_view/DiffView.ts +4 -4
  297. package/front_end/ui/components/docs/button/basic.html +3 -0
  298. package/front_end/ui/components/docs/button/basic.ts +16 -0
  299. package/front_end/ui/components/expandable_list/ExpandableList.ts +11 -11
  300. package/front_end/ui/components/icon_button/Icon.ts +24 -21
  301. package/front_end/ui/components/icon_button/IconButton.ts +31 -31
  302. package/front_end/ui/components/issue_counter/IssueCounter.ts +52 -52
  303. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +42 -42
  304. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +67 -67
  305. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +22 -22
  306. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +36 -36
  307. package/front_end/ui/components/linear_memory_inspector/LinearMemoryNavigator.ts +19 -19
  308. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +25 -25
  309. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +52 -52
  310. package/front_end/ui/components/linear_memory_inspector/ValueInterpreterDisplay.ts +21 -21
  311. package/front_end/ui/components/linear_memory_inspector/ValueInterpreterSettings.ts +6 -6
  312. package/front_end/ui/components/markdown_view/MarkdownImage.ts +14 -14
  313. package/front_end/ui/components/markdown_view/MarkdownLink.ts +8 -8
  314. package/front_end/ui/components/markdown_view/MarkdownView.ts +6 -6
  315. package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +33 -33
  316. package/front_end/ui/components/report_view/ReportView.ts +18 -18
  317. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +53 -53
  318. package/front_end/ui/components/settings/SettingCheckbox.ts +15 -15
  319. package/front_end/ui/components/survey_link/SurveyLink.ts +28 -28
  320. package/front_end/ui/components/text_editor/TextEditor.ts +65 -36
  321. package/front_end/ui/components/text_editor/config.ts +36 -14
  322. package/front_end/ui/components/text_editor/javascript.ts +20 -15
  323. package/front_end/ui/components/text_editor/theme.ts +29 -4
  324. package/front_end/ui/components/text_prompt/TextPrompt.ts +19 -19
  325. package/front_end/ui/components/tree_outline/TreeOutline.ts +56 -56
  326. package/front_end/ui/legacy/Infobar.ts +9 -0
  327. package/front_end/ui/legacy/InspectorView.ts +1 -1
  328. package/front_end/ui/legacy/ViewManager.ts +6 -0
  329. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +20 -0
  330. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +1 -0
  331. package/front_end/ui/legacy/components/utils/Linkifier.ts +49 -79
  332. package/front_end/ui/legacy/tabbedPane.css +1 -1
  333. package/front_end/ui/legacy/themeColors.css +2 -0
  334. package/inspector_overlay/main.ts +3 -0
  335. package/package.json +1 -1
@@ -103,6 +103,10 @@ const UIStrings = {
103
103
  * @example {9001628746521180} seconds
104
104
  */
105
105
  timeAfterTooltip: 'The expiration timestamp is {seconds}, which corresponds to a date after {date}',
106
+ /**
107
+ * @description Text to be show in the Partition Key column in case it is an opaque origin.
108
+ */
109
+ opaquePartitionKey: '(opaque)',
106
110
  };
107
111
  const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/cookie_table/CookiesTable.ts', UIStrings);
108
112
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -215,6 +219,13 @@ export class CookiesTable extends UI.Widget.VBox {
215
219
  dataType: DataGrid.DataGrid.DataType.Boolean,
216
220
  editable: editable,
217
221
  },
222
+ {
223
+ id: SDK.Cookie.Attributes.PartitionKey,
224
+ title: 'Partition Key',
225
+ sortable: true,
226
+ weight: 7,
227
+ editable: editable,
228
+ },
218
229
  {
219
230
  id: SDK.Cookie.Attributes.Priority,
220
231
  title: 'Priority',
@@ -462,6 +473,8 @@ export class CookiesTable extends UI.Widget.VBox {
462
473
  return String(cookie.sameSite());
463
474
  case SDK.Cookie.Attributes.SameParty:
464
475
  return String(cookie.sameParty());
476
+ case SDK.Cookie.Attributes.PartitionKey:
477
+ return cookie.partitionKeyOpaque() ? i18nString(UIStrings.opaquePartitionKey) : String(cookie.partitionKey());
465
478
  case SDK.Cookie.Attributes.SourceScheme:
466
479
  return String(cookie.sourceScheme());
467
480
  default:
@@ -570,6 +583,7 @@ export class CookiesTable extends UI.Widget.VBox {
570
583
  data[SDK.Cookie.Attributes.SourcePort] = cookie.sourcePort();
571
584
  data[SDK.Cookie.Attributes.SourceScheme] = cookie.sourceScheme();
572
585
  data[SDK.Cookie.Attributes.Priority] = cookie.priority() || '';
586
+ data[SDK.Cookie.Attributes.PartitionKey] = cookie.partitionKey() || '';
573
587
 
574
588
  const blockedReasons = this.cookieToBlockedReasons?.get(cookie);
575
589
  const node = new DataGridNode(data, cookie, blockedReasons || null);
@@ -613,6 +627,9 @@ export class CookiesTable extends UI.Widget.VBox {
613
627
  if (node.data[SDK.Cookie.Attributes.Expires] === null) {
614
628
  node.data[SDK.Cookie.Attributes.Expires] = expiresSessionValue();
615
629
  }
630
+ if (node.data[SDK.Cookie.Attributes.PartitionKey] === null) {
631
+ node.data[SDK.Cookie.Attributes.PartitionKey] = '';
632
+ }
616
633
  }
617
634
 
618
635
  private saveNode(node: DataGridNode): void {
@@ -660,6 +677,9 @@ export class CookiesTable extends UI.Widget.VBox {
660
677
  cookie.addAttribute(
661
678
  SDK.Cookie.Attributes.SourcePort, Number.parseInt(data[SDK.Cookie.Attributes.SourcePort], 10) || undefined);
662
679
  }
680
+ if (SDK.Cookie.Attributes.PartitionKey in data) {
681
+ cookie.addAttribute(SDK.Cookie.Attributes.PartitionKey, data[SDK.Cookie.Attributes.PartitionKey]);
682
+ }
663
683
  cookie.setSize(data[SDK.Cookie.Attributes.Name].length + data[SDK.Cookie.Attributes.Value].length);
664
684
  return cookie;
665
685
  }
@@ -206,6 +206,7 @@ export class SourceFrameImpl extends Common.ObjectWrapper.eventMixin<EventTypes,
206
206
  return [
207
207
  CodeMirror.EditorView.updateListener.of(update => this.dispatchEventToListeners(Events.EditorUpdate, update)),
208
208
  TextEditor.Config.baseConfiguration(doc),
209
+ TextEditor.Config.closeBrackets,
209
210
  TextEditor.Config.sourcesAutocompletion.instance(),
210
211
  TextEditor.Config.showWhitespace.instance(),
211
212
  TextEditor.Config.allowScrollPastEof.instance(),
@@ -184,17 +184,9 @@ export class Linkifier implements SDK.TargetManager.Observer {
184
184
  }
185
185
  info.liveLocation = null;
186
186
  Linkifier.unbindUILocation(anchor);
187
- const fallback = (info.fallback as HTMLElement | null);
187
+ const fallback = info.fallback;
188
188
  if (fallback) {
189
- // @ts-ignore
190
- anchor.href = fallback.href;
191
- UI.Tooltip.Tooltip.install(anchor, fallback.title);
192
- anchor.className = fallback.className;
193
- anchor.textContent = fallback.textContent;
194
- const fallbackInfo = infoByAnchor.get(fallback);
195
- if (fallbackInfo) {
196
- infoByAnchor.set(anchor, fallbackInfo);
197
- }
189
+ anchor.replaceWith(fallback);
198
190
  }
199
191
  }
200
192
  }
@@ -249,15 +241,11 @@ export class Linkifier implements SDK.TargetManager.Observer {
249
241
  // Not initialising the anchor element with 'zero width space' (\u200b) causes a crash
250
242
  // in the layout engine.
251
243
  // TODO(szuend): Remove comment and workaround once the crash is fixed.
252
- const anchor = Linkifier.createLink(
244
+ const {link, linkInfo} = Linkifier.createLink(
253
245
  fallbackAnchor && fallbackAnchor.textContent ? fallbackAnchor.textContent : '\u200b', className,
254
246
  createLinkOptions);
255
- const info = Linkifier.linkInfo(anchor);
256
- if (!info) {
257
- return fallbackAnchor;
258
- }
259
- info.enableDecorator = this.useLinkDecorator;
260
- info.fallback = fallbackAnchor;
247
+ linkInfo.enableDecorator = this.useLinkDecorator;
248
+ linkInfo.fallback = fallbackAnchor;
261
249
 
262
250
  const pool = this.locationPoolByTarget.get(rawLocation.debuggerModel.target());
263
251
  if (!pool) {
@@ -268,10 +256,10 @@ export class Linkifier implements SDK.TargetManager.Observer {
268
256
 
269
257
  const currentOnLiveLocationUpdate = this.onLiveLocationUpdate;
270
258
  Bindings.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding.instance()
271
- .createLiveLocation(rawLocation, this.updateAnchor.bind(this, anchor, linkDisplayOptions), pool)
259
+ .createLiveLocation(rawLocation, this.updateAnchor.bind(this, link, linkDisplayOptions), pool)
272
260
  .then(liveLocation => {
273
261
  if (liveLocation) {
274
- info.liveLocation = liveLocation;
262
+ linkInfo.liveLocation = liveLocation;
275
263
  // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
276
264
  // @ts-expect-error
277
265
  currentOnLiveLocationUpdate();
@@ -279,8 +267,8 @@ export class Linkifier implements SDK.TargetManager.Observer {
279
267
  });
280
268
 
281
269
  const anchors = (this.anchorsByTarget.get(rawLocation.debuggerModel.target()) as Element[]);
282
- anchors.push(anchor);
283
- return anchor;
270
+ anchors.push(link);
271
+ return link;
284
272
  }
285
273
 
286
274
  linkifyScriptLocation(
@@ -327,68 +315,61 @@ export class Linkifier implements SDK.TargetManager.Observer {
327
315
  target, callFrame.scriptId, callFrame.url, callFrame.lineNumber, linkifyOptions);
328
316
  }
329
317
 
330
- linkifyStackTraceTopFrame(target: SDK.Target.Target, stackTrace: Protocol.Runtime.StackTrace, classes?: string):
318
+ linkifyStackTraceTopFrame(target: SDK.Target.Target, stackTrace: Protocol.Runtime.StackTrace, className?: string):
331
319
  HTMLElement {
332
- console.assert(Boolean(stackTrace.callFrames) && Boolean(stackTrace.callFrames.length));
320
+ console.assert(stackTrace.callFrames.length > 0);
333
321
 
334
- const topFrame = stackTrace.callFrames[0];
335
- const fallbackAnchor = Linkifier.linkifyURL(topFrame.url, {
336
- className: classes,
337
- lineNumber: topFrame.lineNumber,
338
- columnNumber: topFrame.columnNumber,
322
+ const {url, lineNumber, columnNumber} = stackTrace.callFrames[0];
323
+ const fallbackAnchor = Linkifier.linkifyURL(url, {
324
+ className,
325
+ lineNumber,
326
+ columnNumber,
339
327
  showColumnNumber: false,
340
328
  inlineFrameIndex: 0,
341
329
  maxLength: this.maxLength,
342
330
  text: undefined,
343
- preventClick: undefined,
331
+ preventClick: true,
344
332
  tabStop: undefined,
345
333
  bypassURLTrimming: undefined,
346
334
  });
347
- if (target.isDisposed()) {
348
- return fallbackAnchor;
349
- }
350
335
 
351
- const debuggerModel = target.model(SDK.DebuggerModel.DebuggerModel);
352
- if (!debuggerModel) {
353
- return fallbackAnchor;
354
- }
355
- const rawLocations = debuggerModel.createRawLocationsByStackTrace(stackTrace);
356
- if (rawLocations.length === 0) {
336
+ // The contract is that disposed targets don't have a LiveLocationPool
337
+ // associated, whereas all active targets have one such pool. This ensures
338
+ // that the fallbackAnchor is only ever used when the target was disposed.
339
+ const pool = this.locationPoolByTarget.get(target);
340
+ if (!pool) {
341
+ console.assert(target.isDisposed());
357
342
  return fallbackAnchor;
358
343
  }
344
+ console.assert(!target.isDisposed());
345
+
346
+ // All targets that can report stack traces also have a debugger model.
347
+ const debuggerModel = target.model(SDK.DebuggerModel.DebuggerModel) as SDK.DebuggerModel.DebuggerModel;
359
348
 
360
349
  // Not initialising the anchor element with 'zero width space' (\u200b) causes a crash
361
350
  // in the layout engine.
362
351
  // TODO(szuend): Remove comment and workaround once the crash is fixed.
363
- const anchor = Linkifier.createLink('\u200b', classes || '');
364
- const info = Linkifier.linkInfo(anchor);
365
- if (!info) {
366
- return fallbackAnchor;
367
- }
368
- info.enableDecorator = this.useLinkDecorator;
369
- info.fallback = fallbackAnchor;
370
-
371
- const pool = this.locationPoolByTarget.get(target);
372
- if (!pool) {
373
- return fallbackAnchor;
374
- }
352
+ const {link, linkInfo} = Linkifier.createLink('\u200b', className ?? '');
353
+ linkInfo.enableDecorator = this.useLinkDecorator;
354
+ linkInfo.fallback = fallbackAnchor;
375
355
 
376
356
  const linkDisplayOptions = {showColumnNumber: false};
377
357
 
378
358
  const currentOnLiveLocationUpdate = this.onLiveLocationUpdate;
379
359
  Bindings.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding.instance()
380
360
  .createStackTraceTopFrameLiveLocation(
381
- rawLocations, this.updateAnchor.bind(this, anchor, linkDisplayOptions), pool)
361
+ debuggerModel.createRawLocationsByStackTrace(stackTrace),
362
+ this.updateAnchor.bind(this, link, linkDisplayOptions), pool)
382
363
  .then(liveLocation => {
383
- info.liveLocation = liveLocation;
364
+ linkInfo.liveLocation = liveLocation;
384
365
  // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
385
366
  // @ts-expect-error
386
367
  currentOnLiveLocationUpdate();
387
368
  });
388
369
 
389
370
  const anchors = (this.anchorsByTarget.get(target) as Element[]);
390
- anchors.push(anchor);
391
- return anchor;
371
+ anchors.push(link);
372
+ return link;
392
373
  }
393
374
 
394
375
  linkifyCSSLocation(rawLocation: SDK.CSSModel.CSSLocation, classes?: string): Element {
@@ -403,33 +384,29 @@ export class Linkifier implements SDK.TargetManager.Observer {
403
384
  // Not initialising the anchor element with 'zero width space' (\u200b) causes a crash
404
385
  // in the layout engine.
405
386
  // TODO(szuend): Remove comment and workaround once the crash is fixed.
406
- const anchor = (Linkifier.createLink('\u200b', classes || '', createLinkOptions) as HTMLElement);
407
- const info = Linkifier.linkInfo(anchor);
408
- if (!info) {
409
- return anchor;
410
- }
411
- info.enableDecorator = this.useLinkDecorator;
387
+ const {link, linkInfo} = Linkifier.createLink('\u200b', classes || '', createLinkOptions);
388
+ linkInfo.enableDecorator = this.useLinkDecorator;
412
389
 
413
390
  const pool = this.locationPoolByTarget.get(rawLocation.cssModel().target());
414
391
  if (!pool) {
415
- return anchor;
392
+ return link;
416
393
  }
417
394
 
418
395
  const linkDisplayOptions = {showColumnNumber: false};
419
396
 
420
397
  const currentOnLiveLocationUpdate = this.onLiveLocationUpdate;
421
398
  Bindings.CSSWorkspaceBinding.CSSWorkspaceBinding.instance()
422
- .createLiveLocation(rawLocation, this.updateAnchor.bind(this, anchor, linkDisplayOptions), pool)
399
+ .createLiveLocation(rawLocation, this.updateAnchor.bind(this, link, linkDisplayOptions), pool)
423
400
  .then(liveLocation => {
424
- info.liveLocation = liveLocation;
401
+ linkInfo.liveLocation = liveLocation;
425
402
  // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
426
403
  // @ts-expect-error
427
404
  currentOnLiveLocationUpdate();
428
405
  });
429
406
 
430
407
  const anchors = (this.anchorsByTarget.get(rawLocation.cssModel().target()) as Element[]);
431
- anchors.push(anchor);
432
- return anchor;
408
+ anchors.push(link);
409
+ return link;
433
410
  }
434
411
 
435
412
  reset(): void {
@@ -557,16 +534,12 @@ export class Linkifier implements SDK.TargetManager.Observer {
557
534
  }
558
535
  const title = linkText !== url ? url : '';
559
536
  const linkOptions = {maxLength, title, href: url, preventClick, tabStop: options.tabStop, bypassURLTrimming};
560
- const link = Linkifier.createLink(linkText, className, linkOptions);
561
- const info = Linkifier.linkInfo(link);
562
- if (!info) {
563
- return link;
564
- }
537
+ const {link, linkInfo} = Linkifier.createLink(linkText, className, linkOptions);
565
538
  if (lineNumber) {
566
- info.lineNumber = lineNumber;
539
+ linkInfo.lineNumber = lineNumber;
567
540
  }
568
541
  if (columnNumber) {
569
- info.columnNumber = columnNumber;
542
+ linkInfo.columnNumber = columnNumber;
570
543
  }
571
544
  return link;
572
545
  }
@@ -582,16 +555,13 @@ export class Linkifier implements SDK.TargetManager.Observer {
582
555
  tabStop: undefined,
583
556
  bypassURLTrimming: undefined,
584
557
  };
585
- const link = Linkifier.createLink(text, className || '', createLinkOptions);
586
- const linkInfo = Linkifier.linkInfo(link);
587
- if (!linkInfo) {
588
- return link;
589
- }
558
+ const {link, linkInfo} = Linkifier.createLink(text, className || '', createLinkOptions);
590
559
  linkInfo.revealable = revealable;
591
560
  return link;
592
561
  }
593
562
 
594
- private static createLink(text: string|HTMLElement, className: string, options?: _CreateLinkOptions): HTMLElement {
563
+ private static createLink(text: string|HTMLElement, className: string, options?: _CreateLinkOptions):
564
+ {link: HTMLElement, linkInfo: _LinkInfo} {
595
565
  options = options || {
596
566
  maxLength: undefined,
597
567
  title: undefined,
@@ -654,7 +624,7 @@ export class Linkifier implements SDK.TargetManager.Observer {
654
624
  }
655
625
  UI.ARIAUtils.markAsLink(link);
656
626
  link.tabIndex = tabStop ? 0 : -1;
657
- return link;
627
+ return {link, linkInfo};
658
628
  }
659
629
 
660
630
  private static setTrimmedText(link: Element, text: string, maxLength?: number): void {
@@ -134,7 +134,7 @@
134
134
  .tabbed-pane-header-tab:hover,
135
135
  .tabbed-pane-shadow .tabbed-pane-header-tab:focus-visible {
136
136
  color: var(--color-text-primary);
137
- background-color: var(--legacy-toolbar-hover-bg-color);
137
+ background-color: var(--color-background-elevation-1);
138
138
  }
139
139
 
140
140
  .tabbed-pane-header-tab-title {
@@ -167,6 +167,7 @@
167
167
  --color-selected-option: #fff;
168
168
  --color-selected-option-background: #1a73e8;
169
169
  --color-highlighted-line: rgb(255 255 0 / 50%);
170
+ --color-completion-hover: rgb(56 121 217 / 10%);
170
171
  --color-search-match-border: rgb(128 128 128);
171
172
  --color-selected-search-match: var(--color-text-primary);
172
173
  --color-selected-search-match-background: rgb(241 234 0);
@@ -307,6 +308,7 @@
307
308
  --color-selected-option: #fff;
308
309
  --color-selected-option-background: #0e639c;
309
310
  --color-highlighted-line: hsl(133deg 100% 30% / 50%);
311
+ --color-completion-hover: rgb(56 121 217 / 10%);
310
312
  --color-search-match-border: rgb(128 128 128);
311
313
  --color-selected-search-match: #eee;
312
314
  --color-selected-search-match-background: hsl(133deg 100% 30%);
@@ -77,6 +77,7 @@ let platformName: PlatformName;
77
77
  type MessageLookup = {
78
78
  'setOverlay': keyof Overlays,
79
79
  'setPlatform': PlatformName,
80
+ drawingFinished: '',
80
81
  };
81
82
 
82
83
  const dispatch = <K extends keyof MessageLookup>(message: [a: K, b: MessageLookup[K]]) => {
@@ -95,6 +96,8 @@ const dispatch = <K extends keyof MessageLookup>(message: [a: K, b: MessageLooku
95
96
  }
96
97
  } else if (functionName === 'setPlatform') {
97
98
  platformName = message[1];
99
+ } else if (functionName === 'drawingFinished') {
100
+ // TODO The logic needs to be added here once the backend starts sending this event.
98
101
  } else {
99
102
  currentOverlay.dispatch(message);
100
103
  }
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.943986"
58
+ "version": "1.0.945579"
59
59
  }