Closed Bug 1718098 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29481 - Encoding: add some basic EOF tests

Categories

(Core :: Internationalization, task, P4)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Anne van Kesteren <annevk@annevk.nl>' wrote:

Encoding: add some basic EOF tests

For https://github.com/whatwg/encoding/pull/265.

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

CI Results

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

Total 6 tests and 12 subtests

Status Summary

Firefox

OK : 6
PASS : 4
FAIL : 48

Chrome

OK : 6
PASS : 24
FAIL : 28

Safari

OK : 2
PASS : 14
ERROR: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/encoding/streams/decode-utf8.any.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL
an initial empty chunk should be ignored - ArrayBuffer: FAIL
a trailing empty chunk should be ignored - ArrayBuffer: FAIL
/encoding/streams/decode-utf8.any.worker.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL
an initial empty chunk should be ignored - ArrayBuffer: FAIL
a trailing empty chunk should be ignored - ArrayBuffer: FAIL

New Tests That Don't Pass

/encoding/streams/decode-utf8.any.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
an initial empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
a trailing empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
UTF-8 EOF handling - ArrayBuffer: FAIL (Chrome: FAIL, Safari: PASS)
decoding one UTF-8 chunk should give one output string - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding an empty chunk should give no output chunks - SharedArrayBuffer: FAIL (Chrome: FAIL)
an initial empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
a trailing empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
UTF-8 EOF handling - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding a transferred Uint8Array chunk should give no output: FAIL (Chrome: PASS)
decoding a transferred ArrayBuffer chunk should give no output: FAIL (Chrome: PASS)
/encoding/streams/decode-utf8.any.serviceworker.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL (Chrome: PASS)
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL (Chrome: PASS)
an initial empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS)
a trailing empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS)
UTF-8 EOF handling - ArrayBuffer: FAIL (Chrome: FAIL)
decoding one UTF-8 chunk should give one output string - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding an empty chunk should give no output chunks - SharedArrayBuffer: FAIL (Chrome: FAIL)
an initial empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
a trailing empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
UTF-8 EOF handling - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding a transferred Uint8Array chunk should give no output: FAIL (Chrome: PASS)
decoding a transferred ArrayBuffer chunk should give no output: FAIL (Chrome: PASS)
/encoding/streams/decode-utf8.any.worker.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
an initial empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
a trailing empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS, Safari: PASS)
UTF-8 EOF handling - ArrayBuffer: FAIL (Chrome: FAIL, Safari: PASS)
decoding one UTF-8 chunk should give one output string - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding an empty chunk should give no output chunks - SharedArrayBuffer: FAIL (Chrome: FAIL)
an initial empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
a trailing empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
UTF-8 EOF handling - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding a transferred Uint8Array chunk should give no output: FAIL (Chrome: PASS)
decoding a transferred ArrayBuffer chunk should give no output: FAIL (Chrome: PASS)
/encoding/streams/decode-utf8.any.sharedworker.html
decoding one UTF-8 chunk should give one output string - ArrayBuffer: FAIL (Chrome: PASS)
decoding an empty chunk should give no output chunks - ArrayBuffer: FAIL (Chrome: PASS)
an initial empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS)
a trailing empty chunk should be ignored - ArrayBuffer: FAIL (Chrome: PASS)
UTF-8 EOF handling - ArrayBuffer: FAIL (Chrome: FAIL)
decoding one UTF-8 chunk should give one output string - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding an empty chunk should give no output chunks - SharedArrayBuffer: FAIL (Chrome: FAIL)
an initial empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
a trailing empty chunk should be ignored - SharedArrayBuffer: FAIL (Chrome: FAIL)
UTF-8 EOF handling - SharedArrayBuffer: FAIL (Chrome: FAIL)
decoding a transferred Uint8Array chunk should give no output: FAIL (Chrome: PASS)
decoding a transferred ArrayBuffer chunk should give no output: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1382d9c90a75
[wpt PR 29481] - Encoding: add some basic EOF tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0fe5625911c4
[wpt PR 29481] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.