[html5] r6157 - [giow] (0) Remove the pointless security check in AddSearchProvider(). Gecko doe [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue May 31 12:50:11 PDT 2011


Author: ianh
Date: 2011-05-31 12:50:10 -0700 (Tue, 31 May 2011)
New Revision: 6157

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Remove the pointless security check in AddSearchProvider(). Gecko doesn't do it and it doesn't actually prevent anything as far as we can tell. Also, fix some minor editorial things.

Modified: complete.html
===================================================================
--- complete.html	2011-05-27 23:31:52 UTC (rev 6156)
+++ complete.html	2011-05-31 19:50:10 UTC (rev 6157)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 May 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 31 May 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -68936,8 +68936,6 @@
   specifications can re-use parts of the <code><a href=#navigator>Navigator</a></code>
   interface.</p>
 
-   <!-- v2: also, see window.external.AddSearchProvider() and similar DOM APIs from IE -->
-
    <!-- v2: also, could expose languages:
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
@@ -69463,17 +69461,13 @@
     arbitrarily ignore invocations with particular arguments for
     security, privacy, or usability reasons.</li>
 
-    <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var> argument relative to the <a href=#entry-script>entry
+    <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
+    method's first argument relative to the <a href=#entry-script>entry
     script</a>'s <a href="#script's-base-url" title="script's base URL">base
     URL</a>.</li>
 
     <li><p>If this fails, abort these steps.</li>
 
-    <li><p>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
-    URL</a> is not the <a href=#same-origin title="same origin">same</a> as the
-    origin of the <a href=#entry-script>entry script</a>, then abort these
-    steps.</li>
-
     <li><p>Process the resulting <a href=#absolute-url>absolute URL</a> as the
     <a href=#url>URL</a> to an OpenSearch description document. <a href=#refsOPENSEARCH>[OPENSEARCH]</a></li>
 

Modified: index
===================================================================
--- index	2011-05-27 23:31:52 UTC (rev 6156)
+++ index	2011-05-31 19:50:10 UTC (rev 6157)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 May 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 31 May 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -68945,8 +68945,6 @@
   specifications can re-use parts of the <code><a href=#navigator>Navigator</a></code>
   interface.</p>
 
-   <!-- v2: also, see window.external.AddSearchProvider() and similar DOM APIs from IE -->
-
    <!-- v2: also, could expose languages:
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
@@ -69478,17 +69476,13 @@
     arbitrarily ignore invocations with particular arguments for
     security, privacy, or usability reasons.</li>
 
-    <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var> argument relative to the <a href=#entry-script>entry
+    <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
+    method's first argument relative to the <a href=#entry-script>entry
     script</a>'s <a href="#script's-base-url" title="script's base URL">base
     URL</a>.</li>
 
     <li><p>If this fails, abort these steps.</li>
 
-    <li><p>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
-    URL</a> is not the <a href=#same-origin title="same origin">same</a> as the
-    origin of the <a href=#entry-script>entry script</a>, then abort these
-    steps.</li>
-
     <li><p>Process the resulting <a href=#absolute-url>absolute URL</a> as the
     <a href=#url>URL</a> to an OpenSearch description document. <a href=#refsOPENSEARCH>[OPENSEARCH]</a></li>
 

Modified: source
===================================================================
--- source	2011-05-27 23:31:52 UTC (rev 6156)
+++ source	2011-05-31 19:50:10 UTC (rev 6157)
@@ -78714,8 +78714,6 @@
   specifications can re-use parts of the <code>Navigator</code>
   interface.</p>
 
-   <!-- v2: also, see window.external.AddSearchProvider() and similar DOM APIs from IE -->
-
    <!-- v2: also, could expose languages:
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
@@ -79312,18 +79310,13 @@
     arbitrarily ignore invocations with particular arguments for
     security, privacy, or usability reasons.</p></li>
 
-    <li><p><span title="resolve a url">Resolve</span> the <var
-    title="">scriptURL</var> argument relative to the <span>entry
+    <li><p><span title="resolve a url">Resolve</span> the value of the
+    method's first argument relative to the <span>entry
     script</span>'s <span title="script's base URL">base
     URL</span>.</p></li>
 
     <li><p>If this fails, abort these steps.</p></li>
 
-    <li><p>If the <span>origin</span> of the resulting <span>absolute
-    URL</span> is not the <span title="same origin">same</span> as the
-    origin of the <span>entry script</span>, then abort these
-    steps.</p></li>
-
     <li><p>Process the resulting <span>absolute URL</span> as the
     <span>URL</span> to an OpenSearch description document. <a
     href="#refsOPENSEARCH">[OPENSEARCH]</a></p></li>




More information about the Commit-Watchers mailing list