[Webkit-unassigned] [Bug 25902] Need to implement WorkerContext.close()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 26 13:09:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25902





------- Comment #5 from ap at webkit.org  2009-05-26 13:09 PDT -------
Indeed, I was wrong about the race condition.

Does this implementation of close() do what the spec says? Omitting MessagePort
related steps, it is:
1) Queue a task to fire a simple event called close at the WorkerGlobalScope
object.
2) Set the worker's WorkerGlobalScope object's closing flag to true (which
means that new tasks do not get added to event loop, but those already in the
loop will be processed).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list