RFR: 8311097: Synchron XMLHttpRequest not receiving data
Andrew Brygin
bae at openjdk.org
Wed Aug 30 14:43:42 UTC 2023
This issue is a regression from 7e48413eb0 8285881: Update WebKit to 614.1. For synchronous requests, we have an additional buffer to collect data, and the appending data into this buffer is doing in a wrong way: we use Vector::append(U&& u), which adds only the first data element. Instead, we should use Vector::append(const U* u, size_t size) in order to add all obtained data.
I have added the test for this issue to LoadTest.java
-------------
Commit messages:
- 8311097: Synchron XMLHttpRequest not receiving data
Changes: https://git.openjdk.org/jfx/pull/1227/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1227&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8311097
Stats: 52 lines in 4 files changed: 50 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/1227.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1227/head:pull/1227
PR: https://git.openjdk.org/jfx/pull/1227
More information about the openjfx-dev
mailing list