- From: Tobie Langel <tobie@fb.com>
- Date: Mon, 4 Jun 2012 09:30:30 +0000
- To: Anne van Kesteren <annevk@annevk.nl>
- CC: Kinuko Yasuda <kinuko@chromium.org>, Boris Zbarsky <bzbarsky@mit.edu>, "Web Applications Working Group WG" <public-webapps@w3.org>, Eric U <ericu@google.com>
On 6/4/12 11:17 AM, "Anne van Kesteren" <annevk@annevk.nl> wrote: >On Mon, Jun 4, 2012 at 11:01 AM, Tobie Langel <tobie@fb.com> wrote: >> Finally, I feel it's slightly misleading to have an interface called >> "info" which enables changes (through `requestQuota`). Wouldn't >>"settings" >> or similar be more appropriate? As in: >> >> navigator.persistentStorageSettings.queryUsageAndQuota >> navigator.persistentStorageSettings.requestQuota >> >> Thoughts? > >That seems way long. navigator.storage would be better I think. Or >even defining the relevant methods directly on navigator. Agreed. Whether you're targeting persistent or temp storage still needs to appear somewhere, however. So it's either: navigator.persistentStorage.requestQuota or: navigator.storage.requestPersistentQuota or: navigator.requestPersistent(Storage)Quota I'd favor the first one. --tobie
Received on Monday, 4 June 2012 09:30:59 UTC