html5/websockets Overview.html,1.280,1.281

Update of /sources/public/html5/websockets
In directory hutz:/tmp/cvs-serv22652

Modified Files:
	Overview.html 
Log Message:
Define when events are trusted and when they're not. Hopefully I got all the places that create and dispatch events... (whatwg r7437)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/websockets/Overview.html,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -d -r1.280 -r1.281
--- Overview.html	27 Sep 2012 23:14:36 -0000	1.280
+++ Overview.html	6 Oct 2012 18:04:49 -0000	1.281
@@ -216,7 +216,7 @@
 
    <h1>The WebSocket API</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-27-september-2012">Editor's Draft 27 September 2012</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-6-october-2012">Editor's Draft 6 October 2012</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/websockets/">http://www.w3.org/TR/websockets/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -352,7 +352,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 27 September 2012 Editor's Draft.
+  This specification is the 6 October 2012 Editor's Draft.
   </p>
 
 
@@ -984,9 +984,9 @@
 
    <li>
 
-    <p>Let <var title="">event</var> be an event that uses the
-    <code>MessageEvent</code> interface, with the event type <code title="event-message">message</code>, which does not bubble, is
-    not cancelable, and has no default action.
+    <p>Let <var title="">event</var> be a newly created <span title="concept-events-trusted">trusted</span> event that uses the <code>MessageEvent</code>
+    interface, with the event type <code title="event-message">message</code>, which does not
+    bubble, is not cancelable, and has no default action.
     
     <a href="#refsHTML">[HTML]</a>
     
@@ -1075,16 +1075,13 @@
    <span>fire a simple event</span> named <code title="">error</code>
    at the <code><a href="#websocket">WebSocket</a></code> object. <a href="#refsWSP">[WSP]</a></li>
 
-   <li><p>Create an event that uses the <code><a href="#closeevent">CloseEvent</a></code>
-   interface, with the event type <code title="event-socket-close">close</code>, which does not bubble, is not
-   cancelable, has no default action, whose <code title="dom-CloseEvent-wasClean"><a href="#dom-closeevent-wasclean">wasClean</a></code> attribute is initialized to
-   true if the connection closed <i title="">cleanly</i> and false
-   otherwise, whose <code title="dom-CloseEvent-code"><a href="#dom-closeevent-code">code</a></code>
-   attribute is initialized to <i>the WebSocket connection close code</i>, and
-   whose <code title="dom-CloseEvent-reason"><a href="#dom-closeevent-reason">reason</a></code> attribute
-   is initialized to <i>the WebSocket connection close reason</i>
-   <span>decoded as UTF-8, with error handling</span>, and dispatch
-   the event at the <code><a href="#websocket">WebSocket</a></code> object. <a href="#refsWSP">[WSP]</a></li>
+   <li><p>Create a <span title="concept-events-trusted">trusted</span> event that uses the
+   <code><a href="#closeevent">CloseEvent</a></code> interface, with the event type <code title="event-socket-close">close</code>, which does not bubble, is not cancelable, has no default
+   action, whose <code title="dom-CloseEvent-wasClean"><a href="#dom-closeevent-wasclean">wasClean</a></code> attribute is initialized to
+   true if the connection closed <i title="">cleanly</i> and false otherwise, whose <code title="dom-CloseEvent-code"><a href="#dom-closeevent-code">code</a></code> attribute is initialized to <i>the WebSocket connection
+   close code</i>, and whose <code title="dom-CloseEvent-reason"><a href="#dom-closeevent-reason">reason</a></code> attribute is
+   initialized to <i>the WebSocket connection close reason</i> <span>decoded as UTF-8, with error
+   handling</span>, and dispatch the event at the <code><a href="#websocket">WebSocket</a></code> object. <a href="#refsWSP">[WSP]</a></li>
 
   </ol><div class="warning">
 

Received on Saturday, 6 October 2012 18:04:52 UTC