W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Feedback on Quota Management API

From: Kinuko Yasuda <kinuko@chromium.org>
Date: Wed, 27 Jun 2012 22:18:09 +0900
Message-ID: <CAMWgRNYSbRKCxVnLWLa9ACKwt8Ht=Yd_9wuX3AEJQ-nXhMFBcA@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Tobie Langel <tobie@fb.com>, Boris Zbarsky <bzbarsky@mit.edu>, Web Applications Working Group WG <public-webapps@w3.org>, Eric U <ericu@google.com>
Hi,

(After some pause) I've updated the spec to include the event loop
description for handling asynchronous callbacks:
https://dvcs.w3.org/hg/quota/raw-file/tip/Overview.html
https://dvcs.w3.org/hg/quota/raw-file/tip/Overview.html#methods

I basically followed other specs and the wiki page description you
suggested.
Thanks for your feedbacks,

Kinuko



On Wed, Jun 6, 2012 at 4:27 PM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Wed, Jun 6, 2012 at 8:33 AM, Kinuko Yasuda <kinuko@chromium.org> wrote:
> > http://dvcs.w3.org/hg/quota/raw-file/tip/Overview.html
>
> I noticed something unrelated to the naming. Because you define
> asynchronous callbacks, you need to define the methods in terms of the
> HTML event loop. Otherwise it is unclear how they are invoked relative
> to other tasks.
>
> http://wiki.whatwg.org/wiki/Howto_spec#Callbacks has limited advice on
> how to do this. (Suggestions on how to improve that wiki page are
> welcome.)
>
>
> --
> Anne  Opera Software
> http://annevankesteren.nl/
> http://www.opera.com/
>
Received on Wednesday, 27 June 2012 13:19:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT