chrome-devtools-frontend 1.0.944427 → 1.0.945677

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 (327) 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 +3 -1
  6. package/front_end/core/i18n/i18nImpl.ts +7 -4
  7. package/front_end/core/i18n/locales/en-US.json +3 -60
  8. package/front_end/core/i18n/locales/en-XL.json +15 -72
  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/CSSStyleSheetHeader.ts +2 -3
  12. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -3
  13. package/front_end/core/sdk/Cookie.ts +17 -0
  14. package/front_end/core/sdk/CookieModel.ts +1 -0
  15. package/front_end/core/sdk/DebuggerModel.ts +5 -4
  16. package/front_end/core/sdk/NetworkManager.ts +4 -1
  17. package/front_end/core/sdk/NetworkRequest.ts +2 -2
  18. package/front_end/core/sdk/Resource.ts +2 -2
  19. package/front_end/core/sdk/Script.ts +2 -3
  20. package/front_end/entrypoints/main/MainImpl.ts +6 -0
  21. package/front_end/generated/protocol.d.ts +0 -4
  22. package/front_end/models/bindings/BreakpointManager.ts +3 -4
  23. package/front_end/models/bindings/ResourceMapping.ts +1 -2
  24. package/front_end/models/bindings/StylesSourceMapping.ts +1 -2
  25. package/front_end/models/emulation/EmulatedDevices.ts +2 -4
  26. package/front_end/models/persistence/IsolatedFileSystem.ts +7 -6
  27. package/front_end/models/persistence/PersistenceActions.ts +4 -1
  28. package/front_end/models/persistence/PlatformFileSystem.ts +3 -4
  29. package/front_end/models/text_utils/ContentProvider.ts +1 -2
  30. package/front_end/models/text_utils/StaticContentProvider.ts +2 -3
  31. package/front_end/models/timeline_model/TimelineJSProfile.ts +16 -3
  32. package/front_end/models/timeline_model/TimelineModel.ts +1 -0
  33. package/front_end/models/workspace/UISourceCode.ts +2 -2
  34. package/front_end/models/workspace_diff/WorkspaceDiff.ts +20 -6
  35. package/front_end/panels/animation/AnimationTimeline.ts +1 -1
  36. package/front_end/panels/animation/animationTimeline.css +2 -0
  37. package/front_end/panels/application/BackForwardCacheStrings.ts +15 -75
  38. package/front_end/panels/application/BackForwardCacheView.ts +8 -1
  39. package/front_end/panels/application/ReportingApiView.ts +15 -1
  40. package/front_end/panels/application/components/EndpointsGrid.ts +63 -4
  41. package/front_end/panels/application/components/FrameDetailsView.ts +21 -34
  42. package/front_end/panels/changes/ChangesView.ts +8 -7
  43. package/front_end/panels/elements/StyleEditorWidget.ts +7 -7
  44. package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -15
  45. package/front_end/panels/elements/StylesSidebarPane.ts +35 -9
  46. package/front_end/panels/emulation/DeviceModeView.ts +3 -0
  47. package/front_end/panels/help/ReleaseNoteText.ts +3 -1
  48. package/front_end/panels/network/NetworkItemView.ts +7 -1
  49. package/front_end/panels/profiler/heapProfiler.css +2 -5
  50. package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +1 -1
  51. package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
  52. package/front_end/panels/sources/NavigatorView.ts +1 -1
  53. package/front_end/panels/sources/UISourceCodeFrame.ts +0 -1
  54. package/front_end/panels/timeline/TimelineController.ts +3 -0
  55. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -34
  56. package/front_end/panels/timeline/TimelineUIUtils.ts +51 -3
  57. package/front_end/panels/webauthn/WebauthnPane.ts +31 -32
  58. package/front_end/services/window_bounds/WindowBoundsService.ts +27 -0
  59. package/front_end/services/window_bounds/window_bounds.ts +9 -0
  60. package/front_end/third_party/acorn/README.chromium +2 -2
  61. package/front_end/third_party/acorn/acorn.ts +1 -1
  62. package/front_end/third_party/acorn/package/CHANGELOG.md +31 -1
  63. package/front_end/third_party/acorn/package/README.md +1 -1
  64. package/front_end/third_party/acorn/package/dist/acorn.d.ts +3 -0
  65. package/front_end/third_party/acorn/package/dist/acorn.js +772 -708
  66. package/front_end/third_party/acorn/package/dist/acorn.mjs +767 -703
  67. package/front_end/third_party/acorn/package/dist/bin.js +47 -21
  68. package/front_end/third_party/acorn/package/package.json +1 -1
  69. package/front_end/third_party/acorn-loose/README.chromium +2 -2
  70. package/front_end/third_party/acorn-loose/package/CHANGELOG.md +12 -0
  71. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.js +27 -7
  72. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs +28 -8
  73. package/front_end/third_party/acorn-loose/package/package.json +2 -2
  74. package/front_end/third_party/codemirror.next/bundle.ts +1 -1
  75. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  76. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +8 -1
  77. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  78. package/front_end/third_party/codemirror.next/package.json +1 -1
  79. package/front_end/third_party/i18n/i18n-impl.ts +1 -1
  80. package/front_end/third_party/lit-html/README.chromium +2 -2
  81. package/front_end/third_party/lit-html/package/CHANGELOG.md +216 -28
  82. package/front_end/third_party/lit-html/package/LICENSE +9 -9
  83. package/front_end/third_party/lit-html/package/README.md +12 -162
  84. package/front_end/third_party/lit-html/package/async-directive.d.ts +23 -54
  85. package/front_end/third_party/lit-html/package/async-directive.d.ts.map +1 -1
  86. package/front_end/third_party/lit-html/package/async-directive.js +2 -7
  87. package/front_end/third_party/lit-html/package/async-directive.js.map +1 -1
  88. package/front_end/third_party/lit-html/package/development/async-directive.d.ts +23 -54
  89. package/front_end/third_party/lit-html/package/development/async-directive.d.ts.map +1 -1
  90. package/front_end/third_party/lit-html/package/development/async-directive.js +44 -194
  91. package/front_end/third_party/lit-html/package/development/async-directive.js.map +1 -1
  92. package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts +6 -5
  93. package/front_end/third_party/lit-html/package/development/directive-helpers.d.ts.map +1 -1
  94. package/front_end/third_party/lit-html/package/development/directive-helpers.js +25 -9
  95. package/front_end/third_party/lit-html/package/development/directive-helpers.js.map +1 -1
  96. package/front_end/third_party/lit-html/package/development/directive.d.ts +3 -16
  97. package/front_end/third_party/lit-html/package/development/directive.d.ts.map +1 -1
  98. package/front_end/third_party/lit-html/package/development/directive.js +6 -1
  99. package/front_end/third_party/lit-html/package/development/directive.js.map +1 -1
  100. package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts +7 -14
  101. package/front_end/third_party/lit-html/package/development/directives/async-append.d.ts.map +1 -1
  102. package/front_end/third_party/lit-html/package/development/directives/async-append.js +17 -58
  103. package/front_end/third_party/lit-html/package/development/directives/async-append.js.map +1 -1
  104. package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts +9 -14
  105. package/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts.map +1 -1
  106. package/front_end/third_party/lit-html/package/development/directives/async-replace.js +57 -37
  107. package/front_end/third_party/lit-html/package/development/directives/async-replace.js.map +1 -1
  108. package/front_end/third_party/lit-html/package/development/directives/cache.d.ts +2 -3
  109. package/front_end/third_party/lit-html/package/development/directives/cache.d.ts.map +1 -1
  110. package/front_end/third_party/lit-html/package/development/directives/cache.js +4 -6
  111. package/front_end/third_party/lit-html/package/development/directives/cache.js.map +1 -1
  112. package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts +2 -2
  113. package/front_end/third_party/lit-html/package/development/directives/class-map.d.ts.map +1 -1
  114. package/front_end/third_party/lit-html/package/development/directives/class-map.js +17 -7
  115. package/front_end/third_party/lit-html/package/development/directives/class-map.js.map +1 -1
  116. package/front_end/third_party/lit-html/package/development/directives/guard.d.ts +3 -2
  117. package/front_end/third_party/lit-html/package/development/directives/guard.d.ts.map +1 -1
  118. package/front_end/third_party/lit-html/package/development/directives/guard.js +3 -2
  119. package/front_end/third_party/lit-html/package/development/directives/guard.js.map +1 -1
  120. package/front_end/third_party/lit-html/package/development/directives/live.d.ts +4 -3
  121. package/front_end/third_party/lit-html/package/development/directives/live.d.ts.map +1 -1
  122. package/front_end/third_party/lit-html/package/development/directives/live.js +5 -7
  123. package/front_end/third_party/lit-html/package/development/directives/live.js.map +1 -1
  124. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts +58 -0
  125. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.d.ts.map +1 -0
  126. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js +85 -0
  127. package/front_end/third_party/lit-html/package/development/directives/private-async-helpers.js.map +1 -0
  128. package/front_end/third_party/lit-html/package/development/directives/ref.d.ts +14 -11
  129. package/front_end/third_party/lit-html/package/development/directives/ref.d.ts.map +1 -1
  130. package/front_end/third_party/lit-html/package/development/directives/ref.js +13 -11
  131. package/front_end/third_party/lit-html/package/development/directives/ref.js.map +1 -1
  132. package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts +8 -4
  133. package/front_end/third_party/lit-html/package/development/directives/repeat.d.ts.map +1 -1
  134. package/front_end/third_party/lit-html/package/development/directives/repeat.js +23 -9
  135. package/front_end/third_party/lit-html/package/development/directives/repeat.js.map +1 -1
  136. package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts +1 -2
  137. package/front_end/third_party/lit-html/package/development/directives/style-map.d.ts.map +1 -1
  138. package/front_end/third_party/lit-html/package/development/directives/style-map.js +1 -2
  139. package/front_end/third_party/lit-html/package/development/directives/style-map.js.map +1 -1
  140. package/front_end/third_party/lit-html/package/development/directives/template-content.d.ts +1 -2
  141. package/front_end/third_party/lit-html/package/development/directives/template-content.js +1 -2
  142. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts +6 -4
  143. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.d.ts.map +1 -1
  144. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js +7 -5
  145. package/front_end/third_party/lit-html/package/development/directives/unsafe-html.js.map +1 -1
  146. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts +4 -1
  147. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.d.ts.map +1 -1
  148. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js +3 -0
  149. package/front_end/third_party/lit-html/package/development/directives/unsafe-svg.js.map +1 -1
  150. package/front_end/third_party/lit-html/package/development/directives/until.d.ts +12 -8
  151. package/front_end/third_party/lit-html/package/development/directives/until.d.ts.map +1 -1
  152. package/front_end/third_party/lit-html/package/development/directives/until.js +63 -23
  153. package/front_end/third_party/lit-html/package/development/directives/until.js.map +1 -1
  154. package/front_end/third_party/lit-html/package/development/experimental-hydrate.d.ts.map +1 -1
  155. package/front_end/third_party/lit-html/package/development/experimental-hydrate.js +9 -8
  156. package/front_end/third_party/lit-html/package/development/experimental-hydrate.js.map +1 -1
  157. package/front_end/third_party/lit-html/package/development/lit-html.d.ts +81 -136
  158. package/front_end/third_party/lit-html/package/development/lit-html.d.ts.map +1 -1
  159. package/front_end/third_party/lit-html/package/development/lit-html.js +249 -76
  160. package/front_end/third_party/lit-html/package/development/lit-html.js.map +1 -1
  161. package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts +1 -41
  162. package/front_end/third_party/lit-html/package/development/polyfill-support.d.ts.map +1 -1
  163. package/front_end/third_party/lit-html/package/development/polyfill-support.js +40 -21
  164. package/front_end/third_party/lit-html/package/development/polyfill-support.js.map +1 -1
  165. package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts +12 -10
  166. package/front_end/third_party/lit-html/package/development/private-ssr-support.d.ts.map +1 -1
  167. package/front_end/third_party/lit-html/package/development/private-ssr-support.js +11 -3
  168. package/front_end/third_party/lit-html/package/development/private-ssr-support.js.map +1 -1
  169. package/front_end/third_party/lit-html/package/development/static.d.ts.map +1 -1
  170. package/front_end/third_party/lit-html/package/development/static.js +6 -5
  171. package/front_end/third_party/lit-html/package/development/static.js.map +1 -1
  172. package/front_end/third_party/lit-html/package/directive-helpers.d.ts +6 -5
  173. package/front_end/third_party/lit-html/package/directive-helpers.d.ts.map +1 -1
  174. package/front_end/third_party/lit-html/package/directive-helpers.js +2 -2
  175. package/front_end/third_party/lit-html/package/directive-helpers.js.map +1 -1
  176. package/front_end/third_party/lit-html/package/directive.d.ts +3 -16
  177. package/front_end/third_party/lit-html/package/directive.d.ts.map +1 -1
  178. package/front_end/third_party/lit-html/package/directive.js +1 -1
  179. package/front_end/third_party/lit-html/package/directive.js.map +1 -1
  180. package/front_end/third_party/lit-html/package/directives/async-append.d.ts +7 -14
  181. package/front_end/third_party/lit-html/package/directives/async-append.d.ts.map +1 -1
  182. package/front_end/third_party/lit-html/package/directives/async-append.js +2 -6
  183. package/front_end/third_party/lit-html/package/directives/async-append.js.map +1 -1
  184. package/front_end/third_party/lit-html/package/directives/async-replace.d.ts +9 -14
  185. package/front_end/third_party/lit-html/package/directives/async-replace.d.ts.map +1 -1
  186. package/front_end/third_party/lit-html/package/directives/async-replace.js +2 -5
  187. package/front_end/third_party/lit-html/package/directives/async-replace.js.map +1 -1
  188. package/front_end/third_party/lit-html/package/directives/cache.d.ts +2 -3
  189. package/front_end/third_party/lit-html/package/directives/cache.d.ts.map +1 -1
  190. package/front_end/third_party/lit-html/package/directives/cache.js +2 -5
  191. package/front_end/third_party/lit-html/package/directives/cache.js.map +1 -1
  192. package/front_end/third_party/lit-html/package/directives/class-map.d.ts +2 -2
  193. package/front_end/third_party/lit-html/package/directives/class-map.d.ts.map +1 -1
  194. package/front_end/third_party/lit-html/package/directives/class-map.js +2 -4
  195. package/front_end/third_party/lit-html/package/directives/class-map.js.map +1 -1
  196. package/front_end/third_party/lit-html/package/directives/guard.d.ts +3 -2
  197. package/front_end/third_party/lit-html/package/directives/guard.d.ts.map +1 -1
  198. package/front_end/third_party/lit-html/package/directives/guard.js +2 -4
  199. package/front_end/third_party/lit-html/package/directives/guard.js.map +1 -1
  200. package/front_end/third_party/lit-html/package/directives/live.d.ts +4 -3
  201. package/front_end/third_party/lit-html/package/directives/live.d.ts.map +1 -1
  202. package/front_end/third_party/lit-html/package/directives/live.js +1 -4
  203. package/front_end/third_party/lit-html/package/directives/live.js.map +1 -1
  204. package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts +58 -0
  205. package/front_end/third_party/lit-html/package/directives/private-async-helpers.d.ts.map +1 -0
  206. package/front_end/third_party/lit-html/package/directives/private-async-helpers.js +7 -0
  207. package/front_end/third_party/lit-html/package/directives/private-async-helpers.js.map +1 -0
  208. package/front_end/third_party/lit-html/package/directives/ref.d.ts +14 -11
  209. package/front_end/third_party/lit-html/package/directives/ref.d.ts.map +1 -1
  210. package/front_end/third_party/lit-html/package/directives/ref.js +2 -5
  211. package/front_end/third_party/lit-html/package/directives/ref.js.map +1 -1
  212. package/front_end/third_party/lit-html/package/directives/repeat.d.ts +8 -4
  213. package/front_end/third_party/lit-html/package/directives/repeat.d.ts.map +1 -1
  214. package/front_end/third_party/lit-html/package/directives/repeat.js +2 -5
  215. package/front_end/third_party/lit-html/package/directives/repeat.js.map +1 -1
  216. package/front_end/third_party/lit-html/package/directives/style-map.d.ts +1 -2
  217. package/front_end/third_party/lit-html/package/directives/style-map.d.ts.map +1 -1
  218. package/front_end/third_party/lit-html/package/directives/style-map.js +2 -4
  219. package/front_end/third_party/lit-html/package/directives/style-map.js.map +1 -1
  220. package/front_end/third_party/lit-html/package/directives/template-content.d.ts +1 -2
  221. package/front_end/third_party/lit-html/package/directives/template-content.js +2 -4
  222. package/front_end/third_party/lit-html/package/directives/template-content.js.map +1 -1
  223. package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts +6 -4
  224. package/front_end/third_party/lit-html/package/directives/unsafe-html.d.ts.map +1 -1
  225. package/front_end/third_party/lit-html/package/directives/unsafe-html.js +2 -4
  226. package/front_end/third_party/lit-html/package/directives/unsafe-html.js.map +1 -1
  227. package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts +4 -1
  228. package/front_end/third_party/lit-html/package/directives/unsafe-svg.d.ts.map +1 -1
  229. package/front_end/third_party/lit-html/package/directives/unsafe-svg.js.map +1 -1
  230. package/front_end/third_party/lit-html/package/directives/until.d.ts +12 -8
  231. package/front_end/third_party/lit-html/package/directives/until.d.ts.map +1 -1
  232. package/front_end/third_party/lit-html/package/directives/until.js +2 -6
  233. package/front_end/third_party/lit-html/package/directives/until.js.map +1 -1
  234. package/front_end/third_party/lit-html/package/experimental-hydrate.d.ts.map +1 -1
  235. package/front_end/third_party/lit-html/package/experimental-hydrate.js +2 -5
  236. package/front_end/third_party/lit-html/package/experimental-hydrate.js.map +1 -1
  237. package/front_end/third_party/lit-html/package/lit-html.d.ts +81 -136
  238. package/front_end/third_party/lit-html/package/lit-html.d.ts.map +1 -1
  239. package/front_end/third_party/lit-html/package/lit-html.js +1 -1
  240. package/front_end/third_party/lit-html/package/lit-html.js.map +1 -1
  241. package/front_end/third_party/lit-html/package/package.json +75 -24
  242. package/front_end/third_party/lit-html/package/polyfill-support.d.ts +1 -41
  243. package/front_end/third_party/lit-html/package/polyfill-support.d.ts.map +1 -1
  244. package/front_end/third_party/lit-html/package/polyfill-support.js +1 -1
  245. package/front_end/third_party/lit-html/package/polyfill-support.js.map +1 -1
  246. package/front_end/third_party/lit-html/package/private-ssr-support.d.ts +12 -10
  247. package/front_end/third_party/lit-html/package/private-ssr-support.d.ts.map +1 -1
  248. package/front_end/third_party/lit-html/package/private-ssr-support.js +2 -2
  249. package/front_end/third_party/lit-html/package/private-ssr-support.js.map +1 -1
  250. package/front_end/third_party/lit-html/package/static.d.ts.map +1 -1
  251. package/front_end/third_party/lit-html/package/static.js +1 -1
  252. package/front_end/third_party/lit-html/package/static.js.map +1 -1
  253. package/front_end/third_party/marked/README.chromium +2 -2
  254. package/front_end/third_party/marked/marked.ts +2 -2
  255. package/front_end/third_party/marked/package/README.md +7 -1
  256. package/front_end/third_party/marked/package/bin/marked.js +214 -0
  257. package/front_end/third_party/marked/package/lib/marked.cjs +2907 -0
  258. package/front_end/third_party/marked/package/lib/marked.esm.d.ts +1 -3
  259. package/front_end/third_party/marked/package/lib/marked.esm.js +627 -586
  260. package/front_end/third_party/marked/package/lib/marked.umd.js +2913 -0
  261. package/front_end/third_party/marked/package/man/marked.1 +5 -24
  262. package/front_end/third_party/marked/package/man/marked.1.txt +21 -31
  263. package/front_end/third_party/marked/package/marked.min.js +1 -1
  264. package/front_end/third_party/marked/package/package.json +41 -32
  265. package/front_end/third_party/marked/package/src/Lexer.js +109 -108
  266. package/front_end/third_party/marked/package/src/Parser.js +38 -15
  267. package/front_end/third_party/marked/package/src/Renderer.js +5 -5
  268. package/front_end/third_party/marked/package/src/Slugger.js +2 -2
  269. package/front_end/third_party/marked/package/src/TextRenderer.js +2 -2
  270. package/front_end/third_party/marked/package/src/Tokenizer.js +215 -190
  271. package/front_end/third_party/marked/package/src/defaults.js +6 -9
  272. package/front_end/third_party/marked/package/src/helpers.js +16 -27
  273. package/front_end/third_party/marked/package/src/marked.js +146 -63
  274. package/front_end/third_party/marked/package/src/rules.js +20 -45
  275. package/front_end/third_party/wasmparser/README.chromium +2 -2
  276. package/front_end/third_party/wasmparser/package/.github/workflows/main.yml +47 -0
  277. package/front_end/third_party/wasmparser/package/CHANGELOG.md +12 -0
  278. package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js +53 -53
  279. package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js.map +1 -1
  280. package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js +53 -53
  281. package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js.map +1 -1
  282. package/front_end/third_party/wasmparser/package/package.json +1 -1
  283. package/front_end/third_party/wasmparser/package/src/WasmParser.ts +53 -53
  284. package/front_end/ui/components/adorners/Adorner.ts +14 -14
  285. package/front_end/ui/components/buttons/Button.ts +133 -42
  286. package/front_end/ui/components/buttons/button.css +31 -0
  287. package/front_end/ui/components/data_grid/DataGrid.ts +131 -122
  288. package/front_end/ui/components/data_grid/DataGridController.ts +42 -42
  289. package/front_end/ui/components/diff_view/DiffView.ts +4 -4
  290. package/front_end/ui/components/docs/button/basic.html +3 -0
  291. package/front_end/ui/components/docs/button/basic.ts +58 -0
  292. package/front_end/ui/components/expandable_list/ExpandableList.ts +11 -11
  293. package/front_end/ui/components/icon_button/Icon.ts +24 -21
  294. package/front_end/ui/components/icon_button/IconButton.ts +31 -31
  295. package/front_end/ui/components/issue_counter/IssueCounter.ts +52 -52
  296. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +42 -42
  297. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +67 -67
  298. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +22 -22
  299. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +36 -36
  300. package/front_end/ui/components/linear_memory_inspector/LinearMemoryNavigator.ts +19 -19
  301. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +25 -25
  302. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +52 -52
  303. package/front_end/ui/components/linear_memory_inspector/ValueInterpreterDisplay.ts +21 -21
  304. package/front_end/ui/components/linear_memory_inspector/ValueInterpreterSettings.ts +6 -6
  305. package/front_end/ui/components/markdown_view/MarkdownImage.ts +14 -14
  306. package/front_end/ui/components/markdown_view/MarkdownLink.ts +8 -8
  307. package/front_end/ui/components/markdown_view/MarkdownView.ts +6 -6
  308. package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +33 -33
  309. package/front_end/ui/components/report_view/ReportView.ts +18 -18
  310. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +53 -53
  311. package/front_end/ui/components/settings/SettingCheckbox.ts +15 -15
  312. package/front_end/ui/components/survey_link/SurveyLink.ts +28 -28
  313. package/front_end/ui/components/text_editor/TextEditor.ts +68 -36
  314. package/front_end/ui/components/text_editor/config.ts +4 -2
  315. package/front_end/ui/components/text_editor/javascript.ts +6 -6
  316. package/front_end/ui/components/text_prompt/TextPrompt.ts +19 -19
  317. package/front_end/ui/components/tree_outline/TreeOutline.ts +56 -56
  318. package/front_end/ui/legacy/Infobar.ts +9 -0
  319. package/front_end/ui/legacy/InspectorView.ts +1 -1
  320. package/front_end/ui/legacy/ListWidget.ts +2 -2
  321. package/front_end/ui/legacy/ViewManager.ts +6 -0
  322. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +20 -0
  323. package/front_end/ui/legacy/tabbedPane.css +1 -1
  324. package/inspector_overlay/main.ts +3 -0
  325. package/package.json +1 -1
  326. package/scripts/eslint_rules/lib/l10n_filename_matches.js +17 -4
  327. package/scripts/eslint_rules/tests/l10n_filename_matches_test.js +21 -0
@@ -1678,7 +1678,7 @@ var BinaryReader = /** @class */ (function () {
1678
1678
  if ((byte & 0x80) === 0)
1679
1679
  break;
1680
1680
  }
1681
- return result;
1681
+ return result >>> 0;
1682
1682
  };
1683
1683
  BinaryReader.prototype.readVarInt64 = function () {
1684
1684
  var result = new Uint8Array(8);
@@ -1752,7 +1752,7 @@ var BinaryReader = /** @class */ (function () {
1752
1752
  return new Type(0 /* unspecified */, func_index);
1753
1753
  };
1754
1754
  BinaryReader.prototype.readStringBytes = function () {
1755
- var length = this.readVarUint32() >>> 0;
1755
+ var length = this.readVarUint32();
1756
1756
  return this.readBytes(length);
1757
1757
  };
1758
1758
  BinaryReader.prototype.readBytes = function (length) {
@@ -1767,7 +1767,7 @@ var BinaryReader = /** @class */ (function () {
1767
1767
  if (!this.hasVarIntBytes())
1768
1768
  return false;
1769
1769
  var pos = this._pos;
1770
- var length = this.readVarUint32() >>> 0;
1770
+ var length = this.readVarUint32();
1771
1771
  var result = this.hasBytes(length);
1772
1772
  this._pos = pos;
1773
1773
  return result;
@@ -1776,7 +1776,7 @@ var BinaryReader = /** @class */ (function () {
1776
1776
  return this.hasBytes(this._sectionRange.end - this._pos);
1777
1777
  };
1778
1778
  BinaryReader.prototype.readFuncType = function () {
1779
- var paramCount = this.readVarUint32() >>> 0;
1779
+ var paramCount = this.readVarUint32();
1780
1780
  var paramTypes = new Array(paramCount);
1781
1781
  for (var i = 0; i < paramCount; i++)
1782
1782
  paramTypes[i] = this.readType();
@@ -1797,7 +1797,7 @@ var BinaryReader = /** @class */ (function () {
1797
1797
  return result;
1798
1798
  };
1799
1799
  BinaryReader.prototype.readStructType = function () {
1800
- var fieldCount = this.readVarUint32() >>> 0;
1800
+ var fieldCount = this.readVarUint32();
1801
1801
  var fieldTypes = new Array(fieldCount);
1802
1802
  var fieldMutabilities = new Array(fieldCount);
1803
1803
  for (var i = 0; i < fieldCount; i++) {
@@ -1832,21 +1832,21 @@ var BinaryReader = /** @class */ (function () {
1832
1832
  return result;
1833
1833
  };
1834
1834
  BinaryReader.prototype.readResizableLimits = function (maxPresent) {
1835
- var initial = this.readVarUint32() >>> 0;
1835
+ var initial = this.readVarUint32();
1836
1836
  var maximum;
1837
1837
  if (maxPresent) {
1838
- maximum = this.readVarUint32() >>> 0;
1838
+ maximum = this.readVarUint32();
1839
1839
  }
1840
1840
  return { initial: initial, maximum: maximum };
1841
1841
  };
1842
1842
  BinaryReader.prototype.readTableType = function () {
1843
1843
  var elementType = this.readType();
1844
- var flags = this.readVarUint32() >>> 0;
1844
+ var flags = this.readVarUint32();
1845
1845
  var limits = this.readResizableLimits(!!(flags & 0x01));
1846
1846
  return { elementType: elementType, limits: limits };
1847
1847
  };
1848
1848
  BinaryReader.prototype.readMemoryType = function () {
1849
- var flags = this.readVarUint32() >>> 0;
1849
+ var flags = this.readVarUint32();
1850
1850
  var shared = !!(flags & 0x02);
1851
1851
  return {
1852
1852
  limits: this.readResizableLimits(!!(flags & 0x01)),
@@ -1867,8 +1867,8 @@ var BinaryReader = /** @class */ (function () {
1867
1867
  return { contentType: contentType, mutability: mutability };
1868
1868
  };
1869
1869
  BinaryReader.prototype.readEventType = function () {
1870
- var attribute = this.readVarUint32() >>> 0;
1871
- var typeIndex = this.readVarUint32() >>> 0;
1870
+ var attribute = this.readVarUint32();
1871
+ var typeIndex = this.readVarUint32();
1872
1872
  return {
1873
1873
  attribute: attribute,
1874
1874
  typeIndex: typeIndex,
@@ -1919,7 +1919,7 @@ var BinaryReader = /** @class */ (function () {
1919
1919
  var type;
1920
1920
  switch (kind) {
1921
1921
  case 0 /* Function */:
1922
- funcTypeIndex = this.readVarUint32() >>> 0;
1922
+ funcTypeIndex = this.readVarUint32();
1923
1923
  break;
1924
1924
  case 1 /* Table */:
1925
1925
  type = this.readTableType();
@@ -1951,7 +1951,7 @@ var BinaryReader = /** @class */ (function () {
1951
1951
  }
1952
1952
  var field = this.readStringBytes();
1953
1953
  var kind = this.readUint8();
1954
- var index = this.readVarUint32() >>> 0;
1954
+ var index = this.readVarUint32();
1955
1955
  this.state = 17 /* EXPORT_SECTION_ENTRY */;
1956
1956
  this.result = { field: field, kind: kind, index: index };
1957
1957
  this._sectionEntriesLeft--;
@@ -1962,7 +1962,7 @@ var BinaryReader = /** @class */ (function () {
1962
1962
  this.skipSection();
1963
1963
  return this.read();
1964
1964
  }
1965
- var typeIndex = this.readVarUint32() >>> 0;
1965
+ var typeIndex = this.readVarUint32();
1966
1966
  this.state = 13 /* FUNCTION_SECTION_ENTRY */;
1967
1967
  this.result = { typeIndex: typeIndex };
1968
1968
  this._sectionEntriesLeft--;
@@ -2149,8 +2149,8 @@ var BinaryReader = /** @class */ (function () {
2149
2149
  return true;
2150
2150
  };
2151
2151
  BinaryReader.prototype.readMemoryImmediate = function () {
2152
- var flags = this.readVarUint32() >>> 0;
2153
- var offset = this.readVarUint32() >>> 0;
2152
+ var flags = this.readVarUint32();
2153
+ var offset = this.readVarUint32();
2154
2154
  return { flags: flags, offset: offset };
2155
2155
  };
2156
2156
  BinaryReader.prototype.readNameMap = function () {
@@ -2270,7 +2270,7 @@ var BinaryReader = /** @class */ (function () {
2270
2270
  if (!this.hasVarIntBytes())
2271
2271
  return false;
2272
2272
  var pos = this._pos;
2273
- var type = this.readVarUint32() >>> 0;
2273
+ var type = this.readVarUint32();
2274
2274
  var index;
2275
2275
  switch (type) {
2276
2276
  case 1 /* StackPointer */:
@@ -2367,11 +2367,11 @@ var BinaryReader = /** @class */ (function () {
2367
2367
  case 64356 /* br_on_non_data */:
2368
2368
  case 64354 /* br_on_i31 */:
2369
2369
  case 64357 /* br_on_non_i31 */:
2370
- brDepth = this.readVarUint32() >>> 0;
2370
+ brDepth = this.readVarUint32();
2371
2371
  break;
2372
2372
  case 64326 /* br_on_cast_static */:
2373
2373
  case 64327 /* br_on_cast_static_fail */:
2374
- brDepth = this.readVarUint32() >>> 0;
2374
+ brDepth = this.readVarUint32();
2375
2375
  refType = this.readHeapType();
2376
2376
  break;
2377
2377
  case 64275 /* array_get */:
@@ -2410,7 +2410,7 @@ var BinaryReader = /** @class */ (function () {
2410
2410
  refType = this.readHeapType();
2411
2411
  // This really is the "length" value. Overload "brDepth" to keep the
2412
2412
  // IOperatorInformation interface a little leaner.
2413
- brDepth = this.readVarUint32() >>> 0;
2413
+ brDepth = this.readVarUint32();
2414
2414
  break;
2415
2415
  case 64336 /* ref_is_func */:
2416
2416
  case 64337 /* ref_is_data */:
@@ -2476,25 +2476,25 @@ var BinaryReader = /** @class */ (function () {
2476
2476
  reserved = this.readVarUint1();
2477
2477
  break;
2478
2478
  case 64524 /* table_init */:
2479
- segmentIndex = this.readVarUint32() >>> 0;
2480
- tableIndex = this.readVarUint32() >>> 0;
2479
+ segmentIndex = this.readVarUint32();
2480
+ tableIndex = this.readVarUint32();
2481
2481
  break;
2482
2482
  case 64526 /* table_copy */:
2483
- tableIndex = this.readVarUint32() >>> 0;
2484
- destinationIndex = this.readVarUint32() >>> 0;
2483
+ tableIndex = this.readVarUint32();
2484
+ destinationIndex = this.readVarUint32();
2485
2485
  break;
2486
2486
  case 64527 /* table_grow */:
2487
2487
  case 64528 /* table_size */:
2488
2488
  case 64529 /* table_fill */:
2489
- tableIndex = this.readVarUint32() >>> 0;
2489
+ tableIndex = this.readVarUint32();
2490
2490
  break;
2491
2491
  case 64520 /* memory_init */:
2492
- segmentIndex = this.readVarUint32() >>> 0;
2492
+ segmentIndex = this.readVarUint32();
2493
2493
  reserved = this.readVarUint1();
2494
2494
  break;
2495
2495
  case 64521 /* data_drop */:
2496
2496
  case 64525 /* elem_drop */:
2497
- segmentIndex = this.readVarUint32() >>> 0;
2497
+ segmentIndex = this.readVarUint32();
2498
2498
  break;
2499
2499
  default:
2500
2500
  this.error = new Error("Unknown operator: 0x" + code.toString(16).padStart(4, "0"));
@@ -2983,10 +2983,10 @@ var BinaryReader = /** @class */ (function () {
2983
2983
  case 13 /* br_if */:
2984
2984
  case 212 /* br_on_null */:
2985
2985
  case 214 /* br_on_non_null */:
2986
- brDepth = this.readVarUint32() >>> 0;
2986
+ brDepth = this.readVarUint32();
2987
2987
  break;
2988
2988
  case 14 /* br_table */:
2989
- var tableCount = this.readVarUint32() >>> 0;
2989
+ var tableCount = this.readVarUint32();
2990
2990
  if (!this.hasBytes(tableCount + 1)) {
2991
2991
  // We need at least (tableCount + 1) bytes
2992
2992
  this._pos = pos;
@@ -2999,12 +2999,12 @@ var BinaryReader = /** @class */ (function () {
2999
2999
  this._pos = pos;
3000
3000
  return false;
3001
3001
  }
3002
- brTable.push(this.readVarUint32() >>> 0);
3002
+ brTable.push(this.readVarUint32());
3003
3003
  }
3004
3004
  break;
3005
3005
  case 9 /* rethrow */:
3006
3006
  case 24 /* delegate */:
3007
- relativeDepth = this.readVarUint32() >>> 0;
3007
+ relativeDepth = this.readVarUint32();
3008
3008
  break;
3009
3009
  case 7 /* catch */:
3010
3010
  case 8 /* throw */:
@@ -3016,25 +3016,25 @@ var BinaryReader = /** @class */ (function () {
3016
3016
  case 16 /* call */:
3017
3017
  case 18 /* return_call */:
3018
3018
  case 210 /* ref_func */:
3019
- funcIndex = this.readVarUint32() >>> 0;
3019
+ funcIndex = this.readVarUint32();
3020
3020
  break;
3021
3021
  case 17 /* call_indirect */:
3022
3022
  case 19 /* return_call_indirect */:
3023
- typeIndex = this.readVarUint32() >>> 0;
3023
+ typeIndex = this.readVarUint32();
3024
3024
  reserved = this.readVarUint1();
3025
3025
  break;
3026
3026
  case 32 /* local_get */:
3027
3027
  case 33 /* local_set */:
3028
3028
  case 34 /* local_tee */:
3029
- localIndex = this.readVarUint32() >>> 0;
3029
+ localIndex = this.readVarUint32();
3030
3030
  break;
3031
3031
  case 35 /* global_get */:
3032
3032
  case 36 /* global_set */:
3033
- globalIndex = this.readVarUint32() >>> 0;
3033
+ globalIndex = this.readVarUint32();
3034
3034
  break;
3035
3035
  case 37 /* table_get */:
3036
3036
  case 38 /* table_set */:
3037
- tableIndex = this.readVarUint32() >>> 0;
3037
+ tableIndex = this.readVarUint32();
3038
3038
  break;
3039
3039
  case 40 /* i32_load */:
3040
3040
  case 41 /* i64_load */:
@@ -3292,20 +3292,20 @@ var BinaryReader = /** @class */ (function () {
3292
3292
  if (!this.hasVarIntBytes())
3293
3293
  return false;
3294
3294
  var pos = this._pos;
3295
- var size = this.readVarUint32() >>> 0;
3295
+ var size = this.readVarUint32();
3296
3296
  var bodyEnd = this._pos + size;
3297
3297
  if (!this.hasVarIntBytes()) {
3298
3298
  this._pos = pos;
3299
3299
  return false;
3300
3300
  }
3301
- var localCount = this.readVarUint32() >>> 0;
3301
+ var localCount = this.readVarUint32();
3302
3302
  var locals = [];
3303
3303
  for (var i = 0; i < localCount; i++) {
3304
3304
  if (!this.hasVarIntBytes()) {
3305
3305
  this._pos = pos;
3306
3306
  return false;
3307
3307
  }
3308
- var count = this.readVarUint32() >>> 0;
3308
+ var count = this.readVarUint32();
3309
3309
  if (!this.hasVarIntBytes()) {
3310
3310
  this._pos = pos;
3311
3311
  return false;
@@ -3349,7 +3349,7 @@ var BinaryReader = /** @class */ (function () {
3349
3349
  this._pos = sectionStart;
3350
3350
  return false;
3351
3351
  }
3352
- var payloadLength = this.readVarUint32() >>> 0;
3352
+ var payloadLength = this.readVarUint32();
3353
3353
  var name = null;
3354
3354
  var payloadEnd = this._pos + payloadLength;
3355
3355
  if (id == 0) {
@@ -3387,37 +3387,37 @@ var BinaryReader = /** @class */ (function () {
3387
3387
  case 1 /* Type */:
3388
3388
  if (!this.hasSectionPayload())
3389
3389
  return false;
3390
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3390
+ this._sectionEntriesLeft = this.readVarUint32();
3391
3391
  return this.readTypeEntry();
3392
3392
  case 2 /* Import */:
3393
3393
  if (!this.hasSectionPayload())
3394
3394
  return false;
3395
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3395
+ this._sectionEntriesLeft = this.readVarUint32();
3396
3396
  return this.readImportEntry();
3397
3397
  case 7 /* Export */:
3398
3398
  if (!this.hasSectionPayload())
3399
3399
  return false;
3400
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3400
+ this._sectionEntriesLeft = this.readVarUint32();
3401
3401
  return this.readExportEntry();
3402
3402
  case 3 /* Function */:
3403
3403
  if (!this.hasSectionPayload())
3404
3404
  return false;
3405
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3405
+ this._sectionEntriesLeft = this.readVarUint32();
3406
3406
  return this.readFunctionEntry();
3407
3407
  case 4 /* Table */:
3408
3408
  if (!this.hasSectionPayload())
3409
3409
  return false;
3410
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3410
+ this._sectionEntriesLeft = this.readVarUint32();
3411
3411
  return this.readTableEntry();
3412
3412
  case 5 /* Memory */:
3413
3413
  if (!this.hasSectionPayload())
3414
3414
  return false;
3415
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3415
+ this._sectionEntriesLeft = this.readVarUint32();
3416
3416
  return this.readMemoryEntry();
3417
3417
  case 6 /* Global */:
3418
3418
  if (!this.hasVarIntBytes())
3419
3419
  return false;
3420
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3420
+ this._sectionEntriesLeft = this.readVarUint32();
3421
3421
  return this.readGlobalEntry();
3422
3422
  case 8 /* Start */:
3423
3423
  if (!this.hasVarIntBytes())
@@ -3428,23 +3428,23 @@ var BinaryReader = /** @class */ (function () {
3428
3428
  case 10 /* Code */:
3429
3429
  if (!this.hasVarIntBytes())
3430
3430
  return false;
3431
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3431
+ this._sectionEntriesLeft = this.readVarUint32();
3432
3432
  this.state = 29 /* READING_FUNCTION_HEADER */;
3433
3433
  return this.readFunctionBody();
3434
3434
  case 9 /* Element */:
3435
3435
  if (!this.hasVarIntBytes())
3436
3436
  return false;
3437
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3437
+ this._sectionEntriesLeft = this.readVarUint32();
3438
3438
  return this.readElementEntry();
3439
3439
  case 11 /* Data */:
3440
3440
  if (!this.hasVarIntBytes())
3441
3441
  return false;
3442
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3442
+ this._sectionEntriesLeft = this.readVarUint32();
3443
3443
  return this.readDataEntry();
3444
3444
  case 13 /* Event */:
3445
3445
  if (!this.hasVarIntBytes())
3446
3446
  return false;
3447
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3447
+ this._sectionEntriesLeft = this.readVarUint32();
3448
3448
  return this.readEventEntry();
3449
3449
  case 0 /* Custom */:
3450
3450
  var customSectionName = exports.bytesToString(currentSection.name);
@@ -3457,7 +3457,7 @@ var BinaryReader = /** @class */ (function () {
3457
3457
  if (customSectionName === "linking") {
3458
3458
  if (!this.hasVarIntBytes())
3459
3459
  return false;
3460
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3460
+ this._sectionEntriesLeft = this.readVarUint32();
3461
3461
  return this.readLinkingEntry();
3462
3462
  }
3463
3463
  if (customSectionName === "sourceMappingURL") {
@@ -3605,7 +3605,7 @@ var BinaryReader = /** @class */ (function () {
3605
3605
  case 41 /* RELOC_SECTION_HEADER */:
3606
3606
  if (!this.hasVarIntBytes())
3607
3607
  return false;
3608
- this._sectionEntriesLeft = this.readVarUint32() >>> 0;
3608
+ this._sectionEntriesLeft = this.readVarUint32();
3609
3609
  return this.readRelocEntry();
3610
3610
  case 21 /* LINKING_SECTION_ENTRY */:
3611
3611
  return this.readLinkingEntry();