[Webkit-unassigned] [Bug 22328] Worker object should implement WindowTimers interface as per HTML5 spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 20 01:34:07 PST 2008


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





------- Comment #2 from dimich at chromium.org  2008-11-20 01:34 PDT -------
Refactored timeout code (set/clearTimeout,set/clearInterval) in preparation for
implementing them on Workers.
Most of implementation moved from JSDOMWindowBase to ScriptExecutionContext,
including the storage for timers.
Timers are now instances of new class DOMTimer. 
ScriptExecutionContext has a virtual method 'executeTimoutCallback' which is
called when a timer fires. Subclasses of SEC (Document and WorkerContext)
implement this differently. For now, only Document has implementation -
depending on whether a callback is a JS function or a string of JS code, it
either delegates back to JSDOMGlobalObject that captured the function and
arguments, or asks FrameLoader to execute the script.
ScheduledAction is now just a collection of data for timer callback.


-- 
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