From 5d738456109091381aad708ec101da9acfd1d694 Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Tue, 7 Oct 2025 06:37:11 +1300 Subject: [PATCH 1/5] Bug-1625257 sync storage support in Android --- webextensions/api/storage.json | 90 +++++++++++++++++++++++++++++----- 1 file changed, 77 insertions(+), 13 deletions(-) diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 6a9c26c415d147..0fd4d227f1a5e5 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -71,7 +71,10 @@ }, "firefox_android": { "version_added": "48", - "notes": "Doesn't support the `managed` storage area." + "notes": [ + "Doesn't support the `managed` storage area.", + "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + ] }, "opera": { "version_added": "33" @@ -100,7 +103,10 @@ }, "firefox_android": { "version_added": "48", - "notes": "Doesn't support the `managed` storage area." + "notes": [ + "Doesn't support the `managed` storage area.", + "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + ] }, "opera": { "version_added": "33" @@ -184,7 +190,13 @@ "firefox": { "version_added": "143" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "143", + "notes": [ + "Doesn't support the `managed` storage area.", + "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + ] + }, "opera": "mirror", "safari": { "version_added": "18.4" @@ -230,7 +242,10 @@ }, "firefox_android": { "version_added": "48", - "notes": "Doesn't support the `managed` storage area." + "notes": [ + "Doesn't support the `managed` storage area.", + "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + ] }, "opera": { "version_added": "33" @@ -286,7 +301,10 @@ }, "firefox_android": { "version_added": "48", - "notes": "Doesn't support the `managed` storage area." + "notes": [ + "Doesn't support the `managed` storage area.", + "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + ] }, "opera": { "version_added": "33" @@ -930,7 +948,9 @@ "firefox": { "version_added": "131" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": false + }, "opera": "mirror", "safari": { "version_added": "16.4" @@ -1075,8 +1095,10 @@ }, "firefox_android": { "version_added": "53", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, "notes": [ - "Data isn't synchronized with the user's Mozilla account. See [bug 1625257](https://bugzil.la/1625257).", + "Data isn't synchronized with the user's Mozilla account.", "Storage quota limits are not enforced." ] }, @@ -1114,7 +1136,15 @@ "firefox": { "version_added": "53" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "53", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, + "notes": [ + "Data isn't synchronized with the user's Mozilla account.", + "Storage quota limits are not enforced." + ] + }, "opera": { "version_added": false }, @@ -1140,7 +1170,15 @@ "firefox": { "version_added": "53" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "53", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, + "notes": [ + "Data isn't synchronized with the user's Mozilla account.", + "Storage quota limits are not enforced." + ] + }, "opera": { "version_added": false }, @@ -1190,7 +1228,9 @@ "firefox": { "version_added": "78" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": false + }, "opera": { "version_added": false }, @@ -1213,7 +1253,15 @@ "firefox": { "version_added": "143" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "143", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, + "notes": [ + "Data isn't synchronized with the user's Mozilla account.", + "Storage quota limits are not enforced." + ] + }, "opera": { "version_added": false }, @@ -1261,7 +1309,15 @@ "firefox": { "version_added": "53" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "53", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, + "notes": [ + "Data isn't synchronized with the user's Mozilla account.", + "Storage quota limits are not enforced." + ] + }, "opera": { "version_added": false }, @@ -1312,7 +1368,15 @@ "firefox": { "version_added": "53" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": "53", + "impl_url": "https://bugzil.la/162525", + "partial_implementation": true, + "notes": [ + "Data isn't synchronized with the user's Mozilla account.", + "Storage quota limits are not enforced." + ] + }, "opera": { "version_added": false }, From 37f0e4d37aac8f5d28356c2f6f5e44309abdbb4c Mon Sep 17 00:00:00 2001 From: rebloor Date: Tue, 14 Oct 2025 12:36:51 +1300 Subject: [PATCH 2/5] Apply suggestions from review Co-authored-by: Rob Wu --- webextensions/api/storage.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 0fd4d227f1a5e5..02f70afd299c1e 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -948,9 +948,7 @@ "firefox": { "version_added": "131" }, - "firefox_android": { - "version_added": false - }, + "firefox_android": "mirror", "opera": "mirror", "safari": { "version_added": "16.4" @@ -1228,9 +1226,7 @@ "firefox": { "version_added": "78" }, - "firefox_android": { - "version_added": false - }, + "firefox_android": "mirror", "opera": { "version_added": false }, From 6a16b687bd1d55a39b6dc5a698e5e1f274c46b7f Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Wed, 15 Oct 2025 06:51:47 +1300 Subject: [PATCH 3/5] Minimize mention of sync storage quota enforcement --- webextensions/api/storage.json | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 02f70afd299c1e..1382570d9f592f 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -73,7 +73,7 @@ "version_added": "48", "notes": [ "Doesn't support the `managed` storage area.", - "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + "Data isn't synchronized with the user's Mozilla account in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" ] }, "opera": { @@ -105,7 +105,7 @@ "version_added": "48", "notes": [ "Doesn't support the `managed` storage area.", - "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + "Data isn't synchronized with the user's Mozilla account in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" ] }, "opera": { @@ -194,7 +194,7 @@ "version_added": "143", "notes": [ "Doesn't support the `managed` storage area.", - "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + "Data isn't synchronized with the user's Mozilla account in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" ] }, "opera": "mirror", @@ -244,7 +244,7 @@ "version_added": "48", "notes": [ "Doesn't support the `managed` storage area.", - "Data isn't synchronized with the user's Mozilla account and the storage quota limits are not enforced in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" + "Data isn't synchronized with the user's Mozilla account in the `sync` storage area. See [bug 1625257](https://bugzil.la/1625257)" ] }, "opera": { @@ -1138,10 +1138,7 @@ "version_added": "53", "impl_url": "https://bugzil.la/162525", "partial_implementation": true, - "notes": [ - "Data isn't synchronized with the user's Mozilla account.", - "Storage quota limits are not enforced." - ] + "notes": "Data isn't synchronized with the user's Mozilla account." }, "opera": { "version_added": false @@ -1172,10 +1169,7 @@ "version_added": "53", "impl_url": "https://bugzil.la/162525", "partial_implementation": true, - "notes": [ - "Data isn't synchronized with the user's Mozilla account.", - "Storage quota limits are not enforced." - ] + "notes": "Data isn't synchronized with the user's Mozilla account." }, "opera": { "version_added": false @@ -1253,10 +1247,7 @@ "version_added": "143", "impl_url": "https://bugzil.la/162525", "partial_implementation": true, - "notes": [ - "Data isn't synchronized with the user's Mozilla account.", - "Storage quota limits are not enforced." - ] + "notes": "Data isn't synchronized with the user's Mozilla account." }, "opera": { "version_added": false @@ -1309,10 +1300,7 @@ "version_added": "53", "impl_url": "https://bugzil.la/162525", "partial_implementation": true, - "notes": [ - "Data isn't synchronized with the user's Mozilla account.", - "Storage quota limits are not enforced." - ] + "notes": "Data isn't synchronized with the user's Mozilla account." }, "opera": { "version_added": false From e17852df33ee8000e102303b24731df0ea35bece Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Wed, 15 Oct 2025 11:43:33 +1300 Subject: [PATCH 4/5] mirror for all getBytesInUse Firefox for Android entries --- webextensions/api/storage.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 1382570d9f592f..2bb38c16f592b5 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -164,9 +164,7 @@ "Supported by the `local` and `managed` storage areas from Firefox 144." ] }, - "firefox_android": { - "version_added": false - }, + "firefox_android": "mirror", "opera": { "version_added": "33" }, @@ -482,9 +480,7 @@ "firefox": { "version_added": "144" }, - "firefox_android": { - "version_added": false - }, + "firefox_android": "mirror", "opera": "mirror", "safari": { "version_added": "14" @@ -702,9 +698,7 @@ "firefox": { "version_added": "144" }, - "firefox_android": { - "version_added": false - }, + "firefox_android": "mirror", "opera": { "version_added": false }, From 8bfcf2d2023a32e70ad880249228bf2b3bc5a5ef Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Wed, 15 Oct 2025 11:56:19 +1300 Subject: [PATCH 5/5] fix over mirroring --- webextensions/api/storage.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 2bb38c16f592b5..779d1e60c18865 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -698,7 +698,9 @@ "firefox": { "version_added": "144" }, - "firefox_android": "mirror", + "firefox_android": { + "version_added": false + }, "opera": { "version_added": false },