W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

[whatwg] Reporting errors during Web Worker startup

From: Kenneth Russell <kbr@google.com>
Date: Wed, 9 Jan 2013 19:46:18 -0800
Message-ID: <CAMYvS2cYHWxWUnz5FEQSCg1gwUsd1GQa4cDB5QfGWWKu_Wo0xw@mail.gmail.com>
To: WHAT Working Group <whatwg@whatwg.org>
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#creating-workers
doesn't seem to define what happens if there aren't enough resources
to create a separate parallel execution environment.

Would it be legal for a UA to consider this as violating a policy
decision and throw SecurityError? Or  is that step intended to reflect
a static decision, such as whether the UA allows workers to run at
all?

If this behavior isn't specified, could some graceful failure mode be
specified? Currently some UAs terminate the execution of the page
attempting to start the worker, which is obviously undesirable.

Thanks,

-Ken
Received on Thursday, 10 January 2013 03:46:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT