Closed Bug 1669291 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 25988 - [encoding] Add a test with a decoding error in the middle of a stream…

Categories

(Core :: Internationalization, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25988 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25988
Details from upstream follow.

b'Alex Christensen <achristensen@apple.com>' wrote:

[encoding] Add a test with a decoding error in the middle of a stream…

… chunk.

This test comes from http://trac.webkit.org/r266668 and is the only stream
decoding test that has an error in the middle of a chunk given to the decoder.
I had an implementation that passed all other tests then realized I had done it
all wrong and added this test that would have failed with my first implementation.

Component: web-platform-tests → Internationalization
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 4 tests and 13 subtests

Status Summary

Firefox

OK : 4
FAIL: 52

Chrome

OK : 4
PASS: 52

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/encoding/streams/decode-non-utf8.any.sharedworker.html
TextDecoderStream should be able to decode UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-8859-14: FAIL (Chrome: PASS)
/encoding/streams/decode-non-utf8.any.serviceworker.html
TextDecoderStream should be able to decode UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-8859-14: FAIL (Chrome: PASS)
/encoding/streams/decode-non-utf8.any.html
TextDecoderStream should be able to decode UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-8859-14: FAIL (Chrome: PASS)
/encoding/streams/decode-non-utf8.any.worker.html
TextDecoderStream should be able to decode UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16BE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in UTF-16LE: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in Shift_JIS: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to reject invalid sequences in ISO-2022-JP: FAIL (Chrome: PASS)
TextDecoderStream should be able to decode ISO-8859-14: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89aa6bda783b [wpt PR 25988] - [encoding] Add a test with a decoding error in the middle of a stream…, a=testonly https://hg.mozilla.org/integration/autoland/rev/9d09dd8e2bb7 [wpt PR 25988] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.