chrome-devtools-frontend 1.0.1020771 → 1.0.1022059

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