@paulirish/trace_engine 0.0.67-beta.2 → 0.0.68

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 (766) hide show
  1. package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts +13 -0
  2. package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts.map +1 -0
  3. package/.tmp/tsbuildinfo/analyze-trace.d.mts +17 -0
  4. package/.tmp/tsbuildinfo/analyze-trace.d.mts.map +1 -0
  5. package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts +2 -0
  6. package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts.map +1 -0
  7. package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts +3 -0
  8. package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts.map +1 -0
  9. package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -0
  10. package/README.md +22 -62
  11. package/analyze-inspector-issues.mjs +60 -0
  12. package/analyze-trace.mjs +144 -6
  13. package/core/common/ParsedURL.d.ts +0 -2
  14. package/core/common/ParsedURL.js +512 -0
  15. package/core/common/ParsedURL.js.map +1 -0
  16. package/core/common/common.d.ts +8 -33
  17. package/core/common/common.js +2 -0
  18. package/core/host/host.d.ts +1 -13
  19. package/core/host/host.js +1 -0
  20. package/core/i18n/i18n.d.ts +20 -8
  21. package/core/i18n/i18n.js +15 -0
  22. package/core/platform/ArrayUtilities.js +224 -0
  23. package/core/platform/ArrayUtilities.js.map +1 -0
  24. package/core/platform/Brand.js +5 -0
  25. package/core/platform/Brand.js.map +1 -0
  26. package/core/platform/Constructor.js +5 -0
  27. package/core/platform/Constructor.js.map +1 -0
  28. package/core/platform/DateUtilities.js +14 -0
  29. package/core/platform/DateUtilities.js.map +1 -0
  30. package/core/platform/DevToolsPath.js +28 -0
  31. package/core/platform/DevToolsPath.js.map +1 -0
  32. package/core/platform/HostRuntime.js +8 -0
  33. package/core/platform/HostRuntime.js.map +1 -0
  34. package/core/platform/KeyboardUtilities.js +34 -0
  35. package/core/platform/KeyboardUtilities.js.map +1 -0
  36. package/core/platform/MapUtilities.js +80 -0
  37. package/core/platform/MapUtilities.js.map +1 -0
  38. package/core/platform/MimeType.js +157 -0
  39. package/core/platform/MimeType.js.map +1 -0
  40. package/core/platform/NumberUtilities.js +73 -0
  41. package/core/platform/NumberUtilities.js.map +1 -0
  42. package/core/platform/Size.js +36 -0
  43. package/core/platform/Size.js.map +1 -0
  44. package/core/platform/StringUtilities.d.ts +15 -4
  45. package/core/platform/StringUtilities.js +767 -0
  46. package/core/platform/StringUtilities.js.map +1 -0
  47. package/core/platform/Timing.js +10 -0
  48. package/core/platform/Timing.js.map +1 -0
  49. package/core/platform/TypedArrayUtilities.js +158 -0
  50. package/core/platform/TypedArrayUtilities.js.map +1 -0
  51. package/core/platform/TypescriptUtilities.js +17 -0
  52. package/core/platform/TypescriptUtilities.js.map +1 -0
  53. package/core/platform/UIString.d.ts +5 -2
  54. package/core/platform/UIString.js +5 -0
  55. package/core/platform/UIString.js.map +1 -0
  56. package/core/platform/UserVisibleError.d.ts +1 -12
  57. package/core/platform/UserVisibleError.js +23 -0
  58. package/core/platform/UserVisibleError.js.map +1 -0
  59. package/core/platform/api/HostRuntime.d.ts +1 -0
  60. package/core/platform/api/HostRuntime.js +5 -0
  61. package/core/platform/api/HostRuntime.js.map +1 -0
  62. package/core/platform/api/api-tsconfig.json +58 -0
  63. package/core/platform/api/api-tsconfig.ref.json +26 -0
  64. package/core/platform/api/api.js +6 -0
  65. package/core/platform/api/api.js.map +1 -0
  66. package/core/platform/bundle-tsconfig.json +59 -0
  67. package/core/platform/bundle-tsconfig.ref.json +27 -0
  68. package/core/platform/foundation_unittests-tsconfig.json +73 -0
  69. package/core/platform/foundation_unittests-tsconfig.ref.json +40 -0
  70. package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +69 -0
  71. package/core/platform/platform-tsconfig.json +81 -0
  72. package/core/platform/platform-tsconfig.ref.json +49 -0
  73. package/core/platform/platform.js +28 -0
  74. package/core/platform/platform.js.map +1 -0
  75. package/core/platform/platform_node_typecheck-tsconfig.json +78 -0
  76. package/core/platform/platform_node_typecheck.stamp +0 -0
  77. package/core/root/root.d.ts +1 -4
  78. package/core/root/root.js +1 -0
  79. package/core/sdk/sdk.d.ts +27 -97
  80. package/core/sdk/sdk.js +1 -0
  81. package/generated/protocol.d.ts +34 -6
  82. package/generated/protocol.js +3312 -0
  83. package/locales/af.json +94 -97
  84. package/locales/am.json +353 -356
  85. package/locales/ar.json +354 -357
  86. package/locales/as.json +352 -355
  87. package/locales/az.json +343 -346
  88. package/locales/be.json +353 -356
  89. package/locales/bg.json +353 -356
  90. package/locales/bn.json +353 -356
  91. package/locales/bs.json +247 -250
  92. package/locales/ca.json +285 -288
  93. package/locales/cs.json +338 -341
  94. package/locales/cy.json +124 -127
  95. package/locales/da.json +202 -205
  96. package/locales/de.json +222 -225
  97. package/locales/el.json +338 -341
  98. package/locales/en-GB.json +78 -81
  99. package/locales/en-US.json +250 -256
  100. package/locales/en-XL.json +1052 -0
  101. package/locales/es-419.json +278 -281
  102. package/locales/es.json +279 -282
  103. package/locales/et.json +237 -240
  104. package/locales/eu.json +124 -127
  105. package/locales/fa.json +353 -356
  106. package/locales/fi.json +283 -286
  107. package/locales/fil.json +32 -35
  108. package/locales/fr-CA.json +310 -313
  109. package/locales/fr.json +307 -310
  110. package/locales/gl.json +263 -266
  111. package/locales/gu.json +354 -357
  112. package/locales/he.json +354 -357
  113. package/locales/hi.json +338 -341
  114. package/locales/hr.json +238 -241
  115. package/locales/hu.json +344 -347
  116. package/locales/hy.json +353 -356
  117. package/locales/id.json +67 -70
  118. package/locales/is.json +305 -308
  119. package/locales/it.json +175 -178
  120. package/locales/ja.json +353 -356
  121. package/locales/ka.json +354 -357
  122. package/locales/kk.json +354 -357
  123. package/locales/km.json +353 -356
  124. package/locales/kn.json +354 -357
  125. package/locales/ko.json +353 -356
  126. package/locales/ky.json +352 -355
  127. package/locales/lo.json +354 -357
  128. package/locales/lt.json +322 -325
  129. package/locales/lv.json +319 -322
  130. package/locales/mk.json +354 -357
  131. package/locales/ml.json +353 -356
  132. package/locales/mn.json +353 -356
  133. package/locales/mr.json +353 -356
  134. package/locales/ms.json +14 -17
  135. package/locales/my.json +352 -355
  136. package/locales/ne.json +338 -341
  137. package/locales/nl.json +91 -94
  138. package/locales/no.json +179 -182
  139. package/locales/or.json +353 -356
  140. package/locales/pa.json +353 -356
  141. package/locales/pl.json +309 -312
  142. package/locales/pt-PT.json +275 -278
  143. package/locales/pt.json +268 -271
  144. package/locales/ro.json +309 -312
  145. package/locales/ru.json +353 -356
  146. package/locales/si.json +354 -357
  147. package/locales/sk.json +335 -338
  148. package/locales/sl.json +220 -223
  149. package/locales/sq.json +318 -321
  150. package/locales/sr-Latn.json +255 -258
  151. package/locales/sr.json +354 -357
  152. package/locales/sv.json +281 -284
  153. package/locales/sw.json +68 -71
  154. package/locales/ta.json +354 -357
  155. package/locales/te.json +352 -355
  156. package/locales/th.json +354 -357
  157. package/locales/tr.json +328 -331
  158. package/locales/uk.json +353 -356
  159. package/locales/ur.json +354 -357
  160. package/locales/uz.json +168 -171
  161. package/locales/vi.json +354 -357
  162. package/locales/zh-HK.json +354 -357
  163. package/locales/zh-TW.json +353 -356
  164. package/locales/zh.json +353 -356
  165. package/locales/zu.json +52 -55
  166. package/models/cpu_profile/CPUProfileDataModel.d.ts +0 -33
  167. package/models/cpu_profile/CPUProfileDataModel.js +517 -0
  168. package/models/cpu_profile/CPUProfileDataModel.js.map +1 -0
  169. package/models/cpu_profile/ProfileTreeModel.d.ts +1 -2
  170. package/models/cpu_profile/ProfileTreeModel.js +90 -0
  171. package/models/cpu_profile/ProfileTreeModel.js.map +1 -0
  172. package/models/cpu_profile/bundle-tsconfig.json +59 -0
  173. package/models/cpu_profile/bundle-tsconfig.ref.json +27 -0
  174. package/models/cpu_profile/cpu_profile-tsconfig.json +63 -0
  175. package/models/cpu_profile/cpu_profile-tsconfig.ref.json +31 -0
  176. package/models/cpu_profile/cpu_profile.js +7 -0
  177. package/models/cpu_profile/cpu_profile.js.map +1 -0
  178. package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +60 -0
  179. package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
  180. package/models/cpu_profile/foundation_unittests-tsconfig.json +63 -0
  181. package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +30 -0
  182. package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +59 -0
  183. package/models/crux-manager/crux-manager.d.ts +3 -1
  184. package/models/crux-manager/crux-manager.js +1 -0
  185. package/models/trace/EntityMapper.js +133 -0
  186. package/models/trace/EntityMapper.js.map +1 -0
  187. package/models/trace/EventsSerializer.d.ts +1 -0
  188. package/models/trace/EventsSerializer.js +113 -0
  189. package/models/trace/EventsSerializer.js.map +1 -0
  190. package/models/trace/LanternComputationData.js +394 -0
  191. package/models/trace/LanternComputationData.js.map +1 -0
  192. package/models/trace/ModelImpl.js +179 -0
  193. package/models/trace/ModelImpl.js.map +1 -0
  194. package/models/trace/Name.js +115 -0
  195. package/models/trace/Name.js.map +1 -0
  196. package/models/trace/Processor.js +616 -0
  197. package/models/trace/Processor.js.map +1 -0
  198. package/models/trace/Styles.d.ts +2 -2
  199. package/models/trace/Styles.js +836 -0
  200. package/models/trace/Styles.js.map +1 -0
  201. package/models/trace/bundle-tsconfig.json +77 -0
  202. package/models/trace/bundle-tsconfig.ref.json +45 -0
  203. package/models/trace/extras/FilmStrip.js +45 -0
  204. package/models/trace/extras/FilmStrip.js.map +1 -0
  205. package/models/trace/extras/Initiators.js +47 -0
  206. package/models/trace/extras/Initiators.js.map +1 -0
  207. package/models/trace/extras/MainThreadActivity.js +77 -0
  208. package/models/trace/extras/MainThreadActivity.js.map +1 -0
  209. package/models/trace/extras/ScriptDuplication.js +163 -0
  210. package/models/trace/extras/ScriptDuplication.js.map +1 -0
  211. package/models/trace/extras/StackTraceForEvent.js +192 -0
  212. package/models/trace/extras/StackTraceForEvent.js.map +1 -0
  213. package/models/trace/extras/ThirdParties.js +119 -0
  214. package/models/trace/extras/ThirdParties.js.map +1 -0
  215. package/models/trace/extras/TraceFilter.js +51 -0
  216. package/models/trace/extras/TraceFilter.js.map +1 -0
  217. package/models/trace/extras/TraceTree.js +678 -0
  218. package/models/trace/extras/TraceTree.js.map +1 -0
  219. package/models/trace/extras/bundle-tsconfig.json +59 -0
  220. package/models/trace/extras/bundle-tsconfig.ref.json +27 -0
  221. package/models/trace/extras/extras-tsconfig.json +81 -0
  222. package/models/trace/extras/extras-tsconfig.ref.json +49 -0
  223. package/models/trace/extras/extras.js +12 -0
  224. package/models/trace/extras/extras.js.map +1 -0
  225. package/models/trace/extras/extras_node_typecheck-tsconfig.json +78 -0
  226. package/models/trace/extras/extras_node_typecheck.stamp +0 -0
  227. package/models/trace/extras/foundation_unittests-tsconfig.json +91 -0
  228. package/models/trace/extras/foundation_unittests-tsconfig.ref.json +58 -0
  229. package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +87 -0
  230. package/models/trace/foundation_unittests-tsconfig.json +70 -0
  231. package/models/trace/foundation_unittests-tsconfig.ref.json +37 -0
  232. package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +66 -0
  233. package/models/trace/handlers/AnimationFramesHandler.js +110 -0
  234. package/models/trace/handlers/AnimationFramesHandler.js.map +1 -0
  235. package/models/trace/handlers/AnimationHandler.js +27 -0
  236. package/models/trace/handlers/AnimationHandler.js.map +1 -0
  237. package/models/trace/handlers/AsyncJSCallsHandler.js +188 -0
  238. package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -0
  239. package/models/trace/handlers/DOMStatsHandler.js +22 -0
  240. package/models/trace/handlers/DOMStatsHandler.js.map +1 -0
  241. package/models/trace/handlers/ExtensionTraceDataHandler.js +264 -0
  242. package/models/trace/handlers/ExtensionTraceDataHandler.js.map +1 -0
  243. package/models/trace/handlers/FlowsHandler.js +155 -0
  244. package/models/trace/handlers/FlowsHandler.js.map +1 -0
  245. package/models/trace/handlers/FramesHandler.js +491 -0
  246. package/models/trace/handlers/FramesHandler.js.map +1 -0
  247. package/models/trace/handlers/GPUHandler.js +36 -0
  248. package/models/trace/handlers/GPUHandler.js.map +1 -0
  249. package/models/trace/handlers/ImagePaintingHandler.js +148 -0
  250. package/models/trace/handlers/ImagePaintingHandler.js.map +1 -0
  251. package/models/trace/handlers/InitiatorsHandler.js +169 -0
  252. package/models/trace/handlers/InitiatorsHandler.js.map +1 -0
  253. package/models/trace/handlers/InvalidationsHandler.js +125 -0
  254. package/models/trace/handlers/InvalidationsHandler.js.map +1 -0
  255. package/models/trace/handlers/LargestImagePaintHandler.js +86 -0
  256. package/models/trace/handlers/LargestImagePaintHandler.js.map +1 -0
  257. package/models/trace/handlers/LargestTextPaintHandler.js +28 -0
  258. package/models/trace/handlers/LargestTextPaintHandler.js.map +1 -0
  259. package/models/trace/handlers/LayerTreeHandler.js +104 -0
  260. package/models/trace/handlers/LayerTreeHandler.js.map +1 -0
  261. package/models/trace/handlers/LayoutShiftsHandler.js +449 -0
  262. package/models/trace/handlers/LayoutShiftsHandler.js.map +1 -0
  263. package/models/trace/handlers/MemoryHandler.js +22 -0
  264. package/models/trace/handlers/MemoryHandler.js.map +1 -0
  265. package/models/trace/handlers/MetaHandler.js +442 -0
  266. package/models/trace/handlers/MetaHandler.js.map +1 -0
  267. package/models/trace/handlers/ModelHandlers.js +33 -0
  268. package/models/trace/handlers/ModelHandlers.js.map +1 -0
  269. package/models/trace/handlers/NetworkRequestsHandler.js +584 -0
  270. package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -0
  271. package/models/trace/handlers/PageFramesHandler.js +43 -0
  272. package/models/trace/handlers/PageFramesHandler.js.map +1 -0
  273. package/models/trace/handlers/PageLoadMetricsHandler.js +463 -0
  274. package/models/trace/handlers/PageLoadMetricsHandler.js.map +1 -0
  275. package/models/trace/handlers/RendererHandler.js +346 -0
  276. package/models/trace/handlers/RendererHandler.js.map +1 -0
  277. package/models/trace/handlers/SamplesHandler.js +264 -0
  278. package/models/trace/handlers/SamplesHandler.js.map +1 -0
  279. package/models/trace/handlers/ScreenshotsHandler.js +56 -0
  280. package/models/trace/handlers/ScreenshotsHandler.js.map +1 -0
  281. package/models/trace/handlers/ScriptsHandler.js +277 -0
  282. package/models/trace/handlers/ScriptsHandler.js.map +1 -0
  283. package/models/trace/handlers/SelectorStatsHandler.js +72 -0
  284. package/models/trace/handlers/SelectorStatsHandler.js.map +1 -0
  285. package/models/trace/handlers/Threads.js +108 -0
  286. package/models/trace/handlers/Threads.js.map +1 -0
  287. package/models/trace/handlers/UserInteractionsHandler.js +319 -0
  288. package/models/trace/handlers/UserInteractionsHandler.js.map +1 -0
  289. package/models/trace/handlers/UserTimingsHandler.js +194 -0
  290. package/models/trace/handlers/UserTimingsHandler.js.map +1 -0
  291. package/models/trace/handlers/WarningsHandler.js +135 -0
  292. package/models/trace/handlers/WarningsHandler.js.map +1 -0
  293. package/models/trace/handlers/WorkersHandler.js +34 -0
  294. package/models/trace/handlers/WorkersHandler.js.map +1 -0
  295. package/models/trace/handlers/bundle-tsconfig.json +59 -0
  296. package/models/trace/handlers/bundle-tsconfig.ref.json +27 -0
  297. package/models/trace/handlers/foundation_unittests-tsconfig.json +102 -0
  298. package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +69 -0
  299. package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +98 -0
  300. package/models/trace/handlers/handlers-tsconfig.json +112 -0
  301. package/models/trace/handlers/handlers-tsconfig.ref.json +80 -0
  302. package/models/trace/handlers/handlers.js +8 -0
  303. package/models/trace/handlers/handlers.js.map +1 -0
  304. package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +109 -0
  305. package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
  306. package/models/trace/handlers/helpers.js +167 -0
  307. package/models/trace/handlers/helpers.js.map +1 -0
  308. package/models/trace/handlers/types.js +2 -0
  309. package/models/trace/handlers/types.js.map +1 -0
  310. package/models/trace/helpers/Extensions.js +42 -0
  311. package/models/trace/helpers/Extensions.js.map +1 -0
  312. package/models/trace/helpers/Network.js +103 -0
  313. package/models/trace/helpers/Network.js.map +1 -0
  314. package/models/trace/helpers/SamplesIntegrator.js +527 -0
  315. package/models/trace/helpers/SamplesIntegrator.js.map +1 -0
  316. package/models/trace/helpers/SyntheticEvents.d.ts +0 -8
  317. package/models/trace/helpers/SyntheticEvents.js +73 -0
  318. package/models/trace/helpers/SyntheticEvents.js.map +1 -0
  319. package/models/trace/helpers/Timing.js +200 -0
  320. package/models/trace/helpers/Timing.js.map +1 -0
  321. package/models/trace/helpers/Trace.js +844 -0
  322. package/models/trace/helpers/Trace.js.map +1 -0
  323. package/models/trace/helpers/TreeHelpers.js +255 -0
  324. package/models/trace/helpers/TreeHelpers.js.map +1 -0
  325. package/models/trace/helpers/bundle-tsconfig.json +59 -0
  326. package/models/trace/helpers/bundle-tsconfig.ref.json +27 -0
  327. package/models/trace/helpers/foundation_unittests-tsconfig.json +73 -0
  328. package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +40 -0
  329. package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +69 -0
  330. package/models/trace/helpers/helpers-tsconfig.json +77 -0
  331. package/models/trace/helpers/helpers-tsconfig.ref.json +45 -0
  332. package/models/trace/helpers/helpers.js +11 -0
  333. package/models/trace/helpers/helpers.js.map +1 -0
  334. package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +74 -0
  335. package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
  336. package/models/trace/insights/CLSCulprits.d.ts +14 -14
  337. package/models/trace/insights/CLSCulprits.js +519 -0
  338. package/models/trace/insights/CLSCulprits.js.map +1 -0
  339. package/models/trace/insights/Cache.d.ts +6 -6
  340. package/models/trace/insights/Cache.js +210 -0
  341. package/models/trace/insights/Cache.js.map +1 -0
  342. package/models/trace/insights/CharacterSet.d.ts +8 -8
  343. package/models/trace/insights/CharacterSet.js +132 -0
  344. package/models/trace/insights/CharacterSet.js.map +1 -0
  345. package/models/trace/insights/Common.js +367 -0
  346. package/models/trace/insights/Common.js.map +1 -0
  347. package/models/trace/insights/DOMSize.d.ts +13 -13
  348. package/models/trace/insights/DOMSize.js +182 -0
  349. package/models/trace/insights/DOMSize.js.map +1 -0
  350. package/models/trace/insights/DocumentLatency.d.ts +11 -11
  351. package/models/trace/insights/DocumentLatency.js +259 -0
  352. package/models/trace/insights/DocumentLatency.js.map +1 -0
  353. package/models/trace/insights/DuplicatedJavaScript.d.ts +5 -5
  354. package/models/trace/insights/DuplicatedJavaScript.js +110 -0
  355. package/models/trace/insights/DuplicatedJavaScript.js.map +1 -0
  356. package/models/trace/insights/FontDisplay.d.ts +5 -5
  357. package/models/trace/insights/FontDisplay.js +93 -0
  358. package/models/trace/insights/FontDisplay.js.map +1 -0
  359. package/models/trace/insights/ForcedReflow.d.ts +7 -7
  360. package/models/trace/insights/ForcedReflow.js +162 -0
  361. package/models/trace/insights/ForcedReflow.js.map +1 -0
  362. package/models/trace/insights/INPBreakdown.d.ts +8 -8
  363. package/models/trace/insights/INPBreakdown.js +130 -0
  364. package/models/trace/insights/INPBreakdown.js.map +1 -0
  365. package/models/trace/insights/ImageDelivery.d.ts +12 -12
  366. package/models/trace/insights/ImageDelivery.js +264 -0
  367. package/models/trace/insights/ImageDelivery.js.map +1 -0
  368. package/models/trace/insights/LCPBreakdown.d.ts +11 -11
  369. package/models/trace/insights/LCPBreakdown.js +200 -0
  370. package/models/trace/insights/LCPBreakdown.js.map +1 -0
  371. package/models/trace/insights/LCPDiscovery.d.ts +10 -10
  372. package/models/trace/insights/LCPDiscovery.js +190 -0
  373. package/models/trace/insights/LCPDiscovery.js.map +1 -0
  374. package/models/trace/insights/LegacyJavaScript.d.ts +5 -5
  375. package/models/trace/insights/LegacyJavaScript.js +99 -0
  376. package/models/trace/insights/LegacyJavaScript.js.map +1 -0
  377. package/models/trace/insights/Models.js +23 -0
  378. package/models/trace/insights/Models.js.map +1 -0
  379. package/models/trace/insights/ModernHTTP.d.ts +5 -5
  380. package/models/trace/insights/ModernHTTP.js +205 -0
  381. package/models/trace/insights/ModernHTTP.js.map +1 -0
  382. package/models/trace/insights/NetworkDependencyTree.d.ts +19 -19
  383. package/models/trace/insights/NetworkDependencyTree.js +551 -0
  384. package/models/trace/insights/NetworkDependencyTree.js.map +1 -0
  385. package/models/trace/insights/RenderBlocking.d.ts +5 -5
  386. package/models/trace/insights/RenderBlocking.js +213 -0
  387. package/models/trace/insights/RenderBlocking.js.map +1 -0
  388. package/models/trace/insights/SlowCSSSelector.d.ts +10 -10
  389. package/models/trace/insights/SlowCSSSelector.js +140 -0
  390. package/models/trace/insights/SlowCSSSelector.js.map +1 -0
  391. package/models/trace/insights/Statistics.js +93 -0
  392. package/models/trace/insights/Statistics.js.map +1 -0
  393. package/models/trace/insights/ThirdParties.d.ts +6 -6
  394. package/models/trace/insights/ThirdParties.js +110 -0
  395. package/models/trace/insights/ThirdParties.js.map +1 -0
  396. package/models/trace/insights/Viewport.d.ts +3 -3
  397. package/models/trace/insights/Viewport.js +105 -0
  398. package/models/trace/insights/Viewport.js.map +1 -0
  399. package/models/trace/insights/bundle-tsconfig.json +59 -0
  400. package/models/trace/insights/bundle-tsconfig.ref.json +27 -0
  401. package/models/trace/insights/foundation_unittests-tsconfig.json +98 -0
  402. package/models/trace/insights/foundation_unittests-tsconfig.ref.json +65 -0
  403. package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +94 -0
  404. package/models/trace/insights/insights-tsconfig.json +114 -0
  405. package/models/trace/insights/insights-tsconfig.ref.json +82 -0
  406. package/models/trace/insights/insights.js +10 -0
  407. package/models/trace/insights/insights.js.map +1 -0
  408. package/models/trace/insights/insights_node_typecheck-tsconfig.json +111 -0
  409. package/models/trace/insights/insights_node_typecheck.stamp +0 -0
  410. package/models/trace/insights/types.d.ts +3 -3
  411. package/models/trace/insights/types.js +41 -0
  412. package/models/trace/insights/types.js.map +1 -0
  413. package/models/trace/lantern/bundle-tsconfig.json +71 -0
  414. package/models/trace/lantern/bundle-tsconfig.ref.json +39 -0
  415. package/models/trace/lantern/core/LanternError.js +7 -0
  416. package/models/trace/lantern/core/LanternError.js.map +1 -0
  417. package/models/trace/lantern/core/NetworkAnalyzer.js +496 -0
  418. package/models/trace/lantern/core/NetworkAnalyzer.js.map +1 -0
  419. package/models/trace/lantern/core/bundle-tsconfig.json +59 -0
  420. package/models/trace/lantern/core/bundle-tsconfig.ref.json +27 -0
  421. package/models/trace/lantern/core/core-tsconfig.json +60 -0
  422. package/models/trace/lantern/core/core-tsconfig.ref.json +28 -0
  423. package/models/trace/lantern/core/core.js +6 -0
  424. package/models/trace/lantern/core/core.js.map +1 -0
  425. package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +57 -0
  426. package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
  427. package/models/trace/lantern/core/foundation_unittests-tsconfig.json +69 -0
  428. package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +36 -0
  429. package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +65 -0
  430. package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
  431. package/models/trace/lantern/graph/BaseNode.js +277 -0
  432. package/models/trace/lantern/graph/BaseNode.js.map +1 -0
  433. package/models/trace/lantern/graph/CPUNode.js +80 -0
  434. package/models/trace/lantern/graph/CPUNode.js.map +1 -0
  435. package/models/trace/lantern/graph/NetworkNode.js +95 -0
  436. package/models/trace/lantern/graph/NetworkNode.js.map +1 -0
  437. package/models/trace/lantern/graph/PageDependencyGraph.js +574 -0
  438. package/models/trace/lantern/graph/PageDependencyGraph.js.map +1 -0
  439. package/models/trace/lantern/graph/bundle-tsconfig.json +59 -0
  440. package/models/trace/lantern/graph/bundle-tsconfig.ref.json +27 -0
  441. package/models/trace/lantern/graph/foundation_unittests-tsconfig.json +61 -0
  442. package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +28 -0
  443. package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +57 -0
  444. package/models/trace/lantern/graph/graph-tsconfig.json +65 -0
  445. package/models/trace/lantern/graph/graph-tsconfig.ref.json +33 -0
  446. package/models/trace/lantern/graph/graph.js +8 -0
  447. package/models/trace/lantern/graph/graph.js.map +1 -0
  448. package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +62 -0
  449. package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
  450. package/models/trace/lantern/lantern.js +10 -0
  451. package/models/trace/lantern/lantern.js.map +1 -0
  452. package/models/trace/lantern/metrics/FirstContentfulPaint.js +137 -0
  453. package/models/trace/lantern/metrics/FirstContentfulPaint.js.map +1 -0
  454. package/models/trace/lantern/metrics/Interactive.js +68 -0
  455. package/models/trace/lantern/metrics/Interactive.js.map +1 -0
  456. package/models/trace/lantern/metrics/LargestContentfulPaint.d.ts +5 -1
  457. package/models/trace/lantern/metrics/LargestContentfulPaint.js +187 -0
  458. package/models/trace/lantern/metrics/LargestContentfulPaint.js.map +1 -0
  459. package/models/trace/lantern/metrics/MaxPotentialFID.js +49 -0
  460. package/models/trace/lantern/metrics/MaxPotentialFID.js.map +1 -0
  461. package/models/trace/lantern/metrics/Metric.js +69 -0
  462. package/models/trace/lantern/metrics/Metric.js.map +1 -0
  463. package/models/trace/lantern/metrics/SpeedIndex.js +102 -0
  464. package/models/trace/lantern/metrics/SpeedIndex.js.map +1 -0
  465. package/models/trace/lantern/metrics/TBTUtils.js +65 -0
  466. package/models/trace/lantern/metrics/TBTUtils.js.map +1 -0
  467. package/models/trace/lantern/metrics/TotalBlockingTime.js +79 -0
  468. package/models/trace/lantern/metrics/TotalBlockingTime.js.map +1 -0
  469. package/models/trace/lantern/metrics/bundle-tsconfig.json +59 -0
  470. package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +27 -0
  471. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +76 -0
  472. package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +43 -0
  473. package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +72 -0
  474. package/models/trace/lantern/metrics/metrics-tsconfig.json +75 -0
  475. package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +43 -0
  476. package/models/trace/lantern/metrics/metrics.js +12 -0
  477. package/models/trace/lantern/metrics/metrics.js.map +1 -0
  478. package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +72 -0
  479. package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
  480. package/models/trace/lantern/simulation/ConnectionPool.js +116 -0
  481. package/models/trace/lantern/simulation/ConnectionPool.js.map +1 -0
  482. package/models/trace/lantern/simulation/Constants.js +45 -0
  483. package/models/trace/lantern/simulation/Constants.js.map +1 -0
  484. package/models/trace/lantern/simulation/DNSCache.js +48 -0
  485. package/models/trace/lantern/simulation/DNSCache.js.map +1 -0
  486. package/models/trace/lantern/simulation/SimulationTimingMap.js +135 -0
  487. package/models/trace/lantern/simulation/SimulationTimingMap.js.map +1 -0
  488. package/models/trace/lantern/simulation/Simulator.js +461 -0
  489. package/models/trace/lantern/simulation/Simulator.js.map +1 -0
  490. package/models/trace/lantern/simulation/TCPConnection.js +155 -0
  491. package/models/trace/lantern/simulation/TCPConnection.js.map +1 -0
  492. package/models/trace/lantern/simulation/bundle-tsconfig.json +59 -0
  493. package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +27 -0
  494. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +75 -0
  495. package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +42 -0
  496. package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +71 -0
  497. package/models/trace/lantern/simulation/simulation-tsconfig.json +70 -0
  498. package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +38 -0
  499. package/models/trace/lantern/simulation/simulation.js +10 -0
  500. package/models/trace/lantern/simulation/simulation.js.map +1 -0
  501. package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +67 -0
  502. package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
  503. package/models/trace/lantern/testing/bundle-tsconfig.json +60 -0
  504. package/models/trace/lantern/testing/bundle-tsconfig.ref.json +27 -0
  505. package/models/trace/lantern/testing/testing-tsconfig.json +63 -0
  506. package/models/trace/lantern/testing/testing-tsconfig.ref.json +30 -0
  507. package/models/trace/lantern/types/Lantern.d.ts +23 -19
  508. package/models/trace/lantern/types/Lantern.js +25 -0
  509. package/models/trace/lantern/types/Lantern.js.map +1 -0
  510. package/models/trace/lantern/types/bundle-tsconfig.json +59 -0
  511. package/models/trace/lantern/types/bundle-tsconfig.ref.json +27 -0
  512. package/models/trace/lantern/types/types-tsconfig.json +59 -0
  513. package/models/trace/lantern/types/types-tsconfig.ref.json +27 -0
  514. package/models/trace/lantern/types/types.js +5 -0
  515. package/models/trace/lantern/types/types.js.map +1 -0
  516. package/models/trace/lantern/types/types_node_typecheck-tsconfig.json +56 -0
  517. package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
  518. package/models/trace/trace-tsconfig.json +89 -0
  519. package/models/trace/trace-tsconfig.ref.json +57 -0
  520. package/models/trace/trace.js +16 -544
  521. package/models/trace/trace.js.map +1 -0
  522. package/models/trace/trace_node_typecheck-tsconfig.json +86 -0
  523. package/models/trace/trace_node_typecheck.stamp +0 -0
  524. package/models/trace/types/Configuration.d.ts +2 -2
  525. package/models/trace/types/Configuration.js +19 -0
  526. package/models/trace/types/Configuration.js.map +1 -0
  527. package/models/trace/types/Extensions.d.ts +1 -1
  528. package/models/trace/types/Extensions.js +38 -0
  529. package/models/trace/types/Extensions.js.map +1 -0
  530. package/models/trace/types/File.d.ts +9 -3
  531. package/models/trace/types/File.js +92 -0
  532. package/models/trace/types/File.js.map +1 -0
  533. package/models/trace/types/Overlays.js +5 -0
  534. package/models/trace/types/Overlays.js.map +1 -0
  535. package/models/trace/types/Timing.js +16 -0
  536. package/models/trace/types/Timing.js.map +1 -0
  537. package/models/trace/types/TraceEvents.d.ts +21 -16
  538. package/models/trace/types/TraceEvents.js +983 -0
  539. package/models/trace/types/TraceEvents.js.map +1 -0
  540. package/models/trace/types/bundle-tsconfig.json +59 -0
  541. package/models/trace/types/bundle-tsconfig.ref.json +27 -0
  542. package/models/trace/types/foundation_unittests-tsconfig.json +67 -0
  543. package/models/trace/types/foundation_unittests-tsconfig.ref.json +34 -0
  544. package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +63 -0
  545. package/models/trace/types/types-tsconfig.json +76 -0
  546. package/models/trace/types/types-tsconfig.ref.json +44 -0
  547. package/models/trace/types/types.js +10 -0
  548. package/models/trace/types/types.js.map +1 -0
  549. package/models/trace/types/types_node_typecheck-tsconfig.json +73 -0
  550. package/models/trace/types/types_node_typecheck.stamp +0 -0
  551. package/package.json +8 -40
  552. package/test/invalid-animation-events.json.gz +0 -0
  553. package/test/test-trace-engine.mjs +191 -0
  554. package/third_party/legacy-javascript/bundle-tsconfig.json +59 -0
  555. package/third_party/legacy-javascript/bundle-tsconfig.ref.json +27 -0
  556. package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +15 -0
  557. package/third_party/legacy-javascript/legacy-javascript.js +3 -0
  558. package/third_party/legacy-javascript/legacy-javascript.js.map +1 -0
  559. package/third_party/legacy-javascript/lib/legacy-javascript.js +1119 -0
  560. package/third_party/marked/marked.d.ts +1 -2
  561. package/third_party/marked/marked.js +1 -0
  562. package/third_party/third-party-web/third-party-web.d.ts +1 -2
  563. package/third_party/third-party-web/third-party-web.js +1 -0
  564. package/tsconfig.json +29 -0
  565. package/core/common/Base64.d.ts +0 -12
  566. package/core/common/CharacterIdMap.d.ts +0 -5
  567. package/core/common/Color.d.ts +0 -357
  568. package/core/common/ColorConverter.d.ts +0 -26
  569. package/core/common/ColorUtils.d.ts +0 -45
  570. package/core/common/Console.d.ts +0 -54
  571. package/core/common/Debouncer.d.ts +0 -8
  572. package/core/common/EventTarget.d.ts +0 -22
  573. package/core/common/Gzip.d.ts +0 -23
  574. package/core/common/JavaScriptMetaData.d.ts +0 -20
  575. package/core/common/Lazy.d.ts +0 -4
  576. package/core/common/MapWithDefault.d.ts +0 -9
  577. package/core/common/Mutex.d.ts +0 -13
  578. package/core/common/Object.d.ts +0 -20
  579. package/core/common/Progress.d.ts +0 -47
  580. package/core/common/ResolverBase.d.ts +0 -29
  581. package/core/common/ResourceType.d.ts +0 -52
  582. package/core/common/ReturnToPanel.d.ts +0 -10
  583. package/core/common/Revealer.d.ts +0 -66
  584. package/core/common/Runnable.d.ts +0 -14
  585. package/core/common/SegmentedRange.d.ts +0 -14
  586. package/core/common/SettingRegistration.d.ts +0 -136
  587. package/core/common/Settings.d.ts +0 -228
  588. package/core/common/SimpleHistoryManager.d.ts +0 -20
  589. package/core/common/Srcset.d.ts +0 -16
  590. package/core/common/StringOutputStream.d.ts +0 -10
  591. package/core/common/TextDictionary.d.ts +0 -11
  592. package/core/common/Throttler.d.ts +0 -12
  593. package/core/common/Trie.d.ts +0 -24
  594. package/core/common/VersionController.d.ts +0 -85
  595. package/core/host/AidaClient.d.ts +0 -73
  596. package/core/host/AidaClientTypes.d.ts +0 -355
  597. package/core/host/AidaGcaTranslation.d.ts +0 -10
  598. package/core/host/DispatchHttpRequestClient.d.ts +0 -14
  599. package/core/host/GcaClient.d.ts +0 -14
  600. package/core/host/GcaTypes.d.ts +0 -411
  601. package/core/host/GdpClient.d.ts +0 -84
  602. package/core/host/InspectorFrontendHost.d.ts +0 -29
  603. package/core/host/InspectorFrontendHostAPI.d.ts +0 -425
  604. package/core/host/InspectorFrontendHostStub.d.ts +0 -151
  605. package/core/host/Platform.d.ts +0 -16
  606. package/core/host/ResourceLoader.d.ts +0 -15
  607. package/core/host/UserMetrics.d.ts +0 -116
  608. package/core/host/UserMetricsEnums.d.ts +0 -888
  609. package/core/i18n/ByteUtilities.d.ts +0 -11
  610. package/core/i18n/DevToolsLocale.d.ts +0 -41
  611. package/core/i18n/NumberFormatter.d.ts +0 -11
  612. package/core/i18n/i18nImpl.d.ts +0 -64
  613. package/core/i18n/i18nTypes.d.ts +0 -5
  614. package/core/i18n/locales.d.ts +0 -15
  615. package/core/i18n/time-utilities.d.ts +0 -16
  616. package/core/platform/browser/HostRuntime.d.ts +0 -2
  617. package/core/platform/browser/browser.d.ts +0 -2
  618. package/core/platform/node/HostRuntime.d.ts +0 -2
  619. package/core/platform/node/node.d.ts +0 -2
  620. package/core/protocol_client/CDPConnection.d.ts +0 -77
  621. package/core/protocol_client/ConnectionTransport.d.ts +0 -9
  622. package/core/protocol_client/DevToolsCDPConnection.d.ts +0 -16
  623. package/core/protocol_client/InspectorBackend.d.ts +0 -223
  624. package/core/protocol_client/protocol_client.d.ts +0 -5
  625. package/core/root/DevToolsContext.d.ts +0 -34
  626. package/core/root/ExperimentNames.d.ts +0 -9
  627. package/core/root/Runtime.d.ts +0 -353
  628. package/core/sdk/AccessibilityModel.d.ts +0 -76
  629. package/core/sdk/AnimationModel.d.ts +0 -161
  630. package/core/sdk/AutofillModel.d.ts +0 -23
  631. package/core/sdk/CPUProfilerModel.d.ts +0 -46
  632. package/core/sdk/CPUThrottlingManager.d.ts +0 -47
  633. package/core/sdk/CSSContainerQuery.d.ts +0 -42
  634. package/core/sdk/CSSFontFace.d.ts +0 -10
  635. package/core/sdk/CSSLayer.d.ts +0 -9
  636. package/core/sdk/CSSLocation.d.ts +0 -14
  637. package/core/sdk/CSSMatchedStyles.d.ts +0 -138
  638. package/core/sdk/CSSMedia.d.ts +0 -36
  639. package/core/sdk/CSSMetadata.d.ts +0 -87
  640. package/core/sdk/CSSModel.d.ts +0 -185
  641. package/core/sdk/CSSNavigation.d.ts +0 -10
  642. package/core/sdk/CSSProperty.d.ts +0 -53
  643. package/core/sdk/CSSPropertyParser.d.ts +0 -126
  644. package/core/sdk/CSSPropertyParserMatchers.d.ts +0 -442
  645. package/core/sdk/CSSQuery.d.ts +0 -22
  646. package/core/sdk/CSSRule.d.ts +0 -132
  647. package/core/sdk/CSSScope.d.ts +0 -9
  648. package/core/sdk/CSSStartingStyle.d.ts +0 -9
  649. package/core/sdk/CSSStyleDeclaration.d.ts +0 -38
  650. package/core/sdk/CSSStyleSheetHeader.d.ts +0 -53
  651. package/core/sdk/CSSSupports.d.ts +0 -10
  652. package/core/sdk/CategorizedBreakpoint.d.ts +0 -42
  653. package/core/sdk/ChildTargetManager.d.ts +0 -40
  654. package/core/sdk/CompilerSourceMappingContentProvider.d.ts +0 -12
  655. package/core/sdk/Connections.d.ts +0 -36
  656. package/core/sdk/ConsoleModel.d.ts +0 -127
  657. package/core/sdk/ConsoleModelTypes.d.ts +0 -6
  658. package/core/sdk/Cookie.d.ts +0 -68
  659. package/core/sdk/CookieModel.d.ts +0 -31
  660. package/core/sdk/CookieParser.d.ts +0 -14
  661. package/core/sdk/CrashReportContextModel.d.ts +0 -8
  662. package/core/sdk/DOMDebuggerModel.d.ts +0 -127
  663. package/core/sdk/DOMModel.d.ts +0 -440
  664. package/core/sdk/DOMStorageModel.d.ts +0 -79
  665. package/core/sdk/DebuggerModel.d.ts +0 -305
  666. package/core/sdk/EmulationModel.d.ts +0 -95
  667. package/core/sdk/EnhancedTracesParser.d.ts +0 -105
  668. package/core/sdk/EventBreakpointsModel.d.ts +0 -66
  669. package/core/sdk/FrameAssociated.d.ts +0 -6
  670. package/core/sdk/FrameManager.d.ts +0 -68
  671. package/core/sdk/HeapProfilerModel.d.ts +0 -75
  672. package/core/sdk/HttpReasonPhraseStrings.d.ts +0 -5
  673. package/core/sdk/IOModel.d.ts +0 -10
  674. package/core/sdk/IsolateManager.d.ts +0 -53
  675. package/core/sdk/IssuesModel.d.ts +0 -28
  676. package/core/sdk/LayerTreeBase.d.ts +0 -70
  677. package/core/sdk/LogModel.d.ts +0 -20
  678. package/core/sdk/NetworkManager.d.ts +0 -418
  679. package/core/sdk/NetworkRequest.d.ts +0 -497
  680. package/core/sdk/NetworkRequestAccess.d.ts +0 -91
  681. package/core/sdk/OverlayColorGenerator.d.ts +0 -14
  682. package/core/sdk/OverlayModel.d.ts +0 -186
  683. package/core/sdk/OverlayPersistentHighlighter.d.ts +0 -116
  684. package/core/sdk/PageFunctions.d.ts +0 -22
  685. package/core/sdk/PageLoad.d.ts +0 -14
  686. package/core/sdk/PageResourceLoader.d.ts +0 -111
  687. package/core/sdk/PaintProfiler.d.ts +0 -43
  688. package/core/sdk/PerformanceMetricsModel.d.ts +0 -12
  689. package/core/sdk/PreloadingModel.d.ts +0 -146
  690. package/core/sdk/RehydratingConnection.d.ts +0 -73
  691. package/core/sdk/RehydratingObject.d.ts +0 -59
  692. package/core/sdk/RemoteObject.d.ts +0 -210
  693. package/core/sdk/Resource.d.ts +0 -36
  694. package/core/sdk/ResourceTreeModel.d.ts +0 -280
  695. package/core/sdk/RuntimeModel.d.ts +0 -164
  696. package/core/sdk/SDKModel.d.ts +0 -30
  697. package/core/sdk/SDKSettings.d.ts +0 -54
  698. package/core/sdk/ScopeTreeCache.d.ts +0 -21
  699. package/core/sdk/ScreenCaptureModel.d.ts +0 -69
  700. package/core/sdk/Script.d.ts +0 -134
  701. package/core/sdk/SecurityOrigin.d.ts +0 -108
  702. package/core/sdk/SecurityOriginManager.d.ts +0 -23
  703. package/core/sdk/ServerSentEvents.d.ts +0 -18
  704. package/core/sdk/ServerSentEventsProtocol.d.ts +0 -18
  705. package/core/sdk/ServerTiming.d.ts +0 -24
  706. package/core/sdk/ServiceWorkerCacheModel.d.ts +0 -71
  707. package/core/sdk/ServiceWorkerManager.d.ts +0 -125
  708. package/core/sdk/SourceMap.d.ts +0 -211
  709. package/core/sdk/SourceMapCache.d.ts +0 -12
  710. package/core/sdk/SourceMapFunctionRanges.d.ts +0 -23
  711. package/core/sdk/SourceMapManager.d.ts +0 -46
  712. package/core/sdk/SourceMapRangeMappings.d.ts +0 -15
  713. package/core/sdk/SourceMapScopeChainEntry.d.ts +0 -23
  714. package/core/sdk/SourceMapScopesInfo.d.ts +0 -184
  715. package/core/sdk/StorageBucketsModel.d.ts +0 -48
  716. package/core/sdk/StorageKeyManager.d.ts +0 -38
  717. package/core/sdk/Target.d.ts +0 -79
  718. package/core/sdk/TargetManager.d.ts +0 -92
  719. package/core/sdk/TraceObject.d.ts +0 -43
  720. package/core/sdk/WebAuthnModel.d.ts +0 -29
  721. package/core/text_utils/CodeMirrorUtils.d.ts +0 -3
  722. package/core/text_utils/ContentData.d.ts +0 -94
  723. package/core/text_utils/ContentProvider.d.ts +0 -42
  724. package/core/text_utils/Markdown.d.ts +0 -13
  725. package/core/text_utils/StaticContentProvider.d.ts +0 -13
  726. package/core/text_utils/StreamingContentData.d.ts +0 -49
  727. package/core/text_utils/Text.d.ts +0 -19
  728. package/core/text_utils/TextCursor.d.ts +0 -9
  729. package/core/text_utils/TextRange.d.ts +0 -81
  730. package/core/text_utils/TextUtils.d.ts +0 -97
  731. package/core/text_utils/WasmDisassembly.d.ts +0 -29
  732. package/core/text_utils/text_utils.d.ts +0 -12
  733. package/entrypoints/formatter_actions/formatter_actions.d.ts +0 -65
  734. package/generated/InspectorBackendCommands.d.ts +0 -14
  735. package/generated/SupportedCSSProperties.d.ts +0 -18
  736. package/generated/protocol-mapping.d.ts +0 -5985
  737. package/generated/protocol-proxy-api.d.ts +0 -5447
  738. package/index.d.ts +0 -2
  739. package/index.js +0 -6
  740. package/models/crux-manager/CrUXManager.d.ts +0 -107
  741. package/models/emulation/DeviceModeModel.d.ts +0 -157
  742. package/models/emulation/EmulatedDevices.d.ts +0 -148
  743. package/models/emulation/emulation.d.ts +0 -3
  744. package/models/formatter/FormatterWorkerPool.d.ts +0 -58
  745. package/models/formatter/ScriptFormatter.d.ts +0 -11
  746. package/models/formatter/formatter.d.ts +0 -3
  747. package/third_party/codemirror.next/codemirror.next.d.ts +0 -9196
  748. package/third_party/i18n/i18n-impl.d.ts +0 -25
  749. package/third_party/i18n/i18n.d.ts +0 -3
  750. package/third_party/i18n/localized-string-set.d.ts +0 -49
  751. package/third_party/intl-messageformat/intl-messageformat.d.ts +0 -1
  752. package/third_party/marked/package/lib/marked.esm.d.ts +0 -760
  753. package/third_party/source-map-scopes-codec/package/src/builder/builder.d.ts +0 -70
  754. package/third_party/source-map-scopes-codec/package/src/builder/safe_builder.d.ts +0 -40
  755. package/third_party/source-map-scopes-codec/package/src/codec.d.ts +0 -49
  756. package/third_party/source-map-scopes-codec/package/src/decode/decode.d.ts +0 -33
  757. package/third_party/source-map-scopes-codec/package/src/encode/encode.d.ts +0 -8
  758. package/third_party/source-map-scopes-codec/package/src/encode/encoder.d.ts +0 -9
  759. package/third_party/source-map-scopes-codec/package/src/mod.d.ts +0 -5
  760. package/third_party/source-map-scopes-codec/package/src/scopes.d.ts +0 -169
  761. package/third_party/source-map-scopes-codec/package/src/util.d.ts +0 -5
  762. package/third_party/source-map-scopes-codec/package/src/vlq.d.ts +0 -14
  763. package/third_party/source-map-scopes-codec/source-map-scopes-codec.d.ts +0 -1
  764. package/third_party/third-party-web/lib/nostats-subset.d.ts +0 -2
  765. package/third_party/third-party-web/package/lib/index.d.ts +0 -34
  766. package/third_party/third-party-web/package/lib/subsets/nostats.d.ts +0 -1
@@ -0,0 +1,3312 @@
1
+ // Copyright 2020 The Chromium Authors
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+ export var Accessibility;
5
+ (function (Accessibility) {
6
+ /**
7
+ * Enum of possible property types.
8
+ */
9
+ let AXValueType;
10
+ (function (AXValueType) {
11
+ AXValueType["Boolean"] = "boolean";
12
+ AXValueType["Tristate"] = "tristate";
13
+ AXValueType["BooleanOrUndefined"] = "booleanOrUndefined";
14
+ AXValueType["Idref"] = "idref";
15
+ AXValueType["IdrefList"] = "idrefList";
16
+ AXValueType["Integer"] = "integer";
17
+ AXValueType["Node"] = "node";
18
+ AXValueType["NodeList"] = "nodeList";
19
+ AXValueType["Number"] = "number";
20
+ AXValueType["String"] = "string";
21
+ AXValueType["ComputedString"] = "computedString";
22
+ AXValueType["Token"] = "token";
23
+ AXValueType["TokenList"] = "tokenList";
24
+ AXValueType["DomRelation"] = "domRelation";
25
+ AXValueType["Role"] = "role";
26
+ AXValueType["InternalRole"] = "internalRole";
27
+ AXValueType["ValueUndefined"] = "valueUndefined";
28
+ })(AXValueType = Accessibility.AXValueType || (Accessibility.AXValueType = {}));
29
+ /**
30
+ * Enum of possible property sources.
31
+ */
32
+ let AXValueSourceType;
33
+ (function (AXValueSourceType) {
34
+ AXValueSourceType["Attribute"] = "attribute";
35
+ AXValueSourceType["Implicit"] = "implicit";
36
+ AXValueSourceType["Style"] = "style";
37
+ AXValueSourceType["Contents"] = "contents";
38
+ AXValueSourceType["Placeholder"] = "placeholder";
39
+ AXValueSourceType["RelatedElement"] = "relatedElement";
40
+ })(AXValueSourceType = Accessibility.AXValueSourceType || (Accessibility.AXValueSourceType = {}));
41
+ /**
42
+ * Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
43
+ */
44
+ let AXValueNativeSourceType;
45
+ (function (AXValueNativeSourceType) {
46
+ AXValueNativeSourceType["Description"] = "description";
47
+ AXValueNativeSourceType["Figcaption"] = "figcaption";
48
+ AXValueNativeSourceType["Label"] = "label";
49
+ AXValueNativeSourceType["Labelfor"] = "labelfor";
50
+ AXValueNativeSourceType["Labelwrapped"] = "labelwrapped";
51
+ AXValueNativeSourceType["Legend"] = "legend";
52
+ AXValueNativeSourceType["Rubyannotation"] = "rubyannotation";
53
+ AXValueNativeSourceType["Tablecaption"] = "tablecaption";
54
+ AXValueNativeSourceType["Title"] = "title";
55
+ AXValueNativeSourceType["Other"] = "other";
56
+ })(AXValueNativeSourceType = Accessibility.AXValueNativeSourceType || (Accessibility.AXValueNativeSourceType = {}));
57
+ /**
58
+ * Values of AXProperty name:
59
+ * - from 'busy' to 'roledescription': states which apply to every AX node
60
+ * - from 'live' to 'root': attributes which apply to nodes in live regions
61
+ * - from 'autocomplete' to 'valuetext': attributes which apply to widgets
62
+ * - from 'checked' to 'selected': states which apply to widgets
63
+ * - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
64
+ * - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
65
+ */
66
+ let AXPropertyName;
67
+ (function (AXPropertyName) {
68
+ AXPropertyName["Actions"] = "actions";
69
+ AXPropertyName["Busy"] = "busy";
70
+ AXPropertyName["Disabled"] = "disabled";
71
+ AXPropertyName["Editable"] = "editable";
72
+ AXPropertyName["Focusable"] = "focusable";
73
+ AXPropertyName["Focused"] = "focused";
74
+ AXPropertyName["Hidden"] = "hidden";
75
+ AXPropertyName["HiddenRoot"] = "hiddenRoot";
76
+ AXPropertyName["Invalid"] = "invalid";
77
+ AXPropertyName["Keyshortcuts"] = "keyshortcuts";
78
+ AXPropertyName["Settable"] = "settable";
79
+ AXPropertyName["Roledescription"] = "roledescription";
80
+ AXPropertyName["Live"] = "live";
81
+ AXPropertyName["Atomic"] = "atomic";
82
+ AXPropertyName["Relevant"] = "relevant";
83
+ AXPropertyName["Root"] = "root";
84
+ AXPropertyName["Autocomplete"] = "autocomplete";
85
+ AXPropertyName["HasPopup"] = "hasPopup";
86
+ AXPropertyName["Level"] = "level";
87
+ AXPropertyName["Multiselectable"] = "multiselectable";
88
+ AXPropertyName["Orientation"] = "orientation";
89
+ AXPropertyName["Multiline"] = "multiline";
90
+ AXPropertyName["Readonly"] = "readonly";
91
+ AXPropertyName["Required"] = "required";
92
+ AXPropertyName["Valuemin"] = "valuemin";
93
+ AXPropertyName["Valuemax"] = "valuemax";
94
+ AXPropertyName["Valuetext"] = "valuetext";
95
+ AXPropertyName["Checked"] = "checked";
96
+ AXPropertyName["Expanded"] = "expanded";
97
+ AXPropertyName["Modal"] = "modal";
98
+ AXPropertyName["Pressed"] = "pressed";
99
+ AXPropertyName["Selected"] = "selected";
100
+ AXPropertyName["Activedescendant"] = "activedescendant";
101
+ AXPropertyName["Controls"] = "controls";
102
+ AXPropertyName["Describedby"] = "describedby";
103
+ AXPropertyName["Details"] = "details";
104
+ AXPropertyName["Errormessage"] = "errormessage";
105
+ AXPropertyName["Flowto"] = "flowto";
106
+ AXPropertyName["Labelledby"] = "labelledby";
107
+ AXPropertyName["Owns"] = "owns";
108
+ AXPropertyName["Url"] = "url";
109
+ AXPropertyName["ActiveFullscreenElement"] = "activeFullscreenElement";
110
+ AXPropertyName["ActiveModalDialog"] = "activeModalDialog";
111
+ AXPropertyName["ActiveAriaModalDialog"] = "activeAriaModalDialog";
112
+ AXPropertyName["AriaHiddenElement"] = "ariaHiddenElement";
113
+ AXPropertyName["AriaHiddenSubtree"] = "ariaHiddenSubtree";
114
+ AXPropertyName["EmptyAlt"] = "emptyAlt";
115
+ AXPropertyName["EmptyText"] = "emptyText";
116
+ AXPropertyName["InertElement"] = "inertElement";
117
+ AXPropertyName["InertSubtree"] = "inertSubtree";
118
+ AXPropertyName["LabelContainer"] = "labelContainer";
119
+ AXPropertyName["LabelFor"] = "labelFor";
120
+ AXPropertyName["NotRendered"] = "notRendered";
121
+ AXPropertyName["NotVisible"] = "notVisible";
122
+ AXPropertyName["PresentationalRole"] = "presentationalRole";
123
+ AXPropertyName["ProbablyPresentational"] = "probablyPresentational";
124
+ AXPropertyName["InactiveCarouselTabContent"] = "inactiveCarouselTabContent";
125
+ AXPropertyName["Uninteresting"] = "uninteresting";
126
+ })(AXPropertyName = Accessibility.AXPropertyName || (Accessibility.AXPropertyName = {}));
127
+ })(Accessibility || (Accessibility = {}));
128
+ export var Animation;
129
+ (function (Animation) {
130
+ let AnimationType;
131
+ (function (AnimationType) {
132
+ AnimationType["CSSTransition"] = "CSSTransition";
133
+ AnimationType["CSSAnimation"] = "CSSAnimation";
134
+ AnimationType["WebAnimation"] = "WebAnimation";
135
+ })(AnimationType = Animation.AnimationType || (Animation.AnimationType = {}));
136
+ })(Animation || (Animation = {}));
137
+ /**
138
+ * Audits domain allows investigation of page violations and possible improvements.
139
+ */
140
+ export var Audits;
141
+ (function (Audits) {
142
+ let CookieExclusionReason;
143
+ (function (CookieExclusionReason) {
144
+ CookieExclusionReason["ExcludeSameSiteUnspecifiedTreatedAsLax"] = "ExcludeSameSiteUnspecifiedTreatedAsLax";
145
+ CookieExclusionReason["ExcludeSameSiteNoneInsecure"] = "ExcludeSameSiteNoneInsecure";
146
+ CookieExclusionReason["ExcludeSameSiteLax"] = "ExcludeSameSiteLax";
147
+ CookieExclusionReason["ExcludeSameSiteStrict"] = "ExcludeSameSiteStrict";
148
+ CookieExclusionReason["ExcludeDomainNonASCII"] = "ExcludeDomainNonASCII";
149
+ CookieExclusionReason["ExcludeThirdPartyPhaseout"] = "ExcludeThirdPartyPhaseout";
150
+ CookieExclusionReason["ExcludePortMismatch"] = "ExcludePortMismatch";
151
+ CookieExclusionReason["ExcludeSchemeMismatch"] = "ExcludeSchemeMismatch";
152
+ })(CookieExclusionReason = Audits.CookieExclusionReason || (Audits.CookieExclusionReason = {}));
153
+ let CookieWarningReason;
154
+ (function (CookieWarningReason) {
155
+ CookieWarningReason["WarnSameSiteUnspecifiedCrossSiteContext"] = "WarnSameSiteUnspecifiedCrossSiteContext";
156
+ CookieWarningReason["WarnSameSiteNoneInsecure"] = "WarnSameSiteNoneInsecure";
157
+ CookieWarningReason["WarnSameSiteUnspecifiedLaxAllowUnsafe"] = "WarnSameSiteUnspecifiedLaxAllowUnsafe";
158
+ CookieWarningReason["WarnSameSiteStrictLaxDowngradeStrict"] = "WarnSameSiteStrictLaxDowngradeStrict";
159
+ CookieWarningReason["WarnSameSiteStrictCrossDowngradeStrict"] = "WarnSameSiteStrictCrossDowngradeStrict";
160
+ CookieWarningReason["WarnSameSiteStrictCrossDowngradeLax"] = "WarnSameSiteStrictCrossDowngradeLax";
161
+ CookieWarningReason["WarnSameSiteLaxCrossDowngradeStrict"] = "WarnSameSiteLaxCrossDowngradeStrict";
162
+ CookieWarningReason["WarnSameSiteLaxCrossDowngradeLax"] = "WarnSameSiteLaxCrossDowngradeLax";
163
+ CookieWarningReason["WarnAttributeValueExceedsMaxSize"] = "WarnAttributeValueExceedsMaxSize";
164
+ CookieWarningReason["WarnDomainNonASCII"] = "WarnDomainNonASCII";
165
+ CookieWarningReason["WarnThirdPartyPhaseout"] = "WarnThirdPartyPhaseout";
166
+ CookieWarningReason["WarnCrossSiteRedirectDowngradeChangesInclusion"] = "WarnCrossSiteRedirectDowngradeChangesInclusion";
167
+ CookieWarningReason["WarnDeprecationTrialMetadata"] = "WarnDeprecationTrialMetadata";
168
+ CookieWarningReason["WarnThirdPartyCookieHeuristic"] = "WarnThirdPartyCookieHeuristic";
169
+ })(CookieWarningReason = Audits.CookieWarningReason || (Audits.CookieWarningReason = {}));
170
+ let CookieOperation;
171
+ (function (CookieOperation) {
172
+ CookieOperation["SetCookie"] = "SetCookie";
173
+ CookieOperation["ReadCookie"] = "ReadCookie";
174
+ })(CookieOperation = Audits.CookieOperation || (Audits.CookieOperation = {}));
175
+ /**
176
+ * Represents the category of insight that a cookie issue falls under.
177
+ */
178
+ let InsightType;
179
+ (function (InsightType) {
180
+ InsightType["GitHubResource"] = "GitHubResource";
181
+ InsightType["GracePeriod"] = "GracePeriod";
182
+ InsightType["Heuristics"] = "Heuristics";
183
+ })(InsightType = Audits.InsightType || (Audits.InsightType = {}));
184
+ let PerformanceIssueType;
185
+ (function (PerformanceIssueType) {
186
+ PerformanceIssueType["DocumentCookie"] = "DocumentCookie";
187
+ })(PerformanceIssueType = Audits.PerformanceIssueType || (Audits.PerformanceIssueType = {}));
188
+ let MixedContentResolutionStatus;
189
+ (function (MixedContentResolutionStatus) {
190
+ MixedContentResolutionStatus["MixedContentBlocked"] = "MixedContentBlocked";
191
+ MixedContentResolutionStatus["MixedContentAutomaticallyUpgraded"] = "MixedContentAutomaticallyUpgraded";
192
+ MixedContentResolutionStatus["MixedContentWarning"] = "MixedContentWarning";
193
+ })(MixedContentResolutionStatus = Audits.MixedContentResolutionStatus || (Audits.MixedContentResolutionStatus = {}));
194
+ let MixedContentResourceType;
195
+ (function (MixedContentResourceType) {
196
+ MixedContentResourceType["Audio"] = "Audio";
197
+ MixedContentResourceType["Beacon"] = "Beacon";
198
+ MixedContentResourceType["CSPReport"] = "CSPReport";
199
+ MixedContentResourceType["Download"] = "Download";
200
+ MixedContentResourceType["EventSource"] = "EventSource";
201
+ MixedContentResourceType["Favicon"] = "Favicon";
202
+ MixedContentResourceType["Font"] = "Font";
203
+ MixedContentResourceType["Form"] = "Form";
204
+ MixedContentResourceType["Frame"] = "Frame";
205
+ MixedContentResourceType["Image"] = "Image";
206
+ MixedContentResourceType["Import"] = "Import";
207
+ MixedContentResourceType["JSON"] = "JSON";
208
+ MixedContentResourceType["Manifest"] = "Manifest";
209
+ MixedContentResourceType["Ping"] = "Ping";
210
+ MixedContentResourceType["PluginData"] = "PluginData";
211
+ MixedContentResourceType["PluginResource"] = "PluginResource";
212
+ MixedContentResourceType["Prefetch"] = "Prefetch";
213
+ MixedContentResourceType["Resource"] = "Resource";
214
+ MixedContentResourceType["Script"] = "Script";
215
+ MixedContentResourceType["ServiceWorker"] = "ServiceWorker";
216
+ MixedContentResourceType["SharedWorker"] = "SharedWorker";
217
+ MixedContentResourceType["SpeculationRules"] = "SpeculationRules";
218
+ MixedContentResourceType["Stylesheet"] = "Stylesheet";
219
+ MixedContentResourceType["Track"] = "Track";
220
+ MixedContentResourceType["Video"] = "Video";
221
+ MixedContentResourceType["Worker"] = "Worker";
222
+ MixedContentResourceType["XMLHttpRequest"] = "XMLHttpRequest";
223
+ MixedContentResourceType["XSLT"] = "XSLT";
224
+ })(MixedContentResourceType = Audits.MixedContentResourceType || (Audits.MixedContentResourceType = {}));
225
+ /**
226
+ * Enum indicating the reason a response has been blocked. These reasons are
227
+ * refinements of the net error BLOCKED_BY_RESPONSE.
228
+ */
229
+ let BlockedByResponseReason;
230
+ (function (BlockedByResponseReason) {
231
+ BlockedByResponseReason["CoepFrameResourceNeedsCoepHeader"] = "CoepFrameResourceNeedsCoepHeader";
232
+ BlockedByResponseReason["CoopSandboxedIFrameCannotNavigateToCoopPage"] = "CoopSandboxedIFrameCannotNavigateToCoopPage";
233
+ BlockedByResponseReason["CorpNotSameOrigin"] = "CorpNotSameOrigin";
234
+ BlockedByResponseReason["CorpNotSameOriginAfterDefaultedToSameOriginByCoep"] = "CorpNotSameOriginAfterDefaultedToSameOriginByCoep";
235
+ BlockedByResponseReason["CorpNotSameOriginAfterDefaultedToSameOriginByDip"] = "CorpNotSameOriginAfterDefaultedToSameOriginByDip";
236
+ BlockedByResponseReason["CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"] = "CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip";
237
+ BlockedByResponseReason["CorpNotSameSite"] = "CorpNotSameSite";
238
+ BlockedByResponseReason["SRIMessageSignatureMismatch"] = "SRIMessageSignatureMismatch";
239
+ })(BlockedByResponseReason = Audits.BlockedByResponseReason || (Audits.BlockedByResponseReason = {}));
240
+ let HeavyAdResolutionStatus;
241
+ (function (HeavyAdResolutionStatus) {
242
+ HeavyAdResolutionStatus["HeavyAdBlocked"] = "HeavyAdBlocked";
243
+ HeavyAdResolutionStatus["HeavyAdWarning"] = "HeavyAdWarning";
244
+ })(HeavyAdResolutionStatus = Audits.HeavyAdResolutionStatus || (Audits.HeavyAdResolutionStatus = {}));
245
+ let HeavyAdReason;
246
+ (function (HeavyAdReason) {
247
+ HeavyAdReason["NetworkTotalLimit"] = "NetworkTotalLimit";
248
+ HeavyAdReason["CpuTotalLimit"] = "CpuTotalLimit";
249
+ HeavyAdReason["CpuPeakLimit"] = "CpuPeakLimit";
250
+ })(HeavyAdReason = Audits.HeavyAdReason || (Audits.HeavyAdReason = {}));
251
+ let ContentSecurityPolicyViolationType;
252
+ (function (ContentSecurityPolicyViolationType) {
253
+ ContentSecurityPolicyViolationType["KInlineViolation"] = "kInlineViolation";
254
+ ContentSecurityPolicyViolationType["KEvalViolation"] = "kEvalViolation";
255
+ ContentSecurityPolicyViolationType["KURLViolation"] = "kURLViolation";
256
+ ContentSecurityPolicyViolationType["KSRIViolation"] = "kSRIViolation";
257
+ ContentSecurityPolicyViolationType["KTrustedTypesSinkViolation"] = "kTrustedTypesSinkViolation";
258
+ ContentSecurityPolicyViolationType["KTrustedTypesPolicyViolation"] = "kTrustedTypesPolicyViolation";
259
+ ContentSecurityPolicyViolationType["KWasmEvalViolation"] = "kWasmEvalViolation";
260
+ })(ContentSecurityPolicyViolationType = Audits.ContentSecurityPolicyViolationType || (Audits.ContentSecurityPolicyViolationType = {}));
261
+ let SharedArrayBufferIssueType;
262
+ (function (SharedArrayBufferIssueType) {
263
+ SharedArrayBufferIssueType["TransferIssue"] = "TransferIssue";
264
+ SharedArrayBufferIssueType["CreationIssue"] = "CreationIssue";
265
+ })(SharedArrayBufferIssueType = Audits.SharedArrayBufferIssueType || (Audits.SharedArrayBufferIssueType = {}));
266
+ let SharedDictionaryError;
267
+ (function (SharedDictionaryError) {
268
+ SharedDictionaryError["UseErrorCrossOriginNoCorsRequest"] = "UseErrorCrossOriginNoCorsRequest";
269
+ SharedDictionaryError["UseErrorDictionaryLoadFailure"] = "UseErrorDictionaryLoadFailure";
270
+ SharedDictionaryError["UseErrorMatchingDictionaryNotUsed"] = "UseErrorMatchingDictionaryNotUsed";
271
+ SharedDictionaryError["UseErrorUnexpectedContentDictionaryHeader"] = "UseErrorUnexpectedContentDictionaryHeader";
272
+ SharedDictionaryError["WriteErrorCossOriginNoCorsRequest"] = "WriteErrorCossOriginNoCorsRequest";
273
+ SharedDictionaryError["WriteErrorDisallowedBySettings"] = "WriteErrorDisallowedBySettings";
274
+ SharedDictionaryError["WriteErrorExpiredResponse"] = "WriteErrorExpiredResponse";
275
+ SharedDictionaryError["WriteErrorFeatureDisabled"] = "WriteErrorFeatureDisabled";
276
+ SharedDictionaryError["WriteErrorInsufficientResources"] = "WriteErrorInsufficientResources";
277
+ SharedDictionaryError["WriteErrorInvalidMatchField"] = "WriteErrorInvalidMatchField";
278
+ SharedDictionaryError["WriteErrorInvalidStructuredHeader"] = "WriteErrorInvalidStructuredHeader";
279
+ SharedDictionaryError["WriteErrorInvalidTTLField"] = "WriteErrorInvalidTTLField";
280
+ SharedDictionaryError["WriteErrorNavigationRequest"] = "WriteErrorNavigationRequest";
281
+ SharedDictionaryError["WriteErrorNoMatchField"] = "WriteErrorNoMatchField";
282
+ SharedDictionaryError["WriteErrorNonIntegerTTLField"] = "WriteErrorNonIntegerTTLField";
283
+ SharedDictionaryError["WriteErrorNonListMatchDestField"] = "WriteErrorNonListMatchDestField";
284
+ SharedDictionaryError["WriteErrorNonSecureContext"] = "WriteErrorNonSecureContext";
285
+ SharedDictionaryError["WriteErrorNonStringIdField"] = "WriteErrorNonStringIdField";
286
+ SharedDictionaryError["WriteErrorNonStringInMatchDestList"] = "WriteErrorNonStringInMatchDestList";
287
+ SharedDictionaryError["WriteErrorInvalidMatchDestList"] = "WriteErrorInvalidMatchDestList";
288
+ SharedDictionaryError["WriteErrorNonStringMatchField"] = "WriteErrorNonStringMatchField";
289
+ SharedDictionaryError["WriteErrorNonTokenTypeField"] = "WriteErrorNonTokenTypeField";
290
+ SharedDictionaryError["WriteErrorRequestAborted"] = "WriteErrorRequestAborted";
291
+ SharedDictionaryError["WriteErrorShuttingDown"] = "WriteErrorShuttingDown";
292
+ SharedDictionaryError["WriteErrorTooLongIdField"] = "WriteErrorTooLongIdField";
293
+ SharedDictionaryError["WriteErrorUnsupportedType"] = "WriteErrorUnsupportedType";
294
+ })(SharedDictionaryError = Audits.SharedDictionaryError || (Audits.SharedDictionaryError = {}));
295
+ let SRIMessageSignatureError;
296
+ (function (SRIMessageSignatureError) {
297
+ SRIMessageSignatureError["MissingSignatureHeader"] = "MissingSignatureHeader";
298
+ SRIMessageSignatureError["MissingSignatureInputHeader"] = "MissingSignatureInputHeader";
299
+ SRIMessageSignatureError["InvalidSignatureHeader"] = "InvalidSignatureHeader";
300
+ SRIMessageSignatureError["InvalidSignatureInputHeader"] = "InvalidSignatureInputHeader";
301
+ SRIMessageSignatureError["SignatureHeaderValueIsNotByteSequence"] = "SignatureHeaderValueIsNotByteSequence";
302
+ SRIMessageSignatureError["SignatureHeaderValueIsParameterized"] = "SignatureHeaderValueIsParameterized";
303
+ SRIMessageSignatureError["SignatureHeaderValueIsIncorrectLength"] = "SignatureHeaderValueIsIncorrectLength";
304
+ SRIMessageSignatureError["SignatureInputHeaderMissingLabel"] = "SignatureInputHeaderMissingLabel";
305
+ SRIMessageSignatureError["SignatureInputHeaderValueNotInnerList"] = "SignatureInputHeaderValueNotInnerList";
306
+ SRIMessageSignatureError["SignatureInputHeaderValueMissingComponents"] = "SignatureInputHeaderValueMissingComponents";
307
+ SRIMessageSignatureError["SignatureInputHeaderInvalidComponentType"] = "SignatureInputHeaderInvalidComponentType";
308
+ SRIMessageSignatureError["SignatureInputHeaderInvalidComponentName"] = "SignatureInputHeaderInvalidComponentName";
309
+ SRIMessageSignatureError["SignatureInputHeaderInvalidHeaderComponentParameter"] = "SignatureInputHeaderInvalidHeaderComponentParameter";
310
+ SRIMessageSignatureError["SignatureInputHeaderInvalidDerivedComponentParameter"] = "SignatureInputHeaderInvalidDerivedComponentParameter";
311
+ SRIMessageSignatureError["SignatureInputHeaderKeyIdLength"] = "SignatureInputHeaderKeyIdLength";
312
+ SRIMessageSignatureError["SignatureInputHeaderInvalidParameter"] = "SignatureInputHeaderInvalidParameter";
313
+ SRIMessageSignatureError["SignatureInputHeaderMissingRequiredParameters"] = "SignatureInputHeaderMissingRequiredParameters";
314
+ SRIMessageSignatureError["ValidationFailedSignatureExpired"] = "ValidationFailedSignatureExpired";
315
+ SRIMessageSignatureError["ValidationFailedInvalidLength"] = "ValidationFailedInvalidLength";
316
+ SRIMessageSignatureError["ValidationFailedSignatureMismatch"] = "ValidationFailedSignatureMismatch";
317
+ SRIMessageSignatureError["ValidationFailedIntegrityMismatch"] = "ValidationFailedIntegrityMismatch";
318
+ SRIMessageSignatureError["SignatureBaseUnknownDerivedComponent"] = "SignatureBaseUnknownDerivedComponent";
319
+ SRIMessageSignatureError["SignatureBaseMissingHeader"] = "SignatureBaseMissingHeader";
320
+ SRIMessageSignatureError["SignatureBaseInvalidUnencodedDigest"] = "SignatureBaseInvalidUnencodedDigest";
321
+ SRIMessageSignatureError["SignatureBaseUnsupportedComponent"] = "SignatureBaseUnsupportedComponent";
322
+ })(SRIMessageSignatureError = Audits.SRIMessageSignatureError || (Audits.SRIMessageSignatureError = {}));
323
+ let UnencodedDigestError;
324
+ (function (UnencodedDigestError) {
325
+ UnencodedDigestError["MalformedDictionary"] = "MalformedDictionary";
326
+ UnencodedDigestError["UnknownAlgorithm"] = "UnknownAlgorithm";
327
+ UnencodedDigestError["IncorrectDigestType"] = "IncorrectDigestType";
328
+ UnencodedDigestError["IncorrectDigestLength"] = "IncorrectDigestLength";
329
+ })(UnencodedDigestError = Audits.UnencodedDigestError || (Audits.UnencodedDigestError = {}));
330
+ let ConnectionAllowlistError;
331
+ (function (ConnectionAllowlistError) {
332
+ ConnectionAllowlistError["InvalidHeader"] = "InvalidHeader";
333
+ ConnectionAllowlistError["MoreThanOneList"] = "MoreThanOneList";
334
+ ConnectionAllowlistError["ItemNotInnerList"] = "ItemNotInnerList";
335
+ ConnectionAllowlistError["InvalidAllowlistItemType"] = "InvalidAllowlistItemType";
336
+ ConnectionAllowlistError["ReportingEndpointNotToken"] = "ReportingEndpointNotToken";
337
+ ConnectionAllowlistError["InvalidUrlPattern"] = "InvalidUrlPattern";
338
+ ConnectionAllowlistError["IFrameAttributeLoosensEmbeddingRequirement"] = "IFrameAttributeLoosensEmbeddingRequirement";
339
+ ConnectionAllowlistError["InvalidAllowConnectionAllowlistFrom"] = "InvalidAllowConnectionAllowlistFrom";
340
+ ConnectionAllowlistError["EmbeddingRequirementNotSatisfied"] = "EmbeddingRequirementNotSatisfied";
341
+ })(ConnectionAllowlistError = Audits.ConnectionAllowlistError || (Audits.ConnectionAllowlistError = {}));
342
+ let GenericIssueErrorType;
343
+ (function (GenericIssueErrorType) {
344
+ GenericIssueErrorType["FormLabelForNameError"] = "FormLabelForNameError";
345
+ GenericIssueErrorType["FormDuplicateIdForInputError"] = "FormDuplicateIdForInputError";
346
+ GenericIssueErrorType["FormInputWithNoLabelError"] = "FormInputWithNoLabelError";
347
+ GenericIssueErrorType["FormAutocompleteAttributeEmptyError"] = "FormAutocompleteAttributeEmptyError";
348
+ GenericIssueErrorType["FormEmptyIdAndNameAttributesForInputError"] = "FormEmptyIdAndNameAttributesForInputError";
349
+ GenericIssueErrorType["FormAriaLabelledByToNonExistingIdError"] = "FormAriaLabelledByToNonExistingIdError";
350
+ GenericIssueErrorType["FormInputAssignedAutocompleteValueToIdOrNameAttributeError"] = "FormInputAssignedAutocompleteValueToIdOrNameAttributeError";
351
+ GenericIssueErrorType["FormLabelHasNeitherForNorNestedInputError"] = "FormLabelHasNeitherForNorNestedInputError";
352
+ GenericIssueErrorType["FormLabelForMatchesNonExistingIdError"] = "FormLabelForMatchesNonExistingIdError";
353
+ GenericIssueErrorType["FormInputHasWrongButWellIntendedAutocompleteValueError"] = "FormInputHasWrongButWellIntendedAutocompleteValueError";
354
+ GenericIssueErrorType["ResponseWasBlockedByORB"] = "ResponseWasBlockedByORB";
355
+ GenericIssueErrorType["NavigationEntryMarkedSkippable"] = "NavigationEntryMarkedSkippable";
356
+ GenericIssueErrorType["BackUINavigationWouldSkipAd"] = "BackUINavigationWouldSkipAd";
357
+ GenericIssueErrorType["AutofillAndManualTextPolicyControlledFeaturesInfo"] = "AutofillAndManualTextPolicyControlledFeaturesInfo";
358
+ GenericIssueErrorType["AutofillPolicyControlledFeatureInfo"] = "AutofillPolicyControlledFeatureInfo";
359
+ GenericIssueErrorType["ManualTextPolicyControlledFeatureInfo"] = "ManualTextPolicyControlledFeatureInfo";
360
+ GenericIssueErrorType["FormModelContextParameterMissingTitleAndDescription"] = "FormModelContextParameterMissingTitleAndDescription";
361
+ GenericIssueErrorType["FormModelContextMissingToolName"] = "FormModelContextMissingToolName";
362
+ GenericIssueErrorType["FormModelContextMissingToolDescription"] = "FormModelContextMissingToolDescription";
363
+ GenericIssueErrorType["FormModelContextRequiredParameterMissingName"] = "FormModelContextRequiredParameterMissingName";
364
+ GenericIssueErrorType["FormModelContextParameterMissingName"] = "FormModelContextParameterMissingName";
365
+ GenericIssueErrorType["GeolocationPromptWithoutUserGesture"] = "GeolocationPromptWithoutUserGesture";
366
+ })(GenericIssueErrorType = Audits.GenericIssueErrorType || (Audits.GenericIssueErrorType = {}));
367
+ let ClientHintIssueReason;
368
+ (function (ClientHintIssueReason) {
369
+ ClientHintIssueReason["MetaTagAllowListInvalidOrigin"] = "MetaTagAllowListInvalidOrigin";
370
+ ClientHintIssueReason["MetaTagModifiedHTML"] = "MetaTagModifiedHTML";
371
+ })(ClientHintIssueReason = Audits.ClientHintIssueReason || (Audits.ClientHintIssueReason = {}));
372
+ /**
373
+ * Represents the failure reason when a federated authentication reason fails.
374
+ * Should be updated alongside RequestIdTokenStatus in
375
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
376
+ * all cases except for success.
377
+ */
378
+ let FederatedAuthRequestIssueReason;
379
+ (function (FederatedAuthRequestIssueReason) {
380
+ FederatedAuthRequestIssueReason["ShouldEmbargo"] = "ShouldEmbargo";
381
+ FederatedAuthRequestIssueReason["TooManyRequests"] = "TooManyRequests";
382
+ FederatedAuthRequestIssueReason["WellKnownHttpNotFound"] = "WellKnownHttpNotFound";
383
+ FederatedAuthRequestIssueReason["WellKnownNoResponse"] = "WellKnownNoResponse";
384
+ FederatedAuthRequestIssueReason["WellKnownBlockedByConnectionAllowlist"] = "WellKnownBlockedByConnectionAllowlist";
385
+ FederatedAuthRequestIssueReason["WellKnownInvalidResponse"] = "WellKnownInvalidResponse";
386
+ FederatedAuthRequestIssueReason["WellKnownListEmpty"] = "WellKnownListEmpty";
387
+ FederatedAuthRequestIssueReason["WellKnownInvalidContentType"] = "WellKnownInvalidContentType";
388
+ FederatedAuthRequestIssueReason["ConfigNotInWellKnown"] = "ConfigNotInWellKnown";
389
+ FederatedAuthRequestIssueReason["WellKnownTooBig"] = "WellKnownTooBig";
390
+ FederatedAuthRequestIssueReason["ConfigHttpNotFound"] = "ConfigHttpNotFound";
391
+ FederatedAuthRequestIssueReason["ConfigNoResponse"] = "ConfigNoResponse";
392
+ FederatedAuthRequestIssueReason["ConfigBlockedByConnectionAllowlist"] = "ConfigBlockedByConnectionAllowlist";
393
+ FederatedAuthRequestIssueReason["ConfigInvalidResponse"] = "ConfigInvalidResponse";
394
+ FederatedAuthRequestIssueReason["ConfigInvalidContentType"] = "ConfigInvalidContentType";
395
+ FederatedAuthRequestIssueReason["IdpNotPotentiallyTrustworthy"] = "IdpNotPotentiallyTrustworthy";
396
+ FederatedAuthRequestIssueReason["DisabledInSettings"] = "DisabledInSettings";
397
+ FederatedAuthRequestIssueReason["DisabledInFlags"] = "DisabledInFlags";
398
+ FederatedAuthRequestIssueReason["ErrorFetchingSignin"] = "ErrorFetchingSignin";
399
+ FederatedAuthRequestIssueReason["InvalidSigninResponse"] = "InvalidSigninResponse";
400
+ FederatedAuthRequestIssueReason["AccountsHttpNotFound"] = "AccountsHttpNotFound";
401
+ FederatedAuthRequestIssueReason["AccountsNoResponse"] = "AccountsNoResponse";
402
+ FederatedAuthRequestIssueReason["AccountsBlockedByConnectionAllowlist"] = "AccountsBlockedByConnectionAllowlist";
403
+ FederatedAuthRequestIssueReason["AccountsInvalidResponse"] = "AccountsInvalidResponse";
404
+ FederatedAuthRequestIssueReason["AccountsListEmpty"] = "AccountsListEmpty";
405
+ FederatedAuthRequestIssueReason["AccountsInvalidContentType"] = "AccountsInvalidContentType";
406
+ FederatedAuthRequestIssueReason["IdTokenHttpNotFound"] = "IdTokenHttpNotFound";
407
+ FederatedAuthRequestIssueReason["IdTokenNoResponse"] = "IdTokenNoResponse";
408
+ FederatedAuthRequestIssueReason["IdTokenBlockedByConnectionAllowlist"] = "IdTokenBlockedByConnectionAllowlist";
409
+ FederatedAuthRequestIssueReason["IdTokenInvalidResponse"] = "IdTokenInvalidResponse";
410
+ FederatedAuthRequestIssueReason["IdTokenIdpErrorResponse"] = "IdTokenIdpErrorResponse";
411
+ FederatedAuthRequestIssueReason["IdTokenCrossSiteIdpErrorResponse"] = "IdTokenCrossSiteIdpErrorResponse";
412
+ FederatedAuthRequestIssueReason["IdTokenInvalidRequest"] = "IdTokenInvalidRequest";
413
+ FederatedAuthRequestIssueReason["IdTokenInvalidContentType"] = "IdTokenInvalidContentType";
414
+ FederatedAuthRequestIssueReason["ErrorIdToken"] = "ErrorIdToken";
415
+ FederatedAuthRequestIssueReason["Canceled"] = "Canceled";
416
+ FederatedAuthRequestIssueReason["RpPageNotVisible"] = "RpPageNotVisible";
417
+ FederatedAuthRequestIssueReason["SilentMediationFailure"] = "SilentMediationFailure";
418
+ FederatedAuthRequestIssueReason["NotSignedInWithIdp"] = "NotSignedInWithIdp";
419
+ FederatedAuthRequestIssueReason["MissingTransientUserActivation"] = "MissingTransientUserActivation";
420
+ FederatedAuthRequestIssueReason["ReplacedByActiveMode"] = "ReplacedByActiveMode";
421
+ FederatedAuthRequestIssueReason["RelyingPartyOriginIsOpaque"] = "RelyingPartyOriginIsOpaque";
422
+ FederatedAuthRequestIssueReason["TypeNotMatching"] = "TypeNotMatching";
423
+ FederatedAuthRequestIssueReason["UiDismissedNoEmbargo"] = "UiDismissedNoEmbargo";
424
+ FederatedAuthRequestIssueReason["CorsError"] = "CorsError";
425
+ FederatedAuthRequestIssueReason["SuppressedBySegmentationPlatform"] = "SuppressedBySegmentationPlatform";
426
+ FederatedAuthRequestIssueReason["PopupBlockedByConnectionAllowlist"] = "PopupBlockedByConnectionAllowlist";
427
+ })(FederatedAuthRequestIssueReason = Audits.FederatedAuthRequestIssueReason || (Audits.FederatedAuthRequestIssueReason = {}));
428
+ /**
429
+ * Represents the failure reason when a getUserInfo() call fails.
430
+ * Should be updated alongside FederatedAuthUserInfoRequestResult in
431
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom.
432
+ */
433
+ let FederatedAuthUserInfoRequestIssueReason;
434
+ (function (FederatedAuthUserInfoRequestIssueReason) {
435
+ FederatedAuthUserInfoRequestIssueReason["NotSameOrigin"] = "NotSameOrigin";
436
+ FederatedAuthUserInfoRequestIssueReason["NotIframe"] = "NotIframe";
437
+ FederatedAuthUserInfoRequestIssueReason["NotPotentiallyTrustworthy"] = "NotPotentiallyTrustworthy";
438
+ FederatedAuthUserInfoRequestIssueReason["NoAPIPermission"] = "NoApiPermission";
439
+ FederatedAuthUserInfoRequestIssueReason["NotSignedInWithIdp"] = "NotSignedInWithIdp";
440
+ FederatedAuthUserInfoRequestIssueReason["NoAccountSharingPermission"] = "NoAccountSharingPermission";
441
+ FederatedAuthUserInfoRequestIssueReason["InvalidConfigOrWellKnown"] = "InvalidConfigOrWellKnown";
442
+ FederatedAuthUserInfoRequestIssueReason["InvalidAccountsResponse"] = "InvalidAccountsResponse";
443
+ FederatedAuthUserInfoRequestIssueReason["NoReturningUserFromFetchedAccounts"] = "NoReturningUserFromFetchedAccounts";
444
+ })(FederatedAuthUserInfoRequestIssueReason = Audits.FederatedAuthUserInfoRequestIssueReason || (Audits.FederatedAuthUserInfoRequestIssueReason = {}));
445
+ /**
446
+ * Represents the failure reason when an email verification request fails.
447
+ * Should be updated alongside EmailVerificationRequestResult in
448
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom.
449
+ */
450
+ let EmailVerificationRequestIssueReason;
451
+ (function (EmailVerificationRequestIssueReason) {
452
+ EmailVerificationRequestIssueReason["InvalidEmail"] = "InvalidEmail";
453
+ EmailVerificationRequestIssueReason["DnsFetchFailed"] = "DnsFetchFailed";
454
+ EmailVerificationRequestIssueReason["DnsInvalidRecord"] = "DnsInvalidRecord";
455
+ EmailVerificationRequestIssueReason["WellKnownHttpNotFound"] = "WellKnownHttpNotFound";
456
+ EmailVerificationRequestIssueReason["WellKnownNoResponse"] = "WellKnownNoResponse";
457
+ EmailVerificationRequestIssueReason["WellKnownInvalidResponse"] = "WellKnownInvalidResponse";
458
+ EmailVerificationRequestIssueReason["WellKnownListEmpty"] = "WellKnownListEmpty";
459
+ EmailVerificationRequestIssueReason["WellKnownInvalidContentType"] = "WellKnownInvalidContentType";
460
+ EmailVerificationRequestIssueReason["WellKnownMissingIssuanceEndpoint"] = "WellKnownMissingIssuanceEndpoint";
461
+ EmailVerificationRequestIssueReason["WellKnownIssuanceEndpointCrossOrigin"] = "WellKnownIssuanceEndpointCrossOrigin";
462
+ EmailVerificationRequestIssueReason["WellKnownUnsupportedSigningAlgorithm"] = "WellKnownUnsupportedSigningAlgorithm";
463
+ EmailVerificationRequestIssueReason["TokenHttpNotFound"] = "TokenHttpNotFound";
464
+ EmailVerificationRequestIssueReason["TokenNoResponse"] = "TokenNoResponse";
465
+ EmailVerificationRequestIssueReason["TokenInvalidResponse"] = "TokenInvalidResponse";
466
+ EmailVerificationRequestIssueReason["TokenInvalidContentType"] = "TokenInvalidContentType";
467
+ EmailVerificationRequestIssueReason["TokenMalformedSdJwt"] = "TokenMalformedSdJwt";
468
+ EmailVerificationRequestIssueReason["TokenInvalidSdJwt"] = "TokenInvalidSdJwt";
469
+ EmailVerificationRequestIssueReason["KeyBindingSigningFailed"] = "KeyBindingSigningFailed";
470
+ EmailVerificationRequestIssueReason["RpOriginIsOpaque"] = "RpOriginIsOpaque";
471
+ EmailVerificationRequestIssueReason["WellKnownMissingAccountsEndpoint"] = "WellKnownMissingAccountsEndpoint";
472
+ EmailVerificationRequestIssueReason["UserLoggedOut"] = "UserLoggedOut";
473
+ EmailVerificationRequestIssueReason["WellKnownAccountsEndpointCrossOrigin"] = "WellKnownAccountsEndpointCrossOrigin";
474
+ EmailVerificationRequestIssueReason["AccountsHttpNotFound"] = "AccountsHttpNotFound";
475
+ EmailVerificationRequestIssueReason["AccountsNoResponse"] = "AccountsNoResponse";
476
+ EmailVerificationRequestIssueReason["AccountsInvalidResponse"] = "AccountsInvalidResponse";
477
+ EmailVerificationRequestIssueReason["AccountsInvalidContentType"] = "AccountsInvalidContentType";
478
+ EmailVerificationRequestIssueReason["AccountsEmptyList"] = "AccountsEmptyList";
479
+ EmailVerificationRequestIssueReason["EmailVerificationWellKnownHttpNotFound"] = "EmailVerificationWellKnownHttpNotFound";
480
+ EmailVerificationRequestIssueReason["EmailVerificationWellKnownNoResponse"] = "EmailVerificationWellKnownNoResponse";
481
+ EmailVerificationRequestIssueReason["EmailVerificationWellKnownInvalidResponse"] = "EmailVerificationWellKnownInvalidResponse";
482
+ EmailVerificationRequestIssueReason["EmailVerificationWellKnownInvalidContentType"] = "EmailVerificationWellKnownInvalidContentType";
483
+ EmailVerificationRequestIssueReason["JwksHttpNotFound"] = "JwksHttpNotFound";
484
+ EmailVerificationRequestIssueReason["JwksInvalidResponse"] = "JwksInvalidResponse";
485
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtUnsupportedHeaderAlg"] = "TokenVerificationSdJwtUnsupportedHeaderAlg";
486
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidTyp"] = "TokenVerificationSdJwtInvalidTyp";
487
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtMissingIss"] = "TokenVerificationSdJwtMissingIss";
488
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtMissingIat"] = "TokenVerificationSdJwtMissingIat";
489
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtMissingCnf"] = "TokenVerificationSdJwtMissingCnf";
490
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtMissingEmail"] = "TokenVerificationSdJwtMissingEmail";
491
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidIssuedAt"] = "TokenVerificationSdJwtInvalidIssuedAt";
492
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidIssuer"] = "TokenVerificationSdJwtInvalidIssuer";
493
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtJwksMissingKeys"] = "TokenVerificationSdJwtJwksMissingKeys";
494
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtSignatureFailed"] = "TokenVerificationSdJwtSignatureFailed";
495
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidEmailVerified"] = "TokenVerificationSdJwtInvalidEmailVerified";
496
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidEmail"] = "TokenVerificationSdJwtInvalidEmail";
497
+ EmailVerificationRequestIssueReason["TokenVerificationSdJwtInvalidHolderKey"] = "TokenVerificationSdJwtInvalidHolderKey";
498
+ EmailVerificationRequestIssueReason["TokenVerificationKbInvalidTyp"] = "TokenVerificationKbInvalidTyp";
499
+ EmailVerificationRequestIssueReason["TokenVerificationKbMissingAud"] = "TokenVerificationKbMissingAud";
500
+ EmailVerificationRequestIssueReason["TokenVerificationKbMissingNonce"] = "TokenVerificationKbMissingNonce";
501
+ EmailVerificationRequestIssueReason["TokenVerificationKbMissingIat"] = "TokenVerificationKbMissingIat";
502
+ EmailVerificationRequestIssueReason["TokenVerificationKbMissingSdHash"] = "TokenVerificationKbMissingSdHash";
503
+ EmailVerificationRequestIssueReason["TokenVerificationKbInvalidIssuedAt"] = "TokenVerificationKbInvalidIssuedAt";
504
+ EmailVerificationRequestIssueReason["TokenVerificationKbInvalidAudience"] = "TokenVerificationKbInvalidAudience";
505
+ EmailVerificationRequestIssueReason["TokenVerificationKbInvalidNonce"] = "TokenVerificationKbInvalidNonce";
506
+ EmailVerificationRequestIssueReason["TokenVerificationKbInvalidSdHash"] = "TokenVerificationKbInvalidSdHash";
507
+ EmailVerificationRequestIssueReason["TokenVerificationKbMissingCnf"] = "TokenVerificationKbMissingCnf";
508
+ EmailVerificationRequestIssueReason["TokenVerificationKbSignatureFailed"] = "TokenVerificationKbSignatureFailed";
509
+ EmailVerificationRequestIssueReason["CrossOriginIframeNotSupported"] = "CrossOriginIframeNotSupported";
510
+ })(EmailVerificationRequestIssueReason = Audits.EmailVerificationRequestIssueReason || (Audits.EmailVerificationRequestIssueReason = {}));
511
+ let PartitioningBlobURLInfo;
512
+ (function (PartitioningBlobURLInfo) {
513
+ PartitioningBlobURLInfo["BlockedCrossPartitionFetching"] = "BlockedCrossPartitionFetching";
514
+ PartitioningBlobURLInfo["EnforceNoopenerForNavigation"] = "EnforceNoopenerForNavigation";
515
+ })(PartitioningBlobURLInfo = Audits.PartitioningBlobURLInfo || (Audits.PartitioningBlobURLInfo = {}));
516
+ let ElementAccessibilityIssueReason;
517
+ (function (ElementAccessibilityIssueReason) {
518
+ ElementAccessibilityIssueReason["DisallowedSelectChild"] = "DisallowedSelectChild";
519
+ ElementAccessibilityIssueReason["DisallowedOptGroupChild"] = "DisallowedOptGroupChild";
520
+ ElementAccessibilityIssueReason["NonPhrasingContentOptionChild"] = "NonPhrasingContentOptionChild";
521
+ ElementAccessibilityIssueReason["InteractiveContentOptionChild"] = "InteractiveContentOptionChild";
522
+ ElementAccessibilityIssueReason["InteractiveContentLegendChild"] = "InteractiveContentLegendChild";
523
+ ElementAccessibilityIssueReason["InteractiveContentSummaryDescendant"] = "InteractiveContentSummaryDescendant";
524
+ })(ElementAccessibilityIssueReason = Audits.ElementAccessibilityIssueReason || (Audits.ElementAccessibilityIssueReason = {}));
525
+ let StyleSheetLoadingIssueReason;
526
+ (function (StyleSheetLoadingIssueReason) {
527
+ StyleSheetLoadingIssueReason["LateImportRule"] = "LateImportRule";
528
+ StyleSheetLoadingIssueReason["RequestFailed"] = "RequestFailed";
529
+ })(StyleSheetLoadingIssueReason = Audits.StyleSheetLoadingIssueReason || (Audits.StyleSheetLoadingIssueReason = {}));
530
+ let PropertyRuleIssueReason;
531
+ (function (PropertyRuleIssueReason) {
532
+ PropertyRuleIssueReason["InvalidSyntax"] = "InvalidSyntax";
533
+ PropertyRuleIssueReason["InvalidInitialValue"] = "InvalidInitialValue";
534
+ PropertyRuleIssueReason["InvalidInherits"] = "InvalidInherits";
535
+ PropertyRuleIssueReason["InvalidName"] = "InvalidName";
536
+ })(PropertyRuleIssueReason = Audits.PropertyRuleIssueReason || (Audits.PropertyRuleIssueReason = {}));
537
+ let UserReidentificationIssueType;
538
+ (function (UserReidentificationIssueType) {
539
+ UserReidentificationIssueType["BlockedFrameNavigation"] = "BlockedFrameNavigation";
540
+ UserReidentificationIssueType["BlockedSubresource"] = "BlockedSubresource";
541
+ UserReidentificationIssueType["NoisedCanvasReadback"] = "NoisedCanvasReadback";
542
+ })(UserReidentificationIssueType = Audits.UserReidentificationIssueType || (Audits.UserReidentificationIssueType = {}));
543
+ let PermissionElementIssueType;
544
+ (function (PermissionElementIssueType) {
545
+ PermissionElementIssueType["InvalidType"] = "InvalidType";
546
+ PermissionElementIssueType["FencedFrameDisallowed"] = "FencedFrameDisallowed";
547
+ PermissionElementIssueType["CspFrameAncestorsMissing"] = "CspFrameAncestorsMissing";
548
+ PermissionElementIssueType["PermissionsPolicyBlocked"] = "PermissionsPolicyBlocked";
549
+ PermissionElementIssueType["PaddingRightUnsupported"] = "PaddingRightUnsupported";
550
+ PermissionElementIssueType["PaddingBottomUnsupported"] = "PaddingBottomUnsupported";
551
+ PermissionElementIssueType["InsetBoxShadowUnsupported"] = "InsetBoxShadowUnsupported";
552
+ PermissionElementIssueType["RequestInProgress"] = "RequestInProgress";
553
+ PermissionElementIssueType["UntrustedEvent"] = "UntrustedEvent";
554
+ PermissionElementIssueType["RegistrationFailed"] = "RegistrationFailed";
555
+ PermissionElementIssueType["TypeNotSupported"] = "TypeNotSupported";
556
+ PermissionElementIssueType["InvalidTypeActivation"] = "InvalidTypeActivation";
557
+ PermissionElementIssueType["SecurityChecksFailed"] = "SecurityChecksFailed";
558
+ PermissionElementIssueType["ActivationDisabled"] = "ActivationDisabled";
559
+ PermissionElementIssueType["GeolocationDeprecated"] = "GeolocationDeprecated";
560
+ PermissionElementIssueType["InvalidDisplayStyle"] = "InvalidDisplayStyle";
561
+ PermissionElementIssueType["NonOpaqueColor"] = "NonOpaqueColor";
562
+ PermissionElementIssueType["LowContrast"] = "LowContrast";
563
+ PermissionElementIssueType["FontSizeTooSmall"] = "FontSizeTooSmall";
564
+ PermissionElementIssueType["FontSizeTooLarge"] = "FontSizeTooLarge";
565
+ PermissionElementIssueType["InvalidSizeValue"] = "InvalidSizeValue";
566
+ PermissionElementIssueType["NonSecureContext"] = "NonSecureContext";
567
+ PermissionElementIssueType["MissingTransientUserActivation"] = "MissingTransientUserActivation";
568
+ })(PermissionElementIssueType = Audits.PermissionElementIssueType || (Audits.PermissionElementIssueType = {}));
569
+ let WebInstallIssueReason;
570
+ (function (WebInstallIssueReason) {
571
+ WebInstallIssueReason["ManifestParsingOrNetworkError"] = "ManifestParsingOrNetworkError";
572
+ WebInstallIssueReason["StartUrlInvalid"] = "StartUrlInvalid";
573
+ WebInstallIssueReason["ManifestMissingNameOrShortName"] = "ManifestMissingNameOrShortName";
574
+ WebInstallIssueReason["ManifestMissingId"] = "ManifestMissingId";
575
+ WebInstallIssueReason["NoManifest"] = "NoManifest";
576
+ })(WebInstallIssueReason = Audits.WebInstallIssueReason || (Audits.WebInstallIssueReason = {}));
577
+ /**
578
+ * A unique identifier for the type of issue. Each type may use one of the
579
+ * optional fields in InspectorIssueDetails to convey more specific
580
+ * information about the kind of issue.
581
+ */
582
+ let InspectorIssueCode;
583
+ (function (InspectorIssueCode) {
584
+ InspectorIssueCode["CookieIssue"] = "CookieIssue";
585
+ InspectorIssueCode["MixedContentIssue"] = "MixedContentIssue";
586
+ InspectorIssueCode["BlockedByResponseIssue"] = "BlockedByResponseIssue";
587
+ InspectorIssueCode["HeavyAdIssue"] = "HeavyAdIssue";
588
+ InspectorIssueCode["ContentSecurityPolicyIssue"] = "ContentSecurityPolicyIssue";
589
+ InspectorIssueCode["SharedArrayBufferIssue"] = "SharedArrayBufferIssue";
590
+ InspectorIssueCode["CorsIssue"] = "CorsIssue";
591
+ InspectorIssueCode["QuirksModeIssue"] = "QuirksModeIssue";
592
+ InspectorIssueCode["PartitioningBlobURLIssue"] = "PartitioningBlobURLIssue";
593
+ InspectorIssueCode["NavigatorUserAgentIssue"] = "NavigatorUserAgentIssue";
594
+ InspectorIssueCode["GenericIssue"] = "GenericIssue";
595
+ InspectorIssueCode["DeprecationIssue"] = "DeprecationIssue";
596
+ InspectorIssueCode["ClientHintIssue"] = "ClientHintIssue";
597
+ InspectorIssueCode["FederatedAuthRequestIssue"] = "FederatedAuthRequestIssue";
598
+ InspectorIssueCode["BounceTrackingIssue"] = "BounceTrackingIssue";
599
+ InspectorIssueCode["CookieDeprecationMetadataIssue"] = "CookieDeprecationMetadataIssue";
600
+ InspectorIssueCode["StylesheetLoadingIssue"] = "StylesheetLoadingIssue";
601
+ InspectorIssueCode["FederatedAuthUserInfoRequestIssue"] = "FederatedAuthUserInfoRequestIssue";
602
+ InspectorIssueCode["PropertyRuleIssue"] = "PropertyRuleIssue";
603
+ InspectorIssueCode["SharedDictionaryIssue"] = "SharedDictionaryIssue";
604
+ InspectorIssueCode["ElementAccessibilityIssue"] = "ElementAccessibilityIssue";
605
+ InspectorIssueCode["SRIMessageSignatureIssue"] = "SRIMessageSignatureIssue";
606
+ InspectorIssueCode["UnencodedDigestIssue"] = "UnencodedDigestIssue";
607
+ InspectorIssueCode["ConnectionAllowlistIssue"] = "ConnectionAllowlistIssue";
608
+ InspectorIssueCode["UserReidentificationIssue"] = "UserReidentificationIssue";
609
+ InspectorIssueCode["PermissionElementIssue"] = "PermissionElementIssue";
610
+ InspectorIssueCode["PerformanceIssue"] = "PerformanceIssue";
611
+ InspectorIssueCode["SelectivePermissionsInterventionIssue"] = "SelectivePermissionsInterventionIssue";
612
+ InspectorIssueCode["EmailVerificationRequestIssue"] = "EmailVerificationRequestIssue";
613
+ InspectorIssueCode["LazyLoadImageIssue"] = "LazyLoadImageIssue";
614
+ InspectorIssueCode["WebInstallIssue"] = "WebInstallIssue";
615
+ })(InspectorIssueCode = Audits.InspectorIssueCode || (Audits.InspectorIssueCode = {}));
616
+ let GetEncodedResponseRequestEncoding;
617
+ (function (GetEncodedResponseRequestEncoding) {
618
+ GetEncodedResponseRequestEncoding["Webp"] = "webp";
619
+ GetEncodedResponseRequestEncoding["Jpeg"] = "jpeg";
620
+ GetEncodedResponseRequestEncoding["Png"] = "png";
621
+ })(GetEncodedResponseRequestEncoding = Audits.GetEncodedResponseRequestEncoding || (Audits.GetEncodedResponseRequestEncoding = {}));
622
+ })(Audits || (Audits = {}));
623
+ /**
624
+ * Defines commands and events for Autofill.
625
+ */
626
+ export var Autofill;
627
+ (function (Autofill) {
628
+ /**
629
+ * Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
630
+ */
631
+ let FillingStrategy;
632
+ (function (FillingStrategy) {
633
+ FillingStrategy["AutocompleteAttribute"] = "autocompleteAttribute";
634
+ FillingStrategy["AutofillInferred"] = "autofillInferred";
635
+ })(FillingStrategy = Autofill.FillingStrategy || (Autofill.FillingStrategy = {}));
636
+ })(Autofill || (Autofill = {}));
637
+ /**
638
+ * Defines events for background web platform features.
639
+ */
640
+ export var BackgroundService;
641
+ (function (BackgroundService) {
642
+ /**
643
+ * The Background Service that will be associated with the commands/events.
644
+ * Every Background Service operates independently, but they share the same
645
+ * API.
646
+ */
647
+ let ServiceName;
648
+ (function (ServiceName) {
649
+ ServiceName["BackgroundFetch"] = "backgroundFetch";
650
+ ServiceName["BackgroundSync"] = "backgroundSync";
651
+ ServiceName["PushMessaging"] = "pushMessaging";
652
+ ServiceName["Notifications"] = "notifications";
653
+ ServiceName["PaymentHandler"] = "paymentHandler";
654
+ ServiceName["PeriodicBackgroundSync"] = "periodicBackgroundSync";
655
+ })(ServiceName = BackgroundService.ServiceName || (BackgroundService.ServiceName = {}));
656
+ })(BackgroundService || (BackgroundService = {}));
657
+ /**
658
+ * This domain allows configuring virtual Bluetooth devices to test
659
+ * the web-bluetooth API.
660
+ */
661
+ export var BluetoothEmulation;
662
+ (function (BluetoothEmulation) {
663
+ /**
664
+ * Indicates the various states of Central.
665
+ */
666
+ let CentralState;
667
+ (function (CentralState) {
668
+ CentralState["Absent"] = "absent";
669
+ CentralState["PoweredOff"] = "powered-off";
670
+ CentralState["PoweredOn"] = "powered-on";
671
+ })(CentralState = BluetoothEmulation.CentralState || (BluetoothEmulation.CentralState = {}));
672
+ /**
673
+ * Indicates the various types of GATT event.
674
+ */
675
+ let GATTOperationType;
676
+ (function (GATTOperationType) {
677
+ GATTOperationType["Connection"] = "connection";
678
+ GATTOperationType["Discovery"] = "discovery";
679
+ })(GATTOperationType = BluetoothEmulation.GATTOperationType || (BluetoothEmulation.GATTOperationType = {}));
680
+ /**
681
+ * Indicates the various types of characteristic write.
682
+ */
683
+ let CharacteristicWriteType;
684
+ (function (CharacteristicWriteType) {
685
+ CharacteristicWriteType["WriteDefaultDeprecated"] = "write-default-deprecated";
686
+ CharacteristicWriteType["WriteWithResponse"] = "write-with-response";
687
+ CharacteristicWriteType["WriteWithoutResponse"] = "write-without-response";
688
+ })(CharacteristicWriteType = BluetoothEmulation.CharacteristicWriteType || (BluetoothEmulation.CharacteristicWriteType = {}));
689
+ /**
690
+ * Indicates the various types of characteristic operation.
691
+ */
692
+ let CharacteristicOperationType;
693
+ (function (CharacteristicOperationType) {
694
+ CharacteristicOperationType["Read"] = "read";
695
+ CharacteristicOperationType["Write"] = "write";
696
+ CharacteristicOperationType["SubscribeToNotifications"] = "subscribe-to-notifications";
697
+ CharacteristicOperationType["UnsubscribeFromNotifications"] = "unsubscribe-from-notifications";
698
+ })(CharacteristicOperationType = BluetoothEmulation.CharacteristicOperationType || (BluetoothEmulation.CharacteristicOperationType = {}));
699
+ /**
700
+ * Indicates the various types of descriptor operation.
701
+ */
702
+ let DescriptorOperationType;
703
+ (function (DescriptorOperationType) {
704
+ DescriptorOperationType["Read"] = "read";
705
+ DescriptorOperationType["Write"] = "write";
706
+ })(DescriptorOperationType = BluetoothEmulation.DescriptorOperationType || (BluetoothEmulation.DescriptorOperationType = {}));
707
+ })(BluetoothEmulation || (BluetoothEmulation = {}));
708
+ /**
709
+ * The Browser domain defines methods and events for browser managing.
710
+ */
711
+ export var Browser;
712
+ (function (Browser) {
713
+ /**
714
+ * The state of the browser window.
715
+ */
716
+ let WindowState;
717
+ (function (WindowState) {
718
+ WindowState["Normal"] = "normal";
719
+ WindowState["Minimized"] = "minimized";
720
+ WindowState["Maximized"] = "maximized";
721
+ WindowState["Fullscreen"] = "fullscreen";
722
+ })(WindowState = Browser.WindowState || (Browser.WindowState = {}));
723
+ let PermissionType;
724
+ (function (PermissionType) {
725
+ PermissionType["Ar"] = "ar";
726
+ PermissionType["AudioCapture"] = "audioCapture";
727
+ PermissionType["AutomaticFullscreen"] = "automaticFullscreen";
728
+ PermissionType["BackgroundFetch"] = "backgroundFetch";
729
+ PermissionType["BackgroundSync"] = "backgroundSync";
730
+ PermissionType["CameraPanTiltZoom"] = "cameraPanTiltZoom";
731
+ PermissionType["CapturedSurfaceControl"] = "capturedSurfaceControl";
732
+ PermissionType["ClipboardReadWrite"] = "clipboardReadWrite";
733
+ PermissionType["ClipboardSanitizedWrite"] = "clipboardSanitizedWrite";
734
+ PermissionType["DisplayCapture"] = "displayCapture";
735
+ PermissionType["DurableStorage"] = "durableStorage";
736
+ PermissionType["Geolocation"] = "geolocation";
737
+ PermissionType["HandTracking"] = "handTracking";
738
+ PermissionType["IdleDetection"] = "idleDetection";
739
+ PermissionType["KeyboardLock"] = "keyboardLock";
740
+ PermissionType["LocalFonts"] = "localFonts";
741
+ PermissionType["LocalNetwork"] = "localNetwork";
742
+ PermissionType["LocalNetworkAccess"] = "localNetworkAccess";
743
+ PermissionType["LoopbackNetwork"] = "loopbackNetwork";
744
+ PermissionType["Midi"] = "midi";
745
+ PermissionType["MidiSysex"] = "midiSysex";
746
+ PermissionType["Nfc"] = "nfc";
747
+ PermissionType["Notifications"] = "notifications";
748
+ PermissionType["PaymentHandler"] = "paymentHandler";
749
+ PermissionType["PeriodicBackgroundSync"] = "periodicBackgroundSync";
750
+ PermissionType["PointerLock"] = "pointerLock";
751
+ PermissionType["ProtectedMediaIdentifier"] = "protectedMediaIdentifier";
752
+ PermissionType["Sensors"] = "sensors";
753
+ PermissionType["SmartCard"] = "smartCard";
754
+ PermissionType["SpeakerSelection"] = "speakerSelection";
755
+ PermissionType["StorageAccess"] = "storageAccess";
756
+ PermissionType["TopLevelStorageAccess"] = "topLevelStorageAccess";
757
+ PermissionType["VideoCapture"] = "videoCapture";
758
+ PermissionType["Vr"] = "vr";
759
+ PermissionType["WakeLockScreen"] = "wakeLockScreen";
760
+ PermissionType["WakeLockSystem"] = "wakeLockSystem";
761
+ PermissionType["WebAppInstallation"] = "webAppInstallation";
762
+ PermissionType["WebPrinting"] = "webPrinting";
763
+ PermissionType["WindowManagement"] = "windowManagement";
764
+ })(PermissionType = Browser.PermissionType || (Browser.PermissionType = {}));
765
+ let PermissionSetting;
766
+ (function (PermissionSetting) {
767
+ PermissionSetting["Granted"] = "granted";
768
+ PermissionSetting["Denied"] = "denied";
769
+ PermissionSetting["Prompt"] = "prompt";
770
+ })(PermissionSetting = Browser.PermissionSetting || (Browser.PermissionSetting = {}));
771
+ /**
772
+ * Browser command ids used by executeBrowserCommand.
773
+ */
774
+ let BrowserCommandId;
775
+ (function (BrowserCommandId) {
776
+ BrowserCommandId["OpenTabSearch"] = "openTabSearch";
777
+ BrowserCommandId["CloseTabSearch"] = "closeTabSearch";
778
+ BrowserCommandId["OpenGlic"] = "openGlic";
779
+ })(BrowserCommandId = Browser.BrowserCommandId || (Browser.BrowserCommandId = {}));
780
+ let SetDownloadBehaviorRequestBehavior;
781
+ (function (SetDownloadBehaviorRequestBehavior) {
782
+ SetDownloadBehaviorRequestBehavior["Deny"] = "deny";
783
+ SetDownloadBehaviorRequestBehavior["Allow"] = "allow";
784
+ SetDownloadBehaviorRequestBehavior["AllowAndName"] = "allowAndName";
785
+ SetDownloadBehaviorRequestBehavior["Default"] = "default";
786
+ })(SetDownloadBehaviorRequestBehavior = Browser.SetDownloadBehaviorRequestBehavior || (Browser.SetDownloadBehaviorRequestBehavior = {}));
787
+ let DownloadProgressEventState;
788
+ (function (DownloadProgressEventState) {
789
+ DownloadProgressEventState["InProgress"] = "inProgress";
790
+ DownloadProgressEventState["Completed"] = "completed";
791
+ DownloadProgressEventState["Canceled"] = "canceled";
792
+ })(DownloadProgressEventState = Browser.DownloadProgressEventState || (Browser.DownloadProgressEventState = {}));
793
+ })(Browser || (Browser = {}));
794
+ /**
795
+ * This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
796
+ * have an associated `id` used in subsequent operations on the related object. Each object type has
797
+ * a specific `id` structure, and those are not interchangeable between objects of different kinds.
798
+ * CSS objects can be loaded using the `get*ForNode()` calls (which accept a DOM node id). A client
799
+ * can also keep track of stylesheets via the `styleSheetAdded`/`styleSheetRemoved` events and
800
+ * subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
801
+ */
802
+ export var CSS;
803
+ (function (CSS) {
804
+ /**
805
+ * Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
806
+ * stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
807
+ * inspector" rules), "regular" for regular stylesheets.
808
+ */
809
+ let StyleSheetOrigin;
810
+ (function (StyleSheetOrigin) {
811
+ StyleSheetOrigin["Injected"] = "injected";
812
+ StyleSheetOrigin["UserAgent"] = "user-agent";
813
+ StyleSheetOrigin["Inspector"] = "inspector";
814
+ StyleSheetOrigin["Regular"] = "regular";
815
+ })(StyleSheetOrigin = CSS.StyleSheetOrigin || (CSS.StyleSheetOrigin = {}));
816
+ /**
817
+ * Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
818
+ * This list only contains rule types that are collected during the ancestor rule collection.
819
+ */
820
+ let CSSRuleType;
821
+ (function (CSSRuleType) {
822
+ CSSRuleType["MediaRule"] = "MediaRule";
823
+ CSSRuleType["SupportsRule"] = "SupportsRule";
824
+ CSSRuleType["ContainerRule"] = "ContainerRule";
825
+ CSSRuleType["LayerRule"] = "LayerRule";
826
+ CSSRuleType["ScopeRule"] = "ScopeRule";
827
+ CSSRuleType["StyleRule"] = "StyleRule";
828
+ CSSRuleType["StartingStyleRule"] = "StartingStyleRule";
829
+ CSSRuleType["NavigationRule"] = "NavigationRule";
830
+ })(CSSRuleType = CSS.CSSRuleType || (CSS.CSSRuleType = {}));
831
+ let CSSMediaSource;
832
+ (function (CSSMediaSource) {
833
+ CSSMediaSource["MediaRule"] = "mediaRule";
834
+ CSSMediaSource["ImportRule"] = "importRule";
835
+ CSSMediaSource["LinkedSheet"] = "linkedSheet";
836
+ CSSMediaSource["InlineSheet"] = "inlineSheet";
837
+ })(CSSMediaSource = CSS.CSSMediaSource || (CSS.CSSMediaSource = {}));
838
+ let CSSAtRuleType;
839
+ (function (CSSAtRuleType) {
840
+ CSSAtRuleType["FontFace"] = "font-face";
841
+ CSSAtRuleType["FontFeatureValues"] = "font-feature-values";
842
+ CSSAtRuleType["FontPaletteValues"] = "font-palette-values";
843
+ CSSAtRuleType["CounterStyle"] = "counter-style";
844
+ })(CSSAtRuleType = CSS.CSSAtRuleType || (CSS.CSSAtRuleType = {}));
845
+ let CSSAtRuleSubsection;
846
+ (function (CSSAtRuleSubsection) {
847
+ CSSAtRuleSubsection["Swash"] = "swash";
848
+ CSSAtRuleSubsection["Annotation"] = "annotation";
849
+ CSSAtRuleSubsection["Ornaments"] = "ornaments";
850
+ CSSAtRuleSubsection["Stylistic"] = "stylistic";
851
+ CSSAtRuleSubsection["Styleset"] = "styleset";
852
+ CSSAtRuleSubsection["CharacterVariant"] = "character-variant";
853
+ })(CSSAtRuleSubsection = CSS.CSSAtRuleSubsection || (CSS.CSSAtRuleSubsection = {}));
854
+ })(CSS || (CSS = {}));
855
+ export var CacheStorage;
856
+ (function (CacheStorage) {
857
+ /**
858
+ * type of HTTP response cached
859
+ */
860
+ let CachedResponseType;
861
+ (function (CachedResponseType) {
862
+ CachedResponseType["Basic"] = "basic";
863
+ CachedResponseType["Cors"] = "cors";
864
+ CachedResponseType["Default"] = "default";
865
+ CachedResponseType["Error"] = "error";
866
+ CachedResponseType["OpaqueResponse"] = "opaqueResponse";
867
+ CachedResponseType["OpaqueRedirect"] = "opaqueRedirect";
868
+ })(CachedResponseType = CacheStorage.CachedResponseType || (CacheStorage.CachedResponseType = {}));
869
+ })(CacheStorage || (CacheStorage = {}));
870
+ /**
871
+ * This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
872
+ * that has an `id`. This `id` can be used to get additional information on the Node, resolve it into
873
+ * the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
874
+ * nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
875
+ * and never sends the same node twice. It is client's responsibility to collect information about
876
+ * the nodes that were sent to the client. Note that `iframe` owner elements will return
877
+ * corresponding document elements as their child nodes.
878
+ */
879
+ export var DOM;
880
+ (function (DOM) {
881
+ /**
882
+ * Pseudo element type.
883
+ */
884
+ let PseudoType;
885
+ (function (PseudoType) {
886
+ PseudoType["FirstLine"] = "first-line";
887
+ PseudoType["FirstLetter"] = "first-letter";
888
+ PseudoType["Checkmark"] = "checkmark";
889
+ PseudoType["Before"] = "before";
890
+ PseudoType["After"] = "after";
891
+ PseudoType["ExpandIcon"] = "expand-icon";
892
+ PseudoType["PickerIcon"] = "picker-icon";
893
+ PseudoType["InterestButton"] = "interest-button";
894
+ PseudoType["Marker"] = "marker";
895
+ PseudoType["Backdrop"] = "backdrop";
896
+ PseudoType["Column"] = "column";
897
+ PseudoType["Selection"] = "selection";
898
+ PseudoType["SearchText"] = "search-text";
899
+ PseudoType["TargetText"] = "target-text";
900
+ PseudoType["SpellingError"] = "spelling-error";
901
+ PseudoType["GrammarError"] = "grammar-error";
902
+ PseudoType["Highlight"] = "highlight";
903
+ PseudoType["FirstLineInherited"] = "first-line-inherited";
904
+ PseudoType["ScrollMarker"] = "scroll-marker";
905
+ PseudoType["ScrollMarkerGroup"] = "scroll-marker-group";
906
+ PseudoType["ScrollButton"] = "scroll-button";
907
+ PseudoType["Scrollbar"] = "scrollbar";
908
+ PseudoType["ScrollbarThumb"] = "scrollbar-thumb";
909
+ PseudoType["ScrollbarButton"] = "scrollbar-button";
910
+ PseudoType["ScrollbarTrack"] = "scrollbar-track";
911
+ PseudoType["ScrollbarTrackPiece"] = "scrollbar-track-piece";
912
+ PseudoType["ScrollbarCorner"] = "scrollbar-corner";
913
+ PseudoType["Resizer"] = "resizer";
914
+ PseudoType["InputListButton"] = "input-list-button";
915
+ PseudoType["ViewTransition"] = "view-transition";
916
+ PseudoType["ViewTransitionGroup"] = "view-transition-group";
917
+ PseudoType["ViewTransitionImagePair"] = "view-transition-image-pair";
918
+ PseudoType["ViewTransitionGroupChildren"] = "view-transition-group-children";
919
+ PseudoType["ViewTransitionOld"] = "view-transition-old";
920
+ PseudoType["ViewTransitionNew"] = "view-transition-new";
921
+ PseudoType["Placeholder"] = "placeholder";
922
+ PseudoType["FileSelectorButton"] = "file-selector-button";
923
+ PseudoType["DetailsContent"] = "details-content";
924
+ PseudoType["Picker"] = "picker";
925
+ PseudoType["SelectListbox"] = "select-listbox";
926
+ PseudoType["PermissionIcon"] = "permission-icon";
927
+ PseudoType["OverscrollAreaParent"] = "overscroll-area-parent";
928
+ PseudoType["OverscrollBackdrop"] = "overscroll-backdrop";
929
+ PseudoType["Skeleton"] = "skeleton";
930
+ })(PseudoType = DOM.PseudoType || (DOM.PseudoType = {}));
931
+ /**
932
+ * Shadow root type.
933
+ */
934
+ let ShadowRootType;
935
+ (function (ShadowRootType) {
936
+ ShadowRootType["UserAgent"] = "user-agent";
937
+ ShadowRootType["Open"] = "open";
938
+ ShadowRootType["Closed"] = "closed";
939
+ })(ShadowRootType = DOM.ShadowRootType || (DOM.ShadowRootType = {}));
940
+ /**
941
+ * Document compatibility mode.
942
+ */
943
+ let CompatibilityMode;
944
+ (function (CompatibilityMode) {
945
+ CompatibilityMode["QuirksMode"] = "QuirksMode";
946
+ CompatibilityMode["LimitedQuirksMode"] = "LimitedQuirksMode";
947
+ CompatibilityMode["NoQuirksMode"] = "NoQuirksMode";
948
+ })(CompatibilityMode = DOM.CompatibilityMode || (DOM.CompatibilityMode = {}));
949
+ /**
950
+ * ContainerSelector physical axes
951
+ */
952
+ let PhysicalAxes;
953
+ (function (PhysicalAxes) {
954
+ PhysicalAxes["Horizontal"] = "Horizontal";
955
+ PhysicalAxes["Vertical"] = "Vertical";
956
+ PhysicalAxes["Both"] = "Both";
957
+ })(PhysicalAxes = DOM.PhysicalAxes || (DOM.PhysicalAxes = {}));
958
+ /**
959
+ * ContainerSelector logical axes
960
+ */
961
+ let LogicalAxes;
962
+ (function (LogicalAxes) {
963
+ LogicalAxes["Inline"] = "Inline";
964
+ LogicalAxes["Block"] = "Block";
965
+ LogicalAxes["Both"] = "Both";
966
+ })(LogicalAxes = DOM.LogicalAxes || (DOM.LogicalAxes = {}));
967
+ /**
968
+ * Physical scroll orientation
969
+ */
970
+ let ScrollOrientation;
971
+ (function (ScrollOrientation) {
972
+ ScrollOrientation["Horizontal"] = "horizontal";
973
+ ScrollOrientation["Vertical"] = "vertical";
974
+ })(ScrollOrientation = DOM.ScrollOrientation || (DOM.ScrollOrientation = {}));
975
+ let EnableRequestIncludeWhitespace;
976
+ (function (EnableRequestIncludeWhitespace) {
977
+ EnableRequestIncludeWhitespace["None"] = "none";
978
+ EnableRequestIncludeWhitespace["All"] = "all";
979
+ })(EnableRequestIncludeWhitespace = DOM.EnableRequestIncludeWhitespace || (DOM.EnableRequestIncludeWhitespace = {}));
980
+ let GetElementByRelationRequestRelation;
981
+ (function (GetElementByRelationRequestRelation) {
982
+ GetElementByRelationRequestRelation["PopoverTarget"] = "PopoverTarget";
983
+ GetElementByRelationRequestRelation["InterestTarget"] = "InterestTarget";
984
+ GetElementByRelationRequestRelation["CommandFor"] = "CommandFor";
985
+ })(GetElementByRelationRequestRelation = DOM.GetElementByRelationRequestRelation || (DOM.GetElementByRelationRequestRelation = {}));
986
+ let SetTextMarkerRequestType;
987
+ (function (SetTextMarkerRequestType) {
988
+ SetTextMarkerRequestType["Spelling"] = "spelling";
989
+ SetTextMarkerRequestType["Grammar"] = "grammar";
990
+ })(SetTextMarkerRequestType = DOM.SetTextMarkerRequestType || (DOM.SetTextMarkerRequestType = {}));
991
+ })(DOM || (DOM = {}));
992
+ /**
993
+ * DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript
994
+ * execution will stop on these operations as if there was a regular breakpoint set.
995
+ */
996
+ export var DOMDebugger;
997
+ (function (DOMDebugger) {
998
+ /**
999
+ * DOM breakpoint type.
1000
+ */
1001
+ let DOMBreakpointType;
1002
+ (function (DOMBreakpointType) {
1003
+ DOMBreakpointType["SubtreeModified"] = "subtree-modified";
1004
+ DOMBreakpointType["AttributeModified"] = "attribute-modified";
1005
+ DOMBreakpointType["NodeRemoved"] = "node-removed";
1006
+ })(DOMBreakpointType = DOMDebugger.DOMBreakpointType || (DOMDebugger.DOMBreakpointType = {}));
1007
+ /**
1008
+ * CSP Violation type.
1009
+ */
1010
+ let CSPViolationType;
1011
+ (function (CSPViolationType) {
1012
+ CSPViolationType["TrustedtypeSinkViolation"] = "trustedtype-sink-violation";
1013
+ CSPViolationType["TrustedtypePolicyViolation"] = "trustedtype-policy-violation";
1014
+ })(CSPViolationType = DOMDebugger.CSPViolationType || (DOMDebugger.CSPViolationType = {}));
1015
+ })(DOMDebugger || (DOMDebugger = {}));
1016
+ /**
1017
+ * This domain allows interacting with the Digital Credentials API for automation.
1018
+ */
1019
+ export var DigitalCredentials;
1020
+ (function (DigitalCredentials) {
1021
+ /**
1022
+ * The type of virtual wallet action.
1023
+ */
1024
+ let VirtualWalletAction;
1025
+ (function (VirtualWalletAction) {
1026
+ VirtualWalletAction["Respond"] = "respond";
1027
+ VirtualWalletAction["Decline"] = "decline";
1028
+ VirtualWalletAction["Wait"] = "wait";
1029
+ VirtualWalletAction["Clear"] = "clear";
1030
+ })(VirtualWalletAction = DigitalCredentials.VirtualWalletAction || (DigitalCredentials.VirtualWalletAction = {}));
1031
+ })(DigitalCredentials || (DigitalCredentials = {}));
1032
+ /**
1033
+ * This domain emulates different environments for the page.
1034
+ */
1035
+ export var Emulation;
1036
+ (function (Emulation) {
1037
+ let ScreenOrientationType;
1038
+ (function (ScreenOrientationType) {
1039
+ ScreenOrientationType["PortraitPrimary"] = "portraitPrimary";
1040
+ ScreenOrientationType["PortraitSecondary"] = "portraitSecondary";
1041
+ ScreenOrientationType["LandscapePrimary"] = "landscapePrimary";
1042
+ ScreenOrientationType["LandscapeSecondary"] = "landscapeSecondary";
1043
+ })(ScreenOrientationType = Emulation.ScreenOrientationType || (Emulation.ScreenOrientationType = {}));
1044
+ let DisplayFeatureOrientation;
1045
+ (function (DisplayFeatureOrientation) {
1046
+ DisplayFeatureOrientation["Vertical"] = "vertical";
1047
+ DisplayFeatureOrientation["Horizontal"] = "horizontal";
1048
+ })(DisplayFeatureOrientation = Emulation.DisplayFeatureOrientation || (Emulation.DisplayFeatureOrientation = {}));
1049
+ let DevicePostureType;
1050
+ (function (DevicePostureType) {
1051
+ DevicePostureType["Continuous"] = "continuous";
1052
+ DevicePostureType["Folded"] = "folded";
1053
+ })(DevicePostureType = Emulation.DevicePostureType || (Emulation.DevicePostureType = {}));
1054
+ /**
1055
+ * advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to
1056
+ * allow the next delayed task (if any) to run; pause: The virtual time base may not advance;
1057
+ * pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending
1058
+ * resource fetches.
1059
+ */
1060
+ let VirtualTimePolicy;
1061
+ (function (VirtualTimePolicy) {
1062
+ VirtualTimePolicy["Advance"] = "advance";
1063
+ VirtualTimePolicy["Pause"] = "pause";
1064
+ VirtualTimePolicy["PauseIfNetworkFetchesPending"] = "pauseIfNetworkFetchesPending";
1065
+ })(VirtualTimePolicy = Emulation.VirtualTimePolicy || (Emulation.VirtualTimePolicy = {}));
1066
+ /**
1067
+ * Used to specify sensor types to emulate.
1068
+ * See https://w3c.github.io/sensors/#automation for more information.
1069
+ */
1070
+ let SensorType;
1071
+ (function (SensorType) {
1072
+ SensorType["AbsoluteOrientation"] = "absolute-orientation";
1073
+ SensorType["Accelerometer"] = "accelerometer";
1074
+ SensorType["AmbientLight"] = "ambient-light";
1075
+ SensorType["Gravity"] = "gravity";
1076
+ SensorType["Gyroscope"] = "gyroscope";
1077
+ SensorType["LinearAcceleration"] = "linear-acceleration";
1078
+ SensorType["Magnetometer"] = "magnetometer";
1079
+ SensorType["RelativeOrientation"] = "relative-orientation";
1080
+ })(SensorType = Emulation.SensorType || (Emulation.SensorType = {}));
1081
+ let PressureSource;
1082
+ (function (PressureSource) {
1083
+ PressureSource["Cpu"] = "cpu";
1084
+ })(PressureSource = Emulation.PressureSource || (Emulation.PressureSource = {}));
1085
+ let PressureState;
1086
+ (function (PressureState) {
1087
+ PressureState["Nominal"] = "nominal";
1088
+ PressureState["Fair"] = "fair";
1089
+ PressureState["Serious"] = "serious";
1090
+ PressureState["Critical"] = "critical";
1091
+ })(PressureState = Emulation.PressureState || (Emulation.PressureState = {}));
1092
+ /**
1093
+ * Enum of image types that can be disabled.
1094
+ */
1095
+ let DisabledImageType;
1096
+ (function (DisabledImageType) {
1097
+ DisabledImageType["Avif"] = "avif";
1098
+ DisabledImageType["Jxl"] = "jxl";
1099
+ DisabledImageType["Webp"] = "webp";
1100
+ })(DisabledImageType = Emulation.DisabledImageType || (Emulation.DisabledImageType = {}));
1101
+ let SetDeviceMetricsOverrideRequestScrollbarType;
1102
+ (function (SetDeviceMetricsOverrideRequestScrollbarType) {
1103
+ SetDeviceMetricsOverrideRequestScrollbarType["Overlay"] = "overlay";
1104
+ SetDeviceMetricsOverrideRequestScrollbarType["Default"] = "default";
1105
+ })(SetDeviceMetricsOverrideRequestScrollbarType = Emulation.SetDeviceMetricsOverrideRequestScrollbarType || (Emulation.SetDeviceMetricsOverrideRequestScrollbarType = {}));
1106
+ let SetDeviceMetricsOverrideRequestViewportMeta;
1107
+ (function (SetDeviceMetricsOverrideRequestViewportMeta) {
1108
+ SetDeviceMetricsOverrideRequestViewportMeta["Enable"] = "enable";
1109
+ SetDeviceMetricsOverrideRequestViewportMeta["Default"] = "default";
1110
+ })(SetDeviceMetricsOverrideRequestViewportMeta = Emulation.SetDeviceMetricsOverrideRequestViewportMeta || (Emulation.SetDeviceMetricsOverrideRequestViewportMeta = {}));
1111
+ let SetDeviceMetricsOverrideRequestTextLayoutMode;
1112
+ (function (SetDeviceMetricsOverrideRequestTextLayoutMode) {
1113
+ SetDeviceMetricsOverrideRequestTextLayoutMode["Mobile"] = "mobile";
1114
+ SetDeviceMetricsOverrideRequestTextLayoutMode["Default"] = "default";
1115
+ })(SetDeviceMetricsOverrideRequestTextLayoutMode = Emulation.SetDeviceMetricsOverrideRequestTextLayoutMode || (Emulation.SetDeviceMetricsOverrideRequestTextLayoutMode = {}));
1116
+ let SetEmitTouchEventsForMouseRequestConfiguration;
1117
+ (function (SetEmitTouchEventsForMouseRequestConfiguration) {
1118
+ SetEmitTouchEventsForMouseRequestConfiguration["Mobile"] = "mobile";
1119
+ SetEmitTouchEventsForMouseRequestConfiguration["Desktop"] = "desktop";
1120
+ })(SetEmitTouchEventsForMouseRequestConfiguration = Emulation.SetEmitTouchEventsForMouseRequestConfiguration || (Emulation.SetEmitTouchEventsForMouseRequestConfiguration = {}));
1121
+ let SetEmulatedVisionDeficiencyRequestType;
1122
+ (function (SetEmulatedVisionDeficiencyRequestType) {
1123
+ SetEmulatedVisionDeficiencyRequestType["None"] = "none";
1124
+ SetEmulatedVisionDeficiencyRequestType["BlurredVision"] = "blurredVision";
1125
+ SetEmulatedVisionDeficiencyRequestType["ReducedContrast"] = "reducedContrast";
1126
+ SetEmulatedVisionDeficiencyRequestType["Achromatopsia"] = "achromatopsia";
1127
+ SetEmulatedVisionDeficiencyRequestType["Deuteranopia"] = "deuteranopia";
1128
+ SetEmulatedVisionDeficiencyRequestType["Protanopia"] = "protanopia";
1129
+ SetEmulatedVisionDeficiencyRequestType["Tritanopia"] = "tritanopia";
1130
+ })(SetEmulatedVisionDeficiencyRequestType = Emulation.SetEmulatedVisionDeficiencyRequestType || (Emulation.SetEmulatedVisionDeficiencyRequestType = {}));
1131
+ let SetCPUPerformanceOverrideRequestPerformanceTier;
1132
+ (function (SetCPUPerformanceOverrideRequestPerformanceTier) {
1133
+ SetCPUPerformanceOverrideRequestPerformanceTier["Unknown"] = "unknown";
1134
+ SetCPUPerformanceOverrideRequestPerformanceTier["Low"] = "low";
1135
+ SetCPUPerformanceOverrideRequestPerformanceTier["Mid"] = "mid";
1136
+ SetCPUPerformanceOverrideRequestPerformanceTier["High"] = "high";
1137
+ SetCPUPerformanceOverrideRequestPerformanceTier["Ultra"] = "ultra";
1138
+ })(SetCPUPerformanceOverrideRequestPerformanceTier = Emulation.SetCPUPerformanceOverrideRequestPerformanceTier || (Emulation.SetCPUPerformanceOverrideRequestPerformanceTier = {}));
1139
+ })(Emulation || (Emulation = {}));
1140
+ /**
1141
+ * Defines commands and events for browser extensions.
1142
+ */
1143
+ export var Extensions;
1144
+ (function (Extensions) {
1145
+ /**
1146
+ * Storage areas.
1147
+ */
1148
+ let StorageArea;
1149
+ (function (StorageArea) {
1150
+ StorageArea["Session"] = "session";
1151
+ StorageArea["Local"] = "local";
1152
+ StorageArea["Sync"] = "sync";
1153
+ StorageArea["Managed"] = "managed";
1154
+ })(StorageArea = Extensions.StorageArea || (Extensions.StorageArea = {}));
1155
+ })(Extensions || (Extensions = {}));
1156
+ /**
1157
+ * This domain allows interacting with the FedCM dialog.
1158
+ */
1159
+ export var FedCm;
1160
+ (function (FedCm) {
1161
+ /**
1162
+ * Whether this is a sign-up or sign-in action for this account, i.e.
1163
+ * whether this account has ever been used to sign in to this RP before.
1164
+ */
1165
+ let LoginState;
1166
+ (function (LoginState) {
1167
+ LoginState["SignIn"] = "SignIn";
1168
+ LoginState["SignUp"] = "SignUp";
1169
+ })(LoginState = FedCm.LoginState || (FedCm.LoginState = {}));
1170
+ /**
1171
+ * The types of FedCM dialogs.
1172
+ */
1173
+ let DialogType;
1174
+ (function (DialogType) {
1175
+ DialogType["AccountChooser"] = "AccountChooser";
1176
+ DialogType["AutoReauthn"] = "AutoReauthn";
1177
+ DialogType["ConfirmIdpLogin"] = "ConfirmIdpLogin";
1178
+ DialogType["Error"] = "Error";
1179
+ })(DialogType = FedCm.DialogType || (FedCm.DialogType = {}));
1180
+ /**
1181
+ * The buttons on the FedCM dialog.
1182
+ */
1183
+ let DialogButton;
1184
+ (function (DialogButton) {
1185
+ DialogButton["ConfirmIdpLoginContinue"] = "ConfirmIdpLoginContinue";
1186
+ DialogButton["ErrorGotIt"] = "ErrorGotIt";
1187
+ DialogButton["ErrorMoreDetails"] = "ErrorMoreDetails";
1188
+ })(DialogButton = FedCm.DialogButton || (FedCm.DialogButton = {}));
1189
+ /**
1190
+ * The URLs that each account has
1191
+ */
1192
+ let AccountUrlType;
1193
+ (function (AccountUrlType) {
1194
+ AccountUrlType["TermsOfService"] = "TermsOfService";
1195
+ AccountUrlType["PrivacyPolicy"] = "PrivacyPolicy";
1196
+ })(AccountUrlType = FedCm.AccountUrlType || (FedCm.AccountUrlType = {}));
1197
+ })(FedCm || (FedCm = {}));
1198
+ /**
1199
+ * A domain for letting clients substitute browser's network layer with client code.
1200
+ */
1201
+ export var Fetch;
1202
+ (function (Fetch) {
1203
+ /**
1204
+ * Stages of the request to handle. Request will intercept before the request is
1205
+ * sent. Response will intercept after the response is received (but before response
1206
+ * body is received).
1207
+ */
1208
+ let RequestStage;
1209
+ (function (RequestStage) {
1210
+ RequestStage["Request"] = "Request";
1211
+ RequestStage["Response"] = "Response";
1212
+ })(RequestStage = Fetch.RequestStage || (Fetch.RequestStage = {}));
1213
+ let AuthChallengeSource;
1214
+ (function (AuthChallengeSource) {
1215
+ AuthChallengeSource["Server"] = "Server";
1216
+ AuthChallengeSource["Proxy"] = "Proxy";
1217
+ })(AuthChallengeSource = Fetch.AuthChallengeSource || (Fetch.AuthChallengeSource = {}));
1218
+ let AuthChallengeResponseResponse;
1219
+ (function (AuthChallengeResponseResponse) {
1220
+ AuthChallengeResponseResponse["Default"] = "Default";
1221
+ AuthChallengeResponseResponse["CancelAuth"] = "CancelAuth";
1222
+ AuthChallengeResponseResponse["ProvideCredentials"] = "ProvideCredentials";
1223
+ })(AuthChallengeResponseResponse = Fetch.AuthChallengeResponseResponse || (Fetch.AuthChallengeResponseResponse = {}));
1224
+ })(Fetch || (Fetch = {}));
1225
+ /**
1226
+ * This domain provides experimental commands only supported in headless mode.
1227
+ */
1228
+ export var HeadlessExperimental;
1229
+ (function (HeadlessExperimental) {
1230
+ let ScreenshotParamsFormat;
1231
+ (function (ScreenshotParamsFormat) {
1232
+ ScreenshotParamsFormat["Jpeg"] = "jpeg";
1233
+ ScreenshotParamsFormat["Png"] = "png";
1234
+ ScreenshotParamsFormat["Webp"] = "webp";
1235
+ })(ScreenshotParamsFormat = HeadlessExperimental.ScreenshotParamsFormat || (HeadlessExperimental.ScreenshotParamsFormat = {}));
1236
+ })(HeadlessExperimental || (HeadlessExperimental = {}));
1237
+ export var IndexedDB;
1238
+ (function (IndexedDB) {
1239
+ let KeyType;
1240
+ (function (KeyType) {
1241
+ KeyType["Number"] = "number";
1242
+ KeyType["String"] = "string";
1243
+ KeyType["Date"] = "date";
1244
+ KeyType["Array"] = "array";
1245
+ })(KeyType = IndexedDB.KeyType || (IndexedDB.KeyType = {}));
1246
+ let KeyPathType;
1247
+ (function (KeyPathType) {
1248
+ KeyPathType["Null"] = "null";
1249
+ KeyPathType["String"] = "string";
1250
+ KeyPathType["Array"] = "array";
1251
+ })(KeyPathType = IndexedDB.KeyPathType || (IndexedDB.KeyPathType = {}));
1252
+ })(IndexedDB || (IndexedDB = {}));
1253
+ export var Input;
1254
+ (function (Input) {
1255
+ let GestureSourceType;
1256
+ (function (GestureSourceType) {
1257
+ GestureSourceType["Default"] = "default";
1258
+ GestureSourceType["Touch"] = "touch";
1259
+ GestureSourceType["Mouse"] = "mouse";
1260
+ })(GestureSourceType = Input.GestureSourceType || (Input.GestureSourceType = {}));
1261
+ let MouseButton;
1262
+ (function (MouseButton) {
1263
+ MouseButton["None"] = "none";
1264
+ MouseButton["Left"] = "left";
1265
+ MouseButton["Middle"] = "middle";
1266
+ MouseButton["Right"] = "right";
1267
+ MouseButton["Back"] = "back";
1268
+ MouseButton["Forward"] = "forward";
1269
+ })(MouseButton = Input.MouseButton || (Input.MouseButton = {}));
1270
+ let DispatchDragEventRequestType;
1271
+ (function (DispatchDragEventRequestType) {
1272
+ DispatchDragEventRequestType["DragEnter"] = "dragEnter";
1273
+ DispatchDragEventRequestType["DragOver"] = "dragOver";
1274
+ DispatchDragEventRequestType["Drop"] = "drop";
1275
+ DispatchDragEventRequestType["DragCancel"] = "dragCancel";
1276
+ })(DispatchDragEventRequestType = Input.DispatchDragEventRequestType || (Input.DispatchDragEventRequestType = {}));
1277
+ let DispatchKeyEventRequestType;
1278
+ (function (DispatchKeyEventRequestType) {
1279
+ DispatchKeyEventRequestType["KeyDown"] = "keyDown";
1280
+ DispatchKeyEventRequestType["KeyUp"] = "keyUp";
1281
+ DispatchKeyEventRequestType["RawKeyDown"] = "rawKeyDown";
1282
+ DispatchKeyEventRequestType["Char"] = "char";
1283
+ })(DispatchKeyEventRequestType = Input.DispatchKeyEventRequestType || (Input.DispatchKeyEventRequestType = {}));
1284
+ let DispatchMouseEventRequestType;
1285
+ (function (DispatchMouseEventRequestType) {
1286
+ DispatchMouseEventRequestType["MousePressed"] = "mousePressed";
1287
+ DispatchMouseEventRequestType["MouseReleased"] = "mouseReleased";
1288
+ DispatchMouseEventRequestType["MouseMoved"] = "mouseMoved";
1289
+ DispatchMouseEventRequestType["MouseWheel"] = "mouseWheel";
1290
+ })(DispatchMouseEventRequestType = Input.DispatchMouseEventRequestType || (Input.DispatchMouseEventRequestType = {}));
1291
+ let DispatchMouseEventRequestPointerType;
1292
+ (function (DispatchMouseEventRequestPointerType) {
1293
+ DispatchMouseEventRequestPointerType["Mouse"] = "mouse";
1294
+ DispatchMouseEventRequestPointerType["Pen"] = "pen";
1295
+ })(DispatchMouseEventRequestPointerType = Input.DispatchMouseEventRequestPointerType || (Input.DispatchMouseEventRequestPointerType = {}));
1296
+ let DispatchTouchEventRequestType;
1297
+ (function (DispatchTouchEventRequestType) {
1298
+ DispatchTouchEventRequestType["TouchStart"] = "touchStart";
1299
+ DispatchTouchEventRequestType["TouchEnd"] = "touchEnd";
1300
+ DispatchTouchEventRequestType["TouchMove"] = "touchMove";
1301
+ DispatchTouchEventRequestType["TouchCancel"] = "touchCancel";
1302
+ })(DispatchTouchEventRequestType = Input.DispatchTouchEventRequestType || (Input.DispatchTouchEventRequestType = {}));
1303
+ let EmulateTouchFromMouseEventRequestType;
1304
+ (function (EmulateTouchFromMouseEventRequestType) {
1305
+ EmulateTouchFromMouseEventRequestType["MousePressed"] = "mousePressed";
1306
+ EmulateTouchFromMouseEventRequestType["MouseReleased"] = "mouseReleased";
1307
+ EmulateTouchFromMouseEventRequestType["MouseMoved"] = "mouseMoved";
1308
+ EmulateTouchFromMouseEventRequestType["MouseWheel"] = "mouseWheel";
1309
+ })(EmulateTouchFromMouseEventRequestType = Input.EmulateTouchFromMouseEventRequestType || (Input.EmulateTouchFromMouseEventRequestType = {}));
1310
+ })(Input || (Input = {}));
1311
+ export var LayerTree;
1312
+ (function (LayerTree) {
1313
+ let ScrollRectType;
1314
+ (function (ScrollRectType) {
1315
+ ScrollRectType["RepaintsOnScroll"] = "RepaintsOnScroll";
1316
+ ScrollRectType["TouchEventHandler"] = "TouchEventHandler";
1317
+ ScrollRectType["WheelEventHandler"] = "WheelEventHandler";
1318
+ })(ScrollRectType = LayerTree.ScrollRectType || (LayerTree.ScrollRectType = {}));
1319
+ })(LayerTree || (LayerTree = {}));
1320
+ /**
1321
+ * Provides access to log entries.
1322
+ */
1323
+ export var Log;
1324
+ (function (Log) {
1325
+ let LogEntrySource;
1326
+ (function (LogEntrySource) {
1327
+ LogEntrySource["XML"] = "xml";
1328
+ LogEntrySource["Javascript"] = "javascript";
1329
+ LogEntrySource["Network"] = "network";
1330
+ LogEntrySource["Storage"] = "storage";
1331
+ LogEntrySource["Appcache"] = "appcache";
1332
+ LogEntrySource["Rendering"] = "rendering";
1333
+ LogEntrySource["Security"] = "security";
1334
+ LogEntrySource["Deprecation"] = "deprecation";
1335
+ LogEntrySource["Worker"] = "worker";
1336
+ LogEntrySource["Violation"] = "violation";
1337
+ LogEntrySource["Intervention"] = "intervention";
1338
+ LogEntrySource["Recommendation"] = "recommendation";
1339
+ LogEntrySource["Other"] = "other";
1340
+ })(LogEntrySource = Log.LogEntrySource || (Log.LogEntrySource = {}));
1341
+ let LogEntryLevel;
1342
+ (function (LogEntryLevel) {
1343
+ LogEntryLevel["Verbose"] = "verbose";
1344
+ LogEntryLevel["Info"] = "info";
1345
+ LogEntryLevel["Warning"] = "warning";
1346
+ LogEntryLevel["Error"] = "error";
1347
+ })(LogEntryLevel = Log.LogEntryLevel || (Log.LogEntryLevel = {}));
1348
+ let LogEntryCategory;
1349
+ (function (LogEntryCategory) {
1350
+ LogEntryCategory["Cors"] = "cors";
1351
+ })(LogEntryCategory = Log.LogEntryCategory || (Log.LogEntryCategory = {}));
1352
+ let ViolationSettingName;
1353
+ (function (ViolationSettingName) {
1354
+ ViolationSettingName["LongTask"] = "longTask";
1355
+ ViolationSettingName["LongLayout"] = "longLayout";
1356
+ ViolationSettingName["BlockedEvent"] = "blockedEvent";
1357
+ ViolationSettingName["BlockedParser"] = "blockedParser";
1358
+ ViolationSettingName["DiscouragedAPIUse"] = "discouragedAPIUse";
1359
+ ViolationSettingName["Handler"] = "handler";
1360
+ ViolationSettingName["RecurringHandler"] = "recurringHandler";
1361
+ })(ViolationSettingName = Log.ViolationSettingName || (Log.ViolationSettingName = {}));
1362
+ })(Log || (Log = {}));
1363
+ /**
1364
+ * This domain allows detailed inspection of media elements.
1365
+ */
1366
+ export var Media;
1367
+ (function (Media) {
1368
+ let PlayerMessageLevel;
1369
+ (function (PlayerMessageLevel) {
1370
+ PlayerMessageLevel["Error"] = "error";
1371
+ PlayerMessageLevel["Warning"] = "warning";
1372
+ PlayerMessageLevel["Info"] = "info";
1373
+ PlayerMessageLevel["Debug"] = "debug";
1374
+ })(PlayerMessageLevel = Media.PlayerMessageLevel || (Media.PlayerMessageLevel = {}));
1375
+ })(Media || (Media = {}));
1376
+ export var Memory;
1377
+ (function (Memory) {
1378
+ /**
1379
+ * Memory pressure level.
1380
+ */
1381
+ let PressureLevel;
1382
+ (function (PressureLevel) {
1383
+ PressureLevel["Moderate"] = "moderate";
1384
+ PressureLevel["Critical"] = "critical";
1385
+ })(PressureLevel = Memory.PressureLevel || (Memory.PressureLevel = {}));
1386
+ })(Memory || (Memory = {}));
1387
+ /**
1388
+ * Network domain allows tracking network activities of the page. It exposes information about http,
1389
+ * file, data and other requests and responses, their headers, bodies, timing, etc.
1390
+ */
1391
+ export var Network;
1392
+ (function (Network) {
1393
+ /**
1394
+ * Resource type as it was perceived by the rendering engine.
1395
+ */
1396
+ let ResourceType;
1397
+ (function (ResourceType) {
1398
+ ResourceType["Document"] = "Document";
1399
+ ResourceType["Stylesheet"] = "Stylesheet";
1400
+ ResourceType["Image"] = "Image";
1401
+ ResourceType["Media"] = "Media";
1402
+ ResourceType["Font"] = "Font";
1403
+ ResourceType["Script"] = "Script";
1404
+ ResourceType["TextTrack"] = "TextTrack";
1405
+ ResourceType["XHR"] = "XHR";
1406
+ ResourceType["Fetch"] = "Fetch";
1407
+ ResourceType["Prefetch"] = "Prefetch";
1408
+ ResourceType["EventSource"] = "EventSource";
1409
+ ResourceType["WebSocket"] = "WebSocket";
1410
+ ResourceType["Manifest"] = "Manifest";
1411
+ ResourceType["SignedExchange"] = "SignedExchange";
1412
+ ResourceType["Ping"] = "Ping";
1413
+ ResourceType["CSPViolationReport"] = "CSPViolationReport";
1414
+ ResourceType["Preflight"] = "Preflight";
1415
+ ResourceType["FedCM"] = "FedCM";
1416
+ ResourceType["Other"] = "Other";
1417
+ })(ResourceType = Network.ResourceType || (Network.ResourceType = {}));
1418
+ /**
1419
+ * Network level fetch failure reason.
1420
+ */
1421
+ let ErrorReason;
1422
+ (function (ErrorReason) {
1423
+ ErrorReason["Failed"] = "Failed";
1424
+ ErrorReason["Aborted"] = "Aborted";
1425
+ ErrorReason["TimedOut"] = "TimedOut";
1426
+ ErrorReason["AccessDenied"] = "AccessDenied";
1427
+ ErrorReason["ConnectionClosed"] = "ConnectionClosed";
1428
+ ErrorReason["ConnectionReset"] = "ConnectionReset";
1429
+ ErrorReason["ConnectionRefused"] = "ConnectionRefused";
1430
+ ErrorReason["ConnectionAborted"] = "ConnectionAborted";
1431
+ ErrorReason["ConnectionFailed"] = "ConnectionFailed";
1432
+ ErrorReason["NameNotResolved"] = "NameNotResolved";
1433
+ ErrorReason["InternetDisconnected"] = "InternetDisconnected";
1434
+ ErrorReason["AddressUnreachable"] = "AddressUnreachable";
1435
+ ErrorReason["BlockedByClient"] = "BlockedByClient";
1436
+ ErrorReason["BlockedByResponse"] = "BlockedByResponse";
1437
+ })(ErrorReason = Network.ErrorReason || (Network.ErrorReason = {}));
1438
+ /**
1439
+ * The underlying connection technology that the browser is supposedly using.
1440
+ */
1441
+ let ConnectionType;
1442
+ (function (ConnectionType) {
1443
+ ConnectionType["None"] = "none";
1444
+ ConnectionType["Cellular2g"] = "cellular2g";
1445
+ ConnectionType["Cellular3g"] = "cellular3g";
1446
+ ConnectionType["Cellular4g"] = "cellular4g";
1447
+ ConnectionType["Bluetooth"] = "bluetooth";
1448
+ ConnectionType["Ethernet"] = "ethernet";
1449
+ ConnectionType["Wifi"] = "wifi";
1450
+ ConnectionType["Wimax"] = "wimax";
1451
+ ConnectionType["Other"] = "other";
1452
+ })(ConnectionType = Network.ConnectionType || (Network.ConnectionType = {}));
1453
+ /**
1454
+ * Represents the cookie's 'SameSite' status:
1455
+ * https://tools.ietf.org/html/draft-west-first-party-cookies
1456
+ */
1457
+ let CookieSameSite;
1458
+ (function (CookieSameSite) {
1459
+ CookieSameSite["Strict"] = "Strict";
1460
+ CookieSameSite["Lax"] = "Lax";
1461
+ CookieSameSite["None"] = "None";
1462
+ })(CookieSameSite = Network.CookieSameSite || (Network.CookieSameSite = {}));
1463
+ /**
1464
+ * Represents the cookie's 'Priority' status:
1465
+ * https://tools.ietf.org/html/draft-west-cookie-priority-00
1466
+ */
1467
+ let CookiePriority;
1468
+ (function (CookiePriority) {
1469
+ CookiePriority["Low"] = "Low";
1470
+ CookiePriority["Medium"] = "Medium";
1471
+ CookiePriority["High"] = "High";
1472
+ })(CookiePriority = Network.CookiePriority || (Network.CookiePriority = {}));
1473
+ /**
1474
+ * Represents the source scheme of the origin that originally set the cookie.
1475
+ * A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
1476
+ * This is a temporary ability and it will be removed in the future.
1477
+ */
1478
+ let CookieSourceScheme;
1479
+ (function (CookieSourceScheme) {
1480
+ CookieSourceScheme["Unset"] = "Unset";
1481
+ CookieSourceScheme["NonSecure"] = "NonSecure";
1482
+ CookieSourceScheme["Secure"] = "Secure";
1483
+ })(CookieSourceScheme = Network.CookieSourceScheme || (Network.CookieSourceScheme = {}));
1484
+ /**
1485
+ * Loading priority of a resource request.
1486
+ */
1487
+ let ResourcePriority;
1488
+ (function (ResourcePriority) {
1489
+ ResourcePriority["VeryLow"] = "VeryLow";
1490
+ ResourcePriority["Low"] = "Low";
1491
+ ResourcePriority["Medium"] = "Medium";
1492
+ ResourcePriority["High"] = "High";
1493
+ ResourcePriority["VeryHigh"] = "VeryHigh";
1494
+ })(ResourcePriority = Network.ResourcePriority || (Network.ResourcePriority = {}));
1495
+ /**
1496
+ * The render-blocking behavior of a resource request.
1497
+ */
1498
+ let RenderBlockingBehavior;
1499
+ (function (RenderBlockingBehavior) {
1500
+ RenderBlockingBehavior["Blocking"] = "Blocking";
1501
+ RenderBlockingBehavior["InBodyParserBlocking"] = "InBodyParserBlocking";
1502
+ RenderBlockingBehavior["NonBlocking"] = "NonBlocking";
1503
+ RenderBlockingBehavior["NonBlockingDynamic"] = "NonBlockingDynamic";
1504
+ RenderBlockingBehavior["PotentiallyBlocking"] = "PotentiallyBlocking";
1505
+ })(RenderBlockingBehavior = Network.RenderBlockingBehavior || (Network.RenderBlockingBehavior = {}));
1506
+ let RequestReferrerPolicy;
1507
+ (function (RequestReferrerPolicy) {
1508
+ RequestReferrerPolicy["UnsafeUrl"] = "unsafe-url";
1509
+ RequestReferrerPolicy["NoReferrerWhenDowngrade"] = "no-referrer-when-downgrade";
1510
+ RequestReferrerPolicy["NoReferrer"] = "no-referrer";
1511
+ RequestReferrerPolicy["Origin"] = "origin";
1512
+ RequestReferrerPolicy["OriginWhenCrossOrigin"] = "origin-when-cross-origin";
1513
+ RequestReferrerPolicy["SameOrigin"] = "same-origin";
1514
+ RequestReferrerPolicy["StrictOrigin"] = "strict-origin";
1515
+ RequestReferrerPolicy["StrictOriginWhenCrossOrigin"] = "strict-origin-when-cross-origin";
1516
+ })(RequestReferrerPolicy = Network.RequestReferrerPolicy || (Network.RequestReferrerPolicy = {}));
1517
+ /**
1518
+ * Whether the request complied with Certificate Transparency policy.
1519
+ */
1520
+ let CertificateTransparencyCompliance;
1521
+ (function (CertificateTransparencyCompliance) {
1522
+ CertificateTransparencyCompliance["Unknown"] = "unknown";
1523
+ CertificateTransparencyCompliance["NotCompliant"] = "not-compliant";
1524
+ CertificateTransparencyCompliance["Compliant"] = "compliant";
1525
+ })(CertificateTransparencyCompliance = Network.CertificateTransparencyCompliance || (Network.CertificateTransparencyCompliance = {}));
1526
+ /**
1527
+ * The reason why request was blocked.
1528
+ */
1529
+ let BlockedReason;
1530
+ (function (BlockedReason) {
1531
+ BlockedReason["Other"] = "other";
1532
+ BlockedReason["Csp"] = "csp";
1533
+ BlockedReason["MixedContent"] = "mixed-content";
1534
+ BlockedReason["Origin"] = "origin";
1535
+ BlockedReason["Inspector"] = "inspector";
1536
+ BlockedReason["Integrity"] = "integrity";
1537
+ BlockedReason["SubresourceFilter"] = "subresource-filter";
1538
+ BlockedReason["ContentType"] = "content-type";
1539
+ BlockedReason["CoepFrameResourceNeedsCoepHeader"] = "coep-frame-resource-needs-coep-header";
1540
+ BlockedReason["CoopSandboxedIframeCannotNavigateToCoopPage"] = "coop-sandboxed-iframe-cannot-navigate-to-coop-page";
1541
+ BlockedReason["CorpNotSameOrigin"] = "corp-not-same-origin";
1542
+ BlockedReason["CorpNotSameOriginAfterDefaultedToSameOriginByCoep"] = "corp-not-same-origin-after-defaulted-to-same-origin-by-coep";
1543
+ BlockedReason["CorpNotSameOriginAfterDefaultedToSameOriginByDip"] = "corp-not-same-origin-after-defaulted-to-same-origin-by-dip";
1544
+ BlockedReason["CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"] = "corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip";
1545
+ BlockedReason["CorpNotSameSite"] = "corp-not-same-site";
1546
+ BlockedReason["SriMessageSignatureMismatch"] = "sri-message-signature-mismatch";
1547
+ })(BlockedReason = Network.BlockedReason || (Network.BlockedReason = {}));
1548
+ /**
1549
+ * The reason why request was blocked.
1550
+ */
1551
+ let CorsError;
1552
+ (function (CorsError) {
1553
+ CorsError["DisallowedByMode"] = "DisallowedByMode";
1554
+ CorsError["InvalidResponse"] = "InvalidResponse";
1555
+ CorsError["WildcardOriginNotAllowed"] = "WildcardOriginNotAllowed";
1556
+ CorsError["MissingAllowOriginHeader"] = "MissingAllowOriginHeader";
1557
+ CorsError["MultipleAllowOriginValues"] = "MultipleAllowOriginValues";
1558
+ CorsError["InvalidAllowOriginValue"] = "InvalidAllowOriginValue";
1559
+ CorsError["AllowOriginMismatch"] = "AllowOriginMismatch";
1560
+ CorsError["InvalidAllowCredentials"] = "InvalidAllowCredentials";
1561
+ CorsError["CorsDisabledScheme"] = "CorsDisabledScheme";
1562
+ CorsError["PreflightInvalidStatus"] = "PreflightInvalidStatus";
1563
+ CorsError["PreflightDisallowedRedirect"] = "PreflightDisallowedRedirect";
1564
+ CorsError["PreflightWildcardOriginNotAllowed"] = "PreflightWildcardOriginNotAllowed";
1565
+ CorsError["PreflightMissingAllowOriginHeader"] = "PreflightMissingAllowOriginHeader";
1566
+ CorsError["PreflightMultipleAllowOriginValues"] = "PreflightMultipleAllowOriginValues";
1567
+ CorsError["PreflightInvalidAllowOriginValue"] = "PreflightInvalidAllowOriginValue";
1568
+ CorsError["PreflightAllowOriginMismatch"] = "PreflightAllowOriginMismatch";
1569
+ CorsError["PreflightInvalidAllowCredentials"] = "PreflightInvalidAllowCredentials";
1570
+ CorsError["PreflightMissingAllowExternal"] = "PreflightMissingAllowExternal";
1571
+ CorsError["PreflightInvalidAllowExternal"] = "PreflightInvalidAllowExternal";
1572
+ CorsError["InvalidAllowMethodsPreflightResponse"] = "InvalidAllowMethodsPreflightResponse";
1573
+ CorsError["InvalidAllowHeadersPreflightResponse"] = "InvalidAllowHeadersPreflightResponse";
1574
+ CorsError["MethodDisallowedByPreflightResponse"] = "MethodDisallowedByPreflightResponse";
1575
+ CorsError["HeaderDisallowedByPreflightResponse"] = "HeaderDisallowedByPreflightResponse";
1576
+ CorsError["RedirectContainsCredentials"] = "RedirectContainsCredentials";
1577
+ CorsError["InsecureLocalNetwork"] = "InsecureLocalNetwork";
1578
+ CorsError["InvalidLocalNetworkAccess"] = "InvalidLocalNetworkAccess";
1579
+ CorsError["NoCorsRedirectModeNotFollow"] = "NoCorsRedirectModeNotFollow";
1580
+ CorsError["LocalNetworkAccessPermissionDenied"] = "LocalNetworkAccessPermissionDenied";
1581
+ })(CorsError = Network.CorsError || (Network.CorsError = {}));
1582
+ /**
1583
+ * Source of serviceworker response.
1584
+ */
1585
+ let ServiceWorkerResponseSource;
1586
+ (function (ServiceWorkerResponseSource) {
1587
+ ServiceWorkerResponseSource["CacheStorage"] = "cache-storage";
1588
+ ServiceWorkerResponseSource["HttpCache"] = "http-cache";
1589
+ ServiceWorkerResponseSource["FallbackCode"] = "fallback-code";
1590
+ ServiceWorkerResponseSource["Network"] = "network";
1591
+ })(ServiceWorkerResponseSource = Network.ServiceWorkerResponseSource || (Network.ServiceWorkerResponseSource = {}));
1592
+ let TrustTokenParamsRefreshPolicy;
1593
+ (function (TrustTokenParamsRefreshPolicy) {
1594
+ TrustTokenParamsRefreshPolicy["UseCached"] = "UseCached";
1595
+ TrustTokenParamsRefreshPolicy["Refresh"] = "Refresh";
1596
+ })(TrustTokenParamsRefreshPolicy = Network.TrustTokenParamsRefreshPolicy || (Network.TrustTokenParamsRefreshPolicy = {}));
1597
+ let TrustTokenOperationType;
1598
+ (function (TrustTokenOperationType) {
1599
+ TrustTokenOperationType["Issuance"] = "Issuance";
1600
+ TrustTokenOperationType["Redemption"] = "Redemption";
1601
+ TrustTokenOperationType["Signing"] = "Signing";
1602
+ })(TrustTokenOperationType = Network.TrustTokenOperationType || (Network.TrustTokenOperationType = {}));
1603
+ /**
1604
+ * The reason why Chrome uses a specific transport protocol for HTTP semantics.
1605
+ */
1606
+ let AlternateProtocolUsage;
1607
+ (function (AlternateProtocolUsage) {
1608
+ AlternateProtocolUsage["AlternativeJobWonWithoutRace"] = "alternativeJobWonWithoutRace";
1609
+ AlternateProtocolUsage["AlternativeJobWonRace"] = "alternativeJobWonRace";
1610
+ AlternateProtocolUsage["MainJobWonRace"] = "mainJobWonRace";
1611
+ AlternateProtocolUsage["MappingMissing"] = "mappingMissing";
1612
+ AlternateProtocolUsage["Broken"] = "broken";
1613
+ AlternateProtocolUsage["DnsAlpnH3JobWonWithoutRace"] = "dnsAlpnH3JobWonWithoutRace";
1614
+ AlternateProtocolUsage["DnsAlpnH3JobWonRace"] = "dnsAlpnH3JobWonRace";
1615
+ AlternateProtocolUsage["UnspecifiedReason"] = "unspecifiedReason";
1616
+ })(AlternateProtocolUsage = Network.AlternateProtocolUsage || (Network.AlternateProtocolUsage = {}));
1617
+ /**
1618
+ * Source of service worker router.
1619
+ */
1620
+ let ServiceWorkerRouterSource;
1621
+ (function (ServiceWorkerRouterSource) {
1622
+ ServiceWorkerRouterSource["Network"] = "network";
1623
+ ServiceWorkerRouterSource["Cache"] = "cache";
1624
+ ServiceWorkerRouterSource["FetchEvent"] = "fetch-event";
1625
+ ServiceWorkerRouterSource["RaceNetworkAndFetchHandler"] = "race-network-and-fetch-handler";
1626
+ ServiceWorkerRouterSource["RaceNetworkAndCache"] = "race-network-and-cache";
1627
+ })(ServiceWorkerRouterSource = Network.ServiceWorkerRouterSource || (Network.ServiceWorkerRouterSource = {}));
1628
+ let InitiatorType;
1629
+ (function (InitiatorType) {
1630
+ InitiatorType["Parser"] = "parser";
1631
+ InitiatorType["Script"] = "script";
1632
+ InitiatorType["Preload"] = "preload";
1633
+ InitiatorType["SignedExchange"] = "SignedExchange";
1634
+ InitiatorType["Preflight"] = "preflight";
1635
+ InitiatorType["FedCM"] = "FedCM";
1636
+ InitiatorType["Other"] = "other";
1637
+ })(InitiatorType = Network.InitiatorType || (Network.InitiatorType = {}));
1638
+ /**
1639
+ * Types of reasons why a cookie may not be stored from a response.
1640
+ */
1641
+ let SetCookieBlockedReason;
1642
+ (function (SetCookieBlockedReason) {
1643
+ SetCookieBlockedReason["SecureOnly"] = "SecureOnly";
1644
+ SetCookieBlockedReason["SameSiteStrict"] = "SameSiteStrict";
1645
+ SetCookieBlockedReason["SameSiteLax"] = "SameSiteLax";
1646
+ SetCookieBlockedReason["SameSiteUnspecifiedTreatedAsLax"] = "SameSiteUnspecifiedTreatedAsLax";
1647
+ SetCookieBlockedReason["SameSiteNoneInsecure"] = "SameSiteNoneInsecure";
1648
+ SetCookieBlockedReason["UserPreferences"] = "UserPreferences";
1649
+ SetCookieBlockedReason["ThirdPartyPhaseout"] = "ThirdPartyPhaseout";
1650
+ SetCookieBlockedReason["SyntaxError"] = "SyntaxError";
1651
+ SetCookieBlockedReason["SchemeNotSupported"] = "SchemeNotSupported";
1652
+ SetCookieBlockedReason["OverwriteSecure"] = "OverwriteSecure";
1653
+ SetCookieBlockedReason["InvalidDomain"] = "InvalidDomain";
1654
+ SetCookieBlockedReason["InvalidPrefix"] = "InvalidPrefix";
1655
+ SetCookieBlockedReason["UnknownError"] = "UnknownError";
1656
+ SetCookieBlockedReason["SchemefulSameSiteStrict"] = "SchemefulSameSiteStrict";
1657
+ SetCookieBlockedReason["SchemefulSameSiteLax"] = "SchemefulSameSiteLax";
1658
+ SetCookieBlockedReason["SchemefulSameSiteUnspecifiedTreatedAsLax"] = "SchemefulSameSiteUnspecifiedTreatedAsLax";
1659
+ SetCookieBlockedReason["NameValuePairExceedsMaxSize"] = "NameValuePairExceedsMaxSize";
1660
+ SetCookieBlockedReason["DisallowedCharacter"] = "DisallowedCharacter";
1661
+ SetCookieBlockedReason["NoCookieContent"] = "NoCookieContent";
1662
+ })(SetCookieBlockedReason = Network.SetCookieBlockedReason || (Network.SetCookieBlockedReason = {}));
1663
+ /**
1664
+ * Types of reasons why a cookie may not be sent with a request.
1665
+ */
1666
+ let CookieBlockedReason;
1667
+ (function (CookieBlockedReason) {
1668
+ CookieBlockedReason["SecureOnly"] = "SecureOnly";
1669
+ CookieBlockedReason["NotOnPath"] = "NotOnPath";
1670
+ CookieBlockedReason["DomainMismatch"] = "DomainMismatch";
1671
+ CookieBlockedReason["SameSiteStrict"] = "SameSiteStrict";
1672
+ CookieBlockedReason["SameSiteLax"] = "SameSiteLax";
1673
+ CookieBlockedReason["SameSiteUnspecifiedTreatedAsLax"] = "SameSiteUnspecifiedTreatedAsLax";
1674
+ CookieBlockedReason["SameSiteNoneInsecure"] = "SameSiteNoneInsecure";
1675
+ CookieBlockedReason["UserPreferences"] = "UserPreferences";
1676
+ CookieBlockedReason["ThirdPartyPhaseout"] = "ThirdPartyPhaseout";
1677
+ CookieBlockedReason["UnknownError"] = "UnknownError";
1678
+ CookieBlockedReason["SchemefulSameSiteStrict"] = "SchemefulSameSiteStrict";
1679
+ CookieBlockedReason["SchemefulSameSiteLax"] = "SchemefulSameSiteLax";
1680
+ CookieBlockedReason["SchemefulSameSiteUnspecifiedTreatedAsLax"] = "SchemefulSameSiteUnspecifiedTreatedAsLax";
1681
+ CookieBlockedReason["NameValuePairExceedsMaxSize"] = "NameValuePairExceedsMaxSize";
1682
+ CookieBlockedReason["PortMismatch"] = "PortMismatch";
1683
+ CookieBlockedReason["SchemeMismatch"] = "SchemeMismatch";
1684
+ CookieBlockedReason["AnonymousContext"] = "AnonymousContext";
1685
+ })(CookieBlockedReason = Network.CookieBlockedReason || (Network.CookieBlockedReason = {}));
1686
+ /**
1687
+ * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
1688
+ */
1689
+ let CookieExemptionReason;
1690
+ (function (CookieExemptionReason) {
1691
+ CookieExemptionReason["None"] = "None";
1692
+ CookieExemptionReason["UserSetting"] = "UserSetting";
1693
+ CookieExemptionReason["EnterprisePolicy"] = "EnterprisePolicy";
1694
+ CookieExemptionReason["StorageAccess"] = "StorageAccess";
1695
+ CookieExemptionReason["TopLevelStorageAccess"] = "TopLevelStorageAccess";
1696
+ CookieExemptionReason["Scheme"] = "Scheme";
1697
+ CookieExemptionReason["SameSiteNoneCookiesInSandbox"] = "SameSiteNoneCookiesInSandbox";
1698
+ })(CookieExemptionReason = Network.CookieExemptionReason || (Network.CookieExemptionReason = {}));
1699
+ let AuthChallengeSource;
1700
+ (function (AuthChallengeSource) {
1701
+ AuthChallengeSource["Server"] = "Server";
1702
+ AuthChallengeSource["Proxy"] = "Proxy";
1703
+ })(AuthChallengeSource = Network.AuthChallengeSource || (Network.AuthChallengeSource = {}));
1704
+ let AuthChallengeResponseResponse;
1705
+ (function (AuthChallengeResponseResponse) {
1706
+ AuthChallengeResponseResponse["Default"] = "Default";
1707
+ AuthChallengeResponseResponse["CancelAuth"] = "CancelAuth";
1708
+ AuthChallengeResponseResponse["ProvideCredentials"] = "ProvideCredentials";
1709
+ })(AuthChallengeResponseResponse = Network.AuthChallengeResponseResponse || (Network.AuthChallengeResponseResponse = {}));
1710
+ /**
1711
+ * Field type for a signed exchange related error.
1712
+ */
1713
+ let SignedExchangeErrorField;
1714
+ (function (SignedExchangeErrorField) {
1715
+ SignedExchangeErrorField["SignatureSig"] = "signatureSig";
1716
+ SignedExchangeErrorField["SignatureIntegrity"] = "signatureIntegrity";
1717
+ SignedExchangeErrorField["SignatureCertUrl"] = "signatureCertUrl";
1718
+ SignedExchangeErrorField["SignatureCertSha256"] = "signatureCertSha256";
1719
+ SignedExchangeErrorField["SignatureValidityUrl"] = "signatureValidityUrl";
1720
+ SignedExchangeErrorField["SignatureTimestamps"] = "signatureTimestamps";
1721
+ })(SignedExchangeErrorField = Network.SignedExchangeErrorField || (Network.SignedExchangeErrorField = {}));
1722
+ let DirectSocketDnsQueryType;
1723
+ (function (DirectSocketDnsQueryType) {
1724
+ DirectSocketDnsQueryType["Ipv4"] = "ipv4";
1725
+ DirectSocketDnsQueryType["Ipv6"] = "ipv6";
1726
+ })(DirectSocketDnsQueryType = Network.DirectSocketDnsQueryType || (Network.DirectSocketDnsQueryType = {}));
1727
+ let LocalNetworkAccessRequestPolicy;
1728
+ (function (LocalNetworkAccessRequestPolicy) {
1729
+ LocalNetworkAccessRequestPolicy["Allow"] = "Allow";
1730
+ LocalNetworkAccessRequestPolicy["BlockFromInsecureToMorePrivate"] = "BlockFromInsecureToMorePrivate";
1731
+ LocalNetworkAccessRequestPolicy["WarnFromInsecureToMorePrivate"] = "WarnFromInsecureToMorePrivate";
1732
+ LocalNetworkAccessRequestPolicy["PermissionBlock"] = "PermissionBlock";
1733
+ LocalNetworkAccessRequestPolicy["PermissionWarn"] = "PermissionWarn";
1734
+ })(LocalNetworkAccessRequestPolicy = Network.LocalNetworkAccessRequestPolicy || (Network.LocalNetworkAccessRequestPolicy = {}));
1735
+ let IPAddressSpace;
1736
+ (function (IPAddressSpace) {
1737
+ IPAddressSpace["Loopback"] = "Loopback";
1738
+ IPAddressSpace["Local"] = "Local";
1739
+ IPAddressSpace["Public"] = "Public";
1740
+ IPAddressSpace["Unknown"] = "Unknown";
1741
+ })(IPAddressSpace = Network.IPAddressSpace || (Network.IPAddressSpace = {}));
1742
+ let CrossOriginOpenerPolicyValue;
1743
+ (function (CrossOriginOpenerPolicyValue) {
1744
+ CrossOriginOpenerPolicyValue["SameOrigin"] = "SameOrigin";
1745
+ CrossOriginOpenerPolicyValue["SameOriginAllowPopups"] = "SameOriginAllowPopups";
1746
+ CrossOriginOpenerPolicyValue["RestrictProperties"] = "RestrictProperties";
1747
+ CrossOriginOpenerPolicyValue["UnsafeNone"] = "UnsafeNone";
1748
+ CrossOriginOpenerPolicyValue["SameOriginPlusCoep"] = "SameOriginPlusCoep";
1749
+ CrossOriginOpenerPolicyValue["RestrictPropertiesPlusCoep"] = "RestrictPropertiesPlusCoep";
1750
+ CrossOriginOpenerPolicyValue["NoopenerAllowPopups"] = "NoopenerAllowPopups";
1751
+ })(CrossOriginOpenerPolicyValue = Network.CrossOriginOpenerPolicyValue || (Network.CrossOriginOpenerPolicyValue = {}));
1752
+ let CrossOriginEmbedderPolicyValue;
1753
+ (function (CrossOriginEmbedderPolicyValue) {
1754
+ CrossOriginEmbedderPolicyValue["None"] = "None";
1755
+ CrossOriginEmbedderPolicyValue["Credentialless"] = "Credentialless";
1756
+ CrossOriginEmbedderPolicyValue["RequireCorp"] = "RequireCorp";
1757
+ })(CrossOriginEmbedderPolicyValue = Network.CrossOriginEmbedderPolicyValue || (Network.CrossOriginEmbedderPolicyValue = {}));
1758
+ let ContentSecurityPolicySource;
1759
+ (function (ContentSecurityPolicySource) {
1760
+ ContentSecurityPolicySource["HTTP"] = "HTTP";
1761
+ ContentSecurityPolicySource["Meta"] = "Meta";
1762
+ })(ContentSecurityPolicySource = Network.ContentSecurityPolicySource || (Network.ContentSecurityPolicySource = {}));
1763
+ /**
1764
+ * The status of a Reporting API report.
1765
+ */
1766
+ let ReportStatus;
1767
+ (function (ReportStatus) {
1768
+ ReportStatus["Queued"] = "Queued";
1769
+ ReportStatus["Pending"] = "Pending";
1770
+ ReportStatus["MarkedForRemoval"] = "MarkedForRemoval";
1771
+ ReportStatus["Success"] = "Success";
1772
+ })(ReportStatus = Network.ReportStatus || (Network.ReportStatus = {}));
1773
+ let DeviceBoundSessionWithUsageUsage;
1774
+ (function (DeviceBoundSessionWithUsageUsage) {
1775
+ DeviceBoundSessionWithUsageUsage["NotInScope"] = "NotInScope";
1776
+ DeviceBoundSessionWithUsageUsage["InScopeRefreshNotYetNeeded"] = "InScopeRefreshNotYetNeeded";
1777
+ DeviceBoundSessionWithUsageUsage["InScopeRefreshNotAllowed"] = "InScopeRefreshNotAllowed";
1778
+ DeviceBoundSessionWithUsageUsage["ProactiveRefreshNotPossible"] = "ProactiveRefreshNotPossible";
1779
+ DeviceBoundSessionWithUsageUsage["ProactiveRefreshAttempted"] = "ProactiveRefreshAttempted";
1780
+ DeviceBoundSessionWithUsageUsage["Deferred"] = "Deferred";
1781
+ })(DeviceBoundSessionWithUsageUsage = Network.DeviceBoundSessionWithUsageUsage || (Network.DeviceBoundSessionWithUsageUsage = {}));
1782
+ let DeviceBoundSessionUrlRuleRuleType;
1783
+ (function (DeviceBoundSessionUrlRuleRuleType) {
1784
+ DeviceBoundSessionUrlRuleRuleType["Exclude"] = "Exclude";
1785
+ DeviceBoundSessionUrlRuleRuleType["Include"] = "Include";
1786
+ })(DeviceBoundSessionUrlRuleRuleType = Network.DeviceBoundSessionUrlRuleRuleType || (Network.DeviceBoundSessionUrlRuleRuleType = {}));
1787
+ /**
1788
+ * A fetch result for a device bound session creation or refresh.
1789
+ * LINT_SKIP.IfChange(DeviceBoundSessionFetchResult)
1790
+ */
1791
+ let DeviceBoundSessionFetchResult;
1792
+ (function (DeviceBoundSessionFetchResult) {
1793
+ DeviceBoundSessionFetchResult["Success"] = "Success";
1794
+ DeviceBoundSessionFetchResult["SigningKeyGenerationError"] = "SigningKeyGenerationError";
1795
+ DeviceBoundSessionFetchResult["AttestationKeyGenerationError"] = "AttestationKeyGenerationError";
1796
+ DeviceBoundSessionFetchResult["SigningError"] = "SigningError";
1797
+ DeviceBoundSessionFetchResult["TransientSigningError"] = "TransientSigningError";
1798
+ DeviceBoundSessionFetchResult["ServerRequestedTermination"] = "ServerRequestedTermination";
1799
+ DeviceBoundSessionFetchResult["InvalidSessionId"] = "InvalidSessionId";
1800
+ DeviceBoundSessionFetchResult["InvalidChallenge"] = "InvalidChallenge";
1801
+ DeviceBoundSessionFetchResult["TooManyChallenges"] = "TooManyChallenges";
1802
+ DeviceBoundSessionFetchResult["InvalidFetcherUrl"] = "InvalidFetcherUrl";
1803
+ DeviceBoundSessionFetchResult["InvalidRefreshUrl"] = "InvalidRefreshUrl";
1804
+ DeviceBoundSessionFetchResult["TransientHttpError"] = "TransientHttpError";
1805
+ DeviceBoundSessionFetchResult["ScopeOriginSameSiteMismatch"] = "ScopeOriginSameSiteMismatch";
1806
+ DeviceBoundSessionFetchResult["RefreshUrlSameSiteMismatch"] = "RefreshUrlSameSiteMismatch";
1807
+ DeviceBoundSessionFetchResult["MismatchedSessionId"] = "MismatchedSessionId";
1808
+ DeviceBoundSessionFetchResult["MissingScope"] = "MissingScope";
1809
+ DeviceBoundSessionFetchResult["NoCredentials"] = "NoCredentials";
1810
+ DeviceBoundSessionFetchResult["SubdomainRegistrationWellKnownUnavailable"] = "SubdomainRegistrationWellKnownUnavailable";
1811
+ DeviceBoundSessionFetchResult["SubdomainRegistrationUnauthorized"] = "SubdomainRegistrationUnauthorized";
1812
+ DeviceBoundSessionFetchResult["SubdomainRegistrationWellKnownMalformed"] = "SubdomainRegistrationWellKnownMalformed";
1813
+ DeviceBoundSessionFetchResult["SessionProviderWellKnownUnavailable"] = "SessionProviderWellKnownUnavailable";
1814
+ DeviceBoundSessionFetchResult["RelyingPartyWellKnownUnavailable"] = "RelyingPartyWellKnownUnavailable";
1815
+ DeviceBoundSessionFetchResult["FederatedKeyThumbprintMismatch"] = "FederatedKeyThumbprintMismatch";
1816
+ DeviceBoundSessionFetchResult["InvalidFederatedSessionUrl"] = "InvalidFederatedSessionUrl";
1817
+ DeviceBoundSessionFetchResult["InvalidFederatedKey"] = "InvalidFederatedKey";
1818
+ DeviceBoundSessionFetchResult["TooManyRelyingOriginLabels"] = "TooManyRelyingOriginLabels";
1819
+ DeviceBoundSessionFetchResult["BoundCookieSetForbidden"] = "BoundCookieSetForbidden";
1820
+ DeviceBoundSessionFetchResult["NetError"] = "NetError";
1821
+ DeviceBoundSessionFetchResult["ProxyError"] = "ProxyError";
1822
+ DeviceBoundSessionFetchResult["EmptySessionConfig"] = "EmptySessionConfig";
1823
+ DeviceBoundSessionFetchResult["InvalidCredentialsConfig"] = "InvalidCredentialsConfig";
1824
+ DeviceBoundSessionFetchResult["InvalidCredentialsType"] = "InvalidCredentialsType";
1825
+ DeviceBoundSessionFetchResult["InvalidCredentialsEmptyName"] = "InvalidCredentialsEmptyName";
1826
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookie"] = "InvalidCredentialsCookie";
1827
+ DeviceBoundSessionFetchResult["PersistentHttpError"] = "PersistentHttpError";
1828
+ DeviceBoundSessionFetchResult["RegistrationAttemptedChallenge"] = "RegistrationAttemptedChallenge";
1829
+ DeviceBoundSessionFetchResult["InvalidScopeOrigin"] = "InvalidScopeOrigin";
1830
+ DeviceBoundSessionFetchResult["ScopeOriginContainsPath"] = "ScopeOriginContainsPath";
1831
+ DeviceBoundSessionFetchResult["RefreshInitiatorNotString"] = "RefreshInitiatorNotString";
1832
+ DeviceBoundSessionFetchResult["RefreshInitiatorInvalidHostPattern"] = "RefreshInitiatorInvalidHostPattern";
1833
+ DeviceBoundSessionFetchResult["InvalidScopeSpecification"] = "InvalidScopeSpecification";
1834
+ DeviceBoundSessionFetchResult["MissingScopeSpecificationType"] = "MissingScopeSpecificationType";
1835
+ DeviceBoundSessionFetchResult["EmptyScopeSpecificationDomain"] = "EmptyScopeSpecificationDomain";
1836
+ DeviceBoundSessionFetchResult["EmptyScopeSpecificationPath"] = "EmptyScopeSpecificationPath";
1837
+ DeviceBoundSessionFetchResult["InvalidScopeSpecificationType"] = "InvalidScopeSpecificationType";
1838
+ DeviceBoundSessionFetchResult["InvalidScopeIncludeSite"] = "InvalidScopeIncludeSite";
1839
+ DeviceBoundSessionFetchResult["MissingScopeIncludeSite"] = "MissingScopeIncludeSite";
1840
+ DeviceBoundSessionFetchResult["FederatedNotAuthorizedByProvider"] = "FederatedNotAuthorizedByProvider";
1841
+ DeviceBoundSessionFetchResult["FederatedNotAuthorizedByRelyingParty"] = "FederatedNotAuthorizedByRelyingParty";
1842
+ DeviceBoundSessionFetchResult["SessionProviderWellKnownMalformed"] = "SessionProviderWellKnownMalformed";
1843
+ DeviceBoundSessionFetchResult["SessionProviderWellKnownHasProviderOrigin"] = "SessionProviderWellKnownHasProviderOrigin";
1844
+ DeviceBoundSessionFetchResult["RelyingPartyWellKnownMalformed"] = "RelyingPartyWellKnownMalformed";
1845
+ DeviceBoundSessionFetchResult["RelyingPartyWellKnownHasRelyingOrigins"] = "RelyingPartyWellKnownHasRelyingOrigins";
1846
+ DeviceBoundSessionFetchResult["InvalidFederatedSessionProviderSessionMissing"] = "InvalidFederatedSessionProviderSessionMissing";
1847
+ DeviceBoundSessionFetchResult["InvalidFederatedSessionWrongProviderOrigin"] = "InvalidFederatedSessionWrongProviderOrigin";
1848
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookieCreationTime"] = "InvalidCredentialsCookieCreationTime";
1849
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookieName"] = "InvalidCredentialsCookieName";
1850
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookieParsing"] = "InvalidCredentialsCookieParsing";
1851
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookieUnpermittedAttribute"] = "InvalidCredentialsCookieUnpermittedAttribute";
1852
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookieInvalidDomain"] = "InvalidCredentialsCookieInvalidDomain";
1853
+ DeviceBoundSessionFetchResult["InvalidCredentialsCookiePrefix"] = "InvalidCredentialsCookiePrefix";
1854
+ DeviceBoundSessionFetchResult["InvalidScopeRulePath"] = "InvalidScopeRulePath";
1855
+ DeviceBoundSessionFetchResult["InvalidScopeRuleHostPattern"] = "InvalidScopeRuleHostPattern";
1856
+ DeviceBoundSessionFetchResult["ScopeRuleOriginScopedHostPatternMismatch"] = "ScopeRuleOriginScopedHostPatternMismatch";
1857
+ DeviceBoundSessionFetchResult["ScopeRuleSiteScopedHostPatternMismatch"] = "ScopeRuleSiteScopedHostPatternMismatch";
1858
+ DeviceBoundSessionFetchResult["SigningQuotaExceeded"] = "SigningQuotaExceeded";
1859
+ DeviceBoundSessionFetchResult["InvalidConfigJson"] = "InvalidConfigJson";
1860
+ DeviceBoundSessionFetchResult["InvalidFederatedSessionProviderFailedToRestoreKey"] = "InvalidFederatedSessionProviderFailedToRestoreKey";
1861
+ DeviceBoundSessionFetchResult["FailedToUnwrapKey"] = "FailedToUnwrapKey";
1862
+ DeviceBoundSessionFetchResult["SessionDeletedDuringRefresh"] = "SessionDeletedDuringRefresh";
1863
+ DeviceBoundSessionFetchResult["CrossOriginRegistrationSiteNotIncluded"] = "CrossOriginRegistrationSiteNotIncluded";
1864
+ DeviceBoundSessionFetchResult["InvalidPreProvisionedKeyInitiatorMissing"] = "InvalidPreProvisionedKeyInitiatorMissing";
1865
+ DeviceBoundSessionFetchResult["PreProvisionedKeyAccessNotGranted"] = "PreProvisionedKeyAccessNotGranted";
1866
+ DeviceBoundSessionFetchResult["PreProvisionedKeyNotFound"] = "PreProvisionedKeyNotFound";
1867
+ DeviceBoundSessionFetchResult["AttestationCertificationError"] = "AttestationCertificationError";
1868
+ DeviceBoundSessionFetchResult["AttestationSigningError"] = "AttestationSigningError";
1869
+ DeviceBoundSessionFetchResult["FederatedRegistrationRedirected"] = "FederatedRegistrationRedirected";
1870
+ })(DeviceBoundSessionFetchResult = Network.DeviceBoundSessionFetchResult || (Network.DeviceBoundSessionFetchResult = {}));
1871
+ let RefreshEventDetailsRefreshResult;
1872
+ (function (RefreshEventDetailsRefreshResult) {
1873
+ RefreshEventDetailsRefreshResult["Refreshed"] = "Refreshed";
1874
+ RefreshEventDetailsRefreshResult["InitializedService"] = "InitializedService";
1875
+ RefreshEventDetailsRefreshResult["Unreachable"] = "Unreachable";
1876
+ RefreshEventDetailsRefreshResult["ServerError"] = "ServerError";
1877
+ RefreshEventDetailsRefreshResult["FatalError"] = "FatalError";
1878
+ RefreshEventDetailsRefreshResult["SigningQuotaExceeded"] = "SigningQuotaExceeded";
1879
+ RefreshEventDetailsRefreshResult["RefreshedAsWaiter"] = "RefreshedAsWaiter";
1880
+ RefreshEventDetailsRefreshResult["TransientSigningError"] = "TransientSigningError";
1881
+ RefreshEventDetailsRefreshResult["InScopeRefreshNotYetNeeded"] = "InScopeRefreshNotYetNeeded";
1882
+ RefreshEventDetailsRefreshResult["Canceled"] = "Canceled";
1883
+ })(RefreshEventDetailsRefreshResult = Network.RefreshEventDetailsRefreshResult || (Network.RefreshEventDetailsRefreshResult = {}));
1884
+ let TerminationEventDetailsDeletionReason;
1885
+ (function (TerminationEventDetailsDeletionReason) {
1886
+ TerminationEventDetailsDeletionReason["Expired"] = "Expired";
1887
+ TerminationEventDetailsDeletionReason["FailedToRestoreKey"] = "FailedToRestoreKey";
1888
+ TerminationEventDetailsDeletionReason["FailedToUnwrapKey"] = "FailedToUnwrapKey";
1889
+ TerminationEventDetailsDeletionReason["StoragePartitionCleared"] = "StoragePartitionCleared";
1890
+ TerminationEventDetailsDeletionReason["ClearBrowsingData"] = "ClearBrowsingData";
1891
+ TerminationEventDetailsDeletionReason["ServerRequested"] = "ServerRequested";
1892
+ TerminationEventDetailsDeletionReason["InvalidSessionParams"] = "InvalidSessionParams";
1893
+ TerminationEventDetailsDeletionReason["RefreshFatalError"] = "RefreshFatalError";
1894
+ TerminationEventDetailsDeletionReason["DevTools"] = "DevTools";
1895
+ TerminationEventDetailsDeletionReason["Replaced"] = "Replaced";
1896
+ })(TerminationEventDetailsDeletionReason = Network.TerminationEventDetailsDeletionReason || (Network.TerminationEventDetailsDeletionReason = {}));
1897
+ let ChallengeEventDetailsChallengeResult;
1898
+ (function (ChallengeEventDetailsChallengeResult) {
1899
+ ChallengeEventDetailsChallengeResult["Success"] = "Success";
1900
+ ChallengeEventDetailsChallengeResult["NoSessionId"] = "NoSessionId";
1901
+ ChallengeEventDetailsChallengeResult["NoSessionMatch"] = "NoSessionMatch";
1902
+ ChallengeEventDetailsChallengeResult["CantSetBoundCookie"] = "CantSetBoundCookie";
1903
+ })(ChallengeEventDetailsChallengeResult = Network.ChallengeEventDetailsChallengeResult || (Network.ChallengeEventDetailsChallengeResult = {}));
1904
+ let TrustTokenOperationDoneEventStatus;
1905
+ (function (TrustTokenOperationDoneEventStatus) {
1906
+ TrustTokenOperationDoneEventStatus["Ok"] = "Ok";
1907
+ TrustTokenOperationDoneEventStatus["InvalidArgument"] = "InvalidArgument";
1908
+ TrustTokenOperationDoneEventStatus["MissingIssuerKeys"] = "MissingIssuerKeys";
1909
+ TrustTokenOperationDoneEventStatus["FailedPrecondition"] = "FailedPrecondition";
1910
+ TrustTokenOperationDoneEventStatus["ResourceExhausted"] = "ResourceExhausted";
1911
+ TrustTokenOperationDoneEventStatus["AlreadyExists"] = "AlreadyExists";
1912
+ TrustTokenOperationDoneEventStatus["ResourceLimited"] = "ResourceLimited";
1913
+ TrustTokenOperationDoneEventStatus["Unauthorized"] = "Unauthorized";
1914
+ TrustTokenOperationDoneEventStatus["BadResponse"] = "BadResponse";
1915
+ TrustTokenOperationDoneEventStatus["InternalError"] = "InternalError";
1916
+ TrustTokenOperationDoneEventStatus["UnknownError"] = "UnknownError";
1917
+ TrustTokenOperationDoneEventStatus["FulfilledLocally"] = "FulfilledLocally";
1918
+ TrustTokenOperationDoneEventStatus["SiteIssuerLimit"] = "SiteIssuerLimit";
1919
+ })(TrustTokenOperationDoneEventStatus = Network.TrustTokenOperationDoneEventStatus || (Network.TrustTokenOperationDoneEventStatus = {}));
1920
+ })(Network || (Network = {}));
1921
+ /**
1922
+ * This domain provides various functionality related to drawing atop the inspected page.
1923
+ */
1924
+ export var Overlay;
1925
+ (function (Overlay) {
1926
+ let LineStylePattern;
1927
+ (function (LineStylePattern) {
1928
+ LineStylePattern["Dashed"] = "dashed";
1929
+ LineStylePattern["Dotted"] = "dotted";
1930
+ })(LineStylePattern = Overlay.LineStylePattern || (Overlay.LineStylePattern = {}));
1931
+ let ContrastAlgorithm;
1932
+ (function (ContrastAlgorithm) {
1933
+ ContrastAlgorithm["Aa"] = "aa";
1934
+ ContrastAlgorithm["Aaa"] = "aaa";
1935
+ ContrastAlgorithm["Apca"] = "apca";
1936
+ })(ContrastAlgorithm = Overlay.ContrastAlgorithm || (Overlay.ContrastAlgorithm = {}));
1937
+ let ColorFormat;
1938
+ (function (ColorFormat) {
1939
+ ColorFormat["Rgb"] = "rgb";
1940
+ ColorFormat["Hsl"] = "hsl";
1941
+ ColorFormat["Hwb"] = "hwb";
1942
+ ColorFormat["Hex"] = "hex";
1943
+ })(ColorFormat = Overlay.ColorFormat || (Overlay.ColorFormat = {}));
1944
+ /**
1945
+ * Supported display cutout shapes.
1946
+ */
1947
+ let DisplayCutoutShape;
1948
+ (function (DisplayCutoutShape) {
1949
+ DisplayCutoutShape["Pill"] = "pill";
1950
+ DisplayCutoutShape["Notch"] = "notch";
1951
+ DisplayCutoutShape["Circle"] = "circle";
1952
+ DisplayCutoutShape["Rectangle"] = "rectangle";
1953
+ })(DisplayCutoutShape = Overlay.DisplayCutoutShape || (Overlay.DisplayCutoutShape = {}));
1954
+ let InspectMode;
1955
+ (function (InspectMode) {
1956
+ InspectMode["SearchForNode"] = "searchForNode";
1957
+ InspectMode["SearchForUAShadowDOM"] = "searchForUAShadowDOM";
1958
+ InspectMode["CaptureAreaScreenshot"] = "captureAreaScreenshot";
1959
+ InspectMode["None"] = "none";
1960
+ })(InspectMode = Overlay.InspectMode || (Overlay.InspectMode = {}));
1961
+ })(Overlay || (Overlay = {}));
1962
+ /**
1963
+ * This domain allows interacting with the browser to control PWAs.
1964
+ */
1965
+ export var PWA;
1966
+ (function (PWA) {
1967
+ /**
1968
+ * If user prefers opening the app in browser or an app window.
1969
+ */
1970
+ let DisplayMode;
1971
+ (function (DisplayMode) {
1972
+ DisplayMode["Standalone"] = "standalone";
1973
+ DisplayMode["Browser"] = "browser";
1974
+ })(DisplayMode = PWA.DisplayMode || (PWA.DisplayMode = {}));
1975
+ })(PWA || (PWA = {}));
1976
+ /**
1977
+ * Actions and events related to the inspected page belong to the page domain.
1978
+ */
1979
+ export var Page;
1980
+ (function (Page) {
1981
+ /**
1982
+ * Indicates whether a frame has been identified as an ad.
1983
+ */
1984
+ let AdFrameType;
1985
+ (function (AdFrameType) {
1986
+ AdFrameType["None"] = "none";
1987
+ AdFrameType["Child"] = "child";
1988
+ AdFrameType["Root"] = "root";
1989
+ })(AdFrameType = Page.AdFrameType || (Page.AdFrameType = {}));
1990
+ let AdFrameExplanation;
1991
+ (function (AdFrameExplanation) {
1992
+ AdFrameExplanation["ParentIsAd"] = "ParentIsAd";
1993
+ AdFrameExplanation["CreatedByAdScript"] = "CreatedByAdScript";
1994
+ AdFrameExplanation["MatchedBlockingRule"] = "MatchedBlockingRule";
1995
+ })(AdFrameExplanation = Page.AdFrameExplanation || (Page.AdFrameExplanation = {}));
1996
+ /**
1997
+ * Indicates whether the frame is a secure context and why it is the case.
1998
+ */
1999
+ let SecureContextType;
2000
+ (function (SecureContextType) {
2001
+ SecureContextType["Secure"] = "Secure";
2002
+ SecureContextType["SecureLocalhost"] = "SecureLocalhost";
2003
+ SecureContextType["InsecureScheme"] = "InsecureScheme";
2004
+ SecureContextType["InsecureAncestor"] = "InsecureAncestor";
2005
+ })(SecureContextType = Page.SecureContextType || (Page.SecureContextType = {}));
2006
+ /**
2007
+ * Indicates whether the frame is cross-origin isolated and why it is the case.
2008
+ */
2009
+ let CrossOriginIsolatedContextType;
2010
+ (function (CrossOriginIsolatedContextType) {
2011
+ CrossOriginIsolatedContextType["Isolated"] = "Isolated";
2012
+ CrossOriginIsolatedContextType["NotIsolated"] = "NotIsolated";
2013
+ CrossOriginIsolatedContextType["NotIsolatedFeatureDisabled"] = "NotIsolatedFeatureDisabled";
2014
+ })(CrossOriginIsolatedContextType = Page.CrossOriginIsolatedContextType || (Page.CrossOriginIsolatedContextType = {}));
2015
+ let GatedAPIFeatures;
2016
+ (function (GatedAPIFeatures) {
2017
+ GatedAPIFeatures["SharedArrayBuffers"] = "SharedArrayBuffers";
2018
+ GatedAPIFeatures["SharedArrayBuffersTransferAllowed"] = "SharedArrayBuffersTransferAllowed";
2019
+ GatedAPIFeatures["PerformanceMeasureMemory"] = "PerformanceMeasureMemory";
2020
+ GatedAPIFeatures["PerformanceProfile"] = "PerformanceProfile";
2021
+ })(GatedAPIFeatures = Page.GatedAPIFeatures || (Page.GatedAPIFeatures = {}));
2022
+ /**
2023
+ * All Permissions Policy features. This enum should match the one defined
2024
+ * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
2025
+ * LINT_SKIP.IfChange(PermissionsPolicyFeature)
2026
+ */
2027
+ let PermissionsPolicyFeature;
2028
+ (function (PermissionsPolicyFeature) {
2029
+ PermissionsPolicyFeature["Accelerometer"] = "accelerometer";
2030
+ PermissionsPolicyFeature["AllScreensCapture"] = "all-screens-capture";
2031
+ PermissionsPolicyFeature["AmbientLightSensor"] = "ambient-light-sensor";
2032
+ PermissionsPolicyFeature["AriaNotify"] = "aria-notify";
2033
+ PermissionsPolicyFeature["Autofill"] = "autofill";
2034
+ PermissionsPolicyFeature["Autoplay"] = "autoplay";
2035
+ PermissionsPolicyFeature["Bluetooth"] = "bluetooth";
2036
+ PermissionsPolicyFeature["BrowsingTopics"] = "browsing-topics";
2037
+ PermissionsPolicyFeature["Camera"] = "camera";
2038
+ PermissionsPolicyFeature["CapturedSurfaceControl"] = "captured-surface-control";
2039
+ PermissionsPolicyFeature["ChDpr"] = "ch-dpr";
2040
+ PermissionsPolicyFeature["ChDeviceMemory"] = "ch-device-memory";
2041
+ PermissionsPolicyFeature["ChDownlink"] = "ch-downlink";
2042
+ PermissionsPolicyFeature["ChEct"] = "ch-ect";
2043
+ PermissionsPolicyFeature["ChPrefersColorScheme"] = "ch-prefers-color-scheme";
2044
+ PermissionsPolicyFeature["ChPrefersReducedMotion"] = "ch-prefers-reduced-motion";
2045
+ PermissionsPolicyFeature["ChPrefersReducedTransparency"] = "ch-prefers-reduced-transparency";
2046
+ PermissionsPolicyFeature["ChRtt"] = "ch-rtt";
2047
+ PermissionsPolicyFeature["ChSaveData"] = "ch-save-data";
2048
+ PermissionsPolicyFeature["ChUa"] = "ch-ua";
2049
+ PermissionsPolicyFeature["ChUaArch"] = "ch-ua-arch";
2050
+ PermissionsPolicyFeature["ChUaBitness"] = "ch-ua-bitness";
2051
+ PermissionsPolicyFeature["ChUaHighEntropyValues"] = "ch-ua-high-entropy-values";
2052
+ PermissionsPolicyFeature["ChUaPlatform"] = "ch-ua-platform";
2053
+ PermissionsPolicyFeature["ChUaModel"] = "ch-ua-model";
2054
+ PermissionsPolicyFeature["ChUaMobile"] = "ch-ua-mobile";
2055
+ PermissionsPolicyFeature["ChUaFormFactors"] = "ch-ua-form-factors";
2056
+ PermissionsPolicyFeature["ChUaFullVersion"] = "ch-ua-full-version";
2057
+ PermissionsPolicyFeature["ChUaFullVersionList"] = "ch-ua-full-version-list";
2058
+ PermissionsPolicyFeature["ChUaPlatformVersion"] = "ch-ua-platform-version";
2059
+ PermissionsPolicyFeature["ChUaWow64"] = "ch-ua-wow64";
2060
+ PermissionsPolicyFeature["ChViewportHeight"] = "ch-viewport-height";
2061
+ PermissionsPolicyFeature["ChViewportWidth"] = "ch-viewport-width";
2062
+ PermissionsPolicyFeature["ChWidth"] = "ch-width";
2063
+ PermissionsPolicyFeature["ClipboardRead"] = "clipboard-read";
2064
+ PermissionsPolicyFeature["ClipboardWrite"] = "clipboard-write";
2065
+ PermissionsPolicyFeature["ComputePressure"] = "compute-pressure";
2066
+ PermissionsPolicyFeature["ControlledFrame"] = "controlled-frame";
2067
+ PermissionsPolicyFeature["CrossOriginIsolated"] = "cross-origin-isolated";
2068
+ PermissionsPolicyFeature["DeferredFetch"] = "deferred-fetch";
2069
+ PermissionsPolicyFeature["DeferredFetchMinimal"] = "deferred-fetch-minimal";
2070
+ PermissionsPolicyFeature["DeviceAttributes"] = "device-attributes";
2071
+ PermissionsPolicyFeature["DigitalCredentialsCreate"] = "digital-credentials-create";
2072
+ PermissionsPolicyFeature["DigitalCredentialsGet"] = "digital-credentials-get";
2073
+ PermissionsPolicyFeature["DirectSockets"] = "direct-sockets";
2074
+ PermissionsPolicyFeature["DirectSocketsMulticast"] = "direct-sockets-multicast";
2075
+ PermissionsPolicyFeature["DisplayCapture"] = "display-capture";
2076
+ PermissionsPolicyFeature["DocumentDomain"] = "document-domain";
2077
+ PermissionsPolicyFeature["EncryptedMedia"] = "encrypted-media";
2078
+ PermissionsPolicyFeature["ExecutionWhileOutOfViewport"] = "execution-while-out-of-viewport";
2079
+ PermissionsPolicyFeature["ExecutionWhileNotRendered"] = "execution-while-not-rendered";
2080
+ PermissionsPolicyFeature["FocusWithoutUserActivation"] = "focus-without-user-activation";
2081
+ PermissionsPolicyFeature["Fullscreen"] = "fullscreen";
2082
+ PermissionsPolicyFeature["Frobulate"] = "frobulate";
2083
+ PermissionsPolicyFeature["Gamepad"] = "gamepad";
2084
+ PermissionsPolicyFeature["Geolocation"] = "geolocation";
2085
+ PermissionsPolicyFeature["Gyroscope"] = "gyroscope";
2086
+ PermissionsPolicyFeature["Haptics"] = "haptics";
2087
+ PermissionsPolicyFeature["Hid"] = "hid";
2088
+ PermissionsPolicyFeature["IdentityCredentialsGet"] = "identity-credentials-get";
2089
+ PermissionsPolicyFeature["IdleDetection"] = "idle-detection";
2090
+ PermissionsPolicyFeature["InterestCohort"] = "interest-cohort";
2091
+ PermissionsPolicyFeature["KeyboardMap"] = "keyboard-map";
2092
+ PermissionsPolicyFeature["LanguageDetector"] = "language-detector";
2093
+ PermissionsPolicyFeature["LanguageModel"] = "language-model";
2094
+ PermissionsPolicyFeature["LocalFonts"] = "local-fonts";
2095
+ PermissionsPolicyFeature["LocalNetwork"] = "local-network";
2096
+ PermissionsPolicyFeature["LocalNetworkAccess"] = "local-network-access";
2097
+ PermissionsPolicyFeature["LoopbackNetwork"] = "loopback-network";
2098
+ PermissionsPolicyFeature["Magnetometer"] = "magnetometer";
2099
+ PermissionsPolicyFeature["ManualText"] = "manual-text";
2100
+ PermissionsPolicyFeature["MediaPlaybackWhileNotVisible"] = "media-playback-while-not-visible";
2101
+ PermissionsPolicyFeature["Microphone"] = "microphone";
2102
+ PermissionsPolicyFeature["Midi"] = "midi";
2103
+ PermissionsPolicyFeature["OnDeviceSpeechRecognition"] = "on-device-speech-recognition";
2104
+ PermissionsPolicyFeature["OtpCredentials"] = "otp-credentials";
2105
+ PermissionsPolicyFeature["Payment"] = "payment";
2106
+ PermissionsPolicyFeature["PictureInPicture"] = "picture-in-picture";
2107
+ PermissionsPolicyFeature["PrivateStateTokenIssuance"] = "private-state-token-issuance";
2108
+ PermissionsPolicyFeature["PrivateStateTokenRedemption"] = "private-state-token-redemption";
2109
+ PermissionsPolicyFeature["PublickeyCredentialsCreate"] = "publickey-credentials-create";
2110
+ PermissionsPolicyFeature["PublickeyCredentialsGet"] = "publickey-credentials-get";
2111
+ PermissionsPolicyFeature["PublickeyCredentialsRemoteClientDataJson"] = "publickey-credentials-remote-client-data-json";
2112
+ PermissionsPolicyFeature["Rewriter"] = "rewriter";
2113
+ PermissionsPolicyFeature["ScreenWakeLock"] = "screen-wake-lock";
2114
+ PermissionsPolicyFeature["Serial"] = "serial";
2115
+ PermissionsPolicyFeature["SmartCard"] = "smart-card";
2116
+ PermissionsPolicyFeature["SpeakerSelection"] = "speaker-selection";
2117
+ PermissionsPolicyFeature["StorageAccess"] = "storage-access";
2118
+ PermissionsPolicyFeature["SubApps"] = "sub-apps";
2119
+ PermissionsPolicyFeature["Summarizer"] = "summarizer";
2120
+ PermissionsPolicyFeature["SyncXhr"] = "sync-xhr";
2121
+ PermissionsPolicyFeature["Tools"] = "tools";
2122
+ PermissionsPolicyFeature["Translator"] = "translator";
2123
+ PermissionsPolicyFeature["UnboundedElement"] = "unbounded-element";
2124
+ PermissionsPolicyFeature["Unload"] = "unload";
2125
+ PermissionsPolicyFeature["Usb"] = "usb";
2126
+ PermissionsPolicyFeature["UsbUnrestricted"] = "usb-unrestricted";
2127
+ PermissionsPolicyFeature["VerticalScroll"] = "vertical-scroll";
2128
+ PermissionsPolicyFeature["WebAppInstallation"] = "web-app-installation";
2129
+ PermissionsPolicyFeature["Webnn"] = "webnn";
2130
+ PermissionsPolicyFeature["WebPrinting"] = "web-printing";
2131
+ PermissionsPolicyFeature["WebShare"] = "web-share";
2132
+ PermissionsPolicyFeature["WindowManagement"] = "window-management";
2133
+ PermissionsPolicyFeature["Writer"] = "writer";
2134
+ PermissionsPolicyFeature["XrSpatialTracking"] = "xr-spatial-tracking";
2135
+ })(PermissionsPolicyFeature = Page.PermissionsPolicyFeature || (Page.PermissionsPolicyFeature = {}));
2136
+ /**
2137
+ * Reason for a permissions policy feature to be disabled.
2138
+ */
2139
+ let PermissionsPolicyBlockReason;
2140
+ (function (PermissionsPolicyBlockReason) {
2141
+ PermissionsPolicyBlockReason["Header"] = "Header";
2142
+ PermissionsPolicyBlockReason["IframeAttribute"] = "IframeAttribute";
2143
+ PermissionsPolicyBlockReason["InFencedFrameTree"] = "InFencedFrameTree";
2144
+ PermissionsPolicyBlockReason["InIsolatedApp"] = "InIsolatedApp";
2145
+ })(PermissionsPolicyBlockReason = Page.PermissionsPolicyBlockReason || (Page.PermissionsPolicyBlockReason = {}));
2146
+ /**
2147
+ * Origin Trial(https://www.chromium.org/blink/origin-trials) support.
2148
+ * Status for an Origin Trial token.
2149
+ */
2150
+ let OriginTrialTokenStatus;
2151
+ (function (OriginTrialTokenStatus) {
2152
+ OriginTrialTokenStatus["Success"] = "Success";
2153
+ OriginTrialTokenStatus["NotSupported"] = "NotSupported";
2154
+ OriginTrialTokenStatus["Insecure"] = "Insecure";
2155
+ OriginTrialTokenStatus["Expired"] = "Expired";
2156
+ OriginTrialTokenStatus["WrongOrigin"] = "WrongOrigin";
2157
+ OriginTrialTokenStatus["InvalidSignature"] = "InvalidSignature";
2158
+ OriginTrialTokenStatus["Malformed"] = "Malformed";
2159
+ OriginTrialTokenStatus["WrongVersion"] = "WrongVersion";
2160
+ OriginTrialTokenStatus["FeatureDisabled"] = "FeatureDisabled";
2161
+ OriginTrialTokenStatus["TokenDisabled"] = "TokenDisabled";
2162
+ OriginTrialTokenStatus["FeatureDisabledForUser"] = "FeatureDisabledForUser";
2163
+ OriginTrialTokenStatus["UnknownTrial"] = "UnknownTrial";
2164
+ })(OriginTrialTokenStatus = Page.OriginTrialTokenStatus || (Page.OriginTrialTokenStatus = {}));
2165
+ /**
2166
+ * Status for an Origin Trial.
2167
+ */
2168
+ let OriginTrialStatus;
2169
+ (function (OriginTrialStatus) {
2170
+ OriginTrialStatus["Enabled"] = "Enabled";
2171
+ OriginTrialStatus["ValidTokenNotProvided"] = "ValidTokenNotProvided";
2172
+ OriginTrialStatus["OSNotSupported"] = "OSNotSupported";
2173
+ OriginTrialStatus["TrialNotAllowed"] = "TrialNotAllowed";
2174
+ })(OriginTrialStatus = Page.OriginTrialStatus || (Page.OriginTrialStatus = {}));
2175
+ let OriginTrialUsageRestriction;
2176
+ (function (OriginTrialUsageRestriction) {
2177
+ OriginTrialUsageRestriction["None"] = "None";
2178
+ OriginTrialUsageRestriction["Subset"] = "Subset";
2179
+ })(OriginTrialUsageRestriction = Page.OriginTrialUsageRestriction || (Page.OriginTrialUsageRestriction = {}));
2180
+ /**
2181
+ * Transition type.
2182
+ */
2183
+ let TransitionType;
2184
+ (function (TransitionType) {
2185
+ TransitionType["Link"] = "link";
2186
+ TransitionType["Typed"] = "typed";
2187
+ TransitionType["Address_bar"] = "address_bar";
2188
+ TransitionType["Auto_bookmark"] = "auto_bookmark";
2189
+ TransitionType["Auto_subframe"] = "auto_subframe";
2190
+ TransitionType["Manual_subframe"] = "manual_subframe";
2191
+ TransitionType["Generated"] = "generated";
2192
+ TransitionType["Auto_toplevel"] = "auto_toplevel";
2193
+ TransitionType["Form_submit"] = "form_submit";
2194
+ TransitionType["Reload"] = "reload";
2195
+ TransitionType["Keyword"] = "keyword";
2196
+ TransitionType["Keyword_generated"] = "keyword_generated";
2197
+ TransitionType["Other"] = "other";
2198
+ })(TransitionType = Page.TransitionType || (Page.TransitionType = {}));
2199
+ /**
2200
+ * Javascript dialog type.
2201
+ */
2202
+ let DialogType;
2203
+ (function (DialogType) {
2204
+ DialogType["Alert"] = "alert";
2205
+ DialogType["Confirm"] = "confirm";
2206
+ DialogType["Prompt"] = "prompt";
2207
+ DialogType["Beforeunload"] = "beforeunload";
2208
+ })(DialogType = Page.DialogType || (Page.DialogType = {}));
2209
+ let ClientNavigationReason;
2210
+ (function (ClientNavigationReason) {
2211
+ ClientNavigationReason["AnchorClick"] = "anchorClick";
2212
+ ClientNavigationReason["FormSubmissionGet"] = "formSubmissionGet";
2213
+ ClientNavigationReason["FormSubmissionPost"] = "formSubmissionPost";
2214
+ ClientNavigationReason["HttpHeaderRefresh"] = "httpHeaderRefresh";
2215
+ ClientNavigationReason["InitialFrameNavigation"] = "initialFrameNavigation";
2216
+ ClientNavigationReason["MetaTagRefresh"] = "metaTagRefresh";
2217
+ ClientNavigationReason["Other"] = "other";
2218
+ ClientNavigationReason["PageBlockInterstitial"] = "pageBlockInterstitial";
2219
+ ClientNavigationReason["Reload"] = "reload";
2220
+ ClientNavigationReason["ScriptInitiated"] = "scriptInitiated";
2221
+ })(ClientNavigationReason = Page.ClientNavigationReason || (Page.ClientNavigationReason = {}));
2222
+ let ClientNavigationDisposition;
2223
+ (function (ClientNavigationDisposition) {
2224
+ ClientNavigationDisposition["CurrentTab"] = "currentTab";
2225
+ ClientNavigationDisposition["NewTab"] = "newTab";
2226
+ ClientNavigationDisposition["NewWindow"] = "newWindow";
2227
+ ClientNavigationDisposition["Download"] = "download";
2228
+ })(ClientNavigationDisposition = Page.ClientNavigationDisposition || (Page.ClientNavigationDisposition = {}));
2229
+ /**
2230
+ * The referring-policy used for the navigation.
2231
+ */
2232
+ let ReferrerPolicy;
2233
+ (function (ReferrerPolicy) {
2234
+ ReferrerPolicy["NoReferrer"] = "noReferrer";
2235
+ ReferrerPolicy["NoReferrerWhenDowngrade"] = "noReferrerWhenDowngrade";
2236
+ ReferrerPolicy["Origin"] = "origin";
2237
+ ReferrerPolicy["OriginWhenCrossOrigin"] = "originWhenCrossOrigin";
2238
+ ReferrerPolicy["SameOrigin"] = "sameOrigin";
2239
+ ReferrerPolicy["StrictOrigin"] = "strictOrigin";
2240
+ ReferrerPolicy["StrictOriginWhenCrossOrigin"] = "strictOriginWhenCrossOrigin";
2241
+ ReferrerPolicy["UnsafeUrl"] = "unsafeUrl";
2242
+ })(ReferrerPolicy = Page.ReferrerPolicy || (Page.ReferrerPolicy = {}));
2243
+ /**
2244
+ * The type of a frameNavigated event.
2245
+ */
2246
+ let NavigationType;
2247
+ (function (NavigationType) {
2248
+ NavigationType["Navigation"] = "Navigation";
2249
+ NavigationType["BackForwardCacheRestore"] = "BackForwardCacheRestore";
2250
+ })(NavigationType = Page.NavigationType || (Page.NavigationType = {}));
2251
+ /**
2252
+ * List of not restored reasons for back-forward cache.
2253
+ */
2254
+ let BackForwardCacheNotRestoredReason;
2255
+ (function (BackForwardCacheNotRestoredReason) {
2256
+ BackForwardCacheNotRestoredReason["NotPrimaryMainFrame"] = "NotPrimaryMainFrame";
2257
+ BackForwardCacheNotRestoredReason["BackForwardCacheDisabled"] = "BackForwardCacheDisabled";
2258
+ BackForwardCacheNotRestoredReason["RelatedActiveContentsExist"] = "RelatedActiveContentsExist";
2259
+ BackForwardCacheNotRestoredReason["HTTPStatusNotOK"] = "HTTPStatusNotOK";
2260
+ BackForwardCacheNotRestoredReason["SchemeNotHTTPOrHTTPS"] = "SchemeNotHTTPOrHTTPS";
2261
+ BackForwardCacheNotRestoredReason["Loading"] = "Loading";
2262
+ BackForwardCacheNotRestoredReason["WasGrantedMediaAccess"] = "WasGrantedMediaAccess";
2263
+ BackForwardCacheNotRestoredReason["DisableForRenderFrameHostCalled"] = "DisableForRenderFrameHostCalled";
2264
+ BackForwardCacheNotRestoredReason["DomainNotAllowed"] = "DomainNotAllowed";
2265
+ BackForwardCacheNotRestoredReason["HTTPMethodNotGET"] = "HTTPMethodNotGET";
2266
+ BackForwardCacheNotRestoredReason["SubframeIsNavigating"] = "SubframeIsNavigating";
2267
+ BackForwardCacheNotRestoredReason["Timeout"] = "Timeout";
2268
+ BackForwardCacheNotRestoredReason["CacheLimit"] = "CacheLimit";
2269
+ BackForwardCacheNotRestoredReason["JavaScriptExecution"] = "JavaScriptExecution";
2270
+ BackForwardCacheNotRestoredReason["RendererProcessKilled"] = "RendererProcessKilled";
2271
+ BackForwardCacheNotRestoredReason["RendererProcessCrashed"] = "RendererProcessCrashed";
2272
+ BackForwardCacheNotRestoredReason["SchedulerTrackedFeatureUsed"] = "SchedulerTrackedFeatureUsed";
2273
+ BackForwardCacheNotRestoredReason["ConflictingBrowsingInstance"] = "ConflictingBrowsingInstance";
2274
+ BackForwardCacheNotRestoredReason["CacheFlushed"] = "CacheFlushed";
2275
+ BackForwardCacheNotRestoredReason["ServiceWorkerVersionActivation"] = "ServiceWorkerVersionActivation";
2276
+ BackForwardCacheNotRestoredReason["SessionRestored"] = "SessionRestored";
2277
+ BackForwardCacheNotRestoredReason["ServiceWorkerPostMessage"] = "ServiceWorkerPostMessage";
2278
+ BackForwardCacheNotRestoredReason["EnteredBackForwardCacheBeforeServiceWorkerHostAdded"] = "EnteredBackForwardCacheBeforeServiceWorkerHostAdded";
2279
+ BackForwardCacheNotRestoredReason["RenderFrameHostReused_SameSite"] = "RenderFrameHostReused_SameSite";
2280
+ BackForwardCacheNotRestoredReason["RenderFrameHostReused_CrossSite"] = "RenderFrameHostReused_CrossSite";
2281
+ BackForwardCacheNotRestoredReason["ServiceWorkerClaim"] = "ServiceWorkerClaim";
2282
+ BackForwardCacheNotRestoredReason["IgnoreEventAndEvict"] = "IgnoreEventAndEvict";
2283
+ BackForwardCacheNotRestoredReason["HaveInnerContents"] = "HaveInnerContents";
2284
+ BackForwardCacheNotRestoredReason["TimeoutPuttingInCache"] = "TimeoutPuttingInCache";
2285
+ BackForwardCacheNotRestoredReason["BackForwardCacheDisabledByLowMemory"] = "BackForwardCacheDisabledByLowMemory";
2286
+ BackForwardCacheNotRestoredReason["BackForwardCacheDisabledByCommandLine"] = "BackForwardCacheDisabledByCommandLine";
2287
+ BackForwardCacheNotRestoredReason["NetworkRequestDatAPIpeDrainedAsBytesConsumer"] = "NetworkRequestDatapipeDrainedAsBytesConsumer";
2288
+ BackForwardCacheNotRestoredReason["NetworkRequestRedirected"] = "NetworkRequestRedirected";
2289
+ BackForwardCacheNotRestoredReason["NetworkRequestTimeout"] = "NetworkRequestTimeout";
2290
+ BackForwardCacheNotRestoredReason["NetworkExceedsBufferLimit"] = "NetworkExceedsBufferLimit";
2291
+ BackForwardCacheNotRestoredReason["NavigationCancelledWhileRestoring"] = "NavigationCancelledWhileRestoring";
2292
+ BackForwardCacheNotRestoredReason["NotMostRecentNavigationEntry"] = "NotMostRecentNavigationEntry";
2293
+ BackForwardCacheNotRestoredReason["BackForwardCacheDisabledForPrerender"] = "BackForwardCacheDisabledForPrerender";
2294
+ BackForwardCacheNotRestoredReason["UserAgentOverrideDiffers"] = "UserAgentOverrideDiffers";
2295
+ BackForwardCacheNotRestoredReason["ForegroundCacheLimit"] = "ForegroundCacheLimit";
2296
+ BackForwardCacheNotRestoredReason["ForwardCacheDisabled"] = "ForwardCacheDisabled";
2297
+ BackForwardCacheNotRestoredReason["BrowsingInstanceNotSwapped"] = "BrowsingInstanceNotSwapped";
2298
+ BackForwardCacheNotRestoredReason["BackForwardCacheDisabledForDelegate"] = "BackForwardCacheDisabledForDelegate";
2299
+ BackForwardCacheNotRestoredReason["UnloadHandlerExistsInMainFrame"] = "UnloadHandlerExistsInMainFrame";
2300
+ BackForwardCacheNotRestoredReason["UnloadHandlerExistsInSubFrame"] = "UnloadHandlerExistsInSubFrame";
2301
+ BackForwardCacheNotRestoredReason["ServiceWorkerUnregistration"] = "ServiceWorkerUnregistration";
2302
+ BackForwardCacheNotRestoredReason["CacheControlNoStore"] = "CacheControlNoStore";
2303
+ BackForwardCacheNotRestoredReason["CacheControlNoStoreCookieModified"] = "CacheControlNoStoreCookieModified";
2304
+ BackForwardCacheNotRestoredReason["CacheControlNoStoreHTTPOnlyCookieModified"] = "CacheControlNoStoreHTTPOnlyCookieModified";
2305
+ BackForwardCacheNotRestoredReason["NoResponseHead"] = "NoResponseHead";
2306
+ BackForwardCacheNotRestoredReason["Unknown"] = "Unknown";
2307
+ BackForwardCacheNotRestoredReason["ActivationNavigationsDisallowedForBug1234857"] = "ActivationNavigationsDisallowedForBug1234857";
2308
+ BackForwardCacheNotRestoredReason["ErrorDocument"] = "ErrorDocument";
2309
+ BackForwardCacheNotRestoredReason["FencedFramesEmbedder"] = "FencedFramesEmbedder";
2310
+ BackForwardCacheNotRestoredReason["CookieDisabled"] = "CookieDisabled";
2311
+ BackForwardCacheNotRestoredReason["HTTPAuthRequired"] = "HTTPAuthRequired";
2312
+ BackForwardCacheNotRestoredReason["CookieFlushed"] = "CookieFlushed";
2313
+ BackForwardCacheNotRestoredReason["BroadcastChannelOnMessage"] = "BroadcastChannelOnMessage";
2314
+ BackForwardCacheNotRestoredReason["WebViewSettingsChanged"] = "WebViewSettingsChanged";
2315
+ BackForwardCacheNotRestoredReason["WebViewJavaScriptObjectChanged"] = "WebViewJavaScriptObjectChanged";
2316
+ BackForwardCacheNotRestoredReason["WebViewMessageListenerInjected"] = "WebViewMessageListenerInjected";
2317
+ BackForwardCacheNotRestoredReason["WebViewSafeBrowsingAllowlistChanged"] = "WebViewSafeBrowsingAllowlistChanged";
2318
+ BackForwardCacheNotRestoredReason["WebViewDocumentStartJavascriptChanged"] = "WebViewDocumentStartJavascriptChanged";
2319
+ BackForwardCacheNotRestoredReason["WebSocket"] = "WebSocket";
2320
+ BackForwardCacheNotRestoredReason["WebTransport"] = "WebTransport";
2321
+ BackForwardCacheNotRestoredReason["WebRTC"] = "WebRTC";
2322
+ BackForwardCacheNotRestoredReason["MainResourceHasCacheControlNoStore"] = "MainResourceHasCacheControlNoStore";
2323
+ BackForwardCacheNotRestoredReason["MainResourceHasCacheControlNoCache"] = "MainResourceHasCacheControlNoCache";
2324
+ BackForwardCacheNotRestoredReason["SubresourceHasCacheControlNoStore"] = "SubresourceHasCacheControlNoStore";
2325
+ BackForwardCacheNotRestoredReason["SubresourceHasCacheControlNoCache"] = "SubresourceHasCacheControlNoCache";
2326
+ BackForwardCacheNotRestoredReason["ContainsPlugins"] = "ContainsPlugins";
2327
+ BackForwardCacheNotRestoredReason["DocumentLoaded"] = "DocumentLoaded";
2328
+ BackForwardCacheNotRestoredReason["OutstandingNetworkRequestOthers"] = "OutstandingNetworkRequestOthers";
2329
+ BackForwardCacheNotRestoredReason["RequestedMIDIPermission"] = "RequestedMIDIPermission";
2330
+ BackForwardCacheNotRestoredReason["RequestedAudioCapturePermission"] = "RequestedAudioCapturePermission";
2331
+ BackForwardCacheNotRestoredReason["RequestedVideoCapturePermission"] = "RequestedVideoCapturePermission";
2332
+ BackForwardCacheNotRestoredReason["RequestedBackForwardCacheBlockedSensors"] = "RequestedBackForwardCacheBlockedSensors";
2333
+ BackForwardCacheNotRestoredReason["RequestedBackgroundWorkPermission"] = "RequestedBackgroundWorkPermission";
2334
+ BackForwardCacheNotRestoredReason["BroadcastChannel"] = "BroadcastChannel";
2335
+ BackForwardCacheNotRestoredReason["WebXR"] = "WebXR";
2336
+ BackForwardCacheNotRestoredReason["SharedWorker"] = "SharedWorker";
2337
+ BackForwardCacheNotRestoredReason["SharedWorkerMessage"] = "SharedWorkerMessage";
2338
+ BackForwardCacheNotRestoredReason["SharedWorkerWithNoActiveClient"] = "SharedWorkerWithNoActiveClient";
2339
+ BackForwardCacheNotRestoredReason["WebLocks"] = "WebLocks";
2340
+ BackForwardCacheNotRestoredReason["WebLocksContention"] = "WebLocksContention";
2341
+ BackForwardCacheNotRestoredReason["WebHID"] = "WebHID";
2342
+ BackForwardCacheNotRestoredReason["WebBluetooth"] = "WebBluetooth";
2343
+ BackForwardCacheNotRestoredReason["WebShare"] = "WebShare";
2344
+ BackForwardCacheNotRestoredReason["RequestedStorageAccessGrant"] = "RequestedStorageAccessGrant";
2345
+ BackForwardCacheNotRestoredReason["WebNfc"] = "WebNfc";
2346
+ BackForwardCacheNotRestoredReason["OutstandingNetworkRequestFetch"] = "OutstandingNetworkRequestFetch";
2347
+ BackForwardCacheNotRestoredReason["OutstandingNetworkRequestXHR"] = "OutstandingNetworkRequestXHR";
2348
+ BackForwardCacheNotRestoredReason["AppBanner"] = "AppBanner";
2349
+ BackForwardCacheNotRestoredReason["Printing"] = "Printing";
2350
+ BackForwardCacheNotRestoredReason["WebDatabase"] = "WebDatabase";
2351
+ BackForwardCacheNotRestoredReason["PictureInPicture"] = "PictureInPicture";
2352
+ BackForwardCacheNotRestoredReason["SpeechRecognizer"] = "SpeechRecognizer";
2353
+ BackForwardCacheNotRestoredReason["IdleManager"] = "IdleManager";
2354
+ BackForwardCacheNotRestoredReason["PaymentManager"] = "PaymentManager";
2355
+ BackForwardCacheNotRestoredReason["SpeechSynthesis"] = "SpeechSynthesis";
2356
+ BackForwardCacheNotRestoredReason["KeyboardLock"] = "KeyboardLock";
2357
+ BackForwardCacheNotRestoredReason["WebOTPService"] = "WebOTPService";
2358
+ BackForwardCacheNotRestoredReason["OutstandingNetworkRequestDirectSocket"] = "OutstandingNetworkRequestDirectSocket";
2359
+ BackForwardCacheNotRestoredReason["InjectedJavascript"] = "InjectedJavascript";
2360
+ BackForwardCacheNotRestoredReason["InjectedStyleSheet"] = "InjectedStyleSheet";
2361
+ BackForwardCacheNotRestoredReason["KeepaliveRequest"] = "KeepaliveRequest";
2362
+ BackForwardCacheNotRestoredReason["IndexedDBEvent"] = "IndexedDBEvent";
2363
+ BackForwardCacheNotRestoredReason["Dummy"] = "Dummy";
2364
+ BackForwardCacheNotRestoredReason["JsNetworkRequestReceivedCacheControlNoStoreResource"] = "JsNetworkRequestReceivedCacheControlNoStoreResource";
2365
+ BackForwardCacheNotRestoredReason["WebRTCUsedWithCCNS"] = "WebRTCUsedWithCCNS";
2366
+ BackForwardCacheNotRestoredReason["WebTransportUsedWithCCNS"] = "WebTransportUsedWithCCNS";
2367
+ BackForwardCacheNotRestoredReason["WebSocketUsedWithCCNS"] = "WebSocketUsedWithCCNS";
2368
+ BackForwardCacheNotRestoredReason["SmartCard"] = "SmartCard";
2369
+ BackForwardCacheNotRestoredReason["LiveMediaStreamTrack"] = "LiveMediaStreamTrack";
2370
+ BackForwardCacheNotRestoredReason["UnloadHandler"] = "UnloadHandler";
2371
+ BackForwardCacheNotRestoredReason["ParserAborted"] = "ParserAborted";
2372
+ BackForwardCacheNotRestoredReason["ContentSecurityHandler"] = "ContentSecurityHandler";
2373
+ BackForwardCacheNotRestoredReason["ContentWebAuthenticationAPI"] = "ContentWebAuthenticationAPI";
2374
+ BackForwardCacheNotRestoredReason["ContentFileChooser"] = "ContentFileChooser";
2375
+ BackForwardCacheNotRestoredReason["ContentSerial"] = "ContentSerial";
2376
+ BackForwardCacheNotRestoredReason["ContentFileSystemAccess"] = "ContentFileSystemAccess";
2377
+ BackForwardCacheNotRestoredReason["ContentMediaDevicesDispatcherHost"] = "ContentMediaDevicesDispatcherHost";
2378
+ BackForwardCacheNotRestoredReason["ContentWebBluetooth"] = "ContentWebBluetooth";
2379
+ BackForwardCacheNotRestoredReason["ContentWebUSB"] = "ContentWebUSB";
2380
+ BackForwardCacheNotRestoredReason["ContentMediaSessionService"] = "ContentMediaSessionService";
2381
+ BackForwardCacheNotRestoredReason["ContentScreenReader"] = "ContentScreenReader";
2382
+ BackForwardCacheNotRestoredReason["ContentDiscarded"] = "ContentDiscarded";
2383
+ BackForwardCacheNotRestoredReason["EmbedderPopupBlockerTabHelper"] = "EmbedderPopupBlockerTabHelper";
2384
+ BackForwardCacheNotRestoredReason["EmbedderSafeBrowsingTriggeredPopupBlocker"] = "EmbedderSafeBrowsingTriggeredPopupBlocker";
2385
+ BackForwardCacheNotRestoredReason["EmbedderSafeBrowsingThreatDetails"] = "EmbedderSafeBrowsingThreatDetails";
2386
+ BackForwardCacheNotRestoredReason["EmbedderAppBannerManager"] = "EmbedderAppBannerManager";
2387
+ BackForwardCacheNotRestoredReason["EmbedderDomDistillerViewerSource"] = "EmbedderDomDistillerViewerSource";
2388
+ BackForwardCacheNotRestoredReason["EmbedderDomDistillerSelfDeletingRequestDelegate"] = "EmbedderDomDistillerSelfDeletingRequestDelegate";
2389
+ BackForwardCacheNotRestoredReason["EmbedderOomInterventionTabHelper"] = "EmbedderOomInterventionTabHelper";
2390
+ BackForwardCacheNotRestoredReason["EmbedderOfflinePage"] = "EmbedderOfflinePage";
2391
+ BackForwardCacheNotRestoredReason["EmbedderChromePasswordManagerClientBindCredentialManager"] = "EmbedderChromePasswordManagerClientBindCredentialManager";
2392
+ BackForwardCacheNotRestoredReason["EmbedderPermissionRequestManager"] = "EmbedderPermissionRequestManager";
2393
+ BackForwardCacheNotRestoredReason["EmbedderModalDialog"] = "EmbedderModalDialog";
2394
+ BackForwardCacheNotRestoredReason["EmbedderExtensions"] = "EmbedderExtensions";
2395
+ BackForwardCacheNotRestoredReason["EmbedderExtensionMessaging"] = "EmbedderExtensionMessaging";
2396
+ BackForwardCacheNotRestoredReason["EmbedderExtensionMessagingForOpenPort"] = "EmbedderExtensionMessagingForOpenPort";
2397
+ BackForwardCacheNotRestoredReason["EmbedderExtensionSentMessageToCachedFrame"] = "EmbedderExtensionSentMessageToCachedFrame";
2398
+ BackForwardCacheNotRestoredReason["EmbedderExtensionFrame"] = "EmbedderExtensionFrame";
2399
+ BackForwardCacheNotRestoredReason["EmbedderPrivilegedWebContents"] = "EmbedderPrivilegedWebContents";
2400
+ BackForwardCacheNotRestoredReason["RequestedByWebViewClient"] = "RequestedByWebViewClient";
2401
+ BackForwardCacheNotRestoredReason["PostMessageByWebViewClient"] = "PostMessageByWebViewClient";
2402
+ BackForwardCacheNotRestoredReason["CacheControlNoStoreDeviceBoundSessionTerminated"] = "CacheControlNoStoreDeviceBoundSessionTerminated";
2403
+ BackForwardCacheNotRestoredReason["CacheLimitPrunedOnModerateMemoryPressure"] = "CacheLimitPrunedOnModerateMemoryPressure";
2404
+ BackForwardCacheNotRestoredReason["CacheLimitPrunedOnCriticalMemoryPressure"] = "CacheLimitPrunedOnCriticalMemoryPressure";
2405
+ })(BackForwardCacheNotRestoredReason = Page.BackForwardCacheNotRestoredReason || (Page.BackForwardCacheNotRestoredReason = {}));
2406
+ /**
2407
+ * Types of not restored reasons for back-forward cache.
2408
+ */
2409
+ let BackForwardCacheNotRestoredReasonType;
2410
+ (function (BackForwardCacheNotRestoredReasonType) {
2411
+ BackForwardCacheNotRestoredReasonType["SupportPending"] = "SupportPending";
2412
+ BackForwardCacheNotRestoredReasonType["PageSupportNeeded"] = "PageSupportNeeded";
2413
+ BackForwardCacheNotRestoredReasonType["Circumstantial"] = "Circumstantial";
2414
+ })(BackForwardCacheNotRestoredReasonType = Page.BackForwardCacheNotRestoredReasonType || (Page.BackForwardCacheNotRestoredReasonType = {}));
2415
+ let CaptureScreenshotRequestFormat;
2416
+ (function (CaptureScreenshotRequestFormat) {
2417
+ CaptureScreenshotRequestFormat["Jpeg"] = "jpeg";
2418
+ CaptureScreenshotRequestFormat["Png"] = "png";
2419
+ CaptureScreenshotRequestFormat["Webp"] = "webp";
2420
+ })(CaptureScreenshotRequestFormat = Page.CaptureScreenshotRequestFormat || (Page.CaptureScreenshotRequestFormat = {}));
2421
+ let CaptureSnapshotRequestFormat;
2422
+ (function (CaptureSnapshotRequestFormat) {
2423
+ CaptureSnapshotRequestFormat["MHTML"] = "mhtml";
2424
+ })(CaptureSnapshotRequestFormat = Page.CaptureSnapshotRequestFormat || (Page.CaptureSnapshotRequestFormat = {}));
2425
+ let PrintToPDFRequestTransferMode;
2426
+ (function (PrintToPDFRequestTransferMode) {
2427
+ PrintToPDFRequestTransferMode["ReturnAsBase64"] = "ReturnAsBase64";
2428
+ PrintToPDFRequestTransferMode["ReturnAsStream"] = "ReturnAsStream";
2429
+ })(PrintToPDFRequestTransferMode = Page.PrintToPDFRequestTransferMode || (Page.PrintToPDFRequestTransferMode = {}));
2430
+ let SetDownloadBehaviorRequestBehavior;
2431
+ (function (SetDownloadBehaviorRequestBehavior) {
2432
+ SetDownloadBehaviorRequestBehavior["Deny"] = "deny";
2433
+ SetDownloadBehaviorRequestBehavior["Allow"] = "allow";
2434
+ SetDownloadBehaviorRequestBehavior["Default"] = "default";
2435
+ })(SetDownloadBehaviorRequestBehavior = Page.SetDownloadBehaviorRequestBehavior || (Page.SetDownloadBehaviorRequestBehavior = {}));
2436
+ let SetTouchEmulationEnabledRequestConfiguration;
2437
+ (function (SetTouchEmulationEnabledRequestConfiguration) {
2438
+ SetTouchEmulationEnabledRequestConfiguration["Mobile"] = "mobile";
2439
+ SetTouchEmulationEnabledRequestConfiguration["Desktop"] = "desktop";
2440
+ })(SetTouchEmulationEnabledRequestConfiguration = Page.SetTouchEmulationEnabledRequestConfiguration || (Page.SetTouchEmulationEnabledRequestConfiguration = {}));
2441
+ let StartScreencastRequestFormat;
2442
+ (function (StartScreencastRequestFormat) {
2443
+ StartScreencastRequestFormat["Jpeg"] = "jpeg";
2444
+ StartScreencastRequestFormat["Png"] = "png";
2445
+ })(StartScreencastRequestFormat = Page.StartScreencastRequestFormat || (Page.StartScreencastRequestFormat = {}));
2446
+ let StartScreenRecordingRequestCaptureArea;
2447
+ (function (StartScreenRecordingRequestCaptureArea) {
2448
+ StartScreenRecordingRequestCaptureArea["Target"] = "target";
2449
+ StartScreenRecordingRequestCaptureArea["BrowserWindow"] = "browserWindow";
2450
+ })(StartScreenRecordingRequestCaptureArea = Page.StartScreenRecordingRequestCaptureArea || (Page.StartScreenRecordingRequestCaptureArea = {}));
2451
+ let SetWebLifecycleStateRequestState;
2452
+ (function (SetWebLifecycleStateRequestState) {
2453
+ SetWebLifecycleStateRequestState["Frozen"] = "frozen";
2454
+ SetWebLifecycleStateRequestState["Active"] = "active";
2455
+ })(SetWebLifecycleStateRequestState = Page.SetWebLifecycleStateRequestState || (Page.SetWebLifecycleStateRequestState = {}));
2456
+ let SetSPCTransactionModeRequestMode;
2457
+ (function (SetSPCTransactionModeRequestMode) {
2458
+ SetSPCTransactionModeRequestMode["None"] = "none";
2459
+ SetSPCTransactionModeRequestMode["AutoAccept"] = "autoAccept";
2460
+ SetSPCTransactionModeRequestMode["AutoChooseToAuthAnotherWay"] = "autoChooseToAuthAnotherWay";
2461
+ SetSPCTransactionModeRequestMode["AutoReject"] = "autoReject";
2462
+ SetSPCTransactionModeRequestMode["AutoOptOut"] = "autoOptOut";
2463
+ })(SetSPCTransactionModeRequestMode = Page.SetSPCTransactionModeRequestMode || (Page.SetSPCTransactionModeRequestMode = {}));
2464
+ let SetRPHRegistrationModeRequestMode;
2465
+ (function (SetRPHRegistrationModeRequestMode) {
2466
+ SetRPHRegistrationModeRequestMode["None"] = "none";
2467
+ SetRPHRegistrationModeRequestMode["AutoAccept"] = "autoAccept";
2468
+ SetRPHRegistrationModeRequestMode["AutoReject"] = "autoReject";
2469
+ })(SetRPHRegistrationModeRequestMode = Page.SetRPHRegistrationModeRequestMode || (Page.SetRPHRegistrationModeRequestMode = {}));
2470
+ let FileChooserOpenedEventMode;
2471
+ (function (FileChooserOpenedEventMode) {
2472
+ FileChooserOpenedEventMode["SelectSingle"] = "selectSingle";
2473
+ FileChooserOpenedEventMode["SelectMultiple"] = "selectMultiple";
2474
+ })(FileChooserOpenedEventMode = Page.FileChooserOpenedEventMode || (Page.FileChooserOpenedEventMode = {}));
2475
+ let FrameDetachedEventReason;
2476
+ (function (FrameDetachedEventReason) {
2477
+ FrameDetachedEventReason["Remove"] = "remove";
2478
+ FrameDetachedEventReason["Swap"] = "swap";
2479
+ })(FrameDetachedEventReason = Page.FrameDetachedEventReason || (Page.FrameDetachedEventReason = {}));
2480
+ let FrameStartedNavigatingEventNavigationType;
2481
+ (function (FrameStartedNavigatingEventNavigationType) {
2482
+ FrameStartedNavigatingEventNavigationType["Reload"] = "reload";
2483
+ FrameStartedNavigatingEventNavigationType["ReloadBypassingCache"] = "reloadBypassingCache";
2484
+ FrameStartedNavigatingEventNavigationType["Restore"] = "restore";
2485
+ FrameStartedNavigatingEventNavigationType["RestoreWithPost"] = "restoreWithPost";
2486
+ FrameStartedNavigatingEventNavigationType["HistorySameDocument"] = "historySameDocument";
2487
+ FrameStartedNavigatingEventNavigationType["HistoryDifferentDocument"] = "historyDifferentDocument";
2488
+ FrameStartedNavigatingEventNavigationType["SameDocument"] = "sameDocument";
2489
+ FrameStartedNavigatingEventNavigationType["DifferentDocument"] = "differentDocument";
2490
+ })(FrameStartedNavigatingEventNavigationType = Page.FrameStartedNavigatingEventNavigationType || (Page.FrameStartedNavigatingEventNavigationType = {}));
2491
+ let DownloadProgressEventState;
2492
+ (function (DownloadProgressEventState) {
2493
+ DownloadProgressEventState["InProgress"] = "inProgress";
2494
+ DownloadProgressEventState["Completed"] = "completed";
2495
+ DownloadProgressEventState["Canceled"] = "canceled";
2496
+ })(DownloadProgressEventState = Page.DownloadProgressEventState || (Page.DownloadProgressEventState = {}));
2497
+ let NavigatedWithinDocumentEventNavigationType;
2498
+ (function (NavigatedWithinDocumentEventNavigationType) {
2499
+ NavigatedWithinDocumentEventNavigationType["Fragment"] = "fragment";
2500
+ NavigatedWithinDocumentEventNavigationType["HistoryAPI"] = "historyApi";
2501
+ NavigatedWithinDocumentEventNavigationType["Other"] = "other";
2502
+ })(NavigatedWithinDocumentEventNavigationType = Page.NavigatedWithinDocumentEventNavigationType || (Page.NavigatedWithinDocumentEventNavigationType = {}));
2503
+ })(Page || (Page = {}));
2504
+ export var Performance;
2505
+ (function (Performance) {
2506
+ let EnableRequestTimeDomain;
2507
+ (function (EnableRequestTimeDomain) {
2508
+ EnableRequestTimeDomain["TimeTicks"] = "timeTicks";
2509
+ EnableRequestTimeDomain["ThreadTicks"] = "threadTicks";
2510
+ })(EnableRequestTimeDomain = Performance.EnableRequestTimeDomain || (Performance.EnableRequestTimeDomain = {}));
2511
+ let SetTimeDomainRequestTimeDomain;
2512
+ (function (SetTimeDomainRequestTimeDomain) {
2513
+ SetTimeDomainRequestTimeDomain["TimeTicks"] = "timeTicks";
2514
+ SetTimeDomainRequestTimeDomain["ThreadTicks"] = "threadTicks";
2515
+ })(SetTimeDomainRequestTimeDomain = Performance.SetTimeDomainRequestTimeDomain || (Performance.SetTimeDomainRequestTimeDomain = {}));
2516
+ })(Performance || (Performance = {}));
2517
+ export var Preload;
2518
+ (function (Preload) {
2519
+ let RuleSetErrorType;
2520
+ (function (RuleSetErrorType) {
2521
+ RuleSetErrorType["SourceIsNotJsonObject"] = "SourceIsNotJsonObject";
2522
+ RuleSetErrorType["InvalidRulesSkipped"] = "InvalidRulesSkipped";
2523
+ RuleSetErrorType["InvalidRulesetLevelTag"] = "InvalidRulesetLevelTag";
2524
+ })(RuleSetErrorType = Preload.RuleSetErrorType || (Preload.RuleSetErrorType = {}));
2525
+ /**
2526
+ * The type of preloading attempted. It corresponds to
2527
+ * mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
2528
+ * isn't being used by clients).
2529
+ */
2530
+ let SpeculationAction;
2531
+ (function (SpeculationAction) {
2532
+ SpeculationAction["Prefetch"] = "Prefetch";
2533
+ SpeculationAction["Prerender"] = "Prerender";
2534
+ SpeculationAction["PrerenderUntilScript"] = "PrerenderUntilScript";
2535
+ })(SpeculationAction = Preload.SpeculationAction || (Preload.SpeculationAction = {}));
2536
+ /**
2537
+ * Corresponds to mojom::SpeculationTargetHint.
2538
+ * See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
2539
+ */
2540
+ let SpeculationTargetHint;
2541
+ (function (SpeculationTargetHint) {
2542
+ SpeculationTargetHint["Blank"] = "Blank";
2543
+ SpeculationTargetHint["Self"] = "Self";
2544
+ })(SpeculationTargetHint = Preload.SpeculationTargetHint || (Preload.SpeculationTargetHint = {}));
2545
+ /**
2546
+ * List of FinalStatus reasons for Prerender2.
2547
+ */
2548
+ let PrerenderFinalStatus;
2549
+ (function (PrerenderFinalStatus) {
2550
+ PrerenderFinalStatus["Activated"] = "Activated";
2551
+ PrerenderFinalStatus["Destroyed"] = "Destroyed";
2552
+ PrerenderFinalStatus["LowEndDevice"] = "LowEndDevice";
2553
+ PrerenderFinalStatus["InvalidSchemeRedirect"] = "InvalidSchemeRedirect";
2554
+ PrerenderFinalStatus["InvalidSchemeNavigation"] = "InvalidSchemeNavigation";
2555
+ PrerenderFinalStatus["NavigationRequestBlockedByCsp"] = "NavigationRequestBlockedByCsp";
2556
+ PrerenderFinalStatus["MojoBinderPolicy"] = "MojoBinderPolicy";
2557
+ PrerenderFinalStatus["RendererProcessCrashed"] = "RendererProcessCrashed";
2558
+ PrerenderFinalStatus["RendererProcessKilled"] = "RendererProcessKilled";
2559
+ PrerenderFinalStatus["Download"] = "Download";
2560
+ PrerenderFinalStatus["TriggerDestroyed"] = "TriggerDestroyed";
2561
+ PrerenderFinalStatus["NavigationNotCommitted"] = "NavigationNotCommitted";
2562
+ PrerenderFinalStatus["NavigationBadHttpStatus"] = "NavigationBadHttpStatus";
2563
+ PrerenderFinalStatus["ClientCertRequested"] = "ClientCertRequested";
2564
+ PrerenderFinalStatus["NavigationRequestNetworkError"] = "NavigationRequestNetworkError";
2565
+ PrerenderFinalStatus["CancelAllHostsForTesting"] = "CancelAllHostsForTesting";
2566
+ PrerenderFinalStatus["DidFailLoad"] = "DidFailLoad";
2567
+ PrerenderFinalStatus["Stop"] = "Stop";
2568
+ PrerenderFinalStatus["SslCertificateError"] = "SslCertificateError";
2569
+ PrerenderFinalStatus["LoginAuthRequested"] = "LoginAuthRequested";
2570
+ PrerenderFinalStatus["UaChangeRequiresReload"] = "UaChangeRequiresReload";
2571
+ PrerenderFinalStatus["BlockedByClient"] = "BlockedByClient";
2572
+ PrerenderFinalStatus["AudioOutputDeviceRequested"] = "AudioOutputDeviceRequested";
2573
+ PrerenderFinalStatus["MixedContent"] = "MixedContent";
2574
+ PrerenderFinalStatus["TriggerBackgrounded"] = "TriggerBackgrounded";
2575
+ PrerenderFinalStatus["MemoryLimitExceeded"] = "MemoryLimitExceeded";
2576
+ PrerenderFinalStatus["DataSaverEnabled"] = "DataSaverEnabled";
2577
+ PrerenderFinalStatus["TriggerUrlHasEffectiveUrl"] = "TriggerUrlHasEffectiveUrl";
2578
+ PrerenderFinalStatus["ActivatedBeforeStarted"] = "ActivatedBeforeStarted";
2579
+ PrerenderFinalStatus["InactivePageRestriction"] = "InactivePageRestriction";
2580
+ PrerenderFinalStatus["StartFailed"] = "StartFailed";
2581
+ PrerenderFinalStatus["TimeoutBackgrounded"] = "TimeoutBackgrounded";
2582
+ PrerenderFinalStatus["CrossSiteRedirectInInitialNavigation"] = "CrossSiteRedirectInInitialNavigation";
2583
+ PrerenderFinalStatus["CrossSiteNavigationInInitialNavigation"] = "CrossSiteNavigationInInitialNavigation";
2584
+ PrerenderFinalStatus["SameSiteCrossOriginRedirectNotOptInInInitialNavigation"] = "SameSiteCrossOriginRedirectNotOptInInInitialNavigation";
2585
+ PrerenderFinalStatus["SameSiteCrossOriginNavigationNotOptInInInitialNavigation"] = "SameSiteCrossOriginNavigationNotOptInInInitialNavigation";
2586
+ PrerenderFinalStatus["ActivationNavigationParameterMismatch"] = "ActivationNavigationParameterMismatch";
2587
+ PrerenderFinalStatus["ActivatedInBackground"] = "ActivatedInBackground";
2588
+ PrerenderFinalStatus["EmbedderHostDisallowed"] = "EmbedderHostDisallowed";
2589
+ PrerenderFinalStatus["ActivationNavigationDestroyedBeforeSuccess"] = "ActivationNavigationDestroyedBeforeSuccess";
2590
+ PrerenderFinalStatus["TabClosedByUserGesture"] = "TabClosedByUserGesture";
2591
+ PrerenderFinalStatus["TabClosedWithoutUserGesture"] = "TabClosedWithoutUserGesture";
2592
+ PrerenderFinalStatus["PrimaryMainFrameRendererProcessCrashed"] = "PrimaryMainFrameRendererProcessCrashed";
2593
+ PrerenderFinalStatus["PrimaryMainFrameRendererProcessKilled"] = "PrimaryMainFrameRendererProcessKilled";
2594
+ PrerenderFinalStatus["ActivationFramePolicyNotCompatible"] = "ActivationFramePolicyNotCompatible";
2595
+ PrerenderFinalStatus["PreloadingDisabled"] = "PreloadingDisabled";
2596
+ PrerenderFinalStatus["BatterySaverEnabled"] = "BatterySaverEnabled";
2597
+ PrerenderFinalStatus["ActivatedDuringMainFrameNavigation"] = "ActivatedDuringMainFrameNavigation";
2598
+ PrerenderFinalStatus["PreloadingUnsupportedByWebContents"] = "PreloadingUnsupportedByWebContents";
2599
+ PrerenderFinalStatus["CrossSiteRedirectInMainFrameNavigation"] = "CrossSiteRedirectInMainFrameNavigation";
2600
+ PrerenderFinalStatus["CrossSiteNavigationInMainFrameNavigation"] = "CrossSiteNavigationInMainFrameNavigation";
2601
+ PrerenderFinalStatus["SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"] = "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation";
2602
+ PrerenderFinalStatus["SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"] = "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation";
2603
+ PrerenderFinalStatus["MemoryPressureOnTrigger"] = "MemoryPressureOnTrigger";
2604
+ PrerenderFinalStatus["MemoryPressureAfterTriggered"] = "MemoryPressureAfterTriggered";
2605
+ PrerenderFinalStatus["PrerenderingDisabledByDevTools"] = "PrerenderingDisabledByDevTools";
2606
+ PrerenderFinalStatus["SpeculationRuleRemoved"] = "SpeculationRuleRemoved";
2607
+ PrerenderFinalStatus["ActivatedWithAuxiliaryBrowsingContexts"] = "ActivatedWithAuxiliaryBrowsingContexts";
2608
+ PrerenderFinalStatus["MaxNumOfRunningEagerPrerendersExceeded"] = "MaxNumOfRunningEagerPrerendersExceeded";
2609
+ PrerenderFinalStatus["MaxNumOfRunningNonEagerPrerendersExceeded"] = "MaxNumOfRunningNonEagerPrerendersExceeded";
2610
+ PrerenderFinalStatus["MaxNumOfRunningEmbedderPrerendersExceeded"] = "MaxNumOfRunningEmbedderPrerendersExceeded";
2611
+ PrerenderFinalStatus["PrerenderingUrlHasEffectiveUrl"] = "PrerenderingUrlHasEffectiveUrl";
2612
+ PrerenderFinalStatus["RedirectedPrerenderingUrlHasEffectiveUrl"] = "RedirectedPrerenderingUrlHasEffectiveUrl";
2613
+ PrerenderFinalStatus["ActivationUrlHasEffectiveUrl"] = "ActivationUrlHasEffectiveUrl";
2614
+ PrerenderFinalStatus["JavaScriptInterfaceAdded"] = "JavaScriptInterfaceAdded";
2615
+ PrerenderFinalStatus["JavaScriptInterfaceRemoved"] = "JavaScriptInterfaceRemoved";
2616
+ PrerenderFinalStatus["AllPrerenderingCanceled"] = "AllPrerenderingCanceled";
2617
+ PrerenderFinalStatus["WindowClosed"] = "WindowClosed";
2618
+ PrerenderFinalStatus["SlowNetwork"] = "SlowNetwork";
2619
+ PrerenderFinalStatus["OtherPrerenderedPageActivated"] = "OtherPrerenderedPageActivated";
2620
+ PrerenderFinalStatus["V8OptimizerDisabled"] = "V8OptimizerDisabled";
2621
+ PrerenderFinalStatus["PrerenderFailedDuringPrefetch"] = "PrerenderFailedDuringPrefetch";
2622
+ PrerenderFinalStatus["BrowsingDataRemoved"] = "BrowsingDataRemoved";
2623
+ PrerenderFinalStatus["PrerenderHostReused"] = "PrerenderHostReused";
2624
+ PrerenderFinalStatus["FormSubmitWhenPrerendering"] = "FormSubmitWhenPrerendering";
2625
+ PrerenderFinalStatus["CrossDocumentRestart"] = "CrossDocumentRestart";
2626
+ PrerenderFinalStatus["PrefetchFailedCrossOriginSubframe"] = "PrefetchFailedCrossOriginSubframe";
2627
+ })(PrerenderFinalStatus = Preload.PrerenderFinalStatus || (Preload.PrerenderFinalStatus = {}));
2628
+ /**
2629
+ * Preloading status values, see also PreloadingTriggeringOutcome. This
2630
+ * status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
2631
+ */
2632
+ let PreloadingStatus;
2633
+ (function (PreloadingStatus) {
2634
+ PreloadingStatus["Pending"] = "Pending";
2635
+ PreloadingStatus["Running"] = "Running";
2636
+ PreloadingStatus["Ready"] = "Ready";
2637
+ PreloadingStatus["Success"] = "Success";
2638
+ PreloadingStatus["Failure"] = "Failure";
2639
+ PreloadingStatus["NotSupported"] = "NotSupported";
2640
+ })(PreloadingStatus = Preload.PreloadingStatus || (Preload.PreloadingStatus = {}));
2641
+ /**
2642
+ * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
2643
+ * filter out the ones that aren't necessary to the developers.
2644
+ */
2645
+ let PrefetchStatus;
2646
+ (function (PrefetchStatus) {
2647
+ PrefetchStatus["PrefetchAllowed"] = "PrefetchAllowed";
2648
+ PrefetchStatus["PrefetchFailedIneligibleRedirect"] = "PrefetchFailedIneligibleRedirect";
2649
+ PrefetchStatus["PrefetchFailedInvalidRedirect"] = "PrefetchFailedInvalidRedirect";
2650
+ PrefetchStatus["PrefetchFailedMIMENotSupported"] = "PrefetchFailedMIMENotSupported";
2651
+ PrefetchStatus["PrefetchFailedNetError"] = "PrefetchFailedNetError";
2652
+ PrefetchStatus["PrefetchFailedNon2XX"] = "PrefetchFailedNon2XX";
2653
+ PrefetchStatus["PrefetchEvictedAfterBrowsingDataRemoved"] = "PrefetchEvictedAfterBrowsingDataRemoved";
2654
+ PrefetchStatus["PrefetchEvictedAfterCandidateRemoved"] = "PrefetchEvictedAfterCandidateRemoved";
2655
+ PrefetchStatus["PrefetchEvictedForNewerPrefetch"] = "PrefetchEvictedForNewerPrefetch";
2656
+ PrefetchStatus["PrefetchHeldback"] = "PrefetchHeldback";
2657
+ PrefetchStatus["PrefetchIneligibleRetryAfter"] = "PrefetchIneligibleRetryAfter";
2658
+ PrefetchStatus["PrefetchIsPrivacyDecoy"] = "PrefetchIsPrivacyDecoy";
2659
+ PrefetchStatus["PrefetchIsStale"] = "PrefetchIsStale";
2660
+ PrefetchStatus["PrefetchNotEligibleBlockedByConnectionAllowlist"] = "PrefetchNotEligibleBlockedByConnectionAllowlist";
2661
+ PrefetchStatus["PrefetchNotEligibleBrowserContextOffTheRecord"] = "PrefetchNotEligibleBrowserContextOffTheRecord";
2662
+ PrefetchStatus["PrefetchNotEligibleCrossOrigin"] = "PrefetchNotEligibleCrossOrigin";
2663
+ PrefetchStatus["PrefetchNotEligibleDataSaverEnabled"] = "PrefetchNotEligibleDataSaverEnabled";
2664
+ PrefetchStatus["PrefetchNotEligibleExistingProxy"] = "PrefetchNotEligibleExistingProxy";
2665
+ PrefetchStatus["PrefetchNotEligibleHostIsNonUnique"] = "PrefetchNotEligibleHostIsNonUnique";
2666
+ PrefetchStatus["PrefetchNotEligibleNonDefaultStoragePartition"] = "PrefetchNotEligibleNonDefaultStoragePartition";
2667
+ PrefetchStatus["PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"] = "PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy";
2668
+ PrefetchStatus["PrefetchNotEligibleSchemeIsNotHttps"] = "PrefetchNotEligibleSchemeIsNotHttps";
2669
+ PrefetchStatus["PrefetchNotEligibleUserHasCookies"] = "PrefetchNotEligibleUserHasCookies";
2670
+ PrefetchStatus["PrefetchNotEligibleUserHasServiceWorker"] = "PrefetchNotEligibleUserHasServiceWorker";
2671
+ PrefetchStatus["PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler"] = "PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler";
2672
+ PrefetchStatus["PrefetchNotEligibleRedirectFromServiceWorker"] = "PrefetchNotEligibleRedirectFromServiceWorker";
2673
+ PrefetchStatus["PrefetchNotEligibleRedirectToServiceWorker"] = "PrefetchNotEligibleRedirectToServiceWorker";
2674
+ PrefetchStatus["PrefetchNotEligibleBatterySaverEnabled"] = "PrefetchNotEligibleBatterySaverEnabled";
2675
+ PrefetchStatus["PrefetchNotEligiblePreloadingDisabled"] = "PrefetchNotEligiblePreloadingDisabled";
2676
+ PrefetchStatus["PrefetchNotFinishedInTime"] = "PrefetchNotFinishedInTime";
2677
+ PrefetchStatus["PrefetchNotStarted"] = "PrefetchNotStarted";
2678
+ PrefetchStatus["PrefetchNotUsedCookiesChanged"] = "PrefetchNotUsedCookiesChanged";
2679
+ PrefetchStatus["PrefetchProxyNotAvailable"] = "PrefetchProxyNotAvailable";
2680
+ PrefetchStatus["PrefetchResponseUsed"] = "PrefetchResponseUsed";
2681
+ PrefetchStatus["PrefetchSuccessfulButNotUsed"] = "PrefetchSuccessfulButNotUsed";
2682
+ PrefetchStatus["PrefetchNotUsedProbeFailed"] = "PrefetchNotUsedProbeFailed";
2683
+ PrefetchStatus["PrefetchCancelledOnUserNavigation"] = "PrefetchCancelledOnUserNavigation";
2684
+ })(PrefetchStatus = Preload.PrefetchStatus || (Preload.PrefetchStatus = {}));
2685
+ })(Preload || (Preload = {}));
2686
+ export var Security;
2687
+ (function (Security) {
2688
+ /**
2689
+ * A description of mixed content (HTTP resources on HTTPS pages), as defined by
2690
+ * https://www.w3.org/TR/mixed-content/#categories
2691
+ */
2692
+ let MixedContentType;
2693
+ (function (MixedContentType) {
2694
+ MixedContentType["Blockable"] = "blockable";
2695
+ MixedContentType["OptionallyBlockable"] = "optionally-blockable";
2696
+ MixedContentType["None"] = "none";
2697
+ })(MixedContentType = Security.MixedContentType || (Security.MixedContentType = {}));
2698
+ /**
2699
+ * The security level of a page or resource.
2700
+ */
2701
+ let SecurityState;
2702
+ (function (SecurityState) {
2703
+ SecurityState["Unknown"] = "unknown";
2704
+ SecurityState["Neutral"] = "neutral";
2705
+ SecurityState["Insecure"] = "insecure";
2706
+ SecurityState["Secure"] = "secure";
2707
+ SecurityState["Info"] = "info";
2708
+ SecurityState["InsecureBroken"] = "insecure-broken";
2709
+ })(SecurityState = Security.SecurityState || (Security.SecurityState = {}));
2710
+ let SafetyTipStatus;
2711
+ (function (SafetyTipStatus) {
2712
+ SafetyTipStatus["BadReputation"] = "badReputation";
2713
+ SafetyTipStatus["Lookalike"] = "lookalike";
2714
+ })(SafetyTipStatus = Security.SafetyTipStatus || (Security.SafetyTipStatus = {}));
2715
+ /**
2716
+ * The action to take when a certificate error occurs. continue will continue processing the
2717
+ * request and cancel will cancel the request.
2718
+ */
2719
+ let CertificateErrorAction;
2720
+ (function (CertificateErrorAction) {
2721
+ CertificateErrorAction["Continue"] = "continue";
2722
+ CertificateErrorAction["Cancel"] = "cancel";
2723
+ })(CertificateErrorAction = Security.CertificateErrorAction || (Security.CertificateErrorAction = {}));
2724
+ })(Security || (Security = {}));
2725
+ export var ServiceWorker;
2726
+ (function (ServiceWorker) {
2727
+ let ServiceWorkerVersionRunningStatus;
2728
+ (function (ServiceWorkerVersionRunningStatus) {
2729
+ ServiceWorkerVersionRunningStatus["Stopped"] = "stopped";
2730
+ ServiceWorkerVersionRunningStatus["Starting"] = "starting";
2731
+ ServiceWorkerVersionRunningStatus["Running"] = "running";
2732
+ ServiceWorkerVersionRunningStatus["Stopping"] = "stopping";
2733
+ })(ServiceWorkerVersionRunningStatus = ServiceWorker.ServiceWorkerVersionRunningStatus || (ServiceWorker.ServiceWorkerVersionRunningStatus = {}));
2734
+ let ServiceWorkerVersionStatus;
2735
+ (function (ServiceWorkerVersionStatus) {
2736
+ ServiceWorkerVersionStatus["New"] = "new";
2737
+ ServiceWorkerVersionStatus["Installing"] = "installing";
2738
+ ServiceWorkerVersionStatus["Installed"] = "installed";
2739
+ ServiceWorkerVersionStatus["Activating"] = "activating";
2740
+ ServiceWorkerVersionStatus["Activated"] = "activated";
2741
+ ServiceWorkerVersionStatus["Redundant"] = "redundant";
2742
+ })(ServiceWorkerVersionStatus = ServiceWorker.ServiceWorkerVersionStatus || (ServiceWorker.ServiceWorkerVersionStatus = {}));
2743
+ let ServiceWorkerRouterSourceType;
2744
+ (function (ServiceWorkerRouterSourceType) {
2745
+ ServiceWorkerRouterSourceType["Cache"] = "cache";
2746
+ ServiceWorkerRouterSourceType["FetchEvent"] = "fetchEvent";
2747
+ ServiceWorkerRouterSourceType["Network"] = "network";
2748
+ ServiceWorkerRouterSourceType["RaceNetworkAndFetchHandler"] = "raceNetworkAndFetchHandler";
2749
+ ServiceWorkerRouterSourceType["RaceNetworkAndCache"] = "raceNetworkAndCache";
2750
+ ServiceWorkerRouterSourceType["SourceDict"] = "sourceDict";
2751
+ })(ServiceWorkerRouterSourceType = ServiceWorker.ServiceWorkerRouterSourceType || (ServiceWorker.ServiceWorkerRouterSourceType = {}));
2752
+ })(ServiceWorker || (ServiceWorker = {}));
2753
+ export var SmartCardEmulation;
2754
+ (function (SmartCardEmulation) {
2755
+ /**
2756
+ * Indicates the PC/SC error code.
2757
+ *
2758
+ * This maps to:
2759
+ * PC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html
2760
+ * Microsoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
2761
+ */
2762
+ let ResultCode;
2763
+ (function (ResultCode) {
2764
+ ResultCode["Success"] = "success";
2765
+ ResultCode["RemovedCard"] = "removed-card";
2766
+ ResultCode["ResetCard"] = "reset-card";
2767
+ ResultCode["UnpoweredCard"] = "unpowered-card";
2768
+ ResultCode["UnresponsiveCard"] = "unresponsive-card";
2769
+ ResultCode["UnsupportedCard"] = "unsupported-card";
2770
+ ResultCode["ReaderUnavailable"] = "reader-unavailable";
2771
+ ResultCode["SharingViolation"] = "sharing-violation";
2772
+ ResultCode["NotTransacted"] = "not-transacted";
2773
+ ResultCode["NoSmartcard"] = "no-smartcard";
2774
+ ResultCode["ProtoMismatch"] = "proto-mismatch";
2775
+ ResultCode["SystemCancelled"] = "system-cancelled";
2776
+ ResultCode["NotReady"] = "not-ready";
2777
+ ResultCode["Cancelled"] = "cancelled";
2778
+ ResultCode["InsufficientBuffer"] = "insufficient-buffer";
2779
+ ResultCode["InvalidHandle"] = "invalid-handle";
2780
+ ResultCode["InvalidParameter"] = "invalid-parameter";
2781
+ ResultCode["InvalidValue"] = "invalid-value";
2782
+ ResultCode["NoMemory"] = "no-memory";
2783
+ ResultCode["Timeout"] = "timeout";
2784
+ ResultCode["UnknownReader"] = "unknown-reader";
2785
+ ResultCode["UnsupportedFeature"] = "unsupported-feature";
2786
+ ResultCode["NoReadersAvailable"] = "no-readers-available";
2787
+ ResultCode["ServiceStopped"] = "service-stopped";
2788
+ ResultCode["NoService"] = "no-service";
2789
+ ResultCode["CommError"] = "comm-error";
2790
+ ResultCode["InternalError"] = "internal-error";
2791
+ ResultCode["ServerTooBusy"] = "server-too-busy";
2792
+ ResultCode["Unexpected"] = "unexpected";
2793
+ ResultCode["Shutdown"] = "shutdown";
2794
+ ResultCode["UnknownCard"] = "unknown-card";
2795
+ ResultCode["Unknown"] = "unknown";
2796
+ })(ResultCode = SmartCardEmulation.ResultCode || (SmartCardEmulation.ResultCode = {}));
2797
+ /**
2798
+ * Maps to the |SCARD_SHARE_*| values.
2799
+ */
2800
+ let ShareMode;
2801
+ (function (ShareMode) {
2802
+ ShareMode["Shared"] = "shared";
2803
+ ShareMode["Exclusive"] = "exclusive";
2804
+ ShareMode["Direct"] = "direct";
2805
+ })(ShareMode = SmartCardEmulation.ShareMode || (SmartCardEmulation.ShareMode = {}));
2806
+ /**
2807
+ * Indicates what the reader should do with the card.
2808
+ */
2809
+ let Disposition;
2810
+ (function (Disposition) {
2811
+ Disposition["LeaveCard"] = "leave-card";
2812
+ Disposition["ResetCard"] = "reset-card";
2813
+ Disposition["UnpowerCard"] = "unpower-card";
2814
+ Disposition["EjectCard"] = "eject-card";
2815
+ })(Disposition = SmartCardEmulation.Disposition || (SmartCardEmulation.Disposition = {}));
2816
+ /**
2817
+ * Maps to |SCARD_*| connection state values.
2818
+ */
2819
+ let ConnectionState;
2820
+ (function (ConnectionState) {
2821
+ ConnectionState["Absent"] = "absent";
2822
+ ConnectionState["Present"] = "present";
2823
+ ConnectionState["Swallowed"] = "swallowed";
2824
+ ConnectionState["Powered"] = "powered";
2825
+ ConnectionState["Negotiable"] = "negotiable";
2826
+ ConnectionState["Specific"] = "specific";
2827
+ })(ConnectionState = SmartCardEmulation.ConnectionState || (SmartCardEmulation.ConnectionState = {}));
2828
+ /**
2829
+ * Maps to the |SCARD_PROTOCOL_*| values.
2830
+ */
2831
+ let Protocol;
2832
+ (function (Protocol) {
2833
+ Protocol["T0"] = "t0";
2834
+ Protocol["T1"] = "t1";
2835
+ Protocol["Raw"] = "raw";
2836
+ })(Protocol = SmartCardEmulation.Protocol || (SmartCardEmulation.Protocol = {}));
2837
+ })(SmartCardEmulation || (SmartCardEmulation = {}));
2838
+ export var Storage;
2839
+ (function (Storage) {
2840
+ /**
2841
+ * Enum of possible storage types.
2842
+ */
2843
+ let StorageType;
2844
+ (function (StorageType) {
2845
+ StorageType["Cookies"] = "cookies";
2846
+ StorageType["File_systems"] = "file_systems";
2847
+ StorageType["Indexeddb"] = "indexeddb";
2848
+ StorageType["Local_storage"] = "local_storage";
2849
+ StorageType["Shader_cache"] = "shader_cache";
2850
+ StorageType["Websql"] = "websql";
2851
+ StorageType["Service_workers"] = "service_workers";
2852
+ StorageType["Cache_storage"] = "cache_storage";
2853
+ StorageType["Storage_buckets"] = "storage_buckets";
2854
+ StorageType["All"] = "all";
2855
+ StorageType["Other"] = "other";
2856
+ })(StorageType = Storage.StorageType || (Storage.StorageType = {}));
2857
+ let StorageBucketsDurability;
2858
+ (function (StorageBucketsDurability) {
2859
+ StorageBucketsDurability["Relaxed"] = "relaxed";
2860
+ StorageBucketsDurability["Strict"] = "strict";
2861
+ })(StorageBucketsDurability = Storage.StorageBucketsDurability || (Storage.StorageBucketsDurability = {}));
2862
+ })(Storage || (Storage = {}));
2863
+ /**
2864
+ * The SystemInfo domain defines methods and events for querying low-level system information.
2865
+ */
2866
+ export var SystemInfo;
2867
+ (function (SystemInfo) {
2868
+ /**
2869
+ * YUV subsampling type of the pixels of a given image.
2870
+ */
2871
+ let SubsamplingFormat;
2872
+ (function (SubsamplingFormat) {
2873
+ SubsamplingFormat["Yuv420"] = "yuv420";
2874
+ SubsamplingFormat["Yuv422"] = "yuv422";
2875
+ SubsamplingFormat["Yuv444"] = "yuv444";
2876
+ })(SubsamplingFormat = SystemInfo.SubsamplingFormat || (SystemInfo.SubsamplingFormat = {}));
2877
+ /**
2878
+ * Image format of a given image.
2879
+ */
2880
+ let ImageType;
2881
+ (function (ImageType) {
2882
+ ImageType["Jpeg"] = "jpeg";
2883
+ ImageType["Webp"] = "webp";
2884
+ ImageType["Unknown"] = "unknown";
2885
+ })(ImageType = SystemInfo.ImageType || (SystemInfo.ImageType = {}));
2886
+ })(SystemInfo || (SystemInfo = {}));
2887
+ /**
2888
+ * Supports additional targets discovery and allows to attach to them.
2889
+ */
2890
+ export var Target;
2891
+ (function (Target) {
2892
+ /**
2893
+ * The state of the target window.
2894
+ */
2895
+ let WindowState;
2896
+ (function (WindowState) {
2897
+ WindowState["Normal"] = "normal";
2898
+ WindowState["Minimized"] = "minimized";
2899
+ WindowState["Maximized"] = "maximized";
2900
+ WindowState["Fullscreen"] = "fullscreen";
2901
+ })(WindowState = Target.WindowState || (Target.WindowState = {}));
2902
+ })(Target || (Target = {}));
2903
+ export var Tracing;
2904
+ (function (Tracing) {
2905
+ let TraceConfigRecordMode;
2906
+ (function (TraceConfigRecordMode) {
2907
+ TraceConfigRecordMode["RecordUntilFull"] = "recordUntilFull";
2908
+ TraceConfigRecordMode["RecordContinuously"] = "recordContinuously";
2909
+ TraceConfigRecordMode["RecordAsMuchAsPossible"] = "recordAsMuchAsPossible";
2910
+ TraceConfigRecordMode["EchoToConsole"] = "echoToConsole";
2911
+ })(TraceConfigRecordMode = Tracing.TraceConfigRecordMode || (Tracing.TraceConfigRecordMode = {}));
2912
+ /**
2913
+ * Data format of a trace. Can be either the legacy JSON format or the
2914
+ * protocol buffer format. Note that the JSON format will be deprecated soon.
2915
+ */
2916
+ let StreamFormat;
2917
+ (function (StreamFormat) {
2918
+ StreamFormat["Json"] = "json";
2919
+ StreamFormat["Proto"] = "proto";
2920
+ })(StreamFormat = Tracing.StreamFormat || (Tracing.StreamFormat = {}));
2921
+ /**
2922
+ * Compression type to use for traces returned via streams.
2923
+ */
2924
+ let StreamCompression;
2925
+ (function (StreamCompression) {
2926
+ StreamCompression["None"] = "none";
2927
+ StreamCompression["Gzip"] = "gzip";
2928
+ })(StreamCompression = Tracing.StreamCompression || (Tracing.StreamCompression = {}));
2929
+ /**
2930
+ * Details exposed when memory request explicitly declared.
2931
+ * Keep consistent with memory_dump_request_args.h and
2932
+ * memory_instrumentation.mojom
2933
+ */
2934
+ let MemoryDumpLevelOfDetail;
2935
+ (function (MemoryDumpLevelOfDetail) {
2936
+ MemoryDumpLevelOfDetail["Background"] = "background";
2937
+ MemoryDumpLevelOfDetail["Light"] = "light";
2938
+ MemoryDumpLevelOfDetail["Detailed"] = "detailed";
2939
+ })(MemoryDumpLevelOfDetail = Tracing.MemoryDumpLevelOfDetail || (Tracing.MemoryDumpLevelOfDetail = {}));
2940
+ /**
2941
+ * Backend type to use for tracing. `chrome` uses the Chrome-integrated
2942
+ * tracing service and is supported on all platforms. `system` is only
2943
+ * supported on Chrome OS and uses the Perfetto system tracing service.
2944
+ * `auto` chooses `system` when the perfettoConfig provided to Tracing.start
2945
+ * specifies at least one non-Chrome data source; otherwise uses `chrome`.
2946
+ */
2947
+ let TracingBackend;
2948
+ (function (TracingBackend) {
2949
+ TracingBackend["Auto"] = "auto";
2950
+ TracingBackend["Chrome"] = "chrome";
2951
+ TracingBackend["System"] = "system";
2952
+ })(TracingBackend = Tracing.TracingBackend || (Tracing.TracingBackend = {}));
2953
+ let StartRequestTransferMode;
2954
+ (function (StartRequestTransferMode) {
2955
+ StartRequestTransferMode["ReportEvents"] = "ReportEvents";
2956
+ StartRequestTransferMode["ReturnAsStream"] = "ReturnAsStream";
2957
+ })(StartRequestTransferMode = Tracing.StartRequestTransferMode || (Tracing.StartRequestTransferMode = {}));
2958
+ })(Tracing || (Tracing = {}));
2959
+ /**
2960
+ * This domain allows inspection of Web Audio API.
2961
+ * https://webaudio.github.io/web-audio-api/
2962
+ */
2963
+ export var WebAudio;
2964
+ (function (WebAudio) {
2965
+ /**
2966
+ * Enum of BaseAudioContext types
2967
+ */
2968
+ let ContextType;
2969
+ (function (ContextType) {
2970
+ ContextType["Realtime"] = "realtime";
2971
+ ContextType["Offline"] = "offline";
2972
+ })(ContextType = WebAudio.ContextType || (WebAudio.ContextType = {}));
2973
+ /**
2974
+ * Enum of AudioContextState from the spec
2975
+ */
2976
+ let ContextState;
2977
+ (function (ContextState) {
2978
+ ContextState["Suspended"] = "suspended";
2979
+ ContextState["Running"] = "running";
2980
+ ContextState["Closed"] = "closed";
2981
+ ContextState["Interrupted"] = "interrupted";
2982
+ })(ContextState = WebAudio.ContextState || (WebAudio.ContextState = {}));
2983
+ /**
2984
+ * Enum of AudioNode::ChannelCountMode from the spec
2985
+ */
2986
+ let ChannelCountMode;
2987
+ (function (ChannelCountMode) {
2988
+ ChannelCountMode["ClampedMax"] = "clamped-max";
2989
+ ChannelCountMode["Explicit"] = "explicit";
2990
+ ChannelCountMode["Max"] = "max";
2991
+ })(ChannelCountMode = WebAudio.ChannelCountMode || (WebAudio.ChannelCountMode = {}));
2992
+ /**
2993
+ * Enum of AudioNode::ChannelInterpretation from the spec
2994
+ */
2995
+ let ChannelInterpretation;
2996
+ (function (ChannelInterpretation) {
2997
+ ChannelInterpretation["Discrete"] = "discrete";
2998
+ ChannelInterpretation["Speakers"] = "speakers";
2999
+ })(ChannelInterpretation = WebAudio.ChannelInterpretation || (WebAudio.ChannelInterpretation = {}));
3000
+ /**
3001
+ * Enum of AudioParam::AutomationRate from the spec
3002
+ */
3003
+ let AutomationRate;
3004
+ (function (AutomationRate) {
3005
+ AutomationRate["ARate"] = "a-rate";
3006
+ AutomationRate["KRate"] = "k-rate";
3007
+ })(AutomationRate = WebAudio.AutomationRate || (WebAudio.AutomationRate = {}));
3008
+ })(WebAudio || (WebAudio = {}));
3009
+ /**
3010
+ * This domain allows configuring virtual authenticators to test the WebAuthn
3011
+ * API.
3012
+ */
3013
+ export var WebAuthn;
3014
+ (function (WebAuthn) {
3015
+ let AuthenticatorProtocol;
3016
+ (function (AuthenticatorProtocol) {
3017
+ AuthenticatorProtocol["U2f"] = "u2f";
3018
+ AuthenticatorProtocol["Ctap2"] = "ctap2";
3019
+ })(AuthenticatorProtocol = WebAuthn.AuthenticatorProtocol || (WebAuthn.AuthenticatorProtocol = {}));
3020
+ let Ctap2Version;
3021
+ (function (Ctap2Version) {
3022
+ Ctap2Version["Ctap2_0"] = "ctap2_0";
3023
+ Ctap2Version["Ctap2_1"] = "ctap2_1";
3024
+ Ctap2Version["Ctap2_2"] = "ctap2_2";
3025
+ })(Ctap2Version = WebAuthn.Ctap2Version || (WebAuthn.Ctap2Version = {}));
3026
+ /**
3027
+ * LINT_SKIP.IfChange(AuthenticatorTransport)
3028
+ */
3029
+ let AuthenticatorTransport;
3030
+ (function (AuthenticatorTransport) {
3031
+ AuthenticatorTransport["Usb"] = "usb";
3032
+ AuthenticatorTransport["Nfc"] = "nfc";
3033
+ AuthenticatorTransport["Ble"] = "ble";
3034
+ AuthenticatorTransport["Cable"] = "cable";
3035
+ AuthenticatorTransport["Hybrid"] = "hybrid";
3036
+ AuthenticatorTransport["SmartCard"] = "smart-card";
3037
+ AuthenticatorTransport["Internal"] = "internal";
3038
+ })(AuthenticatorTransport = WebAuthn.AuthenticatorTransport || (WebAuthn.AuthenticatorTransport = {}));
3039
+ })(WebAuthn || (WebAuthn = {}));
3040
+ export var WebMCP;
3041
+ (function (WebMCP) {
3042
+ /**
3043
+ * Represents the status of a tool invocation.
3044
+ */
3045
+ let InvocationStatus;
3046
+ (function (InvocationStatus) {
3047
+ InvocationStatus["Completed"] = "Completed";
3048
+ InvocationStatus["Canceled"] = "Canceled";
3049
+ InvocationStatus["Error"] = "Error";
3050
+ })(InvocationStatus = WebMCP.InvocationStatus || (WebMCP.InvocationStatus = {}));
3051
+ })(WebMCP || (WebMCP = {}));
3052
+ /**
3053
+ * Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
3054
+ * breakpoints, stepping through execution, exploring stack traces, etc.
3055
+ */
3056
+ export var Debugger;
3057
+ (function (Debugger) {
3058
+ let ScopeType;
3059
+ (function (ScopeType) {
3060
+ ScopeType["Global"] = "global";
3061
+ ScopeType["Local"] = "local";
3062
+ ScopeType["With"] = "with";
3063
+ ScopeType["Closure"] = "closure";
3064
+ ScopeType["Catch"] = "catch";
3065
+ ScopeType["Block"] = "block";
3066
+ ScopeType["Script"] = "script";
3067
+ ScopeType["Eval"] = "eval";
3068
+ ScopeType["Module"] = "module";
3069
+ ScopeType["WasmExpressionStack"] = "wasm-expression-stack";
3070
+ })(ScopeType = Debugger.ScopeType || (Debugger.ScopeType = {}));
3071
+ let ScopeEmptyReason;
3072
+ (function (ScopeEmptyReason) {
3073
+ ScopeEmptyReason["NoVariables"] = "no-variables";
3074
+ ScopeEmptyReason["AllUnavailable"] = "all-unavailable";
3075
+ })(ScopeEmptyReason = Debugger.ScopeEmptyReason || (Debugger.ScopeEmptyReason = {}));
3076
+ let BreakLocationType;
3077
+ (function (BreakLocationType) {
3078
+ BreakLocationType["DebuggerStatement"] = "debuggerStatement";
3079
+ BreakLocationType["Call"] = "call";
3080
+ BreakLocationType["Return"] = "return";
3081
+ })(BreakLocationType = Debugger.BreakLocationType || (Debugger.BreakLocationType = {}));
3082
+ /**
3083
+ * Enum of possible script languages.
3084
+ */
3085
+ let ScriptLanguage;
3086
+ (function (ScriptLanguage) {
3087
+ ScriptLanguage["JavaScript"] = "JavaScript";
3088
+ ScriptLanguage["WebAssembly"] = "WebAssembly";
3089
+ })(ScriptLanguage = Debugger.ScriptLanguage || (Debugger.ScriptLanguage = {}));
3090
+ let DebugSymbolsType;
3091
+ (function (DebugSymbolsType) {
3092
+ DebugSymbolsType["SourceMap"] = "SourceMap";
3093
+ DebugSymbolsType["EmbeddedDWARF"] = "EmbeddedDWARF";
3094
+ DebugSymbolsType["ExternalDWARF"] = "ExternalDWARF";
3095
+ })(DebugSymbolsType = Debugger.DebugSymbolsType || (Debugger.DebugSymbolsType = {}));
3096
+ let ContinueToLocationRequestTargetCallFrames;
3097
+ (function (ContinueToLocationRequestTargetCallFrames) {
3098
+ ContinueToLocationRequestTargetCallFrames["Any"] = "any";
3099
+ ContinueToLocationRequestTargetCallFrames["Current"] = "current";
3100
+ })(ContinueToLocationRequestTargetCallFrames = Debugger.ContinueToLocationRequestTargetCallFrames || (Debugger.ContinueToLocationRequestTargetCallFrames = {}));
3101
+ let RestartFrameRequestMode;
3102
+ (function (RestartFrameRequestMode) {
3103
+ RestartFrameRequestMode["StepInto"] = "StepInto";
3104
+ })(RestartFrameRequestMode = Debugger.RestartFrameRequestMode || (Debugger.RestartFrameRequestMode = {}));
3105
+ let SetInstrumentationBreakpointRequestInstrumentation;
3106
+ (function (SetInstrumentationBreakpointRequestInstrumentation) {
3107
+ SetInstrumentationBreakpointRequestInstrumentation["BeforeScriptExecution"] = "beforeScriptExecution";
3108
+ SetInstrumentationBreakpointRequestInstrumentation["BeforeScriptWithSourceMapExecution"] = "beforeScriptWithSourceMapExecution";
3109
+ })(SetInstrumentationBreakpointRequestInstrumentation = Debugger.SetInstrumentationBreakpointRequestInstrumentation || (Debugger.SetInstrumentationBreakpointRequestInstrumentation = {}));
3110
+ let SetPauseOnExceptionsRequestState;
3111
+ (function (SetPauseOnExceptionsRequestState) {
3112
+ SetPauseOnExceptionsRequestState["None"] = "none";
3113
+ SetPauseOnExceptionsRequestState["Caught"] = "caught";
3114
+ SetPauseOnExceptionsRequestState["Uncaught"] = "uncaught";
3115
+ SetPauseOnExceptionsRequestState["All"] = "all";
3116
+ })(SetPauseOnExceptionsRequestState = Debugger.SetPauseOnExceptionsRequestState || (Debugger.SetPauseOnExceptionsRequestState = {}));
3117
+ let SetScriptSourceResponseStatus;
3118
+ (function (SetScriptSourceResponseStatus) {
3119
+ SetScriptSourceResponseStatus["Ok"] = "Ok";
3120
+ SetScriptSourceResponseStatus["CompileError"] = "CompileError";
3121
+ SetScriptSourceResponseStatus["BlockedByActiveGenerator"] = "BlockedByActiveGenerator";
3122
+ SetScriptSourceResponseStatus["BlockedByActiveFunction"] = "BlockedByActiveFunction";
3123
+ SetScriptSourceResponseStatus["BlockedByTopLevelEsModuleChange"] = "BlockedByTopLevelEsModuleChange";
3124
+ })(SetScriptSourceResponseStatus = Debugger.SetScriptSourceResponseStatus || (Debugger.SetScriptSourceResponseStatus = {}));
3125
+ let PausedEventReason;
3126
+ (function (PausedEventReason) {
3127
+ PausedEventReason["Ambiguous"] = "ambiguous";
3128
+ PausedEventReason["Assert"] = "assert";
3129
+ PausedEventReason["CSPViolation"] = "CSPViolation";
3130
+ PausedEventReason["DebugCommand"] = "debugCommand";
3131
+ PausedEventReason["DOM"] = "DOM";
3132
+ PausedEventReason["EventListener"] = "EventListener";
3133
+ PausedEventReason["Exception"] = "exception";
3134
+ PausedEventReason["Instrumentation"] = "instrumentation";
3135
+ PausedEventReason["OOM"] = "OOM";
3136
+ PausedEventReason["Other"] = "other";
3137
+ PausedEventReason["PromiseRejection"] = "promiseRejection";
3138
+ PausedEventReason["XHR"] = "XHR";
3139
+ PausedEventReason["Step"] = "step";
3140
+ })(PausedEventReason = Debugger.PausedEventReason || (Debugger.PausedEventReason = {}));
3141
+ })(Debugger || (Debugger = {}));
3142
+ /**
3143
+ * Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects.
3144
+ * Evaluation results are returned as mirror object that expose object type, string representation
3145
+ * and unique identifier that can be used for further object reference. Original objects are
3146
+ * maintained in memory unless they are either explicitly released or are released along with the
3147
+ * other objects in their object group.
3148
+ */
3149
+ export var Runtime;
3150
+ (function (Runtime) {
3151
+ let SerializationOptionsSerialization;
3152
+ (function (SerializationOptionsSerialization) {
3153
+ SerializationOptionsSerialization["Deep"] = "deep";
3154
+ SerializationOptionsSerialization["Json"] = "json";
3155
+ SerializationOptionsSerialization["IdOnly"] = "idOnly";
3156
+ })(SerializationOptionsSerialization = Runtime.SerializationOptionsSerialization || (Runtime.SerializationOptionsSerialization = {}));
3157
+ let DeepSerializedValueType;
3158
+ (function (DeepSerializedValueType) {
3159
+ DeepSerializedValueType["Undefined"] = "undefined";
3160
+ DeepSerializedValueType["Null"] = "null";
3161
+ DeepSerializedValueType["String"] = "string";
3162
+ DeepSerializedValueType["Number"] = "number";
3163
+ DeepSerializedValueType["Boolean"] = "boolean";
3164
+ DeepSerializedValueType["Bigint"] = "bigint";
3165
+ DeepSerializedValueType["Regexp"] = "regexp";
3166
+ DeepSerializedValueType["Date"] = "date";
3167
+ DeepSerializedValueType["Symbol"] = "symbol";
3168
+ DeepSerializedValueType["Array"] = "array";
3169
+ DeepSerializedValueType["Object"] = "object";
3170
+ DeepSerializedValueType["Function"] = "function";
3171
+ DeepSerializedValueType["Map"] = "map";
3172
+ DeepSerializedValueType["Set"] = "set";
3173
+ DeepSerializedValueType["Weakmap"] = "weakmap";
3174
+ DeepSerializedValueType["Weakset"] = "weakset";
3175
+ DeepSerializedValueType["Error"] = "error";
3176
+ DeepSerializedValueType["Proxy"] = "proxy";
3177
+ DeepSerializedValueType["Promise"] = "promise";
3178
+ DeepSerializedValueType["Typedarray"] = "typedarray";
3179
+ DeepSerializedValueType["Arraybuffer"] = "arraybuffer";
3180
+ DeepSerializedValueType["Node"] = "node";
3181
+ DeepSerializedValueType["Window"] = "window";
3182
+ DeepSerializedValueType["Generator"] = "generator";
3183
+ })(DeepSerializedValueType = Runtime.DeepSerializedValueType || (Runtime.DeepSerializedValueType = {}));
3184
+ let RemoteObjectType;
3185
+ (function (RemoteObjectType) {
3186
+ RemoteObjectType["Object"] = "object";
3187
+ RemoteObjectType["Function"] = "function";
3188
+ RemoteObjectType["Undefined"] = "undefined";
3189
+ RemoteObjectType["String"] = "string";
3190
+ RemoteObjectType["Number"] = "number";
3191
+ RemoteObjectType["Boolean"] = "boolean";
3192
+ RemoteObjectType["Symbol"] = "symbol";
3193
+ RemoteObjectType["Bigint"] = "bigint";
3194
+ })(RemoteObjectType = Runtime.RemoteObjectType || (Runtime.RemoteObjectType = {}));
3195
+ let RemoteObjectSubtype;
3196
+ (function (RemoteObjectSubtype) {
3197
+ RemoteObjectSubtype["Array"] = "array";
3198
+ RemoteObjectSubtype["Null"] = "null";
3199
+ RemoteObjectSubtype["Node"] = "node";
3200
+ RemoteObjectSubtype["Regexp"] = "regexp";
3201
+ RemoteObjectSubtype["Date"] = "date";
3202
+ RemoteObjectSubtype["Map"] = "map";
3203
+ RemoteObjectSubtype["Set"] = "set";
3204
+ RemoteObjectSubtype["Weakmap"] = "weakmap";
3205
+ RemoteObjectSubtype["Weakset"] = "weakset";
3206
+ RemoteObjectSubtype["Iterator"] = "iterator";
3207
+ RemoteObjectSubtype["Generator"] = "generator";
3208
+ RemoteObjectSubtype["Error"] = "error";
3209
+ RemoteObjectSubtype["Proxy"] = "proxy";
3210
+ RemoteObjectSubtype["Promise"] = "promise";
3211
+ RemoteObjectSubtype["Typedarray"] = "typedarray";
3212
+ RemoteObjectSubtype["Arraybuffer"] = "arraybuffer";
3213
+ RemoteObjectSubtype["Dataview"] = "dataview";
3214
+ RemoteObjectSubtype["Webassemblymemory"] = "webassemblymemory";
3215
+ RemoteObjectSubtype["Wasmvalue"] = "wasmvalue";
3216
+ RemoteObjectSubtype["Deferredmodule"] = "deferredmodule";
3217
+ RemoteObjectSubtype["Trustedtype"] = "trustedtype";
3218
+ })(RemoteObjectSubtype = Runtime.RemoteObjectSubtype || (Runtime.RemoteObjectSubtype = {}));
3219
+ let ObjectPreviewType;
3220
+ (function (ObjectPreviewType) {
3221
+ ObjectPreviewType["Object"] = "object";
3222
+ ObjectPreviewType["Function"] = "function";
3223
+ ObjectPreviewType["Undefined"] = "undefined";
3224
+ ObjectPreviewType["String"] = "string";
3225
+ ObjectPreviewType["Number"] = "number";
3226
+ ObjectPreviewType["Boolean"] = "boolean";
3227
+ ObjectPreviewType["Symbol"] = "symbol";
3228
+ ObjectPreviewType["Bigint"] = "bigint";
3229
+ })(ObjectPreviewType = Runtime.ObjectPreviewType || (Runtime.ObjectPreviewType = {}));
3230
+ let ObjectPreviewSubtype;
3231
+ (function (ObjectPreviewSubtype) {
3232
+ ObjectPreviewSubtype["Array"] = "array";
3233
+ ObjectPreviewSubtype["Null"] = "null";
3234
+ ObjectPreviewSubtype["Node"] = "node";
3235
+ ObjectPreviewSubtype["Regexp"] = "regexp";
3236
+ ObjectPreviewSubtype["Date"] = "date";
3237
+ ObjectPreviewSubtype["Map"] = "map";
3238
+ ObjectPreviewSubtype["Set"] = "set";
3239
+ ObjectPreviewSubtype["Weakmap"] = "weakmap";
3240
+ ObjectPreviewSubtype["Weakset"] = "weakset";
3241
+ ObjectPreviewSubtype["Iterator"] = "iterator";
3242
+ ObjectPreviewSubtype["Generator"] = "generator";
3243
+ ObjectPreviewSubtype["Error"] = "error";
3244
+ ObjectPreviewSubtype["Proxy"] = "proxy";
3245
+ ObjectPreviewSubtype["Promise"] = "promise";
3246
+ ObjectPreviewSubtype["Typedarray"] = "typedarray";
3247
+ ObjectPreviewSubtype["Arraybuffer"] = "arraybuffer";
3248
+ ObjectPreviewSubtype["Dataview"] = "dataview";
3249
+ ObjectPreviewSubtype["Webassemblymemory"] = "webassemblymemory";
3250
+ ObjectPreviewSubtype["Wasmvalue"] = "wasmvalue";
3251
+ ObjectPreviewSubtype["Deferredmodule"] = "deferredmodule";
3252
+ ObjectPreviewSubtype["Trustedtype"] = "trustedtype";
3253
+ })(ObjectPreviewSubtype = Runtime.ObjectPreviewSubtype || (Runtime.ObjectPreviewSubtype = {}));
3254
+ let PropertyPreviewType;
3255
+ (function (PropertyPreviewType) {
3256
+ PropertyPreviewType["Object"] = "object";
3257
+ PropertyPreviewType["Function"] = "function";
3258
+ PropertyPreviewType["Undefined"] = "undefined";
3259
+ PropertyPreviewType["String"] = "string";
3260
+ PropertyPreviewType["Number"] = "number";
3261
+ PropertyPreviewType["Boolean"] = "boolean";
3262
+ PropertyPreviewType["Symbol"] = "symbol";
3263
+ PropertyPreviewType["Accessor"] = "accessor";
3264
+ PropertyPreviewType["Bigint"] = "bigint";
3265
+ })(PropertyPreviewType = Runtime.PropertyPreviewType || (Runtime.PropertyPreviewType = {}));
3266
+ let PropertyPreviewSubtype;
3267
+ (function (PropertyPreviewSubtype) {
3268
+ PropertyPreviewSubtype["Array"] = "array";
3269
+ PropertyPreviewSubtype["Null"] = "null";
3270
+ PropertyPreviewSubtype["Node"] = "node";
3271
+ PropertyPreviewSubtype["Regexp"] = "regexp";
3272
+ PropertyPreviewSubtype["Date"] = "date";
3273
+ PropertyPreviewSubtype["Map"] = "map";
3274
+ PropertyPreviewSubtype["Set"] = "set";
3275
+ PropertyPreviewSubtype["Weakmap"] = "weakmap";
3276
+ PropertyPreviewSubtype["Weakset"] = "weakset";
3277
+ PropertyPreviewSubtype["Iterator"] = "iterator";
3278
+ PropertyPreviewSubtype["Generator"] = "generator";
3279
+ PropertyPreviewSubtype["Error"] = "error";
3280
+ PropertyPreviewSubtype["Proxy"] = "proxy";
3281
+ PropertyPreviewSubtype["Promise"] = "promise";
3282
+ PropertyPreviewSubtype["Typedarray"] = "typedarray";
3283
+ PropertyPreviewSubtype["Arraybuffer"] = "arraybuffer";
3284
+ PropertyPreviewSubtype["Dataview"] = "dataview";
3285
+ PropertyPreviewSubtype["Webassemblymemory"] = "webassemblymemory";
3286
+ PropertyPreviewSubtype["Wasmvalue"] = "wasmvalue";
3287
+ PropertyPreviewSubtype["Deferredmodule"] = "deferredmodule";
3288
+ PropertyPreviewSubtype["Trustedtype"] = "trustedtype";
3289
+ })(PropertyPreviewSubtype = Runtime.PropertyPreviewSubtype || (Runtime.PropertyPreviewSubtype = {}));
3290
+ let ConsoleAPICalledEventType;
3291
+ (function (ConsoleAPICalledEventType) {
3292
+ ConsoleAPICalledEventType["Log"] = "log";
3293
+ ConsoleAPICalledEventType["Debug"] = "debug";
3294
+ ConsoleAPICalledEventType["Info"] = "info";
3295
+ ConsoleAPICalledEventType["Error"] = "error";
3296
+ ConsoleAPICalledEventType["Warning"] = "warning";
3297
+ ConsoleAPICalledEventType["Dir"] = "dir";
3298
+ ConsoleAPICalledEventType["DirXML"] = "dirxml";
3299
+ ConsoleAPICalledEventType["Table"] = "table";
3300
+ ConsoleAPICalledEventType["Trace"] = "trace";
3301
+ ConsoleAPICalledEventType["Clear"] = "clear";
3302
+ ConsoleAPICalledEventType["StartGroup"] = "startGroup";
3303
+ ConsoleAPICalledEventType["StartGroupCollapsed"] = "startGroupCollapsed";
3304
+ ConsoleAPICalledEventType["EndGroup"] = "endGroup";
3305
+ ConsoleAPICalledEventType["Assert"] = "assert";
3306
+ ConsoleAPICalledEventType["Profile"] = "profile";
3307
+ ConsoleAPICalledEventType["ProfileEnd"] = "profileEnd";
3308
+ ConsoleAPICalledEventType["Count"] = "count";
3309
+ ConsoleAPICalledEventType["TimeEnd"] = "timeEnd";
3310
+ })(ConsoleAPICalledEventType = Runtime.ConsoleAPICalledEventType || (Runtime.ConsoleAPICalledEventType = {}));
3311
+ })(Runtime || (Runtime = {}));
3312
+ //# sourceMappingURL=protocol.js.map