happy-dom 13.6.2 → 13.7.1

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.

Potentially problematic release.


This version of happy-dom might be problematic. Click here for more details.

Files changed (368) hide show
  1. package/cjs/PropertySymbol.cjs +2 -1
  2. package/cjs/PropertySymbol.cjs.map +1 -1
  3. package/cjs/PropertySymbol.d.ts +1 -0
  4. package/cjs/PropertySymbol.d.ts.map +1 -1
  5. package/cjs/browser/BrowserFrame.cjs +12 -2
  6. package/cjs/browser/BrowserFrame.cjs.map +1 -1
  7. package/cjs/browser/BrowserFrame.d.ts.map +1 -1
  8. package/cjs/browser/detached-browser/DetachedBrowserFrame.cjs +12 -2
  9. package/cjs/browser/detached-browser/DetachedBrowserFrame.cjs.map +1 -1
  10. package/cjs/browser/detached-browser/DetachedBrowserFrame.d.ts.map +1 -1
  11. package/cjs/browser/utilities/BrowserFrameFactory.cjs +5 -0
  12. package/cjs/browser/utilities/BrowserFrameFactory.cjs.map +1 -1
  13. package/cjs/browser/utilities/BrowserFrameFactory.d.ts.map +1 -1
  14. package/cjs/browser/utilities/BrowserFrameNavigator.cjs +20 -13
  15. package/cjs/browser/utilities/BrowserFrameNavigator.cjs.map +1 -1
  16. package/cjs/browser/utilities/BrowserFrameNavigator.d.ts +21 -10
  17. package/cjs/browser/utilities/BrowserFrameNavigator.d.ts.map +1 -1
  18. package/cjs/browser/utilities/BrowserFrameURL.cjs +2 -2
  19. package/cjs/browser/utilities/BrowserFrameURL.cjs.map +1 -1
  20. package/cjs/browser/utilities/BrowserFrameURL.d.ts.map +1 -1
  21. package/cjs/config/IHTMLElementTagNameMap.cjs +3 -0
  22. package/cjs/config/IHTMLElementTagNameMap.cjs.map +1 -0
  23. package/cjs/config/IHTMLElementTagNameMap.d.ts +146 -0
  24. package/cjs/config/IHTMLElementTagNameMap.d.ts.map +1 -0
  25. package/cjs/config/ISVGElementTagNameMap.cjs +3 -0
  26. package/cjs/config/ISVGElementTagNameMap.cjs.map +1 -0
  27. package/cjs/config/ISVGElementTagNameMap.d.ts +67 -0
  28. package/cjs/config/ISVGElementTagNameMap.d.ts.map +1 -0
  29. package/cjs/event/events/HashChangeEvent.cjs +26 -0
  30. package/cjs/event/events/HashChangeEvent.cjs.map +1 -0
  31. package/cjs/event/events/HashChangeEvent.d.ts +19 -0
  32. package/cjs/event/events/HashChangeEvent.d.ts.map +1 -0
  33. package/cjs/event/events/IHashChangeEventInit.cjs +3 -0
  34. package/cjs/event/events/IHashChangeEventInit.cjs.map +1 -0
  35. package/cjs/event/events/IHashChangeEventInit.d.ts +6 -0
  36. package/cjs/event/events/IHashChangeEventInit.d.ts.map +1 -0
  37. package/cjs/fetch/Fetch.cjs +10 -34
  38. package/cjs/fetch/Fetch.cjs.map +1 -1
  39. package/cjs/fetch/Fetch.d.ts +0 -10
  40. package/cjs/fetch/Fetch.d.ts.map +1 -1
  41. package/cjs/fetch/Request.cjs +2 -2
  42. package/cjs/fetch/Request.cjs.map +1 -1
  43. package/cjs/fetch/Response.cjs +2 -6
  44. package/cjs/fetch/Response.cjs.map +1 -1
  45. package/cjs/fetch/Response.d.ts.map +1 -1
  46. package/cjs/fetch/SyncFetch.cjs +3 -3
  47. package/cjs/fetch/SyncFetch.cjs.map +1 -1
  48. package/cjs/fetch/utilities/FetchBodyUtility.cjs +62 -19
  49. package/cjs/fetch/utilities/FetchBodyUtility.cjs.map +1 -1
  50. package/cjs/fetch/utilities/FetchBodyUtility.d.ts +24 -12
  51. package/cjs/fetch/utilities/FetchBodyUtility.d.ts.map +1 -1
  52. package/cjs/fetch/utilities/FetchRequestHeaderUtility.cjs +5 -3
  53. package/cjs/fetch/utilities/FetchRequestHeaderUtility.cjs.map +1 -1
  54. package/cjs/fetch/utilities/FetchRequestHeaderUtility.d.ts.map +1 -1
  55. package/cjs/fetch/utilities/FetchRequestReferrerUtility.cjs +1 -1
  56. package/cjs/fetch/utilities/FetchRequestReferrerUtility.cjs.map +1 -1
  57. package/cjs/fetch/utilities/FetchRequestReferrerUtility.d.ts.map +1 -1
  58. package/cjs/form-data/FormData.cjs +1 -1
  59. package/cjs/form-data/FormData.cjs.map +1 -1
  60. package/cjs/form-data/FormData.d.ts +1 -1
  61. package/cjs/form-data/FormData.d.ts.map +1 -1
  62. package/cjs/index.cjs +7 -3
  63. package/cjs/index.cjs.map +1 -1
  64. package/cjs/index.d.ts +7 -3
  65. package/cjs/index.d.ts.map +1 -1
  66. package/cjs/location/Location.cjs +270 -0
  67. package/cjs/location/Location.cjs.map +1 -0
  68. package/cjs/location/Location.d.ts +144 -0
  69. package/cjs/location/Location.d.ts.map +1 -0
  70. package/cjs/named-node-map/NamedNodeMap.cjs +2 -1
  71. package/cjs/named-node-map/NamedNodeMap.cjs.map +1 -1
  72. package/cjs/named-node-map/NamedNodeMap.d.ts.map +1 -1
  73. package/cjs/nodes/document/Document.cjs +4 -4
  74. package/cjs/nodes/document/Document.cjs.map +1 -1
  75. package/cjs/nodes/document/Document.d.ts +114 -6
  76. package/cjs/nodes/document/Document.d.ts.map +1 -1
  77. package/cjs/nodes/document/IDocument.d.ts +28 -12
  78. package/cjs/nodes/document/IDocument.d.ts.map +1 -1
  79. package/cjs/nodes/document-fragment/DocumentFragment.cjs +2 -2
  80. package/cjs/nodes/document-fragment/DocumentFragment.cjs.map +1 -1
  81. package/cjs/nodes/document-fragment/DocumentFragment.d.ts +31 -1
  82. package/cjs/nodes/document-fragment/DocumentFragment.d.ts.map +1 -1
  83. package/cjs/nodes/document-fragment/IDocumentFragment.d.ts +6 -0
  84. package/cjs/nodes/document-fragment/IDocumentFragment.d.ts.map +1 -1
  85. package/cjs/nodes/element/Element.cjs +1 -1
  86. package/cjs/nodes/element/Element.cjs.map +1 -1
  87. package/cjs/nodes/element/Element.d.ts +61 -1
  88. package/cjs/nodes/element/Element.d.ts.map +1 -1
  89. package/cjs/nodes/element/HTMLCollection.cjs +2 -1
  90. package/cjs/nodes/element/HTMLCollection.cjs.map +1 -1
  91. package/cjs/nodes/element/HTMLCollection.d.ts.map +1 -1
  92. package/cjs/nodes/html-anchor-element/HTMLAnchorElement.cjs +2 -0
  93. package/cjs/nodes/html-anchor-element/HTMLAnchorElement.cjs.map +1 -1
  94. package/cjs/nodes/html-anchor-element/HTMLAnchorElement.d.ts.map +1 -1
  95. package/cjs/nodes/html-button-element/HTMLButtonElement.cjs +93 -4
  96. package/cjs/nodes/html-button-element/HTMLButtonElement.cjs.map +1 -1
  97. package/cjs/nodes/html-button-element/HTMLButtonElement.d.ts +49 -1
  98. package/cjs/nodes/html-button-element/HTMLButtonElement.d.ts.map +1 -1
  99. package/cjs/nodes/html-button-element/IHTMLButtonElement.d.ts +5 -1
  100. package/cjs/nodes/html-button-element/IHTMLButtonElement.d.ts.map +1 -1
  101. package/cjs/nodes/html-form-element/HTMLFormControlsCollection.cjs +2 -1
  102. package/cjs/nodes/html-form-element/HTMLFormControlsCollection.cjs.map +1 -1
  103. package/cjs/nodes/html-form-element/HTMLFormControlsCollection.d.ts.map +1 -1
  104. package/cjs/nodes/html-form-element/HTMLFormElement.cjs +104 -9
  105. package/cjs/nodes/html-form-element/HTMLFormElement.cjs.map +1 -1
  106. package/cjs/nodes/html-form-element/HTMLFormElement.d.ts +8 -2
  107. package/cjs/nodes/html-form-element/HTMLFormElement.d.ts.map +1 -1
  108. package/cjs/nodes/html-iframe-element/HTMLIFrameElement.cjs +14 -0
  109. package/cjs/nodes/html-iframe-element/HTMLIFrameElement.cjs.map +1 -1
  110. package/cjs/nodes/html-iframe-element/HTMLIFrameElement.d.ts +10 -0
  111. package/cjs/nodes/html-iframe-element/HTMLIFrameElement.d.ts.map +1 -1
  112. package/cjs/nodes/html-iframe-element/HTMLIFrameElementPageLoader.cjs +4 -1
  113. package/cjs/nodes/html-iframe-element/HTMLIFrameElementPageLoader.cjs.map +1 -1
  114. package/cjs/nodes/html-iframe-element/HTMLIFrameElementPageLoader.d.ts.map +1 -1
  115. package/cjs/nodes/html-iframe-element/IHTMLIFrameElement.d.ts +1 -0
  116. package/cjs/nodes/html-iframe-element/IHTMLIFrameElement.d.ts.map +1 -1
  117. package/cjs/nodes/html-input-element/HTMLInputElement.cjs +100 -52
  118. package/cjs/nodes/html-input-element/HTMLInputElement.cjs.map +1 -1
  119. package/cjs/nodes/html-input-element/HTMLInputElement.d.ts +49 -23
  120. package/cjs/nodes/html-input-element/HTMLInputElement.d.ts.map +1 -1
  121. package/cjs/nodes/html-input-element/IHTMLInputElement.d.ts +2 -0
  122. package/cjs/nodes/html-input-element/IHTMLInputElement.d.ts.map +1 -1
  123. package/cjs/nodes/html-label-element/HTMLLabelElement.cjs +1 -0
  124. package/cjs/nodes/html-label-element/HTMLLabelElement.cjs.map +1 -1
  125. package/cjs/nodes/html-label-element/HTMLLabelElement.d.ts.map +1 -1
  126. package/cjs/nodes/html-link-element/HTMLLinkElementStyleSheetLoader.cjs +1 -1
  127. package/cjs/nodes/html-link-element/HTMLLinkElementStyleSheetLoader.cjs.map +1 -1
  128. package/cjs/nodes/html-script-element/HTMLScriptElementScriptLoader.cjs +1 -1
  129. package/cjs/nodes/html-script-element/HTMLScriptElementScriptLoader.cjs.map +1 -1
  130. package/cjs/nodes/html-select-element/HTMLSelectElement.cjs.map +1 -1
  131. package/cjs/nodes/html-select-element/HTMLSelectElement.d.ts.map +1 -1
  132. package/cjs/nodes/node/Node.cjs.map +1 -1
  133. package/cjs/nodes/node/Node.d.ts.map +1 -1
  134. package/cjs/nodes/parent-node/IParentNode.d.ts +17 -0
  135. package/cjs/nodes/parent-node/IParentNode.d.ts.map +1 -1
  136. package/cjs/nodes/parent-node/ParentNodeUtility.cjs.map +1 -1
  137. package/cjs/nodes/parent-node/ParentNodeUtility.d.ts.map +1 -1
  138. package/cjs/query-selector/QuerySelector.cjs.map +1 -1
  139. package/cjs/query-selector/QuerySelector.d.ts +34 -0
  140. package/cjs/query-selector/QuerySelector.d.ts.map +1 -1
  141. package/cjs/version.cjs +1 -1
  142. package/cjs/window/BrowserWindow.cjs +9 -3
  143. package/cjs/window/BrowserWindow.cjs.map +1 -1
  144. package/cjs/window/BrowserWindow.d.ts +5 -4
  145. package/cjs/window/BrowserWindow.d.ts.map +1 -1
  146. package/cjs/window/CrossOriginBrowserWindow.d.ts +1 -1
  147. package/cjs/window/CrossOriginBrowserWindow.d.ts.map +1 -1
  148. package/cjs/window/IBrowserWindow.d.ts +3 -2
  149. package/cjs/window/IBrowserWindow.d.ts.map +1 -1
  150. package/cjs/window/ICrossOriginBrowserWindow.d.ts +1 -1
  151. package/cjs/window/ICrossOriginBrowserWindow.d.ts.map +1 -1
  152. package/cjs/window/WindowPageOpenUtility.cjs +4 -2
  153. package/cjs/window/WindowPageOpenUtility.cjs.map +1 -1
  154. package/cjs/window/WindowPageOpenUtility.d.ts.map +1 -1
  155. package/lib/PropertySymbol.d.ts +1 -0
  156. package/lib/PropertySymbol.d.ts.map +1 -1
  157. package/lib/PropertySymbol.js +1 -0
  158. package/lib/PropertySymbol.js.map +1 -1
  159. package/lib/browser/BrowserFrame.d.ts.map +1 -1
  160. package/lib/browser/BrowserFrame.js +12 -2
  161. package/lib/browser/BrowserFrame.js.map +1 -1
  162. package/lib/browser/detached-browser/DetachedBrowserFrame.d.ts.map +1 -1
  163. package/lib/browser/detached-browser/DetachedBrowserFrame.js +12 -2
  164. package/lib/browser/detached-browser/DetachedBrowserFrame.js.map +1 -1
  165. package/lib/browser/utilities/BrowserFrameFactory.d.ts.map +1 -1
  166. package/lib/browser/utilities/BrowserFrameFactory.js +5 -0
  167. package/lib/browser/utilities/BrowserFrameFactory.js.map +1 -1
  168. package/lib/browser/utilities/BrowserFrameNavigator.d.ts +21 -10
  169. package/lib/browser/utilities/BrowserFrameNavigator.d.ts.map +1 -1
  170. package/lib/browser/utilities/BrowserFrameNavigator.js +20 -13
  171. package/lib/browser/utilities/BrowserFrameNavigator.js.map +1 -1
  172. package/lib/browser/utilities/BrowserFrameURL.d.ts.map +1 -1
  173. package/lib/browser/utilities/BrowserFrameURL.js +2 -2
  174. package/lib/browser/utilities/BrowserFrameURL.js.map +1 -1
  175. package/lib/config/IHTMLElementTagNameMap.d.ts +146 -0
  176. package/lib/config/IHTMLElementTagNameMap.d.ts.map +1 -0
  177. package/lib/config/IHTMLElementTagNameMap.js +2 -0
  178. package/lib/config/IHTMLElementTagNameMap.js.map +1 -0
  179. package/lib/config/ISVGElementTagNameMap.d.ts +67 -0
  180. package/lib/config/ISVGElementTagNameMap.d.ts.map +1 -0
  181. package/lib/config/ISVGElementTagNameMap.js +2 -0
  182. package/lib/config/ISVGElementTagNameMap.js.map +1 -0
  183. package/lib/event/events/HashChangeEvent.d.ts +19 -0
  184. package/lib/event/events/HashChangeEvent.d.ts.map +1 -0
  185. package/lib/event/events/HashChangeEvent.js +20 -0
  186. package/lib/event/events/HashChangeEvent.js.map +1 -0
  187. package/lib/event/events/IHashChangeEventInit.d.ts +6 -0
  188. package/lib/event/events/IHashChangeEventInit.d.ts.map +1 -0
  189. package/lib/event/events/IHashChangeEventInit.js +2 -0
  190. package/lib/event/events/IHashChangeEventInit.js.map +1 -0
  191. package/lib/fetch/Fetch.d.ts +0 -10
  192. package/lib/fetch/Fetch.d.ts.map +1 -1
  193. package/lib/fetch/Fetch.js +10 -34
  194. package/lib/fetch/Fetch.js.map +1 -1
  195. package/lib/fetch/Request.js +2 -2
  196. package/lib/fetch/Request.js.map +1 -1
  197. package/lib/fetch/Response.d.ts.map +1 -1
  198. package/lib/fetch/Response.js +2 -6
  199. package/lib/fetch/Response.js.map +1 -1
  200. package/lib/fetch/SyncFetch.js +3 -3
  201. package/lib/fetch/SyncFetch.js.map +1 -1
  202. package/lib/fetch/utilities/FetchBodyUtility.d.ts +24 -12
  203. package/lib/fetch/utilities/FetchBodyUtility.d.ts.map +1 -1
  204. package/lib/fetch/utilities/FetchBodyUtility.js +62 -19
  205. package/lib/fetch/utilities/FetchBodyUtility.js.map +1 -1
  206. package/lib/fetch/utilities/FetchRequestHeaderUtility.d.ts.map +1 -1
  207. package/lib/fetch/utilities/FetchRequestHeaderUtility.js +4 -2
  208. package/lib/fetch/utilities/FetchRequestHeaderUtility.js.map +1 -1
  209. package/lib/fetch/utilities/FetchRequestReferrerUtility.d.ts.map +1 -1
  210. package/lib/fetch/utilities/FetchRequestReferrerUtility.js +1 -1
  211. package/lib/fetch/utilities/FetchRequestReferrerUtility.js.map +1 -1
  212. package/lib/form-data/FormData.d.ts +1 -1
  213. package/lib/form-data/FormData.d.ts.map +1 -1
  214. package/lib/form-data/FormData.js +1 -1
  215. package/lib/form-data/FormData.js.map +1 -1
  216. package/lib/index.d.ts +7 -3
  217. package/lib/index.d.ts.map +1 -1
  218. package/lib/index.js +4 -2
  219. package/lib/index.js.map +1 -1
  220. package/lib/location/Location.d.ts +144 -0
  221. package/lib/location/Location.d.ts.map +1 -0
  222. package/lib/location/Location.js +241 -0
  223. package/lib/location/Location.js.map +1 -0
  224. package/lib/named-node-map/NamedNodeMap.d.ts.map +1 -1
  225. package/lib/named-node-map/NamedNodeMap.js +2 -1
  226. package/lib/named-node-map/NamedNodeMap.js.map +1 -1
  227. package/lib/nodes/document/Document.d.ts +114 -6
  228. package/lib/nodes/document/Document.d.ts.map +1 -1
  229. package/lib/nodes/document/Document.js +4 -4
  230. package/lib/nodes/document/Document.js.map +1 -1
  231. package/lib/nodes/document/IDocument.d.ts +28 -12
  232. package/lib/nodes/document/IDocument.d.ts.map +1 -1
  233. package/lib/nodes/document-fragment/DocumentFragment.d.ts +31 -1
  234. package/lib/nodes/document-fragment/DocumentFragment.d.ts.map +1 -1
  235. package/lib/nodes/document-fragment/DocumentFragment.js +2 -2
  236. package/lib/nodes/document-fragment/DocumentFragment.js.map +1 -1
  237. package/lib/nodes/document-fragment/IDocumentFragment.d.ts +6 -0
  238. package/lib/nodes/document-fragment/IDocumentFragment.d.ts.map +1 -1
  239. package/lib/nodes/element/Element.d.ts +61 -1
  240. package/lib/nodes/element/Element.d.ts.map +1 -1
  241. package/lib/nodes/element/Element.js +1 -1
  242. package/lib/nodes/element/Element.js.map +1 -1
  243. package/lib/nodes/element/HTMLCollection.d.ts.map +1 -1
  244. package/lib/nodes/element/HTMLCollection.js +2 -1
  245. package/lib/nodes/element/HTMLCollection.js.map +1 -1
  246. package/lib/nodes/html-anchor-element/HTMLAnchorElement.d.ts.map +1 -1
  247. package/lib/nodes/html-anchor-element/HTMLAnchorElement.js +2 -0
  248. package/lib/nodes/html-anchor-element/HTMLAnchorElement.js.map +1 -1
  249. package/lib/nodes/html-button-element/HTMLButtonElement.d.ts +49 -1
  250. package/lib/nodes/html-button-element/HTMLButtonElement.d.ts.map +1 -1
  251. package/lib/nodes/html-button-element/HTMLButtonElement.js +93 -4
  252. package/lib/nodes/html-button-element/HTMLButtonElement.js.map +1 -1
  253. package/lib/nodes/html-button-element/IHTMLButtonElement.d.ts +5 -1
  254. package/lib/nodes/html-button-element/IHTMLButtonElement.d.ts.map +1 -1
  255. package/lib/nodes/html-form-element/HTMLFormControlsCollection.d.ts.map +1 -1
  256. package/lib/nodes/html-form-element/HTMLFormControlsCollection.js +2 -1
  257. package/lib/nodes/html-form-element/HTMLFormControlsCollection.js.map +1 -1
  258. package/lib/nodes/html-form-element/HTMLFormElement.d.ts +8 -2
  259. package/lib/nodes/html-form-element/HTMLFormElement.d.ts.map +1 -1
  260. package/lib/nodes/html-form-element/HTMLFormElement.js +106 -10
  261. package/lib/nodes/html-form-element/HTMLFormElement.js.map +1 -1
  262. package/lib/nodes/html-iframe-element/HTMLIFrameElement.d.ts +10 -0
  263. package/lib/nodes/html-iframe-element/HTMLIFrameElement.d.ts.map +1 -1
  264. package/lib/nodes/html-iframe-element/HTMLIFrameElement.js +14 -0
  265. package/lib/nodes/html-iframe-element/HTMLIFrameElement.js.map +1 -1
  266. package/lib/nodes/html-iframe-element/HTMLIFrameElementPageLoader.d.ts.map +1 -1
  267. package/lib/nodes/html-iframe-element/HTMLIFrameElementPageLoader.js +4 -1
  268. package/lib/nodes/html-iframe-element/HTMLIFrameElementPageLoader.js.map +1 -1
  269. package/lib/nodes/html-iframe-element/IHTMLIFrameElement.d.ts +1 -0
  270. package/lib/nodes/html-iframe-element/IHTMLIFrameElement.d.ts.map +1 -1
  271. package/lib/nodes/html-input-element/HTMLInputElement.d.ts +49 -23
  272. package/lib/nodes/html-input-element/HTMLInputElement.d.ts.map +1 -1
  273. package/lib/nodes/html-input-element/HTMLInputElement.js +100 -52
  274. package/lib/nodes/html-input-element/HTMLInputElement.js.map +1 -1
  275. package/lib/nodes/html-input-element/IHTMLInputElement.d.ts +2 -0
  276. package/lib/nodes/html-input-element/IHTMLInputElement.d.ts.map +1 -1
  277. package/lib/nodes/html-label-element/HTMLLabelElement.d.ts.map +1 -1
  278. package/lib/nodes/html-label-element/HTMLLabelElement.js +1 -0
  279. package/lib/nodes/html-label-element/HTMLLabelElement.js.map +1 -1
  280. package/lib/nodes/html-link-element/HTMLLinkElementStyleSheetLoader.js +1 -1
  281. package/lib/nodes/html-link-element/HTMLLinkElementStyleSheetLoader.js.map +1 -1
  282. package/lib/nodes/html-script-element/HTMLScriptElementScriptLoader.js +1 -1
  283. package/lib/nodes/html-script-element/HTMLScriptElementScriptLoader.js.map +1 -1
  284. package/lib/nodes/html-select-element/HTMLSelectElement.d.ts.map +1 -1
  285. package/lib/nodes/html-select-element/HTMLSelectElement.js.map +1 -1
  286. package/lib/nodes/node/Node.d.ts.map +1 -1
  287. package/lib/nodes/node/Node.js.map +1 -1
  288. package/lib/nodes/parent-node/IParentNode.d.ts +17 -0
  289. package/lib/nodes/parent-node/IParentNode.d.ts.map +1 -1
  290. package/lib/nodes/parent-node/ParentNodeUtility.d.ts.map +1 -1
  291. package/lib/nodes/parent-node/ParentNodeUtility.js.map +1 -1
  292. package/lib/query-selector/QuerySelector.d.ts +34 -0
  293. package/lib/query-selector/QuerySelector.d.ts.map +1 -1
  294. package/lib/query-selector/QuerySelector.js.map +1 -1
  295. package/lib/version.js +1 -1
  296. package/lib/window/BrowserWindow.d.ts +5 -4
  297. package/lib/window/BrowserWindow.d.ts.map +1 -1
  298. package/lib/window/BrowserWindow.js +10 -4
  299. package/lib/window/BrowserWindow.js.map +1 -1
  300. package/lib/window/CrossOriginBrowserWindow.d.ts +1 -1
  301. package/lib/window/CrossOriginBrowserWindow.d.ts.map +1 -1
  302. package/lib/window/IBrowserWindow.d.ts +3 -2
  303. package/lib/window/IBrowserWindow.d.ts.map +1 -1
  304. package/lib/window/ICrossOriginBrowserWindow.d.ts +1 -1
  305. package/lib/window/ICrossOriginBrowserWindow.d.ts.map +1 -1
  306. package/lib/window/WindowPageOpenUtility.d.ts.map +1 -1
  307. package/lib/window/WindowPageOpenUtility.js +4 -2
  308. package/lib/window/WindowPageOpenUtility.js.map +1 -1
  309. package/package.json +1 -1
  310. package/src/PropertySymbol.ts +1 -0
  311. package/src/browser/BrowserFrame.ts +12 -2
  312. package/src/browser/detached-browser/DetachedBrowserFrame.ts +12 -7
  313. package/src/browser/utilities/BrowserFrameFactory.ts +7 -0
  314. package/src/browser/utilities/BrowserFrameNavigator.ts +28 -18
  315. package/src/browser/utilities/BrowserFrameURL.ts +2 -2
  316. package/src/config/IHTMLElementTagNameMap.ts +151 -0
  317. package/src/config/ISVGElementTagNameMap.ts +67 -0
  318. package/src/event/events/HashChangeEvent.ts +25 -0
  319. package/src/event/events/IHashChangeEventInit.ts +6 -0
  320. package/src/fetch/Fetch.ts +28 -37
  321. package/src/fetch/Request.ts +2 -2
  322. package/src/fetch/Response.ts +3 -6
  323. package/src/fetch/SyncFetch.ts +3 -3
  324. package/src/fetch/utilities/FetchBodyUtility.ts +67 -20
  325. package/src/fetch/utilities/FetchRequestHeaderUtility.ts +4 -5
  326. package/src/fetch/utilities/FetchRequestReferrerUtility.ts +2 -1
  327. package/src/form-data/FormData.ts +2 -2
  328. package/src/index.ts +9 -1
  329. package/src/location/Location.ts +257 -0
  330. package/src/named-node-map/NamedNodeMap.ts +1 -0
  331. package/src/nodes/document/Document.ts +224 -17
  332. package/src/nodes/document/IDocument.ts +33 -11
  333. package/src/nodes/document-fragment/DocumentFragment.ts +59 -1
  334. package/src/nodes/document-fragment/IDocumentFragment.ts +14 -0
  335. package/src/nodes/element/Element.ts +120 -1
  336. package/src/nodes/element/HTMLCollection.ts +1 -0
  337. package/src/nodes/html-anchor-element/HTMLAnchorElement.ts +2 -0
  338. package/src/nodes/html-button-element/HTMLButtonElement.ts +107 -5
  339. package/src/nodes/html-button-element/IHTMLButtonElement.ts +5 -1
  340. package/src/nodes/html-form-element/HTMLFormControlsCollection.ts +1 -0
  341. package/src/nodes/html-form-element/HTMLFormElement.ts +111 -5
  342. package/src/nodes/html-iframe-element/HTMLIFrameElement.ts +16 -0
  343. package/src/nodes/html-iframe-element/HTMLIFrameElementPageLoader.ts +5 -1
  344. package/src/nodes/html-iframe-element/IHTMLIFrameElement.ts +1 -0
  345. package/src/nodes/html-input-element/HTMLInputElement.ts +111 -57
  346. package/src/nodes/html-input-element/IHTMLInputElement.ts +2 -0
  347. package/src/nodes/html-label-element/HTMLLabelElement.ts +1 -0
  348. package/src/nodes/html-link-element/HTMLLinkElementStyleSheetLoader.ts +1 -1
  349. package/src/nodes/html-script-element/HTMLScriptElementScriptLoader.ts +1 -1
  350. package/src/nodes/html-select-element/HTMLSelectElement.ts +1 -2
  351. package/src/nodes/node/Node.ts +1 -2
  352. package/src/nodes/parent-node/IParentNode.ts +36 -0
  353. package/src/nodes/parent-node/ParentNodeUtility.ts +1 -0
  354. package/src/query-selector/QuerySelector.ts +76 -2
  355. package/src/window/BrowserWindow.ts +11 -4
  356. package/src/window/CrossOriginBrowserWindow.ts +1 -1
  357. package/src/window/IBrowserWindow.ts +3 -2
  358. package/src/window/ICrossOriginBrowserWindow.ts +1 -1
  359. package/src/window/WindowPageOpenUtility.ts +4 -2
  360. package/cjs/url/Location.cjs +0 -111
  361. package/cjs/url/Location.cjs.map +0 -1
  362. package/cjs/url/Location.d.ts +0 -48
  363. package/cjs/url/Location.d.ts.map +0 -1
  364. package/lib/url/Location.d.ts +0 -48
  365. package/lib/url/Location.d.ts.map +0 -1
  366. package/lib/url/Location.js +0 -82
  367. package/lib/url/Location.js.map +0 -1
  368. package/src/url/Location.ts +0 -79
@@ -1 +1 @@
1
- {"version":3,"file":"Fetch.js","sourceRoot":"","sources":["../../src/fetch/Fetch.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AAGvD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AACxE,OAAO,IAAyB,MAAM,MAAM,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,eAAe,CAAC;AAEhC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,QAAQ,MAAM,eAAe,CAAC;AAKrC,OAAO,uBAAuB,MAAM,6CAA6C,CAAC;AAClF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,6BAA6B,MAAM,8CAA8C,CAAC;AACzF,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAqB,KAAK;IAoBzB;;;;;;;;;;;;OAYG;IACH,YAAY,OASX;QAzCO,WAAM,GAAmC,I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C,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAClC,CAAC;QACF,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACpB,CAAC;IACF,CAAC;CACD;;eAjxBoB,KAAK"}
@@ -90,10 +90,10 @@ export default class Request {
90
90
  else {
91
91
  try {
92
92
  if (input instanceof Request && input.url) {
93
- this[PropertySymbol.url] = new URL(input.url, injected.window.location);
93
+ this[PropertySymbol.url] = new URL(input.url, injected.window.location.href);
94
94
  }
95
95
  else {
96
- this[PropertySymbol.url] = new URL(input, injected.window.location);
96
+ this[PropertySymbol.url] = new URL(input, injected.window.location.href);
97
97
  }
98
98
  }
99
99
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/fetch/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AAGvD,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AAGxE,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAE3C,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,6BAA6B,MAAM,8CAA8C,CAAC;AAGzF,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AAGjF,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAI7E;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,OAAO;IAsB3B;;;;;;;;OAQG;IACH,YACC,QAAwE,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C,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAQ;IAI9D;;;;;;;;;OASG;gBAEF,QAAQ,EAAE;QAAE,MAAM,EAAE,cAAc,CAAC;QAAC,YAAY,EAAE,aAAa,CAAA;KAAE,EACjE,IAAI,CAAC,EAAE,aAAa,EACpB,IAAI,CAAC,EAAE,aAAa;IA2BrB;;;;OAIG;IACH,IAAW,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,MAAM,CAExC;IAED;;;;OAIG;IACU,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC;IA8BhD;;;;OAIG;IACU,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC;IAOnC;;;;OAIG;IACU,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IA4BtC;;;;OAIG;IACU,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC;IA4BpC;;;;OAIG;IACU,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC;IAKpC;;;;OAIG;IACU,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC;IAmC1C;;;;OAIG;IACI,KAAK,IAAI,QAAQ;IA6BxB;;;;;;OAMG;WACW,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,SAAM,GAAG,QAAQ;IAgB3D;;;;;;OAMG;WACW,KAAK,IAAI,QAAQ;IAM/B;;;;;;;OAOG;WACW,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,QAAQ;CAmBhE"}
@@ -212,17 +212,13 @@ class Response {
212
212
  * @returns Clone.
213
213
  */
214
214
  clone() {
215
- const response = new (__classPrivateFieldGet(this, _Response_window, "f").Response)(this.body, {
215
+ const body = FetchBodyUtility.cloneBodyStream(this);
216
+ const response = new (__classPrivateFieldGet(this, _Response_window, "f").Response)(body, {
216
217
  status: this.status,
217
218
  statusText: this.statusText,
218
219
  headers: this.headers
219
220
  });
220
- response.status = this.status;
221
- response.statusText = this.statusText;
222
221
  response.ok = this.ok;
223
- response.headers = new Headers(this.headers);
224
- response.body = this.body;
225
- response.bodyUsed = this.bodyUsed;
226
222
  response.redirected = this.redirected;
227
223
  response.type = this.type;
228
224
  response.url = this.url;
@@ -1 +1 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../src/fetch/Response.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AAIvD,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,OAAO,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AAEnC,OAAO,QAAQ,MAAM,0BAA0B,CAAC;AAChD,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AACxE,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAM7E,MAAM,qBAAqB,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAExD;;;;;;;GAOG;AACH,MAAqB,QAAQ;IAoB5B;;;;;;;;;OASG;IACH,YACC,QAAiE,EACjE,IAAoB,EACpB,IAAoB;;QA7BrB,oBAAoB;QACJ,SAAI,GAA0B,IAAI,CAAC;QACnC,aAAQ,GAAG,KAAK,CAAC;QACjB,eAAU,GAAG,KAAK,CAAC;QACnB,SAAI,GACnB,OAAO,CAAC;QACO,QAAG,GAAW,EAAE,CAAC;QAK1B,QAA+B,GAA2B,IAAI,CAAC;QACtD,QAAuB,GAAkB,IAAI,CAAC;QACrD,mCAAwB;QACxB,yCAA6B;QAiBrC,uBAAA,IAAI,oBAAW,QAAQ,CAAC,MAAM,MAAA,CAAC;QAC/B,uBAAA,IAAI,0BAAiB,QAAQ,CAAC,YAAY,MAAA,CAAC;QAC3C,IAAI,CAAC,M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AAC,cAAc,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC;QACnE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC;QAC3D,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,cAAc,GAAG,KAAK,CAAC;IACrE,CAAC;AACF,CAAC;eAxQmB,QAAQ"}
@@ -67,7 +67,7 @@ class SyncFetch {
67
67
  * @returns Response.
68
68
  */
69
69
  send() {
70
- FetchRequestReferrerUtility.prepareRequest(__classPrivateFieldGet(this, _SyncFetch_window, "f").location, this.request);
70
+ FetchRequestReferrerUtility.prepareRequest(new URL(__classPrivateFieldGet(this, _SyncFetch_window, "f").location.href), this.request);
71
71
  FetchRequestValidationUtility.validateSchema(this.request);
72
72
  if (this.request.signal.aborted) {
73
73
  throw new DOMException('The operation was aborted.', DOMExceptionNameEnum.abortError);
@@ -184,7 +184,7 @@ class SyncFetch {
184
184
  */
185
185
  compliesWithCrossOriginPolicy() {
186
186
  if (this.disableCrossOriginPolicy ||
187
- !FetchCORSUtility.isCORS(__classPrivateFieldGet(this, _SyncFetch_window, "f").location, this.request[PropertySymbol.url])) {
187
+ !FetchCORSUtility.isCORS(__classPrivateFieldGet(this, _SyncFetch_window, "f").location.href, this.request[PropertySymbol.url])) {
188
188
  return true;
189
189
  }
190
190
  const cachedPreflightResponse = __classPrivateFieldGet(this, _SyncFetch_browserFrame, "f").page.context.preflightResponseCache.get(this.request);
@@ -394,7 +394,7 @@ class SyncFetch {
394
394
  };
395
395
  if (this.request.credentials === 'omit' ||
396
396
  (this.request.credentials === 'same-origin' &&
397
- FetchCORSUtility.isCORS(__classPrivateFieldGet(this, _SyncFetch_window, "f").location, locationURL))) {
397
+ FetchCORSUtility.isCORS(__classPrivateFieldGet(this, _SyncFetch_window, "f").location.href, locationURL))) {
398
398
  headers.delete('authorization');
399
399
  headers.delete('www-authenticate');
400
400
  headers.delete('cook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AAG,SAAS,CAAC;oBAC7B,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;oBACjC,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;gBAChC,CAAC;gBAED,MAAM,sBAAsB,GAC3B,2BAA2B,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;gBAClE,IAAI,sBAAsB,EAAE,CAAC;oBAC5B,WAAW,CAAC,cAAc,GAAG,sBAAsB,CAAC;gBACrD,CAAC;gBAED,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC;oBAC3B,YAAY,EAAE,uBAAA,IAAI,+BAAc;oBAChC,MAAM,EAAE,uBAAA,IAAI,yBAAQ;oBACpB,GAAG,EAAE,WAAW;oBAChB,IAAI,EAAE,WAAW;oBACjB,aAAa,EAAE,IAAI,CAAC,aAAa,GAAG,CAAC;oBACrC,WAAW,EAAE,CAAC,sBAAsB;wBACnC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC;wBAC1C,CAAC,CAAC,SAAS;iBACZ,CAAC,CAAC;gBAEH,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;YACrB;gBACC,MAAM,IAAI,YAAY,CACrB,oBAAoB,IAAI,CAAC,OAAO,CAAC,QAAQ,2CAA2C,CACpF,CAAC;QACJ,CAAC;IACF,CAAC;CACD;;eApgBoB,SAAS"}
@@ -1,23 +1,15 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  /// <reference types="node" resolution-mode="require"/>
3
+ /// <reference types="node" resolution-mode="require"/>
3
4
  import { ReadableStream } from 'stream/web';
4
5
  import IRequestBody from '../types/IRequestBody.js';
5
6
  import IResponseBody from '../types/IResponseBody.js';
6
7
  import { Buffer } from 'buffer';
8
+ import Stream from 'stream';
7
9
  /**
8
10
  * Fetch body utility.
9
11
  */
10
12
  export default class FetchBodyUtility {
11
- /**
12
- * Wraps a given value in a browser ReadableStream.
13
- *
14
- * This method creates a ReadableStream and immediately enqueues and closes it
15
- * with the provided value, useful for stream API compatibility.
16
- *
17
- * @param value The value to be wrapped in a ReadableStream.
18
- * @returns ReadableStream
19
- */
20
- static toReadableStream(value: any): ReadableStream;
21
13
  /**
22
14
  * Parses body and returns stream and type.
23
15
  *
@@ -40,8 +32,8 @@ export default class FetchBodyUtility {
40
32
  * It creates a pass through stream and pipes the original stream to it.
41
33
  *
42
34
  * @param requestOrResponse Request or Response.
43
- * @param requestOrResponse.body
44
- * @param requestOrResponse.bodyUsed
35
+ * @param requestOrResponse.body Body.
36
+ * @param requestOrResponse.bodyUsed Body used.
45
37
  * @returns New stream.
46
38
  */
47
39
  static cloneBodyStream(requestOrResponse: {
@@ -59,5 +51,25 @@ export default class FetchBodyUtility {
59
51
  * @returns Promise.
60
52
  */
61
53
  static consumeBodyStream(body: ReadableStream | null): Promise<Buffer>;
54
+ /**
55
+ * Wraps a given value in a browser ReadableStream.
56
+ *
57
+ * This method creates a ReadableStream and immediately enqueues and closes it
58
+ * with the provided value, useful for stream API compatibility.
59
+ *
60
+ * @param value The value to be wrapped in a ReadableStream.
61
+ * @returns ReadableStream
62
+ */
63
+ static toReadableStream(value: any): ReadableStream;
64
+ /**
65
+ * Wraps a Node.js stream into a browser-compatible ReadableStream.
66
+ *
67
+ * Enables the use of Node.js streams where browser ReadableStreams are required.
68
+ * Handles 'data', 'end', and 'error' events from the Node.js stream.
69
+ *
70
+ * @param nodeStream The Node.js stream to be converted.
71
+ * @returns ReadableStream
72
+ */
73
+ static nodeToWebStream(nodeStream: Stream): ReadableStream;
62
74
  }
63
75
  //# sourceMappingURL=FetchBodyUtility.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FetchBodyUtility.d.ts","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchBodyUtility.ts"],"names":[],"mappings":";;AACA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,aAAa,MAAM,2BAA2B,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M,GAAG,IAAI,CAAC;KACtB;IA8DD;;;;;;;;;;OAUG;WACW,eAAe,CAAC,iBAAiB,EAAE;QAChD,IAAI,EAAE,cAAc,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;KAClB,GAAG,cAAc;IAqClB;;;;;;;;;OASG;WACiB,iBAAiB,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IA+CnF;;;;;;;;OAQG;WACW,gBAAgB,CAAC,KAAK,KAAA,GAAG,cAAc;IASrD;;;;;;;;OAQG;WACW,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc;CAmBjE"}
@@ -7,27 +7,11 @@ import Blob from '../../file/Blob.js';
7
7
  import DOMException from '../../exception/DOMException.js';
8
8
  import DOMExceptionNameEnum from '../../exception/DOMExceptionNameEnum.js';
9
9
  import { Buffer } from 'buffer';
10
+ import Stream from 'stream';
10
11
  /**
11
12
  * Fetch body utility.
12
13
  */
13
14
  export default class FetchBodyUtility {
14
- /**
15
- * Wraps a given value in a browser ReadableStream.
16
- *
17
- * This method creates a ReadableStream and immediately enqueues and closes it
18
- * with the provided value, useful for stream API compatibility.
19
- *
20
- * @param value The value to be wrapped in a ReadableStream.
21
- * @returns ReadableStream
22
- */
23
- static toReadableStream(value) {
24
- return new ReadableStream({
25
- start(controller) {
26
- controller.enqueue(value);
27
- controller.close();
28
- }
29
- });
30
- }
31
15
  /**
32
16
  * Parses body and returns stream and type.
33
17
  *
@@ -111,15 +95,31 @@ export default class FetchBodyUtility {
111
95
  * It creates a pass through stream and pipes the original stream to it.
112
96
  *
113
97
  * @param requestOrResponse Request or Response.
114
- * @param requestOrResponse.body
115
- * @param requestOrResponse.bodyUsed
98
+ * @param requestOrResponse.body Body.
99
+ * @param requestOrResponse.bodyUsed Body used.
116
100
  * @returns New stream.
117
101
  */
118
102
  static cloneBodyStream(requestOrResponse) {
119
103
  if (requestOrResponse.bodyUsed) {
120
104
  throw new DOMException(`Failed to clone body stream of request: Request body is already used.`, DOMExceptionNameEnum.invalidStateError);
121
105
  }
106
+ // If a buffer is set, use it to create a new stream.
107
+ if (requestOrResponse[PropertySymbol.buffer]) {
108
+ return this.toReadableStream(requestOrResponse[PropertySymbol.buffer]);
109
+ }
110
+ // Pipe underlying node stream if it exists.
111
+ if (requestOrResponse.body[PropertySymbol.nodeStream]) {
112
+ const stream1 = new Stream.PassThrough();
113
+ const stream2 = new Stream.PassThrough();
114
+ requestOrResponse.body[PropertySymbol.nodeStream].pipe(stream1);
115
+ requestOrResponse.body[PropertySymbol.nodeStream].pipe(stream2);
116
+ // Sets the body of the cloned request/response to the first pass through stream.
117
+ requestOrResponse.body = this.nodeToWebStream(stream1);
118
+ // Returns the clone.
119
+ return this.nodeToWebStream(stream2);
120
+ }
122
121
  // Uses the tee() method to clone the ReadableStream
122
+ // This requires the stream to be consumed in parallel which is not the case for the fetch API
123
123
  const [stream1, stream2] = requestOrResponse.body.tee();
124
124
  // Sets the body of the cloned request to the first pass through stream.
125
125
  // TODO: check id this is required as request should be read only object
@@ -175,5 +175,48 @@ export default class FetchBodyUtility {
175
175
  throw new DOMException(`Could not create Buffer from response body. Error: ${error.message}.`, DOMExceptionNameEnum.invalidStateError);
176
176
  }
177
177
  }
178
+ /**
179
+ * Wraps a given value in a browser ReadableStream.
180
+ *
181
+ * This method creates a ReadableStream and immediately enqueues and closes it
182
+ * with the provided value, useful for stream API compatibility.
183
+ *
184
+ * @param value The value to be wrapped in a ReadableStream.
185
+ * @returns ReadableStream
186
+ */
187
+ static toReadableStream(value) {
188
+ return new ReadableStream({
189
+ start(controller) {
190
+ controller.enqueue(value);
191
+ controller.close();
192
+ }
193
+ });
194
+ }
195
+ /**
196
+ * Wraps a Node.js stream into a browser-compatible ReadableStream.
197
+ *
198
+ * Enables the use of Node.js streams where browser ReadableStreams are required.
199
+ * Handles 'data', 'end', and 'error' events from the Node.js stream.
200
+ *
201
+ * @param nodeStream The Node.js stream to be converted.
202
+ * @returns ReadableStream
203
+ */
204
+ static nodeToWebStream(nodeStream) {
205
+ const readableStream = new ReadableStream({
206
+ start(controller) {
207
+ nodeStream.on('data', (chunk) => {
208
+ controller.enqueue(chunk);
209
+ });
210
+ nodeStream.on('end', () => {
211
+ controller.close();
212
+ });
213
+ nodeStream.on('error', (err) => {
214
+ controller.error(err);
215
+ });
216
+ }
217
+ });
218
+ readableStream[PropertySymbol.nodeStream] = nodeStream;
219
+ return readableStream;
220
+ }
178
221
  }
179
222
  //# sourceMappingURL=FetchBodyUtility.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FetchBodyUtility.js","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchBodyUtility.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,QAAQ,MAAM,6BAA6B,CAAC;AACnD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAC3D,OAAO,oBAAoB,MAAM,yCAAyC,CAAC;AAG3E,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACpC;;;;;;;;OAQG;IACI,MAAM,CAAC,gBAAgB,CAAC,KAAK;QACnC,OAAO,IAAI,cAAc,CAAC;YACzB,KAAK,CAAC,UAAU;gBACf,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;gBAC1B,UAAU,CAAC,KAAK,EAAE,CAAC;YACpB,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACI,MAAM,CAAC,aAAa,CAAC,IAAkC;QAM7D,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS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AE,MAAM,GAAG,OAAO;IAItD;;;;;;;;OAQG;WACW,iBAAiB,CAAC,OAAO,EAAE;QACxC,YAAY,EAAE,aAAa,CAAC;QAC5B,MAAM,EAAE,cAAc,CAAC;QACvB,OAAO,EAAE,OAAO,CAAC;KACjB,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CA6D7B"}
1
+ {"version":3,"file":"FetchRequestHeaderUtility.d.ts","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchRequestHeaderUtility.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,sCAAsC,CAAC;AAEjE,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAG5D,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AA4B5C;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC7C;;;;OAIG;WACW,sBAAsB,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI;IAY7D;;;;;OAKG;WACW,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAItD;;;;;;;;OAQG;WACW,iBAAiB,CAAC,OAAO,EAAE;QACxC,YAAY,EAAE,aAAa,CAAC;QAC5B,MAAM,EAAE,cAAc,CAAC;QACvB,OAAO,EAAE,OAAO,CAAC;KACjB,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CA2D7B"}
@@ -2,6 +2,7 @@ import * as PropertySymbol from '../../PropertySymbol.js';
2
2
  import CookieStringUtility from '../../cookie/urilities/CookieStringUtility.js';
3
3
  import Headers from '../Headers.js';
4
4
  import FetchCORSUtility from './FetchCORSUtility.js';
5
+ import { URL } from 'url';
5
6
  const FORBIDDEN_HEADER_NAMES = [
6
7
  'accept-charset',
7
8
  'accept-encoding',
@@ -63,7 +64,8 @@ export default class FetchRequestHeaderUtility {
63
64
  */
64
65
  static getRequestHeaders(options) {
65
66
  const headers = new Headers(options.request.headers);
66
- const isCORS = FetchCORSUtility.isCORS(options.window.location, options.request[PropertySymbol.url]);
67
+ const originURL = new URL(options.window.location.href);
68
+ const isCORS = FetchCORSUtility.isCORS(originURL, options.request[PropertySymbol.url]);
67
69
  // TODO: Maybe we need to add support for OPTIONS request with 'Access-Control-Allow-*' headers?
68
70
  if (options.request.credentials === 'omit' ||
69
71
  (options.request.credentials === 'same-origin' && isCORS)) {
@@ -80,7 +82,7 @@ export default class FetchRequestHeaderUtility {
80
82
  }
81
83
  if (options.request.credentials === 'include' ||
82
84
  (options.request.credentials === 'same-origin' && !isCORS)) {
83
- const cookies = options.browserFrame.page.context.cookieContainer.getCookies(options.window.location, false);
85
+ const cookies = options.browserFrame.page.context.cookieContainer.getCookies(originURL, false);
84
86
  if (cookies.length > 0) {
85
87
  headers.set('Cookie', CookieStringUtility.cookiesToString(cookies));
86
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FetchRequestHeaderUtility.js","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchRequestHeaderUtility.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D,OAAO,mBAAmB,MAAM,+CAA+C,CAAC;AAChF,OAAO,OAAO,MAAM,eAAe,CAAC;AAGpC,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AAErD,MAAM,sBAAsB,GAAG;IAC9B,gBAAgB;IAChB,iBAAiB;IACjB,gCAAgC;IAChC,+BAA+B;IAC/B,YAAY;IACZ,gBAAgB;IAChB,2BAA2B;IAC3B,QAAQ;IACR,SAAS;IACT,MAAM;IACN,KAAK;IACL,QAAQ;IACR,MAAM;IACN,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,IAAI;IACJ,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,KAAK;CACL,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC7C;;;;OAIG;IACI,MAAM,CAAC,sBAAsB,CAAC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IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,CAAC;YACjF,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1E,CAAC;QAED,0DAA0D;QAC1D,MAAM,kBAAkB,GAAG,EAAE,CAAC;QAE9B,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;YACrE,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;QAChD,CAAC;QAED,OAAO,kBAAkB,CAAC;IAC3B,CAAC;CACD"}
1
+ {"version":3,"file":"FetchRequestHeaderUtility.js","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchRequestHeaderUtility.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D,OAAO,mBAAmB,MAAM,+CAA+C,CAAC;AAChF,OAAO,OAAO,MAAM,eAAe,CAAC;AAGpC,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,sBAAsB,GAAG;IAC9B,gBAAgB;IAChB,iBAAiB;IACjB,gCAAgC;IAChC,+BAA+B;IAC/B,YAAY;IACZ,gBAAgB;IAChB,2BAA2B;IAC3B,QAAQ;IACR,SAAS;IACT,MAAM;IACN,KAAK;IACL,QAAQ;IACR,MAAM;IACN,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,IAAI;IACJ,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,KAAK;CACL,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC7C;;;;OAIG;IACI,MAAM,CAAC,sBAAs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ACW,2BAA2B,CAAC,OAAO,EAAE,OAAO,GAAG,sBAAsB;IAmBnF;;;;;;;;;;OAUG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IA2E9B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,2BAA2B;IAsB1C;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,8BAA8B;CA6C7C"}
1
+ {"version":3,"file":"FetchRequestReferrerUtility.d.ts","sourceRoot":"","sources":["../../../src/fetch/utilities/FetchRequestReferrerUtility.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AAEnC,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,sBAAsB,MAAM,oCAAoC,CAAC;AACxE,OAAO,OAAO,MAAM,eAAe,CAAC;AAepC;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA2B;IAC/C;;;;;OAKG;WACW,cAAc,CAAC,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAYpE;;;;;;OAMG;WACW,kBAAkB,CAC/B,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,EAAE,GAAG,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,GAAG,GACpD,EAAE,GAAG,aAAa,GAAG,QAAQ,GAAG,GAAG;IAYtC;;;;;;OAMG;WACW,2BAA2B,CAAC,OAAO,EAAE,OAAO,GAAG,sBAAsB;IAmBnF;;;;;;;;;;OAUG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IA2E9B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,2BAA2B;IAsB1C;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,8BAA8B;CA6C7C"}
@@ -46,7 +46,7 @@ export default class FetchRequestReferrerUtility {
46
46
  return referrer;
47
47
  }
48
48
  else if (referrer) {
49
- const referrerURL = referrer instanceof URL ? referrer : new URL(referrer, window.location);
49
+ const referrerURL = referrer instanceof URL ? referrer : new URL(referrer, window.location.href);
50
50
  return referrerURL.origin === window.location.origin ? referrerURL : 'client';
51
51
  }
52
52
  return 'client';