From 1122ace93ecf4ff0d79bef9a210cdb65c9dd377e Mon Sep 17 00:00:00 2001 From: Usama Nadeem Date: Sun, 1 Mar 2026 17:05:33 +0500 Subject: [PATCH 1/2] Make WriteParams members non-nullable `size`, `position`, and `data` in the `WriteParams` dictionary were marked as nullable (?), but the write() algorithm only checks for their existence and never handles null values. Making them non-nullable means that passing null will now throw a TypeError at the WebIDL boundary, which is the correct behavior. Fixes #181. --- index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 267287d..6a4ebb0 100644 --- a/index.bs +++ b/index.bs @@ -1105,9 +1105,9 @@ enum WriteCommandType { dictionary WriteParams { required WriteCommandType type; - unsigned long long? size; - unsigned long long? position; - (BufferSource or Blob or USVString)? data; + unsigned long long size; + unsigned long long position; + (BufferSource or Blob or USVString) data; }; typedef (BufferSource or Blob or USVString or WriteParams) FileSystemWriteChunkType; From 098f00dd11ecb65fe171748ff32b1f9e11da5409 Mon Sep 17 00:00:00 2001 From: Usama Nadeem Date: Sun, 22 Mar 2026 17:03:01 +0500 Subject: [PATCH 2/2] ci: retrigger CI with updated Python 3.14 workflow