[whatwg] Reporting errors during Web Worker startup
Kenneth Russell
kbr at google.com
Wed Jan 9 19:46:18 PST 2013
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
More information about the whatwg
mailing list