chrome-devtools-frontend 1.0.1021097 → 1.0.1022409

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 (641) hide show
  1. package/.eslintignore +14 -1
  2. package/config/gni/devtools_grd_files.gni +15 -10
  3. package/extension-api/ExtensionAPI.d.ts +54 -4
  4. package/front_end/.eslintrc.js +4 -1
  5. package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
  6. package/front_end/core/host/UserMetrics.ts +18 -0
  7. package/front_end/core/i18n/locales/en-US.json +178 -4
  8. package/front_end/core/i18n/locales/en-XL.json +178 -4
  9. package/front_end/core/sdk/DebuggerModel.ts +10 -0
  10. package/front_end/devtools_compatibility.js +1 -0
  11. package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +4 -3
  12. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +174 -117
  13. package/front_end/models/bindings/ResourceScriptMapping.ts +12 -1
  14. package/front_end/models/extensions/ExtensionAPI.ts +101 -13
  15. package/front_end/models/extensions/ExtensionServer.ts +63 -1
  16. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +16 -3
  17. package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
  18. package/front_end/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -1
  19. package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -1
  20. package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -1
  21. package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -1
  22. package/front_end/models/timeline_model/TimelineModel.ts +164 -7
  23. package/front_end/panels/application/AppManifestView.ts +13 -2
  24. package/front_end/panels/application/ApplicationPanelSidebar.ts +67 -5
  25. package/front_end/panels/application/components/FrameDetailsView.ts +3 -2
  26. package/front_end/panels/application/components/Prerender2.ts +188 -0
  27. package/front_end/panels/elements/CSSRuleValidator.ts +103 -13
  28. package/front_end/panels/elements/ElementsTreeElement.ts +3 -1
  29. package/front_end/panels/elements/ElementsTreeOutline.ts +41 -7
  30. package/front_end/panels/elements/StylePropertyTreeElement.ts +10 -8
  31. package/front_end/panels/elements/TopLayerContainer.ts +9 -1
  32. package/front_end/panels/elements/components/AdornerManager.ts +7 -0
  33. package/front_end/panels/elements/components/CSSHintDetailsView.ts +71 -0
  34. package/front_end/panels/elements/components/components.ts +2 -0
  35. package/front_end/panels/elements/components/cssHintDetailsView.css +36 -0
  36. package/front_end/panels/elements/elementsTreeOutline.css +4 -0
  37. package/front_end/panels/elements/stylesSectionTree.css +1 -1
  38. package/front_end/panels/network/components/RequestHeadersView.css +55 -0
  39. package/front_end/panels/network/components/RequestHeadersView.ts +280 -15
  40. package/front_end/panels/sources/AddSourceMapURLDialog.ts +17 -3
  41. package/front_end/panels/sources/CallStackSidebarPane.ts +7 -0
  42. package/front_end/panels/sources/DebuggerPlugin.ts +29 -3
  43. package/front_end/panels/sources/ScopeChainSidebarPane.ts +8 -0
  44. package/front_end/panels/sources/SourcesPanel.ts +14 -0
  45. package/front_end/services/puppeteer/PuppeteerConnection.ts +3 -5
  46. package/front_end/third_party/acorn/acorn.ts +1 -1
  47. package/front_end/third_party/chromium/client-variations/client-variations.ts +1 -1
  48. package/front_end/third_party/diff/DiffWrapper.ts +2 -0
  49. package/front_end/third_party/i18n/i18n-impl.ts +5 -1
  50. package/front_end/third_party/i18n/i18n.ts +1 -1
  51. package/front_end/third_party/i18n/locales.ts +1 -1
  52. package/front_end/third_party/lit-html/directives.ts +1 -0
  53. package/front_end/third_party/lit-html/lit-html-tsconfig.json +1 -0
  54. package/front_end/third_party/marked/marked.ts +1 -1
  55. package/front_end/third_party/puppeteer/package/README.md +136 -214
  56. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts +6 -6
  57. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -1
  58. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js +149 -85
  59. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js.map +1 -1
  60. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  61. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +34 -10
  62. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
  63. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +17 -36
  64. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
  65. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +217 -160
  66. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
  67. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts +5 -4
  68. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  69. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +18 -13
  70. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  71. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
  72. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
  73. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +30 -11
  74. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
  75. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +21 -20
  76. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
  77. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +125 -82
  78. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
  79. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +1 -4
  80. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
  81. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js +27 -9
  82. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -1
  83. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +6 -30
  84. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
  85. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +167 -131
  86. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
  87. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts +36 -67
  88. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
  89. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +359 -215
  90. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
  91. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts +8 -4
  92. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  93. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +9 -6
  94. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  95. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +21 -2
  96. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
  97. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js +26 -6
  98. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -1
  99. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts +2 -6
  100. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -1
  101. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +32 -15
  102. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
  103. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts +355 -0
  104. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -0
  105. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +847 -0
  106. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -0
  107. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.d.ts +4 -3
  108. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -1
  109. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.js +25 -8
  110. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -1
  111. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +28 -6
  112. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
  113. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +27 -7
  114. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
  115. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -1
  116. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
  117. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
  118. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts +20 -19
  119. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  120. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +146 -126
  121. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
  122. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts +4 -6
  123. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -1
  124. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +25 -10
  125. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
  126. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +53 -92
  127. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  128. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +337 -320
  129. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  130. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +16 -28
  131. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  132. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +200 -147
  133. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
  134. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts +1 -18
  135. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  136. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +86 -60
  137. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
  138. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +18 -22
  139. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
  140. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +166 -117
  141. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
  142. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +46 -395
  143. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
  144. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +80 -842
  145. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
  146. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +4 -32
  147. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  148. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +136 -108
  149. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
  150. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.d.ts +25 -7
  151. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +1 -1
  152. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.js +23 -2
  153. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.js.map +1 -1
  154. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts +16 -11
  155. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
  156. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js +39 -32
  157. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js.map +1 -1
  158. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +2 -42
  159. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
  160. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +315 -316
  161. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
  162. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts +5 -3
  163. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
  164. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js +2 -2
  165. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
  166. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +246 -287
  167. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
  168. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +841 -700
  169. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
  170. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts +37 -74
  171. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
  172. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +37 -89
  173. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
  174. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts +38 -13
  175. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -1
  176. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +79 -29
  177. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  178. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.d.ts +1 -6
  179. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -1
  180. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.js +31 -12
  181. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -1
  182. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +6 -9
  183. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
  184. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +80 -40
  185. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
  186. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts +4 -1
  187. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -1
  188. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js +24 -3
  189. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -1
  190. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +1 -2
  191. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -1
  192. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.js +28 -10
  193. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -1
  194. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts +4 -5
  195. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -1
  196. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +50 -23
  197. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
  198. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +1 -1
  199. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -1
  200. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.js +2 -2
  201. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -1
  202. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts +9 -11
  203. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -1
  204. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js +41 -31
  205. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js.map +1 -1
  206. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts +4 -3
  207. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts.map +1 -1
  208. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js +6 -8
  209. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js.map +1 -1
  210. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.d.ts +5 -0
  211. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -1
  212. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.js +6 -3
  213. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.js.map +1 -1
  214. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts +48 -0
  215. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts.map +1 -0
  216. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{EvalTypes.js → types.js} +1 -1
  217. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.js.map +1 -0
  218. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +129 -0
  219. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -0
  220. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{helper.js → util.js} +168 -87
  221. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -0
  222. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts +3 -0
  223. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts.map +1 -1
  224. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js +3 -0
  225. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js.map +1 -1
  226. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts +3 -0
  227. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts.map +1 -1
  228. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js +3 -0
  229. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js.map +1 -1
  230. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +3 -0
  231. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  232. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +3 -0
  233. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
  234. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +4 -1
  235. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -1
  236. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +4 -1
  237. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js.map +1 -1
  238. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/initialize-node.d.ts → cjs/puppeteer/initializePuppeteer.d.ts} +5 -2
  239. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.d.ts.map +1 -0
  240. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{initialize-node.js → initializePuppeteer.js} +18 -14
  241. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js.map +1 -0
  242. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +4 -11
  243. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  244. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +226 -158
  245. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
  246. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts +9 -11
  247. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  248. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +116 -72
  249. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
  250. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +27 -0
  251. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
  252. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +176 -0
  253. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -0
  254. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +49 -0
  255. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
  256. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +361 -0
  257. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -0
  258. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
  259. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +6 -3
  260. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
  261. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +44 -12
  262. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
  263. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +4 -20
  264. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  265. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js +60 -35
  266. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  267. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts +31 -0
  268. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts.map +1 -0
  269. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js +166 -0
  270. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js.map +1 -0
  271. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +42 -41
  272. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -1
  273. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +69 -47
  274. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
  275. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts +6 -0
  276. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts.map +1 -1
  277. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +55 -32
  278. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
  279. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.d.ts +10 -0
  280. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.d.ts.map +1 -0
  281. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js +40 -0
  282. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js.map +1 -0
  283. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +23 -0
  284. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -0
  285. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +41 -0
  286. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -0
  287. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts +26 -0
  288. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts.map +1 -0
  289. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js +44 -0
  290. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js.map +1 -0
  291. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +6 -5
  292. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts.map +1 -1
  293. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +6 -3
  294. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
  295. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.cjs.tsbuildinfo +1 -0
  296. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.tsbuildinfo +1 -0
  297. package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/api-docs-entry.js → cjs/puppeteer/types.d.ts} +46 -63
  298. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -0
  299. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{api-docs-entry.js → types.js} +50 -51
  300. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -0
  301. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.d.ts +0 -1
  302. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.js +11 -12
  303. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/tsconfig.cjs.tsbuildinfo +1 -0
  304. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts +6 -6
  305. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -1
  306. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js +149 -85
  307. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js.map +1 -1
  308. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  309. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +34 -10
  310. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
  311. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +17 -36
  312. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
  313. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +217 -160
  314. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
  315. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts +5 -4
  316. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  317. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +16 -11
  318. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
  319. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
  320. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
  321. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +30 -11
  322. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
  323. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +21 -20
  324. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
  325. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +125 -82
  326. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
  327. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts +1 -4
  328. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
  329. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js +27 -9
  330. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -1
  331. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +6 -30
  332. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
  333. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +167 -131
  334. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
  335. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +36 -67
  336. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
  337. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +335 -214
  338. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
  339. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts +8 -4
  340. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  341. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +9 -6
  342. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  343. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +21 -2
  344. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
  345. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js +25 -5
  346. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -1
  347. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts +2 -6
  348. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -1
  349. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js +32 -15
  350. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js.map +1 -1
  351. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts +355 -0
  352. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -0
  353. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +820 -0
  354. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -0
  355. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.d.ts +4 -3
  356. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -1
  357. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.js +25 -8
  358. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.js.map +1 -1
  359. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +28 -6
  360. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
  361. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +26 -6
  362. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
  363. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -1
  364. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js +1 -1
  365. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js.map +1 -1
  366. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts +20 -19
  367. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  368. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js +145 -125
  369. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -1
  370. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts +4 -6
  371. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -1
  372. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js +25 -10
  373. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js.map +1 -1
  374. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +53 -92
  375. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  376. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +337 -320
  377. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  378. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +16 -28
  379. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  380. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +199 -146
  381. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
  382. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts +1 -18
  383. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  384. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +86 -60
  385. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
  386. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +18 -22
  387. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
  388. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +167 -118
  389. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
  390. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +46 -395
  391. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
  392. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +80 -817
  393. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
  394. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +4 -32
  395. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  396. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +135 -107
  397. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
  398. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.d.ts +25 -7
  399. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +1 -1
  400. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.js +23 -2
  401. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.js.map +1 -1
  402. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts +16 -11
  403. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
  404. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js +39 -32
  405. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js.map +1 -1
  406. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +2 -42
  407. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
  408. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +312 -313
  409. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
  410. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts +5 -3
  411. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
  412. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js +1 -1
  413. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
  414. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +246 -287
  415. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
  416. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +819 -701
  417. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
  418. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts +37 -74
  419. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
  420. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js +39 -91
  421. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
  422. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts +38 -13
  423. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -1
  424. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +79 -29
  425. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  426. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.d.ts +1 -6
  427. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -1
  428. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.js +31 -12
  429. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -1
  430. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +6 -9
  431. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
  432. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +80 -40
  433. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
  434. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts +4 -1
  435. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -1
  436. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js +24 -3
  437. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js.map +1 -1
  438. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.d.ts +1 -2
  439. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -1
  440. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.js +28 -10
  441. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -1
  442. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts +4 -5
  443. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -1
  444. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js +50 -23
  445. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js.map +1 -1
  446. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +1 -1
  447. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -1
  448. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.js +1 -1
  449. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -1
  450. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts +9 -11
  451. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -1
  452. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js +41 -31
  453. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js.map +1 -1
  454. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts +4 -3
  455. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts.map +1 -1
  456. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js +5 -6
  457. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js.map +1 -1
  458. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.d.ts +5 -0
  459. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.d.ts.map +1 -1
  460. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.js +6 -3
  461. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.js.map +1 -1
  462. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts +48 -0
  463. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts.map +1 -0
  464. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{EvalTypes.js → types.js} +1 -1
  465. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.js.map +1 -0
  466. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +129 -0
  467. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -0
  468. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{helper.js → util.js} +161 -100
  469. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -0
  470. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts +3 -0
  471. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts.map +1 -1
  472. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js +3 -0
  473. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js.map +1 -1
  474. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts +3 -0
  475. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts.map +1 -1
  476. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js +3 -0
  477. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js.map +1 -1
  478. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +3 -0
  479. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  480. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +3 -0
  481. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
  482. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +4 -1
  483. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -1
  484. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +4 -1
  485. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -1
  486. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/initialize-node.d.ts → esm/puppeteer/initializePuppeteer.d.ts} +5 -2
  487. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.d.ts.map +1 -0
  488. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{initialize-node.js → initializePuppeteer.js} +16 -12
  489. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js.map +1 -0
  490. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +4 -11
  491. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  492. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +226 -158
  493. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
  494. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts +9 -11
  495. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  496. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +113 -69
  497. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
  498. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts +27 -0
  499. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
  500. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +169 -0
  501. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -0
  502. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +49 -0
  503. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
  504. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/{Launcher.js → FirefoxLauncher.js} +51 -345
  505. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -0
  506. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
  507. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +6 -3
  508. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
  509. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js +44 -12
  510. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
  511. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +4 -20
  512. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  513. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js +60 -35
  514. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  515. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts +31 -0
  516. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts.map +1 -0
  517. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js +157 -0
  518. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js.map +1 -0
  519. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +42 -41
  520. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -1
  521. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +70 -45
  522. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +1 -1
  523. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts +6 -0
  524. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +1 -1
  525. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +53 -30
  526. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +1 -1
  527. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.d.ts +10 -0
  528. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.d.ts.map +1 -0
  529. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js +13 -0
  530. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js.map +1 -0
  531. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +23 -0
  532. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -0
  533. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{node-puppeteer-core.d.ts → puppeteer-core.js} +8 -2
  534. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -0
  535. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts +26 -0
  536. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts.map +1 -0
  537. package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/node-puppeteer-core.d.ts → esm/puppeteer/puppeteer.js} +11 -2
  538. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.js.map +1 -0
  539. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +6 -5
  540. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts.map +1 -1
  541. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +6 -3
  542. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
  543. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.esm.tsbuildinfo +1 -0
  544. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.tsbuildinfo +1 -0
  545. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +64 -0
  546. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -0
  547. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +68 -0
  548. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -0
  549. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.d.ts +0 -1
  550. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.js +9 -10
  551. package/front_end/third_party/puppeteer/package/lib/esm/vendor/tsconfig.esm.tsbuildinfo +1 -0
  552. package/front_end/third_party/puppeteer/package/lib/types.d.ts +846 -1670
  553. package/front_end/third_party/puppeteer/package/package.json +65 -68
  554. package/front_end/third_party/puppeteer/package/typescript-if-required.js +17 -8
  555. package/front_end/third_party/puppeteer/puppeteer.ts +2 -9
  556. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +2 -5
  557. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +45 -3
  558. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +40 -12
  559. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +5 -5
  560. package/front_end/ui/legacy/ReportView.ts +8 -0
  561. package/front_end/ui/legacy/components/utils/Linkifier.ts +3 -1
  562. package/package.json +1 -1
  563. package/scripts/eslint_rules/lib/custom_element_definitions_location.js +29 -14
  564. package/scripts/eslint_rules/lib/es_modules_import.js +5 -1
  565. package/scripts/eslint_rules/lib/inject_checkbox_styles.js +4 -2
  566. package/scripts/eslint_rules/tests/custom_element_definitions_location_test.js +14 -2
  567. package/scripts/eslint_rules/tests/es_modules_import_test.js +5 -0
  568. package/scripts/eslint_rules/tests/inject_checkbox_styles_test.js +45 -5
  569. package/front_end/third_party/puppeteer/package/cjs-entry-core.js +0 -29
  570. package/front_end/third_party/puppeteer/package/cjs-entry.js +0 -29
  571. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.d.ts +0 -111
  572. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.d.ts.map +0 -1
  573. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.js.map +0 -1
  574. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts +0 -61
  575. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +0 -1
  576. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.js.map +0 -1
  577. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.d.ts +0 -82
  578. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.d.ts.map +0 -1
  579. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.js +0 -87
  580. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.js.map +0 -1
  581. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts +0 -85
  582. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts.map +0 -1
  583. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +0 -1
  584. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.d.ts.map +0 -1
  585. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js.map +0 -1
  586. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.d.ts +0 -18
  587. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.d.ts.map +0 -1
  588. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.js +0 -27
  589. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.js.map +0 -1
  590. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts +0 -18
  591. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +0 -1
  592. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +0 -674
  593. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +0 -1
  594. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +0 -1
  595. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js +0 -25
  596. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js.map +0 -1
  597. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.d.ts +0 -18
  598. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.d.ts.map +0 -1
  599. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js +0 -24
  600. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js.map +0 -1
  601. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.d.ts +0 -18
  602. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.d.ts.map +0 -1
  603. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js +0 -24
  604. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js.map +0 -1
  605. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.d.ts.map +0 -1
  606. package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.js.map +0 -1
  607. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.d.ts +0 -111
  608. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.d.ts.map +0 -1
  609. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.js.map +0 -1
  610. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts +0 -61
  611. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts.map +0 -1
  612. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.js.map +0 -1
  613. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.d.ts +0 -82
  614. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.d.ts.map +0 -1
  615. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.js +0 -84
  616. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.js.map +0 -1
  617. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts +0 -85
  618. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts.map +0 -1
  619. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +0 -1
  620. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.d.ts.map +0 -1
  621. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js.map +0 -1
  622. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.d.ts +0 -18
  623. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.d.ts.map +0 -1
  624. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.js +0 -23
  625. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.js.map +0 -1
  626. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts +0 -18
  627. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +0 -1
  628. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +0 -1
  629. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +0 -1
  630. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.js +0 -23
  631. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.js.map +0 -1
  632. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.d.ts +0 -18
  633. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.d.ts.map +0 -1
  634. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.js +0 -22
  635. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.js.map +0 -1
  636. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.d.ts +0 -18
  637. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.d.ts.map +0 -1
  638. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.js +0 -22
  639. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.js.map +0 -1
  640. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.d.ts.map +0 -1
  641. package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.js.map +0 -1
@@ -1,5 +1,17 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _HTTPRequest_instances, _HTTPRequest_client, _HTTPRequest_isNavigationRequest, _HTTPRequest_allowInterception, _HTTPRequest_interceptionHandled, _HTTPRequest_url, _HTTPRequest_resourceType, _HTTPRequest_method, _HTTPRequest_postData, _HTTPRequest_headers, _HTTPRequest_frame, _HTTPRequest_continueRequestOverrides, _HTTPRequest_responseForRequest, _HTTPRequest_abortErrorReason, _HTTPRequest_interceptResolutionState, _HTTPRequest_interceptHandlers, _HTTPRequest_initiator, _HTTPRequest_continue, _HTTPRequest_respond, _HTTPRequest_abort;
1
13
  import { assert } from './assert.js';
2
- import { helper, debugError } from './helper.js';
14
+ import { debugError, isString } from './util.js';
3
15
  /**
4
16
  * The default cooperative request interception resolution priority
5
17
  *
@@ -43,6 +55,7 @@ export class HTTPRequest {
43
55
  * @internal
44
56
  */
45
57
  constructor(client, frame, interceptionId, allowInterception, event, redirectChain) {
58
+ _HTTPRequest_instances.add(this);
46
59
  /**
47
60
  * @internal
48
61
  */
@@ -55,36 +68,55 @@ export class HTTPRequest {
55
68
  * @internal
56
69
  */
57
70
  this._fromMemoryCache = false;
58
- this._interceptionHandled = false;
59
- this._headers = {};
60
- this._responseForRequest = null;
61
- this._abortErrorReason = null;
62
- this._interceptResolutionState = {
71
+ _HTTPRequest_client.set(this, void 0);
72
+ _HTTPRequest_isNavigationRequest.set(this, void 0);
73
+ _HTTPRequest_allowInterception.set(this, void 0);
74
+ _HTTPRequest_interceptionHandled.set(this, false);
75
+ _HTTPRequest_url.set(this, void 0);
76
+ _HTTPRequest_resourceType.set(this, void 0);
77
+ _HTTPRequest_method.set(this, void 0);
78
+ _HTTPRequest_postData.set(this, void 0);
79
+ _HTTPRequest_headers.set(this, {});
80
+ _HTTPRequest_frame.set(this, void 0);
81
+ _HTTPRequest_continueRequestOverrides.set(this, void 0);
82
+ _HTTPRequest_responseForRequest.set(this, null);
83
+ _HTTPRequest_abortErrorReason.set(this, null);
84
+ _HTTPRequest_interceptResolutionState.set(this, {
63
85
  action: InterceptResolutionAction.None,
64
- };
65
- this._client = client;
86
+ });
87
+ _HTTPRequest_interceptHandlers.set(this, void 0);
88
+ _HTTPRequest_initiator.set(this, void 0);
89
+ __classPrivateFieldSet(this, _HTTPRequest_client, client, "f");
66
90
  this._requestId = event.requestId;
67
- this._isNavigationRequest =
68
- event.requestId === event.loaderId && event.type === 'Document';
91
+ __classPrivateFieldSet(this, _HTTPRequest_isNavigationRequest, event.requestId === event.loaderId && event.type === 'Document', "f");
69
92
  this._interceptionId = interceptionId;
70
- this._allowInterception = allowInterception;
71
- this._url = event.request.url;
72
- this._resourceType = (event.type || 'other').toLowerCase();
73
- this._method = event.request.method;
74
- this._postData = event.request.postData;
75
- this._frame = frame;
93
+ __classPrivateFieldSet(this, _HTTPRequest_allowInterception, allowInterception, "f");
94
+ __classPrivateFieldSet(this, _HTTPRequest_url, event.request.url, "f");
95
+ __classPrivateFieldSet(this, _HTTPRequest_resourceType, (event.type || 'other').toLowerCase(), "f");
96
+ __classPrivateFieldSet(this, _HTTPRequest_method, event.request.method, "f");
97
+ __classPrivateFieldSet(this, _HTTPRequest_postData, event.request.postData, "f");
98
+ __classPrivateFieldSet(this, _HTTPRequest_frame, frame, "f");
76
99
  this._redirectChain = redirectChain;
77
- this._continueRequestOverrides = {};
78
- this._interceptHandlers = [];
79
- this._initiator = event.initiator;
80
- for (const key of Object.keys(event.request.headers))
81
- this._headers[key.toLowerCase()] = event.request.headers[key];
100
+ __classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, {}, "f");
101
+ __classPrivateFieldSet(this, _HTTPRequest_interceptHandlers, [], "f");
102
+ __classPrivateFieldSet(this, _HTTPRequest_initiator, event.initiator, "f");
103
+ for (const [key, value] of Object.entries(event.request.headers)) {
104
+ __classPrivateFieldGet(this, _HTTPRequest_headers, "f")[key.toLowerCase()] = value;
105
+ }
106
+ }
107
+ /**
108
+ * Warning! Using this client can break Puppeteer. Use with caution.
109
+ *
110
+ * @experimental
111
+ */
112
+ get client() {
113
+ return __classPrivateFieldGet(this, _HTTPRequest_client, "f");
82
114
  }
83
115
  /**
84
116
  * @returns the URL of the request
85
117
  */
86
118
  url() {
87
- return this._url;
119
+ return __classPrivateFieldGet(this, _HTTPRequest_url, "f");
88
120
  }
89
121
  /**
90
122
  * @returns the `ContinueRequestOverrides` that will be used
@@ -92,23 +124,23 @@ export class HTTPRequest {
92
124
  * `respond()` aren't called).
93
125
  */
94
126
  continueRequestOverrides() {
95
- assert(this._allowInterception, 'Request Interception is not enabled!');
96
- return this._continueRequestOverrides;
127
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
128
+ return __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f");
97
129
  }
98
130
  /**
99
131
  * @returns The `ResponseForRequest` that gets used if the
100
132
  * interception is allowed to respond (ie, `abort()` is not called).
101
133
  */
102
134
  responseForRequest() {
103
- assert(this._allowInterception, 'Request Interception is not enabled!');
104
- return this._responseForRequest;
135
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
136
+ return __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f");
105
137
  }
106
138
  /**
107
139
  * @returns the most recent reason for aborting the request
108
140
  */
109
141
  abortErrorReason() {
110
- assert(this._allowInterception, 'Request Interception is not enabled!');
111
- return this._abortErrorReason;
142
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
143
+ return __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f");
112
144
  }
113
145
  /**
114
146
  * @returns An InterceptResolutionState object describing the current resolution
@@ -122,18 +154,20 @@ export class HTTPRequest {
122
154
  * `disabled`, `none`, or `already-handled`.
123
155
  */
124
156
  interceptResolutionState() {
125
- if (!this._allowInterception)
157
+ if (!__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f")) {
126
158
  return { action: InterceptResolutionAction.Disabled };
127
- if (this._interceptionHandled)
159
+ }
160
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f")) {
128
161
  return { action: InterceptResolutionAction.AlreadyHandled };
129
- return { ...this._interceptResolutionState };
162
+ }
163
+ return { ...__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f") };
130
164
  }
131
165
  /**
132
166
  * @returns `true` if the intercept resolution has already been handled,
133
167
  * `false` otherwise.
134
168
  */
135
169
  isInterceptResolutionHandled() {
136
- return this._interceptionHandled;
170
+ return __classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f");
137
171
  }
138
172
  /**
139
173
  * Adds an async request handler to the processing queue.
@@ -142,25 +176,27 @@ export class HTTPRequest {
142
176
  * is finalized.
143
177
  */
144
178
  enqueueInterceptAction(pendingHandler) {
145
- this._interceptHandlers.push(pendingHandler);
179
+ __classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").push(pendingHandler);
146
180
  }
147
181
  /**
148
182
  * Awaits pending interception handlers and then decides how to fulfill
149
183
  * the request interception.
150
184
  */
151
185
  async finalizeInterceptions() {
152
- await this._interceptHandlers.reduce((promiseChain, interceptAction) => promiseChain.then(interceptAction), Promise.resolve());
186
+ await __classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").reduce((promiseChain, interceptAction) => {
187
+ return promiseChain.then(interceptAction);
188
+ }, Promise.resolve());
153
189
  const { action } = this.interceptResolutionState();
154
190
  switch (action) {
155
191
  case 'abort':
156
- return this._abort(this._abortErrorReason);
192
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f"));
157
193
  case 'respond':
158
- if (this._responseForRequest === null) {
194
+ if (__classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f") === null) {
159
195
  throw new Error('Response is missing for the interception');
160
196
  }
161
- return this._respond(this._responseForRequest);
197
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f"));
162
198
  case 'continue':
163
- return this._continue(this._continueRequestOverrides);
199
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f"));
164
200
  }
165
201
  }
166
202
  /**
@@ -168,26 +204,26 @@ export class HTTPRequest {
168
204
  * engine.
169
205
  */
170
206
  resourceType() {
171
- return this._resourceType;
207
+ return __classPrivateFieldGet(this, _HTTPRequest_resourceType, "f");
172
208
  }
173
209
  /**
174
210
  * @returns the method used (`GET`, `POST`, etc.)
175
211
  */
176
212
  method() {
177
- return this._method;
213
+ return __classPrivateFieldGet(this, _HTTPRequest_method, "f");
178
214
  }
179
215
  /**
180
216
  * @returns the request's post body, if any.
181
217
  */
182
218
  postData() {
183
- return this._postData;
219
+ return __classPrivateFieldGet(this, _HTTPRequest_postData, "f");
184
220
  }
185
221
  /**
186
222
  * @returns an object with HTTP headers associated with the request. All
187
223
  * header names are lower-case.
188
224
  */
189
225
  headers() {
190
- return this._headers;
226
+ return __classPrivateFieldGet(this, _HTTPRequest_headers, "f");
191
227
  }
192
228
  /**
193
229
  * @returns A matching `HTTPResponse` object, or null if the response has not
@@ -201,19 +237,19 @@ export class HTTPRequest {
201
237
  * error pages.
202
238
  */
203
239
  frame() {
204
- return this._frame;
240
+ return __classPrivateFieldGet(this, _HTTPRequest_frame, "f");
205
241
  }
206
242
  /**
207
243
  * @returns true if the request is the driver of the current frame's navigation.
208
244
  */
209
245
  isNavigationRequest() {
210
- return this._isNavigationRequest;
246
+ return __classPrivateFieldGet(this, _HTTPRequest_isNavigationRequest, "f");
211
247
  }
212
248
  /**
213
249
  * @returns the initiator of the request.
214
250
  */
215
251
  initiator() {
216
- return this._initiator;
252
+ return __classPrivateFieldGet(this, _HTTPRequest_initiator, "f");
217
253
  }
218
254
  /**
219
255
  * A `redirectChain` is a chain of requests initiated to fetch a resource.
@@ -224,7 +260,7 @@ export class HTTPRequest {
224
260
  * For example, if the website `http://example.com` has a single redirect to
225
261
  * `https://example.com`, then the chain will contain one request:
226
262
  *
227
- * ```js
263
+ * ```ts
228
264
  * const response = await page.goto('http://example.com');
229
265
  * const chain = response.request().redirectChain();
230
266
  * console.log(chain.length); // 1
@@ -233,7 +269,7 @@ export class HTTPRequest {
233
269
  *
234
270
  * If the website `https://google.com` has no redirects, then the chain will be empty:
235
271
  *
236
- * ```js
272
+ * ```ts
237
273
  * const response = await page.goto('https://google.com');
238
274
  * const chain = response.request().redirectChain();
239
275
  * console.log(chain.length); // 0
@@ -254,7 +290,7 @@ export class HTTPRequest {
254
290
  *
255
291
  * Example of logging all failed requests:
256
292
  *
257
- * ```js
293
+ * ```ts
258
294
  * page.on('requestfailed', request => {
259
295
  * console.log(request.url() + ' ' + request.failure().errorText);
260
296
  * });
@@ -266,8 +302,9 @@ export class HTTPRequest {
266
302
  * failure text if the request fails.
267
303
  */
268
304
  failure() {
269
- if (!this._failureText)
305
+ if (!this._failureText) {
270
306
  return null;
307
+ }
271
308
  return {
272
309
  errorText: this._failureText,
273
310
  };
@@ -283,7 +320,7 @@ export class HTTPRequest {
283
320
  * Exception is immediately thrown if the request interception is not enabled.
284
321
  *
285
322
  * @example
286
- * ```js
323
+ * ```ts
287
324
  * await page.setRequestInterception(true);
288
325
  * page.on('request', request => {
289
326
  * // Override headers
@@ -302,51 +339,33 @@ export class HTTPRequest {
302
339
  */
303
340
  async continue(overrides = {}, priority) {
304
341
  // Request interception is not supported for data: urls.
305
- if (this._url.startsWith('data:'))
342
+ if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
306
343
  return;
307
- assert(this._allowInterception, 'Request Interception is not enabled!');
308
- assert(!this._interceptionHandled, 'Request is already handled!');
344
+ }
345
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
346
+ assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
309
347
  if (priority === undefined) {
310
- return this._continue(overrides);
348
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, overrides);
311
349
  }
312
- this._continueRequestOverrides = overrides;
313
- if (this._interceptResolutionState.priority === undefined ||
314
- priority > this._interceptResolutionState.priority) {
315
- this._interceptResolutionState = {
350
+ __classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, overrides, "f");
351
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
352
+ priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
353
+ __classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
316
354
  action: InterceptResolutionAction.Continue,
317
355
  priority,
318
- };
356
+ }, "f");
319
357
  return;
320
358
  }
321
- if (priority === this._interceptResolutionState.priority) {
322
- if (this._interceptResolutionState.action === 'abort' ||
323
- this._interceptResolutionState.action === 'respond') {
359
+ if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
360
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort' ||
361
+ __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'respond') {
324
362
  return;
325
363
  }
326
- this._interceptResolutionState.action =
364
+ __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action =
327
365
  InterceptResolutionAction.Continue;
328
366
  }
329
367
  return;
330
368
  }
331
- async _continue(overrides = {}) {
332
- const { url, method, postData, headers } = overrides;
333
- this._interceptionHandled = true;
334
- const postDataBinaryBase64 = postData
335
- ? Buffer.from(postData).toString('base64')
336
- : undefined;
337
- await this._client
338
- .send('Fetch.continueRequest', {
339
- requestId: this._interceptionId,
340
- url,
341
- method,
342
- postData: postDataBinaryBase64,
343
- headers: headers ? headersArray(headers) : undefined,
344
- })
345
- .catch((error) => {
346
- this._interceptionHandled = false;
347
- return handleError(error);
348
- });
349
- }
350
369
  /**
351
370
  * Fulfills a request with the given response.
352
371
  *
@@ -359,7 +378,7 @@ export class HTTPRequest {
359
378
  *
360
379
  * @example
361
380
  * An example of fulfilling all requests with 404 responses:
362
- * ```js
381
+ * ```ts
363
382
  * await page.setRequestInterception(true);
364
383
  * page.on('request', request => {
365
384
  * request.respond({
@@ -380,60 +399,29 @@ export class HTTPRequest {
380
399
  */
381
400
  async respond(response, priority) {
382
401
  // Mocking responses for dataURL requests is not currently supported.
383
- if (this._url.startsWith('data:'))
402
+ if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
384
403
  return;
385
- assert(this._allowInterception, 'Request Interception is not enabled!');
386
- assert(!this._interceptionHandled, 'Request is already handled!');
404
+ }
405
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
406
+ assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
387
407
  if (priority === undefined) {
388
- return this._respond(response);
408
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, response);
389
409
  }
390
- this._responseForRequest = response;
391
- if (this._interceptResolutionState.priority === undefined ||
392
- priority > this._interceptResolutionState.priority) {
393
- this._interceptResolutionState = {
410
+ __classPrivateFieldSet(this, _HTTPRequest_responseForRequest, response, "f");
411
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
412
+ priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
413
+ __classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
394
414
  action: InterceptResolutionAction.Respond,
395
415
  priority,
396
- };
416
+ }, "f");
397
417
  return;
398
418
  }
399
- if (priority === this._interceptResolutionState.priority) {
400
- if (this._interceptResolutionState.action === 'abort') {
419
+ if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
420
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort') {
401
421
  return;
402
422
  }
403
- this._interceptResolutionState.action = InterceptResolutionAction.Respond;
404
- }
405
- }
406
- async _respond(response) {
407
- this._interceptionHandled = true;
408
- const responseBody = response.body && helper.isString(response.body)
409
- ? Buffer.from(response.body)
410
- : response.body || null;
411
- const responseHeaders = {};
412
- if (response.headers) {
413
- for (const header of Object.keys(response.headers)) {
414
- const value = response.headers[header];
415
- responseHeaders[header.toLowerCase()] = Array.isArray(value)
416
- ? value.map((item) => String(item))
417
- : String(value);
418
- }
423
+ __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action = InterceptResolutionAction.Respond;
419
424
  }
420
- if (response.contentType)
421
- responseHeaders['content-type'] = response.contentType;
422
- if (responseBody && !('content-length' in responseHeaders))
423
- responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
424
- const status = response.status || 200;
425
- await this._client
426
- .send('Fetch.fulfillRequest', {
427
- requestId: this._interceptionId,
428
- responseCode: status,
429
- responsePhrase: STATUS_TEXTS[status],
430
- responseHeaders: headersArray(responseHeaders),
431
- body: responseBody ? responseBody.toString('base64') : undefined,
432
- })
433
- .catch((error) => {
434
- this._interceptionHandled = false;
435
- return handleError(error);
436
- });
437
425
  }
438
426
  /**
439
427
  * Aborts a request.
@@ -450,35 +438,98 @@ export class HTTPRequest {
450
438
  */
451
439
  async abort(errorCode = 'failed', priority) {
452
440
  // Request interception is not supported for data: urls.
453
- if (this._url.startsWith('data:'))
441
+ if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
454
442
  return;
443
+ }
455
444
  const errorReason = errorReasons[errorCode];
456
445
  assert(errorReason, 'Unknown error code: ' + errorCode);
457
- assert(this._allowInterception, 'Request Interception is not enabled!');
458
- assert(!this._interceptionHandled, 'Request is already handled!');
446
+ assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
447
+ assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
459
448
  if (priority === undefined) {
460
- return this._abort(errorReason);
449
+ return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, errorReason);
461
450
  }
462
- this._abortErrorReason = errorReason;
463
- if (this._interceptResolutionState.priority === undefined ||
464
- priority >= this._interceptResolutionState.priority) {
465
- this._interceptResolutionState = {
451
+ __classPrivateFieldSet(this, _HTTPRequest_abortErrorReason, errorReason, "f");
452
+ if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
453
+ priority >= __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
454
+ __classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
466
455
  action: InterceptResolutionAction.Abort,
467
456
  priority,
468
- };
457
+ }, "f");
469
458
  return;
470
459
  }
471
460
  }
472
- async _abort(errorReason) {
473
- this._interceptionHandled = true;
474
- await this._client
475
- .send('Fetch.failRequest', {
476
- requestId: this._interceptionId,
477
- errorReason: errorReason || 'Failed',
478
- })
479
- .catch(handleError);
480
- }
481
461
  }
462
+ _HTTPRequest_client = new WeakMap(), _HTTPRequest_isNavigationRequest = new WeakMap(), _HTTPRequest_allowInterception = new WeakMap(), _HTTPRequest_interceptionHandled = new WeakMap(), _HTTPRequest_url = new WeakMap(), _HTTPRequest_resourceType = new WeakMap(), _HTTPRequest_method = new WeakMap(), _HTTPRequest_postData = new WeakMap(), _HTTPRequest_headers = new WeakMap(), _HTTPRequest_frame = new WeakMap(), _HTTPRequest_continueRequestOverrides = new WeakMap(), _HTTPRequest_responseForRequest = new WeakMap(), _HTTPRequest_abortErrorReason = new WeakMap(), _HTTPRequest_interceptResolutionState = new WeakMap(), _HTTPRequest_interceptHandlers = new WeakMap(), _HTTPRequest_initiator = new WeakMap(), _HTTPRequest_instances = new WeakSet(), _HTTPRequest_continue = async function _HTTPRequest_continue(overrides = {}) {
463
+ const { url, method, postData, headers } = overrides;
464
+ __classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
465
+ const postDataBinaryBase64 = postData
466
+ ? Buffer.from(postData).toString('base64')
467
+ : undefined;
468
+ if (this._interceptionId === undefined) {
469
+ throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.continueRequest');
470
+ }
471
+ await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
472
+ .send('Fetch.continueRequest', {
473
+ requestId: this._interceptionId,
474
+ url,
475
+ method,
476
+ postData: postDataBinaryBase64,
477
+ headers: headers ? headersArray(headers) : undefined,
478
+ })
479
+ .catch(error => {
480
+ __classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
481
+ return handleError(error);
482
+ });
483
+ }, _HTTPRequest_respond = async function _HTTPRequest_respond(response) {
484
+ __classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
485
+ const responseBody = response.body && isString(response.body)
486
+ ? Buffer.from(response.body)
487
+ : response.body || null;
488
+ const responseHeaders = {};
489
+ if (response.headers) {
490
+ for (const header of Object.keys(response.headers)) {
491
+ const value = response.headers[header];
492
+ responseHeaders[header.toLowerCase()] = Array.isArray(value)
493
+ ? value.map(item => {
494
+ return String(item);
495
+ })
496
+ : String(value);
497
+ }
498
+ }
499
+ if (response.contentType) {
500
+ responseHeaders['content-type'] = response.contentType;
501
+ }
502
+ if (responseBody && !('content-length' in responseHeaders)) {
503
+ responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
504
+ }
505
+ const status = response.status || 200;
506
+ if (this._interceptionId === undefined) {
507
+ throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.fulfillRequest');
508
+ }
509
+ await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
510
+ .send('Fetch.fulfillRequest', {
511
+ requestId: this._interceptionId,
512
+ responseCode: status,
513
+ responsePhrase: STATUS_TEXTS[status],
514
+ responseHeaders: headersArray(responseHeaders),
515
+ body: responseBody ? responseBody.toString('base64') : undefined,
516
+ })
517
+ .catch(error => {
518
+ __classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
519
+ return handleError(error);
520
+ });
521
+ }, _HTTPRequest_abort = async function _HTTPRequest_abort(errorReason) {
522
+ __classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
523
+ if (this._interceptionId === undefined) {
524
+ throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.failRequest');
525
+ }
526
+ await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
527
+ .send('Fetch.failRequest', {
528
+ requestId: this._interceptionId,
529
+ errorReason: errorReason || 'Failed',
530
+ })
531
+ .catch(handleError);
532
+ };
482
533
  /**
483
534
  * @public
484
535
  */
@@ -513,7 +564,9 @@ function headersArray(headers) {
513
564
  const value = headers[name];
514
565
  if (!Object.is(value, undefined)) {
515
566
  const values = Array.isArray(value) ? value : [value];
516
- result.push(...values.map((value) => ({ name, value: value + '' })));
567
+ result.push(...values.map(value => {
568
+ return { name, value: value + '' };
569
+ }));
517
570
  }
518
571
  }
519
572
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"HTTPRequest.js","sourceRoot":"","sources":["../../../../src/common/HTTPRequest.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA+CjD;;;;GAIG;AACH,M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AAqB;IAC5B,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,iCAAiC;IACxC,KAAK,EAAE,+BAA+B;IACtC,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,aAAa;IACpB,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,eAAe;IACtB,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,iCAAiC;CAChC,CAAC"}
@@ -37,28 +37,11 @@ interface CDPSession extends EventEmitter {
37
37
  * @public
38
38
  */
39
39
  export declare class HTTPResponse {
40
- private _client;
41
- private _request;
42
- private _contentPromise;
43
- private _bodyLoadedPromise;
44
- private _bodyLoadedPromiseFulfill;
45
- private _remoteAddress;
46
- private _status;
47
- private _statusText;
48
- private _url;
49
- private _fromDiskCache;
50
- private _fromServiceWorker;
51
- private _headers;
52
- private _securityDetails;
53
- private _timing;
40
+ #private;
54
41
  /**
55
42
  * @internal
56
43
  */
57
44
  constructor(client: CDPSession, request: HTTPRequest, responsePayload: Protocol.Network.Response, extraInfo: Protocol.Network.ResponseReceivedExtraInfoEvent | null);
58
- /**
59
- * @internal
60
- */
61
- _parseStatusTextFromExtrInfo(extraInfo: Protocol.Network.ResponseReceivedExtraInfoEvent | null): string | undefined;
62
45
  /**
63
46
  * @internal
64
47
  */