Closed Bug 1475129 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 11930 - Reformat Encoding tests

Categories

(Core :: Internationalization, enhancement, P4)

enhancement

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 >
Component: web-platform-tests → Internationalization
Product: Testing → Core
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
You need to log in before you can comment on or make changes to this bug.