haikuwebkit/LayoutTests/imported/w3c/web-platform-tests/encoding
Yusuke Suzuki e9824f0ed5 Fix StructuredClone for streams to handle BigInt64Array / BigUint64Array
https://bugs.webkit.org/show_bug.cgi?id=227571

Reviewed by Chris Dumez.

LayoutTests/imported/w3c:

* resources/import-expectations.json:
* web-platform-tests/FileAPI/blob/Blob-constructor.any-expected.txt:
* web-platform-tests/FileAPI/blob/Blob-constructor.any.js:
(test_blob):
* web-platform-tests/FileAPI/blob/Blob-constructor.any.worker-expected.txt:
* web-platform-tests/encoding/encodeInto.any-expected.txt:
* web-platform-tests/encoding/encodeInto.any.js:
(string_appeared_here.forEach.type.string_appeared_here.forEach):
(Float64Array.forEach.view.string_appeared_here.forEach): Deleted.
* web-platform-tests/encoding/encodeInto.any.worker-expected.txt:
* web-platform-tests/encoding/w3c-import.log:
* web-platform-tests/fetch/api/response/response-clone.any-expected.txt:
* web-platform-tests/fetch/api/response/response-clone.any.js:
* web-platform-tests/fetch/api/response/response-clone.any.worker-expected.txt:

Source/WebCore:

While we already support BigInt64Array / BigUint64Array handling even in DOM code,
we lack support of them only in fetch's structuredClone code (which is specialized one
to make it fast by bypassing serialization / deserialization).

This patch fixes the issue to complete BigInt64Array / BigUint64Array in all DOM code.

* Modules/streams/ReadableStreamInternals.js:
(readableStreamTeePullFunction):
(doStructuredClone): Deleted.
* bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::addBuiltinGlobals):
* bindings/js/StructuredClone.cpp:
(WebCore::JSC_DEFINE_HOST_FUNCTION):
* bindings/js/StructuredClone.h:
* bindings/js/WebCoreBuiltinNames.h:

Canonical link: https://commits.webkit.org/239539@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-09 00:38:41 +00:00
..
legacy-mb-japanese Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
legacy-mb-korean/euc-kr Remove trailing spaces from expected.txt files in imported/w3c/web-platform-tests/encoding/legacy-mb-korean 2020-09-27 15:36:58 +00:00
legacy-mb-schinese Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
legacy-mb-tchinese/big5 Remove trailing spaces from expected.txt files in imported/w3c/web-platform-tests/encoding/legacy-mb-tchinese/big5 2020-09-27 15:34:46 +00:00
resources Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
streams Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
META.yml
api-basics-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-basics.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-basics.any.html
api-basics.any.js
api-basics.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-basics.any.worker.html
api-invalid-label-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-invalid-label.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-invalid-label.any.html
api-invalid-label.any.js
api-invalid-label.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-invalid-label.any.worker.html
api-replacement-encodings-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-replacement-encodings.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-replacement-encodings.any.html
api-replacement-encodings.any.js
api-replacement-encodings.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-replacement-encodings.any.worker.html
api-surrogates-utf8-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-surrogates-utf8.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-surrogates-utf8.any.html
api-surrogates-utf8.any.js
api-surrogates-utf8.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
api-surrogates-utf8.any.worker.html
big5-encoder-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
big5-encoder.html
bom-handling-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
bom-handling.html Resync web-platform-tests/encoding from upstream 2020-07-18 00:37:18 +00:00
bom-handling.html.headers Resync web-platform-tests/encoding from upstream 2020-07-18 00:37:18 +00:00
encodeInto.any-expected.txt Fix StructuredClone for streams to handle BigInt64Array / BigUint64Array 2021-07-09 00:38:41 +00:00
encodeInto.any.html
encodeInto.any.js Fix StructuredClone for streams to handle BigInt64Array / BigUint64Array 2021-07-09 00:38:41 +00:00
encodeInto.any.worker-expected.txt Fix StructuredClone for streams to handle BigInt64Array / BigUint64Array 2021-07-09 00:38:41 +00:00
encodeInto.any.worker.html
eof-shift_jis-expected.html Unreviewed, land baseline for web-platform-tests/encoding/eof-shift_jis.html. 2020-07-24 22:21:38 +00:00
eof-shift_jis.html
eof-utf-8-one-expected.html
eof-utf-8-one.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
eof-utf-8-three-expected.html
eof-utf-8-three.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
eof-utf-8-two-expected.html
eof-utf-8-two.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
idlharness.any-expected.txt Resync web-platform-tests/interfaces tests from upstream 2020-10-31 00:29:02 +00:00
idlharness.any.html
idlharness.any.js Resync web-platform-tests/interfaces tests from upstream 2020-10-31 00:29:02 +00:00
idlharness.any.worker-expected.txt Resync web-platform-tests/interfaces tests from upstream 2020-10-31 00:29:02 +00:00
idlharness.any.worker.html
iso-2022-jp-decoder.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
iso-2022-jp-decoder.any.html
iso-2022-jp-decoder.any.js
iso-2022-jp-decoder.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
iso-2022-jp-decoder.any.worker.html
iso-2022-jp-encoder-expected.txt Implement ISO-2022-JP encoder step 3 2020-10-21 23:09:27 +00:00
iso-2022-jp-encoder.html Implement ISO-2022-JP encoder step 3 2020-10-21 23:09:27 +00:00
remove-only-one-bom-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
remove-only-one-bom.html
replacement-encodings.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
replacement-encodings.any.html
replacement-encodings.any.js
replacement-encodings.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
replacement-encodings.any.worker.html
sharedarraybuffer.https-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
sharedarraybuffer.https.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
sharedarraybuffer.https.html.headers Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
single-byte-decoder-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
single-byte-decoder.window-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
single-byte-decoder.window.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
single-byte-decoder.window.js Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
sniffing-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
sniffing.html
textdecoder-arguments.any-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-arguments.any.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-arguments.any.js Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-arguments.any.worker-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-arguments.any.worker.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-byte-order-marks-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-byte-order-marks.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-byte-order-marks.any.html
textdecoder-byte-order-marks.any.js
textdecoder-byte-order-marks.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-byte-order-marks.any.worker.html
textdecoder-copy.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-copy.any.html
textdecoder-copy.any.js Resync web-platform-tests/encoding from upstream 2020-07-18 00:37:18 +00:00
textdecoder-copy.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-copy.any.worker.html
textdecoder-eof.any-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-eof.any.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-eof.any.js Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-eof.any.worker-expected.txt Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-eof.any.worker.html Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-fatal-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal-single-byte.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal-single-byte.any.html
textdecoder-fatal-single-byte.any.js
textdecoder-fatal-single-byte.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal-single-byte.any.worker.html
textdecoder-fatal-streaming.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal-streaming.any.html
textdecoder-fatal-streaming.any.js
textdecoder-fatal-streaming.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal-streaming.any.worker.html
textdecoder-fatal.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal.any.html
textdecoder-fatal.any.js
textdecoder-fatal.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-fatal.any.worker.html
textdecoder-ignorebom-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-ignorebom.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-ignorebom.any.html
textdecoder-ignorebom.any.js
textdecoder-ignorebom.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-ignorebom.any.worker.html
textdecoder-labels.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-labels.any.html
textdecoder-labels.any.js Resync encoding web-platform-tests from upstream 2021-07-02 20:33:30 +00:00
textdecoder-labels.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-labels.any.worker.html
textdecoder-streaming-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-streaming.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-streaming.any.html
textdecoder-streaming.any.js Resync web-platform-tests/encoding from upstream 2020-07-18 00:37:18 +00:00
textdecoder-streaming.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-streaming.any.worker.html
textdecoder-utf16-surrogates.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-utf16-surrogates.any.html
textdecoder-utf16-surrogates.any.js
textdecoder-utf16-surrogates.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textdecoder-utf16-surrogates.any.worker.html
textencoder-constructor-non-utf-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-constructor-non-utf.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-constructor-non-utf.any.html
textencoder-constructor-non-utf.any.js
textencoder-constructor-non-utf.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-constructor-non-utf.any.worker.html
textencoder-utf16-surrogates-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-utf16-surrogates.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-utf16-surrogates.any.html
textencoder-utf16-surrogates.any.js
textencoder-utf16-surrogates.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
textencoder-utf16-surrogates.any.worker.html
unsupported-encodings.any-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
unsupported-encodings.any.html
unsupported-encodings.any.js
unsupported-encodings.any.worker-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
unsupported-encodings.any.worker.html
utf-32-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
utf-32-from-win1252-expected.txt Remove trailing spaces from expected.txt files in web-platform-tests/encoding, not including the tests in the legacy-mb directories 2020-09-27 15:15:25 +00:00
utf-32-from-win1252.html
utf-32.html
w3c-import.log Fix StructuredClone for streams to handle BigInt64Array / BigUint64Array 2021-07-09 00:38:41 +00:00