@paulirish/trace_engine 0.0.65 → 0.0.66

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