[Webkit-unassigned] [Bug 231138] REGRESSION (Safari 15): XHR with requestType document broken for larger HTML files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 3 22:49:39 PDT 2021


--- Comment #5 from erik.witt at baqend.com ---
(In reply to Alexey Proskuryakov from comment #3)
> Yes, I can reproduce. Thank you for the easy to follow steps.
> Please let us know if the suggested workaround doesn't help.

I think the workaround works functionally. Since we use that code in a very performance critical phase, I am not sure it will work well for us though.

Not sure how it works in Safari in particular but in Chrome for example the native DOM parsing of the XHRHttpRequest is more efficient compared to using DOMParser with the document as string. The parsing of the XHR request is for example interlaced with JS execution of the page while DOMParser will block the main thread until the document is parsed (probably as it is not streamed into the parser)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211004/e2507284/attachment-0001.htm>

More information about the webkit-unassigned mailing list