<?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>45292</bug_id>
          
          <creation_ts>2010-09-07 06:01:25 -0700</creation_ts>
          <short_desc>V8 generated code is missing include of V8BindingMacros.h for STRING_TO_V8PARAMETER_EXCEPTION_BLOCK</short_desc>
          <delta_ts>2010-09-07 09:45:26 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Android</rep_platform>
          <op_sys>Android</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kristian Monsen">kristianm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>antonm</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dumi</cc>
    
    <cc>steveblock</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>274986</commentid>
    <comment_count>0</comment_count>
      <attachid>66711</attachid>
    <who name="Kristian Monsen">kristianm</who>
    <bug_when>2010-09-07 06:01:25 -0700</bug_when>
    <thetext>Created attachment 66711
Proposed patch

The header does not get included through other headers on Android.

Introduced in this CL:
http://trac.webkit.org/changeset/66664/trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274995</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2010-09-07 06:23:54 -0700</bug_when>
    <thetext>The required include of V8BindingMacros.h was lost in http://trac.webkit.org/changeset/66521</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274997</commentid>
    <comment_count>2</comment_count>
      <attachid>66711</attachid>
    <who name="Steve Block">steveblock</who>
    <bug_when>2010-09-07 06:25:36 -0700</bug_when>
    <thetext>Comment on attachment 66711
Proposed patch

&gt; +        Compile fix for Android. Explicitly add needed header for
&gt; +        STRING_TO_V8PARAMETER_EXCEPTION_BLOCK as they do not get included through
&gt; +        other headers on Android.
Need a bug URL

Remember to set r? and cq? if you want the patch to be reviewed and added to the commit-queue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275001</commentid>
    <comment_count>3</comment_count>
      <attachid>66715</attachid>
    <who name="Kristian Monsen">kristianm</who>
    <bug_when>2010-09-07 06:36:41 -0700</bug_when>
    <thetext>Created attachment 66715
Updated patch with Bug#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275002</commentid>
    <comment_count>4</comment_count>
    <who name="Kristian Monsen">kristianm</who>
    <bug_when>2010-09-07 06:42:06 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 66711 [details])
&gt; &gt; +        Compile fix for Android. Explicitly add needed header for
&gt; &gt; +        STRING_TO_V8PARAMETER_EXCEPTION_BLOCK as they do not get included through
&gt; &gt; +        other headers on Android.
&gt; Need a bug URL
&gt; 
&gt; Remember to set r? and cq? if you want the patch to be reviewed and added to the commit-queue.

I was not yet ready for review, as I was looking for where it got introduced. Thanks for noticing the missing bug url.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275021</commentid>
    <comment_count>5</comment_count>
      <attachid>66715</attachid>
    <who name="Steve Block">steveblock</who>
    <bug_when>2010-09-07 07:25:23 -0700</bug_when>
    <thetext>Comment on attachment 66715
Updated patch with Bug#

Is the include of V8BindingMacros.h from GenerateNormalAttrSetter() still required?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275027</commentid>
    <comment_count>6</comment_count>
    <who name="Kristian Monsen">kristianm</who>
    <bug_when>2010-09-07 07:36:35 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 66715 [details])
&gt; Is the include of V8BindingMacros.h from GenerateNormalAttrSetter() still required?

This is the CL that actually caused the problem:
http://trac.webkit.org/changeset/66521/trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm

I grepped through the generated files, and it seems like the header is never included twice at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275028</commentid>
    <comment_count>7</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2010-09-07 07:39:01 -0700</bug_when>
    <thetext>&gt; I grepped through the generated files, and it seems like the header is never
&gt; included twice at least.
Sure, but this doesn&apos;t mean that we don&apos;t add the header to the implIncludes map more than once.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275033</commentid>
    <comment_count>8</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2010-09-07 07:56:21 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; &gt; I grepped through the generated files, and it seems like the header is never
&gt; &gt; included twice at least.
&gt; Sure, but this doesn&apos;t mean that we don&apos;t add the header to the implIncludes map more than once.

Sorry guys for introducing this.  Could we setup BBs to watch for Android breakage?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275034</commentid>
    <comment_count>9</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2010-09-07 07:57:25 -0700</bug_when>
    <thetext>Just in case: I&apos;ve added more cases to use the macro.  I hope you already have necessary includes on those paths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275038</commentid>
    <comment_count>10</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2010-09-07 08:02:21 -0700</bug_when>
    <thetext>&gt; Sorry guys for introducing this.  Could we setup BBs to watch for Android
&gt; breakage?
No problem. We&apos;d love to have an Android BB, but we have a lot of upstreaming to do first!

&gt; Just in case: I&apos;ve added more cases to use the macro.  I hope you already have
&gt; necessary includes on those paths.
It looks like the macro is only used from ConvertToV8Parameter(), to which this patch adds the include, so I think we&apos;re OK.

Anton, do you know if the include from GenerateNormalAttrSetter() can be removed, or are you happy with this patch as it is?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275043</commentid>
    <comment_count>11</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2010-09-07 08:13:57 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; &gt; Just in case: I&apos;ve added more cases to use the macro.  I hope you already have
&gt; &gt; necessary includes on those paths.
&gt; It looks like the macro is only used from ConvertToV8Parameter(), to which this patch adds the include, so I think we&apos;re OK.
&gt; 
&gt; Anton, do you know if the include from GenerateNormalAttrSetter() can be removed, or are you happy with this patch as it is?

Yes, you&apos;re right.  I think it&apos;s the best place for inclusion and we don&apos;t want to specialize unless build time is prohibitive (which should not be the case, hopefully)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275092</commentid>
    <comment_count>12</comment_count>
      <attachid>66715</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-07 09:45:20 -0700</bug_when>
    <thetext>Comment on attachment 66715
Updated patch with Bug#

Clearing flags on attachment: 66715

Committed r66888: &lt;http://trac.webkit.org/changeset/66888&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275093</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-07 09:45:26 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66711</attachid>
            <date>2010-09-07 06:01:25 -0700</date>
            <delta_ts>2010-09-07 06:36:41 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1292</size>
            <attacher name="Kristian Monsen">kristianm</attacher>
            
              <data encoding="base64">SW5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njg0MSkKKysrIFdlYkNvcmUvYmluZGluZ3Mv
c2NyaXB0cy9Db2RlR2VuZXJhdG9yVjgucG0JKHdvcmtpbmcgY29weSkKQEAgLTMzNzksNiArMzM3
OSw3IEBAIHN1YiBDb252ZXJ0VG9WOFBhcmFtZXRlcgogCiAgICAgZGllICJXcm9uZyBuYXRpdmUg
dHlwZSBwYXNzZWQ6ICRuYXRpdmVUeXBlIiB1bmxlc3MgJG5hdGl2ZVR5cGUgPX4gL15WOFBhcmFt
ZXRlci87CiAgICAgaWYgKCRzaWduYXR1cmUtPnR5cGUgZXEgIkRPTVN0cmluZyIpIHsKKyAgICAg
ICAgJGltcGxJbmNsdWRlc3siVjhCaW5kaW5nTWFjcm9zLmgifSA9IDE7CiAgICAgICAgIG15ICRt
YWNybyA9ICJTVFJJTkdfVE9fVjhQQVJBTUVURVJfRVhDRVBUSU9OX0JMT0NLIjsKICAgICAgICAg
JG1hY3JvIC49ICJfJHN1ZmZpeCIgaWYgJHN1ZmZpeDsKICAgICAgICAgcmV0dXJuICIkbWFjcm8o
JG5hdGl2ZVR5cGUsICR2YXJpYWJsZU5hbWUsICR2YWx1ZSk7Igo=
</data>
<flag name="review"
          id="55811"
          type_id="1"
          status="-"
          setter="steveblock"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66715</attachid>
            <date>2010-09-07 06:36:41 -0700</date>
            <delta_ts>2010-09-07 09:45:20 -0700</delta_ts>
            <desc>Updated patch with Bug#</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1358</size>
            <attacher name="Kristian Monsen">kristianm</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA2Njg3NikKKysrIFdlYkNvcm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