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

Re: XMLHttpRequest Priority Proposal

From: Mike Belshe <mbelshe@google.com>
Date: Fri, 16 Apr 2010 01:30:04 -0700
Message-ID: <y2jbccec9d81004160130oa5b11895hf03bb6243dd52d20@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: public-webapps@w3.org
On Thu, Apr 15, 2010 at 11:00 PM, Anne van Kesteren <annevk@opera.com>wrote:

> On Wed, 14 Apr 2010 01:13:46 +0900, Mike Belshe <mbelshe@google.com>
> wrote:
>
>>  // Set the load priority for this request.
>>  void setPriority(unsigned short priority);
>>
>
> Any reason this is not an attribute named priority?
>

That is fine with me.


> Other than that I wonder if we should maybe simply use string values to
> make it easier to extend this if we ever need to.
>

The thing I don't like about that is the error condition of what happens
when someone sets it to "HIHG"  (misspelled).

Thanks,
Mike


>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
Received on Friday, 16 April 2010 08:30:34 GMT

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