So the API will essentially be a useless lie to most websites. That's not ideal in my opinion. It would be better to instead throw an error or not expose the method so feature detection could work properly.
On Thursday, December 5, 2024 at 3:48:58 PM UTC-5 Chromestatus wrote: > Contact emails ree...@chromium.org > > Specification None > > Summary > > Report a predictable storage quota from StorageManager's estimate API for > sites that do not have unlimited storage permissions. It is possible to > detect a user's browsing mode via the reported storage quota because the > storage space made available is significantly smaller in incognito mode > than in regular mode. This is a mitigation that prevents detection of a > user's browsing mode via the storage API by reporting an artificial quota, > equal to usage + 10 Gib, in all browsing modes for sites with limited > storage permissions. Sites with unlimited storage permissions will be > unaffected. Enforced quota will also be unaffected. > > > Blink component Blink>Storage>Quota > <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EStorage%3EQuota> > > > TAG review None > > TAG review status Not applicable > > Risks > > > Interoperability and Compatibility > > None > > > *Gecko*: No signal > > *WebKit*: No signal > > *Web developers*: No signals > > *Other signals*: > > WebView application risks > > Does this intent deprecate or change behavior of existing APIs, such that > it has potentially high risk for Android WebView-based applications? > > None > > > Debuggability > > None > > > Will this feature be supported on all six Blink platforms (Windows, Mac, > Linux, ChromeOS, Android, and Android WebView)? No > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> > ? No > > Flag name on about://flags predictable-reported-quota > > Finch feature name StaticStorageQuota > > Requires code in //chrome? False > > Tracking bug https://issues.chromium.org/issues/369865059 > > Estimated milestones > Shipping on desktop 133 > Shipping on Android 133 > Shipping on WebView 133 > > Anticipated spec changes > > Open questions about a feature may be a source of future web compat or > interop issues. Please list open issues (e.g. links to known github issues > in the project for the feature specification) whose resolution may > introduce web compat/interop risk (e.g., changing to naming or structure of > the API in a non-backward-compatible way). > None > > Link to entry on the Chrome Platform Status > https://chromestatus.com/feature/4977371751645184?gate=4955779474653184 > > This intent message was generated by Chrome Platform Status > <https://chromestatus.com>. > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c2547d64-e0fb-42fd-ade3-933569ca5a50n%40chromium.org.