Skip to content

lib: add FileAPI support #95643

lib: add FileAPI support

lib: add FileAPI support #95643

Triggered via pull request November 6, 2026 15:42
Status Failure
Total duration 39m 37s
Artifacts –

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/wpt/test-fileapi.js#L0
--- stderr --- /home/runner/work/node/node/node/test/common/wpt.js:1166 throw new Error( ^ Error: Found 1 unexpected failures. Consider updating test/wpt/status/FileAPI.json for these files: FileReaderSync.worker.js at process.<anonymous> (/home/runner/work/node/node/node/test/common/wpt.js:1166:15) at process.emit (node:events:526:24) Node.js v28.0.0-pre --- stdout --- [PASS] FileAPI/FileReaderSync.worker.html: Interface [PASS] FileAPI/FileReaderSync.worker.html: readAsText [PASS] FileAPI/FileReaderSync.worker.html: readAsText with empty blob [PASS] FileAPI/FileReaderSync.worker.html: readAsDataURL [UNEXPECTED_FAILURE][FAIL] FileAPI/FileReaderSync.worker.html: readAsDataURL with empty blob assert_equals: expected "data:application/octet-stream;base64," but got "data:;base64," at Test.<anonymous> (file:///home/runner/work/node/node/node/test/fixtures/wpt/FileAPI/FileReaderSync.worker.js:31:5) at Test.step (file:///home/runner/work/node/node/node/test/fixtures/wpt/resources/testharness.js:2869:25) at test (file:///home/runner/work/node/node/node/test/fixtures/wpt/resources/testharness.js:633:30) at file:///home/runner/work/node/node/node/test/fixtures/wpt/FileAPI/FileReaderSync.worker.js:29:1 at runScriptInThisContext (node:internal/vm:219:10) Command: /home/runner/work/node/node/node/out/Release/node /home/runner/work/node/node/node/test/wpt/test-fileapi.js 'FileAPI/FileReaderSync.worker.html' [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString with empty blob [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString with multi-byte UTF-8 char [PASS] FileAPI/FileReaderSync.worker.html: readAsArrayBuffer [PASS] FileAPI/FileReaderSync.worker.html: readAsArrayBuffer with empty blob { "FileReaderSync.worker.js": { "fail": { "unexpected": [ "readAsDataURL with empty blob" ] } } } Files: 1/1 ran, 0 passed, 0 skipped, 0 expected failures, 1 unexpected failure, 0 unexpected passes Subtests: 9 passed, 0 skipped, 0 expected failures, 1 unexpected failure, 0 unexpected passes Command: out/Release/node /home/runner/work/node/node/node/test/wpt/test-fileapi.js FileAPI/FileReaderSync.worker.html
test-linux (ubuntu-24.04-arm): test/parallel/test-config-json-schema.js#L56
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: JSON schema is outdated. Run `out/Release/node --expose-internals tools/doc/generate-json-schema.mjs` to update it. + actual - expected ... Skipped lines { '$defs': { config: { additionalProperties: false, properties: { ... }, + 'experimental-fileapi': { + description: 'experimental File API globals', + type: 'boolean' + }, 'experimental-global-navigator': { description: 'expose experimental Navigator API on the global scope', type: 'boolean' }, 'experimental-import-meta-resolve': { at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-config-json-schema.js:56:8) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: { '$schema': 'https://json-schema.org/draft/2020-12/schema', oneOf: [ { '$ref': '#/$defs/config' }, { type: 'object', additionalProperties: false, required: [ 'configs' ], properties: { '$schema': { type: 'string' }, configs: { type: 'array', minItems: 1, items: [Object] } } } ], '$defs': { config: { additionalProperties: false, required: [], properties: { '$schema': { type: 'string' }, bench: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, nodeOptions: { additionalProperties: false, required: [], properties: [Object], type: 'object' }, nodeVersion: { type: 'integer' }, permission: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, test: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, watch: { type: 'object', additionalProperties: false, required: [], properties: [Object] } }, type: 'object' } } }, expected: { '$schema': 'https://json-schema.org/draft/2020-12/schema', oneOf: [ { '$ref': '#/$defs/config' }, { type: 'object', additionalProperties: false, required: [ 'configs' ], properties: { '$schema': { type: 'string' }, configs: { type: 'array', minItems: 1, items: [Object] } } } ], '$defs': { config: { additionalProperties: false, required: [], properties: { '$schema': { type: 'string' }, bench: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, nodeOptions: { additionalProperties: false, required: [], properties: [Object], type: 'object' }, nodeVersion: { type: 'integer' }, permission: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, test: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, watch: { type: 'object',
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/wpt/test-fileapi.js#L0
--- stderr --- /home/runner/work/node/node/node/test/common/wpt.js:1166 throw new Error( ^ Error: Found 1 unexpected failures. Consider updating test/wpt/status/FileAPI.json for these files: FileReaderSync.worker.js at process.<anonymous> (/home/runner/work/node/node/node/test/common/wpt.js:1166:15) at process.emit (node:events:526:24) Node.js v28.0.0-pre --- stdout --- [PASS] FileAPI/FileReaderSync.worker.html: Interface [PASS] FileAPI/FileReaderSync.worker.html: readAsText [PASS] FileAPI/FileReaderSync.worker.html: readAsText with empty blob [PASS] FileAPI/FileReaderSync.worker.html: readAsDataURL [UNEXPECTED_FAILURE][FAIL] FileAPI/FileReaderSync.worker.html: readAsDataURL with empty blob assert_equals: expected "data:application/octet-stream;base64," but got "data:;base64," at Test.<anonymous> (file:///home/runner/work/node/node/node/test/fixtures/wpt/FileAPI/FileReaderSync.worker.js:31:5) at Test.step (file:///home/runner/work/node/node/node/test/fixtures/wpt/resources/testharness.js:2869:25) at test (file:///home/runner/work/node/node/node/test/fixtures/wpt/resources/testharness.js:633:30) at file:///home/runner/work/node/node/node/test/fixtures/wpt/FileAPI/FileReaderSync.worker.js:29:1 at runScriptInThisContext (node:internal/vm:219:10) Command: /home/runner/work/node/node/node/out/Release/node /home/runner/work/node/node/node/test/wpt/test-fileapi.js 'FileAPI/FileReaderSync.worker.html' [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString with empty blob [PASS] FileAPI/FileReaderSync.worker.html: readAsBinaryString with multi-byte UTF-8 char [PASS] FileAPI/FileReaderSync.worker.html: readAsArrayBuffer [PASS] FileAPI/FileReaderSync.worker.html: readAsArrayBuffer with empty blob { "FileReaderSync.worker.js": { "fail": { "unexpected": [ "readAsDataURL with empty blob" ] } } } Files: 1/1 ran, 0 passed, 0 skipped, 0 expected failures, 1 unexpected failure, 0 unexpected passes Subtests: 9 passed, 0 skipped, 0 expected failures, 1 unexpected failure, 0 unexpected passes Command: out/Release/node /home/runner/work/node/node/node/test/wpt/test-fileapi.js FileAPI/FileReaderSync.worker.html
test-linux (ubuntu-24.04): test/parallel/test-config-json-schema.js#L56
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: JSON schema is outdated. Run `out/Release/node --expose-internals tools/doc/generate-json-schema.mjs` to update it. + actual - expected ... Skipped lines { '$defs': { config: { additionalProperties: false, properties: { ... }, + 'experimental-fileapi': { + description: 'experimental File API globals', + type: 'boolean' + }, 'experimental-global-navigator': { description: 'expose experimental Navigator API on the global scope', type: 'boolean' }, 'experimental-import-meta-resolve': { at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-config-json-schema.js:56:8) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: { '$schema': 'https://json-schema.org/draft/2020-12/schema', oneOf: [ { '$ref': '#/$defs/config' }, { type: 'object', additionalProperties: false, required: [ 'configs' ], properties: { '$schema': { type: 'string' }, configs: { type: 'array', minItems: 1, items: [Object] } } } ], '$defs': { config: { additionalProperties: false, required: [], properties: { '$schema': { type: 'string' }, bench: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, nodeOptions: { additionalProperties: false, required: [], properties: [Object], type: 'object' }, nodeVersion: { type: 'integer' }, permission: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, test: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, watch: { type: 'object', additionalProperties: false, required: [], properties: [Object] } }, type: 'object' } } }, expected: { '$schema': 'https://json-schema.org/draft/2020-12/schema', oneOf: [ { '$ref': '#/$defs/config' }, { type: 'object', additionalProperties: false, required: [ 'configs' ], properties: { '$schema': { type: 'string' }, configs: { type: 'array', minItems: 1, items: [Object] } } } ], '$defs': { config: { additionalProperties: false, required: [], properties: { '$schema': { type: 'string' }, bench: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, nodeOptions: { additionalProperties: false, required: [], properties: [Object], type: 'object' }, nodeVersion: { type: 'integer' }, permission: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, test: { type: 'object', additionalProperties: false, required: [], properties: [Object] }, watch: { type: 'object',
sccache stats - test-linux
73% - 3718 hits, 1357 misses, 0 errors
sccache stats - test-linux
84% - 4269 hits, 816 misses, 0 errors