- From: poot <cvsmail@w3.org>
- Date: Fri, 27 Jun 2008 08:51:26 +0900 (JST)
- To: public-html-diffs@w3.org
URLification of arguments and attributes in IDLs (whatwg r1810) (changed by: Ian Hickson) Diff: http://people.w3.org/mike/diffs/html5/spec/Overview.1.999.html Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.998&r2=1.999&f=h http://dev.w3.org/html5/spec/Overview.html http://html5.org/tools/web-apps-tracker?from=1809&to=1810 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.998 retrieving revision 1.999 diff -u -d -r1.998 -r1.999 --- Overview.html 26 Jun 2008 23:46:15 -0000 1.998 +++ Overview.html 26 Jun 2008 23:49:38 -0000 1.999 @@ -32013,8 +32013,8 @@ <pre class=idl>interface <dfn id=clientinformation>ClientInformation</dfn> { readonly attribute boolean <a href="#navigator.online" title=dom-navigator-onLine>onLine</a>; - void <a href="#registerprotocolhandler" title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString protocol, in DOMString uri, in DOMString title); - void <a href="#registercontenthandler" title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString uri, in DOMString title); + void <a href="#registerprotocolhandler" title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString protocol, in DOMString url, in DOMString title); + void <a href="#registercontenthandler" title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString url, in DOMString title); <!-- XXX there are other attributes! -->};</pre> <!-- also, see window.external.AddSearchProvider() and similar DOM APIs from IE --> @@ -32085,7 +32085,7 @@ </dd> <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) --> - <dt><var title="">uri</var> + <dt><var title="">url</var> <dd> <!-- XXXURL use url, algorithms --> <p>The URI of the page that will handle the requests. When the user agent @@ -32144,7 +32144,7 @@ Web browser would likely cause an exception to be raised. <p>User agents must raise a <code>SYNTAX_ERR</code> exception if the <var - title="">uri</var> argument passed to one of these methods does not + title="">url</var> argument passed to one of these methods does not contain the exact literal string "<code>%s</code>". <p>User agents must not raise any other exceptions (other than @@ -32153,7 +32153,7 @@ <p>This section does not define how the pages registered by these methods are used, beyond the requirements on how to process the <var - title="">uri</var> value (see above). To some extent, the <a + title="">url</var> value (see above). To some extent, the <a href="#navigate" title=navigate>processing model for navigating across documents</a> defines some cases where these methods are relevant, but in general UAs may use this information wherever they would otherwise @@ -32285,7 +32285,7 @@ href="#registerprotocolhandler">registerProtocolHandler()</a></code> method as its first argument (<var title="">protocol</var>), "http://kittens.example.org/?show=%s" was the second argument (<var - title="">uri</var>), and "Kittens-at-work displayer" was the third + title="">url</var>), and "Kittens-at-work displayer" was the third argument (<var title="">title</var>). <p>If the user clicks the Cancel button, then nothing further happens. If @@ -32437,7 +32437,7 @@ entries</dfn> <dd>Resources that were added to the cache by the <code - title=dom-appcache-add><a href="#adduri">add()</a></code> method. + title=dom-appcache-add><a href="#addurl">add()</a></code> method. </dl> <!-- XXXURL change to URL --> <p class=note>A URI in the list can be flagged with multiple different @@ -33494,8 +33494,8 @@ // dynamic entries readonly attribute unsigned long <a href="#length8" title=dom-appcache-length>length</a>; DOMString <a href="#itemindex4" title=dom-appcache-item>item</a>(in unsigned long index); - void <a href="#adduri" title=dom-appcache-add>add</a>(in DOMString uri); - void <a href="#remove2" title=dom-appcache-remove>remove</a>(in DOMString uri); + void <a href="#addurl" title=dom-appcache-add>add</a>(in DOMString url); + void <a href="#remove2" title=dom-appcache-remove>remove</a>(in DOMString url); // events attribute <span>EventListener</span> <a href="#onchecking" title=handler-appcache-onchecking>onchecking</a>; @@ -33605,7 +33605,7 @@ <p>The <a href="#dynamic3" title=concept-appcache-dynamic>dynamic entries</a> in the <a href="#application0">application cache</a> are ordered in the same order as they were added to the cache by the <code - title=dom-appcache-add><a href="#adduri">add()</a></code> method, with the + title=dom-appcache-add><a href="#addurl">add()</a></code> method, with the oldest entry being the zeroth entry, and the most recently added entry having the index <span><code title=dom-appcache-length><a href="#length8">length</a></code>-1</span>.</p> @@ -33623,8 +33623,8 @@ href="#length8">length</a></code>-1</span>, the method must instead raise an <code>INDEX_SIZE_ERR</code> exception. - <p>The <dfn id=adduri title=dom-appcache-add><code>add(<var - title="">uri</var>)</code></dfn> method must run the following steps: + <p>The <dfn id=addurl title=dom-appcache-add><code>add(<var + title="">url</var>)</code></dfn> method must run the following steps: <ol> <li> @@ -33635,7 +33635,7 @@ <!-- XXXURL change to URL --> <li> - <p>If <var title="">uri</var> is not a valid URI reference, then raise a + <p>If <var title="">url</var> is not a valid URI reference, then raise a <code>SYNTAX_ERR</code> exception and abort these steps. <a href="#references">[RFC3986]</a> <a href="#references">[RFC3987]</a> </li> @@ -33651,7 +33651,7 @@ <p>If there is already a resource in in the <a href="#application0">application cache</a> with which the <code><a href="#applicationcache">ApplicationCache</a></code> object is - associated that has the address <var title="">uri</var>, then ensure + associated that has the address <var title="">url</var>, then ensure that entry is categorized as a <a href="#dynamic3" title=concept-appcache-dynamic>dynamic entry</a> and return and abort these steps. @@ -33659,7 +33659,7 @@ <!-- XXXURL change to URL --> <li> - <p>If <var title="">uri</var> has a different <scheme> component than + <p>If <var title="">url</var> has a different <scheme> component than the manifest's URI, then raise a <a href="#security9">security exception</a>. @@ -33669,7 +33669,7 @@ <!-- XXXURL change to URL, maybe xref "fetch"? --> <li> - <p>Fetch the resource referenced by <var title="">uri</var>. + <p>Fetch the resource referenced by <var title="">url</var>. <li> <p>If this results 4xx or 5xx status codes or equivalent, or if there @@ -33700,9 +33700,9 @@ <!-- XXXURL algorithms --> <p>The <dfn id=remove2 title=dom-appcache-remove><code>remove(<var - title="">uri</var>)</code></dfn> method must remove the <a + title="">url</var>)</code></dfn> method must remove the <a href="#dynamic3" title=concept-appcache-dynamic>dynamic entry</a> - categorization of any entry with the address <var title="">uri</var> in + categorization of any entry with the address <var title="">url</var> in the <a href="#application0">application cache</a> with which the <code><a href="#applicationcache">ApplicationCache</a></code> object is associated. <span class=big-issue>Resolve relative URIs... (ignore syntax @@ -35508,8 +35508,8 @@ href="#oldvalue">oldValue</a></code>, and <code title=dom-StorageEvent-newValue>newValue</code> attributes set to null. - <p>In addition, the event must have its <code title=dom-StorageEvent-uri><a - href="#uri">uri</a></code> attribute set to the address of the page whose + <p>In addition, the event must have its <code title=dom-StorageEvent-url><a + href="#url1">url</a></code> attribute set to the address of the page whose <code><a href="#storage0">Storage</a></code> object was affected, and its <code title=dom-StorageEvent-source><a href="#source1">source</a></code> attribute set to the <code><a href="#window">Window</a></code> object of @@ -35523,10 +35523,10 @@ readonly attribute DOMString <a href="#key" title=dom-StorageEvent-key>key</a>; readonly attribute DOMString <a href="#oldvalue" title=dom-StorageEvent-oldValue>oldValue</a>; readonly attribute DOMString <span title=dom-StorageEvent-newValue>newValue</span>; - readonly attribute DOMString <a href="#uri" title=dom-StorageEvent-uri>uri</a>; + readonly attribute DOMString <a href="#url1" title=dom-StorageEvent-url>url</a>; readonly attribute <a href="#window">Window</a> <a href="#source1" title=dom-StorageEvent-source>source</a>; - void <a href="#initstorageevent" title=dom-StorageEvent-initStorageEvent>initStorageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString uriArg, in Window sourceArg); - void <a href="#initstorageeventns" title=dom-StorageEvent-initStorageEventNS>initStorageEventNS</a>(in DOMString namespaceURI, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString uriArg, in Window sourceArg); + void <a href="#initstorageevent" title=dom-StorageEvent-initStorageEvent>initStorageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString urlArg, in Window sourceArg); + void <a href="#initstorageeventns" title=dom-StorageEvent-initStorageEventNS>initStorageEventNS</a>(in DOMString namespaceURI, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString urlArg, in Window sourceArg); };</pre> <p>The <dfn id=initstorageevent @@ -35548,7 +35548,7 @@ title=dom-StorageEvent-vnewValue><code>newValue</code></dfn> attribute represents the new value of the key being changed. - <p>The <dfn id=uri title=dom-StorageEvent-uri><code>uri</code></dfn> + <p>The <dfn id=url1 title=dom-StorageEvent-url><code>url</code></dfn> attribute represents the address of the document that changed the key. <p>The <dfn id=source1
Received on Thursday, 26 June 2008 23:52:05 UTC