@paulirish/trace_engine 0.0.66 → 0.0.67-beta.0

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 (787) hide show
  1. package/README.md +19 -17
  2. package/analyze-trace.mjs +6 -144
  3. package/core/common/Base64.d.ts +12 -0
  4. package/core/common/CharacterIdMap.d.ts +5 -0
  5. package/core/common/Color.d.ts +357 -0
  6. package/core/common/ColorConverter.d.ts +26 -0
  7. package/core/common/ColorUtils.d.ts +45 -0
  8. package/core/common/Console.d.ts +54 -0
  9. package/core/common/Debouncer.d.ts +8 -0
  10. package/core/common/EventTarget.d.ts +22 -0
  11. package/core/common/Gzip.d.ts +23 -0
  12. package/core/common/JavaScriptMetaData.d.ts +20 -0
  13. package/core/common/Lazy.d.ts +4 -0
  14. package/core/common/MapWithDefault.d.ts +9 -0
  15. package/core/common/Mutex.d.ts +13 -0
  16. package/core/common/Object.d.ts +20 -0
  17. package/core/common/ParsedURL.d.ts +87 -0
  18. package/core/common/Progress.d.ts +47 -0
  19. package/core/common/ResolverBase.d.ts +29 -0
  20. package/core/common/ResourceType.d.ts +52 -0
  21. package/core/common/ReturnToPanel.d.ts +10 -0
  22. package/core/common/Revealer.d.ts +66 -0
  23. package/core/common/Runnable.d.ts +14 -0
  24. package/core/common/SegmentedRange.d.ts +14 -0
  25. package/core/common/SettingRegistration.d.ts +136 -0
  26. package/core/common/Settings.d.ts +226 -0
  27. package/core/common/SimpleHistoryManager.d.ts +20 -0
  28. package/core/common/Srcset.d.ts +16 -0
  29. package/core/common/StringOutputStream.d.ts +10 -0
  30. package/core/common/TextDictionary.d.ts +11 -0
  31. package/core/common/Throttler.d.ts +12 -0
  32. package/core/common/Trie.d.ts +24 -0
  33. package/core/common/VersionController.d.ts +85 -0
  34. package/core/common/common.d.ts +33 -1
  35. package/core/host/AidaClient.d.ts +73 -0
  36. package/core/host/AidaClientTypes.d.ts +355 -0
  37. package/core/host/AidaGcaTranslation.d.ts +10 -0
  38. package/core/host/DispatchHttpRequestClient.d.ts +14 -0
  39. package/core/host/GcaClient.d.ts +14 -0
  40. package/core/host/GcaTypes.d.ts +411 -0
  41. package/core/host/GdpClient.d.ts +84 -0
  42. package/core/host/InspectorFrontendHost.d.ts +29 -0
  43. package/core/host/InspectorFrontendHostAPI.d.ts +425 -0
  44. package/core/host/InspectorFrontendHostStub.d.ts +151 -0
  45. package/core/host/Platform.d.ts +11 -0
  46. package/core/host/ResourceLoader.d.ts +15 -0
  47. package/core/host/UserMetrics.d.ts +116 -0
  48. package/core/host/UserMetricsEnums.d.ts +883 -0
  49. package/core/host/host.d.ts +13 -1
  50. package/core/i18n/ByteUtilities.d.ts +11 -0
  51. package/core/i18n/DevToolsLocale.d.ts +41 -0
  52. package/core/i18n/NumberFormatter.d.ts +11 -0
  53. package/core/i18n/i18n.d.ts +10 -0
  54. package/core/i18n/i18nImpl.d.ts +64 -0
  55. package/core/i18n/i18nTypes.d.ts +5 -0
  56. package/core/i18n/locales.d.ts +15 -0
  57. package/core/i18n/time-utilities.d.ts +16 -0
  58. package/core/platform/StringUtilities.d.ts +0 -21
  59. package/core/protocol_client/CDPConnection.d.ts +77 -0
  60. package/core/protocol_client/ConnectionTransport.d.ts +9 -0
  61. package/core/protocol_client/DevToolsCDPConnection.d.ts +16 -0
  62. package/core/protocol_client/InspectorBackend.d.ts +223 -0
  63. package/core/protocol_client/protocol_client.d.ts +5 -0
  64. package/core/root/DevToolsContext.d.ts +34 -0
  65. package/core/root/ExperimentNames.d.ts +8 -0
  66. package/core/root/Runtime.d.ts +351 -0
  67. package/core/root/root.d.ts +4 -1
  68. package/core/sdk/AccessibilityModel.d.ts +76 -0
  69. package/core/sdk/AnimationModel.d.ts +161 -0
  70. package/core/sdk/AutofillModel.d.ts +23 -0
  71. package/core/sdk/CPUProfilerModel.d.ts +46 -0
  72. package/core/sdk/CPUThrottlingManager.d.ts +47 -0
  73. package/core/sdk/CSSContainerQuery.d.ts +42 -0
  74. package/core/sdk/CSSFontFace.d.ts +10 -0
  75. package/core/sdk/CSSLayer.d.ts +9 -0
  76. package/core/sdk/CSSLocation.d.ts +14 -0
  77. package/core/sdk/CSSMatchedStyles.d.ts +138 -0
  78. package/core/sdk/CSSMedia.d.ts +36 -0
  79. package/core/sdk/CSSMetadata.d.ts +87 -0
  80. package/core/sdk/CSSModel.d.ts +180 -0
  81. package/core/sdk/CSSNavigation.d.ts +10 -0
  82. package/core/sdk/CSSProperty.d.ts +53 -0
  83. package/core/sdk/CSSPropertyParser.d.ts +131 -0
  84. package/core/sdk/CSSPropertyParserMatchers.d.ts +442 -0
  85. package/core/sdk/CSSQuery.d.ts +22 -0
  86. package/core/sdk/CSSRule.d.ts +132 -0
  87. package/core/sdk/CSSScope.d.ts +9 -0
  88. package/core/sdk/CSSStartingStyle.d.ts +9 -0
  89. package/core/sdk/CSSStyleDeclaration.d.ts +38 -0
  90. package/core/sdk/CSSStyleSheetHeader.d.ts +53 -0
  91. package/core/sdk/CSSSupports.d.ts +10 -0
  92. package/core/sdk/CategorizedBreakpoint.d.ts +42 -0
  93. package/core/sdk/ChildTargetManager.d.ts +40 -0
  94. package/core/sdk/CompilerSourceMappingContentProvider.d.ts +12 -0
  95. package/core/sdk/Connections.d.ts +36 -0
  96. package/core/sdk/ConsoleModel.d.ts +127 -0
  97. package/core/sdk/ConsoleModelTypes.d.ts +6 -0
  98. package/core/sdk/Cookie.d.ts +68 -0
  99. package/core/sdk/CookieModel.d.ts +31 -0
  100. package/core/sdk/CookieParser.d.ts +14 -0
  101. package/core/sdk/CrashReportContextModel.d.ts +8 -0
  102. package/core/sdk/DOMDebuggerModel.d.ts +127 -0
  103. package/core/sdk/DOMModel.d.ts +436 -0
  104. package/core/sdk/DOMStorageModel.d.ts +79 -0
  105. package/core/sdk/DebuggerModel.d.ts +272 -0
  106. package/core/sdk/EmulationModel.d.ts +95 -0
  107. package/core/sdk/EnhancedTracesParser.d.ts +105 -0
  108. package/core/sdk/EventBreakpointsModel.d.ts +66 -0
  109. package/core/sdk/FrameAssociated.d.ts +6 -0
  110. package/core/sdk/FrameManager.d.ts +68 -0
  111. package/core/sdk/HeapProfilerModel.d.ts +75 -0
  112. package/core/sdk/HttpReasonPhraseStrings.d.ts +5 -0
  113. package/core/sdk/IOModel.d.ts +10 -0
  114. package/core/sdk/IsolateManager.d.ts +53 -0
  115. package/core/sdk/IssuesModel.d.ts +28 -0
  116. package/core/sdk/LayerTreeBase.d.ts +70 -0
  117. package/core/sdk/LogModel.d.ts +20 -0
  118. package/core/sdk/NetworkManager.d.ts +418 -0
  119. package/core/sdk/NetworkRequest.d.ts +469 -0
  120. package/core/sdk/NetworkRequestAccess.d.ts +91 -0
  121. package/core/sdk/OverlayColorGenerator.d.ts +14 -0
  122. package/core/sdk/OverlayModel.d.ts +186 -0
  123. package/core/sdk/OverlayPersistentHighlighter.d.ts +116 -0
  124. package/core/sdk/PageFunctions.d.ts +22 -0
  125. package/core/sdk/PageLoad.d.ts +14 -0
  126. package/core/sdk/PageResourceLoader.d.ts +111 -0
  127. package/core/sdk/PaintProfiler.d.ts +43 -0
  128. package/core/sdk/PerformanceMetricsModel.d.ts +12 -0
  129. package/core/sdk/PreloadingModel.d.ts +146 -0
  130. package/core/sdk/RehydratingConnection.d.ts +73 -0
  131. package/core/sdk/RehydratingObject.d.ts +59 -0
  132. package/core/sdk/RemoteObject.d.ts +210 -0
  133. package/core/sdk/Resource.d.ts +36 -0
  134. package/core/sdk/ResourceTreeModel.d.ts +278 -0
  135. package/core/sdk/RuntimeModel.d.ts +163 -0
  136. package/core/sdk/SDKModel.d.ts +30 -0
  137. package/core/sdk/SDKSettings.d.ts +53 -0
  138. package/core/sdk/ScopeTreeCache.d.ts +21 -0
  139. package/core/sdk/ScreenCaptureModel.d.ts +69 -0
  140. package/core/sdk/Script.d.ts +134 -0
  141. package/core/sdk/SecurityOrigin.d.ts +108 -0
  142. package/core/sdk/SecurityOriginManager.d.ts +23 -0
  143. package/core/sdk/ServerSentEvents.d.ts +18 -0
  144. package/core/sdk/ServerSentEventsProtocol.d.ts +18 -0
  145. package/core/sdk/ServerTiming.d.ts +24 -0
  146. package/core/sdk/ServiceWorkerCacheModel.d.ts +71 -0
  147. package/core/sdk/ServiceWorkerManager.d.ts +125 -0
  148. package/core/sdk/SourceMap.d.ts +197 -0
  149. package/core/sdk/SourceMapCache.d.ts +12 -0
  150. package/core/sdk/SourceMapFunctionRanges.d.ts +26 -0
  151. package/core/sdk/SourceMapManager.d.ts +46 -0
  152. package/core/sdk/SourceMapRangeMappings.d.ts +15 -0
  153. package/core/sdk/SourceMapScopeChainEntry.d.ts +23 -0
  154. package/core/sdk/SourceMapScopesInfo.d.ts +109 -0
  155. package/core/sdk/StorageBucketsModel.d.ts +48 -0
  156. package/core/sdk/StorageKeyManager.d.ts +38 -0
  157. package/core/sdk/Target.d.ts +79 -0
  158. package/core/sdk/TargetManager.d.ts +92 -0
  159. package/core/sdk/TraceObject.d.ts +43 -0
  160. package/core/sdk/WebAuthnModel.d.ts +29 -0
  161. package/core/sdk/sdk.d.ts +97 -1
  162. package/core/text_utils/CodeMirrorUtils.d.ts +3 -0
  163. package/core/text_utils/ContentData.d.ts +94 -0
  164. package/core/text_utils/ContentProvider.d.ts +42 -0
  165. package/core/text_utils/StaticContentProvider.d.ts +13 -0
  166. package/core/text_utils/StreamingContentData.d.ts +49 -0
  167. package/core/text_utils/Text.d.ts +19 -0
  168. package/core/text_utils/TextCursor.d.ts +9 -0
  169. package/core/text_utils/TextRange.d.ts +81 -0
  170. package/core/text_utils/TextUtils.d.ts +97 -0
  171. package/core/text_utils/WasmDisassembly.d.ts +29 -0
  172. package/core/text_utils/text_utils.d.ts +11 -0
  173. package/entrypoints/formatter_actions/formatter_actions.d.ts +48 -0
  174. package/generated/InspectorBackendCommands.d.ts +14 -0
  175. package/generated/SupportedCSSProperties.d.ts +18 -0
  176. package/generated/protocol-mapping.d.ts +5930 -0
  177. package/generated/protocol-proxy-api.d.ts +5396 -0
  178. package/generated/protocol.d.ts +26 -72
  179. package/index.js +6 -0
  180. package/locales/af.json +171 -174
  181. package/locales/am.json +351 -354
  182. package/locales/ar.json +352 -355
  183. package/locales/as.json +350 -353
  184. package/locales/az.json +341 -344
  185. package/locales/be.json +351 -354
  186. package/locales/bg.json +351 -354
  187. package/locales/bn.json +351 -354
  188. package/locales/bs.json +253 -256
  189. package/locales/ca.json +283 -286
  190. package/locales/cs.json +336 -339
  191. package/locales/cy.json +144 -147
  192. package/locales/da.json +232 -235
  193. package/locales/de.json +251 -254
  194. package/locales/el.json +336 -339
  195. package/locales/en-GB.json +132 -135
  196. package/locales/es-419.json +282 -285
  197. package/locales/es.json +282 -285
  198. package/locales/et.json +236 -239
  199. package/locales/eu.json +131 -134
  200. package/locales/fa.json +351 -354
  201. package/locales/fi.json +283 -286
  202. package/locales/fil.json +128 -131
  203. package/locales/fr-CA.json +310 -313
  204. package/locales/fr.json +309 -312
  205. package/locales/gl.json +264 -267
  206. package/locales/gu.json +352 -355
  207. package/locales/he.json +352 -355
  208. package/locales/hi.json +336 -339
  209. package/locales/hr.json +257 -260
  210. package/locales/hu.json +342 -345
  211. package/locales/hy.json +351 -354
  212. package/locales/id.json +128 -131
  213. package/locales/is.json +304 -307
  214. package/locales/it.json +221 -224
  215. package/locales/ja.json +351 -354
  216. package/locales/ka.json +352 -355
  217. package/locales/kk.json +352 -355
  218. package/locales/km.json +351 -354
  219. package/locales/kn.json +352 -355
  220. package/locales/ko.json +351 -354
  221. package/locales/ky.json +350 -353
  222. package/locales/lo.json +352 -355
  223. package/locales/lt.json +323 -326
  224. package/locales/lv.json +317 -320
  225. package/locales/mk.json +352 -355
  226. package/locales/ml.json +351 -354
  227. package/locales/mn.json +351 -354
  228. package/locales/mr.json +351 -354
  229. package/locales/ms.json +128 -131
  230. package/locales/my.json +350 -353
  231. package/locales/ne.json +336 -339
  232. package/locales/nl.json +183 -186
  233. package/locales/no.json +238 -241
  234. package/locales/or.json +351 -354
  235. package/locales/pa.json +351 -354
  236. package/locales/pl.json +307 -310
  237. package/locales/pt-PT.json +273 -276
  238. package/locales/pt.json +270 -273
  239. package/locales/ro.json +309 -312
  240. package/locales/ru.json +351 -354
  241. package/locales/si.json +352 -355
  242. package/locales/sk.json +333 -336
  243. package/locales/sl.json +273 -276
  244. package/locales/sq.json +316 -319
  245. package/locales/sr-Latn.json +256 -259
  246. package/locales/sr.json +352 -355
  247. package/locales/sv.json +296 -299
  248. package/locales/sw.json +128 -131
  249. package/locales/ta.json +352 -355
  250. package/locales/te.json +350 -353
  251. package/locales/th.json +352 -355
  252. package/locales/tr.json +327 -330
  253. package/locales/uk.json +351 -354
  254. package/locales/ur.json +352 -355
  255. package/locales/uz.json +232 -235
  256. package/locales/vi.json +352 -355
  257. package/locales/zh-HK.json +352 -355
  258. package/locales/zh-TW.json +351 -354
  259. package/locales/zh.json +351 -354
  260. package/locales/zu.json +127 -130
  261. package/models/crux-manager/CrUXManager.d.ts +107 -0
  262. package/models/crux-manager/crux-manager.d.ts +1 -0
  263. package/models/emulation/DeviceModeModel.d.ts +156 -0
  264. package/models/emulation/EmulatedDevices.d.ts +148 -0
  265. package/models/emulation/emulation.d.ts +3 -0
  266. package/models/formatter/FormatterWorkerPool.d.ts +58 -0
  267. package/models/formatter/ScriptFormatter.d.ts +11 -0
  268. package/models/formatter/formatter.d.ts +3 -0
  269. package/models/trace/ModelImpl.d.ts +1 -1
  270. package/models/trace/extras/extras.d.ts +2 -7
  271. package/models/trace/handlers/ScriptsHandler.d.ts +2 -2
  272. package/models/trace/insights/CLSCulprits.d.ts +14 -14
  273. package/models/trace/insights/Cache.d.ts +8 -8
  274. package/models/trace/insights/CharacterSet.d.ts +10 -10
  275. package/models/trace/insights/Common.d.ts +4 -4
  276. package/models/trace/insights/DOMSize.d.ts +15 -15
  277. package/models/trace/insights/DocumentLatency.d.ts +13 -13
  278. package/models/trace/insights/DuplicatedJavaScript.d.ts +7 -7
  279. package/models/trace/insights/FontDisplay.d.ts +7 -7
  280. package/models/trace/insights/ForcedReflow.d.ts +9 -9
  281. package/models/trace/insights/INPBreakdown.d.ts +10 -10
  282. package/models/trace/insights/ImageDelivery.d.ts +12 -13
  283. package/models/trace/insights/LCPBreakdown.d.ts +13 -13
  284. package/models/trace/insights/LCPDiscovery.d.ts +12 -12
  285. package/models/trace/insights/LegacyJavaScript.d.ts +7 -7
  286. package/models/trace/insights/ModernHTTP.d.ts +7 -7
  287. package/models/trace/insights/NetworkDependencyTree.d.ts +21 -104
  288. package/models/trace/insights/RenderBlocking.d.ts +7 -7
  289. package/models/trace/insights/SlowCSSSelector.d.ts +12 -12
  290. package/models/trace/insights/ThirdParties.d.ts +8 -8
  291. package/models/trace/insights/Viewport.d.ts +5 -5
  292. package/models/trace/insights/types.d.ts +1 -1
  293. package/models/trace/lantern/core/NetworkAnalyzer.d.ts +0 -1
  294. package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
  295. package/models/trace/lantern/graph/CPUNode.d.ts +2 -4
  296. package/models/trace/lantern/lantern.js +6 -8
  297. package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
  298. package/models/trace/lantern/types/Lantern.d.ts +19 -27
  299. package/models/trace/trace.js +529 -18
  300. package/models/trace/types/Configuration.d.ts +1 -1
  301. package/models/trace/types/Extensions.d.ts +1 -1
  302. package/models/trace/types/File.d.ts +5 -5
  303. package/models/trace/types/Timing.js +6 -14
  304. package/models/trace/types/TraceEvents.d.ts +24 -24
  305. package/models/trace/types/TraceEvents.js +187 -984
  306. package/models/trace/types/types.js +6 -8
  307. package/package.json +30 -8
  308. package/third_party/codemirror.next/codemirror.next.d.ts +9196 -0
  309. package/third_party/i18n/i18n-impl.d.ts +25 -0
  310. package/third_party/i18n/i18n.d.ts +3 -0
  311. package/third_party/i18n/localized-string-set.d.ts +49 -0
  312. package/third_party/intl-messageformat/intl-messageformat.d.ts +1 -0
  313. package/third_party/source-map-scopes-codec/package/src/builder/builder.d.ts +67 -0
  314. package/third_party/source-map-scopes-codec/package/src/builder/safe_builder.d.ts +38 -0
  315. package/third_party/source-map-scopes-codec/package/src/codec.d.ts +48 -0
  316. package/third_party/source-map-scopes-codec/package/src/decode/decode.d.ts +31 -0
  317. package/third_party/source-map-scopes-codec/package/src/encode/encode.d.ts +8 -0
  318. package/third_party/source-map-scopes-codec/package/src/encode/encoder.d.ts +6 -0
  319. package/third_party/source-map-scopes-codec/package/src/mod.d.ts +5 -0
  320. package/third_party/source-map-scopes-codec/package/src/scopes.d.ts +168 -0
  321. package/third_party/source-map-scopes-codec/package/src/util.d.ts +5 -0
  322. package/third_party/source-map-scopes-codec/package/src/vlq.d.ts +14 -0
  323. package/third_party/source-map-scopes-codec/source-map-scopes-codec.d.ts +1 -0
  324. package/third_party/third-party-web/lib/nostats-subset.d.ts +2 -0
  325. package/third_party/third-party-web/package/lib/index.d.ts +34 -0
  326. package/third_party/third-party-web/package/lib/subsets/nostats.d.ts +1 -0
  327. package/third_party/third-party-web/third-party-web.d.ts +2 -1
  328. package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts +0 -13
  329. package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts.map +0 -1
  330. package/.tmp/tsbuildinfo/analyze-trace.d.mts +0 -17
  331. package/.tmp/tsbuildinfo/analyze-trace.d.mts.map +0 -1
  332. package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts +0 -4
  333. package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts.map +0 -1
  334. package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts +0 -2
  335. package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts.map +0 -1
  336. package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts +0 -3
  337. package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts.map +0 -1
  338. package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +0 -1
  339. package/analyze-inspector-issues.mjs +0 -60
  340. package/core/common/common.js +0 -1
  341. package/core/host/host.js +0 -1
  342. package/core/platform/ArrayUtilities.js +0 -224
  343. package/core/platform/ArrayUtilities.js.map +0 -1
  344. package/core/platform/Brand.js +0 -5
  345. package/core/platform/Brand.js.map +0 -1
  346. package/core/platform/Constructor.js +0 -5
  347. package/core/platform/Constructor.js.map +0 -1
  348. package/core/platform/DateUtilities.js +0 -14
  349. package/core/platform/DateUtilities.js.map +0 -1
  350. package/core/platform/DevToolsPath.js +0 -28
  351. package/core/platform/DevToolsPath.js.map +0 -1
  352. package/core/platform/HostRuntime.js +0 -31
  353. package/core/platform/HostRuntime.js.map +0 -1
  354. package/core/platform/KeyboardUtilities.js +0 -34
  355. package/core/platform/KeyboardUtilities.js.map +0 -1
  356. package/core/platform/MapUtilities.js +0 -80
  357. package/core/platform/MapUtilities.js.map +0 -1
  358. package/core/platform/MimeType.js +0 -157
  359. package/core/platform/MimeType.js.map +0 -1
  360. package/core/platform/NumberUtilities.js +0 -73
  361. package/core/platform/NumberUtilities.js.map +0 -1
  362. package/core/platform/Size.js +0 -36
  363. package/core/platform/Size.js.map +0 -1
  364. package/core/platform/StringUtilities.js +0 -731
  365. package/core/platform/StringUtilities.js.map +0 -1
  366. package/core/platform/Timing.js +0 -10
  367. package/core/platform/Timing.js.map +0 -1
  368. package/core/platform/TypedArrayUtilities.js +0 -158
  369. package/core/platform/TypedArrayUtilities.js.map +0 -1
  370. package/core/platform/TypescriptUtilities.js +0 -17
  371. package/core/platform/TypescriptUtilities.js.map +0 -1
  372. package/core/platform/UIString.js +0 -5
  373. package/core/platform/UIString.js.map +0 -1
  374. package/core/platform/UserVisibleError.js +0 -23
  375. package/core/platform/UserVisibleError.js.map +0 -1
  376. package/core/platform/api/HostRuntime.js +0 -5
  377. package/core/platform/api/HostRuntime.js.map +0 -1
  378. package/core/platform/api/api-tsconfig.json +0 -58
  379. package/core/platform/api/api-tsconfig.ref.json +0 -26
  380. package/core/platform/api/api.js +0 -6
  381. package/core/platform/api/api.js.map +0 -1
  382. package/core/platform/browser/HostRuntime.js +0 -165
  383. package/core/platform/browser/HostRuntime.js.map +0 -1
  384. package/core/platform/browser/browser-tsconfig.json +0 -59
  385. package/core/platform/browser/browser-tsconfig.ref.json +0 -27
  386. package/core/platform/browser/browser.js +0 -6
  387. package/core/platform/browser/browser.js.map +0 -1
  388. package/core/platform/browser/bundle-tsconfig.json +0 -59
  389. package/core/platform/browser/bundle-tsconfig.ref.json +0 -27
  390. package/core/platform/bundle-tsconfig.json +0 -59
  391. package/core/platform/bundle-tsconfig.ref.json +0 -27
  392. package/core/platform/foundation_unittests-tsconfig.json +0 -73
  393. package/core/platform/foundation_unittests-tsconfig.ref.json +0 -40
  394. package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +0 -70
  395. package/core/platform/node/HostRuntime.js +0 -127
  396. package/core/platform/node/HostRuntime.js.map +0 -1
  397. package/core/platform/node/bundle-tsconfig.json +0 -59
  398. package/core/platform/node/bundle-tsconfig.ref.json +0 -27
  399. package/core/platform/node/node-tsconfig.json +0 -59
  400. package/core/platform/node/node-tsconfig.ref.json +0 -27
  401. package/core/platform/node/node.js +0 -6
  402. package/core/platform/node/node.js.map +0 -1
  403. package/core/platform/platform-tsconfig.json +0 -81
  404. package/core/platform/platform-tsconfig.ref.json +0 -49
  405. package/core/platform/platform.js +0 -28
  406. package/core/platform/platform.js.map +0 -1
  407. package/core/platform/platform_node_typecheck-tsconfig.json +0 -78
  408. package/core/platform/platform_node_typecheck.stamp +0 -0
  409. package/core/root/root.js +0 -1
  410. package/core/sdk/sdk.js +0 -1
  411. package/generated/protocol.js +0 -3304
  412. package/locales/en-US.json +0 -1058
  413. package/locales/en-XL.json +0 -1058
  414. package/models/cpu_profile/CPUProfileDataModel.js +0 -517
  415. package/models/cpu_profile/CPUProfileDataModel.js.map +0 -1
  416. package/models/cpu_profile/ProfileTreeModel.js +0 -90
  417. package/models/cpu_profile/ProfileTreeModel.js.map +0 -1
  418. package/models/cpu_profile/bundle-tsconfig.json +0 -59
  419. package/models/cpu_profile/bundle-tsconfig.ref.json +0 -27
  420. package/models/cpu_profile/cpu_profile-tsconfig.json +0 -63
  421. package/models/cpu_profile/cpu_profile-tsconfig.ref.json +0 -31
  422. package/models/cpu_profile/cpu_profile.js +0 -7
  423. package/models/cpu_profile/cpu_profile.js.map +0 -1
  424. package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +0 -60
  425. package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
  426. package/models/cpu_profile/foundation_unittests-tsconfig.json +0 -63
  427. package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +0 -30
  428. package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +0 -60
  429. package/models/issues_manager/CheckFormsIssuesTrigger.d.ts +0 -1
  430. package/models/issues_manager/CheckFormsIssuesTrigger.js +0 -1
  431. package/models/issues_manager/ContrastCheckTrigger.d.ts +0 -1
  432. package/models/issues_manager/ContrastCheckTrigger.js +0 -1
  433. package/models/issues_manager/DeprecationIssue.d.ts +0 -1
  434. package/models/issues_manager/DeprecationIssue.js +0 -1
  435. package/models/issues_manager/IssueResolver.d.ts +0 -1
  436. package/models/issues_manager/IssueResolver.js +0 -1
  437. package/models/issues_manager/RelatedIssue.d.ts +0 -1
  438. package/models/issues_manager/RelatedIssue.js +0 -1
  439. package/models/issues_manager/SourceFrameIssuesManager.d.ts +0 -1
  440. package/models/issues_manager/SourceFrameIssuesManager.js +0 -1
  441. package/models/trace/EntityMapper.js +0 -133
  442. package/models/trace/EntityMapper.js.map +0 -1
  443. package/models/trace/EventsSerializer.js +0 -90
  444. package/models/trace/EventsSerializer.js.map +0 -1
  445. package/models/trace/LanternComputationData.js +0 -374
  446. package/models/trace/LanternComputationData.js.map +0 -1
  447. package/models/trace/LegacyTracingModel.d.ts +0 -1
  448. package/models/trace/LegacyTracingModel.js +0 -1
  449. package/models/trace/ModelImpl.js +0 -181
  450. package/models/trace/ModelImpl.js.map +0 -1
  451. package/models/trace/Name.js +0 -115
  452. package/models/trace/Name.js.map +0 -1
  453. package/models/trace/Processor.js +0 -618
  454. package/models/trace/Processor.js.map +0 -1
  455. package/models/trace/Styles.js +0 -836
  456. package/models/trace/Styles.js.map +0 -1
  457. package/models/trace/TracingManager.d.ts +0 -1
  458. package/models/trace/TracingManager.js +0 -1
  459. package/models/trace/bundle-tsconfig.json +0 -77
  460. package/models/trace/bundle-tsconfig.ref.json +0 -45
  461. package/models/trace/extras/FilmStrip.js +0 -45
  462. package/models/trace/extras/FilmStrip.js.map +0 -1
  463. package/models/trace/extras/Initiators.js +0 -47
  464. package/models/trace/extras/Initiators.js.map +0 -1
  465. package/models/trace/extras/MainThreadActivity.js +0 -77
  466. package/models/trace/extras/MainThreadActivity.js.map +0 -1
  467. package/models/trace/extras/ScriptDuplication.js +0 -163
  468. package/models/trace/extras/ScriptDuplication.js.map +0 -1
  469. package/models/trace/extras/StackTraceForEvent.js +0 -192
  470. package/models/trace/extras/StackTraceForEvent.js.map +0 -1
  471. package/models/trace/extras/ThirdParties.js +0 -119
  472. package/models/trace/extras/ThirdParties.js.map +0 -1
  473. package/models/trace/extras/TraceFilter.js +0 -51
  474. package/models/trace/extras/TraceFilter.js.map +0 -1
  475. package/models/trace/extras/TraceTree.js +0 -621
  476. package/models/trace/extras/TraceTree.js.map +0 -1
  477. package/models/trace/extras/bundle-tsconfig.json +0 -59
  478. package/models/trace/extras/bundle-tsconfig.ref.json +0 -27
  479. package/models/trace/extras/extras-tsconfig.json +0 -81
  480. package/models/trace/extras/extras-tsconfig.ref.json +0 -49
  481. package/models/trace/extras/extras.js +0 -13
  482. package/models/trace/extras/extras.js.map +0 -1
  483. package/models/trace/extras/extras_node_typecheck-tsconfig.json +0 -78
  484. package/models/trace/extras/extras_node_typecheck.stamp +0 -0
  485. package/models/trace/extras/foundation_unittests-tsconfig.json +0 -91
  486. package/models/trace/extras/foundation_unittests-tsconfig.ref.json +0 -58
  487. package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +0 -88
  488. package/models/trace/foundation_unittests-tsconfig.json +0 -70
  489. package/models/trace/foundation_unittests-tsconfig.ref.json +0 -37
  490. package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +0 -67
  491. package/models/trace/handlers/AnimationFramesHandler.js +0 -110
  492. package/models/trace/handlers/AnimationFramesHandler.js.map +0 -1
  493. package/models/trace/handlers/AnimationHandler.js +0 -27
  494. package/models/trace/handlers/AnimationHandler.js.map +0 -1
  495. package/models/trace/handlers/AsyncJSCallsHandler.js +0 -188
  496. package/models/trace/handlers/AsyncJSCallsHandler.js.map +0 -1
  497. package/models/trace/handlers/DOMStatsHandler.js +0 -22
  498. package/models/trace/handlers/DOMStatsHandler.js.map +0 -1
  499. package/models/trace/handlers/ExtensionTraceDataHandler.js +0 -264
  500. package/models/trace/handlers/ExtensionTraceDataHandler.js.map +0 -1
  501. package/models/trace/handlers/FlowsHandler.js +0 -149
  502. package/models/trace/handlers/FlowsHandler.js.map +0 -1
  503. package/models/trace/handlers/FramesHandler.js +0 -491
  504. package/models/trace/handlers/FramesHandler.js.map +0 -1
  505. package/models/trace/handlers/GPUHandler.js +0 -36
  506. package/models/trace/handlers/GPUHandler.js.map +0 -1
  507. package/models/trace/handlers/ImagePaintingHandler.js +0 -148
  508. package/models/trace/handlers/ImagePaintingHandler.js.map +0 -1
  509. package/models/trace/handlers/InitiatorsHandler.js +0 -181
  510. package/models/trace/handlers/InitiatorsHandler.js.map +0 -1
  511. package/models/trace/handlers/InvalidationsHandler.js +0 -127
  512. package/models/trace/handlers/InvalidationsHandler.js.map +0 -1
  513. package/models/trace/handlers/LargestImagePaintHandler.js +0 -86
  514. package/models/trace/handlers/LargestImagePaintHandler.js.map +0 -1
  515. package/models/trace/handlers/LargestTextPaintHandler.js +0 -28
  516. package/models/trace/handlers/LargestTextPaintHandler.js.map +0 -1
  517. package/models/trace/handlers/LayerTreeHandler.js +0 -104
  518. package/models/trace/handlers/LayerTreeHandler.js.map +0 -1
  519. package/models/trace/handlers/LayoutShiftsHandler.js +0 -457
  520. package/models/trace/handlers/LayoutShiftsHandler.js.map +0 -1
  521. package/models/trace/handlers/MemoryHandler.js +0 -22
  522. package/models/trace/handlers/MemoryHandler.js.map +0 -1
  523. package/models/trace/handlers/MetaHandler.js +0 -442
  524. package/models/trace/handlers/MetaHandler.js.map +0 -1
  525. package/models/trace/handlers/ModelHandlers.js +0 -33
  526. package/models/trace/handlers/ModelHandlers.js.map +0 -1
  527. package/models/trace/handlers/NetworkRequestsHandler.js +0 -578
  528. package/models/trace/handlers/NetworkRequestsHandler.js.map +0 -1
  529. package/models/trace/handlers/PageFramesHandler.js +0 -43
  530. package/models/trace/handlers/PageFramesHandler.js.map +0 -1
  531. package/models/trace/handlers/PageLoadMetricsHandler.js +0 -462
  532. package/models/trace/handlers/PageLoadMetricsHandler.js.map +0 -1
  533. package/models/trace/handlers/RendererHandler.js +0 -346
  534. package/models/trace/handlers/RendererHandler.js.map +0 -1
  535. package/models/trace/handlers/SamplesHandler.js +0 -261
  536. package/models/trace/handlers/SamplesHandler.js.map +0 -1
  537. package/models/trace/handlers/ScreenshotsHandler.js +0 -56
  538. package/models/trace/handlers/ScreenshotsHandler.js.map +0 -1
  539. package/models/trace/handlers/ScriptsHandler.js +0 -286
  540. package/models/trace/handlers/ScriptsHandler.js.map +0 -1
  541. package/models/trace/handlers/SelectorStatsHandler.js +0 -72
  542. package/models/trace/handlers/SelectorStatsHandler.js.map +0 -1
  543. package/models/trace/handlers/Threads.js +0 -108
  544. package/models/trace/handlers/Threads.js.map +0 -1
  545. package/models/trace/handlers/UserInteractionsHandler.js +0 -319
  546. package/models/trace/handlers/UserInteractionsHandler.js.map +0 -1
  547. package/models/trace/handlers/UserTimingsHandler.js +0 -194
  548. package/models/trace/handlers/UserTimingsHandler.js.map +0 -1
  549. package/models/trace/handlers/WarningsHandler.js +0 -135
  550. package/models/trace/handlers/WarningsHandler.js.map +0 -1
  551. package/models/trace/handlers/WorkersHandler.js +0 -34
  552. package/models/trace/handlers/WorkersHandler.js.map +0 -1
  553. package/models/trace/handlers/bundle-tsconfig.json +0 -59
  554. package/models/trace/handlers/bundle-tsconfig.ref.json +0 -27
  555. package/models/trace/handlers/foundation_unittests-tsconfig.json +0 -102
  556. package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +0 -69
  557. package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +0 -99
  558. package/models/trace/handlers/handlers-tsconfig.json +0 -112
  559. package/models/trace/handlers/handlers-tsconfig.ref.json +0 -80
  560. package/models/trace/handlers/handlers.js +0 -8
  561. package/models/trace/handlers/handlers.js.map +0 -1
  562. package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +0 -109
  563. package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
  564. package/models/trace/handlers/helpers.js +0 -164
  565. package/models/trace/handlers/helpers.js.map +0 -1
  566. package/models/trace/handlers/types.js +0 -2
  567. package/models/trace/handlers/types.js.map +0 -1
  568. package/models/trace/helpers/Extensions.js +0 -42
  569. package/models/trace/helpers/Extensions.js.map +0 -1
  570. package/models/trace/helpers/Network.js +0 -103
  571. package/models/trace/helpers/Network.js.map +0 -1
  572. package/models/trace/helpers/SamplesIntegrator.js +0 -512
  573. package/models/trace/helpers/SamplesIntegrator.js.map +0 -1
  574. package/models/trace/helpers/SyntheticEvents.js +0 -94
  575. package/models/trace/helpers/SyntheticEvents.js.map +0 -1
  576. package/models/trace/helpers/Timing.js +0 -207
  577. package/models/trace/helpers/Timing.js.map +0 -1
  578. package/models/trace/helpers/Trace.js +0 -817
  579. package/models/trace/helpers/Trace.js.map +0 -1
  580. package/models/trace/helpers/TreeHelpers.js +0 -255
  581. package/models/trace/helpers/TreeHelpers.js.map +0 -1
  582. package/models/trace/helpers/bundle-tsconfig.json +0 -59
  583. package/models/trace/helpers/bundle-tsconfig.ref.json +0 -27
  584. package/models/trace/helpers/foundation_unittests-tsconfig.json +0 -73
  585. package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +0 -40
  586. package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +0 -70
  587. package/models/trace/helpers/helpers-tsconfig.json +0 -77
  588. package/models/trace/helpers/helpers-tsconfig.ref.json +0 -45
  589. package/models/trace/helpers/helpers.js +0 -11
  590. package/models/trace/helpers/helpers.js.map +0 -1
  591. package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +0 -74
  592. package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
  593. package/models/trace/insights/CLSCulprits.js +0 -519
  594. package/models/trace/insights/CLSCulprits.js.map +0 -1
  595. package/models/trace/insights/Cache.js +0 -210
  596. package/models/trace/insights/Cache.js.map +0 -1
  597. package/models/trace/insights/CharacterSet.js +0 -132
  598. package/models/trace/insights/CharacterSet.js.map +0 -1
  599. package/models/trace/insights/Common.js +0 -366
  600. package/models/trace/insights/Common.js.map +0 -1
  601. package/models/trace/insights/DOMSize.js +0 -182
  602. package/models/trace/insights/DOMSize.js.map +0 -1
  603. package/models/trace/insights/DocumentLatency.js +0 -259
  604. package/models/trace/insights/DocumentLatency.js.map +0 -1
  605. package/models/trace/insights/DuplicatedJavaScript.js +0 -99
  606. package/models/trace/insights/DuplicatedJavaScript.js.map +0 -1
  607. package/models/trace/insights/FontDisplay.js +0 -93
  608. package/models/trace/insights/FontDisplay.js.map +0 -1
  609. package/models/trace/insights/ForcedReflow.js +0 -162
  610. package/models/trace/insights/ForcedReflow.js.map +0 -1
  611. package/models/trace/insights/INPBreakdown.js +0 -130
  612. package/models/trace/insights/INPBreakdown.js.map +0 -1
  613. package/models/trace/insights/ImageDelivery.js +0 -264
  614. package/models/trace/insights/ImageDelivery.js.map +0 -1
  615. package/models/trace/insights/LCPBreakdown.js +0 -200
  616. package/models/trace/insights/LCPBreakdown.js.map +0 -1
  617. package/models/trace/insights/LCPDiscovery.js +0 -190
  618. package/models/trace/insights/LCPDiscovery.js.map +0 -1
  619. package/models/trace/insights/LegacyJavaScript.js +0 -99
  620. package/models/trace/insights/LegacyJavaScript.js.map +0 -1
  621. package/models/trace/insights/Models.js +0 -23
  622. package/models/trace/insights/Models.js.map +0 -1
  623. package/models/trace/insights/ModernHTTP.js +0 -205
  624. package/models/trace/insights/ModernHTTP.js.map +0 -1
  625. package/models/trace/insights/NetworkDependencyTree.js +0 -972
  626. package/models/trace/insights/NetworkDependencyTree.js.map +0 -1
  627. package/models/trace/insights/RenderBlocking.js +0 -191
  628. package/models/trace/insights/RenderBlocking.js.map +0 -1
  629. package/models/trace/insights/SlowCSSSelector.js +0 -140
  630. package/models/trace/insights/SlowCSSSelector.js.map +0 -1
  631. package/models/trace/insights/Statistics.js +0 -93
  632. package/models/trace/insights/Statistics.js.map +0 -1
  633. package/models/trace/insights/ThirdParties.js +0 -110
  634. package/models/trace/insights/ThirdParties.js.map +0 -1
  635. package/models/trace/insights/Viewport.js +0 -105
  636. package/models/trace/insights/Viewport.js.map +0 -1
  637. package/models/trace/insights/bundle-tsconfig.json +0 -59
  638. package/models/trace/insights/bundle-tsconfig.ref.json +0 -27
  639. package/models/trace/insights/foundation_unittests-tsconfig.json +0 -98
  640. package/models/trace/insights/foundation_unittests-tsconfig.ref.json +0 -65
  641. package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +0 -95
  642. package/models/trace/insights/insights-tsconfig.json +0 -114
  643. package/models/trace/insights/insights-tsconfig.ref.json +0 -82
  644. package/models/trace/insights/insights.js +0 -10
  645. package/models/trace/insights/insights.js.map +0 -1
  646. package/models/trace/insights/insights_node_typecheck-tsconfig.json +0 -111
  647. package/models/trace/insights/insights_node_typecheck.stamp +0 -0
  648. package/models/trace/insights/types.js +0 -41
  649. package/models/trace/insights/types.js.map +0 -1
  650. package/models/trace/lantern/bundle-tsconfig.json +0 -71
  651. package/models/trace/lantern/bundle-tsconfig.ref.json +0 -39
  652. package/models/trace/lantern/core/LanternError.js +0 -7
  653. package/models/trace/lantern/core/LanternError.js.map +0 -1
  654. package/models/trace/lantern/core/NetworkAnalyzer.js +0 -488
  655. package/models/trace/lantern/core/NetworkAnalyzer.js.map +0 -1
  656. package/models/trace/lantern/core/bundle-tsconfig.json +0 -59
  657. package/models/trace/lantern/core/bundle-tsconfig.ref.json +0 -27
  658. package/models/trace/lantern/core/core-tsconfig.json +0 -60
  659. package/models/trace/lantern/core/core-tsconfig.ref.json +0 -28
  660. package/models/trace/lantern/core/core.js +0 -6
  661. package/models/trace/lantern/core/core.js.map +0 -1
  662. package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +0 -57
  663. package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
  664. package/models/trace/lantern/core/foundation_unittests-tsconfig.json +0 -69
  665. package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +0 -36
  666. package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +0 -66
  667. package/models/trace/lantern/graph/BaseNode.js +0 -277
  668. package/models/trace/lantern/graph/BaseNode.js.map +0 -1
  669. package/models/trace/lantern/graph/CPUNode.js +0 -80
  670. package/models/trace/lantern/graph/CPUNode.js.map +0 -1
  671. package/models/trace/lantern/graph/NetworkNode.js +0 -95
  672. package/models/trace/lantern/graph/NetworkNode.js.map +0 -1
  673. package/models/trace/lantern/graph/PageDependencyGraph.js +0 -574
  674. package/models/trace/lantern/graph/PageDependencyGraph.js.map +0 -1
  675. package/models/trace/lantern/graph/bundle-tsconfig.json +0 -59
  676. package/models/trace/lantern/graph/bundle-tsconfig.ref.json +0 -27
  677. package/models/trace/lantern/graph/foundation_unittests-tsconfig.json +0 -61
  678. package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +0 -28
  679. package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +0 -58
  680. package/models/trace/lantern/graph/graph-tsconfig.json +0 -65
  681. package/models/trace/lantern/graph/graph-tsconfig.ref.json +0 -33
  682. package/models/trace/lantern/graph/graph.js +0 -8
  683. package/models/trace/lantern/graph/graph.js.map +0 -1
  684. package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +0 -62
  685. package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
  686. package/models/trace/lantern/lantern.js.map +0 -1
  687. package/models/trace/lantern/metrics/FirstContentfulPaint.js +0 -137
  688. package/models/trace/lantern/metrics/FirstContentfulPaint.js.map +0 -1
  689. package/models/trace/lantern/metrics/Interactive.js +0 -68
  690. package/models/trace/lantern/metrics/Interactive.js.map +0 -1
  691. package/models/trace/lantern/metrics/LargestContentfulPaint.js +0 -69
  692. package/models/trace/lantern/metrics/LargestContentfulPaint.js.map +0 -1
  693. package/models/trace/lantern/metrics/MaxPotentialFID.js +0 -49
  694. package/models/trace/lantern/metrics/MaxPotentialFID.js.map +0 -1
  695. package/models/trace/lantern/metrics/Metric.js +0 -69
  696. package/models/trace/lantern/metrics/Metric.js.map +0 -1
  697. package/models/trace/lantern/metrics/SpeedIndex.js +0 -102
  698. package/models/trace/lantern/metrics/SpeedIndex.js.map +0 -1
  699. package/models/trace/lantern/metrics/TBTUtils.js +0 -65
  700. package/models/trace/lantern/metrics/TBTUtils.js.map +0 -1
  701. package/models/trace/lantern/metrics/TotalBlockingTime.js +0 -79
  702. package/models/trace/lantern/metrics/TotalBlockingTime.js.map +0 -1
  703. package/models/trace/lantern/metrics/bundle-tsconfig.json +0 -59
  704. package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +0 -27
  705. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +0 -76
  706. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +0 -43
  707. package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +0 -73
  708. package/models/trace/lantern/metrics/metrics-tsconfig.json +0 -75
  709. package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +0 -43
  710. package/models/trace/lantern/metrics/metrics.js +0 -12
  711. package/models/trace/lantern/metrics/metrics.js.map +0 -1
  712. package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +0 -72
  713. package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
  714. package/models/trace/lantern/simulation/ConnectionPool.js +0 -116
  715. package/models/trace/lantern/simulation/ConnectionPool.js.map +0 -1
  716. package/models/trace/lantern/simulation/Constants.js +0 -45
  717. package/models/trace/lantern/simulation/Constants.js.map +0 -1
  718. package/models/trace/lantern/simulation/DNSCache.js +0 -48
  719. package/models/trace/lantern/simulation/DNSCache.js.map +0 -1
  720. package/models/trace/lantern/simulation/SimulationTimingMap.js +0 -135
  721. package/models/trace/lantern/simulation/SimulationTimingMap.js.map +0 -1
  722. package/models/trace/lantern/simulation/Simulator.js +0 -455
  723. package/models/trace/lantern/simulation/Simulator.js.map +0 -1
  724. package/models/trace/lantern/simulation/TCPConnection.js +0 -155
  725. package/models/trace/lantern/simulation/TCPConnection.js.map +0 -1
  726. package/models/trace/lantern/simulation/bundle-tsconfig.json +0 -59
  727. package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +0 -27
  728. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +0 -75
  729. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +0 -42
  730. package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +0 -72
  731. package/models/trace/lantern/simulation/simulation-tsconfig.json +0 -70
  732. package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +0 -38
  733. package/models/trace/lantern/simulation/simulation.js +0 -10
  734. package/models/trace/lantern/simulation/simulation.js.map +0 -1
  735. package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +0 -67
  736. package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
  737. package/models/trace/lantern/testing/bundle-tsconfig.json +0 -60
  738. package/models/trace/lantern/testing/bundle-tsconfig.ref.json +0 -27
  739. package/models/trace/lantern/testing/testing-tsconfig.json +0 -63
  740. package/models/trace/lantern/testing/testing-tsconfig.ref.json +0 -30
  741. package/models/trace/lantern/types/Lantern.js +0 -25
  742. package/models/trace/lantern/types/Lantern.js.map +0 -1
  743. package/models/trace/lantern/types/bundle-tsconfig.json +0 -59
  744. package/models/trace/lantern/types/bundle-tsconfig.ref.json +0 -27
  745. package/models/trace/lantern/types/types-tsconfig.json +0 -59
  746. package/models/trace/lantern/types/types-tsconfig.ref.json +0 -27
  747. package/models/trace/lantern/types/types.js +0 -5
  748. package/models/trace/lantern/types/types.js.map +0 -1
  749. package/models/trace/lantern/types/types_node_typecheck-tsconfig.json +0 -56
  750. package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
  751. package/models/trace/trace-tsconfig.json +0 -89
  752. package/models/trace/trace-tsconfig.ref.json +0 -57
  753. package/models/trace/trace.js.map +0 -1
  754. package/models/trace/trace_node_typecheck-tsconfig.json +0 -86
  755. package/models/trace/trace_node_typecheck.stamp +0 -0
  756. package/models/trace/types/Configuration.js +0 -19
  757. package/models/trace/types/Configuration.js.map +0 -1
  758. package/models/trace/types/Extensions.js +0 -38
  759. package/models/trace/types/Extensions.js.map +0 -1
  760. package/models/trace/types/File.js +0 -82
  761. package/models/trace/types/File.js.map +0 -1
  762. package/models/trace/types/Overlays.js +0 -5
  763. package/models/trace/types/Overlays.js.map +0 -1
  764. package/models/trace/types/Timing.js.map +0 -1
  765. package/models/trace/types/TraceEvents.js.map +0 -1
  766. package/models/trace/types/bundle-tsconfig.json +0 -59
  767. package/models/trace/types/bundle-tsconfig.ref.json +0 -27
  768. package/models/trace/types/foundation_unittests-tsconfig.json +0 -67
  769. package/models/trace/types/foundation_unittests-tsconfig.ref.json +0 -34
  770. package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +0 -64
  771. package/models/trace/types/types-tsconfig.json +0 -76
  772. package/models/trace/types/types-tsconfig.ref.json +0 -44
  773. package/models/trace/types/types.js.map +0 -1
  774. package/models/trace/types/types_node_typecheck-tsconfig.json +0 -73
  775. package/models/trace/types/types_node_typecheck.stamp +0 -0
  776. package/test/invalid-animation-events.json.gz +0 -0
  777. package/test/test-trace-engine.mjs +0 -191
  778. package/third_party/legacy-javascript/bundle-tsconfig.json +0 -59
  779. package/third_party/legacy-javascript/bundle-tsconfig.ref.json +0 -27
  780. package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +0 -15
  781. package/third_party/legacy-javascript/legacy-javascript.js +0 -3
  782. package/third_party/legacy-javascript/legacy-javascript.js.map +0 -1
  783. package/third_party/legacy-javascript/lib/legacy-javascript.js +0 -1119
  784. package/third_party/marked/marked.d.ts +0 -1
  785. package/third_party/marked/marked.js +0 -1
  786. package/third_party/third-party-web/third-party-web.js +0 -1
  787. package/tsconfig.json +0 -29
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import type * as Handlers from '../handlers/handlers.js';
3
3
  import type * as Types from '../types/types.js';
4
4
  import { type Checklist, type InsightModel, type InsightSetContext } from './types.js';
@@ -6,37 +6,37 @@ export declare const UIStrings: {
6
6
  /**
7
7
  * @description Title of an insight that checks whether the page declares a character encoding early enough.
8
8
  */
9
- readonly title: 'Declare a character encoding';
9
+ readonly title: "Declare a character encoding";
10
10
  /**
11
11
  * @description Description of an insight that checks whether the page has a proper character encoding declaration via HTTP header or early meta tag.
12
12
  */
13
- readonly description: 'A character encoding declaration is required. It can be done with a meta charset tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header. [Learn more about declaring the character encoding](https://developer.chrome.com/docs/insights/charset/).';
13
+ readonly description: "A character encoding declaration is required. It can be done with a meta charset tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header. [Learn more about declaring the character encoding](https://developer.chrome.com/docs/insights/charset/).";
14
14
  /**
15
15
  * @description Text to tell the user that the charset is declared in the Content-Type HTTP response header.
16
16
  */
17
- readonly passingHttpHeader: 'Declares charset in HTTP header';
17
+ readonly passingHttpHeader: "Declares charset in HTTP header";
18
18
  /**
19
19
  * @description Text to tell the user that the charset is NOT declared in the Content-Type HTTP response header.
20
20
  */
21
- readonly failedHttpHeader: 'Doesn’t declare charset in HTTP header';
21
+ readonly failedHttpHeader: "Doesn’t declare charset in HTTP header";
22
22
  /**
23
23
  * @description Text to tell the user that a meta charset tag was found in the first 1024 bytes of the HTML.
24
24
  */
25
- readonly passingMetaCharsetEarly: 'Declares charset using a meta tag in the first 1024 bytes';
25
+ readonly passingMetaCharsetEarly: "Declares charset using a meta tag in the first 1024 bytes";
26
26
  /**
27
27
  * @description Text to tell the user that a meta charset tag was found, but too late in the HTML.
28
28
  */
29
- readonly failedMetaCharsetLate: 'Declares charset using a meta tag after the first 1024 bytes';
29
+ readonly failedMetaCharsetLate: "Declares charset using a meta tag after the first 1024 bytes";
30
30
  /**
31
31
  * @description Text to tell the user that no meta charset tag was found in the HTML.
32
32
  */
33
- readonly failedMetaCharsetMissing: 'Doesn’t declare charset using a meta tag';
33
+ readonly failedMetaCharsetMissing: "Doesn’t declare charset using a meta tag";
34
34
  /**
35
35
  * @description Text to tell the user that trace data did not include the Blink signal for meta charset.
36
36
  */
37
- readonly failedMetaCharsetUnknown: 'Couldn’t determine meta charset declaration from trace';
37
+ readonly failedMetaCharsetUnknown: "Couldn’t determine meta charset declaration from trace";
38
38
  };
39
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
39
+ export declare const i18nString: i18n.LocalizeString;
40
40
  export type CharacterSetInsightModel = InsightModel<typeof UIStrings, {
41
41
  data?: {
42
42
  hasHttpCharset: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as Protocol from '../../../generated/protocol.js';
2
- // import type * as CrUXManager from '../../crux-manager/crux-manager.js';
2
+ import type * as CrUXManager from '../../crux-manager/crux-manager.js';
3
3
  import type * as Handlers from '../handlers/handlers.js';
4
4
  import * as Types from '../types/types.js';
5
5
  import { InsightKeys, type InsightModel, type InsightModels, type InsightSet, type InsightSetContext, type MetricSavings } from './types.js';
@@ -22,11 +22,11 @@ export declare function evaluateINPMetricScore(value: Types.Timing.Milli): numbe
22
22
  export declare function evaluateCLSMetricScore(value: number): number;
23
23
  export interface CrUXFieldMetricTimingResult {
24
24
  value: Types.Timing.Micro;
25
- pageScope: any;
25
+ pageScope: CrUXManager.PageScope;
26
26
  }
27
27
  export interface CrUXFieldMetricNumberResult {
28
28
  value: number;
29
- pageScope: any;
29
+ pageScope: CrUXManager.PageScope;
30
30
  }
31
31
  export interface CrUXFieldMetricResults {
32
32
  fcp: CrUXFieldMetricTimingResult | null;
@@ -40,7 +40,7 @@ export interface CrUXFieldMetricResults {
40
40
  renderDelay: CrUXFieldMetricTimingResult | null;
41
41
  };
42
42
  }
43
- export declare function getFieldMetricsForInsightSet(insightSet: InsightSet, metadata: Types.File.MetaData | null, scope?: any | null): CrUXFieldMetricResults | null;
43
+ export declare function getFieldMetricsForInsightSet(insightSet: InsightSet, metadata: Types.File.MetaData | null, scope?: CrUXManager.Scope | null): CrUXFieldMetricResults | null;
44
44
  export declare function calculateMetricWeightsForSorting(insightSet: InsightSet, metadata: Types.File.MetaData | null): {
45
45
  lcp: number;
46
46
  inp: number;
@@ -1,5 +1,5 @@
1
- // import type * as Common from '../../../core/common/common.js';
2
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import type * as Common from '../../../core/common/common.js';
2
+ import * as i18n from '../../../core/i18n/i18n.js';
3
3
  import * as Handlers from '../handlers/handlers.js';
4
4
  import * as Types from '../types/types.js';
5
5
  import { type InsightModel, type InsightSetContext } from './types.js';
@@ -7,55 +7,55 @@ export declare const UIStrings: {
7
7
  /**
8
8
  * @description Title of an insight that recommends reducing the size of the DOM tree as a means to improve page responsiveness. "DOM" is an acronym and should not be translated.
9
9
  */
10
- readonly title: 'Optimize DOM size';
10
+ readonly title: "Optimize DOM size";
11
11
  /**
12
12
  * @description Description of an insight that recommends reducing the size of the DOM tree as a means to improve page responsiveness. "DOM" is an acronym and should not be translated. "layout reflows" are when the browser will recompute the layout of content on the page.
13
13
  */
14
- readonly description: 'A large DOM can increase the duration of style calculations and layout reflows, impacting page responsiveness. A large DOM will also increase memory usage. [Learn how to avoid an excessive DOM size](https://developer.chrome.com/docs/performance/insights/dom-size).';
14
+ readonly description: "A large DOM can increase the duration of style calculations and layout reflows, impacting page responsiveness. A large DOM will also increase memory usage. [Learn how to avoid an excessive DOM size](https://developer.chrome.com/docs/performance/insights/dom-size).";
15
15
  /**
16
16
  * @description Header for a column containing the names of statistics as opposed to the actual statistic values.
17
17
  */
18
- readonly statistic: 'Statistic';
18
+ readonly statistic: "Statistic";
19
19
  /**
20
20
  * @description Header for a column containing the value of a statistic.
21
21
  */
22
- readonly value: 'Value';
22
+ readonly value: "Value";
23
23
  /**
24
24
  * @description Header for a column containing the page element related to a statistic.
25
25
  */
26
- readonly element: 'Element';
26
+ readonly element: "Element";
27
27
  /**
28
28
  * @description Label for a value representing the total number of elements on the page.
29
29
  */
30
- readonly totalElements: 'Total elements';
30
+ readonly totalElements: "Total elements";
31
31
  /**
32
32
  * @description Label for a value representing the maximum depth of the Document Object Model (DOM). "DOM" is an acronym and should not be translated.
33
33
  */
34
- readonly maxDOMDepth: 'DOM depth';
34
+ readonly maxDOMDepth: "DOM depth";
35
35
  /**
36
36
  * @description Label for a value representing the maximum number of child elements of any parent element on the page.
37
37
  */
38
- readonly maxChildren: 'Most children';
38
+ readonly maxChildren: "Most children";
39
39
  /**
40
40
  * @description Text for a section.
41
41
  */
42
- readonly topUpdatesDescription: 'These are the largest layout and style recalculation events. Their performance impact may be reduced by making the DOM simpler.';
42
+ readonly topUpdatesDescription: "These are the largest layout and style recalculation events. Their performance impact may be reduced by making the DOM simpler.";
43
43
  /**
44
44
  * @description Label used for a time duration.
45
45
  */
46
- readonly duration: 'Duration';
46
+ readonly duration: "Duration";
47
47
  /**
48
48
  * @description Message displayed in a table detailing how big a layout (rendering) is.
49
49
  * @example {134} PH1
50
50
  */
51
- readonly largeLayout: 'Layout ({PH1} objects)';
51
+ readonly largeLayout: "Layout ({PH1} objects)";
52
52
  /**
53
53
  * @description Message displayed in a table detailing how big a style recalculation (rendering) is.
54
54
  * @example {134} PH1
55
55
  */
56
- readonly largeStyleRecalc: 'Style recalculation ({PH1} elements)';
56
+ readonly largeStyleRecalc: "Style recalculation ({PH1} elements)";
57
57
  };
58
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
58
+ export declare const i18nString: i18n.LocalizeString;
59
59
  export type DOMSizeInsightModel = InsightModel<typeof UIStrings, {
60
60
  largeLayoutUpdates: Types.Events.Layout[];
61
61
  largeStyleRecalcs: Types.Events.RecalcStyle[];
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import type * as Handlers from '../handlers/handlers.js';
3
3
  import * as Types from '../types/types.js';
4
4
  import { type Checklist, type InsightModel, type InsightSetContext } from './types.js';
@@ -6,53 +6,53 @@ export declare const UIStrings: {
6
6
  /**
7
7
  * @description Title of an insight that provides a breakdown for how long it took to download the main document.
8
8
  */
9
- readonly title: 'Document request latency';
9
+ readonly title: "Document request latency";
10
10
  /**
11
11
  * @description Description of an insight that provides a breakdown for how long it took to download the main document.
12
12
  */
13
- readonly description: 'Your first network request is the most important. [Reduce its latency](https://developer.chrome.com/docs/performance/insights/document-latency) by avoiding redirects, ensuring a fast server response, and enabling text compression.';
13
+ readonly description: "Your first network request is the most important. [Reduce its latency](https://developer.chrome.com/docs/performance/insights/document-latency) by avoiding redirects, ensuring a fast server response, and enabling text compression.";
14
14
  /**
15
15
  * @description Text to tell the user that the document request does not have redirects.
16
16
  */
17
- readonly passingRedirects: 'Avoids redirects';
17
+ readonly passingRedirects: "Avoids redirects";
18
18
  /**
19
19
  * @description Text to tell the user that the document request had redirects.
20
20
  * @example {3} PH1
21
21
  * @example {1000 ms} PH2
22
22
  */
23
- readonly failedRedirects: 'Had redirects ({PH1} redirects, +{PH2})';
23
+ readonly failedRedirects: "Had redirects ({PH1} redirects, +{PH2})";
24
24
  /**
25
25
  * @description Text to tell the user that the time starting the document request to when the server started responding is acceptable.
26
26
  * @example {600 ms} PH1
27
27
  */
28
- readonly passingServerResponseTime: 'Server responds quickly (observed {PH1})';
28
+ readonly passingServerResponseTime: "Server responds quickly (observed {PH1})";
29
29
  /**
30
30
  * @description Text to tell the user that the time starting the document request to when the server started responding is not acceptable.
31
31
  * @example {601 ms} PH1
32
32
  */
33
- readonly failedServerResponseTime: 'Server responded slowly (observed {PH1})';
33
+ readonly failedServerResponseTime: "Server responded slowly (observed {PH1})";
34
34
  /**
35
35
  * @description Text to tell the user that text compression (like gzip) was applied.
36
36
  */
37
- readonly passingTextCompression: 'Applies text compression';
37
+ readonly passingTextCompression: "Applies text compression";
38
38
  /**
39
39
  * @description Text to tell the user that text compression (like gzip) was not applied.
40
40
  */
41
- readonly failedTextCompression: 'No compression applied';
41
+ readonly failedTextCompression: "No compression applied";
42
42
  /**
43
43
  * @description Text for a label describing a network request event as having redirects.
44
44
  */
45
- readonly redirectsLabel: 'Redirects';
45
+ readonly redirectsLabel: "Redirects";
46
46
  /**
47
47
  * @description Text for a label describing a network request event as taking too long to start delivery by the server.
48
48
  */
49
- readonly serverResponseTimeLabel: 'Server response time';
49
+ readonly serverResponseTimeLabel: "Server response time";
50
50
  /**
51
51
  * @description Text for a label describing a network request event as taking longer to download because it wasn't compressed.
52
52
  */
53
- readonly uncompressedDownload: 'Uncompressed download';
53
+ readonly uncompressedDownload: "Uncompressed download";
54
54
  };
55
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
55
+ export declare const i18nString: i18n.LocalizeString;
56
56
  export declare function isDocumentLatencyInsight(x: InsightModel): x is DocumentLatencyInsightModel;
57
57
  export type DocumentLatencyInsightModel = InsightModel<typeof UIStrings, {
58
58
  data?: {
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import * as Extras from '../extras/extras.js';
3
3
  import type * as Handlers from '../handlers/handlers.js';
4
4
  import type * as Types from '../types/types.js';
@@ -7,25 +7,25 @@ export declare const UIStrings: {
7
7
  /**
8
8
  * @description Title of an insight that identifies multiple copies of the same JavaScript sources, and recommends removing the duplication.
9
9
  */
10
- readonly title: 'Duplicated JavaScript';
10
+ readonly title: "Duplicated JavaScript";
11
11
  /**
12
12
  * @description Description of an insight that identifies multiple copies of the same JavaScript sources, and recommends removing the duplication.
13
13
  */
14
- readonly description: 'Remove large, [duplicate JavaScript modules](https://developer.chrome.com/docs/performance/insights/duplicated-javascript) from bundles to reduce unnecessary bytes consumed by network activity';
14
+ readonly description: "Remove large, [duplicate JavaScript modules](https://developer.chrome.com/docs/performance/insights/duplicated-javascript) from bundles to reduce unnecessary bytes consumed by network activity";
15
15
  /**
16
16
  * @description Label for a column in a data table; entries will be the locations of JavaScript or CSS code, e.g. the name of a JavaScript package or module.
17
17
  */
18
- readonly columnSource: 'Source';
18
+ readonly columnSource: "Source";
19
19
  /**
20
20
  * @description Label for a column in a data table; entries will be the number of wasted bytes due to duplication of a web resource.
21
21
  */
22
- readonly columnDuplicatedBytes: 'Duplicated bytes';
22
+ readonly columnDuplicatedBytes: "Duplicated bytes";
23
23
  /**
24
24
  * @description Message shown when no duplicated JavaScript is found.
25
25
  */
26
- readonly noDuplicatedJavaScript: 'No duplicated JavaScript found';
26
+ readonly noDuplicatedJavaScript: "No duplicated JavaScript found";
27
27
  };
28
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
28
+ export declare const i18nString: i18n.LocalizeString;
29
29
  export type DuplicatedJavaScriptInsightModel = InsightModel<typeof UIStrings, {
30
30
  duplication: Extras.ScriptDuplication.ScriptDuplication;
31
31
  duplicationGroupedByNodeModules: Extras.ScriptDuplication.ScriptDuplication;
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import type * as Handlers from '../handlers/handlers.js';
3
3
  import * as Types from '../types/types.js';
4
4
  import { type InsightModel, type InsightSetContext } from './types.js';
@@ -6,25 +6,25 @@ export declare const UIStrings: {
6
6
  /**
7
7
  * @description Title of an insight that provides details about the fonts used on the page, and the value of their `font-display` properties.
8
8
  */
9
- readonly title: 'Font display';
9
+ readonly title: "Font display";
10
10
  /**
11
11
  * @description Text to tell the user about the font-display CSS feature to help improve a the UX of a page.
12
12
  */
13
- readonly description: 'Consider setting [`font-display`](https://developer.chrome.com/docs/performance/insights/font-display) to `swap` or `optional` to ensure text is consistently visible. `swap` can be further optimized to mitigate layout shifts with [font metric overrides](https://developer.chrome.com/blog/font-fallbacks).';
13
+ readonly description: "Consider setting [`font-display`](https://developer.chrome.com/docs/performance/insights/font-display) to `swap` or `optional` to ensure text is consistently visible. `swap` can be further optimized to mitigate layout shifts with [font metric overrides](https://developer.chrome.com/blog/font-fallbacks).";
14
14
  /**
15
15
  * @description Column for a font loaded by the page to render text.
16
16
  */
17
- readonly fontColumn: 'Font';
17
+ readonly fontColumn: "Font";
18
18
  /**
19
19
  * @description Column for the amount of time wasted.
20
20
  */
21
- readonly wastedTimeColumn: 'Wasted time';
21
+ readonly wastedTimeColumn: "Wasted time";
22
22
  /**
23
23
  * @description Message shown when no fonts with suboptimal font-display are found.
24
24
  */
25
- readonly noFonts: 'No fonts with suboptimal font-display found';
25
+ readonly noFonts: "No fonts with suboptimal font-display found";
26
26
  };
27
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
27
+ export declare const i18nString: i18n.LocalizeString;
28
28
  export interface RemoteFont {
29
29
  name?: string;
30
30
  request: Types.Events.SyntheticNetworkRequest;
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import type * as Protocol from '../../../generated/protocol.js';
3
3
  import type * as Handlers from '../handlers/handlers.js';
4
4
  import * as Types from '../types/types.js';
@@ -7,33 +7,33 @@ export declare const UIStrings: {
7
7
  /**
8
8
  * @description Title of an insight that provides details about Forced reflow.
9
9
  */
10
- readonly title: 'Forced reflow';
10
+ readonly title: "Forced reflow";
11
11
  /**
12
12
  * @description Text to describe the forced reflow.
13
13
  */
14
- readonly description: 'A forced reflow occurs when JavaScript queries geometric properties (such as `offsetWidth`) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about [forced reflows](https://developer.chrome.com/docs/performance/insights/forced-reflow) and possible mitigations.';
14
+ readonly description: "A forced reflow occurs when JavaScript queries geometric properties (such as `offsetWidth`) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about [forced reflows](https://developer.chrome.com/docs/performance/insights/forced-reflow) and possible mitigations.";
15
15
  /**
16
16
  * @description Title of a list to provide related stack trace data.
17
17
  */
18
- readonly reflowCallFrames: 'Call frames that trigger reflow';
18
+ readonly reflowCallFrames: "Call frames that trigger reflow";
19
19
  /**
20
20
  * @description Text to describe the top time-consuming function call.
21
21
  */
22
- readonly topTimeConsumingFunctionCall: 'Top function call';
22
+ readonly topTimeConsumingFunctionCall: "Top function call";
23
23
  /**
24
24
  * @description Text to describe the total reflow time.
25
25
  */
26
- readonly totalReflowTime: 'Total reflow time';
26
+ readonly totalReflowTime: "Total reflow time";
27
27
  /**
28
28
  * @description Text to describe CPU processor tasks that could not be attributed to any specific source code.
29
29
  */
30
- readonly unattributed: '[unattributed]';
30
+ readonly unattributed: "[unattributed]";
31
31
  /**
32
32
  * @description Text for the name of anonymous functions.
33
33
  */
34
- readonly anonymous: '(anonymous)';
34
+ readonly anonymous: "(anonymous)";
35
35
  };
36
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
36
+ export declare const i18nString: i18n.LocalizeString;
37
37
  export type ForcedReflowInsightModel = InsightModel<typeof UIStrings, {
38
38
  topLevelFunctionCallData: ForcedReflowAggregatedData | undefined;
39
39
  aggregatedBottomUpData: BottomUpCallStack[];
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import * as Handlers from '../handlers/handlers.js';
3
3
  import type * as Types from '../types/types.js';
4
4
  import { type InsightModel, type InsightSetContext } from './types.js';
@@ -6,37 +6,37 @@ export declare const UIStrings: {
6
6
  /**
7
7
  * @description Text to tell the user about the longest user interaction.
8
8
  */
9
- readonly description: 'Start investigating [how to improve INP](https://developer.chrome.com/docs/performance/insights/inp-breakdown) by looking at the longest subpart';
9
+ readonly description: "Start investigating [how to improve INP](https://developer.chrome.com/docs/performance/insights/inp-breakdown) by looking at the longest subpart";
10
10
  /**
11
11
  * @description Title for the performance insight "INP breakdown", which shows a breakdown of INP by subparts / sections.
12
12
  */
13
- readonly title: 'INP breakdown';
13
+ readonly title: "INP breakdown";
14
14
  /**
15
15
  * @description Label used for the subpart/component/stage/section of a larger duration.
16
16
  */
17
- readonly subpart: 'Subpart';
17
+ readonly subpart: "Subpart";
18
18
  /**
19
19
  * @description Label used for a time duration.
20
20
  */
21
- readonly duration: 'Duration';
21
+ readonly duration: "Duration";
22
22
  /**
23
23
  * @description Text shown next to the interaction event's input delay time in the detail view.
24
24
  */
25
- readonly inputDelay: 'Input delay';
25
+ readonly inputDelay: "Input delay";
26
26
  /**
27
27
  * @description Text shown next to the interaction event's thread processing duration in the detail view.
28
28
  */
29
- readonly processingDuration: 'Processing duration';
29
+ readonly processingDuration: "Processing duration";
30
30
  /**
31
31
  * @description Text shown next to the interaction event's presentation delay time in the detail view.
32
32
  */
33
- readonly presentationDelay: 'Presentation delay';
33
+ readonly presentationDelay: "Presentation delay";
34
34
  /**
35
35
  * @description Text status indicating that no user interactions were detected.
36
36
  */
37
- readonly noInteractions: 'No interactions detected';
37
+ readonly noInteractions: "No interactions detected";
38
38
  };
39
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
39
+ export declare const i18nString: i18n.LocalizeString;
40
40
  export type INPBreakdownInsightModel = InsightModel<typeof UIStrings, {
41
41
  longestInteractionEvent?: Types.Events.SyntheticInteractionPair;
42
42
  highPercentileInteractionEvent?: Types.Events.SyntheticInteractionPair;
@@ -1,5 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
2
- import type * as Platform from '../../../core/platform/platform.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
3
2
  import type * as Handlers from '../handlers/handlers.js';
4
3
  import type * as Types from '../types/types.js';
5
4
  import { type InsightModel, type InsightSetContext } from './types.js';
@@ -7,50 +6,50 @@ export declare const UIStrings: {
7
6
  /**
8
7
  * @description Title of an insight that recommends ways to reduce the size of images downloaded and used on the page.
9
8
  */
10
- readonly title: 'Improve image delivery';
9
+ readonly title: "Improve image delivery";
11
10
  /**
12
11
  * @description Description of an insight that recommends ways to reduce the size of images downloaded and used on the page.
13
12
  */
14
- readonly description: 'Reducing the download time of images can improve the perceived load time of the page and LCP. [Learn more about optimizing image size](https://developer.chrome.com/docs/performance/insights/image-delivery).';
13
+ readonly description: "Reducing the download time of images can improve the perceived load time of the page and LCP. [Learn more about optimizing image size](https://developer.chrome.com/docs/performance/insights/image-delivery).";
15
14
  /**
16
15
  * @description Message displayed in a chip explaining that an image file size is large for the # of pixels it has and recommends possible adjustments to improve the image size.
17
16
  */
18
- readonly useCompression: 'Increasing the image compression factor could improve this image’s download size';
17
+ readonly useCompression: "Increasing the image compression factor could improve this image’s download size";
19
18
  /**
20
19
  * @description Message displayed in a chip explaining that an image file size is large for the # of pixels it has and recommends possible adjustments to improve the image size.
21
20
  */
22
- readonly useModernFormat: 'Using a modern image format (WebP, AVIF) or increasing the image compression could improve this image’s download size';
21
+ readonly useModernFormat: "Using a modern image format (WebP, AVIF) or increasing the image compression could improve this image’s download size";
23
22
  /**
24
23
  * @description Message displayed in a chip advising the user to use video formats instead of GIFs because videos generally have smaller file sizes.
25
24
  */
26
- readonly useVideoFormat: 'Using video formats instead of GIFs can improve the download size of animated content';
25
+ readonly useVideoFormat: "Using video formats instead of GIFs can improve the download size of animated content";
27
26
  /**
28
27
  * @description Message displayed in a chip explaining that an image was displayed on the page with dimensions much smaller than the image file dimensions.
29
28
  * @example {1000x500} PH1
30
29
  * @example {100x50} PH2
31
30
  */
32
- readonly useResponsiveSize: 'This image file is larger than it needs to be ({PH1}) for its displayed dimensions ({PH2}). Use responsive images to reduce the image download size.';
31
+ readonly useResponsiveSize: "This image file is larger than it needs to be ({PH1}) for its displayed dimensions ({PH2}). Use responsive images to reduce the image download size.";
33
32
  /**
34
33
  * @description Column header for a table column containing network requests for images which can improve their file size (e.g. use a different format, increase compression, etc).
35
34
  */
36
- readonly optimizeFile: 'Optimize file size';
35
+ readonly optimizeFile: "Optimize file size";
37
36
  /**
38
37
  * @description Table row value representing the remaining items not shown in the table due to size constraints. This row will always represent at least 2 items.
39
38
  * @example {5} PH1
40
39
  */
41
- readonly others: '{PH1} others';
40
+ readonly others: "{PH1} others";
42
41
  /**
43
42
  * @description Text status indicating that no potential optimizations were found for any image file.
44
43
  */
45
- readonly noOptimizableImages: 'No optimizable images';
44
+ readonly noOptimizableImages: "No optimizable images";
46
45
  /**
47
46
  * @description Text describing the estimated number of bytes that an image file optimization can save. This text is appended to another block of text describing the image optimization in more detail. "Est" means "Estimated".
48
47
  * @example {Use the correct image dimensions to reduce the image file size.} PH1
49
48
  * @example {50 MB} PH2
50
49
  */
51
- readonly estimatedSavings: '{PH1} (Est {PH2})';
50
+ readonly estimatedSavings: "{PH1} (Est {PH2})";
52
51
  };
53
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
52
+ export declare const i18nString: i18n.LocalizeString;
54
53
  export declare enum ImageOptimizationType {
55
54
  ADJUST_COMPRESSION = "ADJUST_COMPRESSION",
56
55
  MODERN_FORMAT_OR_COMPRESSION = "MODERN_FORMAT_OR_COMPRESSION",
@@ -1,5 +1,5 @@
1
- // import type * as Common from '../../../core/common/common.js';
2
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import type * as Common from '../../../core/common/common.js';
2
+ import * as i18n from '../../../core/i18n/i18n.js';
3
3
  import * as Handlers from '../handlers/handlers.js';
4
4
  import * as Types from '../types/types.js';
5
5
  import { type InsightModel, type InsightSetContext } from './types.js';
@@ -7,46 +7,46 @@ export declare const UIStrings: {
7
7
  /**
8
8
  * @description Title of an insight that provides details about the LCP metric, broken down by parts.
9
9
  */
10
- readonly title: 'LCP breakdown';
10
+ readonly title: "LCP breakdown";
11
11
  /**
12
12
  * @description Description of a DevTools insight that presents a breakdown for the LCP metric by subparts.
13
13
  * This is displayed after a user expands the section to see more. No character length limits.
14
14
  */
15
- readonly description: 'Each [subpart has specific improvement strategies](https://developer.chrome.com/docs/performance/insights/lcp-breakdown). Ideally, most of the LCP time should be spent on loading the resources, not within delays.';
15
+ readonly description: "Each [subpart has specific improvement strategies](https://developer.chrome.com/docs/performance/insights/lcp-breakdown). Ideally, most of the LCP time should be spent on loading the resources, not within delays.";
16
16
  /**
17
17
  * @description Time to first byte title for the Largest Contentful Paint's subparts timespan breakdown.
18
18
  */
19
- readonly timeToFirstByte: 'Time to first byte';
19
+ readonly timeToFirstByte: "Time to first byte";
20
20
  /**
21
21
  * @description Resource load delay title for the Largest Contentful Paint subparts timespan breakdown.
22
22
  */
23
- readonly resourceLoadDelay: 'Resource load delay';
23
+ readonly resourceLoadDelay: "Resource load delay";
24
24
  /**
25
25
  * @description Resource load duration title for the Largest Contentful Paint subparts timespan breakdown.
26
26
  */
27
- readonly resourceLoadDuration: 'Resource load duration';
27
+ readonly resourceLoadDuration: "Resource load duration";
28
28
  /**
29
29
  * @description Element render delay title for the Largest Contentful Paint subparts timespan breakdown.
30
30
  */
31
- readonly elementRenderDelay: 'Element render delay';
31
+ readonly elementRenderDelay: "Element render delay";
32
32
  /**
33
33
  * @description Label used for the subpart (section) of a larger duration.
34
34
  */
35
- readonly subpart: 'Subpart';
35
+ readonly subpart: "Subpart";
36
36
  /**
37
37
  * @description Label used for the duration a single subpart (section) takes up of a larger duration.
38
38
  */
39
- readonly duration: 'Duration';
39
+ readonly duration: "Duration";
40
40
  /**
41
41
  * @description Label used for the duration a single subpart (section) takes up of a larger duration. The value will be the 75th percentile of aggregate data. "Field" means that the data was collected from real users in the field as opposed to the developers local environment. "Field" is synonymous with "Real user data".
42
42
  */
43
- readonly fieldDuration: 'Field p75';
43
+ readonly fieldDuration: "Field p75";
44
44
  /**
45
45
  * @description Text status indicating that the Largest Contentful Paint (LCP) metric timing was not found. "LCP" is an acronym and should not be translated.
46
46
  */
47
- readonly noLcp: 'No LCP detected';
47
+ readonly noLcp: "No LCP detected";
48
48
  };
49
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
49
+ export declare const i18nString: i18n.LocalizeString;
50
50
  /** A TraceWindow plus its UIString. **/
51
51
  export type Subpart = Types.Timing.TraceWindowMicro & {
52
52
  label: {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
@@ -1,4 +1,4 @@
1
- // import * as i18n from '../../../core/i18n/i18n.js';
1
+ import * as i18n from '../../../core/i18n/i18n.js';
2
2
  import * as Handlers from '../handlers/handlers.js';
3
3
  import * as Types from '../types/types.js';
4
4
  import { type Checklist, type InsightModel, type InsightSetContext } from './types.js';
@@ -6,46 +6,46 @@ export declare const UIStrings: {
6
6
  /**
7
7
  * @description Title of an insight that provides details about the LCP metric, and the network requests necessary to load it. Details how the LCP request was discoverable - in other words, the path necessary to load it (ex: network requests, JavaScript).
8
8
  */
9
- readonly title: 'LCP request discovery';
9
+ readonly title: "LCP request discovery";
10
10
  /**
11
11
  * @description Description of an insight that provides details about the LCP metric, and the network requests necessary to load it.
12
12
  */
13
- readonly description: '[Optimize LCP](https://developer.chrome.com/docs/performance/insights/lcp-discovery) by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading';
13
+ readonly description: "[Optimize LCP](https://developer.chrome.com/docs/performance/insights/lcp-discovery) by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading";
14
14
  /**
15
15
  * @description Text to tell the user how long after the earliest discovery time their LCP element loaded.
16
16
  * @example {401ms} PH1
17
17
  */
18
- readonly lcpLoadDelay: 'LCP image loaded {PH1} after earliest start point';
18
+ readonly lcpLoadDelay: "LCP image loaded {PH1} after earliest start point";
19
19
  /**
20
20
  * @description Text to tell the user that a fetchpriority property value of "high" is applied to the LCP request.
21
21
  */
22
- readonly fetchPriorityApplied: 'fetchpriority=high applied';
22
+ readonly fetchPriorityApplied: "fetchpriority=high applied";
23
23
  /**
24
24
  * @description Text to tell the user that a fetchpriority property value of "high" should be applied to the LCP request.
25
25
  */
26
- readonly fetchPriorityShouldBeApplied: 'fetchpriority=high should be applied';
26
+ readonly fetchPriorityShouldBeApplied: "fetchpriority=high should be applied";
27
27
  /**
28
28
  * @description Text to tell the user that a fetchpriority property value of "high" should be applied to the preload request that loads the LCP image.
29
29
  */
30
- readonly fetchPriorityShouldBeAppliedToImagePreload: 'fetchpriority=high should be applied to the image preload request';
30
+ readonly fetchPriorityShouldBeAppliedToImagePreload: "fetchpriority=high should be applied to the image preload request";
31
31
  /**
32
32
  * @description Text to tell the user that the LCP request is discoverable in the initial document.
33
33
  */
34
- readonly requestDiscoverable: 'Request is discoverable in initial document';
34
+ readonly requestDiscoverable: "Request is discoverable in initial document";
35
35
  /**
36
36
  * @description Text to tell the user that LCP resources should avoid using loading=lazy.
37
37
  */
38
- readonly lazyLoadNotApplied: 'LCP resources shouldn’t use loading=lazy';
38
+ readonly lazyLoadNotApplied: "LCP resources shouldn’t use loading=lazy";
39
39
  /**
40
40
  * @description Text status indicating that the Largest Contentful Paint (LCP) metric timing was not found. "LCP" is an acronym and should not be translated.
41
41
  */
42
- readonly noLcp: 'No LCP detected';
42
+ readonly noLcp: "No LCP detected";
43
43
  /**
44
44
  * @description Text status indicating that the Largest Contentful Paint (LCP) metric was text rather than an image. "LCP" is an acronym and should not be translated.
45
45
  */
46
- readonly noLcpResource: 'No LCP resource detected because the LCP isn’t an image';
46
+ readonly noLcpResource: "No LCP resource detected because the LCP isn’t an image";
47
47
  };
48
- export declare const i18nString: (id: string, values?: Record<string, string>) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
48
+ export declare const i18nString: i18n.LocalizeString;
49
49
  export declare function isLCPDiscoveryInsight(model: InsightModel): model is LCPDiscoveryInsightModel;
50
50
  export type LCPDiscoveryInsightModel = InsightModel<typeof UIStrings, {
51
51
  lcpEvent?: Types.Events.AnyLargestContentfulPaintCandidate;