fs: add tests for null WriteParams members throwing TypeError - #58156
fs: add tests for null WriteParams members throwing TypeError#58156usamanadeemdeveloper wants to merge 1 commit into
Community-TC (pull_request)
Verify that all tests affected by a pull request are stable when executed in firefox.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-03-01T18:49:45.067Z
Resolved: 2026-03-01T18:55:04.955Z
Task Execution Time: 5 minutes, 19 seconds, 888 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: NFpbSotgTRuMq8SIFwgaZA
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
WPT Command: python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2026-03-01 18:49:45.369Z] Task ID: NFpbSotgTRuMq8SIFwgaZA
[taskcluster 2026-03-01 18:49:45.369Z] Worker ID: 781924775269841815
[taskcluster 2026-03-01 18:49:45.369Z] Worker Group: us-east1-d
[taskcluster 2026-03-01 18:49:45.369Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-03-01 18:49:45.369Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-03-01 18:49:45.369Z] Worker Version: 46.1.0
[taskcluster 2026-03-01 18:49:45.369Z] Public IP: 35.231.187.2
[taskcluster 2026-03-01 18:49:45.369Z] Hostname: proj-wpt-ci-thvwd14ir1qmss66caos4w
[taskcluster 2026-03-01 18:49:47.005Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh
...(732 lines hidden)...
1:36.19 pid:5034 1772391275114 Marionette INFO Stopped listening on port 32917
1:36.98 INFO Browser exited with return code -15
1:36.72 INFO Closing logging queue
1:36.72 INFO queue closed
1:37.07 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 544 checks (528 subtests, 16 tests)
Expected results: 544
Unexpected results: 0
OK
1:37.07 INFO Got 0 unexpected results, with 0 unexpected passes
1:37.07 INFO Repetition 9 / 10
1:37.07 SUITE_START: web-platform-test - running 2 tests
1:37.07 INFO Using 1 child processes
1:37.08 INFO Setting up ssl
1:37.19 certutil b''
1:37.27 certutil b''
1:37.27 certutil b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
1:37.28 INFO Application command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank -profile /tmp/tmpx4kl_7qb
1:37.29 INFO Starting runner
1:37.30 pid:5539 Full command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank
pid:5539 [5539] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
1:37.98 pid:5539 1772391276902 Marionette INFO Marionette enabled
1:38.14 pid:5539 1772391277063 Marionette INFO Listening on port 56789
1:39.78 pid:5539 console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1204" data: no]
1:40.47 pid:5539 console.error: (new TypeError("can't access property \"find\", this._searchProviderInfo is null", "moz-src:///browser/components/search/SearchSERPTelemetry.sys.mjs", 1206))
1:40.81 pid:5539 console.error: services.settings:
1:40.81 pid:5539 Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
1:40.81 pid:5539 Stack:
1:40.81 pid:5539 EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
1:40.81 pid:5539 list@resource://services-settings/Database.sys.mjs:96:13
1:40.81 TEST_START: /fs/FileSystemWritableFileStream-write.https.any.html
mem avail: 13740 of 15806 MiB (86.93%), swap free: 0 of 0 MiB ( 0.00%)
1:45.78 pid:5539 IPDL protocol Error: Received an invalid file descriptor
1:46.02 TEST_END: Test OK. Subtests passed 33/33. Unexpected 0
1:46.02 TEST_START: /fs/FileSystemWritableFileStream-write.https.any.worker.html
1:46.02 INFO Closing window 8fa4ba10-bb81-4682-b1f6-b193c5a1d36a
1:48.55 pid:5539 IPDL protocol Error: Received an invalid file descriptor
1:48.84 TEST_END: Test OK. Subtests passed 33/33. Unexpected 0
1:48.84 INFO No more tests
1:48.85 pid:5539 1772391287768 Marionette INFO Stopped listening on port 56789
1:49.56 INFO Browser exited with return code -15
1:49.39 INFO Closing logging queue
1:49.39 INFO queue closed
1:49.57 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 612 checks (594 subtests, 18 tests)
Expected results: 612
Unexpected results: 0
OK
1:49.57 INFO Got 0 unexpected results, with 0 unexpected passes
1:49.57 INFO Repetition 10 / 10
1:49.57 SUITE_START: web-platform-test - running 2 tests
1:49.57 INFO Using 1 child processes
1:49.59 INFO Setting up ssl
1:49.61 certutil b''
1:49.63 certutil b''
1:49.64 certutil b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
1:49.64 INFO Application command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank -profile /tmp/tmpqbb9k70z
1:49.65 INFO Starting runner
1:49.66 pid:6078 Full command: /home/test/build/firefox/firefox --marionette --remote-allow-system-access about:blank
pid:6078 [6078] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
1:50.33 pid:6078 1772391289250 Marionette INFO Marionette enabled
1:50.47 pid:6078 1772391289393 Marionette INFO Listening on port 58191
1:50.48 pid:6078 [Parent 6078, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
1:50.48 pid:6078 : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
1:50.48 pid:6078 ** (firefox-nightly:6078): WARNING **: 18:54:49.403: Failed to create DBus proxy for org.a11y.Bus: Could not connect: Connection refused
1:52.62 pid:6078 console.error: services.settings:
1:52.62 pid:6078 Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
1:52.62 pid:6078 Stack:
1:52.62 pid:6078 EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
1:52.62 pid:6078 list@resource://services-settings/Database.sys.mjs:96:13
1:52.64 pid:6078 console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1204" data: no]
1:53.00 TEST_START: /fs/FileSystemWritableFileStream-write.https.any.html
1:55.23 pid:6078 IPDL protocol Error: Received an invalid file descriptor
1:55.39 TEST_END: Test OK. Subtests passed 33/33. Unexpected 0
1:55.39 TEST_START: /fs/FileSystemWritableFileStream-write.https.any.worker.html
1:55.39 INFO Closing window 77e7b501-dfa8-429f-a401-f7287bb507be
1:58.65 pid:6078 IPDL protocol Error: Received an invalid file descriptor
1:59.84 TEST_END: Test OK. Subtests passed 33/33. Unexpected 0
1:59.84 INFO No more tests
1:59.85 pid:6078 1772391298769 Marionette INFO Stopped listening on port 58191
2:00.56 pid:6078 [GFX1-]: VideoBridgeParent receives IPC close with reason=AbnormalShutdown
2:00.67 INFO Browser exited with return code -15
2:00.46 INFO Closing logging queue
2:00.46 INFO queue closed
2:01.07 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 680 checks (660 subtests, 20 tests)
Expected results: 680
Unexpected results: 0
OK
2:01.07 INFO Got 0 unexpected results, with 0 unexpected passes
2:01.07 wptserve INFO Stopped http server on 127.0.0.1:8002
2:01.07 wptserve INFO Stopped http server on 127.0.0.1:8003
2:01.07 wptserve INFO Stopped http server on 127.0.0.1:8443
2:01.08 wptserve INFO Stopped http server on 127.0.0.1:8000
2:01.08 wptserve INFO Stopped http server on 127.0.0.1:8001
2:01.09 wptserve INFO Stopped http server on 127.0.0.1:8444
2:01.09 wptserve INFO Stopped http server on 127.0.0.1:8445
2:01.10 wptserve INFO Stopped http server on 127.0.0.1:8446
2:01.11 wptserve INFO Stopped http server on 127.0.0.1:9000
2:01.11 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
2:01.12 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
2:01.14 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
2:01.40 INFO Removed font: Ahem.ttf
2:01.44 INFO Closing logging queue
2:01.44 INFO queue closed
2:01.45 INFO ::: Ran 10 of expected 10 iterations.
2:01.45 INFO ## All results ##
2:01.45 INFO ### /fs/FileSystemWritableFileStream-write.https.any.html ###
2:01.45 INFO | Subtest | Results | Messages |
2:01.45 INFO |---------------------------------------------------------------------|---------|----------|
2:01.45 INFO | | OK | |
2:01.45 INFO | `write() with an empty blob to an empty file` | PASS | |
2:01.45 INFO | `write() a blob to an empty file` | PASS | |
2:01.45 INFO | `write() with WriteParams without position to an empty file` | PASS | |
2:01.45 INFO | `write() a string to an empty file with zero offset` | PASS | |
2:01.45 INFO | `write() a blob to an empty file with zero offset` | PASS | |
2:01.45 INFO | `write() called consecutively appends` | PASS | |
2:01.45 INFO | `write() WriteParams without position and string appends` | PASS | |
2:01.45 INFO | `write() WriteParams without position and blob appends` | PASS | |
2:01.45 INFO | `write() called with a string and a valid offset` | PASS | |
2:01.45 INFO | `write() called with a string and a valid offset after seek` | PASS | |
2:01.45 INFO | `write() called with a blob and a valid offset` | PASS | |
2:01.45 INFO | `write() called with an offset beyond the end of the file` | PASS | |
2:01.45 INFO | `write() with an empty string to an empty file` | PASS | |
2:01.45 INFO | `write() with a valid utf-8 string` | PASS | |
2:01.45 INFO | `write() with a string with unix line ending preserved` | PASS | |
2:01.45 INFO | `write() with a string with windows line ending preserved` | PASS | |
2:01.45 INFO | `write() with an empty array buffer to an empty file` | PASS | |
2:01.45 INFO | `write() with a valid typed array buffer` | PASS | |
2:01.46 INFO | `atomic writes: writable file streams make atomic changes on close` | PASS | |
2:01.46 INFO | `atomic writes: write() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: truncate() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: close() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: only one close() operation may succeed` | PASS | |
2:01.46 INFO | `getWriter() can be used` | PASS | |
2:01.46 INFO | `WriteParams: truncate missing size param` | PASS | |
2:01.46 INFO | `WriteParams: write missing data param` | PASS | |
2:01.46 INFO | `WriteParams: write null data param` | PASS | |
2:01.46 INFO | `WriteParams: seek missing position param` | PASS | |
2:01.46 INFO | `WriteParams: seek null position param` | PASS | |
2:01.46 INFO | `WriteParams: truncate null size param` | PASS | |
2:01.46 INFO | `write() with an invalid blob to an empty file should reject` | PASS | |
2:01.46 INFO | `an errored writable stream releases its lock` | PASS | |
2:01.46 INFO | `an errored writable stream should reject the next write call` | PASS | |
2:01.46 INFO
2:01.46 INFO ### /fs/FileSystemWritableFileStream-write.https.any.worker.html ###
2:01.46 INFO | Subtest | Results | Messages |
2:01.46 INFO |---------------------------------------------------------------------|---------|----------|
2:01.46 INFO | | OK | |
2:01.46 INFO | `write() with an empty blob to an empty file` | PASS | |
2:01.46 INFO | `write() a blob to an empty file` | PASS | |
2:01.46 INFO | `write() with WriteParams without position to an empty file` | PASS | |
2:01.46 INFO | `write() a string to an empty file with zero offset` | PASS | |
2:01.46 INFO | `write() a blob to an empty file with zero offset` | PASS | |
2:01.46 INFO | `write() called consecutively appends` | PASS | |
2:01.46 INFO | `write() WriteParams without position and string appends` | PASS | |
2:01.46 INFO | `write() WriteParams without position and blob appends` | PASS | |
2:01.46 INFO | `write() called with a string and a valid offset` | PASS | |
2:01.46 INFO | `write() called with a string and a valid offset after seek` | PASS | |
2:01.46 INFO | `write() called with a blob and a valid offset` | PASS | |
2:01.46 INFO | `write() called with an offset beyond the end of the file` | PASS | |
2:01.46 INFO | `write() with an empty string to an empty file` | PASS | |
2:01.46 INFO | `write() with a valid utf-8 string` | PASS | |
2:01.46 INFO | `write() with a string with unix line ending preserved` | PASS | |
2:01.46 INFO | `write() with a string with windows line ending preserved` | PASS | |
2:01.46 INFO | `write() with an empty array buffer to an empty file` | PASS | |
2:01.46 INFO | `write() with a valid typed array buffer` | PASS | |
2:01.46 INFO | `atomic writes: writable file streams make atomic changes on close` | PASS | |
2:01.46 INFO | `atomic writes: write() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: truncate() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: close() after close() fails` | PASS | |
2:01.46 INFO | `atomic writes: only one close() operation may succeed` | PASS | |
2:01.46 INFO | `getWriter() can be used` | PASS | |
2:01.46 INFO | `WriteParams: truncate missing size param` | PASS | |
2:01.46 INFO | `WriteParams: write missing data param` | PASS | |
2:01.46 INFO | `WriteParams: write null data param` | PASS | |
2:01.46 INFO | `WriteParams: seek missing position param` | PASS | |
2:01.46 INFO | `WriteParams: seek null position param` | PASS | |
2:01.46 INFO | `WriteParams: truncate null size param` | PASS | |
2:01.46 INFO | `write() with an invalid blob to an empty file should reject` | PASS | |
2:01.46 INFO | `an errored writable stream releases its lock` | PASS | |
2:01.46 INFO | `an errored writable stream should reject the next write call` | PASS | |
2:01.46 INFO
2:01.46 INFO ::: Running tests in a loop with restarts 10 times : PASS
2:01.46 INFO :::
2:01.46 INFO ::: Test verification PASS
2:01.46 INFO :::
[taskcluster 2026-03-01 18:55:03.261Z] === Task Finished ===
[taskcluster 2026-03-01 18:55:03.783Z] Successful task run with exit code: 0 completed in 318.415 seconds