<?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>36671</bug_id>
          
          <creation_ts>2010-03-26 12:29:43 -0700</creation_ts>
          <short_desc>window.openDatabase() always fails for new databases when using WebKit nightly with Safari 4.0.5</short_desc>
          <delta_ts>2010-04-16 15:12:04 -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>New Bugs</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>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dumitru Daniliuc">dumi</reporter>
          <assigned_to name="Eric U.">ericu</assigned_to>
          <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>beidson</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dimich</cc>
    
    <cc>ericu</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>levin</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>204712</commentid>
    <comment_count>0</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-03-26 12:29:43 -0700</bug_when>
    <thetext>1. Delete all Safari HTML5 databases.
2. WebKitTools/Scripts/build-webkit --debug (not sure if the --debug flag changes anything, but i haven&apos;t tried this in release mode)
3. WebKitTools/Scripts/run-safari --debug
4. Run any code that tries to open a database.

RESULTS: openDatabase() fails (returns NULL)

EXPECTED: openDatabase() succeeds.

PROBLEM: When we try to open a database in a new origin (that is not in the tracker database Databases.db), DatabaseTracker::canEstablishDatabase() makes a call to ScriptExecutionContext::databaseExceededQuota(), which eventually calls WebChromeClient::exceededDatabaseQuota(), which is supposed to give this new origin 5MB of space. That does not happen: WebChromeClient::exceededDatabaseQuota() calls some private delegate, which does not change anything, as far as the database code is concerned.

This problem does not exist in Safari. It only shows up when running Safari using the WebKit library built from the open source tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204715</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-03-26 12:36:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/7798809&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208044</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 13:33:11 -0700</bug_when>
    <thetext>Still tracing through code now, but this probably broke in http://trac.webkit.org/changeset/56293</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208048</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2010-04-02 13:47:27 -0700</bug_when>
    <thetext>Just a data point: this issue does not appear in ToT Webkit + Safari 4.0.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208050</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 13:48:22 -0700</bug_when>
    <thetext>I still don&apos;t know *for sure* that this was 56293, but am still highly suspicious.

What&apos;s happening is that in WebChromeClient::exceededDatabaseQuota(), Safari is asking for the current details for the database using DatabaseTracker::detailsForNameAndOrigin().

Previously, Safari would actually get a valid answer from WebKit.

Now, it&apos;s getting nothing back because the &quot;too be created&quot; database isn&apos;t found in m_proposedDatabases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208052</commentid>
    <comment_count>5</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 13:49:52 -0700</bug_when>
    <thetext>&quot;to be created&quot;, of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208054</commentid>
    <comment_count>6</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 13:52:25 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Just a data point: this issue does not appear in ToT Webkit + Safari 4.0.4

Yah.  I haven&apos;t tracked down exactly what changed in Safari 4.0.5 on Windows quite yet (note it doesn&apos;t even affect Safari 4.0.5 on Mac.)

But - as my previous comments show - I think I have the specific WebKit change in behavior narrowed down.

Still working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208064</commentid>
    <comment_count>7</comment_count>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-02 14:17:05 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; I still don&apos;t know *for sure* that this was 56293, but am still highly
&gt; suspicious.
&gt; 
&gt; What&apos;s happening is that in WebChromeClient::exceededDatabaseQuota(), Safari is
&gt; asking for the current details for the database using
&gt; DatabaseTracker::detailsForNameAndOrigin().
&gt; 
&gt; Previously, Safari would actually get a valid answer from WebKit.
&gt; 
&gt; Now, it&apos;s getting nothing back because the &quot;too be created&quot; database isn&apos;t
&gt; found in m_proposedDatabases.

I haven&apos;t tried running a fix yet, but I&apos;ll bet this is the bug: the search through m_proposed databases uses &apos;==&apos; to compare the SecurityOrigins, but it&apos;s stored a threadsafeCopy, so a pointer comparison always fails.  It should be using SecurityOriginHash to compare them.  I&apos;ll go get set up to test a fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208065</commentid>
    <comment_count>8</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 14:21:20 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; 
&gt; I haven&apos;t tried running a fix yet, but I&apos;ll bet this is the bug: the search
&gt; through m_proposed databases uses &apos;==&apos; to compare the SecurityOrigins, but it&apos;s
&gt; stored a threadsafeCopy, so a pointer comparison always fails.  It should be
&gt; using SecurityOriginHash to compare them.  I&apos;ll go get set up to test a fix.

I had suspected this and just confirmed it stepping through.

Thanks for working on a fix - I&apos;ll be ready to strike on the review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208092</commentid>
    <comment_count>9</comment_count>
      <attachid>52455</attachid>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-02 15:16:08 -0700</bug_when>
    <thetext>Created attachment 52455
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208095</commentid>
    <comment_count>10</comment_count>
      <attachid>52455</attachid>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-02 15:17:29 -0700</bug_when>
    <thetext>Comment on attachment 52455
Patch

Brady--I do my webkit dev on a Mac, so I can&apos;t verify that this patch fixes the bug.  Would you mind doing a quick test?  I&apos;ve at least made sure it does no harm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208103</commentid>
    <comment_count>11</comment_count>
      <attachid>52455</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 15:23:52 -0700</bug_when>
    <thetext>Comment on attachment 52455
Patch

r+

I can&apos;t get to testing it on Windows this instant, but I agree with the whole line of thinking about the source of the bug, and there&apos;s definitely no harm in this change.

In fact, I can tell you that Safari Mac working and your patch was an accident before, and this makes it work &quot;the old, more correct way&quot;  :)

Go ahead and land it and I&apos;ll confirm on Windows later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208104</commentid>
    <comment_count>12</comment_count>
      <attachid>52455</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 15:24:07 -0700</bug_when>
    <thetext>Comment on attachment 52455
Patch

Actually setting r+ this time.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208106</commentid>
    <comment_count>13</comment_count>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-02 15:27:09 -0700</bug_when>
    <thetext>I&apos;m actually not a committer yet; could you please cq+ or commit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208132</commentid>
    <comment_count>14</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 16:18:09 -0700</bug_when>
    <thetext>Done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208166</commentid>
    <comment_count>15</comment_count>
      <attachid>52455</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-02 17:16:47 -0700</bug_when>
    <thetext>Comment on attachment 52455
Patch

Clearing flags on attachment: 52455

Committed r57036: &lt;http://trac.webkit.org/changeset/57036&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208168</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-02 17:16:54 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208464</commentid>
    <comment_count>17</comment_count>
      <attachid>52455</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-04-05 07:04:48 -0700</bug_when>
    <thetext>Comment on attachment 52455
Patch

&gt;      for (HashSet&lt;ProposedDatabase*&gt;::iterator iter = m_proposedDatabases.begin(); iter != m_proposedDatabases.end(); ++iter)
&gt; -        if ((*iter)-&gt;first == origin &amp;&amp; (*iter)-&gt;second.name() == name)
&gt; +        if ((*iter)-&gt;second.name() == name &amp;&amp; SecurityOriginHash::hash((*iter)-&gt;first) == SecurityOriginHash::hash(origin))
&gt;              return String();

Having identical hash codes does not guarantee equality. I think you should be using SecurityOrigin::equal instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208500</commentid>
    <comment_count>18</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-05 08:52:04 -0700</bug_when>
    <thetext>Indeed, Adam is totally correct.  Keen eye, thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208660</commentid>
    <comment_count>19</comment_count>
      <attachid>52562</attachid>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-05 13:11:40 -0700</bug_when>
    <thetext>Created attachment 52562
Fix the fix.

D&apos;oh!

Here&apos;s the right fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208674</commentid>
    <comment_count>20</comment_count>
      <attachid>52562</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-05 13:41:32 -0700</bug_when>
    <thetext>Comment on attachment 52562
Fix the fix.

Yup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208919</commentid>
    <comment_count>21</comment_count>
      <attachid>52562</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-05 23:33:08 -0700</bug_when>
    <thetext>Comment on attachment 52562
Fix the fix.

Clearing flags on attachment: 52562

Committed r57128: &lt;http://trac.webkit.org/changeset/57128&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208920</commentid>
    <comment_count>22</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-05 23:33:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210637</commentid>
    <comment_count>23</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-09 01:56:07 -0700</bug_when>
    <thetext>This is still an issue in Safari + ToT WebKit on Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210766</commentid>
    <comment_count>24</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-09 09:37:04 -0700</bug_when>
    <thetext>Hopefully Eric U can revisit this asap, because I won&apos;t be able to get to it for a bit.

Why on Earth are any layout tests failing?  I checked the windows skipped list and I don&apos;t think any of them are skipped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210839</commentid>
    <comment_count>25</comment_count>
    <who name="Eric U.">ericu</who>
    <bug_when>2010-04-09 12:13:34 -0700</bug_when>
    <thetext>(In reply to comment #24)
&gt; Hopefully Eric U can revisit this asap, because I won&apos;t be able to get to it
&gt; for a bit.

What with the webkit meeting and some urgent personal business taking me out of town, I&apos;m afraid I won&apos;t be able to look at this until at least 4/22.

&gt; Why on Earth are any layout tests failing?  I checked the windows skipped list
&gt; and I don&apos;t think any of them are skipped.

That may be Safari-only code; I&apos;m not sure the layout tests invoke that particular path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210865</commentid>
    <comment_count>26</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-09 13:07:40 -0700</bug_when>
    <thetext>I&apos;ll see if I can fix this today. Layout tests don&apos;t fail because they run in DRT, which correctly allocates 5MB to a new origin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210867</commentid>
    <comment_count>27</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-04-09 13:13:32 -0700</bug_when>
    <thetext>(In reply to comment #26)
&gt; I&apos;ll see if I can fix this today. Layout tests don&apos;t fail because they run in
&gt; DRT, which correctly allocates 5MB to a new origin.

Maybe we need to add a way to make DRT act like Safari in this respect, so that we can test this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212619</commentid>
    <comment_count>28</comment_count>
      <attachid>53376</attachid>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-14 15:34:22 -0700</bug_when>
    <thetext>Created attachment 53376
another patch

Tested on Windows Vista.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212620</commentid>
    <comment_count>29</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-04-14 15:35:32 -0700</bug_when>
    <thetext>Attachment 53376 did not pass style-queue:

Failed to run &quot;WebKitTools/Scripts/check-webkit-style&quot; exit_code: 1
WebCore/ChangeLog:6:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212622</commentid>
    <comment_count>30</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-14 15:37:03 -0700</bug_when>
    <thetext>Will fix the TAB in WebCore/ChangeLog when landing, unless there are other comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213385</commentid>
    <comment_count>31</comment_count>
      <attachid>53376</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-04-16 13:18:07 -0700</bug_when>
    <thetext>Comment on attachment 53376
another patch

r=me

Please fix the tab, and also please explain the fix in ChangeLog. It looks like it&apos;s changing the same code that the previous patch changed, but it&apos;s actually applying the same fix at another location.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213446</commentid>
    <comment_count>32</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-16 15:12:04 -0700</bug_when>
    <thetext>Second patch landed as r57754.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52455</attachid>
            <date>2010-04-02 15:16:08 -0700</date>
            <delta_ts>2010-04-05 07:04:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-36671-20100402151607.patch</filename>
            <type>text/plain</type>
            <size>1743</size>
            <attacher name="Eric U.">ericu</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NzAyNSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMTAtMDQtMDIgIEVyaWMgVWhyaGFuZSAgPGVyaWN1QGNocm9taXVt
Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS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PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09Ci0tLSBXZWJDb3JlL3N0b3JhZ2UvRGF0YWJhc2VUcmFja2VyLmNwcAko
cmV2aXNpb24gNTcwMjQpCisrKyBXZWJDb3JlL3N0b3JhZ2UvRGF0YWJhc2VUcmFja2VyLmNwcAko
d29ya2luZyBjb3B5KQpAQCAtMjM0LDcgKzIzNCw3IEBAIFN0cmluZyBEYXRhYmFzZVRyYWNrZXI6
OmZ1bGxQYXRoRm9yRGF0YWIKICAgICBBU1NFUlQoIW9yaWdpblF1b3RhTWFuYWdlck5vTG9jaygp
LnRyeUxvY2soKSk7CiAKICAgICBmb3IgKEhhc2hTZXQ8UHJvcG9zZWREYXRhYmFzZSo+OjppdGVy
YXRvciBpdGVyID0gbV9wcm9wb3NlZERhdGFiYXNlcy5iZWdpbigpOyBpdGVyICE9IG1fcHJvcG9z
ZWREYXRhYmFzZXMuZW5kKCk7ICsraXRlcikKLSAgICAgICAgaWYgKCgqaXRlciktPmZpcnN0ID09
IG9yaWdpbiAmJiAoKml0ZXIpLT5zZWNvbmQubmFtZSgpID09IG5hbWUpCisgICAgICAgIGlmICgo
Kml0ZXIpLT5zZWNvbmQubmFtZSgpID09IG5hbWUgJiYgU2VjdXJpdHlPcmlnaW5IYXNoOjpoYXNo
KCgqaXRlciktPmZpcnN0KSA9PSBTZWN1cml0eU9yaWdpbkhhc2g6Omhhc2gob3JpZ2luKSkKICAg
ICAgICAgICAgIHJldHVybiBTdHJpbmcoKTsKIAogICAgIFN0cmluZyBvcmlnaW5JZGVudGlmaWVy
ID0gb3JpZ2luLT5kYXRhYmFzZUlkZW50aWZpZXIoKTsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52562</attachid>
            <date>2010-04-05 13:11:40 -0700</date>
            <delta_ts>2010-04-05 23:33:08 -0700</delta_ts>
            <desc>Fix the fix.</desc>
            <filename>36671.patch</filename>
            <type>text/plain</type>
            <size>1596</size>
            <attacher name="Eric U.">ericu</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NzA5MSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTcgQEAKKzIwMTAtMDQtMDUgIEVyaWMgVWhyaGFuZSAgPGVyaWN1QGNocm9taXVt
Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICB3
aW5kb3cub3BlbkRhdGFiYXNlKCkgYWx3YXlzIGZhaWxzIGZvciBuZXcgZGF0YWJhc2VzIHdoZW4g
dXNpbmcgV2ViS2l0IG5pZ2h0bHkgd2l0aCBTYWZhcmkgNC4wLjUKKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM2NjcxCisKKyAgICAgICAgVGhlIHByZXZp
b3VzICJmaXgiIEkgbWlzdGFrZW5seSBjb21wYXJlZCBoYXNoZXMsIGFuIGltcHJvdmVtZW50IG92
ZXIgY29tcGFyaW5nIHBvaW50ZXJzLCBidXQgc3RpbGwgbm90IHJpZ2h0LgorCisgICAgICAgIE5v
IG5ldyB0ZXN0cy4KKworICAgICAgICAqIHN0b3JhZ2UvRGF0YWJhc2VUcmFja2VyLmNwcDoKKyAg
ICAgICAgKFdlYkNvcmU6OkRhdGFiYXNlVHJhY2tlcjo6ZnVsbFBhdGhGb3JEYXRhYmFzZU5vTG9j
ayk6IFVzZSBTZWN1cml0eU9yaWdpbjo6ZXF1YWwgdG8gY29tcGFyZSBpbnN0ZWFkIG9mIFNlY3Vy
aXR5T3JpZ2luSGFzaC4KKwogMjAxMC0wNC0wNSAgQWRhb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pZXIoKTsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53376</attachid>
            <date>2010-04-14 15:34:22 -0700</date>
            <delta_ts>2010-04-16 13:18:06 -0700</delta_ts>
            <desc>another patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1365</size>
            <attacher name="Dumitru Daniliuc">dumi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NzYxMykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMTAtMDQtMTQgIER1bWl0cnUgRGFuaWxpdWMgIDxkdW1pQGNocm9t
aXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBNYWtlIFNhZmFyaSBjb3JyZWN0bHkgYWxsb2NhdGUgNU1CIG9mIERCIHN0b3JhZ2UgdG8gYWxs
IG5ldworCW9yaWdpbnMuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0zNjY3MQorCisgICAgICAgICogc3RvcmFnZS9EYXRhYmFzZVRyYWNrZXIuY3BwOgor
ICAgICAgICAoV2ViQ29yZTo6RGF0YWJhc2VUcmFja2VyOjpkZXRhaWxzRm9yTmFtZUFuZE9yaWdp
bik6CisKIDIwMTAtMDQtMTQgIFN0ZXZlIEZhbGtlbmJ1cmcgIDxzZmFsa2VuQGFwcGxlLmNvbT4K
IAogICAgICAgICBSZXZpZXdlZCBieSBEYW4gQmVybnN0ZWluLgpJbmRleDogV2ViQ29yZS9zdG9y
YWdlL0RhdGFiYXNlVHJhY2tlci5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViQ29yZS9zdG9yYWdlL0Rh
dGFiYXNlVHJhY2tlci5jcHAJKHJldmlzaW9uIDU3NjEzKQorKysgV2ViQ29yZS9zdG9yYWdlL0Rh
dGFiYXNlVHJhY2tlci5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTM3Nyw3ICszNzcsNyBAQCBEYXRh
YmFzZURldGFpbHMgRGF0YWJhc2VUcmFja2VyOjpkZXRhaWxzCiAgICAgICAgIE11dGV4TG9ja2Vy
IGxvY2tEYXRhYmFzZShtX2RhdGFiYXNlR3VhcmQpOwogCiAgICAgICAgIGZvciAoSGFzaFNldDxQ
cm9wb3NlZERhdGFiYXNlKj46Oml0ZXJhdG9yIGl0ZXIgPSBtX3Byb3Bvc2VkRGF0YWJhc2VzLmJl
Z2luKCk7IGl0ZXIgIT0gbV9wcm9wb3NlZERhdGFiYXNlcy5lbmQoKTsgKytpdGVyKQotICAgICAg
ICAgICAgaWYgKCgqaXRlciktPmZpcnN0ID09IG9yaWdpbiAmJiAoKml0ZXIpLT5zZWNvbmQubmFt
ZSgpID09IG5hbWUpIHsKKyAgICAgICAgICAgIGlmICgoKml0ZXIpLT5zZWNvbmQubmFtZSgpID09
IG5hbWUgJiYgKCppdGVyKS0+Zmlyc3QtPmVxdWFsKG9yaWdpbikpIHsKICAgICAgICAgICAgICAg
ICBBU1NFUlQoKCppdGVyKS0+c2Vjb25kLnRocmVhZCgpID09IGN1cnJlbnRUaHJlYWQoKSk7CiAg
ICAgICAgICAgICAgICAgcmV0dXJuICgqaXRlciktPnNlY29uZDsKICAgICAgICAgICAgIH0K
</data>
<flag name="review"
          id="37096"
          type_id="1"
          status="+"
          setter="ap"
    />
    <flag name="commit-queue"
          id="37097"
          type_id="3"
          status="-"
          setter="dumi"
    />
          </attachment>
      

    </bug>

</bugzilla>