<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[151499] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/151499">151499</a></dd>
<dt>Author</dt> <dd>ch.dumez@sisa.samsung.com</dd>
<dt>Date</dt> <dd>2013-06-12 07:41:19 -0700 (Wed, 12 Jun 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Support latest Web IDL indexed property getters
https://bugs.webkit.org/show_bug.cgi?id=117507

Reviewed by Kentaro Hara.

Support latest Web IDL indexed property getters:
http://www.w3.org/TR/WebIDL/#dfn-support-indexed-properties

Drop support for outdated [IndexedGetter] and [NumericIndexedGetter]
IDL extended attributes. Since the new getter format specifies the
return type, the bindings generator is now smart enough to know if
the indexed getter is numeric or not on its own.

Based on Blink <a href="http://trac.webkit.org/projects/webkit/changeset/149564">r149564</a> by &lt;kojih@chromium.org&gt;.

No new tests, no behavior change.

* Modules/filesystem/EntryArray.idl:
* Modules/filesystem/EntryArraySync.idl:
* Modules/gamepad/GamepadList.idl:
* Modules/mediasource/SourceBufferList.idl:
* Modules/speech/SpeechGrammarList.idl:
* Modules/speech/SpeechRecognitionResult.idl:
* Modules/speech/SpeechRecognitionResultList.idl:
* bindings/scripts/CodeGenerator.pm:
(IsNumericType):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateGetOwnPropertySlotBody):
(GenerateGetOwnPropertyDescriptorBody):
(GetIndexedGetterFunction):
(GenerateHeader):
(GenerateImplementation):
* bindings/scripts/IDLAttributes.txt:
* bindings/scripts/test/TestEventTarget.idl:
* bindings/scripts/test/TestTypedArray.idl:
* css/CSSRuleList.idl:
* css/CSSStyleDeclaration.idl:
* css/CSSValueList.idl:
* css/MediaList.idl:
* css/StyleSheetList.idl:
* css/WebKitCSSFilterValue.idl:
* css/WebKitCSSKeyframesRule.idl:
* css/WebKitCSSTransformValue.idl:
* dom/ClientRectList.idl:
* dom/DOMNamedFlowCollection.idl:
* dom/DOMStringList.idl:
* dom/DataTransferItemList.idl:
* dom/NamedNodeMap.idl:
* dom/NodeList.idl:
* dom/PropertyNodeList.idl:
* dom/TouchList.idl:
* fileapi/FileList.idl:
* html/DOMSettableTokenList.idl:
* html/DOMTokenList.idl:
* html/HTMLAllCollection.idl:
* html/HTMLCollection.idl:
* html/HTMLFormControlsCollection.idl:
* html/HTMLFormElement.idl:
* html/HTMLPropertiesCollection.idl:
* html/HTMLSelectElement.idl:
* html/RadioNodeList.idl:
* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:
* html/canvas/Uint8ClampedArray.idl:
* html/track/AudioTrackList.idl:
* html/track/TextTrackCueList.idl:
* html/track/TextTrackList.idl:
* html/track/TextTrackRegionList.idl:
* html/track/VideoTrackList.idl:
* page/PerformanceEntryList.idl:
* page/SpeechInputResultList.idl:
* plugins/DOMMimeTypeArray.idl:
* plugins/DOMPlugin.idl:
* plugins/DOMPluginArray.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesfilesystemEntryArrayidl">trunk/Source/WebCore/Modules/filesystem/EntryArray.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesfilesystemEntryArraySyncidl">trunk/Source/WebCore/Modules/filesystem/EntryArraySync.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesgamepadGamepadListidl">trunk/Source/WebCore/Modules/gamepad/GamepadList.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesmediasourceSourceBufferListidl">trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechGrammarListidl">trunk/Source/WebCore/Modules/speech/SpeechGrammarList.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechRecognitionResultidl">trunk/Source/WebCore/Modules/speech/SpeechRecognitionResult.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechRecognitionResultListidl">trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorpm">trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsIDLAttributestxt">trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestTestEventTargetidl">trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestTestTypedArrayidl">trunk/Source/WebCore/bindings/scripts/test/TestTypedArray.idl</a></li>
<li><a href="#trunkSourceWebCorecssCSSRuleListidl">trunk/Source/WebCore/css/CSSRuleList.idl</a></li>
<li><a href="#trunkSourceWebCorecssCSSStyleDeclarationidl">trunk/Source/WebCore/css/CSSStyleDeclaration.idl</a></li>
<li><a href="#trunkSourceWebCorecssCSSValueListidl">trunk/Source/WebCore/css/CSSValueList.idl</a></li>
<li><a href="#trunkSourceWebCorecssMediaListidl">trunk/Source/WebCore/css/MediaList.idl</a></li>
<li><a href="#trunkSourceWebCorecssStyleSheetListidl">trunk/Source/WebCore/css/StyleSheetList.idl</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSFilterValueidl">trunk/Source/WebCore/css/WebKitCSSFilterValue.idl</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSKeyframesRuleidl">trunk/Source/WebCore/css/WebKitCSSKeyframesRule.idl</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSTransformValueidl">trunk/Source/WebCore/css/WebKitCSSTransformValue.idl</a></li>
<li><a href="#trunkSourceWebCoredomClientRectListidl">trunk/Source/WebCore/dom/ClientRectList.idl</a></li>
<li><a href="#trunkSourceWebCoredomDOMNamedFlowCollectionidl">trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl</a></li>
<li><a href="#trunkSourceWebCoredomDOMStringListidl">trunk/Source/WebCore/dom/DOMStringList.idl</a></li>
<li><a href="#trunkSourceWebCoredomDataTransferItemListidl">trunk/Source/WebCore/dom/DataTransferItemList.idl</a></li>
<li><a href="#trunkSourceWebCoredomNamedNodeMapidl">trunk/Source/WebCore/dom/NamedNodeMap.idl</a></li>
<li><a href="#trunkSourceWebCoredomNodeListidl">trunk/Source/WebCore/dom/NodeList.idl</a></li>
<li><a href="#trunkSourceWebCoredomPropertyNodeListidl">trunk/Source/WebCore/dom/PropertyNodeList.idl</a></li>
<li><a href="#trunkSourceWebCoredomTouchListidl">trunk/Source/WebCore/dom/TouchList.idl</a></li>
<li><a href="#trunkSourceWebCorefileapiFileListidl">trunk/Source/WebCore/fileapi/FileList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMSettableTokenListidl">trunk/Source/WebCore/html/DOMSettableTokenList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMTokenListidl">trunk/Source/WebCore/html/DOMTokenList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAllCollectionidl">trunk/Source/WebCore/html/HTMLAllCollection.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCollectionidl">trunk/Source/WebCore/html/HTMLCollection.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormControlsCollectionidl">trunk/Source/WebCore/html/HTMLFormControlsCollection.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementidl">trunk/Source/WebCore/html/HTMLFormElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPropertiesCollectionidl">trunk/Source/WebCore/html/HTMLPropertiesCollection.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementidl">trunk/Source/WebCore/html/HTMLSelectElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlRadioNodeListidl">trunk/Source/WebCore/html/RadioNodeList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasFloat32Arrayidl">trunk/Source/WebCore/html/canvas/Float32Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasFloat64Arrayidl">trunk/Source/WebCore/html/canvas/Float64Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasInt16Arrayidl">trunk/Source/WebCore/html/canvas/Int16Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasInt32Arrayidl">trunk/Source/WebCore/html/canvas/Int32Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasInt8Arrayidl">trunk/Source/WebCore/html/canvas/Int8Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasUint16Arrayidl">trunk/Source/WebCore/html/canvas/Uint16Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasUint32Arrayidl">trunk/Source/WebCore/html/canvas/Uint32Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasUint8Arrayidl">trunk/Source/WebCore/html/canvas/Uint8Array.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasUint8ClampedArrayidl">trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl</a></li>
<li><a href="#trunkSourceWebCorehtmltrackAudioTrackListidl">trunk/Source/WebCore/html/track/AudioTrackList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackCueListidl">trunk/Source/WebCore/html/track/TextTrackCueList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackListidl">trunk/Source/WebCore/html/track/TextTrackList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackRegionListidl">trunk/Source/WebCore/html/track/TextTrackRegionList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmltrackVideoTrackListidl">trunk/Source/WebCore/html/track/VideoTrackList.idl</a></li>
<li><a href="#trunkSourceWebCorepagePerformanceEntryListidl">trunk/Source/WebCore/page/PerformanceEntryList.idl</a></li>
<li><a href="#trunkSourceWebCorepageSpeechInputResultListidl">trunk/Source/WebCore/page/SpeechInputResultList.idl</a></li>
<li><a href="#trunkSourceWebCorepluginsDOMMimeTypeArrayidl">trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl</a></li>
<li><a href="#trunkSourceWebCorepluginsDOMPluginidl">trunk/Source/WebCore/plugins/DOMPlugin.idl</a></li>
<li><a href="#trunkSourceWebCorepluginsDOMPluginArrayidl">trunk/Source/WebCore/plugins/DOMPluginArray.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/ChangeLog        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -1,5 +1,88 @@
</span><span class="cx"> 2013-06-12  Christophe Dumez  &lt;ch.dumez@sisa.samsung.com&gt;
</span><span class="cx"> 
</span><ins>+        Support latest Web IDL indexed property getters
+        https://bugs.webkit.org/show_bug.cgi?id=117507
+
+        Reviewed by Kentaro Hara.
+
+        Support latest Web IDL indexed property getters:
+        http://www.w3.org/TR/WebIDL/#dfn-support-indexed-properties
+
+        Drop support for outdated [IndexedGetter] and [NumericIndexedGetter]
+        IDL extended attributes. Since the new getter format specifies the
+        return type, the bindings generator is now smart enough to know if
+        the indexed getter is numeric or not on its own.
+
+        Based on Blink r149564 by &lt;kojih@chromium.org&gt;.
+
+        No new tests, no behavior change.
+
+        * Modules/filesystem/EntryArray.idl:
+        * Modules/filesystem/EntryArraySync.idl:
+        * Modules/gamepad/GamepadList.idl:
+        * Modules/mediasource/SourceBufferList.idl:
+        * Modules/speech/SpeechGrammarList.idl:
+        * Modules/speech/SpeechRecognitionResult.idl:
+        * Modules/speech/SpeechRecognitionResultList.idl:
+        * bindings/scripts/CodeGenerator.pm:
+        (IsNumericType):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateGetOwnPropertySlotBody):
+        (GenerateGetOwnPropertyDescriptorBody):
+        (GetIndexedGetterFunction):
+        (GenerateHeader):
+        (GenerateImplementation):
+        * bindings/scripts/IDLAttributes.txt:
+        * bindings/scripts/test/TestEventTarget.idl:
+        * bindings/scripts/test/TestTypedArray.idl:
+        * css/CSSRuleList.idl:
+        * css/CSSStyleDeclaration.idl:
+        * css/CSSValueList.idl:
+        * css/MediaList.idl:
+        * css/StyleSheetList.idl:
+        * css/WebKitCSSFilterValue.idl:
+        * css/WebKitCSSKeyframesRule.idl:
+        * css/WebKitCSSTransformValue.idl:
+        * dom/ClientRectList.idl:
+        * dom/DOMNamedFlowCollection.idl:
+        * dom/DOMStringList.idl:
+        * dom/DataTransferItemList.idl:
+        * dom/NamedNodeMap.idl:
+        * dom/NodeList.idl:
+        * dom/PropertyNodeList.idl:
+        * dom/TouchList.idl:
+        * fileapi/FileList.idl:
+        * html/DOMSettableTokenList.idl:
+        * html/DOMTokenList.idl:
+        * html/HTMLAllCollection.idl:
+        * html/HTMLCollection.idl:
+        * html/HTMLFormControlsCollection.idl:
+        * html/HTMLFormElement.idl:
+        * html/HTMLPropertiesCollection.idl:
+        * html/HTMLSelectElement.idl:
+        * html/RadioNodeList.idl:
+        * html/canvas/Float32Array.idl:
+        * html/canvas/Float64Array.idl:
+        * html/canvas/Int16Array.idl:
+        * html/canvas/Int32Array.idl:
+        * html/canvas/Int8Array.idl:
+        * html/canvas/Uint16Array.idl:
+        * html/canvas/Uint32Array.idl:
+        * html/canvas/Uint8Array.idl:
+        * html/canvas/Uint8ClampedArray.idl:
+        * html/track/AudioTrackList.idl:
+        * html/track/TextTrackCueList.idl:
+        * html/track/TextTrackList.idl:
+        * html/track/TextTrackRegionList.idl:
+        * html/track/VideoTrackList.idl:
+        * page/PerformanceEntryList.idl:
+        * page/SpeechInputResultList.idl:
+        * plugins/DOMMimeTypeArray.idl:
+        * plugins/DOMPlugin.idl:
+        * plugins/DOMPluginArray.idl:
+
+2013-06-12  Christophe Dumez  &lt;ch.dumez@sisa.samsung.com&gt;
+
</ins><span class="cx">         Rename [CallWith] to [ConstructorCallWith] for IDL interfaces
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=117531
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesfilesystemEntryArrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/filesystem/EntryArray.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/filesystem/EntryArray.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/filesystem/EntryArray.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -31,10 +31,9 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=FILE_SYSTEM,
</span><del>-    IndexedGetter,
</del><span class="cx">     JSNoStaticTables,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface EntryArray {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    Entry item([IsIndex] unsigned long index);
</del><ins>+    getter Entry item([IsIndex] unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesfilesystemEntryArraySyncidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/filesystem/EntryArraySync.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/filesystem/EntryArraySync.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/filesystem/EntryArraySync.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -31,10 +31,9 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=FILE_SYSTEM,
</span><del>-    IndexedGetter,
</del><span class="cx">     JSNoStaticTables,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface EntryArraySync {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    EntrySync item([IsIndex] unsigned long index);
</del><ins>+    getter EntrySync item([IsIndex] unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesgamepadGamepadListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/gamepad/GamepadList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/gamepad/GamepadList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/gamepad/GamepadList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,10 +26,9 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=GAMEPAD,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface GamepadList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    Gamepad item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter Gamepad item([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediasourceSourceBufferListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -30,12 +30,11 @@
</span><span class="cx">  
</span><span class="cx"> [
</span><span class="cx">     Conditional=MEDIA_SOURCE,
</span><del>-    IndexedGetter,
</del><span class="cx">     EventTarget,
</span><span class="cx">     InterfaceName=WebKitSourceBufferList
</span><span class="cx"> ] interface SourceBufferList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    SourceBuffer item(unsigned long index);
</del><ins>+    getter SourceBuffer item(unsigned long index);
</ins><span class="cx"> 
</span><span class="cx">     // EventTarget interface
</span><span class="cx">     void addEventListener(DOMString type,
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechGrammarListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechGrammarList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechGrammarList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/speech/SpeechGrammarList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,13 +25,12 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     Conditional=SCRIPTED_SPEECH,
</span><del>-    IndexedGetter,
</del><span class="cx">     Constructor,
</span><span class="cx">     ImplementationLacksVTable,
</span><span class="cx">     InterfaceName=webkitSpeechGrammarList
</span><span class="cx"> ] interface SpeechGrammarList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    SpeechGrammar item([IsIndex] unsigned long index);
</del><ins>+    getter SpeechGrammar item([IsIndex] unsigned long index);
</ins><span class="cx">     [CallWith=ScriptExecutionContext] void addFromUri(DOMString src, optional float weight);
</span><span class="cx">     void addFromString(DOMString string, optional float weight);
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechRecognitionResultidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechRecognitionResult.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechRecognitionResult.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/speech/SpeechRecognitionResult.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,10 +26,9 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=SCRIPTED_SPEECH,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface SpeechRecognitionResult {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    SpeechRecognitionAlternative item([IsIndex] unsigned long index);
</del><ins>+    getter SpeechRecognitionAlternative item([IsIndex] unsigned long index);
</ins><span class="cx">     readonly attribute boolean isFinal;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechRecognitionResultListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,9 +26,8 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=SCRIPTED_SPEECH,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface SpeechRecognitionResultList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    SpeechRecognitionResult item([IsIndex] unsigned long index);
</del><ins>+    getter SpeechRecognitionResult item([IsIndex] unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -48,7 +48,8 @@
</span><span class="cx"> my %numericTypeHash = (&quot;int&quot; =&gt; 1, &quot;short&quot; =&gt; 1, &quot;long&quot; =&gt; 1, &quot;long long&quot; =&gt; 1,
</span><span class="cx">                        &quot;unsigned int&quot; =&gt; 1, &quot;unsigned short&quot; =&gt; 1,
</span><span class="cx">                        &quot;unsigned long&quot; =&gt; 1, &quot;unsigned long long&quot; =&gt; 1,
</span><del>-                       &quot;float&quot; =&gt; 1, &quot;double&quot; =&gt; 1);
</del><ins>+                       &quot;float&quot; =&gt; 1, &quot;double&quot; =&gt; 1, &quot;byte&quot; =&gt; 1,
+                       &quot;octet&quot; =&gt; 1);
</ins><span class="cx"> 
</span><span class="cx"> my %primitiveTypeHash = ( &quot;boolean&quot; =&gt; 1, &quot;void&quot; =&gt; 1, &quot;Date&quot; =&gt; 1);
</span><span class="cx"> 
</span><span class="lines">@@ -348,6 +349,15 @@
</span><span class="cx">     return $interface-&gt;extendedAttributes-&gt;{&quot;ConstructorTemplate&quot;} &amp;&amp; $interface-&gt;extendedAttributes-&gt;{&quot;ConstructorTemplate&quot;} eq $template;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+sub IsNumericType
+{
+    my $object = shift;
+    my $type = shift;
+
+    return 1 if $numericTypeHash{$type};
+    return 0;
+}
+
</ins><span class="cx"> sub IsPrimitiveType
</span><span class="cx"> {
</span><span class="cx">     my $object = shift;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -353,6 +353,8 @@
</span><span class="cx"> 
</span><span class="cx">     my $namespaceMaybe = ($inlined ? &quot;JSC::&quot; : &quot;&quot;);
</span><span class="cx">     my $namedGetterFunction = GetNamedGetterFunction($interface);
</span><ins>+    my $indexedGetterFunction = GetIndexedGetterFunction($interface);
+    my $hasNumericIndexedGetter = $indexedGetterFunction ? $codeGenerator-&gt;IsNumericType($indexedGetterFunction-&gt;signature-&gt;type) : 0;
</ins><span class="cx"> 
</span><span class="cx">     my @getOwnPropertySlotImpl = ();
</span><span class="cx"> 
</span><span class="lines">@@ -363,7 +365,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     my $manualLookupGetterGeneration = sub {
</span><del>-        my $requiresManualLookup = $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $namedGetterFunction;
</del><ins>+        my $requiresManualLookup = ($indexedGetterFunction &amp;&amp; !$hasNumericIndexedGetter) || $namedGetterFunction;
</ins><span class="cx">         if ($requiresManualLookup) {
</span><span class="cx">             push(@getOwnPropertySlotImpl, &quot;    const ${namespaceMaybe}HashEntry* entry = getStaticValueSlotEntryWithoutCaching&lt;$className&gt;(exec, propertyName);\n&quot;);
</span><span class="cx">             push(@getOwnPropertySlotImpl, &quot;    if (entry) {\n&quot;);
</span><span class="lines">@@ -377,7 +379,7 @@
</span><span class="cx">         &amp;$manualLookupGetterGeneration();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+    if ($indexedGetterFunction) {
</ins><span class="cx">         push(@getOwnPropertySlotImpl, &quot;    unsigned index = propertyName.asIndex();\n&quot;);
</span><span class="cx"> 
</span><span class="cx">         # If the item function returns a string then we let the TreatReturnedNullStringAs handle the cases
</span><span class="lines">@@ -387,7 +389,7 @@
</span><span class="cx">         } else {
</span><span class="cx">             push(@getOwnPropertySlotImpl, &quot;    if (index != PropertyName::NotAnIndex &amp;&amp; index &lt; static_cast&lt;$interfaceName*&gt;(thisObject-&gt;impl())-&gt;length()) {\n&quot;);
</span><span class="cx">         }
</span><del>-        if ($interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+        if ($hasNumericIndexedGetter) {
</ins><span class="cx">             push(@getOwnPropertySlotImpl, &quot;        slot.setValue(thisObject-&gt;getByIndex(exec, index));\n&quot;);
</span><span class="cx">         } else {
</span><span class="cx">             push(@getOwnPropertySlotImpl, &quot;        slot.setCustomIndex(thisObject, index, indexGetter);\n&quot;);
</span><span class="lines">@@ -437,6 +439,9 @@
</span><span class="cx">     
</span><span class="cx">     my $namespaceMaybe = ($inlined ? &quot;JSC::&quot; : &quot;&quot;);
</span><span class="cx">     my $namedGetterFunction = GetNamedGetterFunction($interface);
</span><ins>+    my $indexedGetterFunction = GetIndexedGetterFunction($interface);
+    my $hasNumericIndexedGetter = $indexedGetterFunction ? $codeGenerator-&gt;IsNumericType($indexedGetterFunction-&gt;signature-&gt;type) : 0;
+
</ins><span class="cx">     
</span><span class="cx">     my @getOwnPropertyDescriptorImpl = ();
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;}) {
</span><span class="lines">@@ -456,7 +461,7 @@
</span><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     my $manualLookupGetterGeneration = sub {
</span><del>-        my $requiresManualLookup = $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $namedGetterFunction;
</del><ins>+        my $requiresManualLookup = ($indexedGetterFunction &amp;&amp; !$hasNumericIndexedGetter) || $namedGetterFunction;
</ins><span class="cx">         if ($requiresManualLookup) {
</span><span class="cx">             push(@getOwnPropertyDescriptorImpl, &quot;    const ${namespaceMaybe}HashEntry* entry = ${className}Table.entry(exec, propertyName);\n&quot;);
</span><span class="cx">             push(@getOwnPropertyDescriptorImpl, &quot;    if (entry) {\n&quot;);
</span><span class="lines">@@ -472,10 +477,10 @@
</span><span class="cx">         &amp;$manualLookupGetterGeneration();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+    if ($indexedGetterFunction) {
</ins><span class="cx">         push(@getOwnPropertyDescriptorImpl, &quot;    unsigned index = propertyName.asIndex();\n&quot;);
</span><span class="cx">         push(@getOwnPropertyDescriptorImpl, &quot;    if (index != PropertyName::NotAnIndex &amp;&amp; index &lt; static_cast&lt;$interfaceName*&gt;(thisObject-&gt;impl())-&gt;length()) {\n&quot;);
</span><del>-        if ($interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+        if ($hasNumericIndexedGetter) {
</ins><span class="cx">             # Assume that if there's a setter, the index will be writable
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomIndexedSetter&quot;}) {
</span><span class="cx">                 push(@getOwnPropertyDescriptorImpl, &quot;        descriptor.setDescriptor(thisObject-&gt;getByIndex(exec, index), ${namespaceMaybe}DontDelete);\n&quot;);
</span><span class="lines">@@ -632,6 +637,12 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+sub GetIndexedGetterFunction
+{
+    my $interface = shift;
+    return GetSpecialAccessorFunctionForType($interface, &quot;getter&quot;, &quot;unsigned long&quot;, 1);
+}
+
</ins><span class="cx"> sub GetNamedGetterFunction
</span><span class="cx"> {
</span><span class="cx">     my $interface = shift;
</span><span class="lines">@@ -773,6 +784,8 @@
</span><span class="cx">     $implIncludes{&quot;${className}Custom.h&quot;} = 1 if !$interface-&gt;extendedAttributes-&gt;{&quot;JSCustomHeader&quot;} &amp;&amp; ($interface-&gt;extendedAttributes-&gt;{&quot;CustomPutFunction&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedSetter&quot;});
</span><span class="cx"> 
</span><span class="cx">     my $namedGetterFunction = GetNamedGetterFunction($interface);
</span><ins>+    my $indexedGetterFunction = GetIndexedGetterFunction($interface);
+    my $hasNumericIndexedGetter = $indexedGetterFunction ? $codeGenerator-&gt;IsNumericType($indexedGetterFunction-&gt;signature-&gt;type) : 0;
</ins><span class="cx"> 
</span><span class="cx">     my $hasImpureNamedGetter =
</span><span class="cx">         $namedGetterFunction
</span><span class="lines">@@ -780,8 +793,7 @@
</span><span class="cx">         || $interface-&gt;extendedAttributes-&gt;{&quot;CustomGetOwnPropertySlot&quot;};
</span><span class="cx"> 
</span><span class="cx">     my $hasComplexGetter =
</span><del>-        $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;}
-        || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}
</del><ins>+        $indexedGetterFunction
</ins><span class="cx">         || $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}
</span><span class="cx">         || $hasImpureNamedGetter;
</span><span class="cx">     
</span><span class="lines">@@ -865,7 +877,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     # Custom getOwnPropertyNames function
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomEnumerateProperty&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+    if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomEnumerateProperty&quot;} || $indexedGetterFunction) {
</ins><span class="cx">         push(@headerContent, &quot;    static void getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&amp;, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);\n&quot;);
</span><span class="cx">         $structureFlags{&quot;JSC::OverridesGetPropertyNames&quot;} = 1;       
</span><span class="cx">     }
</span><span class="lines">@@ -1000,12 +1012,13 @@
</span><span class="cx">     push(@headerContent, &quot;Base::StructureFlags;\n&quot;);
</span><span class="cx"> 
</span><span class="cx">     # Index getter
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;}) {
-        push(@headerContent, &quot;    static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);\n&quot;);
</del><ins>+    if ($indexedGetterFunction) {
+        if ($hasNumericIndexedGetter) {
+            push(@headerContent, &quot;    JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);\n&quot;);
+        } else {
+            push(@headerContent, &quot;    static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);\n&quot;);
+        }
</ins><span class="cx">     }
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
-        push(@headerContent, &quot;    JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);\n&quot;);
-    }
</del><span class="cx"> 
</span><span class="cx">     # Index setter
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomIndexedSetter&quot;}) {
</span><span class="lines">@@ -1588,11 +1601,15 @@
</span><span class="cx">     my $eventTarget = $interface-&gt;extendedAttributes-&gt;{&quot;EventTarget&quot;} || ($codeGenerator-&gt;InheritsInterface($interface, &quot;EventTarget&quot;) &amp;&amp; $interface-&gt;name ne &quot;EventTarget&quot;);
</span><span class="cx">     my $needsMarkChildren = $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomMarkFunction&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;EventTarget&quot;} || $interface-&gt;name eq &quot;EventTarget&quot;;
</span><span class="cx"> 
</span><ins>+    my $namedGetterFunction = GetNamedGetterFunction($interface);
+    my $indexedGetterFunction = GetIndexedGetterFunction($interface);
+    my $hasNumericIndexedGetter = $indexedGetterFunction ? $codeGenerator-&gt;IsNumericType($indexedGetterFunction-&gt;signature-&gt;type) : 0;
+
</ins><span class="cx">     # - Add default header template
</span><span class="cx">     push(@implContentHeader, GenerateImplementationContentHeader($interface));
</span><span class="cx"> 
</span><span class="cx">     $implIncludes{&quot;&lt;wtf/GetPtr.h&gt;&quot;} = 1;
</span><del>-    $implIncludes{&quot;&lt;runtime/PropertyNameArray.h&gt;&quot;} = 1 if $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;};
</del><ins>+    $implIncludes{&quot;&lt;runtime/PropertyNameArray.h&gt;&quot;} = 1 if $indexedGetterFunction;
</ins><span class="cx"> 
</span><span class="cx">     AddIncludesForTypeInImpl($interfaceName);
</span><span class="cx"> 
</span><span class="lines">@@ -1606,8 +1623,6 @@
</span><span class="cx">     my $numConstants = @{$interface-&gt;constants};
</span><span class="cx">     my $numFunctions = @{$interface-&gt;functions};
</span><span class="cx"> 
</span><del>-    my $namedGetterFunction = GetNamedGetterFunction($interface);
-
</del><span class="cx">     # - Add all constants
</span><span class="cx">     if (!$interface-&gt;extendedAttributes-&gt;{&quot;NoInterfaceObject&quot;}) {
</span><span class="cx">         my $hashSize = $numConstants;
</span><span class="lines">@@ -1919,8 +1934,7 @@
</span><span class="cx"> 
</span><span class="cx">     my $hasGetter = $numAttributes &gt; 0
</span><span class="cx">                  || !$interface-&gt;extendedAttributes-&gt;{&quot;NoInterfaceObject&quot;}
</span><del>-                 || $interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;}
-                 || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}
</del><ins>+                 || $indexedGetterFunction
</ins><span class="cx">                  || $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}
</span><span class="cx">                  || $interface-&gt;extendedAttributes-&gt;{&quot;CustomGetOwnPropertySlot&quot;}
</span><span class="cx">                  || $namedGetterFunction
</span><span class="lines">@@ -1943,8 +1957,8 @@
</span><span class="cx">             push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}
-                || $namedGetterFunction || $interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedGetter&quot;}
</del><ins>+        if ($indexedGetterFunction || $namedGetterFunction
+                || $interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedGetter&quot;}
</ins><span class="cx">                 || $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}) {
</span><span class="cx">             push(@implContent, &quot;bool ${className}::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot&amp; slot)\n&quot;);
</span><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="lines">@@ -1962,13 +1976,13 @@
</span><span class="cx">                 $generatedPropertyName = 1;
</span><span class="cx">             };
</span><span class="cx"> 
</span><del>-            if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+            if ($indexedGetterFunction) {
</ins><span class="cx">                 if (IndexGetterReturnsStrings($interfaceName)) {
</span><span class="cx">                     push(@implContent, &quot;    if (index &lt;= MAX_ARRAY_INDEX) {\n&quot;);
</span><span class="cx">                 } else {
</span><span class="cx">                     push(@implContent, &quot;    if (index &lt; static_cast&lt;$interfaceName*&gt;(thisObject-&gt;impl())-&gt;length()) {\n&quot;);
</span><span class="cx">                 }
</span><del>-                if ($interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+                if ($hasNumericIndexedGetter) {
</ins><span class="cx">                     push(@implContent, &quot;        slot.setValue(thisObject-&gt;getByIndex(exec, index));\n&quot;);
</span><span class="cx">                 } else {
</span><span class="cx">                     push(@implContent, &quot;        slot.setCustomIndex(thisObject, index, thisObject-&gt;indexGetter);\n&quot;);
</span><span class="lines">@@ -2425,15 +2439,13 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) &amp;&amp; !$interface-&gt;extendedAttributes-&gt;{&quot;CustomEnumerateProperty&quot;}) {
</del><ins>+    if ($indexedGetterFunction &amp;&amp; !$interface-&gt;extendedAttributes-&gt;{&quot;CustomEnumerateProperty&quot;}) {
</ins><span class="cx">         push(@implContent, &quot;void ${className}::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray&amp; propertyNames, EnumerationMode mode)\n&quot;);
</span><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    ${className}* thisObject = jsCast&lt;${className}*&gt;(object);\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, &amp;s_info);\n&quot;);
</span><del>-        if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
-            push(@implContent, &quot;    for (unsigned i = 0; i &lt; static_cast&lt;${interfaceName}*&gt;(thisObject-&gt;impl())-&gt;length(); ++i)\n&quot;);
-            push(@implContent, &quot;        propertyNames.add(Identifier::from(exec, i));\n&quot;);
-        }
</del><ins>+        push(@implContent, &quot;    for (unsigned i = 0; i &lt; static_cast&lt;${interfaceName}*&gt;(thisObject-&gt;impl())-&gt;length(); ++i)\n&quot;);
+        push(@implContent, &quot;        propertyNames.add(Identifier::from(exec, i));\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;     Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);\n&quot;);
</span><span class="cx">         push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">     }
</span><span class="lines">@@ -2629,7 +2641,7 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;IndexedGetter&quot;}) {
</del><ins>+    if ($indexedGetterFunction &amp;&amp; !$hasNumericIndexedGetter) {
</ins><span class="cx">         push(@implContent, &quot;\nJSValue ${className}::indexGetter(ExecState* exec, JSValue slotBase, unsigned index)\n&quot;);
</span><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    ${className}* thisObj = jsCast&lt;$className*&gt;(asObject(slotBase));\n&quot;);
</span><span class="lines">@@ -2647,7 +2659,7 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if ($interface-&gt;extendedAttributes-&gt;{&quot;NumericIndexedGetter&quot;}) {
</del><ins>+    if ($hasNumericIndexedGetter) {
</ins><span class="cx">         push(@implContent, &quot;\nJSValue ${className}::getByIndex(ExecState*, unsigned index)\n&quot;);
</span><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(this, &amp;s_info);\n&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsIDLAttributestxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -63,7 +63,6 @@
</span><span class="cx"> ImplementationLacksVTable
</span><span class="cx"> ImplementationNamespace=*
</span><span class="cx"> ImplementedAs=*
</span><del>-IndexedGetter
</del><span class="cx"> InitializedByEventConstructor
</span><span class="cx"> InterfaceName=*
</span><span class="cx"> IsIndex
</span><span class="lines">@@ -87,7 +86,6 @@
</span><span class="cx"> NamedConstructor=*
</span><span class="cx"> NoInterfaceObject
</span><span class="cx"> NotEnumerable
</span><del>-NumericIndexedGetter
</del><span class="cx"> ObjCCustomImplementation
</span><span class="cx"> ObjCLegacyUnnamedParameters
</span><span class="cx"> ObjCPolymorphic
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestTestEventTargetidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -28,11 +28,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     EventTarget,
</span><del>-    IndexedGetter,
</del><span class="cx">     MasqueradesAsUndefined
</span><span class="cx"> ] interface TestEventTarget {
</span><span class="cx"> 
</span><del>-    Node item([IsIndex] unsigned long index);
</del><ins>+    getter Node item([IsIndex] unsigned long index);
</ins><span class="cx">     getter Node (DOMString name);
</span><span class="cx"> 
</span><span class="cx">     void addEventListener(DOMString type, 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestTestTypedArrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/TestTypedArray.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/TestTypedArray.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/bindings/scripts/test/TestTypedArray.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,7 +26,6 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -36,4 +35,6 @@
</span><span class="cx"> ] interface Float64Array : ArrayBufferView {
</span><span class="cx">     Int32Array foo(Float32Array array);
</span><span class="cx">     void set();
</span><ins>+
+    getter double (unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSRuleListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSRuleList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSRuleList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/CSSRuleList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,10 +26,9 @@
</span><span class="cx"> // Introduced in DOM Level 2:
</span><span class="cx"> [
</span><span class="cx">     CustomIsReachable,
</span><del>-    IndexedGetter,
</del><span class="cx">     SkipVTableValidation
</span><span class="cx"> ] interface CSSRuleList {
</span><span class="cx">     readonly attribute unsigned long    length;
</span><del>-    CSSRule           item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter CSSRule item([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSStyleDeclarationidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSStyleDeclaration.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSStyleDeclaration.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/CSSStyleDeclaration.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,7 +25,6 @@
</span><span class="cx">     GenerateIsReachable,
</span><span class="cx">     JSCustomGetOwnPropertySlotAndDescriptor,
</span><span class="cx">     CustomNamedSetter,
</span><del>-    IndexedGetter,
</del><span class="cx">     CustomEnumerateProperty,
</span><span class="cx">     SkipVTableValidation
</span><span class="cx"> ] interface CSSStyleDeclaration {
</span><span class="lines">@@ -40,7 +39,7 @@
</span><span class="cx">                                     [Default=Undefined] optional DOMString priority);
</span><span class="cx"> 
</span><span class="cx">     readonly attribute unsigned long    length;
</span><del>-    DOMString          item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter DOMString          item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     readonly attribute CSSRule          parentRule;
</span><span class="cx"> 
</span><span class="cx">     // Extensions
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSValueListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSValueList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSValueList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/CSSValueList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,10 +25,9 @@
</span><span class="cx"> 
</span><span class="cx"> // Introduced in DOM Level 2:
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface CSSValueList : CSSValue {
</span><span class="cx">     readonly attribute unsigned long    length;
</span><del>-    CSSValue           item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter CSSValue           item([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssMediaListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/MediaList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/MediaList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/MediaList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,14 +27,13 @@
</span><span class="cx"> [
</span><span class="cx">     JSCustomHeader,
</span><span class="cx">     GenerateIsReachable,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface MediaList {
</span><span class="cx"> 
</span><span class="cx">     [TreatNullAs=NullString, TreatReturnedNullStringAs=Null, SetterRaisesException] attribute DOMString mediaText;
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx"> 
</span><del>-    [TreatReturnedNullStringAs=Null] DOMString item([Default=Undefined] optional unsigned long index);
</del><ins>+    [TreatReturnedNullStringAs=Null] getter DOMString item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     [RaisesException] void deleteMedium([Default=Undefined] optional DOMString oldMedium);
</span><span class="cx">     [RaisesException] void appendMedium([Default=Undefined] optional DOMString newMedium);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleSheetListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleSheetList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleSheetList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/StyleSheetList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -21,11 +21,10 @@
</span><span class="cx"> // Introduced in DOM Level 2:
</span><span class="cx"> [
</span><span class="cx">     GenerateIsReachable=ImplDocument,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface StyleSheetList {
</span><span class="cx">     readonly attribute unsigned long    length;
</span><del>-    StyleSheet         item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter StyleSheet         item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter CSSStyleSheet (DOMString name);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSFilterValueidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSFilterValue.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSFilterValue.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/WebKitCSSFilterValue.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -24,9 +24,8 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-        Conditional=CSS_FILTERS,
-        IndexedGetter,
-        DoNotCheckConstants,
</del><ins>+    Conditional=CSS_FILTERS,
+    DoNotCheckConstants,
</ins><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface WebKitCSSFilterValue : CSSValueList {
</span><span class="cx"> 
</span><span class="lines">@@ -49,4 +48,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     readonly attribute unsigned short operationType;
</span><ins>+
+    getter CSSValue ([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSKeyframesRuleidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSKeyframesRule.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSKeyframesRule.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/WebKitCSSKeyframesRule.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,9 +27,7 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> // Introduced in DOM Level ?:
</span><del>-[
-    IndexedGetter
-] interface WebKitCSSKeyframesRule : CSSRule {
</del><ins>+interface WebKitCSSKeyframesRule : CSSRule {
</ins><span class="cx"> 
</span><span class="cx">     [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString name;
</span><span class="cx">     readonly attribute CSSRuleList cssRules;
</span><span class="lines">@@ -37,5 +35,7 @@
</span><span class="cx">     void insertRule([Default=Undefined] optional DOMString rule);
</span><span class="cx">     void deleteRule([Default=Undefined] optional DOMString key);
</span><span class="cx">     WebKitCSSKeyframeRule findRule([Default=Undefined] optional DOMString key);
</span><ins>+
+    getter WebKitCSSKeyframeRule (unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSTransformValueidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSTransformValue.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSTransformValue.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/css/WebKitCSSTransformValue.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,8 +27,7 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-        IndexedGetter,
-        DoNotCheckConstants,
</del><ins>+    DoNotCheckConstants,
</ins><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface WebKitCSSTransformValue : CSSValueList {
</span><span class="cx"> 
</span><span class="lines">@@ -57,5 +56,7 @@
</span><span class="cx">     const unsigned short CSS_MATRIX3D    = 21;
</span><span class="cx"> 
</span><span class="cx">     readonly attribute unsigned short operationType;
</span><ins>+
+    getter CSSValue ([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomClientRectListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ClientRectList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ClientRectList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/ClientRectList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,11 +25,10 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface ClientRectList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    ClientRect item([IsIndex, Default=Undefined] optional unsigned long index);
</del><ins>+    getter ClientRect item([IsIndex, Default=Undefined] optional unsigned long index);
</ins><span class="cx">     // FIXME: Fix list behavior to allow custom exceptions to be thrown.
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMNamedFlowCollectionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -32,10 +32,9 @@
</span><span class="cx">     Conditional=CSS_REGIONS,
</span><span class="cx">     InterfaceName=WebKitNamedFlowCollection,
</span><span class="cx">     JSGenerateToJSObject,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface DOMNamedFlowCollection {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    WebKitNamedFlow item(unsigned long index);
</del><ins>+    getter WebKitNamedFlow item(unsigned long index);
</ins><span class="cx">     getter WebKitNamedFlow namedItem(DOMString name);
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMStringListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMStringList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMStringList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/DOMStringList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -24,13 +24,12 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     JSCustomToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface DOMStringList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    [TreatReturnedNullStringAs=Null] DOMString item([Default=Undefined] optional unsigned long index);
</del><ins>+    [TreatReturnedNullStringAs=Null] getter DOMString item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     boolean contains([Default=Undefined] optional DOMString string);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomDataTransferItemListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DataTransferItemList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DataTransferItemList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/DataTransferItemList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -31,12 +31,11 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=DATA_TRANSFER_ITEMS,
</span><del>-    IndexedGetter,
</del><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface DataTransferItemList {
</span><span class="cx">     readonly attribute long length;
</span><del>-    DataTransferItem item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter DataTransferItem item([Default=Undefined] optional unsigned long index);
</ins><span class="cx"> 
</span><span class="cx">     void clear();
</span><span class="cx">     void add(File? file);
</span></span></pre></div>
<a id="trunkSourceWebCoredomNamedNodeMapidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NamedNodeMap.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NamedNodeMap.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/NamedNodeMap.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -20,7 +20,6 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     GenerateIsReachable=ImplElementRoot,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface NamedNodeMap {
</span><span class="cx"> 
</span><span class="lines">@@ -30,7 +29,7 @@
</span><span class="cx"> 
</span><span class="cx">     [RaisesException] Node removeNamedItem([Default=Undefined] optional DOMString name);
</span><span class="cx"> 
</span><del>-    Node item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter Node item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/NodeList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -20,11 +20,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     CustomIsReachable,
</span><del>-    IndexedGetter,
</del><span class="cx">     SkipVTableValidation
</span><span class="cx"> ] interface NodeList {
</span><span class="cx"> 
</span><del>-    Node item([IsIndex,Default=Undefined] optional unsigned long index);
</del><ins>+    getter Node item([IsIndex,Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter (Node or unsigned long) (DOMString name);
</span><span class="cx"> 
</span><span class="cx">     readonly attribute unsigned long length;
</span></span></pre></div>
<a id="trunkSourceWebCoredomPropertyNodeListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PropertyNodeList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PropertyNodeList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/PropertyNodeList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -30,12 +30,11 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     Conditional=MICRODATA,
</span><del>-    IndexedGetter,
</del><span class="cx">     JSGenerateToJSObject
</span><span class="cx"> ] interface PropertyNodeList : NodeList {
</span><span class="cx"> 
</span><span class="cx">     sequence&lt;MicroDataItemValue&gt; getValues();
</span><del>-    Node item(unsigned long index);
</del><ins>+    getter Node item(unsigned long index);
</ins><span class="cx"> 
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoredomTouchListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TouchList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TouchList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/dom/TouchList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,10 +25,9 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     Conditional=TOUCH_EVENTS,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface TouchList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx"> 
</span><del>-    Touch item(unsigned long index);
</del><ins>+    getter Touch item(unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiFileListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/FileList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/FileList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/fileapi/FileList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -24,11 +24,10 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     JSNoStaticTables,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface FileList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    File item(unsigned long index);
</del><ins>+    getter File item(unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMSettableTokenListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMSettableTokenList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMSettableTokenList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/DOMSettableTokenList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -23,10 +23,11 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     JSGenerateToJSObject,
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx"> ] interface DOMSettableTokenList : DOMTokenList {
</span><span class="cx">     attribute DOMString value;
</span><ins>+
+    [TreatReturnedNullStringAs=Null] getter DOMString (unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMTokenListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMTokenList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMTokenList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/DOMTokenList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -24,11 +24,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     GenerateIsReachable=ImplElementRoot,
</span><del>-    IndexedGetter,
</del><span class="cx">     SkipVTableValidation
</span><span class="cx"> ] interface DOMTokenList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    [TreatReturnedNullStringAs=Null] DOMString item(unsigned long index);
</del><ins>+    [TreatReturnedNullStringAs=Null] getter DOMString item(unsigned long index);
</ins><span class="cx">     [RaisesException] boolean contains(DOMString token);
</span><span class="cx">     [RaisesException] void add(DOMString... tokens);
</span><span class="cx">     [RaisesException] void remove(DOMString... tokens);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAllCollectionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAllCollection.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAllCollection.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLAllCollection.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -24,13 +24,12 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     CustomCall,
</span><span class="cx">     MasqueradesAsUndefined,
</span><span class="cx">     GenerateIsReachable=ImplOwnerNodeRoot,
</span><span class="cx"> ] interface HTMLAllCollection {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    [Custom] Node item([Default=Undefined] optional unsigned long index);
</del><ins>+    [Custom] getter Node item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     [Custom] getter Node namedItem(DOMString name);
</span><span class="cx">     // FIXME: This should return an HTMLAllCollection.
</span><span class="cx">     NodeList tags(DOMString name);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCollectionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCollection.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCollection.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLCollection.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -19,13 +19,12 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     CustomToJSObject,
</span><span class="cx">     GenerateIsReachable=ImplOwnerNodeRoot,
</span><span class="cx">     ObjCPolymorphic,
</span><span class="cx"> ] interface HTMLCollection {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    Node item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter Node item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter Node namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx"> 
</span><span class="cx"> #if defined(LANGUAGE_OBJECTIVE_C) &amp;&amp; LANGUAGE_OBJECTIVE_C
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormControlsCollectionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormControlsCollection.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormControlsCollection.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLFormControlsCollection.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -19,8 +19,8 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     GenerateIsReachable=ImplOwnerNodeRoot,
</span><span class="cx"> ] interface HTMLFormControlsCollection : HTMLCollection {
</span><ins>+    getter Node ([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     [Custom] getter Node namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLFormElement.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -19,7 +19,6 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     CustomNamedGetter
</span><span class="cx"> ] interface HTMLFormElement : HTMLElement {
</span><span class="cx">     [Reflect=accept_charset] attribute DOMString acceptCharset;
</span><span class="lines">@@ -35,6 +34,8 @@
</span><span class="cx">     readonly attribute HTMLCollection elements;
</span><span class="cx">     readonly attribute long length;
</span><span class="cx"> 
</span><ins>+    getter Element (unsigned long index);
+
</ins><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     [ImplementedAs=submitFromJavaScript] void submit();
</span><span class="cx"> #else
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPropertiesCollectionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPropertiesCollection.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPropertiesCollection.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLPropertiesCollection.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -31,10 +31,9 @@
</span><span class="cx"> [
</span><span class="cx">     Conditional=MICRODATA,
</span><span class="cx">     JSGenerateToJSObject,
</span><del>-    IndexedGetter
</del><span class="cx"> ] interface HTMLPropertiesCollection : HTMLCollection {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    Node item(unsigned long index);
</del><ins>+    getter Node item(unsigned long index);
</ins><span class="cx"> 
</span><span class="cx">     readonly attribute DOMStringList names;
</span><span class="cx">     [ImplementedAs=propertyNodeList] getter PropertyNodeList namedItem(DOMString name);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/HTMLSelectElement.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -19,7 +19,6 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx"> ] interface HTMLSelectElement : HTMLElement {
</span><span class="cx">     attribute [Reflect] boolean autofocus;
</span><span class="lines">@@ -40,7 +39,7 @@
</span><span class="cx"> #else
</span><span class="cx">     [SetterRaisesException] attribute unsigned long length;
</span><span class="cx"> #endif
</span><del>-    Node item([IsIndex,Default=Undefined] optional unsigned long index);
</del><ins>+    getter Node item([IsIndex,Default=Undefined] optional unsigned long index);
</ins><span class="cx">     Node namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx">     [ObjCLegacyUnnamedParameters, RaisesException] void add([Default=Undefined] optional HTMLElement element,
</span><span class="cx">                             [Default=Undefined] optional HTMLElement before);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlRadioNodeListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/RadioNodeList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/RadioNodeList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/RadioNodeList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,7 +26,8 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     JSGenerateToJSObject,
</span><del>-    IndexedGetter,
</del><span class="cx"> ] interface RadioNodeList : NodeList {
</span><span class="cx">     attribute DOMString value;
</span><ins>+
+    getter Node ([IsIndex,Default=Undefined] optional unsigned long index);
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasFloat32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Float32Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Float32Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Float32Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -42,6 +41,8 @@
</span><span class="cx">     Float32Array subarray([Default=Undefined] optional long start, 
</span><span class="cx">                           optional long end);
</span><span class="cx"> 
</span><ins>+    getter float (unsigned long index);
+
</ins><span class="cx">     // void set(Float32Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasFloat64Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Float64Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Float64Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Float64Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -42,6 +41,8 @@
</span><span class="cx">     Float64Array subarray([Default=Undefined] optional long start, 
</span><span class="cx">                           optional long end);
</span><span class="cx"> 
</span><ins>+    getter double (unsigned long index);
+
</ins><span class="cx">     // void set(Float64Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasInt16Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Int16Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Int16Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Int16Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,7 +26,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -41,6 +40,8 @@
</span><span class="cx">     Int16Array subarray([Default=Undefined] optional long start, 
</span><span class="cx">                         optional long end);
</span><span class="cx"> 
</span><ins>+    getter short (unsigned long index);
+
</ins><span class="cx">     // void set(Int16Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasInt32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Int32Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Int32Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Int32Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -42,6 +41,8 @@
</span><span class="cx">     Int32Array subarray([Default=Undefined] optional long start, 
</span><span class="cx">                         optional long end);
</span><span class="cx"> 
</span><ins>+    getter long (unsigned long index);
+
</ins><span class="cx">     // void set(Int32Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasInt8Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Int8Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Int8Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Int8Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -42,6 +41,8 @@
</span><span class="cx">     Int8Array subarray([Default=Undefined] optional long start, 
</span><span class="cx">                        optional long end);
</span><span class="cx"> 
</span><ins>+    getter byte (unsigned long index);
+
</ins><span class="cx">     // void set(Int8Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasUint16Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Uint16Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Uint16Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Uint16Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -41,6 +40,8 @@
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx">     Uint16Array subarray([Default=Undefined] optional long start, optional long end);
</span><span class="cx"> 
</span><ins>+    getter unsigned short (unsigned long index);
+
</ins><span class="cx">     // void set(Uint16Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasUint32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Uint32Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Uint32Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Uint32Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -41,6 +40,8 @@
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx">     Uint32Array subarray([Default=Undefined] optional long start, optional long end);
</span><span class="cx"> 
</span><ins>+    getter unsigned long (unsigned long index);
+
</ins><span class="cx">     // void set(Uint32Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasUint8Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Uint8Array.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Uint8Array.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Uint8Array.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -41,6 +40,8 @@
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx">     Uint8Array subarray([Default=Undefined] optional long start, optional long end);
</span><span class="cx"> 
</span><ins>+    getter octet (unsigned long index);
+
</ins><span class="cx">     // void set(Uint8Array array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span><span class="cx">     void set();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasUint8ClampedArrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> [
</span><span class="cx">     GlobalContext=WindowAndWorker,
</span><span class="cx">     ConstructorTemplate=TypedArray,
</span><del>-    NumericIndexedGetter,
</del><span class="cx">     CustomIndexedSetter,
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     JSNoStaticTables,
</span><span class="lines">@@ -41,6 +40,8 @@
</span><span class="cx">     readonly attribute unsigned long length;
</span><span class="cx">     Uint8ClampedArray subarray([Default=Undefined] optional long start, optional long end);
</span><span class="cx"> 
</span><ins>+    getter octet (unsigned long index);
+
</ins><span class="cx">     // FIXME: Missing other setters!
</span><span class="cx">     // void set(Uint8ClampedArray array, optional unsigned long offset);
</span><span class="cx">     // void set(sequence&lt;long&gt; array, optional unsigned long offset);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackAudioTrackListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/AudioTrackList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/AudioTrackList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/track/AudioTrackList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,12 +27,11 @@
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=VIDEO_TRACK,
</span><span class="cx">     GenerateIsReachable=ImplElementRoot,
</span><del>-    IndexedGetter,
</del><span class="cx">     EventTarget,
</span><span class="cx">     JSCustomMarkFunction
</span><span class="cx"> ] interface AudioTrackList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    AudioTrack item(unsigned long index);
</del><ins>+    getter AudioTrack item(unsigned long index);
</ins><span class="cx">     AudioTrack getTrackById(DOMString id);
</span><span class="cx"> 
</span><span class="cx">     attribute EventListener onchange;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackCueListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackCueList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackCueList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/track/TextTrackCueList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,11 +25,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     Conditional=VIDEO_TRACK,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface TextTrackCueList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    TextTrackCue item(unsigned long index);
</del><ins>+    getter TextTrackCue item(unsigned long index);
</ins><span class="cx">     TextTrackCue getCueById(DOMString id);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/track/TextTrackList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,12 +26,11 @@
</span><span class="cx"> [
</span><span class="cx">     Conditional=VIDEO_TRACK,
</span><span class="cx">     GenerateIsReachable=ImplElementRoot,
</span><del>-    IndexedGetter,
</del><span class="cx">     EventTarget,
</span><span class="cx">     JSCustomMarkFunction
</span><span class="cx"> ] interface TextTrackList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    TextTrack item(unsigned long index);
</del><ins>+    getter TextTrack item(unsigned long index);
</ins><span class="cx"> 
</span><span class="cx">     attribute EventListener onaddtrack;
</span><span class="cx">     attribute EventListener onremovetrack;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackRegionListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackRegionList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackRegionList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/track/TextTrackRegionList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -26,11 +26,10 @@
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=VIDEO_TRACK &amp; WEBVTT_REGIONS,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface TextTrackRegionList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    TextTrackRegion item(unsigned long index);
</del><ins>+    getter TextTrackRegion item(unsigned long index);
</ins><span class="cx">     TextTrackRegion getRegionById(DOMString id);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackVideoTrackListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/VideoTrackList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/VideoTrackList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/html/track/VideoTrackList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -27,12 +27,11 @@
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=VIDEO_TRACK,
</span><span class="cx">     GenerateIsReachable=ImplElementRoot,
</span><del>-    IndexedGetter,
</del><span class="cx">     EventTarget,
</span><span class="cx">     JSCustomMarkFunction
</span><span class="cx"> ] interface VideoTrackList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    VideoTrack item(unsigned long index);
</del><ins>+    getter VideoTrack item(unsigned long index);
</ins><span class="cx">     VideoTrack getTrackById(DOMString id);
</span><span class="cx"> 
</span><span class="cx">     attribute EventListener onchange;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePerformanceEntryListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PerformanceEntryList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PerformanceEntryList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/page/PerformanceEntryList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -33,10 +33,9 @@
</span><span class="cx">     NoInterfaceObject,
</span><span class="cx">     Conditional=WEB_TIMING,
</span><span class="cx">     Conditional=PERFORMANCE_TIMELINE,
</span><del>-    IndexedGetter,
</del><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface PerformanceEntryList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    PerformanceEntry item(unsigned long index);
</del><ins>+    getter PerformanceEntry item(unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepageSpeechInputResultListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/SpeechInputResultList.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/SpeechInputResultList.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/page/SpeechInputResultList.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -25,11 +25,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     NoInterfaceObject,
</span><del>-    IndexedGetter,
</del><span class="cx">     Conditional=INPUT_SPEECH,
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface SpeechInputResultList {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    SpeechInputResult item([IsIndex] unsigned long index);
</del><ins>+    getter SpeechInputResult item([IsIndex] unsigned long index);
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepluginsDOMMimeTypeArrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -20,11 +20,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     GenerateIsReachable=ImplFrame,
</span><del>-    IndexedGetter,
</del><span class="cx">     InterfaceName=MimeTypeArray
</span><span class="cx"> ] interface DOMMimeTypeArray {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    DOMMimeType item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter DOMMimeType item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter DOMMimeType namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepluginsDOMPluginidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/plugins/DOMPlugin.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/plugins/DOMPlugin.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/plugins/DOMPlugin.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -19,14 +19,13 @@
</span><span class="cx"> */
</span><span class="cx"> 
</span><span class="cx"> [
</span><del>-    IndexedGetter,
</del><span class="cx">     InterfaceName=Plugin
</span><span class="cx"> ] interface DOMPlugin {
</span><span class="cx">     readonly attribute DOMString name;
</span><span class="cx">     readonly attribute DOMString filename;
</span><span class="cx">     readonly attribute DOMString description;
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    DOMMimeType item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter DOMMimeType item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter DOMMimeType namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepluginsDOMPluginArrayidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/plugins/DOMPluginArray.idl (151498 => 151499)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/plugins/DOMPluginArray.idl        2013-06-12 14:37:28 UTC (rev 151498)
+++ trunk/Source/WebCore/plugins/DOMPluginArray.idl        2013-06-12 14:41:19 UTC (rev 151499)
</span><span class="lines">@@ -20,11 +20,10 @@
</span><span class="cx"> 
</span><span class="cx"> [
</span><span class="cx">     GenerateIsReachable=ImplFrame,
</span><del>-    IndexedGetter,
</del><span class="cx">     InterfaceName=PluginArray
</span><span class="cx"> ] interface DOMPluginArray {
</span><span class="cx">     readonly attribute unsigned long length;
</span><del>-    DOMPlugin item([Default=Undefined] optional unsigned long index);
</del><ins>+    getter DOMPlugin item([Default=Undefined] optional unsigned long index);
</ins><span class="cx">     getter DOMPlugin namedItem([Default=Undefined] optional DOMString name);
</span><span class="cx">     void refresh([Default=Undefined] optional boolean reload);
</span><span class="cx"> };
</span></span></pre>
</div>
</div>

</body>
</html>