DOMWorkerThreads current: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
Here's what we have in Firefox 3.1 Alpha 1:
== Current API for Firefox 3.1 Alpha 1 ==


<blockquote>
<blockquote>
Line 111: Line 111:
   *
   *
   * @param aMessage (in DOMString)
   * @param aMessage (in DOMString)
   *        The message to send. This may be a string or an object that can be
   *        The message to send.
  *        serialized via JSON (see http://developer.mozilla.org/en/docs/JSON).
   */
   */
   void postMessageToPool(in DOMString aMessage);
   void postMessageToPool(in DOMString aMessage);
Line 158: Line 157:
The worker's scope is far more limited. See <code>nsIDOMWorkerGlobalScope</code> above for details.
The worker's scope is far more limited. See <code>nsIDOMWorkerGlobalScope</code> above for details.


=== Sample usage ===
== Sample usage ==


<blockquote>
<blockquote>
Confirmed users
137

edits

Navigation menu