<?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>47960</bug_id>
          
          <creation_ts>2010-10-19 18:04:22 -0700</creation_ts>
          <short_desc>ASSERTION FAILURE: !m_adoptionIsRequired for the WebFrame under the InjectedBundlePageLoaderClient::didClearWindowObjectForFrame callback</short_desc>
          <delta_ts>2010-10-20 14:35:50 -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>WebKit2</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="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Jessie Berlin">jberlin</assigned_to>
          <cc>abarth</cc>
    
    <cc>aroben</cc>
    
    <cc>eric</cc>
    
    <cc>jberlin</cc>
    
    <cc>sam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>296573</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-10-19 18:04:22 -0700</bug_when>
    <thetext>frame-&gt;init() in the WebFrame constructor causes the InjectedBundlePageLoaderClient::didClearWindowObjectForFrame callback to be called with a reference to the WebFrame (at which point the WebFrame has not yet been adopted).

We should fix this by moving the frame-&gt;init() call into the WebFrame::create method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296581</commentid>
    <comment_count>1</comment_count>
      <attachid>71238</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-10-19 18:11:26 -0700</bug_when>
    <thetext>Created attachment 71238
Move initializing the coreFrame into the  WebFrame create method and out of the WebFrame constructor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296808</commentid>
    <comment_count>2</comment_count>
      <attachid>71238</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2010-10-20 08:21:16 -0700</bug_when>
    <thetext>Comment on attachment 71238
Move initializing the coreFrame into the  WebFrame create method and out of the WebFrame constructor

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296810</commentid>
    <comment_count>3</comment_count>
      <attachid>71238</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-10-20 08:32:23 -0700</bug_when>
    <thetext>Comment on attachment 71238
Move initializing the coreFrame into the  WebFrame create method and out of the WebFrame constructor

Committed in r70148
http://trac.webkit.org/changeset/70148</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296833</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-10-20 09:26:38 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/70148 might have broken Leopard Intel Release (Tests)
The following tests are not passing:
fast/workers/storage/interrupt-database-sync.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296838</commentid>
    <comment_count>5</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-10-20 09:34:52 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; http://trac.webkit.org/changeset/70148 might have broken Leopard Intel Release (Tests)
&gt; The following tests are not passing:
&gt; fast/workers/storage/interrupt-database-sync.html

Pretty unlikely, as we don&apos;t build WebKit2 stuff on Leopard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297027</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-10-20 14:35:50 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/70173 might have broken SnowLeopard Intel Release (Tests)
The following tests are not passing:
http/tests/xmlhttprequest/origin-whitelisting-removal.html</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71238</attachid>
            <date>2010-10-19 18:11:26 -0700</date>
            <delta_ts>2010-10-20 08:32:23 -0700</delta_ts>
            <desc>Move initializing the coreFrame into the  WebFrame create method and out of the WebFrame constructor</desc>
            <filename>fixAssertionFailureUnderDidClearWindowObjectForFrame.patch</filename>
            <type>text/plain</type>
            <size>1948</size>
            <attacher name="Jessie Berlin">jberlin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdDIvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdDIvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MDExMykKKysrIFdlYktpdDIvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMjEgQEAKKzIwMTAtMTAtMTkgIEplc3NpZSBCZXJsaW4gIDxqYmVybGluQGFwcGxl
LmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBB
U1NFUlRJT04gRkFJTFVSRTogIW1fYWRvcHRpb25Jc1JlcXVpcmVkIGZvciB0aGUgV2ViRnJhbWUg
dW5kZXIgdGhlCisgICAgICAgIEluamVjdGVkQnVuZGxlUGFnZUxvYWRlckNsaWVudDo6ZGlkQ2xl
YXJXaW5kb3dPYmplY3RGb3JGcmFtZSBjYWxsYmFjay4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ3OTYwCisKKyAgICAgICAgRG8gbm90IHRyeSB0byB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