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
@@ -45,6 +45,7 @@ grd_files_release_sources = [
45
45
  "front_end/Images/chromeRight.avif",
46
46
  "front_end/Images/chromeSelect.svg",
47
47
  "front_end/Images/chromeSelectDark.svg",
48
+ "front_end/Images/circled_exclamation_icon.svg",
48
49
  "front_end/Images/close-icon.svg",
49
50
  "front_end/Images/copy_icon.svg",
50
51
  "front_end/Images/cssoverview_icons_2x.avif",
@@ -430,6 +431,7 @@ grd_files_release_sources = [
430
431
  "front_end/panels/web_audio/web_audio.js",
431
432
  "front_end/panels/webauthn/webauthn-meta.js",
432
433
  "front_end/panels/webauthn/webauthn.js",
434
+ "front_end/services/window_bounds/window_bounds.js",
433
435
  "front_end/third_party/acorn-loose/acorn-loose.js",
434
436
  "front_end/third_party/acorn/acorn.js",
435
437
  "front_end/third_party/chromium/client-variations/client-variations.js",
@@ -1258,6 +1260,7 @@ grd_files_debug_sources = [
1258
1260
  "front_end/panels/web_audio/webAudio.css.js",
1259
1261
  "front_end/panels/webauthn/WebauthnPane.js",
1260
1262
  "front_end/panels/webauthn/webauthnPane.css.js",
1263
+ "front_end/services/window_bounds/WindowBoundsService.js",
1261
1264
  "front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs",
1262
1265
  "front_end/third_party/acorn/package/dist/acorn.mjs",
1263
1266
  "front_end/third_party/chromium/client-variations/ClientVariations.js",
@@ -1306,6 +1309,7 @@ grd_files_debug_sources = [
1306
1309
  "front_end/third_party/lit-html/package/directives/class-map.js",
1307
1310
  "front_end/third_party/lit-html/package/directives/if-defined.js",
1308
1311
  "front_end/third_party/lit-html/package/directives/live.js",
1312
+ "front_end/third_party/lit-html/package/directives/private-async-helpers.js",
1309
1313
  "front_end/third_party/lit-html/package/directives/repeat.js",
1310
1314
  "front_end/third_party/lit-html/package/directives/style-map.js",
1311
1315
  "front_end/third_party/lit-html/package/directives/until.js",
@@ -56,6 +56,7 @@ devtools_svg_sources = [
56
56
  "chevrons.svg",
57
57
  "chromeSelect.svg",
58
58
  "chromeSelectDark.svg",
59
+ "circled_exclamation_icon.svg",
59
60
  "close-icon.svg",
60
61
  "copy_icon.svg",
61
62
  "dropdown_7x6_icon.svg",
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 4.233 4.233" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.25 10.25h1.5v1.5h-1.5zm0-6h1.5v4.5h-1.5ZM7.992.5C3.853.5.5 3.86.5 8c0 4.14 3.353 7.5 7.492 7.5 4.148 0 7.508-3.36 7.508-7.5 0-4.14-3.36-7.5-7.508-7.5ZM8 14c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" transform="scale(.26458)" style="fill:#000"/>
3
+ </svg>
@@ -123,7 +123,7 @@ export class ParsedURL {
123
123
  return rawPath as Platform.DevToolsPath.UrlString;
124
124
  }
125
125
 
126
- static capFilePrefix(fileURL: Platform.DevToolsPath.RawPathString, isWindows?: boolean):
126
+ static capFilePrefix(fileURL: Platform.DevToolsPath.UrlString, isWindows?: boolean):
127
127
  Platform.DevToolsPath.RawPathString {
128
128
  console.assert(fileURL.startsWith('file://'), 'This must be a file URL.');
129
129
  if (isWindows) {
@@ -598,6 +598,7 @@ export const DevtoolsExperiments: {
598
598
  'timelineEventInitiators': 24,
599
599
  'timelineInvalidationTracking': 26,
600
600
  'timelineShowAllEvents': 27,
601
+ 'timelineV8RuntimeCallStats': 28,
601
602
  'timelineWebGL': 29,
602
603
  'timelineReplayEvent': 30,
603
604
  'wasmDWARFDebugging': 31,
@@ -616,7 +617,8 @@ export const DevtoolsExperiments: {
616
617
  'syncSettings': 50,
617
618
  'groupAndHideIssuesByKind': 51,
618
619
  'cssTypeComponentLength': 52,
619
- '__lastValidEnumPosition': 52,
620
+ 'preciseChanges': 53,
621
+ '__lastValidEnumPosition': 53,
620
622
  };
621
623
 
622
624
  export const IssueExpanded: {
@@ -182,12 +182,15 @@ export function getLocalizedLanguageRegion(
182
182
  devtoolsLocale: DevToolsLocale): Platform.UIString.LocalizedString {
183
183
  // @ts-ignore TODO(crbug.com/1163928) Wait for Intl support.
184
184
  const locale = new Intl.Locale(localeString);
185
+ Platform.DCHECK(() => locale.language !== undefined);
186
+ Platform.DCHECK(() => locale.baseName !== undefined);
187
+ const localLanguage = locale.language || 'en';
188
+ const localBaseName = locale.baseName || 'en-US';
185
189
  // @ts-ignore TODO(crbug.com/1163928) Wait for Intl support.
186
190
  const devtoolsLoc = new Intl.Locale(devtoolsLocale.locale);
187
- const targetLanguage = locale.language === devtoolsLoc.language ? 'en' : locale.baseName;
188
- const languageInCurrentLocale =
189
- new Intl.DisplayNames([devtoolsLocale.locale], {type: 'language'}).of(locale.language);
190
- const languageInTargetLocale = new Intl.DisplayNames([targetLanguage], {type: 'language'}).of(locale.language);
191
+ const targetLanguage = localLanguage === devtoolsLoc.language ? 'en' : localBaseName;
192
+ const languageInCurrentLocale = new Intl.DisplayNames([devtoolsLocale.locale], {type: 'language'}).of(localLanguage);
193
+ const languageInTargetLocale = new Intl.DisplayNames([targetLanguage], {type: 'language'}).of(localLanguage);
191
194
 
192
195
  let wrappedRegionInCurrentLocale = '';
193
196
  let wrappedRegionInTargetLocale = '';
@@ -2417,51 +2417,6 @@
2417
2417
  "panels/application/BackForwardCacheStrings.ts | documentLoaded": {
2418
2418
  "message": "The document did not finish loading before navigating away."
2419
2419
  },
2420
- "panels/application/BackForwardCacheStrings.ts | embedderAppBannerManager": {
2421
- "message": "EmbedderAppBannerManager"
2422
- },
2423
- "panels/application/BackForwardCacheStrings.ts | embedderChromePasswordManagerClientBindCredentialManager": {
2424
- "message": "EmbedderChromePasswordManagerClientBindCredentialManager"
2425
- },
2426
- "panels/application/BackForwardCacheStrings.ts | embedderDomDistillerSelfDeletingRequestDelegate": {
2427
- "message": "EmbedderDomDistillerSelfDeletingRequestDelegate"
2428
- },
2429
- "panels/application/BackForwardCacheStrings.ts | embedderDomDistillerViewerSource": {
2430
- "message": "EmbedderDomDistillerViewerSource"
2431
- },
2432
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionMessaging": {
2433
- "message": "EmbedderExtensionMessaging"
2434
- },
2435
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionMessagingForOpenPort": {
2436
- "message": "EmbedderExtensionMessagingForOpenPort"
2437
- },
2438
- "panels/application/BackForwardCacheStrings.ts | embedderExtensions": {
2439
- "message": "EmbedderExtensions"
2440
- },
2441
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionSentMessageToCachedFrame": {
2442
- "message": "EmbedderExtensionSentMessageToCachedFrame"
2443
- },
2444
- "panels/application/BackForwardCacheStrings.ts | embedderModalDialog": {
2445
- "message": "EmbedderModalDialog"
2446
- },
2447
- "panels/application/BackForwardCacheStrings.ts | embedderOfflinePage": {
2448
- "message": "EmbedderOfflinePage"
2449
- },
2450
- "panels/application/BackForwardCacheStrings.ts | embedderOomInterventionTabHelper": {
2451
- "message": "EmbedderOomInterventionTabHelper"
2452
- },
2453
- "panels/application/BackForwardCacheStrings.ts | embedderPermissionRequestManager": {
2454
- "message": "EmbedderPermissionRequestManager"
2455
- },
2456
- "panels/application/BackForwardCacheStrings.ts | embedderPopupBlockerTabHelper": {
2457
- "message": "EmbedderPopupBlockerTabHelper"
2458
- },
2459
- "panels/application/BackForwardCacheStrings.ts | embedderSafeBrowsingThreatDetails": {
2460
- "message": "EmbedderSafeBrowsingThreatDetails"
2461
- },
2462
- "panels/application/BackForwardCacheStrings.ts | embedderSafeBrowsingTriggeredPopupBlocker": {
2463
- "message": "EmbedderSafeBrowsingTriggeredPopupBlocker"
2464
- },
2465
2420
  "panels/application/BackForwardCacheStrings.ts | enteredBackForwardCacheBeforeServiceWorkerHostAdded": {
2466
2421
  "message": "A service worker was activated while the page was in back/forward cache."
2467
2422
  },
@@ -2849,15 +2804,9 @@
2849
2804
  "panels/application/components/FrameDetailsView.ts | creationStackTraceExplanation": {
2850
2805
  "message": "This frame was created programmatically. The stack trace shows where this happened."
2851
2806
  },
2852
- "panels/application/components/FrameDetailsView.ts | crossoriginEmbedderPolicy": {
2853
- "message": "Cross-Origin Embedder Policy"
2854
- },
2855
2807
  "panels/application/components/FrameDetailsView.ts | crossoriginIsolated": {
2856
2808
  "message": "Cross-Origin Isolated"
2857
2809
  },
2858
- "panels/application/components/FrameDetailsView.ts | crossoriginOpenerPolicy": {
2859
- "message": "Cross-Origin Opener Policy"
2860
- },
2861
2810
  "panels/application/components/FrameDetailsView.ts | document": {
2862
2811
  "message": "Document"
2863
2812
  },
@@ -2879,12 +2828,6 @@
2879
2828
  "panels/application/components/FrameDetailsView.ts | no": {
2880
2829
  "message": "No"
2881
2830
  },
2882
- "panels/application/components/FrameDetailsView.ts | origin": {
2883
- "message": "Origin"
2884
- },
2885
- "panels/application/components/FrameDetailsView.ts | originTrials": {
2886
- "message": "Origin Trials"
2887
- },
2888
2831
  "panels/application/components/FrameDetailsView.ts | ownerElement": {
2889
2832
  "message": "Owner Element"
2890
2833
  },
@@ -2936,9 +2879,6 @@
2936
2879
  "panels/application/components/FrameDetailsView.ts | unreachableUrl": {
2937
2880
  "message": "Unreachable URL"
2938
2881
  },
2939
- "panels/application/components/FrameDetailsView.ts | url": {
2940
- "message": "URL"
2941
- },
2942
2882
  "panels/application/components/FrameDetailsView.ts | willRequireCrossoriginIsolated": {
2943
2883
  "message": "⚠️ will require cross-origin isolated context in the future"
2944
2884
  },
@@ -11570,6 +11510,9 @@
11570
11510
  "ui/legacy/components/cookie_table/CookiesTable.ts | name": {
11571
11511
  "message": "Name"
11572
11512
  },
11513
+ "ui/legacy/components/cookie_table/CookiesTable.ts | opaquePartitionKey": {
11514
+ "message": "(opaque)"
11515
+ },
11573
11516
  "ui/legacy/components/cookie_table/CookiesTable.ts | session": {
11574
11517
  "message": "Session"
11575
11518
  },
@@ -2417,51 +2417,6 @@
2417
2417
  "panels/application/BackForwardCacheStrings.ts | documentLoaded": {
2418
2418
  "message": "T̂h́ê d́ôćûḿêńt̂ d́îd́ n̂ót̂ f́îńîśĥ ĺôád̂ín̂ǵ b̂éf̂ór̂é n̂áv̂íĝát̂ín̂ǵ âẃâý."
2419
2419
  },
2420
- "panels/application/BackForwardCacheStrings.ts | embedderAppBannerManager": {
2421
- "message": "Êḿb̂éd̂d́êŕÂṕp̂B́âńn̂ér̂Ḿâńâǵêŕ"
2422
- },
2423
- "panels/application/BackForwardCacheStrings.ts | embedderChromePasswordManagerClientBindCredentialManager": {
2424
- "message": "Êḿb̂éd̂d́êŕĈh́r̂óm̂éP̂áŝśŵór̂d́M̂án̂áĝér̂Ćl̂íêńt̂B́îńd̂Ćr̂éd̂én̂t́îál̂Ḿâńâǵêŕ"
2425
- },
2426
- "panels/application/BackForwardCacheStrings.ts | embedderDomDistillerSelfDeletingRequestDelegate": {
2427
- "message": "Êḿb̂éd̂d́êŕD̂óm̂D́îśt̂íl̂ĺêŕŜél̂f́D̂él̂ét̂ín̂ǵR̂éq̂úêśt̂D́êĺêǵât́ê"
2428
- },
2429
- "panels/application/BackForwardCacheStrings.ts | embedderDomDistillerViewerSource": {
2430
- "message": "Êḿb̂éd̂d́êŕD̂óm̂D́îśt̂íl̂ĺêŕV̂íêẃêŕŜóûŕĉé"
2431
- },
2432
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionMessaging": {
2433
- "message": "Êḿb̂éd̂d́êŕÊx́t̂én̂śîón̂Ḿêśŝáĝín̂ǵ"
2434
- },
2435
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionMessagingForOpenPort": {
2436
- "message": "Êḿb̂éd̂d́êŕÊx́t̂én̂śîón̂Ḿêśŝáĝín̂ǵF̂ór̂Óp̂én̂Ṕôŕt̂"
2437
- },
2438
- "panels/application/BackForwardCacheStrings.ts | embedderExtensions": {
2439
- "message": "Êḿb̂éd̂d́êŕÊx́t̂én̂śîón̂ś"
2440
- },
2441
- "panels/application/BackForwardCacheStrings.ts | embedderExtensionSentMessageToCachedFrame": {
2442
- "message": "Êḿb̂éd̂d́êŕÊx́t̂én̂śîón̂Śêńt̂ḾêśŝáĝéT̂óĈáĉh́êd́F̂ŕâḿê"
2443
- },
2444
- "panels/application/BackForwardCacheStrings.ts | embedderModalDialog": {
2445
- "message": "Êḿb̂éd̂d́êŕM̂ód̂ál̂D́îál̂óĝ"
2446
- },
2447
- "panels/application/BackForwardCacheStrings.ts | embedderOfflinePage": {
2448
- "message": "Êḿb̂éd̂d́êŕÔf́f̂ĺîńêṔâǵê"
2449
- },
2450
- "panels/application/BackForwardCacheStrings.ts | embedderOomInterventionTabHelper": {
2451
- "message": "Êḿb̂éd̂d́êŕÔóm̂Ín̂t́êŕv̂én̂t́îón̂T́âb́Ĥél̂ṕêŕ"
2452
- },
2453
- "panels/application/BackForwardCacheStrings.ts | embedderPermissionRequestManager": {
2454
- "message": "Êḿb̂éd̂d́êŕP̂ér̂ḿîśŝíôńR̂éq̂úêśt̂Ḿâńâǵêŕ"
2455
- },
2456
- "panels/application/BackForwardCacheStrings.ts | embedderPopupBlockerTabHelper": {
2457
- "message": "Êḿb̂éd̂d́êŕP̂óp̂úp̂B́l̂óĉḱêŕT̂áb̂H́êĺp̂ér̂"
2458
- },
2459
- "panels/application/BackForwardCacheStrings.ts | embedderSafeBrowsingThreatDetails": {
2460
- "message": "Êḿb̂éd̂d́êŕŜáf̂éB̂ŕôẃŝín̂ǵT̂h́r̂éât́D̂ét̂áîĺŝ"
2461
- },
2462
- "panels/application/BackForwardCacheStrings.ts | embedderSafeBrowsingTriggeredPopupBlocker": {
2463
- "message": "Êḿb̂éd̂d́êŕŜáf̂éB̂ŕôẃŝín̂ǵT̂ŕîǵĝér̂éd̂ṔôṕûṕB̂ĺôćk̂ér̂"
2464
- },
2465
2420
  "panels/application/BackForwardCacheStrings.ts | enteredBackForwardCacheBeforeServiceWorkerHostAdded": {
2466
2421
  "message": "Â śêŕv̂íĉé ŵór̂ḱêŕ ŵáŝ áĉt́îv́ât́êd́ ŵh́îĺê t́ĥé p̂áĝé ŵáŝ ín̂ b́âćk̂/f́ôŕŵár̂d́ ĉáĉh́ê."
2467
2422
  },
@@ -2811,7 +2766,7 @@
2811
2766
  "message": "ÂṔÎ áv̂áîĺâb́îĺît́ŷ"
2812
2767
  },
2813
2768
  "panels/application/components/FrameDetailsView.ts | availabilityOfCertainApisDepends": {
2814
- "message": "Âv́âíl̂áb̂íl̂ít̂ý ôf́ ĉér̂t́âín̂ ÁP̂Íŝ d́êṕêńd̂ś ôń t̂h́ê d́ôćûḿêńt̂ b́êín̂ǵ ĉŕôŝ-ór̂íĝín̂ íŝól̂át̂éd̂."
2769
+ "message": "Âv́âíl̂áb̂íl̂ít̂ý ôf́ ĉér̂t́âín̂ ÁP̂Íŝ d́êṕêńd̂ś ôń t̂h́ê d́ôćûḿêńt̂ b́êín̂ǵ cross-origin îśôĺât́êd́."
2815
2770
  },
2816
2771
  "panels/application/components/FrameDetailsView.ts | available": {
2817
2772
  "message": "âv́âíl̂áb̂ĺê"
@@ -2841,22 +2796,16 @@
2841
2796
  "message": "Ĉĺîćk̂ t́ô ŕêv́êál̂ ín̂ Śôúr̂ćêś p̂án̂él̂"
2842
2797
  },
2843
2798
  "panels/application/components/FrameDetailsView.ts | createdByAdScriptExplanation": {
2844
- "message": "T̂h́êŕê ẃâś âń âd́ ŝćr̂íp̂t́ îń t̂h́ê (áŝýn̂ć) ŝt́âćk̂ ẃĥén̂ t́ĥíŝ f́r̂ám̂é ŵáŝ ćr̂éât́êd́. Êx́âḿîńîńĝ t́ĥé ĉŕêát̂íôń ŝt́âćk̂ t́r̂áĉé ôf́ t̂h́îś f̂ŕâḿê ḿîǵĥt́ p̂ŕôv́îd́ê ḿôŕê ín̂śîǵĥt́."
2799
+ "message": "T̂h́êŕê ẃâś âń âd́ ŝćr̂íp̂t́ îń t̂h́ê (async) stack ẃĥén̂ t́ĥíŝ f́r̂ám̂é ŵáŝ ćr̂éât́êd́. Êx́âḿîńîńĝ t́ĥé ĉŕêát̂íôń stack trace ôf́ t̂h́îś f̂ŕâḿê ḿîǵĥt́ p̂ŕôv́îd́ê ḿôŕê ín̂śîǵĥt́."
2845
2800
  },
2846
2801
  "panels/application/components/FrameDetailsView.ts | creationStackTrace": {
2847
- "message": "F̂ŕâḿê Ćr̂éât́îón̂ Śt̂áĉḱ T̂ŕâćê"
2802
+ "message": "F̂ŕâḿê Ćr̂éât́îón̂ Stack Trace"
2848
2803
  },
2849
2804
  "panels/application/components/FrameDetailsView.ts | creationStackTraceExplanation": {
2850
- "message": "T̂h́îś f̂ŕâḿê ẃâś ĉŕêát̂éd̂ ṕr̂óĝŕâḿm̂át̂íĉál̂ĺŷ. T́ĥé ŝt́âćk̂ t́r̂áĉé ŝh́ôẃŝ ẃĥér̂é t̂h́îś ĥáp̂ṕêńêd́."
2851
- },
2852
- "panels/application/components/FrameDetailsView.ts | crossoriginEmbedderPolicy": {
2853
- "message": "Ĉŕôśŝ-Ór̂íĝín̂ Ém̂b́êd́d̂ér̂ Ṕôĺîćŷ"
2805
+ "message": "T̂h́îś f̂ŕâḿê ẃâś ĉŕêát̂éd̂ ṕr̂óĝŕâḿm̂át̂íĉál̂ĺŷ. T́ĥé stack trace ŝh́ôẃŝ ẃĥér̂é t̂h́îś ĥáp̂ṕêńêd́."
2854
2806
  },
2855
2807
  "panels/application/components/FrameDetailsView.ts | crossoriginIsolated": {
2856
- "message": "Ĉŕôśŝ-Ór̂íĝín̂ Íŝól̂át̂éd̂"
2857
- },
2858
- "panels/application/components/FrameDetailsView.ts | crossoriginOpenerPolicy": {
2859
- "message": "Ĉŕôśŝ-Ór̂íĝín̂ Óp̂én̂ér̂ Ṕôĺîćŷ"
2808
+ "message": "Cross-Origin Îśôĺât́êd́"
2860
2809
  },
2861
2810
  "panels/application/components/FrameDetailsView.ts | document": {
2862
2811
  "message": "D̂óĉúm̂én̂t́"
@@ -2868,7 +2817,7 @@
2868
2817
  "message": "L̂éâŕn̂ ḿôŕê"
2869
2818
  },
2870
2819
  "panels/application/components/FrameDetailsView.ts | localhostIsAlwaysASecureContext": {
2871
- "message": "L̂óĉál̂h́ôśt̂ ŝ ál̂ẃâýŝ á ŝéĉúr̂ ĉón̂êx́t̂"
2820
+ "message": "Localhost îś âĺŵáŷś â śêćûŕê ćôńt̂éx̂t́"
2872
2821
  },
2873
2822
  "panels/application/components/FrameDetailsView.ts | matchedBlockingRuleExplanation": {
2874
2823
  "message": "T̂h́îś f̂ŕâḿê íŝ ćôńŝíd̂ér̂éd̂ án̂ ád̂ f́r̂ám̂é b̂éĉáûśê ít̂ś ĉúr̂ŕêńt̂ (ór̂ ṕr̂év̂íôúŝ) ḿâín̂ d́ôćûḿêńt̂ íŝ án̂ ád̂ ŕêśôúr̂ćê."
@@ -2879,12 +2828,6 @@
2879
2828
  "panels/application/components/FrameDetailsView.ts | no": {
2880
2829
  "message": "N̂ó"
2881
2830
  },
2882
- "panels/application/components/FrameDetailsView.ts | origin": {
2883
- "message": "Ôŕîǵîń"
2884
- },
2885
- "panels/application/components/FrameDetailsView.ts | originTrials": {
2886
- "message": "Ôŕîǵîń T̂ŕîál̂ś"
2887
- },
2888
2831
  "panels/application/components/FrameDetailsView.ts | ownerElement": {
2889
2832
  "message": "Ôẃn̂ér̂ Él̂ém̂én̂t́"
2890
2833
  },
@@ -2895,7 +2838,7 @@
2895
2838
  "message": "r̂ép̂ór̂t́îńĝ t́ô"
2896
2839
  },
2897
2840
  "panels/application/components/FrameDetailsView.ts | requiresCrossoriginIsolated": {
2898
- "message": "r̂éq̂úîŕêś ĉŕôśŝ-ór̂íĝí íŝól̂áéd̂ ćôńéx̂t́"
2841
+ "message": "r̂éq̂úîŕêś cross-origin îśôĺât́êd́ ĉón̂t́êx́t̂"
2899
2842
  },
2900
2843
  "panels/application/components/FrameDetailsView.ts | root": {
2901
2844
  "message": "r̂óôt́"
@@ -2910,19 +2853,19 @@
2910
2853
  "message": "Ŝéĉúr̂ít̂ý & Îśôĺât́îón̂"
2911
2854
  },
2912
2855
  "panels/application/components/FrameDetailsView.ts | sharedarraybufferConstructorIs": {
2913
- "message": "Ŝh́âŕêd́Âr̂áŷB́f́f̂ér̂ ćôńt́r̂úĉt́ôŕ ś v́âíáb̂ĺêd́ ŜÁB̂śár̂án̂śf̂ér̂ŕê v̂íâ ṕôśt̂Ḿêśŝĝé"
2856
+ "message": "SharedArrayBuffer ĉón̂śt̂ŕûćt̂ór̂ íŝ áv̂áîĺâb́l̂é âńd̂ SABs ćâń b̂é t̂ŕâńŝf́êŕr̂éd̂ v́îá postMessage"
2914
2857
  },
2915
2858
  "panels/application/components/FrameDetailsView.ts | sharedarraybufferConstructorIsAvailable": {
2916
- "message": "Ŝh́âŕêd́Âr̂áŷB́f́f̂ér̂ ćôńt́r̂úĉt́ôŕ îśv́âíl̂b̂ĺê ût́ ŜÁB̂án̂ńôŕâńŝf́êŕr̂é v́îá p̂óŝt́M̂éŝśǵê"
2859
+ "message": "SharedArrayBuffer ĉón̂śt̂ŕûćt̂ór̂ íŝ áv̂áîĺâb́l̂é b̂út̂ SABs ćâńn̂ót̂ b́ê t́r̂án̂śf̂ér̂ŕêd́ v̂íâ postMessage"
2917
2860
  },
2918
2861
  "panels/application/components/FrameDetailsView.ts | theFramesSchemeIsInsecure": {
2919
2862
  "message": "T̂h́ê f́r̂ám̂é'ŝ śĉh́êḿê íŝ ín̂śêćûŕê"
2920
2863
  },
2921
2864
  "panels/application/components/FrameDetailsView.ts | thePerformanceAPI": {
2922
- "message": "T̂h́ê ṕêŕf̂ór̂ḿâńĉé.m̂éâśûŕêÚŝér̂ĝén̂t́Ŝṕêćf́îćM̂ém̂ór̂ý() ÂṔÎ ŝ v̂áîâb́l̂é"
2865
+ "message": "T̂h́ê performance.measureUserAgentSpecificMemory() P̂Í ś âv́âíl̂áb̂ĺê"
2923
2866
  },
2924
2867
  "panels/application/components/FrameDetailsView.ts | thePerformancemeasureuseragentspecificmemory": {
2925
- "message": "T̂h́ê ṕêŕf̂ór̂ḿâńĉé.m̂éâûŕêÚŝér̂Áĝét́Ŝṕêćîf́îćM̂ém̂r̂ý() ÂṔíŝ ńôt́ v́âíáb̂ĺê"
2868
+ "message": "T̂h́ê performance.measureUserAgentSpecificMemory() ÁP̂Í îś n̂ót̂ áv̂áîĺâb́l̂é"
2926
2869
  },
2927
2870
  "panels/application/components/FrameDetailsView.ts | thisAdditionalDebugging": {
2928
2871
  "message": "T̂h́îś âd́d̂ít̂íôńâĺ (d̂éb̂úĝǵîńĝ) ín̂f́ôŕm̂át̂íôń îś ŝh́ôẃn̂ b́êćâúŝé t̂h́ê 'Ṕr̂ót̂óĉól̂ Ḿôńît́ôŕ' êx́p̂ér̂ím̂én̂t́ îś êńâb́l̂éd̂."
@@ -2936,11 +2879,8 @@
2936
2879
  "panels/application/components/FrameDetailsView.ts | unreachableUrl": {
2937
2880
  "message": "Ûńr̂éâćĥáb̂ĺê ÚR̂Ĺ"
2938
2881
  },
2939
- "panels/application/components/FrameDetailsView.ts | url": {
2940
- "message": "ÛŔL̂"
2941
- },
2942
2882
  "panels/application/components/FrameDetailsView.ts | willRequireCrossoriginIsolated": {
2943
- "message": "⚠️ ŵíl̂ĺ r̂éq̂úîŕê ćr̂óŝś-ôŕîǵî îśôĺât́êd́ ĉón̂t́êx́t̂ ín̂ ĥé f̂út̂úr̂"
2883
+ "message": "⚠️ ŵíl̂ĺ r̂éq̂úîŕê cross-origin íŝól̂át̂éd̂ ćôńt̂éx̂t́ îń t̂h́ê f́ût́ûŕê"
2944
2884
  },
2945
2885
  "panels/application/components/FrameDetailsView.ts | yes": {
2946
2886
  "message": "Ŷéŝ"
@@ -11570,6 +11510,9 @@
11570
11510
  "ui/legacy/components/cookie_table/CookiesTable.ts | name": {
11571
11511
  "message": "N̂ám̂é"
11572
11512
  },
11513
+ "ui/legacy/components/cookie_table/CookiesTable.ts | opaquePartitionKey": {
11514
+ "message": "(ôṕâq́ûé)"
11515
+ },
11573
11516
  "ui/legacy/components/cookie_table/CookiesTable.ts | session": {
11574
11517
  "message": "Ŝéŝśîón̂"
11575
11518
  },
@@ -14,6 +14,7 @@ export class NodeURL {
14
14
 
15
15
  function process(object: {url?: string}, path: string): void {
16
16
  if (object.url && NodeURL.isPlatformPath(object.url, Host.Platform.isWin())) {
17
+ // object.url can be ob both types: RawPathString and UrlString
17
18
  object.url = Common.ParsedURL.ParsedURL.rawPathToUrlString(object.url as Platform.DevToolsPath.RawPathString);
18
19
  }
19
20
  for (const entry of Object.entries(object)) {
@@ -567,7 +567,6 @@ const extraPropertyValues = {
567
567
  'ui-monospace',
568
568
  'ui-rounded',
569
569
  '-webkit-body',
570
- '-webkit-pictograph',
571
570
  ],
572
571
  },
573
572
  'zoom': {values: ['normal']},
@@ -4,7 +4,6 @@
4
4
 
5
5
  import * as TextUtils from '../../models/text_utils/text_utils.js';
6
6
  import * as Common from '../common/common.js';
7
- import type * as Platform from '../platform/platform.js';
8
7
  import * as i18n from '../i18n/i18n.js';
9
8
  import type * as Protocol from '../../generated/protocol.js';
10
9
 
@@ -147,8 +146,8 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
147
146
  }
148
147
 
149
148
  // TODO(crbug.com/1253323): Cast to RawPathString will be removed when migration to branded types is complete.
150
- contentURL(): Platform.DevToolsPath.RawPathString {
151
- return this.resourceURL() as Platform.DevToolsPath.RawPathString;
149
+ contentURL(): string {
150
+ return this.resourceURL();
152
151
  }
153
152
 
154
153
  contentType(): Common.ResourceType.ResourceType {
@@ -30,7 +30,6 @@
30
30
 
31
31
  import * as TextUtils from '../../models/text_utils/text_utils.js';
32
32
  import type * as Common from '../common/common.js';
33
- import type * as Platform from '../platform/platform.js';
34
33
  import * as i18n from '../i18n/i18n.js';
35
34
 
36
35
  import type {PageResourceLoadInitiator} from './PageResourceLoader.js';
@@ -60,8 +59,8 @@ export class CompilerSourceMappingContentProvider implements TextUtils.ContentPr
60
59
  }
61
60
 
62
61
  // TODO(crbug.com/1253323): Cast to RawPathString will be removed when migration to branded types is complete.
63
- contentURL(): Platform.DevToolsPath.RawPathString {
64
- return this.#sourceURL as Platform.DevToolsPath.RawPathString;
62
+ contentURL(): string {
63
+ return this.#sourceURL;
65
64
  }
66
65
 
67
66
  contentType(): Common.ResourceType.ResourceType {
@@ -4,6 +4,8 @@
4
4
 
5
5
  import type * as Protocol from '../../generated/protocol.js';
6
6
 
7
+ const OPAQUE_PARITION_KEY = '<opaque>';
8
+
7
9
  export class Cookie {
8
10
  readonly #nameInternal: string;
9
11
  readonly #valueInternal: string;
@@ -49,6 +51,12 @@ export class Cookie {
49
51
  if ('sourceScheme' in protocolCookie) {
50
52
  cookie.addAttribute('sourceScheme', protocolCookie.sourceScheme);
51
53
  }
54
+ if ('partitionKey' in protocolCookie) {
55
+ cookie.addAttribute('partitionKey', protocolCookie.partitionKey);
56
+ }
57
+ if ('partitionKeyOpaque' in protocolCookie) {
58
+ cookie.addAttribute('partitionKey', OPAQUE_PARITION_KEY);
59
+ }
52
60
  cookie.setSize(protocolCookie['size']);
53
61
  return cookie;
54
62
  }
@@ -87,6 +95,14 @@ export class Cookie {
87
95
  return 'sameparty' in this.#attributes;
88
96
  }
89
97
 
98
+ partitionKey(): string {
99
+ return this.#attributes['partitionkey'] as string;
100
+ }
101
+
102
+ partitionKeyOpaque(): boolean {
103
+ return (this.#attributes['partitionkey'] === OPAQUE_PARITION_KEY);
104
+ }
105
+
90
106
  priority(): Protocol.Network.CookiePriority {
91
107
  return this.#priorityInternal;
92
108
  }
@@ -245,6 +261,7 @@ export enum Attributes {
245
261
  SourceScheme = 'sourceScheme',
246
262
  SourcePort = 'sourcePort',
247
263
  Priority = 'priority',
264
+ PartitionKey = 'partitionKey',
248
265
  }
249
266
 
250
267
  /**
@@ -91,6 +91,7 @@ export class CookieModel extends SDKModel<void> {
91
91
  expires,
92
92
  priority: cookie.priority(),
93
93
  sameParty: cookie.sameParty(),
94
+ partitionKey: cookie.partitionKey(),
94
95
  sourceScheme: enabled ? cookie.sourceScheme() : preserveUnset(cookie.sourceScheme()),
95
96
  sourcePort: enabled ? cookie.sourcePort() : undefined,
96
97
  };
@@ -418,13 +418,14 @@ export class DebuggerModel extends SDKModel<EventTypes> {
418
418
  return this.agent.invoke_pauseOnAsyncCall({parentStackTraceId: parentStackTraceId});
419
419
  }
420
420
 
421
- async setBreakpointByURL(
422
- url: Platform.DevToolsPath.RawPathString, lineNumber: number, columnNumber?: number,
423
- condition?: string): Promise<SetBreakpointResult> {
421
+ async setBreakpointByURL(url: string, lineNumber: number, columnNumber?: number, condition?: string):
422
+ Promise<SetBreakpointResult> {
424
423
  // Convert file url to node-js path.
425
424
  let urlRegex;
426
425
  if (this.target().type() === Type.Node && url.startsWith('file://')) {
427
- const platformPath = Common.ParsedURL.ParsedURL.capFilePrefix(url, Host.Platform.isWin());
426
+ // TODO(crbug.com/1253323): Cast to UrlString will be removed when migration to branded types is complete.
427
+ const platformPath =
428
+ Common.ParsedURL.ParsedURL.capFilePrefix(url as Platform.DevToolsPath.UrlString, Host.Platform.isWin());
428
429
  urlRegex =
429
430
  `${Platform.StringUtilities.escapeForRegExp(platformPath)}|${Platform.StringUtilities.escapeForRegExp(url)}`;
430
431
  }
@@ -305,6 +305,7 @@ export enum Events {
305
305
  LoadingFinished = 'LoadingFinished',
306
306
  ReportingApiReportAdded = 'ReportingApiReportAdded',
307
307
  ReportingApiReportUpdated = 'ReportingApiReportUpdated',
308
+ ReportingApiEndpointsChangedForOrigin = 'ReportingApiEndpointsChangedForOrigin',
308
309
  }
309
310
 
310
311
  export interface RequestStartedEvent {
@@ -334,6 +335,7 @@ export type EventTypes = {
334
335
  [Events.LoadingFinished]: NetworkRequest,
335
336
  [Events.ReportingApiReportAdded]: Protocol.Network.ReportingApiReport,
336
337
  [Events.ReportingApiReportUpdated]: Protocol.Network.ReportingApiReport,
338
+ [Events.ReportingApiEndpointsChangedForOrigin]: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent,
337
339
  };
338
340
 
339
341
  export const NoThrottlingConditions: Conditions = {
@@ -1044,7 +1046,8 @@ export class NetworkDispatcher implements ProtocolProxyApi.NetworkDispatcher {
1044
1046
  this.#manager.dispatchEventToListeners(Events.ReportingApiReportUpdated, data.report);
1045
1047
  }
1046
1048
 
1047
- reportingApiEndpointsChangedForOrigin(_data: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent): void {
1049
+ reportingApiEndpointsChangedForOrigin(data: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent): void {
1050
+ this.#manager.dispatchEventToListeners(Events.ReportingApiEndpointsChangedForOrigin, data);
1048
1051
  }
1049
1052
 
1050
1053
  /**
@@ -1176,8 +1176,8 @@ export class NetworkRequest extends Common.ObjectWrapper.ObjectWrapper<EventType
1176
1176
  }
1177
1177
 
1178
1178
  // TODO(crbug.com/1253323): Cast to RawPathString will be removed when migration to branded types is complete.
1179
- contentURL(): Platform.DevToolsPath.RawPathString {
1180
- return this.#urlInternal as Platform.DevToolsPath.RawPathString;
1179
+ contentURL(): string {
1180
+ return this.#urlInternal;
1181
1181
  }
1182
1182
 
1183
1183
  contentType(): Common.ResourceType.ResourceType {
@@ -152,8 +152,8 @@ export class Resource implements TextUtils.ContentProvider.ContentProvider {
152
152
  }
153
153
 
154
154
  // TODO(crbug.com/1253323): Cast to RawPathString will be removed when migration to branded types is complete.
155
- contentURL(): Platform.DevToolsPath.RawPathString {
156
- return this.#urlInternal as Platform.DevToolsPath.RawPathString;
155
+ contentURL(): string {
156
+ return this.#urlInternal;
157
157
  }
158
158
 
159
159
  contentType(): Common.ResourceType.ResourceType {
@@ -30,7 +30,6 @@
30
30
  import * as Protocol from '../../generated/protocol.js';
31
31
  import * as TextUtils from '../../models/text_utils/text_utils.js';
32
32
  import * as Common from '../common/common.js';
33
- import type * as Platform from '../platform/platform.js';
34
33
  import * as i18n from '../i18n/i18n.js';
35
34
 
36
35
  import type {DebuggerModel} from './DebuggerModel.js';
@@ -165,8 +164,8 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
165
164
  }
166
165
 
167
166
  // TODO(crbug.com/1253323): Cast to RawPathString will be removed when migration to branded types is complete.
168
- contentURL(): Platform.DevToolsPath.RawPathString {
169
- return this.sourceURL as Platform.DevToolsPath.RawPathString;
167
+ contentURL(): string {
168
+ return this.sourceURL;
170
169
  }
171
170
 
172
171
  contentType(): Common.ResourceType.ResourceType {
@@ -306,6 +306,8 @@ export class MainImpl {
306
306
  Root.Runtime.experiments.register('timelineEventInitiators', 'Timeline: event initiators');
307
307
  Root.Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: invalidation tracking', true);
308
308
  Root.Runtime.experiments.register('timelineShowAllEvents', 'Timeline: show all events', true);
309
+ Root.Runtime.experiments.register(
310
+ 'timelineV8RuntimeCallStats', 'Timeline: V8 Runtime Call Stats on Timeline', true);
309
311
  Root.Runtime.experiments.register('timelineWebGL', 'Timeline: WebGL-based flamechart');
310
312
  Root.Runtime.experiments.register('timelineReplayEvent', 'Timeline: Replay input events', true);
311
313
  Root.Runtime.experiments.register(
@@ -363,11 +365,15 @@ export class MainImpl {
363
365
  'Enable CSS <length> authoring tool in the Styles pane (https://goo.gle/length-feedback)', undefined,
364
366
  'https://developer.chrome.com/blog/new-in-devtools-96/#length');
365
367
 
368
+ // Display precise changes in the Changes tab.
369
+ Root.Runtime.experiments.register('preciseChanges', 'Display more precise changes in the Changes tab');
370
+
366
371
  Root.Runtime.experiments.enableExperimentsByDefault([
367
372
  'sourceOrderViewer',
368
373
  'hideIssuesFeature',
369
374
  'bfcacheDebugging',
370
375
  'cssTypeComponentLength',
376
+ 'preciseChanges',
371
377
  Root.Runtime.ExperimentName.SYNC_SETTINGS,
372
378
  ]);
373
379
 
@@ -10442,10 +10442,6 @@ declare namespace Protocol {
10442
10442
  * The fantasy font-family.
10443
10443
  */
10444
10444
  fantasy?: string;
10445
- /**
10446
- * The pictograph font-family.
10447
- */
10448
- pictograph?: string;
10449
10445
  }
10450
10446
 
10451
10447
  /**