mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: scope Blob WPT failures to big-endian
The typed array Blob constructor tests expect little-endian byte order. Mark them as expected failures only on big-endian platforms, so failures on little-endian platforms remain visible. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Claude, Codex PR-URL: https://github.com/nodejs/node/pull/66322 Backport-PR-URL: https://github.com/nodejs/node/pull/66970 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
4613bec088
commit
c37a2275df
1 file changed
+12
-9
@@ -23,16 +23,19 @@ module.exports = {
|
||||
'Blob-constructor-dom.window.js': {
|
||||
skip: 'Depends on DOM API',
|
||||
},
|
||||
'Blob-constructor.any.js': {
|
||||
fail: {
|
||||
flaky: [
|
||||
'Passing typed arrays as elements of the blobParts array should work.',
|
||||
'Passing a Float16Array as element of the blobParts array should work.',
|
||||
'Passing a Float64Array as element of the blobParts array should work.',
|
||||
'Passing BigInt typed arrays as elements of the blobParts array should work.',
|
||||
],
|
||||
...(os.endianness() === 'BE' ? {
|
||||
'Blob-constructor.any.js': {
|
||||
fail: {
|
||||
note: 'The expected bytes assume a little-endian platform',
|
||||
expected: [
|
||||
'Passing typed arrays as elements of the blobParts array should work.',
|
||||
'Passing a Float16Array as element of the blobParts array should work.',
|
||||
'Passing a Float64Array as element of the blobParts array should work.',
|
||||
'Passing BigInt typed arrays as elements of the blobParts array should work.',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
} : {}),
|
||||
'Blob-in-worker.worker.js': {
|
||||
skip: 'Depends on Web Workers API',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user