- From: poot <cvsmail@w3.org>
- Date: Wed, 17 Dec 2008 04:49:39 +0900 (JST)
- To: public-html-diffs@w3.org
Clean things up with the 'structured cloning' stuff. (whatwg r2535) 7.4.3 Posting messages http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#posting-messages internal structured cloning algorithm http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#internal-structured-cloning-algorithm 2.8.4 Safe passing of structured data http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#safe-passing-of-structured-data 7.4.4 Posting messages with message ports http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#posting-messages-with-message-ports stringify http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#dom-tokenlist-tostring postMessage() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1706.html#dom-messageport-postmessage http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1705&r2=1.1706&f=h http://html5.org/tools/web-apps-tracker?from=2534&to=2535 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1705 retrieving revision 1.1706 diff -u -d -r1.1705 -r1.1706 --- Overview.html 16 Dec 2008 06:35:53 -0000 1.1705 +++ Overview.html 16 Dec 2008 19:46:53 -0000 1.1706 @@ -4665,7 +4665,7 @@ <dfn id=dom-tokenlist-tostring title=dom-tokenlist-toString>stringify</dfn> to the object's underlying string representation.<h4 id=safe-passing-of-structured-data><span class=secno>2.8.4 </span>Safe passing of structured data</h4><p>When a user agent is required to obtain a <dfn id=structured-clone>structured clone</dfn> of an object, it must run the following algorithm, which - either returns a separate object, or returns an exception.<ol><li><p>Let <var title="">input</var> be the object being + either returns a separate object, or throws an exception.<ol><li><p>Let <var title="">input</var> be the object being cloned.</li> <li><p>Let <var title="">memory</var> be a list of objects, @@ -4715,7 +4715,7 @@ <dd> - <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then return a + <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then throw a <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception and abort the overall <a href=#structured-clone>structured clone</a> algorithm.</li> @@ -4732,7 +4732,7 @@ same name, and having a value created from invoking the <a href=#internal-structured-cloning-algorithm>internal structured cloning algorithm</a> recursively with the value of the property as the "<var title="">input</var>" - arguemnt and <var title="">new memory</var> as the "<var title="">memory</var>" argument. The order of the properties in + argument and <var title="">new memory</var> as the "<var title="">memory</var>" argument. The order of the properties in the <var title="">input</var> and <var title="">output</var> objects must be the same.</li> @@ -35615,13 +35615,11 @@ <li> - <p>Let <var title="">message clone</var> be the result of - obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument.</p> - - <p>If doing this raised an exception, then raise that exception - and abort these steps.</p> + <li><p>Let <var title="">message clone</var> be the result of + obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then + throw that exception and abort these steps.</li> - </li> + <li> @@ -35689,8 +35687,8 @@ <li> <p>Let <var title="">message clone</var> be the result of - obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this returns an exception, - then throw that exception and abort these steps.</p> + obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then + throw that exception and abort these steps.</p> </li> @@ -35874,7 +35872,7 @@ argument, if any.</li> <li><p>Let <var title="">message clone</var> be the result of - obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this returns an exception, then + obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then throw that exception and abort these steps.</li> <li><p>If the <var title="">source port</var> is not entangled with
Received on Tuesday, 16 December 2008 19:50:17 UTC