Skip to content

Commit 3762038

Browse files
dirkschulzesvgeesus
authored andcommitted
Replace IndexSizeError with TypeError exception.
1 parent ba9f592 commit 3762038

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

geometry/Overview.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h2 class="no-num no-toc no-ref heading settled" id=status><span class=content>S
9595
<a href=http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential>Essential Claim(s)</a>
9696
must disclose the information in accordance with <a href=http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure>section 6 of the W3C Patent Policy</a>.</div>
9797
<div data-fill-with=at-risk><p>The following features are at-risk, and may be dropped during the CR period:
98-
<ul><li>The <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> interface is at-risk. The authors of this specification await feedback from implementers if the getter of <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> is currently in use on legacy interfaces. If there is no/not enough content to justify <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a>, legacy interfaces must use sequences instead and <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> will be removed from this specification.</ul></div>
98+
<ul><li>The <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> interface is at-risk. The authors of this specification await feedback from implementers if the item() function of <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> is currently in use on legacy interfaces. If there is no/not enough content to justify <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a>, legacy interfaces must use sequences instead and <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> will be removed from this specification.</ul></div>
9999

100100
<h2 class="no-num no-toc no-ref heading settled" id=contents><span class=content>Table of Contents</span></h2>
101101
<div data-fill-with=table-of-contents><ul class=toc>
@@ -649,7 +649,7 @@ <h3 class="heading settled" data-level=6.1 id=dommatrixreadonly-constructors><sp
649649
</ol>
650650
</dd>
651651
<dt>Otherwise</dt>
652-
<dd>Throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#indexsizeerror title=IndexSizeError>IndexSizeError</a> exception.</dd>
652+
<dd>Throw a <code>TypeError</code> exception.</dd>
653653
</dl>
654654

655655

@@ -716,7 +716,7 @@ <h3 class="heading settled" data-level=6.2 id=dommatrix-constructors><span class
716716
</ol>
717717
</dd>
718718
<dt>Otherwise</dt>
719-
<dd>Throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#indexsizeerror title=IndexSizeError>IndexSizeError</a> exception.</dd>
719+
<dd>Throw a <code>TypeError</code> exception.</dd>
720720
</dl>
721721
</dd>
722722
<dt>If invoked with a <a class=idl-code data-link-type=interface title=Float64Array>Float64Array</a> argument <var>array64</var></dt>
@@ -731,7 +731,7 @@ <h3 class="heading settled" data-level=6.2 id=dommatrix-constructors><span class
731731
</ol>
732732
</dd>
733733
<dt>Otherwise</dt>
734-
<dd>Throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#indexsizeerror title=IndexSizeError>IndexSizeError</a> exception.</dd>
734+
<dd>Throw a <code>TypeError</code> exception.</dd>
735735
</dl>
736736
</dd>
737737
<dt>If invoked with a sequence&lt;unrestricted double&gt; argument <var>numberSequence</var></dt>
@@ -746,7 +746,7 @@ <h3 class="heading settled" data-level=6.2 id=dommatrix-constructors><span class
746746
</ol>
747747
</dd>
748748
<dt>Otherwise</dt>
749-
<dd>Throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#indexsizeerror title=IndexSizeError>IndexSizeError</a> exception.</dd>
749+
<dd>Throw a <code>TypeError</code> exception.</dd>
750750
</dl>
751751
</dd>
752752
</dl>
@@ -1139,7 +1139,9 @@ <h2 class="no-num heading settled" id=changes><span class=content>Changes since
11391139
<li><a class=idl-code data-link-type=interface href=#dom-domrectreadonly title=DOMRectReadOnly>DOMRectReadOnly</a> got a constructor taking 4 arguments.</li>
11401140
<li><a class=idl-code data-link-type=interface href=#dom-dommatrixreadonly title=DOMMatrixReadOnly>DOMMatrixReadOnly</a> got a constructor taking a sequence of numbers as argument.</li>
11411141
<li><a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> turned to an ArrayClass. The interfaces must just be used for legacy interfaces.</li>
1142+
<li>Put <a class=idl-code data-link-type=interface href=#dom-domrectlist title=DOMRectList>DOMRectList</a> on at-Risk awaiting browser feedback.</li>
11421143
<li>All interfaces are described in the sense of internal elements to describe the read-only/writable and inheriting behavior.</li>
1144+
<li>Replace IndexSizeError exception with TypeError.</li>
11431145
</ul>
11441146

11451147
<p>The following changes were made since the <a href=http://www.w3.org/TR/2014/WD-geometry-1-20140522/>22 May 2014 First Public Working Draft</a>.</p>

geometry/Overview.src.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>Geometry Interfaces Module Level 1</h1>
1616
Abstract: This specification provides basic geometric interfaces to represent points, rectangles, quadrilaterals and transformation matrices that can be used by other modules or specifications.
1717
!Issues list: <a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=FXTF&amp;component=Geometry&amp;resolution=---">Bugzilla</a> (<a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=FXTF&amp;component=Geometry">file a bug</a>)
1818
Test Suite: http://test.csswg.org/suites/geometry-1_dev/nightly-unstable/
19-
At Risk: The <a interface>DOMRectList</a> interface is at-risk. The authors of this specification await feedback from implementers if the getter of <a interface>DOMRectList</a> is currently in use on legacy interfaces. If there is no/not enough content to justify <a interface>DOMRectList</a>, legacy interfaces must use sequences instead and <a interface>DOMRectList</a> will be removed from this specification.
19+
At Risk: The <a interface>DOMRectList</a> interface is at-risk. The authors of this specification await feedback from implementers if the item() function of <a interface>DOMRectList</a> is currently in use on legacy interfaces. If there is no/not enough content to justify <a interface>DOMRectList</a>, legacy interfaces must use sequences instead and <a interface>DOMRectList</a> will be removed from this specification.
2020
</pre>
2121

2222
<script src=http://resources.whatwg.org/file-bug.js async></script>
@@ -555,7 +555,7 @@ <h3 id='dommatrixreadonly-constructors'>DOMMatrixReadOnly constructor</h3>
555555
</ol>
556556
</dd>
557557
<dt>Otherwise</dt>
558-
<dd>Throw an <a spec=html5>IndexSizeError</a> exception.</dd>
558+
<dd>Throw a <code>TypeError</code> exception.</dd>
559559
</dl>
560560

561561

@@ -622,7 +622,7 @@ <h3 id='dommatrix-constructors'>DOMMatrix constructors</h3>
622622
</ol>
623623
</dd>
624624
<dt>Otherwise</dt>
625-
<dd>Throw an <a spec=html5>IndexSizeError</a> exception.</dd>
625+
<dd>Throw a <code>TypeError</code> exception.</dd>
626626
</dl>
627627
</dd>
628628
<dt>If invoked with a <a interface>Float64Array</a> argument <var>array64</var></dt>
@@ -637,7 +637,7 @@ <h3 id='dommatrix-constructors'>DOMMatrix constructors</h3>
637637
</ol>
638638
</dd>
639639
<dt>Otherwise</dt>
640-
<dd>Throw an <a spec=html5>IndexSizeError</a> exception.</dd>
640+
<dd>Throw a <code>TypeError</code> exception.</dd>
641641
</dl>
642642
</dd>
643643
<dt>If invoked with a sequence&lt;unrestricted double> argument <var>numberSequence</var></dt>
@@ -652,7 +652,7 @@ <h3 id='dommatrix-constructors'>DOMMatrix constructors</h3>
652652
</ol>
653653
</dd>
654654
<dt>Otherwise</dt>
655-
<dd>Throw an <a spec=html5>IndexSizeError</a> exception.</dd>
655+
<dd>Throw a <code>TypeError</code> exception.</dd>
656656
</dl>
657657
</dd>
658658
</dl>
@@ -1045,7 +1045,9 @@ <h2 class="no-num" id="changes">Changes since last publication</h2>
10451045
<li><a interface>DOMRectReadOnly</a> got a constructor taking 4 arguments.</li>
10461046
<li><a interface>DOMMatrixReadOnly</a> got a constructor taking a sequence of numbers as argument.</li>
10471047
<li><a interface>DOMRectList</a> turned to an ArrayClass. The interfaces must just be used for legacy interfaces.</li>
1048+
<li>Put <a interface>DOMRectList</a> on at-Risk awaiting browser feedback.</li>
10481049
<li>All interfaces are described in the sense of internal elements to describe the read-only/writable and inheriting behavior.</li>
1050+
<li>Replace IndexSizeError exception with TypeError.</li>
10491051
</ul>
10501052

10511053
The following changes were made since the <a href="http://www.w3.org/TR/2014/WD-geometry-1-20140522/">22 May 2014 First Public Working Draft</a>.

0 commit comments

Comments
 (0)