Closed
Bug 1475129
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 11930 - Reformat Encoding tests
Categories
(Core :: Internationalization, enhancement, P4)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 11930 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/11930
Details from upstream follow.
Leo Balter <leonardo.balter@gmail.com> wrote:
> Reformat Encoding tests
>
> Refactor tests so that they may be consumed by non-browser JavaScript runtimes which implement the WHATWG Encoding standard such as Node.js [1]. Using WPT's `.any.js` convention also extends test coverage in browsers by allowing them to be executed within a Web Worker.
>
> This change is in service of gh-11277.
>
> [1] https://nodejs.org/dist/latest-v8.x/docs/api/util.html#util_whatwg_supported_encodings
>
> /cc @leobalter @mariestaver @nomadtechie
>
| Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → Internationalization
Product: Testing → Core
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2782341b10d3c1994851d5e4bb56fe86999d62a4
| Assignee | ||
Comment 3•7 years ago
|
||
Ran 34 tests and 21800 subtests
OK : 34
PASS : 21780
FAIL : 20
New tests that have failures or other problems:
/encoding/textdecoder-ignorebom.any.html
BOM is ignored if ignoreBOM option is specified: utf-16be: FAIL
BOM is ignored if ignoreBOM option is specified: utf-16le: FAIL
BOM is ignored if ignoreBOM option is specified: utf-8: FAIL
The ignoreBOM attribute of TextDecoder: FAIL
/encoding/textdecoder-ignorebom.any.worker.html
BOM is ignored if ignoreBOM option is specified: utf-16be: FAIL
BOM is ignored if ignoreBOM option is specified: utf-16le: FAIL
BOM is ignored if ignoreBOM option is specified: utf-8: FAIL
The ignoreBOM attribute of TextDecoder: FAIL
/encoding/unsupported-encodings.any.html
UTF-32 with BOM should decode as UTF-16LE: FAIL
UTF-32LE with BOM should decode as UTF-16LE: FAIL
UTF-32be with BOM should decode as windows-1252: FAIL
utf-32 with BOM should decode as UTF-16LE: FAIL
utf-32be with BOM should decode as windows-1252: FAIL
utf-32le with BOM should decode as UTF-16LE: FAIL
/encoding/unsupported-encodings.any.worker.html
UTF-32 with BOM should decode as UTF-16LE: FAIL
UTF-32LE with BOM should decode as UTF-16LE: FAIL
UTF-32be with BOM should decode as windows-1252: FAIL
utf-32 with BOM should decode as UTF-16LE: FAIL
utf-32be with BOM should decode as windows-1252: FAIL
utf-32le with BOM should decode as UTF-16LE: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/833dfc818644
[wpt PR 11930] - Reformat Encoding tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/f58684f7c332
[wpt PR 11930] - Update wpt metadata, a=testonly
Comment 5•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/833dfc818644
https://hg.mozilla.org/mozilla-central/rev/f58684f7c332
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•