GeezerVison is showing github.com — test: scope Blob WPT failures to big-endian · nodejs/node@d4c87eb
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/wpt/status/FileAPI/blob.cjs +12-9Lines changed: 12 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -23,14 +23,17 @@ module.exports = { |
23 | 23 | 'Blob-constructor-dom.window.js': { |
24 | 24 | skip: 'Depends on DOM API', |
25 | 25 | }, |
26 | | - 'Blob-constructor.any.js': { |
27 | | - fail: { |
28 | | - flaky: [ |
29 | | - 'Passing typed arrays as elements of the blobParts array should work.', |
30 | | - 'Passing a Float16Array as element of the blobParts array should work.', |
31 | | - 'Passing a Float64Array as element of the blobParts array should work.', |
32 | | - 'Passing BigInt typed arrays as elements of the blobParts array should work.', |
33 | | - ], |
| 26 | + ...(os.endianness() === 'BE' ? { |
| 27 | + 'Blob-constructor.any.js': { |
| 28 | + fail: { |
| 29 | + note: 'The expected bytes assume a little-endian platform', |
| 30 | + expected: [ |
| 31 | + 'Passing typed arrays as elements of the blobParts array should work.', |
| 32 | + 'Passing a Float16Array as element of the blobParts array should work.', |
| 33 | + 'Passing a Float64Array as element of the blobParts array should work.', |
| 34 | + 'Passing BigInt typed arrays as elements of the blobParts array should work.', |
| 35 | + ], |
| 36 | + }, |
34 | 37 | }, |
35 | | - }, |
| 38 | + } : {}), |
36 | 39 | }; |