From 0b13f836e5145997f0ee21b51a4b2cdd88506cae Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Fri, 7 Apr 2023 00:22:06 +0000 Subject: [PATCH 1/2] Add "fileSystem" as a registered storage endpoint See #90. The corresponding language is already in the FS spec https://fs.spec.whatwg.org/#sandboxed-filesystem --- storage.bs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/storage.bs b/storage.bs index 45c7164..ac87fd2 100644 --- a/storage.bs +++ b/storage.bs @@ -179,6 +179,10 @@ defined by the following table: "caches" « "local" » null + + "fileSystem" + « "local" » + 5 × 220 (i.e., 5 mebibytes) "indexedDB" « "local" » From b3b97ef8b5f57861b6ae979947c32fcb83222a37 Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Fri, 7 Apr 2023 01:15:21 +0000 Subject: [PATCH 2/2] make FS quota null --- storage.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage.bs b/storage.bs index ac87fd2..288a1cf 100644 --- a/storage.bs +++ b/storage.bs @@ -182,7 +182,7 @@ defined by the following table: "fileSystem" « "local" » - 5 × 220 (i.e., 5 mebibytes) + null "indexedDB" « "local" »