<?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>29150</bug_id>
          
          <creation_ts>2009-09-10 14:06:06 -0700</creation_ts>
          <short_desc>[v8] create a real handler to JS objects when returning strings from StringImplCache</short_desc>
          <delta_ts>2009-09-11 10:21:01 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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="anton muhin">antonm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ager</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146329</commentid>
    <comment_count>0</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2009-09-10 14:06:06 -0700</bug_when>
    <thetext>Currently, just a wrapper is created (v8::Local&lt;v8::String&gt;(pointer)) which won&apos;t save the object being handled if GC would happen (to be more precise, one mark flavours).  Let&apos;s use a proper local handle instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146330</commentid>
    <comment_count>1</comment_count>
      <attachid>39376</attachid>
    <who name="anton muhin">antonm</who>
    <bug_when>2009-09-10 14:11:26 -0700</bug_when>
    <thetext>Created attachment 39376
First pass</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146351</commentid>
    <comment_count>2</comment_count>
      <attachid>39376</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-09-10 14:50:43 -0700</bug_when>
    <thetext>Comment on attachment 39376
First pass

I don&apos;t fully understand the V8 garbage collector, but this seems reasonable and I believe that you know what you&apos;re doing.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146355</commentid>
    <comment_count>3</comment_count>
      <attachid>39376</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-09-10 14:55:21 -0700</bug_when>
    <thetext>Comment on attachment 39376
First pass

I forgot that you aren&apos;t a committer yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146376</commentid>
    <comment_count>4</comment_count>
      <attachid>39376</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-10 15:49:20 -0700</bug_when>
    <thetext>Comment on attachment 39376
First pass

Rejecting patch 39376 from commit-queue.

This patch will require manual commit. Patch https://bugs.webkit.org/attachment.cgi?id=39376 from bug 29150 failed to download and apply.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146384</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-10 16:13:17 -0700</bug_when>
    <thetext>Looks like somehow this patch is not from the root:
can&apos;t find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: bindings/v8/V8Binding.cpp
|===================================================================
|--- bindings/v8/V8Binding.cpp	(revision 48239)
|+++ bindings/v8/V8Binding.cpp	(working copy)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146464</commentid>
    <comment_count>6</comment_count>
    <who name="Mads Ager">ager</who>
    <bug_when>2009-09-10 23:24:48 -0700</bug_when>
    <thetext>Looks good to me as well.  Good catch Anton.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146530</commentid>
    <comment_count>7</comment_count>
      <attachid>39425</attachid>
    <who name="anton muhin">antonm</who>
    <bug_when>2009-09-11 05:52:57 -0700</bug_when>
    <thetext>Created attachment 39425
Hopefully right paths

Same story as with inlining patch.  Sorry all for inconvenience.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146559</commentid>
    <comment_count>8</comment_count>
      <attachid>39425</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-11 07:52:22 -0700</bug_when>
    <thetext>Comment on attachment 39425
Hopefully right paths

Rejecting patch 39425 from commit-queue.

This patch will require manual commit. [&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--quiet&apos;, &apos;--exit-after-n-failures=1&apos;] failed with exit code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146565</commentid>
    <comment_count>9</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2009-09-11 08:11:54 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 39425 [details])
&gt; Rejecting patch 39425 from commit-queue.
&gt; 
&gt; This patch will require manual commit. [&apos;WebKitTools/Scripts/run-webkit-tests&apos;,
&gt; &apos;--no-launch-safari&apos;, &apos;--quiet&apos;, &apos;--exit-after-n-failures=1&apos;] failed with exit
&gt; code 1

what should I do?  svn update and merge?

tia,
anton.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146571</commentid>
    <comment_count>10</comment_count>
      <attachid>39425</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-09-11 08:28:37 -0700</bug_when>
    <thetext>Comment on attachment 39425
Hopefully right paths

This is likely a flaky test.  Let&apos;s try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146596</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-11 09:21:08 -0700</bug_when>
    <thetext>Bitten by bug 28845. :(
compositing/color-matching/image-color-matching.html -&gt; timed out</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146614</commentid>
    <comment_count>12</comment_count>
      <attachid>39425</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-11 09:47:14 -0700</bug_when>
    <thetext>Comment on attachment 39425
Hopefully right paths

Rejecting patch 39425 from commit-queue.

This patch will require manual commit. [&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--quiet&apos;, &apos;--exit-after-n-failures=1&apos;] failed with exit code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146618</commentid>
    <comment_count>13</comment_count>
      <attachid>39425</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-11 10:01:36 -0700</bug_when>
    <thetext>Comment on attachment 39425
Hopefully right paths

Just your lucky day. :(  Bug 28845 again!
compositing/self-painting-layers.html -&gt; crashed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146623</commentid>
    <comment_count>14</comment_count>
      <attachid>39425</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-11 10:20:48 -0700</bug_when>
    <thetext>Comment on attachment 39425
Hopefully right paths

Clearing flags on attachment: 39425

Committed r48305: &lt;http://trac.webkit.org/changeset/48305&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146624</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-11 10:21:01 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39376</attachid>
            <date>2009-09-10 14:11:26 -0700</date>
            <delta_ts>2009-09-11 05:52:57 -0700</delta_ts>
            <desc>First pass</desc>
            <filename>webcore.patch</filename>
            <type>text/plain</type>
            <size>1208</size>
            <attacher name="anton muhin">antonm</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQ4MjY1
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMDkt
MTAgIEFudG9uIE11aGluICA8YW50b25tQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdl
ZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBDcmVhdGUgYSByZWFsIGhhbmRsZSAob25l
IHdoaWNoIHdvdWxkIHNhdmUgYW4gb2JqZWN0IGZyb20gR0MpLgorICAgICAgICBodHRwczovL2J1
Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjkxNTAKKworICAgICAgICAqIGJpbmRpbmdz
L3Y4L1Y4QmluZGluZy5jcHA6CisgICAgICAgIChXZWJDb3JlOjp2OEV4dGVybmFsU3RyaW5nKToK
KwogMjAwOS0wOS0xMCAgR3VzdGF2byBOb3JvbmhhIFNpbHZhICA8Z3VzdGF2by5ub3JvbmhhQGNv
bGxhYm9yYS5jby51az4KIAogICAgICAgICBSZXZpZXdlZCBieSBYYW4gTG9wZXogYW5kIERhbiBX
aW5zaGlwLgpJbmRleDogYmluZGluZ3MvdjgvVjhCaW5kaW5nLmNwcAo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBi
aW5kaW5ncy92OC9WOEJpbmRpbmcuY3BwCShyZXZpc2lvbiA0ODIzOSkKKysrIGJpbmRpbmdzL3Y4
L1Y4QmluZGluZy5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTI2OSw3ICsyNjksNyBAQCB2ODo6TG9j
YWw8djg6OlN0cmluZz4gdjhFeHRlcm5hbFN0cmluZyhjCiAgICAgU3RyaW5nQ2FjaGUmIHN0cmlu
Z0NhY2hlID0gZ2V0U3RyaW5nQ2FjaGUoKTsKICAgICB2ODo6U3RyaW5nKiBjYWNoZWRWOFN0cmlu
ZyA9IHN0cmluZ0NhY2hlLmdldChzdHJpbmdJbXBsKTsKICAgICBpZiAoY2FjaGVkVjhTdHJpbmcp
Ci0gICAgICAgIHJldHVybiB2ODo6TG9jYWw8djg6OlN0cmluZz4oY2FjaGVkVjhTdHJpbmcpOwor
ICAgICAgICByZXR1cm4gdjg6OkxvY2FsPHY4OjpTdHJpbmc+OjpOZXcodjg6OkhhbmRsZTx2ODo6
U3RyaW5nPihjYWNoZWRWOFN0cmluZykpOwogCiAgICAgdjg6OkxvY2FsPHY4OjpTdHJpbmc+IG5l
d1N0cmluZyA9IG1ha2VFeHRlcm5hbFN0cmluZyhzdHJpbmcpOwogICAgIGlmIChuZXdTdHJpbmcu
SXNFbXB0eSgpKQo=
</data>
<flag name="review"
          id="20466"
          type_id="1"
          status="+"
          setter="abarth"
    />
    <flag name="commit-queue"
          id="20477"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39425</attachid>
            <date>2009-09-11 05:52:57 -0700</date>
            <delta_ts>2009-09-11 10:20:48 -0700</delta_ts>
            <desc>Hopefully right paths</desc>
            <filename>WebCore.patch</filename>
            <type>text/plain</type>
            <size>1215</size>
            <attacher name="anton muhin">antonm</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0ODI2NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMDktMDktMTAgIEFudG9uIE11aGluICA8YW50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AgICAgcmV0dXJuIHY4OjpMb2NhbDx2ODo6U3RyaW5nPjo6TmV3KHY4OjpIYW5k
bGU8djg6OlN0cmluZz4oY2FjaGVkVjhTdHJpbmcpKTsKIAogICAgIHY4OjpMb2NhbDx2ODo6U3Ry
aW5nPiBuZXdTdHJpbmcgPSBtYWtlRXh0ZXJuYWxTdHJpbmcoc3RyaW5nKTsKICAgICBpZiAobmV3
U3RyaW5nLklzRW1wdHkoKSkK
</data>

          </attachment>
      

    </bug>

</bugzilla>