NEW309446
FileSystemWritableFileStream: WriteParams members should be non-nullable per updated spec
https://bugs.webkit.org/show_bug.cgi?id=309446
Summary FileSystemWritableFileStream: WriteParams members should be non-nullable per ...
usamanadeemparacha
Reported 2026-03-08 04:34:19 PDT
The WHATWG File System spec has been updated to make the `size`, `position`, and `data` members of the `WriteParams` dictionary non-nullable. Previously these were marked as nullable (`?`), but the `write()` algorithm never handles null values. Making them non-nullable means passing null will now throw a TypeError at the WebIDL boundary, which is the correct and intended behavior. Spec change: https://github.com/whatwg/fs/pull/182 Related issue: https://github.com/whatwg/fs/issues/181 WPT tests: https://github.com/web-platform-tests/wpt/pull/58156 Please update the WebKit implementation so that passing null for `size`, `position`, or `data` in `WriteParams` throws a TypeError.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-15 04:35:11 PDT
usamanadeemparacha
Comment 2 2026-03-22 12:13:04 PDT
Hi any updates on the matter will be be helpful here, are you guys waiting for PR to be merged?
usamanadeemparacha
Comment 3 2026-03-22 12:13:43 PDT
Hi any updates on the matter will be be helpful here, are you guys waiting for PR to be merged?
Note You need to log in before you can comment on or make changes to this bug.