<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>119725</bug_id>
          
          <creation_ts>2013-08-12 20:57:53 -0700</creation_ts>
          <short_desc>Simplify RadioNodeList&apos;s anonymous indexed getter</short_desc>
          <delta_ts>2013-08-13 09:13:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>ggaren</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>916527</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-08-12 20:57:53 -0700</bug_when>
    <thetext>Consider merging https://chromium.googlesource.com/chromium/blink/+/c06e3ea129f0a16eb4275a2c6bb9e77094bda632

Make RadioNodeList&apos;s anonymous indexed getter argument mandatory and drop
the [IsIndex] IDL extended attribute. &apos;optional&apos; and [IsIndex] have no
effect on the generated code of anonymous indexed getters:
- There is no way for the caller to omit the index
- The generated code uses ObjectTemplate::SetIndexedPropertyHandler() and
the IndexedPropertyGetterCallback takes a uint32_t in argument.

There is no web-exposed behavior change, the generated bindings code is identical.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916617</commentid>
    <comment_count>1</comment_count>
      <attachid>208608</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-08-13 01:38:50 -0700</bug_when>
    <thetext>Created attachment 208608
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916628</commentid>
    <comment_count>2</comment_count>
      <attachid>208608</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-08-13 02:02:09 -0700</bug_when>
    <thetext>Comment on attachment 208608
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=208608&amp;action=review

&gt; Source/WebCore/ChangeLog:12
&gt; +        This change has strictly no impact on the generated bindings code
&gt; +        but it simplifies the IDL.

Doesn&apos;t IsIndex cause INDEX_SIZE_ERR to be thrown when the index is negative?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916635</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-08-13 02:49:32 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 208608 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=208608&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:12
&gt; &gt; +        This change has strictly no impact on the generated bindings code
&gt; &gt; +        but it simplifies the IDL.
&gt; 
&gt; Doesn&apos;t IsIndex cause INDEX_SIZE_ERR to be thrown when the index is negative?

In theory, yes but not for anonymous indexed getters. As I said in the Changelog, the generated code is *exactly* the same. Also note that throwing an INDEX_SIZE_ERR for negative values in indexed getter would not be according to specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916737</commentid>
    <comment_count>4</comment_count>
      <attachid>208608</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-08-13 09:13:36 -0700</bug_when>
    <thetext>Comment on attachment 208608
Patch

Clearing flags on attachment: 208608

Committed r154003: &lt;http://trac.webkit.org/changeset/154003&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916738</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-08-13 09:13:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>208608</attachid>
            <date>2013-08-13 01:38:50 -0700</date>
            <delta_ts>2013-08-13 09:13:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-119725-20130813113848.patch</filename>
            <type>text/plain</type>
            <size>1437</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTUzOTkyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggY2JmYTMxMzQxYzkwZGM0
N2E3Y2M0ZjNjNTRhNzU1YWY3ZmFkYTIzZS4uNjM4NDRlMTcwZmMwMzY1ZTc2MGY2YjlmOTNmMmJi
M2Q3NWE0NWI4NiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIwIEBACisyMDEzLTA4LTEzICBDaHJp
c3RvcGhlIER1bWV6ICA8Y2guZHVtZXpAc2lzYS5zYW1zdW5nLmNvbT4KKworICAgICAgICBTaW1w
bGlmeSBSYWRpb05vZGVMaXN0J3MgYW5vbnltb3VzIGluZGV4ZWQgZ2V0dGVyCisgICAgICAgIGh0
dHBzOi8vYnVnc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