[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Proposed change to WebGL Event definition



On Sat, Sep 4, 2010 at 09:40, Kenneth Russell <kbr@google.com> wrote:
On Fri, Sep 3, 2010 at 10:16 AM, Chris Marrin <cmarrin@apple.com> wrote:
>
> I've revised the event section (5.14). Please review.

Sorry for not realizing this before, but the "NOT_AVAILABLE" status
code seems pretty useless, because if the web browser is so old that
it doesn't support WebGL, then it definitely won't support delivery of
the webglcontextcreationerror event.


NOT_AVAILABLE "WebGL is not implemented or not enabled in this browser"

I think the current meaning is confusing Â(and indeed useless).
IIRC the original planned intent for this status code, meaning should be something like :

"WebGL is currently disabled or temporarily unavailable because of high resource usage by other tabs/programs."

Which makes it a bit more useful as it allows apps to present the user a more helpful message (and ask to try again - something not to do with NOT_SUPPORTED).


Regards,