Skip to content

Commit

Permalink
Remove all [EnforceRange] annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
peria authored and toji committed Oct 17, 2017
1 parent 26d1812 commit 5a2f39f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ dictionary VRWebGLLayerInit {
boolean stencil = false;
boolean alpha = true;
boolean multiview = false;
[EnforceRange] double framebufferScaleFactor;
double framebufferScaleFactor;
};

typedef (WebGLRenderingContext or
Expand Down Expand Up @@ -764,7 +764,7 @@ enum VRFrameOfReferenceType {

dictionary VRFrameOfReferenceOptions {
boolean disableStageEmulation = false;
[EnforceRange] double stageEmulationHeight = 0.0;
double stageEmulationHeight = 0.0;
};

[SecureContext, Exposed=Window] interface VRFrameOfReference : VRCoordinateSystem {
Expand Down
4 changes: 2 additions & 2 deletions spec/latest/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ dictionary VRWebGLLayerInit {
boolean stencil = false;
boolean alpha = true;
boolean multiview = false;
[EnforceRange] double framebufferScaleFactor;
double framebufferScaleFactor;
};
</pre>

Expand Down Expand Up @@ -601,7 +601,7 @@ enum VRFrameOfReferenceType {

dictionary VRFrameOfReferenceOptions {
boolean disableStageEmulation = false;
[EnforceRange] double stageEmulationHeight = 0.0;
double stageEmulationHeight = 0.0;
};

[SecureContext, Exposed=Window] interface VRFrameOfReference : VRCoordinateSystem {
Expand Down
11 changes: 5 additions & 6 deletions spec/latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ <h3 class="heading settled" data-level="8.3" id="vrwebgllayerinit-dictionary"><s
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①⓪"><span class="kt">boolean</span></a> <dfn class="nv idl-code" data-default="false" data-dfn-for="VRWebGLLayerInit" data-dfn-type="dict-member" data-export="" data-type="boolean " id="dom-vrwebgllayerinit-stencil"><code>stencil</code><a class="self-link" href="#dom-vrwebgllayerinit-stencil"></a></dfn> = <span class="kt">false</span>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①①"><span class="kt">boolean</span></a> <dfn class="nv idl-code" data-default="true" data-dfn-for="VRWebGLLayerInit" data-dfn-type="dict-member" data-export="" data-type="boolean " id="dom-vrwebgllayerinit-alpha"><code>alpha</code><a class="self-link" href="#dom-vrwebgllayerinit-alpha"></a></dfn> = <span class="kt">true</span>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①②"><span class="kt">boolean</span></a> <dfn class="nv idl-code" data-default="false" data-dfn-for="VRWebGLLayerInit" data-dfn-type="dict-member" data-export="" data-type="boolean " id="dom-vrwebgllayerinit-multiview"><code>multiview</code><a class="self-link" href="#dom-vrwebgllayerinit-multiview"></a></dfn> = <span class="kt">false</span>;
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#EnforceRange" id="ref-for-EnforceRange">EnforceRange</a>] <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double③"><span class="kt">double</span></a> <dfn class="nv idl-code" data-dfn-for="VRWebGLLayerInit" data-dfn-type="dict-member" data-export="" data-type="double " id="dom-vrwebgllayerinit-framebufferscalefactor"><code>framebufferScaleFactor</code><a class="self-link" href="#dom-vrwebgllayerinit-framebufferscalefactor"></a></dfn>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double③"><span class="kt">double</span></a> <dfn class="nv idl-code" data-dfn-for="VRWebGLLayerInit" data-dfn-type="dict-member" data-export="" data-type="double " id="dom-vrwebgllayerinit-framebufferscalefactor"><code>framebufferScaleFactor</code><a class="self-link" href="#dom-vrwebgllayerinit-framebufferscalefactor"></a></dfn>;
};
</pre>
<p>The <code class="idl"><a data-link-type="idl" href="#dictdef-vrwebgllayerinit" id="ref-for-dictdef-vrwebgllayerinit①">VRWebGLLayerInit</a></code> dictionary indicates the desired properites of a <code class="idl"><a data-link-type="idl" href="#vrwebgllayer" id="ref-for-vrwebgllayer③">VRWebGLLayer</a></code>'s framebuffer.</p>
Expand Down Expand Up @@ -1866,7 +1866,7 @@ <h3 class="heading settled" data-level="11.2" id="vrframeofreference-interface">

<span class="kt">dictionary</span> <dfn class="nv dfn-paneled idl-code" data-dfn-type="dictionary" data-export="" id="dictdef-vrframeofreferenceoptions"><code>VRFrameOfReferenceOptions</code></dfn> {
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①③"><span class="kt">boolean</span></a> <dfn class="nv idl-code" data-default="false" data-dfn-for="VRFrameOfReferenceOptions" data-dfn-type="dict-member" data-export="" data-type="boolean " id="dom-vrframeofreferenceoptions-disablestageemulation"><code>disableStageEmulation</code><a class="self-link" href="#dom-vrframeofreferenceoptions-disablestageemulation"></a></dfn> = <span class="kt">false</span>;
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#EnforceRange" id="ref-for-EnforceRange①">EnforceRange</a>] <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double④"><span class="kt">double</span></a> <dfn class="nv idl-code" data-default="0.0" data-dfn-for="VRFrameOfReferenceOptions" data-dfn-type="dict-member" data-export="" data-type="double " id="dom-vrframeofreferenceoptions-stageemulationheight"><code>stageEmulationHeight</code><a class="self-link" href="#dom-vrframeofreferenceoptions-stageemulationheight"></a></dfn> = 0.0;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double④"><span class="kt">double</span></a> <dfn class="nv idl-code" data-default="0.0" data-dfn-for="VRFrameOfReferenceOptions" data-dfn-type="dict-member" data-export="" data-type="double " id="dom-vrframeofreferenceoptions-stageemulationheight"><code>stageEmulationHeight</code><a class="self-link" href="#dom-vrframeofreferenceoptions-stageemulationheight"></a></dfn> = 0.0;
};

[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext①①">SecureContext</a>, <a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed①①">Exposed</a>=<span class="n">Window</span>] <span class="kt">interface</span> <dfn class="nv dfn-paneled idl-code" data-dfn-type="interface" data-export="" id="vrframeofreference"><code>VRFrameOfReference</code></dfn> : <a class="n" data-link-type="idl-name" href="#vrcoordinatesystem" id="ref-for-vrcoordinatesystem③">VRCoordinateSystem</a> {
Expand Down Expand Up @@ -2328,7 +2328,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<a data-link-type="biblio">[WebIDL]</a> defines the following terms:
<ul>
<li><a href="https://heycam.github.io/webidl/#idl-DOMString">DOMString</a>
<li><a href="https://heycam.github.io/webidl/#EnforceRange">EnforceRange</a>
<li><a href="https://heycam.github.io/webidl/#Exposed">Exposed</a>
<li><a href="https://heycam.github.io/webidl/#idl-Float32Array">Float32Array</a>
<li><a href="https://heycam.github.io/webidl/#idl-frozen-array">FrozenArray</a>
Expand Down Expand Up @@ -2472,7 +2471,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①⓪①"><span class="kt">boolean</span></a> <a class="nv" data-default="false" data-type="boolean " href="#dom-vrwebgllayerinit-stencil"><code>stencil</code></a> = <span class="kt">false</span>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①①①"><span class="kt">boolean</span></a> <a class="nv" data-default="true" data-type="boolean " href="#dom-vrwebgllayerinit-alpha"><code>alpha</code></a> = <span class="kt">true</span>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①②①"><span class="kt">boolean</span></a> <a class="nv" data-default="false" data-type="boolean " href="#dom-vrwebgllayerinit-multiview"><code>multiview</code></a> = <span class="kt">false</span>;
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#EnforceRange" id="ref-for-EnforceRange②">EnforceRange</a>] <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double③①"><span class="kt">double</span></a> <a class="nv" data-type="double " href="#dom-vrwebgllayerinit-framebufferscalefactor"><code>framebufferScaleFactor</code></a>;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double③①"><span class="kt">double</span></a> <a class="nv" data-type="double " href="#dom-vrwebgllayerinit-framebufferscalefactor"><code>framebufferScaleFactor</code></a>;
};

<span class="kt">partial</span> <span class="kt">dictionary</span> <a class="nv idl-code" data-link-type="dictionary" href="https://www.khronos.org/registry/webgl/specs/latest/1.0/#webglcontextattributes" id="ref-for-webglcontextattributes①">WebGLContextAttributes</a> {
Expand All @@ -2499,7 +2498,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I

<span class="kt">dictionary</span> <a class="nv" href="#dictdef-vrframeofreferenceoptions"><code>VRFrameOfReferenceOptions</code></a> {
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean①③①"><span class="kt">boolean</span></a> <a class="nv" data-default="false" data-type="boolean " href="#dom-vrframeofreferenceoptions-disablestageemulation"><code>disableStageEmulation</code></a> = <span class="kt">false</span>;
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#EnforceRange" id="ref-for-EnforceRange①①">EnforceRange</a>] <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double④①"><span class="kt">double</span></a> <a class="nv" data-default="0.0" data-type="double " href="#dom-vrframeofreferenceoptions-stageemulationheight"><code>stageEmulationHeight</code></a> = 0.0;
<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double④①"><span class="kt">double</span></a> <a class="nv" data-default="0.0" data-type="double " href="#dom-vrframeofreferenceoptions-stageemulationheight"><code>stageEmulationHeight</code></a> = 0.0;
};

[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext①①①">SecureContext</a>, <a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed①①①">Exposed</a>=<span class="n">Window</span>] <span class="kt">interface</span> <a class="nv" href="#vrframeofreference"><code>VRFrameOfReference</code></a> : <a class="n" data-link-type="idl-name" href="#vrcoordinatesystem" id="ref-for-vrcoordinatesystem③①">VRCoordinateSystem</a> {
Expand Down Expand Up @@ -3218,4 +3217,4 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
}

});
</script>
</script>

0 comments on commit 5a2f39f

Please sign in to comment.