Skip to content

Commit

Permalink
Synchronize encoding WPT
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=279898

Reviewed by NOBODY (OOPS!).

Synchronize the encoding/ folder with upstream, using --clean-dest-dir
to remove many stale files (became stale due to changes from .html to
.any.js). Also gives us better coverage for the streams API.

This should not impact GB18030-2022 coverage as most of that was
already exported one way or another.
web-platform-tests/wpt#48239 tracks the latest
that is still missing upstream.

Otherwise this aligns with this commit upstream:
web-platform-tests/wpt@62fb506

* LayoutTests/imported/w3c/resources/resource-files.json:
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-basics-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-basics.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker_1-1000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker_1001-2000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker_2001-3000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.worker_3001-last-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any_1-1000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any_1001-2000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any_2001-3000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any_3001-last-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-replacement-encodings-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-surrogates-utf8-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/api-surrogates-utf8.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.js.headers: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.serviceworker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any-expected.txt.
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.sharedworker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any-expected.txt.
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/encoding/eof-shift_jis-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/eof-utf-8-one-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/eof-utf-8-three-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/eof-utf-8-two-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/iso-2022-jp-decoder.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-korean/euc-kr/euckr-decode-ks_c_5601-1987-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-decoder-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-decoder.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-decoder.html: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gbk/gbk-decoder-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gbk/gbk-decoder.html: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-tchinese/big5/big5-encode-form-errors-extBa-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/resources/text-html-meta-charset.py: Added.
(main):
* LayoutTests/imported/w3c/web-platform-tests/encoding/resources/w3c-import.log:
* LayoutTests/imported/w3c/web-platform-tests/encoding/sharedarraybuffer.https-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/encoding/sharedarraybuffer.https.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/single-byte-decoder-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/backpressure.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/backpressure.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/backpressure.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/backpressure.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/backpressure.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-attributes.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-attributes.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-attributes.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-attributes.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-attributes.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-bad-chunks.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-bad-chunks.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-bad-chunks.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-bad-chunks.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-bad-chunks.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-ignore-bom.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-ignore-bom.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-ignore-bom.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-ignore-bom.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-incomplete-input.any.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-incomplete-input.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-incomplete-input.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-incomplete-input.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-incomplete-input.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-non-utf8.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-non-utf8.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-non-utf8.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-non-utf8.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-non-utf8.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-split-character.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-split-character.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-split-character.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-split-character.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.js.headers: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/decode-utf8.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-bad-chunks.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-bad-chunks.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-bad-chunks.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-bad-chunks.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-utf8.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-utf8.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-utf8.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/encode-utf8.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/invalid-realm.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/invalid-realm.window.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/invalid-realm.window.js: Added.
(addIframe):
(promise_test.async t):
(string_appeared_here.promise_test.async t):
(string_appeared_here.return.stream.writable.close):
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/readable-writable-properties.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/readable-writable-properties.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/readable-writable-properties.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/readable-writable-properties.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/readable-writable-properties.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/stringification-crash.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/streams/w3c-import.log:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-arguments.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-byte-order-marks-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-byte-order-marks.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.js.headers: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-copy.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker.html:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_1-1000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_1001-2000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_2001-3000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_3001-4000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_4001-5000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_5001-6000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_6001-7000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any.worker_7001-last-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_1-1000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_1001-2000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_2001-3000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_3001-4000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_4001-5000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_5001-6000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_6001-7000-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.any_7001-last-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-streaming.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-fatal.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-ignorebom-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-ignorebom.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.js.headers: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.serviceworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-streaming.any.sharedworker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textdecoder-utf16-surrogates.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/textencoder-constructor-non-utf-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textencoder-utf16-surrogates-expected.txt: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/textencoder-utf16-surrogates.any.js:
* LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels.html: Removed.
* LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels.window-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels-expected.txt.
* LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels.window.html: Copied from LayoutTests/imported/w3c/web-platform-tests/encoding/api-invalid-label.any.html.
* LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels.window.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/encoding/resources/unsupported-labels.window.js.
(string_appeared_here.forEach.label.async_test.t.frame.onload.t.step_func_done):
* LayoutTests/imported/w3c/web-platform-tests/encoding/w3c-import.log:
* LayoutTests/tests-options.json:
  • Loading branch information
annevk committed Sep 18, 2024
1 parent 322985d commit 5ef3bc1
Show file tree
Hide file tree
Showing 154 changed files with 22,123 additions and 63,810 deletions.
4 changes: 4 additions & 0 deletions LayoutTests/imported/w3c/resources/resource-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -8479,6 +8479,10 @@
"web-platform-tests/dom/xslt/sort-ref.html",
"web-platform-tests/domxpath/001.html",
"web-platform-tests/domxpath/xml_xpath_tests.xml",
"web-platform-tests/encoding/eof-shift_jis-ref.html",
"web-platform-tests/encoding/eof-utf-8-one-ref.html",
"web-platform-tests/encoding/eof-utf-8-three-ref.html",
"web-platform-tests/encoding/eof-utf-8-two-ref.html",
"web-platform-tests/encoding/legacy-mb-japanese/euc-jp/eucjp_chars-cseucpkdfmtjapanese.html",
"web-platform-tests/encoding/legacy-mb-japanese/euc-jp/eucjp_chars-x-euc-jp.html",
"web-platform-tests/encoding/legacy-mb-japanese/euc-jp/eucjp_chars.html",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// META: global=window,dedicatedworker,shadowrealm
// META: title=Encoding API: Basics

test(function() {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
<!-- This file is required for WebKit test infrastructure to run the templated test -->
<!-- This file is required for WebKit test infrastructure to run the templated test -->
<!-- META: variant=?1-1000 -->
<!-- META: variant=?1001-2000 -->
<!-- META: variant=?2001-3000 -->
<!-- META: variant=?3001-last -->

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
<!-- This file is required for WebKit test infrastructure to run the templated test -->
<!-- This file is required for WebKit test infrastructure to run the templated test -->
<!-- META: variant=?1-1000 -->
<!-- META: variant=?1001-2000 -->
<!-- META: variant=?2001-3000 -->
<!-- META: variant=?3001-last -->

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// META: global=window,dedicatedworker,shadowrealm
// META: title=Encoding API: Invalid UTF-16 surrogates with UTF-8 encoding

var badStrings = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ PASS Invalid encodeInto() destination: BigInt64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: BigInt64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: BigUint64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: BigUint64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float64Array, backed by: ArrayBuffer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"Uint8ClampedArray",
"BigInt64Array",
"BigUint64Array",
"Float16Array",
"Float32Array",
"Float64Array"].forEach(type => {
["ArrayBuffer", "SharedArrayBuffer"].forEach((arrayBufferOrSharedArrayBuffer) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@

PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random
PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random
PASS Invalid encodeInto() destination: DataView, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int8Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int8Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint8ClampedArray, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint8ClampedArray, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: BigInt64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: BigInt64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: BigUint64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: BigUint64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: ArrayBuffer
PASS Invalid encodeInto() destination: SharedArrayBuffer
PASS encodeInto() and a detached output buffer

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- This file is required for WebKit test infrastructure to run the templated test -->
Loading

0 comments on commit 5ef3bc1

Please sign in to comment.