lib: fix modulo sign in webidl convertToInt #75184
Annotations
4 errors, 1 warning, and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/wpt/test-blob.js#L0
--- stderr ---
/Users/runner/work/node/node/node/test/common/wpt.js:844
throw new Error(
^
Error: Found 2 unexpected failures. Consider updating test/wpt/status/FileAPI/blob.cjs for these files:
Blob-slice-overflow.any.js
Blob-slice.any.js
at process.<anonymous> (/Users/runner/work/node/node/node/test/common/wpt.js:844:15)
at process.emit (node:events:509:20)
Node.js v26.0.0-pre
--- stdout ---
[SKIPPED] Blob-constructor-dom.window.js: Depends on DOM API
[SKIPPED] Blob-in-worker.worker.js: Depends on Web Workers API
[PASS] Blob.arrayBuffer()
[PASS] Blob.arrayBuffer() empty Blob data
[PASS] Blob.arrayBuffer() non-ascii input
[PASS] Blob.arrayBuffer() non-unicode input
[PASS] Blob.arrayBuffer() concurrent reads
[PASS] Blob.bytes()
[PASS] Blob.bytes() empty Blob data
[PASS] Blob.bytes() non-ascii input
[PASS] Blob.bytes() non-unicode input
[PASS] Blob.bytes() concurrent reads
[PASS] Blob interface object
[PASS] Blob constructor with no arguments
[PASS] Blob constructor with no arguments, without 'new'
[PASS] Blob constructor without brackets
[PASS] Blob constructor with undefined as first argument
[PASS] Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.
[PASS] A plain object with custom @@iterator should be treated as a sequence for the blobParts argument.
[PASS] blobParts not an object: boolean
[PASS] blobParts not an object: boolean with Boolean.prototype[Symbol.iterator]
[PASS] blobParts not an object: string
[PASS] blobParts not an object: string with String.prototype[Symbol.iterator]
[PASS] blobParts not an object: number
[PASS] blobParts not an object: number with Number.prototype[Symbol.iterator]
[PASS] blobParts not an object: BigInt
[PASS] blobParts not an object: BigInt with BigInt.prototype[Symbol.iterator]
[PASS] blobParts not an object: Symbol
[PASS] blobParts not an object: Symbol with Symbol.prototype[Symbol.iterator]
[PASS] The length getter should be invoked and any exceptions should be propagated.
[PASS] ToUint32 should be applied to the length and any exceptions should be propagated.
[PASS] Getters and value conversions should happen in order until an exception is thrown.
[PASS] ToString should be called on elements of the blobParts array and any exceptions should be propagated.
[PASS] options properties should be accessed in lexicographic order.
[PASS] Arguments should be evaluated from left to right.
[PASS] Passing 123 for options should throw
[PASS] Passing 123.4 for options should throw
[PASS] Passing true for options should throw
[PASS] Passing "abc" for options should throw
[PASS] Blob with type ""
[PASS] Blob with type "a"
[PASS] Blob with type "A"
[PASS] Blob with type "text/html"
[PASS] Blob with type "TEXT/HTML"
[PASS] Blob with type "text/plain;charset=utf-8"
[PASS] Blob with type "å"
[PASS] Blob with type "𐑾"
[PASS] Blob with type " image/gif "
[PASS] Blob with type "\timage/gif\t"
[PASS] Blob with type "image/gif;�"
[PASS] Blob with type "İmage/gif"
[PASS] Blob with type "ımage/gif"
[PASS] Blob with type "image/gif\0"
[PASS] Blob with type "unknown/unknown"
[PASS] Blob with type "text/plain"
[PASS] Blob with type "image/png"
[PASS] A plain object with @@iterator should be treated as a sequence for the blobParts argument.
[PASS] A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.
[PASS] A String object should be treated as a sequence for the blobParts argument.
[PASS] A Uint8Array object should be treated as a sequence for the blobParts argument.
[PASS] Changes to the blobParts array should be reflected in the returned Blob (pop).
[PASS] Changes to the blobParts array should be reflected in the returned Blob (unshift).
[PASS] ToString should be called on elements of the blobParts array.
[PASS] ArrayBuffer elements of the blobParts array should be supported.
[UNEXPECTED_PASS][PASS] Passing typed arrays as elements of the blobParts array should work.
[UNEXPECTED_PASS][PASS] Passing a Float16Array as element of the blobParts array should work.
[UNEXPECTED_PASS][PASS] Passing a
|
|
test-macOS:
test/parallel/test-internal-webidl-converttoint.js#L22
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== -1
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-internal-webidl-converttoint.js:22:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: -1,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /Users/runner/work/node/node/node/test/parallel/test-internal-webidl-converttoint.js
|
|
test-macOS:
test/parallel/test-blob.js#L148
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-blob.js:148:10)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --no-warnings --expose-internals /Users/runner/work/node/node/node/test/parallel/test-blob.js
|
|
test-macOS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
sccache stats
75% - 3756 hits, 1220 misses, 0 errors
|