- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 02 Dec 2009 13:31:25 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/device
In directory hutz:/tmp/cvs-serv21526/device
Modified Files:
Overview.html
Log Message:
make it possible to override editors in specs while still using common config; add PendingOp to Device API
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/device/Overview.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Overview.html 5 Oct 2009 15:16:45 -0000 1.1
+++ Overview.html 2 Dec 2009 13:31:23 -0000 1.2
@@ -12,6 +12,12 @@
// previousPublishDate: "1977-03-15",
edDraftURI: "http://dev.w3.org/2009/dap/device/",
// lcEnd: "2009-08-05",
+ editors: [
+ { name: "Robin Berjon",
+ url: "http://berjon.com/",
+ company: "Vodafone",
+ companyURL: "http://vodafone.com/" },
+ ],
};
</script>
<script src='../common/config.js' class='remove'></script>
@@ -19,7 +25,7 @@
<body>
<section id='abstract'>
This specification defines the common interface from which all device APIs are
- can be accessed.
+ can be accessed as well as several interfaces that are commonly reused.
</section>
<section id='conformance'>
@@ -44,7 +50,7 @@
<h2>The <code>NavigatorDevice</code> interface</h2>
<p>
The <a>NavigatorDevice</a> interface supplements the <a class='externalDFN'>Navigator</a>
- interface which is defined as part of HTML 5 [[!HTML5]]. A <a>user agent</a> MUST expose
+ interface which is defined as part of HTML 5 [[!NAVIGATOR]]. A <a>user agent</a> MUST expose
a <code>device</code> attribute that implements the <a>Device</a> interface on the
<code>navigator</code> object.
</p>
@@ -61,6 +67,23 @@
</section>
</section>
+ <section>
+ <h2>The <code>PendingOp</code> interface</h2>
+ <p>
+ The <a>PendingOp</a> interface describes objects that are returned by asynchronous
+ methods that are cancellable. It makes it possible to bring these operations to a
+ stop if they haven't produced a result within a desired time or before a given
+ event, thereby possibly reclaiming resources.
+ </p>
+ <dl title='[NoInterfaceObject] interface PendingOperation' class='idl'>
+ <dt>void cancel ()</dt>
+ <dd>
+ Cancel the pending asynchronous operation. When this method is called, the
+ <a>user agent</a> MUST immediately bring the operation to a stop and return.
+ </dd>
+ </dl>
+ </section>
+
<section class='appendix informative'>
<h2>Acknowledgements</h2>
<p>
Received on Wednesday, 2 December 2009 13:31:27 UTC