<?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>31352</bug_id>
          
          <creation_ts>2009-11-11 07:48:21 -0800</creation_ts>
          <short_desc>[GTK] Failing test media/video-document-types.html</short_desc>
          <delta_ts>2010-10-28 09:57:48 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>otte</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>162473</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-11-11 07:48:21 -0800</bug_when>
    <thetext>Since the fix of Bug 30221, that test is re-enabled but crashes on the Debug slaves.

#0  0xf6c30b76 in WebCore::FrameLoader::addData (this=0x8440a7c, 
    bytes=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebCore/loader/FrameLoader.cpp:1465
        __PRETTY_FUNCTION__ = &quot;void WebCore::FrameLoader::addData(const char*, int)&quot;
#1  0xf66e5aa9 in WebKit::FrameLoaderClient::committedLoad (this=0x8440988, loader=0x8441db0, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:151
        encoding = {m_impl = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x0}}
        userChosen = false
        frameLoader = 0x8440a7c
        __PRETTY_FUNCTION__ = &quot;virtual void WebKit::FrameLoaderClient::committedLoad(WebCore::DocumentLoader*, const char*, int)&quot;
#2  0xf6c2b2a6 in WebCore::FrameLoader::committedLoad (this=0x8440a7c, loader=0x8441db0, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebCore/loader/FrameLoader.cpp:3209
No locals.
#3  0xf6c17e5b in WebCore::DocumentLoader::commitLoad (this=0x8441db0, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebCore/loader/DocumentLoader.cpp:342
        frameLoader = 0x8440a7c
        protect = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x8441db0}
#4  0xf6c17ec4 in WebCore::DocumentLoader::receivedData (this=0x8441db0, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebCore/loader/DocumentLoader.cpp:354
No locals.
#5  0xf6c2d9b5 in WebCore::FrameLoader::receivedData (this=0x8440a7c, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192)
    at ../../WebCore/loader/FrameLoader.cpp:2061
No locals.
#6  0xf6c4564a in WebCore::MainResourceLoader::addData (this=0x8447130, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192, 
    allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:143
No locals.
#7  0xf6c5059b in WebCore::ResourceLoader::didReceiveData (this=0x8447130, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192, 
    lengthReceived=16384, allAtOnce=false) at ../../WebCore/loader/ResourceLoader.cpp:248
        protector = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x8447130}
#8  0xf6c44e18 in WebCore::MainResourceLoader::didReceiveData (this=0x8447130, 
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192, 
    lengthReceived=16384, allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:374
        protect = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x8447130}
        __PRETTY_FUNCTION__ = &quot;virtual void WebCore::MainResourceLoader::didReceiveData(const char*, int, long long int, bool)&quot;
#9  0xf6c4f8e0 in WebCore::ResourceLoader::didReceiveData (this=0x8447130, 
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
    data=0x8572c68 &quot;\335\332\&quot;\356\350#\325!:Ȣf#Q\223\1\32p+j@\36\3\320px\b\17D0\f\a\200\372\65\70C\36\373 \370\36\3\373\220x\b!\301\340 [&quot;, length=8192, 
    lengthReceived=16384) at ../../WebCore/loader/ResourceLoader.cpp:398
No locals.
#10 0xf70c97eb in readCallback (source=0x80a96f0, res=0x84098e0) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:736
        handle = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x8442a18}
        d = 0x8443678
        client = 0x8447130
        error = 0x0
        bytesRead = 8192
#11 0xf4db65cf in async_ready_callback_wrapper (source_object=0x80a96f0, res=0x84098e0, user_data=0x0)
    at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gio/ginputstream.c:471
No locals.
#12 0xf4dc4cd9 in IA__g_simple_async_result_complete (simple=0x84098e0)
    at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gio/gsimpleasyncresult.c:588
        current_source = &lt;value optimized out&gt;
        current_context = 0x809b390
        __PRETTY_FUNCTION__ = &quot;IA__g_simple_async_result_complete&quot;
#13 0xf4dc500e in complete_in_idle_cb_for_thread (_data=0x80ee430) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/gio/gsimpleasyncresult.c:650
        simple = 0x84098e0
#14 0xf4cb90b1 in g_idle_dispatch (source=0xf3300628, callback=0xbbadbeef, user_data=0x80ee430)
    at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:4065
No locals.
#15 0xf4cbae98 in g_main_dispatch (context=0x809b390) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:1960
        __PRETTY_FUNCTION__ = &quot;g_main_dispatch&quot;
#16 IA__g_main_context_dispatch (context=0x809b390) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2513
No locals.
#17 0xf4cbe623 in g_main_context_iterate (context=0x809b390, block=1, dispatch=1, self=0x8076218)
    at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2591
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 2
        allocated_nfds = &lt;value optimized out&gt;
        fds = 0xf3300478
        __PRETTY_FUNCTION__ = &quot;g_main_context_iterate&quot;
#18 0xf4cbeaea in IA__g_main_loop_run (loop=0xf3300468) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2799
        self = 0x8076218
        __PRETTY_FUNCTION__ = &quot;IA__g_main_loop_run&quot;
#19 0xf50d8eb9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x080567e8 in runTest (testPathOrURL=...) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:487
        pathOrURL = {static npos = 4294967295, 
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
          _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, 
            _M_p = 0x80fdbdc &quot;/tmp/LayoutTests/media/video-document-types.html&quot;}}
        expectedPixelHash = {static npos = 4294967295, 
          _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, _M_p = 0xf4b6073c &quot;&quot;}}
        separatorPos = 4294967295
        url = 0x0
        testURL = {static npos = 4294967295, 
          _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, 
            _M_p = 0x80fddfc &quot;file:///tmp/LayoutTests/media/video-document-types.html&quot;}}
        isSVGW3CTest = false
        size = {x = 0, y = 0, width = 800, height = 600}
        bfList = 0x8075d20
        __PRETTY_FUNCTION__ = &quot;void runTest(const std::string&amp;)&quot;
#21 0x08056ce7 in main (argc=2, argv=0xffffd784) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:817
        i = 1
        options = {{name = 0x805cc6c &quot;notree&quot;, has_arg = 0, flag = 0x805f740, val = 0}, {name = 0x805cc73 &quot;pixel-tests&quot;, has_arg = 0, flag = 0x80608f4, 
            val = 1}, {name = 0x805cc7f &quot;tree&quot;, has_arg = 0, flag = 0x805f740, val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        option = -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162474</commentid>
    <comment_count>1</comment_count>
      <attachid>42962</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-11-11 07:51:04 -0800</bug_when>
    <thetext>Created attachment 42962
Set document to parsing mode before parsing more data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162843</commentid>
    <comment_count>2</comment_count>
      <attachid>42962</attachid>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-11-12 02:11:41 -0800</bug_when>
    <thetext>Comment on attachment 42962
Set document to parsing mode before parsing more data.

&gt; --- a/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
&gt; +++ b/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
&gt; @@ -147,8 +147,11 @@ void FrameLoaderClient::committedLoad(WebCore::DocumentLoader* loader, const cha
&gt;  
&gt;          FrameLoader* frameLoader = loader-&gt;frameLoader();
&gt;          frameLoader-&gt;setEncoding(encoding, userChosen);
&gt; -        if (data)
&gt; +        if (data) {
&gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(true);
&gt;              frameLoader-&gt;addData(data, length);
&gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(false);

Can you please expound more why we&apos;re doing this in the client interface?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162980</commentid>
    <comment_count>3</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-11-12 11:25:33 -0800</bug_when>
    <thetext>(In reply to comment #2)

&gt; &gt; -        if (data)
&gt; &gt; +        if (data) {
&gt; &gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(true);
&gt; &gt;              frameLoader-&gt;addData(data, length);
&gt; &gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(false);
&gt; 
&gt; Can you please expound more why we&apos;re doing this in the client interface?

This looks wrong. Mac and Win do not seem to do this. Hrm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162988</commentid>
    <comment_count>4</comment_count>
      <attachid>42962</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-11-12 11:48:49 -0800</bug_when>
    <thetext>Comment on attachment 42962
Set document to parsing mode before parsing more data.

&gt;          FrameLoader* frameLoader = loader-&gt;frameLoader();
&gt;          frameLoader-&gt;setEncoding(encoding, userChosen);
&gt; -        if (data)
&gt; +        if (data) {
&gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(true);
&gt;              frameLoader-&gt;addData(data, length);
&gt; +            frameLoader-&gt;frame()-&gt;document()-&gt;setParsing(false);
&gt; +        }
&gt;      }

This crash seems to be caused by the MediaDocument stopping parsing prematurely:

bool MediaTokenizer::writeRawData(const char*, int)
{
    ASSERT(!m_mediaElement);
    if (m_mediaElement)
        return false;
        
    createDocumentStructure();
    finish();
    return false;
}
    
[...]
    
void MediaTokenizer::finish()
{
    if (!m_parserStopped) 
        m_doc-&gt;finishedParsing();
}

I wonder why this is done like this. Maybe Mac and Win are delegating the loading of the video to something else? Anyway, since this is only a problem with Media documents, I think what the patch is doing is fairly certainly hiding a different issue, so r-.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162996</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-11-12 11:59:23 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I wonder why this is done like this. Maybe Mac and Win are delegating the
&gt; loading of the video to something else? Anyway, since this is only a problem
&gt; with Media documents, I think what the patch is doing is fairly certainly
&gt; hiding a different issue, so r-.

http://trac.webkit.org/changeset/36001


ooook... here&apos;s what: mac is apparently letting a plugin handle the load, which is why it tells the loader to finish the parsing, and then it cancels the main load in platform-specific code; we should either cancel the load, or not call that finish() there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163029</commentid>
    <comment_count>6</comment_count>
      <attachid>43093</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-11-12 13:22:46 -0800</bug_when>
    <thetext>Created attachment 43093
proposed fix

ok, I found the problem; we need to cancel the main load, like mac does, and we do need to handle the &quot;plugin will handle load&quot; error specially, as we thought we probably should.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163285</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-11-13 05:23:08 -0800</bug_when>
    <thetext>Yes that new patch is much better than what I came up with ;) Thanks for investigating on this Gustavo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164531</commentid>
    <comment_count>8</comment_count>
      <attachid>43093</attachid>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2009-11-18 04:41:28 -0800</bug_when>
    <thetext>Comment on attachment 43093
proposed fix

Makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164533</commentid>
    <comment_count>9</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-11-18 04:49:11 -0800</bug_when>
    <thetext>Thanks. Landed as r51104.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301127</commentid>
    <comment_count>10</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-10-28 09:56:25 -0700</bug_when>
    <thetext>*** Bug 30161 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301129</commentid>
    <comment_count>11</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-10-28 09:57:48 -0700</bug_when>
    <thetext>*** Bug 30363 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42962</attachid>
            <date>2009-11-11 07:51:04 -0800</date>
            <delta_ts>2009-11-12 13:22:46 -0800</delta_ts>
            <desc>Set document to parsing mode before parsing more data.</desc>
            <filename>Set-document-to-parsing-mode-before-parsing-more-d.patch</filename>
            <type>text/plain</type>
            <size>1811</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">RnJvbSA3MGUwMmJiNjZhZGJkN2I3ZjRkNTRkNDJkODhiMmU3MGMwZGI0NGE5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwZSBOb3JtYW5kIDxwbm9ybWFuZEBpZ2FsaWEuY29t
PgpEYXRlOiBXZWQsIDExIE5vdiAyMDA5IDE2OjUwOjIyICswMTAwClN1YmplY3Q6IFtQQVRDSF0g
U2V0IGRvY3VtZW50IHRvIHBhcnNpbmcgbW9kZSBiZWZvcmUgcGFyc2luZyBtb3JlIGRhdGEuCgot
LS0KIFdlYktpdC9ndGsvQ2hhbmdlTG9nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwg
ICAxMiArKysrKysrKysrKysKIFdlYktpdC9ndGsvV2ViQ29yZVN1cHBvcnQvRnJhbWVMb2FkZXJD
bGllbnRHdGsuY3BwIHwgICAgNSArKysrLQogMiBmaWxlcyBjaGFuZ2VkLCAxNiBpbnNlcnRpb25z
KCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL1dlYktpdC9ndGsvQ2hhbmdlTG9nIGIv
V2ViS2l0L2d0ay9DaGFuZ2VMb2cKaW5kZXggNzY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ndGsvV2ViQ29yZVN1cHBvcnQvRnJhbWVMb2FkZXJDbGllbnRHdGsu
Y3BwCkBAIC0xNDcsOCArMTQ3LDExIEBAIHZvaWQgRnJhbWVMb2FkZXJDbGllbnQ6OmNvbW1pdHRl
ZExvYWQoV2ViQ29yZTo6RG9jdW1lbnRMb2FkZXIqIGxvYWRlciwgY29uc3QgY2hhCiAKICAgICAg
ICAgRnJhbWVMb2FkZXIqIGZyYW1lTG9hZGVyID0gbG9hZGVyLT5mcmFtZUxvYWRlcigpOwogICAg
ICAgICBmcmFtZUxvYWRlci0+c2V0RW5jb2RpbmcoZW5jb2RpbmcsIHVzZXJDaG9zZW4pOwotICAg
ICAgICBpZiAoZGF0YSkKKyAgICAgICAgaWYgKGRhdGEpIHsKKyAgICAgICAgICAgIGZyYW1lTG9h
ZGVyLT5mcmFtZSgpLT5kb2N1bWVudCgpLT5zZXRQYXJzaW5nKHRydWUpOwogICAgICAgICAgICAg
ZnJhbWVMb2FkZXItPmFkZERhdGEoZGF0YSwgbGVuZ3RoKTsKKyAgICAgICAgICAgIGZyYW1lTG9h
ZGVyLT5mcmFtZSgpLT5kb2N1bWVudCgpLT5zZXRQYXJzaW5nKGZhbHNlKTsKKyAgICAgICAgfQog
ICAgIH0KIAogICAgIGlmIChtX3BsdWdpblZpZXcpIHsKLS0gCjEuNi4zLjM=
</data>
<flag name="review"
          id="24598"
          type_id="1"
          status="-"
          setter="gustavo"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43093</attachid>
            <date>2009-11-12 13:22:46 -0800</date>
            <delta_ts>2009-11-18 04:41:28 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>0001-Cancel-main-load-if-we-are-turning-it-into-a-video-t.patch</filename>
            <type>text/plain</type>
            <size>2750</size>
            <attacher name="Gustavo Noronha (kov)">gustavo</attacher>
            
              <data encoding="base64">RnJvbSBjMTJhZTFlZDBhM2IwNGFjYzQ1NWUxOTc2ZmE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Vycm9yQ29kZSgpID09IFdFQktJVF9QT0xJ
Q1lfRVJST1JfRlJBTUVfTE9BRF9JTlRFUlJVUFRFRF9CWV9QT0xJQ1lfQ0hBTkdFKTsKKyAgICBy
ZXR1cm4gIShlcnJvci5pc0NhbmNlbGxhdGlvbigpIHx8IGVycm9yLmVycm9yQ29kZSgpID09IFdF
QktJVF9QT0xJQ1lfRVJST1JfRlJBTUVfTE9BRF9JTlRFUlJVUFRFRF9CWV9QT0xJQ1lfQ0hBTkdF
IHx8IGVycm9yLmVycm9yQ29kZSgpID09IFdFQktJVF9QTFVHSU5fRVJST1JfV0lMTF9IQU5ETEVf
TE9BRCk7CiB9CiAKIGJvb2wgRnJhbWVMb2FkZXJDbGllbnQ6OmNhbkNhY2hlUGFnZSgpIGNvbnN0
Ci0tIAoxLjYuNS4yCgo=
</data>
<flag name="review"
          id="24751"
          type_id="1"
          status="+"
          setter="xan.lopez"
    />
    <flag name="commit-queue"
          id="24752"
          type_id="3"
          status="-"
          setter="gustavo"
    />
          </attachment>
      

    </bug>

</bugzilla>