<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
hi dylan<br><br>i am fairly new to the web-worker spec<br>could you or anyone else on this list enumerate the advantages of web-worker implementation of<br><pre>var server = new WebSocket('ws://whatwg.org/database');<br>server.onmessage = function (event) {<br>}<br></pre>over classic http request/response to the same website?<br><br>Thanks!<br>Martin Gainty <br>______________________________________________ <br>Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité<br><div> <br>Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.<br></div><pre>Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.</pre><br><br><br><br><br>> From: dylan.barrell@deque.com<br>> To: help@lists.whatwg.org<br>> Date: Thu, 22 Apr 2010 12:15:56 -0400<br>> Subject: [html5] Web Workers question<br>> <br>> I have a question about Web Workers<br>> <br>> It seems like the spec http://www.whatwg.org/specs/web-workers/current-work/ <br>>   is somewhat confused about whether any documents are available in  <br>> the GlobalWorkerScope.<br>> <br>> On the one hand, it says that if the script creating the Worker's  <br>> global object is a Window,  then the document should be added to the  <br>> "worker's Documents",but then goes on to say that the DOM API is not  <br>> available to the Worker in this version of the spec.<br>> <br>> How does adding the document to the WorkerGlobalScope help if the DOM  <br>> API is not available?<br>> Doesn't this really reduce the usefulness of the Worker object by  <br>> restricting it to tasks that have nothing to do with the DOM - e.g.  <br>> analyzing it as it changes?<br>> <br>> thoughts on this?<br>> <br>> --Dylan<br>> <br>> <br>> _______________________________________________<br>> Help mailing list<br>> Help@lists.whatwg.org<br>> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org<br>                                      <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>