Skip to content

Commit

Permalink
[giow] (0) Make it clear that disabling a feature should truly remove…
Browse files Browse the repository at this point in the history
… it, not just stub it out.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8536

git-svn-id: http://svn.whatwg.org/webapps@4693 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 12, 2010
1 parent a010a61 commit d774be8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions complete.html
Expand Up @@ -2603,6 +2603,16 @@ <h4 id=extensibility><span class=secno>2.2.2 </span>Extensibility</h4>

</div>

<p>When support for a feature is disabled (e.g. as an emergency
measure to mitigate a security problem, or to aid in development, or
for performance reasons), user agents must act as if they had no
support for the feature whatsoever, and as if the feature was not
mentioned in this specification. For example, if a particular
feature is accessed via an attribute in a Web IDL interface, the
attribute itself would be omitted from the objects that implement
that interface &mdash; leaving the attribute on the object but
making it return null or throw an exception is insufficient.</p>

<hr><p>When vendor-neutral extensions to this specification are needed,
either this specification can be updated accordingly, or an
extension specification can be written that overrides the
Expand Down Expand Up @@ -69222,6 +69232,7 @@ <h4 id=the-localstorage-attribute><span class=secno>11.2.3 </span>The <code titl
origin</a> is not the <a href=#same-origin>same origin</a> as the
<code>Document</code>'s <a href=#origin>origin</a>, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception and abort these steps.</li>
<!-- XXX should do this on getItem()/setItem()/enumerating etc -->

<li><p>If the <code>Document</code>'s <a href=#origin>origin</a> is not a
scheme/host/port tuple, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
Expand Down
10 changes: 10 additions & 0 deletions index
Expand Up @@ -2502,6 +2502,16 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<p>When support for a feature is disabled (e.g. as an emergency
measure to mitigate a security problem, or to aid in development, or
for performance reasons), user agents must act as if they had no
support for the feature whatsoever, and as if the feature was not
mentioned in this specification. For example, if a particular
feature is accessed via an attribute in a Web IDL interface, the
attribute itself would be omitted from the objects that implement
that interface &mdash; leaving the attribute on the object but
making it return null or throw an exception is insufficient.</p>

<hr><p>When vendor-neutral extensions to this specification are needed,
either this specification can be updated accordingly, or an
extension specification can be written that overrides the
Expand Down
11 changes: 11 additions & 0 deletions source
Expand Up @@ -1519,6 +1519,16 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<p>When support for a feature is disabled (e.g. as an emergency
measure to mitigate a security problem, or to aid in development, or
for performance reasons), user agents must act as if they had no
support for the feature whatsoever, and as if the feature was not
mentioned in this specification. For example, if a particular
feature is accessed via an attribute in a Web IDL interface, the
attribute itself would be omitted from the objects that implement
that interface &mdash; leaving the attribute on the object but
making it return null or throw an exception is insufficient.</p>

<hr>

<p>When vendor-neutral extensions to this specification are needed,
Expand Down Expand Up @@ -77885,6 +77895,7 @@ interface <span>WindowLocalStorage</span> {
origin</span> is not the <span>same origin</span> as the
<code>Document</code>'s <span>origin</span>, then throw a
<code>SECURITY_ERR</code> exception and abort these steps.</p></li>
<!-- XXX should do this on getItem()/setItem()/enumerating etc -->

<li><p>If the <code>Document</code>'s <span>origin</span> is not a
scheme/host/port tuple, then throw a <code>SECURITY_ERR</code>
Expand Down

0 comments on commit d774be8

Please sign in to comment.