<?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>32306</bug_id>
          
          <creation_ts>2009-12-08 23:56:36 -0800</creation_ts>
          <short_desc>[V8] Isolated world reuse failure</short_desc>
          <delta_ts>2009-12-09 12:14:28 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>1</everconfirmed>
          <reporter name="Søren Gjesse">sgjesse</reporter>
          <assigned_to name="Søren Gjesse">sgjesse</assigned_to>
          <cc>abarth</cc>
    
    <cc>ager</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric</cc>
    
    <cc>pfeldman</cc>
    
    <cc>sgjesse</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>169914</commentid>
    <comment_count>0</comment_count>
    <who name="Søren Gjesse">sgjesse</who>
    <bug_when>2009-12-08 23:56:36 -0800</bug_when>
    <thetext>The layout test LayoutTests/http/tests/security/isolatedWorld/world-reuse.html fails with V8 bindings changes introduced in r51407 (http://trac.webkit.org/changeset/51407). See http://crbug.com/28905 for details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169966</commentid>
    <comment_count>1</comment_count>
      <attachid>44529</attachid>
    <who name="Søren Gjesse">sgjesse</who>
    <bug_when>2009-12-09 04:50:08 -0800</bug_when>
    <thetext>Created attachment 44529
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169967</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-09 04:54:21 -0800</bug_when>
    <thetext>Attachment 44529 did not pass style-queue:

Failed to run &quot;WebKitTools/Scripts/check-webkit-style&quot; exit_code: 1
WebCore/bindings/v8/V8Proxy.cpp:396:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/bindings/v8/V8Proxy.cpp:398:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/bindings/v8/V8Proxy.cpp:1383:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bindings/v8/V8Proxy.cpp:1383:  Use 0 instead of NULL.  [readability/null] [5]
WebCore/bindings/v8/V8Proxy.cpp:1384:  Use 0 instead of NULL.  [readability/null] [5]
Total errors found: 5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169971</commentid>
    <comment_count>3</comment_count>
      <attachid>44529</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-12-09 05:05:30 -0800</bug_when>
    <thetext>Comment on attachment 44529
Patch

&gt; +    if (debugId == -1) {
&gt; +        snprintf(buffer, sizeof(buffer), &quot;injected&quot;);
&gt; +    } else {
&gt; +        snprintf(buffer, sizeof(buffer), &quot;injected,%d&quot;, debugId);
&gt; +    }

no {} for single line bodies

&gt;      targetContext-&gt;SetData(v8::String::New(buffer));
&gt;  
&gt;      return true;
&gt; @@ -1378,6 +1380,8 @@ int V8Proxy::contextDebugId(v8::Handle&lt;v
&gt;          return -1;
&gt;      v8::String::AsciiValue ascii(context-&gt;GetData());
&gt;      char* comma = strnstr(*ascii, &quot;,&quot;, ascii.length());
&gt; +    if (comma == NULL)
&gt; +        return NULL;


if (!comma)
    return 0;

&gt;      return atoi(comma + 1);
&gt;  }
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169973</commentid>
    <comment_count>4</comment_count>
      <attachid>44530</attachid>
    <who name="Søren Gjesse">sgjesse</who>
    <bug_when>2009-12-09 05:13:26 -0800</bug_when>
    <thetext>Created attachment 44530
Patch fixing webkit style</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169985</commentid>
    <comment_count>5</comment_count>
      <attachid>44530</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-09 06:34:45 -0800</bug_when>
    <thetext>Comment on attachment 44530
Patch fixing webkit style

Rejecting patch 44530 from commit-queue.

Unexpected failure when landing patch!  Please file a bug against bugzilla-tool.
Failed to run &quot;[&apos;WebKitTools/Scripts/bugzilla-tool&apos;, &apos;land-attachment&apos;, &apos;--force-clean&apos;, &apos;--non-interactive&apos;, &apos;--parent-command=commit-queue&apos;, &apos;--quiet&apos;, &apos;44530&apos;]&quot; exit_code: 1
Last 500 characters of output:
nd_handle_errors
    self.run()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/landingsequence.py&quot;, line 54, in run
    self.clean()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/landingsequence.py&quot;, line 81, in clean
    step.run()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/buildsteps.py&quot;, line 101, in run
    os.chdir(self._tool._scm.checkout_root)
AttributeError: &apos;NoneType&apos; object has no attribute &apos;checkout_root&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170018</commentid>
    <comment_count>6</comment_count>
      <attachid>44530</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2009-12-09 09:35:42 -0800</bug_when>
    <thetext>Comment on attachment 44530
Patch fixing webkit style

Let&apos;s try again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170021</commentid>
    <comment_count>7</comment_count>
      <attachid>44530</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-09 09:36:56 -0800</bug_when>
    <thetext>Comment on attachment 44530
Patch fixing webkit style

Rejecting patch 44530 from commit-queue.

Unexpected failure when landing patch!  Please file a bug against bugzilla-tool.
Failed to run &quot;[&apos;WebKitTools/Scripts/bugzilla-tool&apos;, &apos;land-attachment&apos;, &apos;--force-clean&apos;, &apos;--non-interactive&apos;, &apos;--parent-command=commit-queue&apos;, &apos;--quiet&apos;, &apos;44530&apos;]&quot; exit_code: 1
Last 500 characters of output:
nd_handle_errors
    self.run()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/landingsequence.py&quot;, line 54, in run
    self.clean()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/landingsequence.py&quot;, line 81, in clean
    step.run()
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/modules/buildsteps.py&quot;, line 101, in run
    os.chdir(self._tool._scm.checkout_root)
AttributeError: &apos;NoneType&apos; object has no attribute &apos;checkout_root&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170056</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-12-09 11:03:29 -0800</bug_when>
    <thetext>This is from Adam&apos;s refactoring of the queues last night.  I&apos;ll stop the commit-queue and we&apos;ll get a fix in shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170076</commentid>
    <comment_count>9</comment_count>
      <attachid>44530</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-12-09 11:36:27 -0800</bug_when>
    <thetext>Comment on attachment 44530
Patch fixing webkit style

Sorry for the noise.  Adam believes to have fixed the issue.  I&apos;ve restarted the commit bot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170100</commentid>
    <comment_count>10</comment_count>
      <attachid>44530</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-09 12:14:21 -0800</bug_when>
    <thetext>Comment on attachment 44530
Patch fixing webkit style

Clearing flags on attachment: 44530

Committed r51912: &lt;http://trac.webkit.org/changeset/51912&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170101</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-09 12:14:28 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44529</attachid>
            <date>2009-12-09 04:50:08 -0800</date>
            <delta_ts>2009-12-09 05:14:31 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>32306.patch</filename>
            <type>text/plain</type>
            <size>1804</size>
            <attacher name="Søren Gjesse">sgjesse</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MTg5NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTcgQEAKKzIwMDktMTItMDkgIFPDuHJlbiBHamVzc2UgIDxzZ2plc3NlQGNocm9t
aXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBbVjhdIElzb2xhdGVkIHdvcmxkIHJldXNlIGZhaWx1cmUKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTMyMzA2CisKKyAgICAgICAgRml4ZWQgYnVnIGlu
dHJvZHVjZWQgaW4gcjUxNDA3OiAoaHR0cDovL3RyYWMud2Via2l0Lm9yZy9jaGFuZ2VzZXQvNTE0
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YnVnSWQpOworICAgIGlmIChkZWJ1Z0lkID09IC0xKSB7
CisgICAgICAgIHNucHJpbnRmKGJ1ZmZlciwgc2l6ZW9mKGJ1ZmZlciksICJpbmplY3RlZCIpOwor
ICAgIH0gZWxzZSB7CisgICAgICAgIHNucHJpbnRmKGJ1ZmZlciwgc2l6ZW9mKGJ1ZmZlciksICJp
bmplY3RlZCwlZCIsIGRlYnVnSWQpOworICAgIH0KICAgICB0YXJnZXRDb250ZXh0LT5TZXREYXRh
KHY4OjpTdHJpbmc6Ok5ldyhidWZmZXIpKTsKIAogICAgIHJldHVybiB0cnVlOwpAQCAtMTM3OCw2
ICsxMzgwLDggQEAgaW50IFY4UHJveHk6OmNvbnRleHREZWJ1Z0lkKHY4OjpIYW5kbGU8dgogICAg
ICAgICByZXR1cm4gLTE7CiAgICAgdjg6OlN0cmluZzo6QXNjaWlWYWx1ZSBhc2NpaShjb250ZXh0
LT5HZXREYXRhKCkpOwogICAgIGNoYXIqIGNvbW1hID0gc3RybnN0cigqYXNjaWksICIsIiwgYXNj
aWkubGVuZ3RoKCkpOworICAgIGlmIChjb21tYSA9PSBOVUxMKQorICAgICAgICByZXR1cm4gTlVM
TDsKICAgICByZXR1cm4gYXRvaShjb21tYSArIDEpOwogfQogCg==
</data>
<flag name="review"
          id="26406"
          type_id="1"
          status="-"
          setter="pfeldman"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44530</attachid>
            <date>2009-12-09 05:13:26 -0800</date>
            <delta_ts>2009-12-09 12:14:20 -0800</delta_ts>
            <desc>Patch fixing webkit style</desc>
            <filename>32306.patch</filename>
            <type>text/plain</type>
            <size>1782</size>
            <attacher name="Søren Gjesse">sgjesse</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYk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AgcmV0dXJuIC0xOwogICAgIHJldHVybiBhdG9pKGNv
bW1hICsgMSk7CiB9CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>