- From: CVS User euhrhane <cvsmail@w3.org>
- Date: Wed, 30 Jan 2013 21:27:44 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/file-system In directory roscoe:/tmp/cvs-serv2126 Modified Files: file-dir-sys.html file-writer.html Log Message: Update to use the newer ReSpec. Fix a few reference bugs. --- /sources/public/2009/dap/file-system/file-dir-sys.html 2012/04/17 00:03:10 1.45 +++ /sources/public/2009/dap/file-system/file-dir-sys.html 2013/01/30 21:27:44 1.46 @@ -3,7 +3,7 @@ <head> <title>File API: Directories and System</title> <meta http-equiv='Content-Type' content='text/html;charset=utf-8'/> - <script src='../ReSpec.js/js/respec.js' class='remove'></script> + <script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script> <script class='remove'> var respecConfig = { specStatus: "ED", @@ -35,7 +35,7 @@ Interface'>API</acronym> to navigate file system hierarchies, and defines a means by which a <a>user agent</a> may expose sandboxed sections of a user's local filesystem to web applications. It builds on - [[!FILE-WRITER-ED]], which in turn built on [[!FILE-API-ED]], each adding a + [[!FILE-WRITER]], which in turn built on [[!FILE-API]], each adding a different kind of functionality. </section> @@ -135,12 +135,12 @@ // In the DOM or worker context: function useAsyncFS(fs) { - // see getAsText example in [[!FILE-API-ED]]. + // see getAsText example in [[!FILE-API]]. fs.root.getFile("already_there.txt", null, function (f) { getAsText(f.file()); }); - // But now we can also write to the file; see [[!FILE-WRITER-ED]]. + // But now we can also write to the file; see [[!FILE-WRITER]]. fs.root.getFile("logFile", {create: true}, function (f) { f.createWriter(writeDataToLogFile); }); @@ -170,11 +170,11 @@ <dfn>DOMError</dfn> is defined in the DOM4 specification [[!DOM4]]. <p> </p> - <dfn>File</dfn> is defined in the File API specification [[!FILE-API-ED]]. + <dfn>File</dfn> is defined in the File API specification [[!FILE-API]]. <p> </p> <dfn>FileWriter</dfn> and <dfn>FileWriterSync</dfn> are defined in the - FileWriter specification [[!FILE-WRITER-ED]]. + FileWriter specification [[!FILE-WRITER]]. <p> </section> <section> @@ -291,7 +291,7 @@ them. However, in order to avoid blocking UI actions while waiting on filesystem IO, we define only an asynchronous interface for Window, and restrict the synchronous API to the Worker context defined in - [[!WEBWORKERS-ED]]. + [[!WEBWORKERS]]. </p> <section> <h2>Using <code>LocalFileSystem</code></h2> @@ -633,7 +633,7 @@ <dd> <p> Returns a URL that can be used to identify this entry. - Unlike the URN defined in [[!FILE-API-ED]], it has no specific + Unlike the URN defined in [[!FILE-API]], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists. </p> @@ -1177,7 +1177,7 @@ <dd> <p> Returns a URL that can be used to identify this entry. - Unlike the URN defined in [[!FILE-API-ED]], it has no specific + Unlike the URN defined in [[!FILE-API]], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists. </p> --- /sources/public/2009/dap/file-system/file-writer.html 2012/04/17 00:03:11 1.45 +++ /sources/public/2009/dap/file-system/file-writer.html 2013/01/30 21:27:44 1.46 @@ -3,7 +3,7 @@ <head> <title>File API: Writer</title> <meta http-equiv='Content-Type' content='text/html;charset=utf-8'/> - <script src='../ReSpec.js/js/respec.js' class='remove'></script> + <script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script> <script class='remove'> var respecConfig = { specStatus: "ED", @@ -36,7 +36,7 @@ Interface'>API</acronym> for writing to files from web applications. This API is designed to be used in conjunction with, and depends on definitions in, other APIs and elements on the web platform. Most - relevant among these are [[!FILE-API-ED]] and [[!WEBWORKERS-ED]]. + relevant among these are [[!FILE-API]] and [[!WEBWORKERS]]. </p> <p> This API includes: @@ -147,7 +147,7 @@ <code>e.cancelable</code> MUST be false [[!DOM4]].</li> <li>The term "fire an event" is defined in DOM4 [[!DOM4]]. Progress events are defined in Progress Events - [[!PROGRESS-EVENTS-ED]].</li> + [[!PROGRESS-EVENTS]].</li> </ul> </p> The term <dfn>throw</dfn> in this specification, as it pertains to @@ -156,7 +156,7 @@ </p> <p> The term <dfn>Blob</dfn> is defined by the File API specification - [[!FILE-API-ED]]. + [[!FILE-API]]. </p> <p> The term <dfn>ArrayBuffer</dfn> is defined by the Typed Arrays @@ -181,7 +181,7 @@ generated or downloaded files. </p> <p> - The [[!FILE-API-ED]] defined interfaces for reading files, manipulation + The [[!FILE-API]] defined interfaces for reading files, manipulation of <a>Blobs</a> of data, and errors raised by file accesses. This specification extends that work with a way to construct <a>Blobs</a> and with synchronous and asynchronous file-writing interfaces. As with @@ -343,13 +343,13 @@ <h2>The <a>FileSaver</a> interface</h2> <p> This interface provides methods to monitor the asynchronous writing of - blobs to disk using progress events [[!PROGRESS-EVENTS-ED]] and <a>event + blobs to disk using progress events [[!PROGRESS-EVENTS]] and <a>event handler attributes</a>. </p> <p> This interface is specified to be used within the context of the global object (Window [[!HTML5]]) and within Web Workers (WorkerUtils - [[!WEBWORKERS-ED]]). + [[!WEBWORKERS]]). </p> <dl title='[Constructor(Blob data)] interface FileSaver : EventTarget' class='idl'> <dt>void abort ()</dt> @@ -801,7 +801,7 @@ </p> <p> This interface is specified to be used only within Web Workers - (WorkerUtils [[!WEBWORKERS-ED]]). + (WorkerUtils [[!WEBWORKERS]]). </p> <div class=issue> Since this is intended to be used only with the sandboxed filesystem, @@ -938,7 +938,7 @@ See <a>SyntaxError</a>. </p> <p> - As documented in [[!FILE-API-ED]], various errors may occur during + As documented in [[!FILE-API]], various errors may occur during reading from the Blob that is the source of the data to be written. These include <a>NotFoundError</a>, <a>SecurityError</a>, and <a>NotReadableError</a>.
Received on Wednesday, 30 January 2013 21:27:48 UTC