@paulirish/trace_engine 0.0.65 → 0.0.66

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 (432) hide show
  1. package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
  2. package/core/platform/ArrayUtilities.d.ts +5 -0
  3. package/core/platform/ArrayUtilities.js +14 -0
  4. package/core/platform/ArrayUtilities.js.map +1 -1
  5. package/core/platform/HostRuntime.d.ts +1 -0
  6. package/core/platform/HostRuntime.js +1 -1
  7. package/core/platform/HostRuntime.js.map +1 -1
  8. package/core/platform/KeyboardUtilities.js +12 -0
  9. package/core/platform/KeyboardUtilities.js.map +1 -1
  10. package/core/platform/MimeType.js +13 -0
  11. package/core/platform/MimeType.js.map +1 -1
  12. package/core/platform/Size.d.ts +12 -0
  13. package/core/platform/Size.js +36 -0
  14. package/core/platform/Size.js.map +1 -0
  15. package/core/platform/StringUtilities.d.ts +49 -0
  16. package/core/platform/StringUtilities.js +141 -4
  17. package/core/platform/StringUtilities.js.map +1 -1
  18. package/core/platform/TypescriptUtilities.d.ts +0 -6
  19. package/core/platform/TypescriptUtilities.js +0 -8
  20. package/core/platform/TypescriptUtilities.js.map +1 -1
  21. package/core/platform/api/HostRuntime.d.ts +25 -0
  22. package/core/platform/api/HostRuntime.js.map +1 -1
  23. package/core/platform/api/api-tsconfig.json +26 -11
  24. package/core/platform/api/api-tsconfig.ref.json +26 -0
  25. package/core/platform/browser/HostRuntime.js +90 -0
  26. package/core/platform/browser/HostRuntime.js.map +1 -1
  27. package/core/platform/browser/browser-tsconfig.json +22 -11
  28. package/core/platform/browser/browser-tsconfig.ref.json +27 -0
  29. package/core/platform/browser/bundle-tsconfig.json +59 -1
  30. package/core/platform/browser/bundle-tsconfig.ref.json +27 -0
  31. package/core/platform/bundle-tsconfig.json +59 -1
  32. package/core/platform/bundle-tsconfig.ref.json +27 -0
  33. package/core/platform/foundation_unittests-tsconfig.json +73 -0
  34. package/core/platform/foundation_unittests-tsconfig.ref.json +40 -0
  35. package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +70 -0
  36. package/core/platform/node/HostRuntime.js +47 -2
  37. package/core/platform/node/HostRuntime.js.map +1 -1
  38. package/core/platform/node/bundle-tsconfig.json +59 -1
  39. package/core/platform/node/bundle-tsconfig.ref.json +27 -0
  40. package/core/platform/node/node-tsconfig.json +16 -9
  41. package/core/platform/node/node-tsconfig.ref.json +27 -0
  42. package/core/platform/platform-tsconfig.json +25 -13
  43. package/core/platform/platform-tsconfig.ref.json +49 -0
  44. package/core/platform/platform.d.ts +2 -1
  45. package/core/platform/platform.js +2 -1
  46. package/core/platform/platform.js.map +1 -1
  47. package/core/platform/platform_node_typecheck-tsconfig.json +18 -14
  48. package/core/platform/platform_node_typecheck.stamp +0 -0
  49. package/generated/protocol.d.ts +782 -685
  50. package/generated/protocol.js +3300 -1
  51. package/locales/af.json +154 -133
  52. package/locales/am.json +156 -135
  53. package/locales/ar.json +157 -136
  54. package/locales/as.json +156 -135
  55. package/locales/az.json +156 -135
  56. package/locales/be.json +153 -132
  57. package/locales/bg.json +154 -133
  58. package/locales/bn.json +156 -135
  59. package/locales/bs.json +152 -131
  60. package/locales/ca.json +157 -136
  61. package/locales/cs.json +148 -127
  62. package/locales/cy.json +155 -134
  63. package/locales/da.json +153 -132
  64. package/locales/de.json +152 -131
  65. package/locales/el.json +153 -132
  66. package/locales/en-GB.json +160 -139
  67. package/locales/en-US.json +153 -141
  68. package/locales/en-XL.json +153 -141
  69. package/locales/es-419.json +150 -129
  70. package/locales/es.json +149 -128
  71. package/locales/et.json +124 -103
  72. package/locales/eu.json +151 -130
  73. package/locales/fa.json +155 -134
  74. package/locales/fi.json +151 -130
  75. package/locales/fil.json +154 -133
  76. package/locales/fr-CA.json +154 -133
  77. package/locales/fr.json +150 -129
  78. package/locales/gl.json +153 -132
  79. package/locales/gu.json +156 -135
  80. package/locales/he.json +160 -139
  81. package/locales/hi.json +156 -135
  82. package/locales/hr.json +154 -133
  83. package/locales/hu.json +111 -90
  84. package/locales/hy.json +147 -126
  85. package/locales/id.json +153 -132
  86. package/locales/is.json +149 -128
  87. package/locales/it.json +153 -132
  88. package/locales/ja.json +150 -129
  89. package/locales/ka.json +159 -138
  90. package/locales/kk.json +62 -41
  91. package/locales/km.json +157 -136
  92. package/locales/kn.json +159 -138
  93. package/locales/ko.json +42 -21
  94. package/locales/ky.json +155 -134
  95. package/locales/lo.json +154 -133
  96. package/locales/lt.json +152 -131
  97. package/locales/lv.json +93 -72
  98. package/locales/mk.json +154 -133
  99. package/locales/ml.json +153 -132
  100. package/locales/mn.json +150 -129
  101. package/locales/mr.json +152 -131
  102. package/locales/ms.json +153 -132
  103. package/locales/my.json +156 -135
  104. package/locales/ne.json +152 -131
  105. package/locales/nl.json +149 -128
  106. package/locales/no.json +152 -131
  107. package/locales/or.json +152 -131
  108. package/locales/pa.json +154 -133
  109. package/locales/pl.json +153 -132
  110. package/locales/pt-PT.json +152 -131
  111. package/locales/pt.json +157 -136
  112. package/locales/ro.json +149 -128
  113. package/locales/ru.json +73 -52
  114. package/locales/si.json +156 -135
  115. package/locales/sk.json +153 -132
  116. package/locales/sl.json +149 -128
  117. package/locales/sq.json +150 -129
  118. package/locales/sr-Latn.json +151 -130
  119. package/locales/sr.json +151 -130
  120. package/locales/sv.json +152 -131
  121. package/locales/sw.json +160 -139
  122. package/locales/ta.json +156 -135
  123. package/locales/te.json +157 -136
  124. package/locales/th.json +111 -90
  125. package/locales/tr.json +153 -132
  126. package/locales/uk.json +149 -128
  127. package/locales/ur.json +151 -130
  128. package/locales/uz.json +151 -130
  129. package/locales/vi.json +162 -141
  130. package/locales/zh-HK.json +150 -129
  131. package/locales/zh-TW.json +154 -133
  132. package/locales/zh.json +152 -131
  133. package/locales/zu.json +159 -138
  134. package/models/cpu_profile/bundle-tsconfig.json +59 -1
  135. package/models/cpu_profile/bundle-tsconfig.ref.json +27 -0
  136. package/models/cpu_profile/cpu_profile-tsconfig.json +24 -13
  137. package/models/cpu_profile/cpu_profile-tsconfig.ref.json +31 -0
  138. package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +60 -0
  139. package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
  140. package/models/{trace/devtools_entrypoint-bundle-typescript-tsconfig.json → cpu_profile/foundation_unittests-tsconfig.json} +27 -30
  141. package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +30 -0
  142. package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +60 -0
  143. package/models/trace/EntityMapper.js +1 -1
  144. package/models/trace/EntityMapper.js.map +1 -1
  145. package/models/trace/LanternComputationData.js +7 -0
  146. package/models/trace/LanternComputationData.js.map +1 -1
  147. package/models/trace/ModelImpl.d.ts +1 -5
  148. package/models/trace/ModelImpl.js +11 -0
  149. package/models/trace/ModelImpl.js.map +1 -1
  150. package/models/trace/Name.js +5 -5
  151. package/models/trace/Name.js.map +1 -1
  152. package/models/trace/Processor.d.ts +2 -6
  153. package/models/trace/Processor.js +77 -15
  154. package/models/trace/Processor.js.map +1 -1
  155. package/models/trace/Styles.js +128 -116
  156. package/models/trace/Styles.js.map +1 -1
  157. package/models/trace/bundle-tsconfig.json +77 -1
  158. package/models/trace/bundle-tsconfig.ref.json +45 -0
  159. package/models/trace/extras/StackTraceForEvent.d.ts +1 -1
  160. package/models/trace/extras/StackTraceForEvent.js.map +1 -1
  161. package/models/trace/extras/ThirdParties.js +7 -7
  162. package/models/trace/extras/ThirdParties.js.map +1 -1
  163. package/models/trace/extras/TraceTree.js +2 -2
  164. package/models/trace/extras/TraceTree.js.map +1 -1
  165. package/models/trace/extras/bundle-tsconfig.json +59 -1
  166. package/models/trace/extras/bundle-tsconfig.ref.json +27 -0
  167. package/models/trace/extras/extras-tsconfig.json +28 -17
  168. package/models/trace/extras/extras-tsconfig.ref.json +49 -0
  169. package/models/trace/extras/extras_node_typecheck-tsconfig.json +78 -0
  170. package/models/trace/extras/extras_node_typecheck.stamp +0 -0
  171. package/models/trace/extras/foundation_unittests-tsconfig.json +91 -0
  172. package/models/trace/extras/foundation_unittests-tsconfig.ref.json +58 -0
  173. package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +88 -0
  174. package/models/trace/foundation_unittests-tsconfig.json +70 -0
  175. package/models/trace/foundation_unittests-tsconfig.ref.json +37 -0
  176. package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +67 -0
  177. package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -1
  178. package/models/trace/handlers/ExtensionTraceDataHandler.js +1 -1
  179. package/models/trace/handlers/ExtensionTraceDataHandler.js.map +1 -1
  180. package/models/trace/handlers/FlowsHandler.js.map +1 -1
  181. package/models/trace/handlers/FramesHandler.d.ts +1 -2
  182. package/models/trace/handlers/FramesHandler.js +4 -5
  183. package/models/trace/handlers/FramesHandler.js.map +1 -1
  184. package/models/trace/handlers/LayerTreeHandler.js +3 -3
  185. package/models/trace/handlers/LayerTreeHandler.js.map +1 -1
  186. package/models/trace/handlers/LayoutShiftsHandler.d.ts +2 -2
  187. package/models/trace/handlers/LayoutShiftsHandler.js +17 -18
  188. package/models/trace/handlers/LayoutShiftsHandler.js.map +1 -1
  189. package/models/trace/handlers/MetaHandler.d.ts +2 -3
  190. package/models/trace/handlers/MetaHandler.js +38 -7
  191. package/models/trace/handlers/MetaHandler.js.map +1 -1
  192. package/models/trace/handlers/ModelHandlers.d.ts +0 -1
  193. package/models/trace/handlers/ModelHandlers.js +0 -1
  194. package/models/trace/handlers/ModelHandlers.js.map +1 -1
  195. package/models/trace/handlers/NetworkRequestsHandler.js +13 -11
  196. package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
  197. package/models/trace/handlers/PageLoadMetricsHandler.d.ts +2 -0
  198. package/models/trace/handlers/PageLoadMetricsHandler.js +43 -4
  199. package/models/trace/handlers/PageLoadMetricsHandler.js.map +1 -1
  200. package/models/trace/handlers/RendererHandler.js +19 -20
  201. package/models/trace/handlers/RendererHandler.js.map +1 -1
  202. package/models/trace/handlers/SamplesHandler.js.map +1 -1
  203. package/models/trace/handlers/ScreenshotsHandler.js +1 -43
  204. package/models/trace/handlers/ScreenshotsHandler.js.map +1 -1
  205. package/models/trace/handlers/Threads.d.ts +1 -3
  206. package/models/trace/handlers/Threads.js +4 -8
  207. package/models/trace/handlers/Threads.js.map +1 -1
  208. package/models/trace/handlers/UserInteractionsHandler.js.map +1 -1
  209. package/models/trace/handlers/UserTimingsHandler.d.ts +1 -1
  210. package/models/trace/handlers/UserTimingsHandler.js +16 -6
  211. package/models/trace/handlers/UserTimingsHandler.js.map +1 -1
  212. package/models/trace/handlers/WarningsHandler.js.map +1 -1
  213. package/models/trace/handlers/bundle-tsconfig.json +59 -1
  214. package/models/trace/handlers/bundle-tsconfig.ref.json +27 -0
  215. package/models/trace/handlers/foundation_unittests-tsconfig.json +102 -0
  216. package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +69 -0
  217. package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +99 -0
  218. package/models/trace/handlers/handlers-tsconfig.json +30 -20
  219. package/models/trace/handlers/handlers-tsconfig.ref.json +80 -0
  220. package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +109 -0
  221. package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
  222. package/models/trace/helpers/Network.d.ts +3 -1
  223. package/models/trace/helpers/Network.js.map +1 -1
  224. package/models/trace/helpers/SamplesIntegrator.js +22 -6
  225. package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
  226. package/models/trace/helpers/SyntheticEvents.d.ts +7 -0
  227. package/models/trace/helpers/SyntheticEvents.js +20 -1
  228. package/models/trace/helpers/SyntheticEvents.js.map +1 -1
  229. package/models/trace/helpers/Timing.js +14 -1
  230. package/models/trace/helpers/Timing.js.map +1 -1
  231. package/models/trace/helpers/Trace.js.map +1 -1
  232. package/models/trace/helpers/bundle-tsconfig.json +59 -1
  233. package/models/trace/helpers/bundle-tsconfig.ref.json +27 -0
  234. package/models/trace/helpers/foundation_unittests-tsconfig.json +73 -0
  235. package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +40 -0
  236. package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +70 -0
  237. package/models/trace/helpers/helpers-tsconfig.json +27 -19
  238. package/models/trace/helpers/helpers-tsconfig.ref.json +45 -0
  239. package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +74 -0
  240. package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
  241. package/models/trace/insights/CLSCulprits.d.ts +18 -15
  242. package/models/trace/insights/CLSCulprits.js +7 -6
  243. package/models/trace/insights/CLSCulprits.js.map +1 -1
  244. package/models/trace/insights/Cache.d.ts +8 -7
  245. package/models/trace/insights/Cache.js.map +1 -1
  246. package/models/trace/insights/CharacterSet.d.ts +10 -9
  247. package/models/trace/insights/CharacterSet.js +4 -4
  248. package/models/trace/insights/CharacterSet.js.map +1 -1
  249. package/models/trace/insights/Common.js +21 -3
  250. package/models/trace/insights/Common.js.map +1 -1
  251. package/models/trace/insights/DOMSize.d.ts +15 -14
  252. package/models/trace/insights/DOMSize.js +2 -2
  253. package/models/trace/insights/DOMSize.js.map +1 -1
  254. package/models/trace/insights/DocumentLatency.d.ts +13 -12
  255. package/models/trace/insights/DocumentLatency.js +4 -4
  256. package/models/trace/insights/DocumentLatency.js.map +1 -1
  257. package/models/trace/insights/DuplicatedJavaScript.d.ts +13 -8
  258. package/models/trace/insights/DuplicatedJavaScript.js +7 -3
  259. package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
  260. package/models/trace/insights/FontDisplay.d.ts +16 -10
  261. package/models/trace/insights/FontDisplay.js +9 -3
  262. package/models/trace/insights/FontDisplay.js.map +1 -1
  263. package/models/trace/insights/ForcedReflow.d.ts +13 -13
  264. package/models/trace/insights/ForcedReflow.js +4 -4
  265. package/models/trace/insights/ForcedReflow.js.map +1 -1
  266. package/models/trace/insights/INPBreakdown.d.ts +12 -12
  267. package/models/trace/insights/INPBreakdown.js +1 -1
  268. package/models/trace/insights/INPBreakdown.js.map +1 -1
  269. package/models/trace/insights/ImageDelivery.d.ts +13 -12
  270. package/models/trace/insights/ImageDelivery.js +5 -5
  271. package/models/trace/insights/ImageDelivery.js.map +1 -1
  272. package/models/trace/insights/LCPBreakdown.d.ts +13 -12
  273. package/models/trace/insights/LCPBreakdown.js +3 -3
  274. package/models/trace/insights/LCPBreakdown.js.map +1 -1
  275. package/models/trace/insights/LCPDiscovery.d.ts +14 -13
  276. package/models/trace/insights/LCPDiscovery.js +7 -7
  277. package/models/trace/insights/LCPDiscovery.js.map +1 -1
  278. package/models/trace/insights/LegacyJavaScript.d.ts +13 -8
  279. package/models/trace/insights/LegacyJavaScript.js +7 -3
  280. package/models/trace/insights/LegacyJavaScript.js.map +1 -1
  281. package/models/trace/insights/ModernHTTP.d.ts +10 -10
  282. package/models/trace/insights/ModernHTTP.js +9 -5
  283. package/models/trace/insights/ModernHTTP.js.map +1 -1
  284. package/models/trace/insights/NetworkDependencyTree.d.ts +33 -28
  285. package/models/trace/insights/NetworkDependencyTree.js +17 -13
  286. package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
  287. package/models/trace/insights/RenderBlocking.d.ts +8 -7
  288. package/models/trace/insights/RenderBlocking.js +3 -5
  289. package/models/trace/insights/RenderBlocking.js.map +1 -1
  290. package/models/trace/insights/SlowCSSSelector.d.ts +17 -16
  291. package/models/trace/insights/SlowCSSSelector.js +23 -20
  292. package/models/trace/insights/SlowCSSSelector.js.map +1 -1
  293. package/models/trace/insights/ThirdParties.d.ts +22 -13
  294. package/models/trace/insights/ThirdParties.js +19 -8
  295. package/models/trace/insights/ThirdParties.js.map +1 -1
  296. package/models/trace/insights/Viewport.d.ts +8 -6
  297. package/models/trace/insights/Viewport.js +4 -2
  298. package/models/trace/insights/Viewport.js.map +1 -1
  299. package/models/trace/insights/bundle-tsconfig.json +59 -1
  300. package/models/trace/insights/bundle-tsconfig.ref.json +27 -0
  301. package/models/trace/insights/foundation_unittests-tsconfig.json +98 -0
  302. package/models/trace/insights/foundation_unittests-tsconfig.ref.json +65 -0
  303. package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +95 -0
  304. package/models/trace/insights/insights-tsconfig.json +34 -23
  305. package/models/trace/insights/insights-tsconfig.ref.json +82 -0
  306. package/models/trace/insights/insights_node_typecheck-tsconfig.json +111 -0
  307. package/models/trace/insights/insights_node_typecheck.stamp +0 -0
  308. package/models/trace/insights/types.d.ts +9 -6
  309. package/models/trace/insights/types.js.map +1 -1
  310. package/models/trace/lantern/bundle-tsconfig.json +71 -1
  311. package/models/trace/lantern/bundle-tsconfig.ref.json +39 -0
  312. package/models/trace/lantern/core/NetworkAnalyzer.d.ts +1 -0
  313. package/models/trace/lantern/core/NetworkAnalyzer.js +6 -2
  314. package/models/trace/lantern/core/NetworkAnalyzer.js.map +1 -1
  315. package/models/trace/lantern/core/bundle-tsconfig.json +59 -1
  316. package/models/trace/lantern/core/bundle-tsconfig.ref.json +27 -0
  317. package/models/trace/lantern/core/core-tsconfig.json +23 -12
  318. package/models/trace/lantern/core/core-tsconfig.ref.json +28 -0
  319. package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +57 -0
  320. package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
  321. package/models/trace/lantern/core/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +34 -13
  322. package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +36 -0
  323. package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +66 -0
  324. package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
  325. package/models/trace/lantern/graph/BaseNode.js.map +1 -1
  326. package/models/trace/lantern/graph/CPUNode.d.ts +4 -2
  327. package/models/trace/lantern/graph/CPUNode.js +23 -7
  328. package/models/trace/lantern/graph/CPUNode.js.map +1 -1
  329. package/models/trace/lantern/graph/NetworkNode.js +12 -0
  330. package/models/trace/lantern/graph/NetworkNode.js.map +1 -1
  331. package/models/trace/lantern/graph/PageDependencyGraph.js +26 -4
  332. package/models/trace/lantern/graph/PageDependencyGraph.js.map +1 -1
  333. package/models/trace/lantern/graph/bundle-tsconfig.json +59 -1
  334. package/models/trace/lantern/graph/bundle-tsconfig.ref.json +27 -0
  335. package/models/trace/lantern/graph/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +26 -13
  336. package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +28 -0
  337. package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +58 -0
  338. package/models/trace/lantern/graph/graph-tsconfig.json +24 -13
  339. package/models/trace/lantern/graph/graph-tsconfig.ref.json +33 -0
  340. package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +62 -0
  341. package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
  342. package/models/trace/lantern/metrics/TotalBlockingTime.js +1 -1
  343. package/models/trace/lantern/metrics/TotalBlockingTime.js.map +1 -1
  344. package/models/trace/lantern/metrics/bundle-tsconfig.json +59 -1
  345. package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +27 -0
  346. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +76 -0
  347. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +43 -0
  348. package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +73 -0
  349. package/models/trace/lantern/metrics/metrics-tsconfig.json +26 -15
  350. package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +43 -0
  351. package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +72 -0
  352. package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
  353. package/models/trace/lantern/simulation/ConnectionPool.js +4 -4
  354. package/models/trace/lantern/simulation/ConnectionPool.js.map +1 -1
  355. package/models/trace/lantern/simulation/Constants.d.ts +29 -28
  356. package/models/trace/lantern/simulation/Constants.js +3 -1
  357. package/models/trace/lantern/simulation/Constants.js.map +1 -1
  358. package/models/trace/lantern/simulation/DNSCache.js.map +1 -1
  359. package/models/trace/lantern/simulation/Simulator.js +6 -2
  360. package/models/trace/lantern/simulation/Simulator.js.map +1 -1
  361. package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
  362. package/models/trace/lantern/simulation/TCPConnection.js +12 -12
  363. package/models/trace/lantern/simulation/TCPConnection.js.map +1 -1
  364. package/models/trace/lantern/simulation/bundle-tsconfig.json +59 -1
  365. package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +27 -0
  366. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +75 -0
  367. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +42 -0
  368. package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +72 -0
  369. package/models/trace/lantern/simulation/simulation-tsconfig.json +25 -14
  370. package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +38 -0
  371. package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +67 -0
  372. package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
  373. package/models/trace/lantern/{metrics/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/bundle-tsconfig.json} +25 -13
  374. package/models/trace/lantern/testing/bundle-tsconfig.ref.json +27 -0
  375. package/models/trace/lantern/{simulation/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/testing-tsconfig.json} +28 -13
  376. package/models/trace/lantern/testing/testing-tsconfig.ref.json +30 -0
  377. package/models/trace/lantern/types/Lantern.d.ts +27 -19
  378. package/models/trace/lantern/types/Lantern.js.map +1 -1
  379. package/models/trace/lantern/types/bundle-tsconfig.json +59 -1
  380. package/models/trace/lantern/types/bundle-tsconfig.ref.json +27 -0
  381. package/models/trace/lantern/types/types-tsconfig.json +23 -12
  382. package/models/trace/lantern/types/types-tsconfig.ref.json +27 -0
  383. package/models/trace/lantern/types/{devtools_entrypoint-bundle-typescript-tsconfig.json → types_node_typecheck-tsconfig.json} +25 -17
  384. package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
  385. package/models/trace/trace-tsconfig.json +31 -20
  386. package/models/trace/trace-tsconfig.ref.json +57 -0
  387. package/models/trace/trace_node_typecheck-tsconfig.json +86 -0
  388. package/models/trace/trace_node_typecheck.stamp +0 -0
  389. package/models/trace/types/Configuration.d.ts +11 -0
  390. package/models/trace/types/Configuration.js +1 -0
  391. package/models/trace/types/Configuration.js.map +1 -1
  392. package/models/trace/types/Extensions.d.ts +1 -1
  393. package/models/trace/types/File.d.ts +1 -0
  394. package/models/trace/types/File.js.map +1 -1
  395. package/models/trace/types/Overlays.d.ts +13 -3
  396. package/models/trace/types/Overlays.js.map +1 -1
  397. package/models/trace/types/TraceEvents.d.ts +39 -9
  398. package/models/trace/types/TraceEvents.js +103 -3
  399. package/models/trace/types/TraceEvents.js.map +1 -1
  400. package/models/trace/types/bundle-tsconfig.json +59 -1
  401. package/models/trace/types/bundle-tsconfig.ref.json +27 -0
  402. package/{core/platform/api/api_node_typecheck-tsconfig.json → models/trace/types/foundation_unittests-tsconfig.json} +32 -13
  403. package/models/trace/types/foundation_unittests-tsconfig.ref.json +34 -0
  404. package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +64 -0
  405. package/models/trace/types/types-tsconfig.json +27 -16
  406. package/models/trace/types/types-tsconfig.ref.json +44 -0
  407. package/models/trace/types/types_node_typecheck-tsconfig.json +73 -0
  408. package/models/trace/types/types_node_typecheck.stamp +0 -0
  409. package/package.json +2 -3
  410. package/test/test-trace-engine.mjs +1 -1
  411. package/{models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json → third_party/legacy-javascript/bundle-tsconfig.json} +24 -13
  412. package/third_party/legacy-javascript/bundle-tsconfig.ref.json +27 -0
  413. package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +15 -0
  414. package/third_party/legacy-javascript/legacy-javascript.d.ts +2 -1
  415. package/third_party/legacy-javascript/legacy-javascript.js +3 -1
  416. package/third_party/legacy-javascript/legacy-javascript.js.map +1 -0
  417. package/third_party/legacy-javascript/lib/legacy-javascript.d.ts +18 -0
  418. package/third_party/legacy-javascript/lib/legacy-javascript.js +1119 -0
  419. package/core/platform/api/bundle-tsconfig.json +0 -1
  420. package/core/platform/api/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  421. package/core/platform/browser/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  422. package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  423. package/core/platform/node/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  424. package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  425. package/models/trace/handlers/AuctionWorkletsHandler.d.ts +0 -8
  426. package/models/trace/handlers/AuctionWorkletsHandler.js +0 -163
  427. package/models/trace/handlers/AuctionWorkletsHandler.js.map +0 -1
  428. package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  429. package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  430. package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
  431. package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -60
  432. package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
@@ -7,87 +7,87 @@ import * as Helpers from './helpers/helpers.js';
7
7
  import * as Types from './types/types.js';
8
8
  const UIStrings = {
9
9
  /**
10
- * @description Category in the Summary view of the Performance panel to indicate time spent to load resources
10
+ * @description Category in the summary view of the Performance panel to indicate time spent to load resources.
11
11
  */
12
12
  loading: 'Loading',
13
13
  /**
14
- * @description Text in Timeline for the Experience title
14
+ * @description Event category in the Performance panel for user experience events, such as layout shifts and event timing.
15
15
  */
16
16
  experience: 'Experience',
17
17
  /**
18
- * @description Category in the Summary view of the Performance panel to indicate time spent in script execution
18
+ * @description Category in the summary view of the Performance panel to indicate time spent in script execution.
19
19
  */
20
20
  scripting: 'Scripting',
21
21
  /**
22
- * @description Category in the Summary view of the Performance panel to indicate time spent in rendering the web page
22
+ * @description Category in the summary view of the Performance panel to indicate time spent in rendering the web page.
23
23
  */
24
24
  rendering: 'Rendering',
25
25
  /**
26
- * @description Category in the Summary view of the Performance panel to indicate time spent to visually represent the web page
26
+ * @description Category in the summary view of the Performance panel to indicate time spent to visually represent the web page.
27
27
  */
28
28
  painting: 'Painting',
29
29
  /**
30
- * @description Event category in the Performance panel for time spent in the GPU
30
+ * @description Event category in the Performance panel for time spent in the GPU.
31
31
  */
32
32
  gpu: 'GPU',
33
33
  /**
34
- * @description Text in Timeline UIUtils of the Performance panel
34
+ * @description Event category in the Performance panel for asynchronous tasks.
35
35
  */
36
36
  async: 'Async',
37
37
  /**
38
- * @description Category in the Summary view of the Performance panel to indicate time spent in the rest of the system
38
+ * @description Category in the summary view of the Performance panel to indicate time spent in the rest of the system.
39
39
  */
40
40
  system: 'System',
41
41
  /**
42
- * @description Category in the Summary view of the Performance panel to indicate idle time
42
+ * @description Category in the summary view of the Performance panel to indicate idle time.
43
43
  */
44
44
  idle: 'Idle',
45
45
  /**
46
- * @description Text in Timeline UIUtils of the Performance panel
46
+ * @description Label for main thread tasks in the Performance panel.
47
47
  */
48
48
  task: 'Task',
49
49
  /**
50
- * @description Text in Timeline UIUtils of the Performance panel
50
+ * @description Text for running a console task in the Performance panel.
51
51
  */
52
52
  consoleTaskRun: 'Run console task',
53
53
  /**
54
- * @description Text for other types of items
54
+ * @description Text shown in the Performance panel timeline for the Program trace event, which represents uncategorized or internal browser execution time.
55
55
  */
56
56
  other: 'Other',
57
57
  /**
58
- * @description Text that refers to the animation of the web page
58
+ * @description Text that refers to the animation of the web page.
59
59
  */
60
60
  animation: 'Animation',
61
61
  /**
62
- * @description Text that refers to some events
62
+ * @description Text that refers to some events.
63
63
  */
64
64
  event: 'Event',
65
65
  /**
66
- * @description Text in Timeline UIUtils of the Performance panel
66
+ * @description Text for an event requesting a main thread frame in the Performance panel.
67
67
  */
68
68
  requestMainThreadFrame: 'Request main thread frame',
69
69
  /**
70
- * @description Text in Timeline UIUtils of the Performance panel
70
+ * @description Text indicating the start of a frame in the Performance panel.
71
71
  */
72
72
  frameStart: 'Frame start',
73
73
  /**
74
- * @description Text in Timeline UIUtils of the Performance panel
74
+ * @description Text for an event when a message is received in the Performance panel.
75
75
  */
76
76
  onMessage: 'On message',
77
77
  /**
78
- * @description Text in Timeline UIUtils of the Performance panel
78
+ * @description Text for an event scheduling a postMessage in the Performance panel.
79
79
  */
80
80
  schedulePostMessage: 'Schedule postMessage',
81
81
  /**
82
- * @description Text in Timeline UIUtils of the Performance panel
82
+ * @description Category for messaging events in the Performance panel.
83
83
  */
84
84
  messaging: 'Messaging',
85
85
  /**
86
- * @description Text in Timeline UIUtils of the Performance panel
86
+ * @description Text indicating the start of a frame on the main thread in the Performance panel.
87
87
  */
88
88
  frameStartMainThread: 'Frame start (main thread)',
89
89
  /**
90
- * @description Text in Timeline UIUtils of the Performance panel
90
+ * @description Text for drawing a frame in the Performance panel.
91
91
  */
92
92
  drawFrame: 'Draw frame',
93
93
  /**
@@ -97,57 +97,57 @@ const UIStrings = {
97
97
  profilingOverhead: 'Profiling overhead',
98
98
  /**
99
99
  * @description The process the browser uses to determine a target element for a
100
- *pointer event. Typically, this is determined by considering the pointer's
101
- *location and also the visual layout of elements on the screen.
100
+ * pointer event. Typically, this is determined by considering the pointer's
101
+ * location and also the visual layout of elements on the screen.
102
102
  */
103
103
  hitTest: 'Hit test',
104
104
  /**
105
105
  * @description Noun for an event in the Performance panel. The browser has decided
106
- *that the styles for some elements need to be recalculated and scheduled that
107
- *recalculation process at some time in the future.
106
+ * that the styles for some elements need to be recalculated and scheduled that
107
+ * recalculation process at some time in the future.
108
108
  */
109
109
  scheduleStyleRecalculation: 'Schedule style recalculation',
110
110
  /**
111
- * @description Text in Timeline UIUtils of the Performance panel
111
+ * @description Text for an event recalculating element styles in the Performance panel.
112
112
  */
113
113
  recalculateStyle: 'Recalculate style',
114
114
  /**
115
- * @description Text in Timeline UIUtils of the Performance panel
115
+ * @description Text for an event invalidating page layout in the Performance panel.
116
116
  */
117
- invalidateLayout: 'Invalidate Layout',
117
+ invalidateLayout: 'Invalidate layout',
118
118
  /**
119
119
  * @description Noun for an event in the Performance panel. Layerize is a step
120
- *where we calculate which layers to create.
120
+ * where we calculate which layers to create.
121
121
  */
122
122
  layerize: 'Layerize',
123
123
  /**
124
- * @description Text in Timeline UIUtils of the Performance panel
124
+ * @description Text for a page layout event in the Performance panel.
125
125
  */
126
126
  layout: 'Layout',
127
127
  /**
128
128
  * @description Noun for an event in the Performance panel. Paint setup is a
129
- *step before the 'Paint' event. A paint event is when the browser draws pixels
130
- *to the screen. This step is the setup beforehand.
129
+ * step before the 'Paint' event. A paint event is when the browser draws pixels
130
+ * to the screen. This step is the setup beforehand.
131
131
  */
132
132
  paintSetup: 'Paint setup',
133
133
  /**
134
134
  * @description Noun for a paint event in the Performance panel, where an image
135
- *was being painted. A paint event is when the browser draws pixels to the
136
- *screen, in this case specifically for an image in a website.
135
+ * was being painted. A paint event is when the browser draws pixels to the
136
+ * screen, in this case specifically for an image in a website.
137
137
  */
138
138
  paintImage: 'Paint image',
139
139
  /**
140
140
  * @description Noun for an event in the Performance panel. Pre-paint is a
141
- *step before the 'Paint' event. A paint event is when the browser records the
142
- *instructions for drawing the page. This step is the setup beforehand.
141
+ * step before the 'Paint' event. A paint event is when the browser records the
142
+ * instructions for drawing the page. This step is the setup beforehand.
143
143
  */
144
144
  prePaint: 'Pre-paint',
145
145
  /**
146
- * @description Text in Timeline UIUtils of the Performance panel
146
+ * @description Text for an event updating a compositing layer in the Performance panel.
147
147
  */
148
148
  updateLayer: 'Update layer',
149
149
  /**
150
- * @description Text in Timeline UIUtils of the Performance panel
150
+ * @description Text for an event updating the layer tree in the Performance panel.
151
151
  */
152
152
  updateLayerTree: 'Update layer tree',
153
153
  /**
@@ -155,46 +155,46 @@ const UIStrings = {
155
155
  */
156
156
  paint: 'Paint',
157
157
  /**
158
- * @description Text in Timeline UIUtils of the Performance panel
158
+ * @description Text for an event rasterizing paint operations in the Performance panel.
159
159
  */
160
160
  rasterizePaint: 'Rasterize paint',
161
161
  /**
162
- * @description The action to scroll
162
+ * @description Text shown in the Performance panel timeline for a scroll event, when the browser scrolls a layer.
163
163
  */
164
164
  scroll: 'Scroll',
165
165
  /**
166
166
  * @description Noun for an event in the Performance panel. Commit is a step
167
- *where we send (also known as "commit") layers to the compositor thread. This
168
- *step follows the "Layerize" step which is what calculates which layers to
169
- *create.
167
+ * where we send (also known as "commit") layers to the compositor thread. This
168
+ * step follows the "Layerize" step which is what calculates which layers to
169
+ * create.
170
170
  */
171
171
  commit: 'Commit',
172
172
  /**
173
- * @description Text in Timeline UIUtils of the Performance panel
173
+ * @description Text for an event compositing layers in the Performance panel.
174
174
  */
175
175
  compositeLayers: 'Composite layers',
176
176
  /**
177
- * @description Text in Timeline UIUtils of the Performance panel
177
+ * @description Text for an event computing element intersections in the Performance panel.
178
178
  */
179
179
  computeIntersections: 'Compute intersections',
180
180
  /**
181
- * @description Text in Timeline UIUtils of the Performance panel
181
+ * @description Text for an event parsing HTML in the Performance panel.
182
182
  */
183
183
  parseHtml: 'Parse HTML',
184
184
  /**
185
- * @description Text in Timeline UIUtils of the Performance panel
185
+ * @description Text for an event parsing a CSS stylesheet in the Performance panel.
186
186
  */
187
187
  parseStylesheet: 'Parse stylesheet',
188
188
  /**
189
- * @description Text in Timeline UIUtils of the Performance panel
189
+ * @description Text for an event installing a timer in the Performance panel.
190
190
  */
191
191
  installTimer: 'Install timer',
192
192
  /**
193
- * @description Text in Timeline UIUtils of the Performance panel
193
+ * @description Text for an event removing a timer in the Performance panel.
194
194
  */
195
195
  removeTimer: 'Remove timer',
196
196
  /**
197
- * @description Text in Timeline UIUtils of the Performance panel
197
+ * @description Text for an event when a timer fires in the Performance panel.
198
198
  */
199
199
  timerFired: 'Timer fired',
200
200
  /**
@@ -211,31 +211,31 @@ const UIStrings = {
211
211
  */
212
212
  xhrLoad: '`XHR` load',
213
213
  /**
214
- * @description Text in Timeline UIUtils of the Performance panel
214
+ * @description Text for an event compiling a script in the Performance panel.
215
215
  */
216
216
  compileScript: 'Compile script',
217
217
  /**
218
- * @description Text in Timeline UIUtils of the Performance panel
218
+ * @description Text for an event caching script code in the Performance panel.
219
219
  */
220
220
  cacheScript: 'Cache script code',
221
221
  /**
222
- * @description Text in Timeline UIUtils of the Performance panel
222
+ * @description Text for an event compiling code in the Performance panel.
223
223
  */
224
224
  compileCode: 'Compile code',
225
225
  /**
226
- * @description Text in Timeline UIUtils of the Performance panel
226
+ * @description Text for an event optimizing code in the Performance panel.
227
227
  */
228
228
  optimizeCode: 'Optimize code',
229
229
  /**
230
- * @description Text in Timeline UIUtils of the Performance panel
230
+ * @description Text for an event evaluating a script in the Performance panel.
231
231
  */
232
232
  evaluateScript: 'Evaluate script',
233
233
  /**
234
- * @description Text in Timeline UIUtils of the Performance panel
234
+ * @description Text for an event compiling a JavaScript module in the Performance panel.
235
235
  */
236
236
  compileModule: 'Compile module',
237
237
  /**
238
- * @description Text in Timeline UIUtils of the Performance panel
238
+ * @description Text for an event caching a JavaScript module in the Performance panel.
239
239
  */
240
240
  cacheModule: 'Cache module code',
241
241
  /**
@@ -250,69 +250,77 @@ const UIStrings = {
250
250
  */
251
251
  streamingCompileTask: 'Streaming compile task',
252
252
  /**
253
- * @description Text in Timeline UIUtils of the Performance panel
253
+ * @description Text for an event waiting for network responses in the Performance panel.
254
254
  */
255
255
  waitingForNetwork: 'Waiting for network',
256
256
  /**
257
- * @description Text in Timeline UIUtils of the Performance panel
257
+ * @description Text for an event parsing and compiling code in the Performance panel.
258
258
  */
259
259
  parseAndCompile: 'Parse and compile',
260
260
  /**
261
- * @description Text in Timeline UIUtils of the Performance panel.
261
+ * @description Text in the Performance panel.
262
262
  * "Code Cache" refers to JavaScript bytecode cache: https://v8.dev/blog/code-caching-for-devs
263
263
  * "Deserialize" refers to the process of reading the code cache.
264
264
  */
265
265
  deserializeCodeCache: 'Deserialize code cache',
266
266
  /**
267
- * @description Text in Timeline UIUtils of the Performance panel
267
+ * @description Text for an event streaming a WebAssembly response in the Performance panel.
268
268
  */
269
269
  streamingWasmResponse: 'Streaming Wasm response',
270
270
  /**
271
- * @description Text in Timeline UIUtils of the Performance panel
271
+ * @description Text for an event compiling a WebAssembly module in the Performance panel.
272
272
  */
273
273
  compiledWasmModule: 'Compiled Wasm module',
274
274
  /**
275
- * @description Text in Timeline UIUtils of the Performance panel
275
+ * @description Text for an event caching a WebAssembly module in the Performance panel.
276
276
  */
277
277
  cachedWasmModule: 'Cached Wasm module',
278
278
  /**
279
- * @description Text in Timeline UIUtils of the Performance panel
279
+ * @description Text for a WebAssembly module cache hit in the Performance panel.
280
280
  */
281
281
  wasmModuleCacheHit: 'Wasm module cache hit',
282
282
  /**
283
- * @description Text in Timeline UIUtils of the Performance panel
283
+ * @description Text for an invalid WebAssembly module cache in the Performance panel.
284
284
  */
285
285
  wasmModuleCacheInvalid: 'Wasm module cache invalid',
286
286
  /**
287
- * @description Text in Timeline UIUtils of the Performance panel
287
+ * @description Text for an event when a frame started loading in the Performance panel.
288
288
  */
289
289
  frameStartedLoading: 'Frame started loading',
290
290
  /**
291
- * @description Text in Timeline UIUtils of the Performance panel
291
+ * @description Text for a soft navigation start marker in the Performance panel.
292
+ */
293
+ softNavigationStart: 'Soft navigation start',
294
+ /**
295
+ * @description Text for an onload event marker in the Performance panel.
292
296
  */
293
297
  onloadEvent: 'Onload event',
294
298
  /**
295
- * @description Text in Timeline UIUtils of the Performance panel
299
+ * @description Text for a DOMContentLoaded event marker in the Performance panel.
296
300
  */
297
301
  domcontentloadedEvent: 'DOMContentLoaded event',
298
302
  /**
299
- * @description Text in Timeline UIUtils of the Performance panel
303
+ * @description Text for the First Paint metric marker in the Performance panel.
300
304
  */
301
305
  firstPaint: 'First Paint',
302
306
  /**
303
- * @description Text in Timeline UIUtils of the Performance panel
307
+ * @description Text for the First Contentful Paint metric marker in the Performance panel.
304
308
  */
305
309
  firstContentfulPaint: 'First Contentful Paint',
306
310
  /**
307
- * @description Text in Timeline UIUtils of the Performance panel
311
+ * @description Text for the Soft First Contentful Paint metric marker in the Performance panel.
312
+ */
313
+ softFirstContentfulPaint: 'Soft First Contentful Paint',
314
+ /**
315
+ * @description Text for the Largest Contentful Paint metric marker in the Performance panel.
308
316
  */
309
317
  largestContentfulPaint: 'Largest Contentful Paint',
310
318
  /**
311
- * @description Text in Timeline UIUtils of the Performance panel
319
+ * @description Text for the Soft Largest Contentful Paint metric marker in the Performance panel.
312
320
  */
313
321
  softLargestContentfulPaint: 'Soft Largest Contentful Paint',
314
322
  /**
315
- * @description Text for timestamps of items
323
+ * @description Text shown in the Performance panel timeline for a `console.timeStamp()` event.
316
324
  */
317
325
  timestamp: 'Timestamp',
318
326
  /**
@@ -324,7 +332,7 @@ const UIStrings = {
324
332
  */
325
333
  consoleTime: 'Console time',
326
334
  /**
327
- * @description Text in Timeline UIUtils of the Performance panel
335
+ * @description Text for a user timing entry in the Performance panel.
328
336
  */
329
337
  userTiming: 'User timing',
330
338
  /**
@@ -334,119 +342,119 @@ const UIStrings = {
334
342
  */
335
343
  willSendRequest: 'Will send request',
336
344
  /**
337
- * @description Text in Timeline UIUtils of the Performance panel
345
+ * @description Text for an event sending a network request in the Performance panel.
338
346
  */
339
347
  sendRequest: 'Send request',
340
348
  /**
341
- * @description Text in Timeline UIUtils of the Performance panel
349
+ * @description Text for an event receiving a network response in the Performance panel.
342
350
  */
343
351
  receiveResponse: 'Receive response',
344
352
  /**
345
- * @description Text in Timeline UIUtils of the Performance panel
353
+ * @description Text for an event finishing resource loading in the Performance panel.
346
354
  */
347
355
  finishLoading: 'Finish loading',
348
356
  /**
349
- * @description Text in Timeline UIUtils of the Performance panel
357
+ * @description Text for an event receiving network data in the Performance panel.
350
358
  */
351
359
  receiveData: 'Receive data',
352
360
  /**
353
- * @description Event category in the Performance panel for time spent to execute microtasks in JavaScript
361
+ * @description Event category in the Performance panel for time spent to execute microtasks in JavaScript.
354
362
  */
355
363
  runMicrotasks: 'Run microtasks',
356
364
  /**
357
- * @description Text in Timeline UIUtils of the Performance panel
365
+ * @description Text for a function call event in the Performance panel.
358
366
  */
359
367
  functionCall: 'Function call',
360
368
  /**
361
- * @description Text in Timeline UIUtils of the Performance panel
369
+ * @description Text for a garbage collection event in the Performance panel.
362
370
  */
363
371
  gcEvent: 'GC event',
364
372
  /**
365
- * @description Event category in the Performance panel for time spent to perform a full Garbage Collection pass
373
+ * @description Event category in the Performance panel for time spent to perform a full garbage collection pass.
366
374
  */
367
375
  majorGc: 'Major GC',
368
376
  /**
369
- * @description Event category in the Performance panel for time spent to perform a quick Garbage Collection pass
377
+ * @description Event category in the Performance panel for time spent to perform a quick garbage collection pass.
370
378
  */
371
379
  minorGc: 'Minor GC',
372
380
  /**
373
- * @description Text for the request animation frame event
381
+ * @description Text for the request animation frame event.
374
382
  */
375
383
  requestAnimationFrame: 'Request animation frame',
376
384
  /**
377
- * @description Text to cancel the animation frame
385
+ * @description Text to cancel the animation frame.
378
386
  */
379
387
  cancelAnimationFrame: 'Cancel animation frame',
380
388
  /**
381
- * @description Text for the event that an animation frame is fired
389
+ * @description Text for the event that an animation frame is fired.
382
390
  */
383
391
  animationFrameFired: 'Animation frame fired',
384
392
  /**
385
- * @description Text in Timeline UIUtils of the Performance panel
393
+ * @description Text for an event requesting an idle callback in the Performance panel.
386
394
  */
387
395
  requestIdleCallback: 'Request idle callback',
388
396
  /**
389
- * @description Text in Timeline UIUtils of the Performance panel
397
+ * @description Text for an event cancelling an idle callback in the Performance panel.
390
398
  */
391
399
  cancelIdleCallback: 'Cancel idle callback',
392
400
  /**
393
- * @description Text in Timeline UIUtils of the Performance panel
401
+ * @description Text for an event firing an idle callback in the Performance panel.
394
402
  */
395
403
  fireIdleCallback: 'Fire idle callback',
396
404
  /**
397
- * @description Text in Timeline UIUtils of the Performance panel
405
+ * @description Text for an event creating a WebSocket connection in the Performance panel.
398
406
  */
399
407
  createWebsocket: 'Create WebSocket',
400
408
  /**
401
- * @description Text in Timeline UIUtils of the Performance panel
409
+ * @description Text for an event sending a WebSocket handshake in the Performance panel.
402
410
  */
403
411
  sendWebsocketHandshake: 'Send WebSocket handshake',
404
412
  /**
405
- * @description Text in Timeline UIUtils of the Performance panel
413
+ * @description Text for an event receiving a WebSocket handshake in the Performance panel.
406
414
  */
407
415
  receiveWebsocketHandshake: 'Receive WebSocket handshake',
408
416
  /**
409
- * @description Text in Timeline Flame Chart Data Provider of the Performance panel
417
+ * @description Text in the flame chart of the Performance panel for receiving a WebSocket message.
410
418
  */
411
419
  wsMessageReceived: 'Receive WebSocket message',
412
420
  /**
413
- * @description Text in Timeline Flame Chart Data Provider of the Performance panel
421
+ * @description Text in the flame chart of the Performance panel for sending a WebSocket message.
414
422
  */
415
423
  wsMessageSent: 'Send WebSocket message',
416
424
  /**
417
- * @description Text in Timeline UIUtils of the Performance panel
425
+ * @description Text for an event destroying a WebSocket connection in the Performance panel.
418
426
  */
419
427
  destroyWebsocket: 'Destroy WebSocket',
420
428
  /**
421
- * @description Event category in the Performance panel for time spent in the embedder of the WebView
429
+ * @description Event category in the Performance panel for time spent in the embedder of the WebView.
422
430
  */
423
431
  embedderCallback: 'Embedder callback',
424
432
  /**
425
- * @description Event category in the Performance panel for time spent decoding an image
433
+ * @description Event category in the Performance panel for time spent decoding an image.
426
434
  */
427
435
  imageDecode: 'Image decode',
428
436
  /**
429
- * @description Event category in the Performance panel for time spent to perform Garbage Collection for the Document Object Model
437
+ * @description Event category in the Performance panel for time spent to perform garbage collection for the Document Object Model.
430
438
  */
431
439
  domGc: 'DOM GC',
432
440
  /**
433
- * @description Event category in the Performance panel for time spent to perform Garbage Collection for C++: https://chromium.googlesource.com/v8/v8/+/main/include/cppgc/README.md
441
+ * @description Event category in the Performance panel for time spent to perform garbage collection for C++: https://chromium.googlesource.com/v8/v8/+/main/include/cppgc/README.md.
434
442
  */
435
443
  cppGc: 'C++ GC',
436
444
  /**
437
- * @description Event category in the Performance panel for time spent to perform encryption
445
+ * @description Event category in the Performance panel for time spent to perform encryption.
438
446
  */
439
447
  encrypt: 'Encrypt',
440
448
  /**
441
- * @description Text in Timeline UIUtils of the Performance panel
449
+ * @description Text for an encryption reply event in the Performance panel.
442
450
  */
443
451
  encryptReply: 'Encrypt reply',
444
452
  /**
445
- * @description Event category in the Performance panel for time spent to perform decryption
453
+ * @description Event category in the Performance panel for time spent to perform decryption.
446
454
  */
447
455
  decrypt: 'Decrypt',
448
456
  /**
449
- * @description Text in Timeline UIUtils of the Performance panel
457
+ * @description Text for a decryption reply event in the Performance panel.
450
458
  */
451
459
  decryptReply: 'Decrypt reply',
452
460
  /**
@@ -456,7 +464,7 @@ const UIStrings = {
456
464
  digest: 'Digest',
457
465
  /**
458
466
  * @description Noun phrase meaning 'the browser was preparing the digest
459
- *reply'. Digest: https://developer.mozilla.org/en-US/docs/Glossary/Digest
467
+ * reply'. Digest: https://developer.mozilla.org/en-US/docs/Glossary/Digest
460
468
  */
461
469
  digestReply: 'Digest reply',
462
470
  /**
@@ -469,39 +477,39 @@ const UIStrings = {
469
477
  */
470
478
  signReply: 'Sign reply',
471
479
  /**
472
- * @description Text in Timeline UIUtils of the Performance panel
480
+ * @description Text for a verification stage event in the Performance panel.
473
481
  */
474
482
  verify: 'Verify',
475
483
  /**
476
- * @description Text in Timeline UIUtils of the Performance panel
484
+ * @description Text for a verification reply event in the Performance panel.
477
485
  */
478
486
  verifyReply: 'Verify reply',
479
487
  /**
480
- * @description Text in Timeline UIUtils of the Performance panel
488
+ * @description Text for an asynchronous task in the Performance panel.
481
489
  */
482
490
  asyncTask: 'Async task',
483
491
  /**
484
- * @description Text in Timeline for Layout Shift records
492
+ * @description Text in the Performance panel for layout shift records.
485
493
  */
486
494
  layoutShift: 'Layout shift',
487
495
  /**
488
- * @description Text in Timeline for Layout Shift records
496
+ * @description Text in the Performance panel for layout shift cluster records.
489
497
  */
490
498
  layoutShiftCluster: 'Layout shift cluster',
491
499
  /**
492
- * @description Text in Timeline for an Event Timing record
500
+ * @description Text in the Performance panel for an event timing record.
493
501
  */
494
502
  eventTiming: 'Event timing',
495
503
  /**
496
- * @description Event category in the Performance panel for JavaScript nodes in CPUProfile
504
+ * @description Event category in the Performance panel for JavaScript nodes in CPUProfile.
497
505
  */
498
506
  jsFrame: 'JS frame',
499
507
  /**
500
- * @description Text in UIDevtools Utils of the Performance panel
508
+ * @description Text in UIDevtools Utils of the Performance panel.
501
509
  */
502
510
  rasterizing: 'Rasterizing',
503
511
  /**
504
- * @description Text in UIDevtools Utils of the Performance panel
512
+ * @description Text in UIDevtools Utils of the Performance panel.
505
513
  */
506
514
  drawing: 'Drawing',
507
515
  /**
@@ -685,8 +693,10 @@ export function maybeInitSylesMap() {
685
693
  [Types.Events.Name.FRAME_STARTED_LOADING]: new TimelineRecordStyle(i18nString(UIStrings.frameStartedLoading), defaultCategoryStyles.loading, true),
686
694
  [Types.Events.Name.MARK_LOAD]: new TimelineRecordStyle(i18nString(UIStrings.onloadEvent), defaultCategoryStyles.scripting, true),
687
695
  [Types.Events.Name.MARK_DOM_CONTENT]: new TimelineRecordStyle(i18nString(UIStrings.domcontentloadedEvent), defaultCategoryStyles.scripting, true),
696
+ [Types.Events.Name.SOFT_NAVIGATION_START]: new TimelineRecordStyle(i18nString(UIStrings.softNavigationStart), defaultCategoryStyles.loading, true),
688
697
  [Types.Events.Name.MARK_FIRST_PAINT]: new TimelineRecordStyle(i18nString(UIStrings.firstPaint), defaultCategoryStyles.painting, true),
689
698
  [Types.Events.Name.MARK_FCP]: new TimelineRecordStyle(i18nString(UIStrings.firstContentfulPaint), defaultCategoryStyles.rendering, true),
699
+ [Types.Events.Name.MARK_SOFT_FCP]: new TimelineRecordStyle(i18nString(UIStrings.softFirstContentfulPaint), defaultCategoryStyles.rendering, true),
690
700
  [Types.Events.Name.MARK_LCP_CANDIDATE]: new TimelineRecordStyle(i18nString(UIStrings.largestContentfulPaint), defaultCategoryStyles.rendering, true),
691
701
  [Types.Events.Name.MARK_LCP_CANDIDATE_FOR_SOFT_NAVIGATION]: new TimelineRecordStyle(i18nString(UIStrings.softLargestContentfulPaint), defaultCategoryStyles.rendering, true),
692
702
  [Types.Events.Name.TIME_STAMP]: new TimelineRecordStyle(i18nString(UIStrings.timestamp), defaultCategoryStyles.scripting),
@@ -732,7 +742,7 @@ export function maybeInitSylesMap() {
732
742
  [Types.Events.Name.ASYNC_TASK]: new TimelineRecordStyle(i18nString(UIStrings.asyncTask), defaultCategoryStyles.async),
733
743
  [Types.Events.Name.LAYOUT_SHIFT]: new TimelineRecordStyle(i18nString(UIStrings.layoutShift), defaultCategoryStyles.experience,
734
744
  /* Mark LayoutShifts as hidden; in the timeline we render
735
- * SyntheticLayoutShifts so those are the ones visible to the user */
745
+ * SyntheticLayoutShifts so those are the ones visible to the user */
736
746
  true),
737
747
  [Types.Events.Name.SYNTHETIC_LAYOUT_SHIFT]: new TimelineRecordStyle(i18nString(UIStrings.layoutShift), defaultCategoryStyles.experience),
738
748
  [Types.Events.Name.SYNTHETIC_LAYOUT_SHIFT_CLUSTER]: new TimelineRecordStyle(i18nString(UIStrings.layoutShiftCluster), defaultCategoryStyles.experience),
@@ -796,9 +806,11 @@ export function setTimelineMainEventCategories(categories) {
796
806
  export function markerDetailsForEvent(event) {
797
807
  let title = '';
798
808
  let color = 'var(--color-text-primary)';
799
- if (Types.Events.isFirstContentfulPaint(event)) {
809
+ if (Types.Events.isAnyFirstContentfulPaint(event)) {
800
810
  color = 'var(--sys-color-green-bright)';
801
- title = Handlers.ModelHandlers.PageLoadMetrics.MetricName.FCP;
811
+ title = (Types.Events.isSoftFirstContentfulPaint(event)) ?
812
+ Handlers.ModelHandlers.PageLoadMetrics.MetricName.SOFT_FCP :
813
+ Handlers.ModelHandlers.PageLoadMetrics.MetricName.FCP;
802
814
  }
803
815
  if (Types.Events.isAnyLargestContentfulPaintCandidate(event)) {
804
816
  color = 'var(--sys-color-green)';