Skip to content

Commit

Permalink
[giow] (0) Remove the pointless security check in AddSearchProvider()…
Browse files Browse the repository at this point in the history
…. Gecko doesn't do it and it doesn't actually prevent anything as far as we can tell. Also, fix some minor editorial things.

git-svn-id: http://svn.whatwg.org/webapps@6157 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 31, 2011
1 parent 5d2855e commit fc0f073
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
12 changes: 3 additions & 9 deletions complete.html
Expand Up @@ -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 &mdash; Last Updated 27 May 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -68936,8 +68936,6 @@ <h4 id=the-navigator-object><span class=secno>7.5.1 </span>The <code><a href=#na
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>
Expand Down Expand Up @@ -69463,17 +69461,13 @@ <h4 id=the-external-interface><span class=secno>7.5.2 </span>The <code><a href=#
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>

Expand Down
12 changes: 3 additions & 9 deletions index
Expand Up @@ -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 &mdash; Last Updated 27 May 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -68945,8 +68945,6 @@ interface <dfn id=windowtimers>WindowTimers</dfn> {
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>
Expand Down Expand Up @@ -69478,17 +69476,13 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
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>

Expand Down
11 changes: 2 additions & 9 deletions source
Expand Up @@ -78714,8 +78714,6 @@ interface <dfn>WindowTimers</dfn> {
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>
Expand Down Expand Up @@ -79312,18 +79310,13 @@ interface <dfn>NavigatorStorageUtils</dfn> {
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>
Expand Down

0 comments on commit fc0f073

Please sign in to comment.