<?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>111267</bug_id>
          
          <creation_ts>2013-03-03 03:46:36 -0800</creation_ts>
          <short_desc>[Win] IDLParser.pm fails to parse OESTextureHalfFloat and causes a build failure</short_desc>
          <delta_ts>2013-03-04 17:33:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>110818</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>haraken</cc>
    
    <cc>japhet</cc>
    
    <cc>kbr</cc>
    
    <cc>roger_fong</cc>
    
    <cc>sam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>845998</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-03-03 03:46:36 -0800</bug_when>
    <thetext>8&gt;/home/buildbot/slave/WIN-DE~1/build/Source/WebCore/DerivedSources.make:1016: recipe for target `JSOESTextureHalfFloat.h&apos; failed
8&gt;make: *** [JSOESTextureHalfFloat.h] Error 2
8&gt;make: *** Waiting for unfinished jobs….

It’s failing at:
http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/scripts/IDLParser.pm#L196
196	    die &quot;No definitions founds&quot; unless @definitions;
197	

because this IDL is empty:
http://trac.webkit.org/browser/trunk/Source/WebCore/html/canvas/OESTextureHalfFloat.idl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846001</commentid>
    <comment_count>1</comment_count>
      <attachid>191133</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-03-03 03:54:04 -0800</bug_when>
    <thetext>Created attachment 191133
Allow empty IDL definitions to fix clean builds

There are so many things I don’t understand about this patch. First off, what does OESTextureHalfFloat even mean? And second off, why is this IDL file empty? And finally, why is this even compiled on Apple Win?

But whatever. Here’s a trivial fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846013</commentid>
    <comment_count>2</comment_count>
      <attachid>191133</attachid>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2013-03-03 07:45:06 -0800</bug_when>
    <thetext>Comment on attachment 191133
Allow empty IDL definitions to fix clean builds

According to the Web IDL spec, an empty IDL definition is acceptable: http://www.w3.org/TR/WebIDL/#prod-Definitions . So this patch looks OK.

However, an empty IDL definition does make zero sense in practice. Would you investigate about OESTextureHalfFloat ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846017</commentid>
    <comment_count>3</comment_count>
      <attachid>191133</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-03 08:18:20 -0800</bug_when>
    <thetext>Comment on attachment 191133
Allow empty IDL definitions to fix clean builds

Clearing flags on attachment: 191133

Committed r144575: &lt;http://trac.webkit.org/changeset/144575&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846018</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-03 08:18:24 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846060</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-03-03 13:23:53 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 191133 [details])
&gt;
&gt; However, an empty IDL definition does make zero sense in practice. Would you investigate about OESTextureHalfFloat ?

Yeah. I don’t understan why we need this IDL. For starters, OESTextureHalfFloat is such a terrible :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846063</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-03-03 13:26:30 -0800</bug_when>
    <thetext>It was added in https://bugs.webkit.org/show_bug.cgi?id=110818. I don’t understand why this was not announced on webkit-dev given that it’s an extension…</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>191133</attachid>
            <date>2013-03-03 03:54:04 -0800</date>
            <delta_ts>2013-03-03 08:18:20 -0800</delta_ts>
            <desc>Allow empty IDL definitions to fix clean builds</desc>
            <filename>fix111267</filename>
            <type>text/plain</type>
            <size>1137</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE0NDU3MikKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDEzLTAzLTAzICBSeW9zdWtl
IE5pd2EgIDxybml3YUB3ZWJraXQub3JnPgorCisgICAgICAgIFtXaW5dIElETFBhcnNlci5wbSBm
YWlscyB0byBwYXJzZSBPRVNUZXh0dXJlSGFsZkZsb2F0IGFuZCBjYXVzZXMgYSBidWlsZCBmYWls
dXJlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTEy
NjcKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBBbGxv
dyBlbXB0eSBkZWZpbml0aW9ucy4KKworICAgICAgICAqIGJpbmRpbmdzL3NjcmlwdHMvSURMUGFy
c2VyLnBtOgorICAgICAgICAoUGFyc2UpOgorCiAyMDEzLTAzLTAzICBTaGVyaWZmIEJvdCAgPHdl
YmtpdC5yZXZpZXcuYm90QGdtYWlsLmNvbT4KIAogICAgICAgICBVbnJldmlld2VkLCByb2xsaW5n
IG91dCByMTQ0NTY3LgpJbmRleDogU291cmNlL1dlYkNvcmUvYmluZGluZ3Mvc2NyaXB0cy9JRExQ
YXJzZXIucG0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvYmluZGluZ3Mvc2NyaXB0cy9J
RExQYXJzZXIucG0JKHJldmlzaW9uIDE0NDU2OSkKKysrIFNvdXJjZS9XZWJDb3JlL2JpbmRpbmdz
L3NjcmlwdHMvSURMUGFyc2VyLnBtCSh3b3JraW5nIGNvcHkpCkBAIC0xOTMsOCArMTkzLDYgQEAK
ICAgICB9OwogICAgIGRpZSAkQCAuICIgaW4gJGZpbGVOYW1lIiBpZiAkQDsKIAotICAgIGRpZSAi
Tm8gZGVmaW5pdGlvbnMgZm91bmRzIiB1bmxlc3MgQGRlZmluaXRpb25zOwotCiAgICAgbXkgJGRv
Y3VtZW50ID0gaWRsRG9jdW1lbnQtPm5ldygpOwogICAgICRkb2N1bWVudC0+ZmlsZU5hbWUoJGZp
bGVOYW1lKTsKICAgICBmb3JlYWNoIG15ICRkZWZpbml0aW9uIChAZGVmaW5pdGlvbnMpIHsK
</data>

          </attachment>
      

    </bug>

</bugzilla>