<?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>99366</bug_id>
          
          <creation_ts>2012-10-15 14:17:51 -0700</creation_ts>
          <short_desc>ResourceLoader::sendResourceLoadCallbacks() is backwards</short_desc>
          <delta_ts>2012-10-16 10:30:44 -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>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>
          
          <blocked>49246</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Chapin">japhet</reporter>
          <assigned_to name="Nate Chapin">japhet</assigned_to>
          <cc>abarth</cc>
    
    <cc>dbates</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>742428</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-10-15 14:17:51 -0700</bug_when>
    <thetext>...it does an implicit enum to bool conversion which returns the opposite value of what is intended.

It isn&apos;t used currently, but will be used in a later patch for supporting main resources in the memory cache.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742444</commentid>
    <comment_count>1</comment_count>
      <attachid>168781</attachid>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-10-15 14:23:25 -0700</bug_when>
    <thetext>Created attachment 168781
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742793</commentid>
    <comment_count>2</comment_count>
      <attachid>168781</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2012-10-15 22:06:31 -0700</bug_when>
    <thetext>Comment on attachment 168781
patch

This patch looks straightforward to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742798</commentid>
    <comment_count>3</comment_count>
      <attachid>168781</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-15 22:14:47 -0700</bug_when>
    <thetext>Comment on attachment 168781
patch

Clearing flags on attachment: 168781

Committed r131411: &lt;http://trac.webkit.org/changeset/131411&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742799</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-15 22:14:50 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743257</commentid>
    <comment_count>5</comment_count>
      <attachid>168781</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-16 10:29:18 -0700</bug_when>
    <thetext>Comment on attachment 168781
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=168781&amp;action=review

&gt; Source/WebCore/ChangeLog:3
&gt; +        ResourceLoader::sendResourceLoadCallbacks() is backwards

It&apos;s also badly misnamed. A function with this name should send callbacks when called, not just access a member variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743259</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-10-16 10:30:44 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 168781 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=168781&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:3
&gt; &gt; +        ResourceLoader::sendResourceLoadCallbacks() is backwards
&gt; 
&gt; It&apos;s also badly misnamed. A function with this name should send callbacks when called, not just access a member variable.

...I never noticed that. Now it irritates me.

Will fix :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>168781</attachid>
            <date>2012-10-15 14:23:25 -0700</date>
            <delta_ts>2012-10-16 10:29:18 -0700</delta_ts>
            <desc>patch</desc>
            <filename>srlc.txt</filename>
            <type>text/plain</type>
            <size>1407</size>
            <attacher name="Nate Chapin">japhet</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL2xvYWRlci9SZXNvdXJjZUxvYWRlci5oCj09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
LS0tIFNvdXJjZS9XZWJDb3JlL2xvYWRlci9SZXNvdXJjZUxvYWRlci5oCShyZXZpc2lvbiAxMzEw
ODUpCisrKyBTb3VyY2UvV2ViQ29yZS9sb2FkZXIvUmVzb3VyY2VMb2FkZXIuaAkod29ya2luZyBj
b3B5KQpAQCAtMTM5LDcgKzEzOSw3IEBACiAKICAgICAgICAgY29uc3QgS1VSTCYgdXJsKCkgY29u
c3QgeyByZXR1cm4gbV9yZXF1ZXN0LnVybCgpOyB9IAogICAgICAgICBSZXNvdXJjZUhhbmRsZSog
aGFuZGxlKCkgY29uc3QgeyByZXR1cm4gbV9oYW5kbGUuZ2V0KCk7IH0KLSAgICAgICAgYm9vbCBz
ZW5kUmVzb3VyY2VMb2FkQ2FsbGJhY2tzKCkgY29uc3QgeyByZXR1cm4gbV9vcHRpb25zLnNlbmRM
b2FkQ2FsbGJhY2tzOyB9CisgICAgICAgIGJvb2wgc2VuZFJlc291cmNlTG9hZENhbGxiYWNrcygp
IGNvbnN0IHsgcmV0dXJuIG1fb3B0aW9ucy5zZW5kTG9hZENhbGxiYWNrcyA9PSBTZW5kQ2FsbGJh
Y2tzOyB9CiAKICAgICAgICAgYm9vbCByZWFjaGVkVGVybWluYWxTdGF0ZSgpIGNvbnN0IHsgcmV0
dXJuIG1fcmVhY2hlZFRlcm1pbmFsU3RhdGU7IH0KIApJbmRleDogU291cmNlL1dlYkNvcmUvQ2hh
bmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24g
MTMxMzU0KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0x
LDMgKzEsMTYgQEAKKzIwMTItMTAtMTUgIE5hdGUgQ2hhcGluICA8amFwaGV0QGNocm9taXVtLm9y
Zz4KKworICAgICAgICBSZXNvdXJjZUxvYWRlcjo6c2VuZFJlc291cmNlTG9hZENhbGxiYWNrcygp
IGlzIGJhY2t3YXJkcworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9OTkzNjYKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAg
ICAgICBObyBuZXcgdGVzdHMsIHRoaXMgZnVuY3Rpb24gaXMgdW5jYWxsZWQgYnV0IHdpbGwgYmUg
dXNlZAorICAgICAgICBpbiBhIGxhdGVyIHBhdGNoLgorCisgICAgICAgICogbG9hZGVyL1Jlc291
cmNlTG9hZGVyLmg6CisgICAgICAgIChXZWJDb3JlOjpSZXNvdXJjZUxvYWRlcjo6c2VuZFJlc291
cmNlTG9hZENhbGxiYWNrcyk6CisKIDIwMTItMTAtMTUgIE1pa2UgV2VzdCAgPG1rd3N0QGNocm9t
aXVtLm9yZz4KIAogICAgICAgICBDb25zb2xlIG1lc3NhZ2VzIGNvbnRhaW5pbmcgbG9uZyBVUkxz
IHNob3VsZCBjdXQgYXQgc29tZSByZWFzb25hYmxlIGxlbmd0aC4K
</data>

          </attachment>
      

    </bug>

</bugzilla>