Changeset 266533 in webkit
- Timestamp:
- Sep 3, 2020, 10:53:01 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r266528 r266533 1 2020-09-03 Alex Christensen <achristensen@webkit.org> 2 3 Implement TextEncoder's encodeInto() 4 https://bugs.webkit.org/show_bug.cgi?id=193274 5 6 Reviewed by Darin Adler. 7 8 * web-platform-tests/encoding/encodeInto.any-expected.txt: 9 * web-platform-tests/encoding/encodeInto.any.worker-expected.txt: 10 * web-platform-tests/encoding/idlharness-expected.txt: Removed. 11 * web-platform-tests/encoding/idlharness.any-expected.txt: 12 1 13 2020-09-03 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any-expected.txt
r264561 r266533 1 1 2 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 3 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 4 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 5 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 6 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 7 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 8 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 9 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 10 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 11 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 12 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 13 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 14 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 15 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 16 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 17 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 18 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 19 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 20 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 21 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 22 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 23 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 24 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 25 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 26 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 27 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 28 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 29 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 30 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 31 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 32 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 33 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 34 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 35 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 36 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 37 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 38 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 39 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 40 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 41 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 42 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 43 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 44 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 45 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 46 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 47 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 48 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 49 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 50 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 51 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 52 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 53 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 54 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 55 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 56 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 57 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 58 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 59 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 60 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 61 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 62 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 63 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 64 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 65 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 66 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 67 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 68 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 69 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 70 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 71 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 72 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 73 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 74 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 75 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 76 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 77 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 78 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 79 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 80 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 81 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 82 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 83 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 84 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 85 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 2 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0 3 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0 4 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0 5 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0 6 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128 7 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128 8 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128 9 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128 10 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random 11 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random 12 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random 13 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random 14 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0 15 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0 16 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0 17 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0 18 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128 19 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128 20 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128 21 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128 22 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random 23 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random 24 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random 25 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random 26 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 27 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 28 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 29 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 30 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 31 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 32 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 33 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 34 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random 35 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random 36 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random 37 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random 38 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 39 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 40 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 41 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 42 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 43 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 44 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 45 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 46 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random 47 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random 48 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random 49 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random 50 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 51 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 52 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 53 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 54 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 55 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 56 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 57 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 58 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random 59 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random 60 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random 61 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random 62 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 63 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 64 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 65 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 66 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 67 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 68 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 69 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 70 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random 71 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random 72 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random 73 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random 74 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 75 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 76 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 77 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 78 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 79 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 80 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 81 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 82 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random 83 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random 84 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random 85 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random 86 86 PASS Invalid encodeInto() destination: DataView, backed by: ArrayBuffer 87 87 PASS Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer … … 104 104 PASS Invalid encodeInto() destination: ArrayBuffer 105 105 PASS Invalid encodeInto() destination: SharedArrayBuffer 106 FAIL encodeInto() and a detached output buffer new TextEncoder().encodeInto is not a function. (In 'new TextEncoder().encodeInto("", view)', 'new TextEncoder().encodeInto' is undefined) 106 PASS encodeInto() and a detached output buffer 107 107 -
trunk/LayoutTests/imported/w3c/web-platform-tests/encoding/encodeInto.any.worker-expected.txt
r264561 r266533 1 1 2 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 3 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 4 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 5 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 6 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 7 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 8 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 9 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 10 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 11 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 12 FAIL encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 13 FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 14 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 15 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 16 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 17 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 18 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 19 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 20 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 21 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 22 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 23 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 24 FAIL encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 25 FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 26 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 27 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 28 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 29 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 30 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 31 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 32 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 33 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 34 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 35 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 36 FAIL encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 37 FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 38 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 39 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 40 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 41 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 42 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 43 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 44 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 45 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 46 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 47 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 48 FAIL encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 49 FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 50 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 51 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 52 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 53 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 54 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 55 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 56 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 57 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 58 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 59 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 60 FAIL encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 61 FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 62 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 63 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 64 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 65 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 66 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 67 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 68 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 69 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 70 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 71 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 72 FAIL encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 73 FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 74 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 75 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 76 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 77 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 78 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 79 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 80 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 81 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 82 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 83 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 84 FAIL encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 85 FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random encoder.encodeInto is not a function. (In 'encoder.encodeInto(testData.input, view)', 'encoder.encodeInto' is undefined) 2 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0 3 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0 4 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0 5 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0 6 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128 7 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128 8 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128 9 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128 10 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random 11 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random 12 PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random 13 PASS encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random 14 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0 15 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0 16 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0 17 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0 18 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128 19 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128 20 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128 21 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128 22 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random 23 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random 24 PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random 25 PASS encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random 26 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 27 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 28 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 29 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 30 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 31 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 32 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 33 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 34 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random 35 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random 36 PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random 37 PASS encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random 38 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 39 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 40 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 41 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 42 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 43 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 44 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 45 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 46 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random 47 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random 48 PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random 49 PASS encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random 50 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 51 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 52 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 53 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 54 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 55 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 56 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 57 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 58 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random 59 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random 60 PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random 61 PASS encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random 62 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 63 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 64 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 65 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 66 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 67 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 68 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 69 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 70 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random 71 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random 72 PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random 73 PASS encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random 74 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 75 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 76 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 77 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 78 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 79 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 80 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 81 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 82 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random 83 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random 84 PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random 85 PASS encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random 86 86 PASS Invalid encodeInto() destination: DataView, backed by: ArrayBuffer 87 87 PASS Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer … … 104 104 PASS Invalid encodeInto() destination: ArrayBuffer 105 105 PASS Invalid encodeInto() destination: SharedArrayBuffer 106 FAIL encodeInto() and a detached output buffer new TextEncoder().encodeInto is not a function. (In 'new TextEncoder().encodeInto("", view)', 'new TextEncoder().encodeInto' is undefined) 106 PASS encodeInto() and a detached output buffer 107 107 -
trunk/LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any-expected.txt
r266348 r266533 32 32 PASS TextEncoder interface: existence and properties of interface prototype object's @@unscopables property 33 33 PASS TextEncoder interface: operation encode(optional USVString) 34 FAIL TextEncoder interface: operation encodeInto(USVString, Uint8Array) assert_own_property: interface prototype object missing non-static operation expected property "encodeInto" missing 34 PASS TextEncoder interface: operation encodeInto(USVString, Uint8Array) 35 35 PASS TextEncoder interface: attribute encoding 36 36 PASS TextEncoder must be primary interface of new TextEncoder() … … 38 38 PASS TextEncoder interface: new TextEncoder() must inherit property "encode(optional USVString)" with the proper type 39 39 PASS TextEncoder interface: calling encode(optional USVString) on new TextEncoder() with too few arguments must throw TypeError 40 FAIL TextEncoder interface: new TextEncoder() must inherit property "encodeInto(USVString, Uint8Array)" with the proper type assert_inherits: property "encodeInto" not found in prototype chain 41 FAIL TextEncoder interface: calling encodeInto(USVString, Uint8Array) on new TextEncoder() with too few arguments must throw TypeError assert_inherits: property "encodeInto" not found in prototype chain 40 PASS TextEncoder interface: new TextEncoder() must inherit property "encodeInto(USVString, Uint8Array)" with the proper type 41 PASS TextEncoder interface: calling encodeInto(USVString, Uint8Array) on new TextEncoder() with too few arguments must throw TypeError 42 42 PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" with the proper type 43 43 PASS TextDecoderStream interface: existence and properties of interface object -
trunk/LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness.any.worker-expected.txt
r266348 r266533 32 32 PASS TextEncoder interface: existence and properties of interface prototype object's @@unscopables property 33 33 PASS TextEncoder interface: operation encode(optional USVString) 34 FAIL TextEncoder interface: operation encodeInto(USVString, Uint8Array) assert_own_property: interface prototype object missing non-static operation expected property "encodeInto" missing 34 PASS TextEncoder interface: operation encodeInto(USVString, Uint8Array) 35 35 PASS TextEncoder interface: attribute encoding 36 36 PASS TextEncoder must be primary interface of new TextEncoder() … … 38 38 PASS TextEncoder interface: new TextEncoder() must inherit property "encode(optional USVString)" with the proper type 39 39 PASS TextEncoder interface: calling encode(optional USVString) on new TextEncoder() with too few arguments must throw TypeError 40 FAIL TextEncoder interface: new TextEncoder() must inherit property "encodeInto(USVString, Uint8Array)" with the proper type assert_inherits: property "encodeInto" not found in prototype chain 41 FAIL TextEncoder interface: calling encodeInto(USVString, Uint8Array) on new TextEncoder() with too few arguments must throw TypeError assert_inherits: property "encodeInto" not found in prototype chain 40 PASS TextEncoder interface: new TextEncoder() must inherit property "encodeInto(USVString, Uint8Array)" with the proper type 41 PASS TextEncoder interface: calling encodeInto(USVString, Uint8Array) on new TextEncoder() with too few arguments must throw TypeError 42 42 PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" with the proper type 43 43 PASS TextDecoderStream interface: existence and properties of interface object -
trunk/Source/WebCore/ChangeLog
r266531 r266533 1 2020-09-03 Alex Christensen <achristensen@webkit.org> 2 3 Implement TextEncoder's encodeInto() 4 https://bugs.webkit.org/show_bug.cgi?id=193274 5 6 Reviewed by Darin Adler. 7 8 Covered by newly passing web platform tests. 9 10 * bindings/js/JSDOMConvertBufferSource.h: 11 (WebCore::JSConverter<IDLUint8Array>::convertNewlyCreated): 12 * dom/TextEncoder.cpp: 13 (WebCore::TextEncoder::encodeInto): 14 * dom/TextEncoder.h: 15 * dom/TextEncoder.idl: 16 1 17 2020-09-03 David Kilzer <ddkilzer@apple.com> 2 18 -
trunk/Source/WebCore/bindings/js/JSDOMConvertBufferSource.h
r251425 r266533 259 259 return toJS(&lexicalGlobalObject, &globalObject, Detail::getPtrOrRef(value)); 260 260 } 261 262 template<typename U> 263 static JSC::JSValue convertNewlyCreated(JSC::JSGlobalObject& lexicalGlobalObject, JSDOMGlobalObject& globalObject, U&& value) 264 { 265 return convert(lexicalGlobalObject, globalObject, std::forward<U>(value)); 266 } 261 267 }; 262 268 -
trunk/Source/WebCore/bindings/scripts/IDLAttributes.json
r266339 r266533 220 220 }, 221 221 "Exposed": { 222 "contextsAllowed": ["interface", "attribute", "operation", "constant" ],222 "contextsAllowed": ["interface", "attribute", "operation", "constant", "dictionary"], 223 223 "values": ["*"], 224 224 "standard": { -
trunk/Source/WebCore/dom/TextEncoder.cpp
r237009 r266533 44 44 } 45 45 46 auto TextEncoder::encodeInto(String&& input, Ref<Uint8Array>&& array) -> EncodeIntoResult 47 { 48 auto* destinationBytes = static_cast<uint8_t*>(array->baseAddress()); 49 auto capacity = array->byteLength(); 50 51 uint64_t read = 0; 52 uint64_t written = 0; 53 54 for (auto token : StringView(input).codePoints()) { 55 if (written >= capacity) { 56 ASSERT(written == capacity); 57 break; 58 } 59 UBool sawError = false; 60 U8_APPEND(destinationBytes, written, capacity, token, sawError); 61 if (sawError) 62 break; 63 if (U_IS_BMP(token)) 64 read++; 65 else 66 read += 2; 67 } 68 69 return { read, written }; 46 70 } 71 72 } -
trunk/Source/WebCore/dom/TextEncoder.h
r228218 r266533 25 25 #pragma once 26 26 27 #include "JSDOMConvertBufferSource.h" 27 28 #include <JavaScriptCore/Uint8Array.h> 28 29 #include <wtf/Ref.h> … … 35 36 class TextEncoder : public RefCounted<TextEncoder> { 36 37 public: 38 struct EncodeIntoResult { 39 uint64_t read { 0 }; 40 uint64_t written { 0 }; 41 }; 42 37 43 static Ref<TextEncoder> create() { return adoptRef(*new TextEncoder); } 38 44 String encoding() const; 39 45 RefPtr<Uint8Array> encode(String&&) const; 46 EncodeIntoResult encodeInto(String&&, Ref<Uint8Array>&& destination); 40 47 private: 41 48 TextEncoder() { }; -
trunk/Source/WebCore/dom/TextEncoder.idl
r263160 r266533 26 26 [ 27 27 Exposed=(Window,Worker), 28 JSGenerateToJSObject 29 ] dictionary TextEncoderEncodeIntoResult { 30 unsigned long long read; 31 unsigned long long written; 32 }; 33 34 [ 35 Exposed=(Window,Worker), 28 36 ImplementationLacksVTable 29 37 ] interface TextEncoder { … … 32 40 readonly attribute DOMString encoding; 33 41 34 // FIXME: This should have [NewObject]35 Uint8Array encode(optional USVString input = "");42 [NewObject] Uint8Array encode(optional USVString input = ""); 43 TextEncoderEncodeIntoResult encodeInto(USVString source, Uint8Array destination); 36 44 };
Note:
See TracChangeset
for help on using the changeset viewer.