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 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
This commit is contained in:
1 parent
c6d52f52c1
commit
3f2450f630
1 file changed
+12
-9
@@ -23,14 +23,17 @@ 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.',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
} : {}),
|
||||
};
|
||||
Reference in new issue
Block a user