- From: Eric Uhrhane via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Apr 2011 20:00:54 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/file-system In directory hutz:/tmp/cvs-serv2467 Modified Files: file-writer.html Log Message: Tweaked the order of setting the error attribute, to remove possible polling race condition. Index: file-writer.html =================================================================== RCS file: /sources/public/2009/dap/file-system/file-writer.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- file-writer.html 6 Apr 2011 19:45:15 -0000 1.27 +++ file-writer.html 6 Apr 2011 20:00:52 -0000 1.28 @@ -315,16 +315,17 @@ code <code>INVALID_STATE_ERR</code> and terminate this overall series of steps.</li> <li>Terminate any steps having to do with writing a file.</li> - <li>Set the error attribute to a FileError object with the - code <a>ABORT_ERR</a>.</li> <li>Queue a task that will: <ol> + <li>Set the <code>error</code> attribute to a FileError object + with the code <a>ABORT_ERR</a>.</li> <li>Set <code>readyState</code> to <code>DONE</code>.</li> <li>Dispatch a progress event called error.</li> <li>Dispatch a progress event called abort</li> <li>Dispatch a progress event called writeend</li> </ol></li> <li>Stop dispatching any further progress events.</li> + <li>Terminate this overall set of steps.</li> </ol> </p> <dl class='exception' title='FileException'> @@ -443,12 +444,12 @@ <li>If an error occurs during file write, proceed to the error steps below. <ol> - <li>Set the <code>error</code> attribute; on getting the - <code>error</code> attribute MUST be a <code>FileError</code> - object with a valid error code that indicates the kind of file - error that has occurred.</li> <li>Queue a task that will: <ol> + <li>Set the <code>error</code> attribute; on getting the + <code>error</code> attribute MUST be a + <code>FileError</code> object with a valid error code that + indicates the kind of file error that has occurred.</li> <li>Set readyState to <code>DONE</code>.</li> <li>Dispatch a progress event called <code>error</code>.</li> @@ -586,12 +587,12 @@ <li>If an error occurs during file write, proceed to the error steps below. <ol> - <li>Set the <code>error</code> attribute; on getting the - <code>error</code> attribute MUST be a <code>FileError</code> - object with a valid error code that indicates the kind of file - error that has occurred.</li> <li>Queue a task that will: <ol> + <li>Set the <code>error</code> attribute; on getting the + <code>error</code> attribute MUST be a + <code>FileError</code> object with a valid error code that + indicates the kind of file error that has occurred.</li> <li>Set readyState to <code>DONE</code>.</li> <li>Dispatch a progress event called <code>error</code>.</li> @@ -690,12 +691,12 @@ <li>If an error occurs during truncate, proceed to the error steps below. <ol> - <li>Set the <code>error</code> attribute; on getting the - <code>error</code> attribute MUST be a <code>FileError</code> - object with a valid error code that indicates the kind of file - error that has occurred.</li> <li>Queue a task that will: <ol> + <li>Set the <code>error</code> attribute; on getting the + <code>error</code> attribute MUST be a + <code>FileError</code> object with a valid error code that + indicates the kind of file error that has occurred.</li> <li>Set readyState to <code>DONE</code>.</li> <li>Dispatch a progress event called <code>error</code>.</li>
Received on Wednesday, 6 April 2011 20:00:56 UTC