<?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>32922</bug_id>
          
          <creation_ts>2009-12-24 12:05:40 -0800</creation_ts>
          <short_desc>[Qt] fast/text/find-hidden-text.html</short_desc>
          <delta_ts>2010-05-12 00:49:18 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>35784</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Hogan">robert</reporter>
          <assigned_to name="Benjamin Poulain">benjamin</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
    
    <cc>jwieczorek</cc>
    
    <cc>kent.hansen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174803</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2009-12-24 12:05:40 -0800</bug_when>
    <thetext>In Qt this is failing at:

testNonHiddenTextStyle(&quot;position: absolute&quot;, &quot;height:0; overflow:scroll&quot;);
testNonHiddenTextStyle(&quot;position: fixed&quot;, &quot;height:0; overflow:scroll&quot;);

at

            if (scrollbar-&gt;maximum != scrollbar-&gt;minimum) {
                uint range = scrollbar-&gt;maximum - scrollbar-&gt;minimum;
                sliderlen = (qint64(scrollbar-&gt;pageStep) * maxlen) / (range + scrollbar-&gt;pageStep);

in qcommonstyle.cpp (Qt rather than WebKit).

The bt for testNonHiddenTextStyle(&quot;position: absolute&quot;, &quot;height:0; overflow:scroll&quot;);
 is:

(gdb) quit
gdb --interpreter=mi2 -quiet
(gdb) p maxlen
p maxlen
$1 = -48
^done(gdb) p scrollbar-&gt;pageStep
p scrollbar-&gt;pageStep
$2 = -16
^done(gdb) p range
p range
$3 = &lt;value optimized out&gt;
^done(gdb) p scrollbar-&gt;maximum
p scrollbar-&gt;maximum
$4 = 16
^done(gdb) p scrollbar-&gt;minimum
p scrollbar-&gt;minimum
$5 = 0
^done*** Program received signal SIGFPE (Arithmetic exception) ***(gdb) bt
bt
#0 0x0078b59b in __divdi3 (warning: (Internal error: pc 0x78b59b in read in psymtab, but not in symtab.)
) from /lib/libgcc_s.so.1
#1 0x02df64d2 in QCommonStyle::subControlRect (this=0x810caf0, cc=QStyle::CC_ScrollBar, opt=0x2947ee0, sc=QStyle::SC_ScrollBarGroove, widget=0x0) at /var/tmp/qt-x11-src-4.6.0/src/gui/styles/qcommonstyle.cpp:3991
#2 0x01ff3198 in WebCore::ScrollbarThemeQt::trackLength (this=0x2947f48, scrollbar=0x8216750) at ../../../../WebCore/platform/qt/ScrollbarThemeQt.cpp:226
#3 0x01ff2f5b in WebCore::ScrollbarThemeQt::thumbPosition (this=0x2947f48, scrollbar=0x8216750) at ../../../../WebCore/platform/qt/ScrollbarThemeQt.cpp:205
#4 0x01e44509 in WebCore::Scrollbar::setCurrentPos (this=0x8216750, pos=16) at ../../../../WebCore/platform/Scrollbar.cpp:269
#5 0x01e43c28 in WebCore::Scrollbar::setValue (this=0x8216750, v=16) at ../../../../WebCore/platform/Scrollbar.cpp:96
#6 0x01f156af in WebCore::RenderLayer::scrollToOffset (this=0x81e353c, x=0, y=16, updateScrollbars=true, repaint=true) at ../../../../WebCore/rendering/RenderLayer.cpp:1211
#7 0x01f15d39 in WebCore::RenderLayer::scrollRectToVisible (this=0x81e353c, rect=..., scrollToAnchor=false, alignX=..., alignY=...) at ../../../../WebCore/rendering/RenderLayer.cpp:1260
#8 0x01f160d9 in WebCore::RenderLayer::scrollRectToVisible (this=0x8214d2c, rect=..., scrollToAnchor=false, alignX=..., alignY=...) at ../../../../WebCore/rendering/RenderLayer.cpp:1294
#9 0x01d9c09a in WebCore::Frame::revealSelection (this=0x818bef8, alignment=..., revealExtent=false) at ../../../../WebCore/page/Frame.cpp:1363
#10 0x01d9d66a in WebCore::Frame::findString (this=0x818bef8, target=..., forward=true, caseFlag=false, wrapFlag=true, startInSelection=false) at ../../../../WebCore/page/Frame.cpp:1540
#11 0x01ba1984 in executeFindString (frame=0x818bef8, value=...) at ../../../../WebCore/editing/EditorCommand.cpp:399
#12 0x01ba5869 in WebCore::Editor::Command::execute (this=0xbfffe434, parameter=..., triggeringEvent=0x0) at ../../../../WebCore/editing/EditorCommand.cpp:1525
#13 0x01ac40d2 in WebCore::Document::execCommand (this=0x81aa148, commandName=..., userInterface=false, value=...) at ../../../../WebCore/dom/Document.cpp:3365
#14 0x0209468c in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0xb7aa7248, thisValue=..., args=...) at generated/debug/JSDocument.cpp:1876
#15 0x03c4c16e in ?? ()
#16 0x017dd6b7 in JSC::JITCode::execute (this=0x81e95e0, registerFile=0x81afdfc, callFrame=0xb7aa7050, globalData=0x81ae100, exception=0x81aebbc) at ../../../../JavaScriptCore/jit/JITCode.h:79
#17 0x017e56ac in JSC::Interpreter::execute (this=0x81afdf0, functionExecutable=0x81e95d0, callFrame=0x819edf4, function=0xb7a42e00, thisObj=0xb7a40000, args=..., scopeChain=0x81e9260, exception=0x81aebbc) at ../../../../JavaScriptCore/interpreter/Interpreter.cpp:685
#18 0x0187c219 in JSC::JSFunction::call (this=0xb7a42e00, exec=0x819edf4, thisValue=..., args=...) at ../../../../JavaScriptCore/runtime/JSFunction.cpp:120
#19 0x0184ec05 in JSC::call (exec=0x819edf4, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../../../JavaScriptCore/runtime/CallData.cpp:39
#20 0x01981a5a in WebCore::JSEventListener::handleEvent (this=0x81d99d8, scriptExecutionContext=0x81aa178, event=0x81c6f70) at ../../../../WebCore/bindings/js/JSEventListener.cpp:113
#21 0x01aff363 in WebCore::EventTarget::fireEventListeners (this=0x81a3648, event=0x81c6f70) at ../../../../WebCore/dom/EventTarget.cpp:297
#22 0x01d7c36d in WebCore::DOMWindow::dispatchEvent (this=0x81a3648, prpEvent=..., prpTarget=...) at ../../../../WebCore/page/DOMWindow.cpp:1337
#23 0x01d7bf30 in WebCore::DOMWindow::dispatchLoadEvent (this=0x81a3648) at ../../../../WebCore/page/DOMWindow.cpp:1291
#24 0x01ac1e9a in WebCore::Document::dispatchWindowLoadEvent (this=0x81aa148) at ../../../../WebCore/dom/Document.cpp:2904
#25 0x01abd49f in WebCore::Document::implicitClose (this=0x81aa148) at ../../../../WebCore/dom/Document.cpp:1730
#26 0x01d0eabe in WebCore::FrameLoader::checkCallImplicitClose (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:1169
#27 0x01d0e887 in WebCore::FrameLoader::checkCompleted (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:1117
#28 0x01d0e614 in WebCore::FrameLoader::finishedParsing (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:1056
#29 0x01ac74d7 in WebCore::Document::finishedParsing (this=0x81aa148) at ../../../../WebCore/dom/Document.cpp:4061
#30 0x01c6ee3d in WebCore::HTMLParser::finished (this=0x81b2708) at ../../../../WebCore/html/HTMLParser.cpp:1652
#31 0x01c8dc30 in WebCore::HTMLTokenizer::end (this=0x819d228) at ../../../../WebCore/html/HTMLTokenizer.cpp:1868
#32 0x01c8e0a1 in WebCore::HTMLTokenizer::finish (this=0x819d228) at ../../../../WebCore/html/HTMLTokenizer.cpp:1908
#33 0x01abdbc4 in WebCore::Document::finishParsing (this=0x81aa148) at ../../../../WebCore/dom/Document.cpp:1878
#34 0x01d0dd58 in WebCore::FrameLoader::endIfNotLoadingMainResource (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:959
#35 0x01d0dcb1 in WebCore::FrameLoader::end (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:944
#36 0x01cfb7aa in WebCore::DocumentLoader::finishedLoading (this=0x81a5758) at ../../../../WebCore/loader/DocumentLoader.cpp:330
#37 0x01d172eb in WebCore::FrameLoader::finishedLoading (this=0x818bf24) at ../../../../WebCore/loader/FrameLoader.cpp:2733
#38 0x01d3ceba in WebCore::MainResourceLoader::didFinishLoading (this=0x81a6338) at ../../../../WebCore/loader/MainResourceLoader.cpp:424
#39 0x01d48cfa in WebCore::ResourceLoader::didFinishLoading (this=0x81a6338) at ../../../../WebCore/loader/ResourceLoader.cpp:403
#40 0x01fda6ed in WebCore::QNetworkReplyHandler::finish (this=0x81a7440) at ../../../../WebCore/platform/network/qt/QNetworkReplyHandler.cpp:245
#41 0x01fdc7c1 in WebCore::QNetworkReplyHandler::qt_metacall (this=0x81a7440, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x81a6248) at ./moc_QNetworkReplyHandler.cpp:82
#42 0x00591fbb in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#43 0x0059c296 in QMetaCallEvent::placeMetaCall(QObject*) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#44 0x0059e028 in QObject::event(QEvent*) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#45 0x02aa354f in QApplicationPrivate::notify_helper (this=0x81307b0, receiver=0x81a7440, e=0x81a4188) at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication.cpp:4242
#46 0x02aa7711 in QApplication::notify (this=0xbffff6d4, receiver=0x81a7440, e=0x81a4188) at /var/tmp/qt-x11-src-4.6.0/src/gui/kernel/qapplication.cpp:3661
#47 0x0058b9db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#48 0x0058c8fe in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#49 0x0058cbad in QCoreApplication::sendPostedEvents(QObject*, int) () from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#50 0x005b924f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) (warning: (Internal error: pc 0x5b924e in read in psymtab, but not in symtab.)
) from /home/robert/qtsdk-2009.05/qt/lib/libQtCore.so.4
#51 0x00b9ee88 in g_main_context_dispatch (warning: (Internal error: pc 0xb9ee87 in read in psymtab, but not in symtab.)
) from /lib/libglib-2.0.so.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178995</commentid>
    <comment_count>1</comment_count>
      <attachid>46207</attachid>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-01-09 08:41:43 -0800</bug_when>
    <thetext>Created attachment 46207
A reduction

Reproducable when selecting the text in the following example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198037</commentid>
    <comment_count>2</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-03-10 06:28:08 -0800</bug_when>
    <thetext>
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

See http://trac.webkit.org/wiki/QtWebKitBugs

Specifically:

  - The &apos;QtWebKit&apos; component should only be used for bugs/features in the
    public QtWebKit API layer, not to signify that the bug is specific to
    the Qt port of WebKit

      http://trac.webkit.org/wiki/QtWebKitBugs#Component

  - Add the keyword &apos;Qt&apos; to signal that it&apos;s a Qt-related bug

      http://trac.webkit.org/wiki/QtWebKitBugs#Keywords</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200099</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-16 04:00:12 -0700</bug_when>
    <thetext>I&apos;m not able to reproduce this on Mac with r55986, Qt 4.7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223205</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-05-10 02:17:29 -0700</bug_when>
    <thetext>I don&apos;t have the problem with the reduction on 4.7.
Is there anything special to do in order to reproduce the crash? Do you select all the text or a specific sub-string?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223319</commentid>
    <comment_count>5</comment_count>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-05-10 08:21:50 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; I don&apos;t have the problem with the reduction on 4.7.

I can still reproduce this with Qt 4.7 and WebKit trunk.

My suspicion is that Kent and you are using a style that does not call 
the standard QCommonStyle&apos;s ::subControlRect() implementation in this case and at the same time does not trigger this crash.

&gt; Is there anything special to do in order to reproduce the crash? Do you select all the text or a specific sub-string?

It&apos;s crashing right after I start the selection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223325</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-05-10 08:28:36 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; My suspicion is that Kent and you are using a style that does not call 
&gt; the standard QCommonStyle&apos;s ::subControlRect() implementation in this case and at the same time does not trigger this crash.

Which style are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223332</commentid>
    <comment_count>7</comment_count>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-05-10 08:36:03 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; My suspicion is that Kent and you are using a style that does not call 
&gt; &gt; the standard QCommonStyle&apos;s ::subControlRect() implementation in this case and at the same time does not trigger this crash.
&gt; 
&gt; Which style are you using?

I can reproduce this with QGtkStyle as well as pretty much any standard style included in Qt. I recall reproducing it with Oxygen in the past but I can&apos;t say for sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223335</commentid>
    <comment_count>8</comment_count>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-05-10 08:39:25 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; I can reproduce this with QGtkStyle as well as pretty much any standard style included in Qt. I recall reproducing it with Oxygen in the past but I can&apos;t say for sure.

OK, I checked Oxygen and it&apos;s not crashing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223341</commentid>
    <comment_count>9</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-05-10 09:02:00 -0700</bug_when>
    <thetext>I am using Oxygen.

Confirmed with plastique style:
0x00007ffff37e7461 in QCommonStyle::subControlRect (this=0x76ee60, cc=QStyle::CC_ScrollBar, opt=0x7ffff7dddae0, sc=QStyle::SC_ScrollBarGroove, widget=0x0) at /home/ikipou/dev/oslo-staging-1/src/gui/styles/qcommonstyle.cpp:3989
3989                    sliderlen = (qint64(scrollbar-&gt;pageStep) * maxlen) / (range + scrollbar-&gt;pageStep);
(gdb) print range
$1 = 16
(gdb) print scrollbar-&gt;pageStep
$2 = -16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223384</commentid>
    <comment_count>10</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-05-10 10:22:43 -0700</bug_when>
    <thetext>Forgot to mention the merge request here:

http://qt.gitorious.org/qt/qt/merge_requests/2387

and also see Benjamin&apos;s comment there:

&quot;“Revise and resubmit” because this misses an autotest.

I also don’t agree with the fix. since (scrollbar-&gt;maximum != scrollbar-&gt;minimum), range is Superior to 0.
The way to have 0 for the denominator is to have scrollbar-&gt;pageStep equals -range. For me it looks like a wrong value to have QStyleOptionSlider with a negative page step.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223389</commentid>
    <comment_count>11</comment_count>
      <attachid>55567</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-05-10 10:38:40 -0700</bug_when>
    <thetext>Created attachment 55567
Patch

Robert, If I understand correctly, there is already a test to reproduce the crash?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223392</commentid>
    <comment_count>12</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-05-10 10:44:08 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Created an attachment (id=55567) [details]
&gt; Patch
&gt; 
&gt; Robert, If I understand correctly, there is already a test to reproduce the crash?

Yup:  fast/text/find-hidden-text.html ;-)

That patch looks like a good spot!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223397</commentid>
    <comment_count>13</comment_count>
      <attachid>55570</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-05-10 10:53:26 -0700</bug_when>
    <thetext>Created attachment 55570
Patch with test

&gt; Yup:  fast/text/find-hidden-text.html ;-)

Arg, of course, it was carefully hidden in plain sight in the title :)

Same patch, but remove the test from the skipped list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223415</commentid>
    <comment_count>14</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-05-10 11:17:33 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; Created an attachment (id=55570) [details]
&gt; Patch with test
&gt; 
&gt; &gt; Yup:  fast/text/find-hidden-text.html ;-)
&gt; 
&gt; Arg, of course, it was carefully hidden in plain sight in the title :)
&gt; 

Just like the fix. Shortly before your patch I looked up pageStep in WebCore and didn&apos;t blink when I saw opt.pageStep = scrollbar-&gt;visibleSize.

Odd that so much of the scrollbars tests passed with that in there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223928</commentid>
    <comment_count>15</comment_count>
      <attachid>55570</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-11 08:16:04 -0700</bug_when>
    <thetext>Comment on attachment 55570
Patch with test

Clearing flags on attachment: 55570

Committed r59151: &lt;http://trac.webkit.org/changeset/59151&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223929</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-11 08:16:10 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224457</commentid>
    <comment_count>17</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-12 00:49:08 -0700</bug_when>
    <thetext>Revision r59151 cherry-picked into qtwebkit-2.0 with commit 4aa4ea037fc467194c16a4959caca96a8da4f412</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46207</attachid>
            <date>2010-01-09 08:41:43 -0800</date>
            <delta_ts>2010-01-09 08:41:43 -0800</delta_ts>
            <desc>A reduction</desc>
            <filename>reduction.html</filename>
            <type>text/html</type>
            <size>154</size>
            <attacher name="Jakub Wieczorek">jwieczorek</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgICA8Ym9keT4KICAgICAgICA8ZGl2IHN0eWxlPSJoZWlnaHQ6IDA7IG92ZXJmbG93
OiBzY3JvbGwiPgogICAgICAgICAgICA8ZGl2IHN0eWxlPSJwb3NpdGlvbjogZml4ZWQiPndvcmQ8
L2Rpdj4KICAgICAgICA8L2Rpdj4KICAgIDwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55567</attachid>
            <date>2010-05-10 10:38:40 -0700</date>
            <delta_ts>2010-05-10 10:56:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>32922.patch</filename>
            <type>text/plain</type>
            <size>1339</size>
            <attacher name="Benjamin Poulain">benjamin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ZDE2NDQxYy4uNjNlMDYyZS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XZWJDb3JlL3BsYXRmb3JtL3F0L1Njcm9sbGJhclRoZW1lUXQuY3BwCkBAIC0xMTQsNyArMTE0
LDcgQEAgc3RhdGljIFFTdHlsZU9wdGlvblNsaWRlciogc3R5bGVPcHRpb25TbGlkZXIoU2Nyb2xs
YmFyKiBzY3JvbGxiYXIsIFFXaWRnZXQqIHdpZGcKICAgICAgICAgb3B0LnN0YXRlIHw9IFFTdHls
ZTo6U3RhdGVfSG9yaXpvbnRhbDsKICAgICBvcHQuc2xpZGVyVmFsdWUgPSBzY3JvbGxiYXItPnZh
bHVlKCk7CiAgICAgb3B0LnNsaWRlclBvc2l0aW9uID0gb3B0LnNsaWRlclZhbHVlOwotICAgIG9w
dC5wYWdlU3RlcCA9IHNjcm9sbGJhci0+dmlzaWJsZVNpemUoKTsKKyAgICBvcHQucGFnZVN0ZXAg
PSBzY3JvbGxiYXItPnBhZ2VTdGVwKCk7CiAgICAgb3B0LnNpbmdsZVN0ZXAgPSBzY3JvbGxiYXIt
PmxpbmVTdGVwKCk7CiAgICAgb3B0Lm1pbmltdW0gPSAwOwogICAgIG9wdC5tYXhpbXVtID0gcU1h
eCgwLCBzY3JvbGxiYXItPm1heGltdW0oKSk7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55570</attachid>
            <date>2010-05-10 10:53:26 -0700</date>
            <delta_ts>2010-05-11 08:16:04 -0700</delta_ts>
            <desc>Patch with test</desc>
            <filename>32922.patch</filename>
            <type>text/plain</type>
            <size>2383</size>
            <attacher name="Benjamin Poulain">benjamin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCBkODM5MTZjLi5kMTBjZWZlIDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VM
b2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9n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