<?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>105407</bug_id>
          
          <creation_ts>2012-12-19 02:26:43 -0800</creation_ts>
          <short_desc>Current error reporting method used by check-layout.js should not affect subsequent sub-tests using checking data-offset-y.</short_desc>
          <delta_ts>2013-01-29 12:55:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pravin D">pravind.2k4</reporter>
          <assigned_to name="Pravin D">pravind.2k4</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>ojan</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>794469</commentid>
    <comment_count>0</comment_count>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-19 02:26:43 -0800</bug_when>
    <thetext>Description:
Consider a testcase which contains a set of sub-tests all checking if the element has correct data-offset-y(offsetTop).

When one of the sub-tests fails, the failure msg is appended to the elements container(in our case, its the sub-test). 
This extra content changes the offsetTop of other subsequent sub-tests and all sub-tests following the failing test case also fail.

This becomes confusing/time consuming when either creating a test-case or debugging test failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794671</commentid>
    <comment_count>1</comment_count>
      <attachid>180166</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-19 07:50:51 -0800</bug_when>
    <thetext>Created attachment 180166
TestCase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794752</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-12-19 09:40:44 -0800</bug_when>
    <thetext>Maybe we should save error messages + their containers into an array and only write them out at the end of the test? If we wanted to be paranoid, we could do it in a try/finally to ensure that we write out the errors even if the test throws an exception, although, it really shouldn&apos;t since all the relevant code is in check-layout.js.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794811</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-12-19 11:00:19 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Maybe we should save error messages + their containers into an array and only write them out at the end of the test? If we wanted to be paranoid, we could do it in a try/finally to ensure that we write out the errors even if the test throws an exception, although, it really shouldn&apos;t since all the relevant code is in check-layout.js.

Some other options:

We currently append PASS/FAIL next to the parent node, or if the parent node has the container class, we append next to the parent&apos;s parent.  That&apos;s kind of hacky.  We could add an optional param to checkLayout() for the node to append results to (and make the PASS text more clear like listing the id or class of the passing node).

Alternately, we could add an attribute like data-log-results=&quot;some-div-id&quot;. If we see that, we write the results to some-div-id.

Anyway, I think any of these approaches are fine.  It&apos;s a little weird that for some of the existing writing mode tests the word &quot;PASS&quot; ends up being written vertically.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794879</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-12-19 13:15:44 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; We currently append PASS/FAIL next to the parent node, or if the parent node has the container class, we append next to the parent&apos;s parent.  That&apos;s kind of hacky.  We could add an optional param to checkLayout() for the node to append results to (and make the PASS text more clear like listing the id or class of the passing node).

I agree this is less hacky, but it&apos;s also harder to use with tests that have lots of test-cases. It&apos;s hard to match up the failure to the test case.

&gt; Alternately, we could add an attribute like data-log-results=&quot;some-div-id&quot;. If we see that, we write the results to some-div-id.

Same issue, right? Also, I don&apos;t like adding more work for people to do when writing these tests.

&gt; Anyway, I think any of these approaches are fine.  It&apos;s a little weird that for some of the existing writing mode tests the word &quot;PASS&quot; ends up being written vertically.

I agree that it&apos;s unfortunate that the logging output affects the tests and is affected by the tests. We could use shadow-dom with resetStyleInheritance. :)

More seriously, with my original proposal, we could put them in a separate container div at the end and absolutely position the elements after the test-case to minimize the affects between tests and their output?

I&apos;d really like to keep the behavior of having the failure output be next to the test case if possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794891</commentid>
    <comment_count>5</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-12-19 13:33:10 -0800</bug_when>
    <thetext>All my suggestions were for an optional parameter.  The default behavior would be to do what we currently do.  I don&apos;t think there are that many tests that need to set a custom output location.  We shouldn&apos;t need to edit or rebaseline any existing tests.

I think it would be hard to know where to place the result using absolute positioning.

The other option would be to do nothing.  In the attached test case, you can easily avoid the problem by doing checkLayout(&apos;body&apos;), although you only get a single PASS or FAIL.  If you want a separate PASS/FAIL for each test case, you could wrap each test in a position:relative div.  We do that for a lot of the flexbox tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794987</commentid>
    <comment_count>6</comment_count>
      <attachid>180234</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-19 15:03:22 -0800</bug_when>
    <thetext>Created attachment 180234
Proped Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794990</commentid>
    <comment_count>7</comment_count>
      <attachid>180234</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-19 15:05:58 -0800</bug_when>
    <thetext>Comment on attachment 180234
Proped Patch

Reversing the order in which nodes are processed should ideally fix the issue. 
@Ojan, @Tony please let me know ur opinions.
Also am not sure where to add a test case for this fix... Suggestion req on the same.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795011</commentid>
    <comment_count>8</comment_count>
      <attachid>180234</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-19 15:55:15 -0800</bug_when>
    <thetext>Comment on attachment 180234
Proped Patch

Attachment 180234 did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/15401804

New failing tests:
css3/flexbox/flex-algorithm-with-margins.html
css3/flexbox/box-sizing.html
css3/flexbox/flex-flow-margins.html
css3/flexbox/flex-align.html
animations/suspend-resume-animation-events.html
css3/flexbox/flex-align-percent-height.html
css3/flexbox/flex-align-vertical-writing-mode.html
css3/flexbox/align-absolute-child.html
css3/flexbox/flex-item-min-size.html
css3/flexbox/flex-no-flex.html
css3/flexbox/flex-algorithm.html
css3/flexbox/columns-height-set-via-top-bottom.html
css3/flexbox/flex-flow.html
css3/flexbox/flex-align-column.html
css3/flexbox/flex-algorithm-min-max.html
css3/flexbox/flex-item-child-overflow.html
css3/flexbox/flex-flow-margins-auto-size.html
css3/flexbox/flex-align-max.html
css3/flexbox/auto-height-dynamic.html
css3/flexbox/flex-flow-auto-margins.html
css3/flexbox/flex-flow-padding.html
css3/flexbox/columns-auto-size.html
css3/flexbox/flex-align-end.html
css3/flexbox/flex-flow-orientations.html
css3/flexbox/flex-flow-overflow.html
css3/flexbox/flex-align-stretch.html
css3/flexbox/flex-flow-auto-margins-no-available-space.html
css3/flexbox/flex-flow-border.html
css3/flexbox/box-sizing-min-max-sizes.html
css3/flexbox/flex-justify-content.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795068</commentid>
    <comment_count>9</comment_count>
      <attachid>180234</attachid>
    <who name="Build Bot">buildbot</who>
    <bug_when>2012-12-19 17:38:47 -0800</bug_when>
    <thetext>Comment on attachment 180234
Proped Patch

Attachment 180234 did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/15403871

New failing tests:
css3/flexbox/flex-algorithm-with-margins.html
css3/flexbox/box-sizing.html
css3/flexbox/flex-flow-margins.html
css3/flexbox/flex-align.html
css3/flexbox/flex-align-percent-height.html
css3/flexbox/flex-align-vertical-writing-mode.html
css3/flexbox/align-absolute-child.html
css3/flexbox/flex-item-min-size.html
css3/flexbox/flex-no-flex.html
css3/flexbox/flex-algorithm.html
css3/flexbox/columns-height-set-via-top-bottom.html
css3/flexbox/flex-flow.html
css3/flexbox/flex-align-column.html
css3/flexbox/flex-algorithm-min-max.html
css3/flexbox/flex-item-child-overflow.html
css3/flexbox/flex-flow-margins-auto-size.html
css3/flexbox/flex-align-max.html
css3/flexbox/auto-height-dynamic.html
css3/flexbox/flex-flow-auto-margins.html
css3/flexbox/flex-flow-padding.html
css3/flexbox/columns-auto-size.html
css3/flexbox/flex-align-end.html
css3/flexbox/flex-flow-orientations.html
css3/flexbox/flex-flow-overflow.html
compositing/overflow/overflow-auto-with-touch-toggle.html
css3/flexbox/flex-align-stretch.html
css3/flexbox/flex-flow-auto-margins-no-available-space.html
css3/flexbox/flex-flow-border.html
css3/flexbox/box-sizing-min-max-sizes.html
css3/flexbox/flex-justify-content.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795551</commentid>
    <comment_count>10</comment_count>
      <attachid>180234</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-12-20 10:35:30 -0800</bug_when>
    <thetext>Comment on attachment 180234
Proped Patch

CONSOLE MESSAGE: line 163: Uncaught TypeError: [object Array] is not a function is what the tests are spewing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795697</commentid>
    <comment_count>11</comment_count>
      <attachid>180392</attachid>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-20 12:56:49 -0800</bug_when>
    <thetext>Created attachment 180392
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795698</commentid>
    <comment_count>12</comment_count>
    <who name="Pravin D">pravind.2k4</who>
    <bug_when>2012-12-20 12:58:29 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; (From update of attachment 180234 [details])
&gt; CONSOLE MESSAGE: line 163: Uncaught TypeError: [object Array] is not a function is what the tests are spewing.
&gt; 
I extremely sorry for this. Have uploaded another patch, with which test case do not seem to fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795754</commentid>
    <comment_count>13</comment_count>
      <attachid>180392</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-12-20 13:42:31 -0800</bug_when>
    <thetext>Comment on attachment 180392
Patch

Seems fine to me. Ojan might have an opinion, but he won&apos;t be back from vacation until January.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>819195</commentid>
    <comment_count>14</comment_count>
      <attachid>180392</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2013-01-29 12:25:40 -0800</bug_when>
    <thetext>Comment on attachment 180392
Patch

I&apos;m a bit torn on whether this is the best solution. I still somewhat prefer the approach of saving everything in an error array and then writing out all the errors at the end. But, I don&apos;t see any immediate problems with this simpler approach.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>819238</commentid>
    <comment_count>15</comment_count>
      <attachid>180392</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-29 12:55:48 -0800</bug_when>
    <thetext>Comment on attachment 180392
Patch

Clearing flags on attachment: 180392

Committed r141147: &lt;http://trac.webkit.org/changeset/141147&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>819239</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-29 12:55:52 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>180166</attachid>
            <date>2012-12-19 07:50:51 -0800</date>
            <delta_ts>2012-12-19 07:50:51 -0800</delta_ts>
            <desc>TestCase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>1979</size>
            <attacher name="Pravin D">pravind.2k4</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHNjcmlwdCBzcmM9ImNoZWNrLWxheW91dC5q
cyI+PC9zY3JpcHQ+CjxzdHlsZT4KLmlubGluZSB7CiAgd2lkdGg6MjAwcHg7CiAgaGVpZ2h0OjIw
cHg7CiAgYmFja2dyb3VuZDpncmVlbjsKICBkaXNwbGF5OmJsb2NrOwogIGxpbmUtaGVpZ2h0OjE7
CiAgZm9udC1zaXplOiAxNnB4Owp9Cjwvc3R5bGU+CjxzY3JpcHQ+CmZ1bmN0aW9uIHByZXBhcmVU
ZXN0Q2FzZSgpIHsKICAgIHZhciBzYW1wbGVzID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeUNsYXNz
TmFtZSgnc2FtcGxlJyk7CiAgICB2YXIgb2Zmc2V0MSA9IHNhbXBsZXNbMF0ub2Zmc2V0VG9wOwog
ICAgdmFyIG9mZnNldDIgPSBzYW1wbGVzWzFdLm9mZnNldFRvcDsKICAgIGNoZWNrTGF5b3V0KCcu
c2FtcGxlJyk7CiAgICB2YXIgZGlmZiA9IHNhbXBsZXNbMV0ub2Zmc2V0VG9wIC0gb2Zmc2V0MjsK
ICAgIHNhbXBsZXMgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnZHVtbXknKTsKICAgIGRvY3Vt
ZW50LmJvZHkucmVtb3ZlQ2hpbGQoc2FtcGxlcyk7CiAgICByZXR1cm4gZGlmZjsKfQpmdW5jdGlv
biBydW5UZXN0KCkgewogICAgdmFyIGRpZmYgPSBwcmVwYXJlVGVzdENhc2UoKTsKICAgIHZhciBl
bGVtZW50cyA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoJ2lubGluZScpOwogICAg
QXJyYXkucHJvdG90eXBlLmZvckVhY2guY2FsbChlbGVtZW50cywgZnVuY3Rpb24oZWxlbWVudCkg
ewogICAgICAgIGVsZ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ZSBzaG91bGQgbm90
IGZhaWw8L2Rpdj4KPGRpdiBjbGFzcz0iaW5saW5lIiBkYXRhLW9mZnNldC15PlRoaXMgdGVzdGNh
c2Ugc2hvdWxkIG5vdCBmYWlsPC9kaXY+CjxkaXY+CjxiPkFib3V0IHRoZSBUZXN0Q2FzZTogPC9i
PgpUaGUgc3ViLXRlc3RjYXNlcyBhZnRlciAiVGhpcyB0ZXN0Y2FzZSBzaG91bGQgZmFpbCIgc2hv
dWxkIG5vdCBiZSBhZmZlY3RlZCBieSB0aGUgZmFpbHVyZSBtZXNzYWdlLiBUaHVzIHN1YnNlcXVl
bnQgdGVzdGNhc2VzIHNob3VsZCBub3QgZmFpbC4KQWxzbyBwcmVwYXJlVGVzdENhc2UoKSB3YXMg
dXNlZCBhcyB0aGUgc3VjY2VzcyBtZXNzYWdlKCJQQVNTIikgb2YgdGhlIHN1Yi10ZXN0Y2FzZXMg
IkZpbGxlciB0ZXN0Y2FzZSIgYWxzbyBhZmZlY3RlZCB0aGUgb2Zmc2V0VG9wIG9mIHN1YnNlcXVl
bnQgc3ViLXRlc3RjYXNlcy4KPC9kaXY+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>180234</attachid>
            <date>2012-12-19 15:03:22 -0800</date>
            <delta_ts>2012-12-20 12:56:44 -0800</delta_ts>
            <desc>Proped Patch</desc>
            <filename>bug-105407-20121220043557.patch</filename>
            <type>text/plain</type>
            <size>1758</size>
            <attacher name="Pravin D">pravind.2k4</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDEzODE5NSkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
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ViICA8bGV2aXdAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJlLXNraXBwaW5nIHRvdWNoLWlu
cHV0LWVsZW1lbnQtY2hhbmctZG9jdW1lbnRzLmh0bWwgc2luY2UgaXQncyBzdGlsbApJbmRleDog
TGF5b3V0VGVzdHMvcmVzb3VyY2VzL2NoZWNrLWxheW91dC5qcwo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlv
dXRUZXN0cy9yZXNvdXJjZXMvY2hlY2stbGF5b3V0LmpzCShyZXZpc2lvbiAxMzgxMjgpCisrKyBM
YXlvdXRUZXN0cy9yZXNvdXJjZXMvY2hlY2stbGF5b3V0LmpzCSh3b3JraW5nIGNvcHkpCkBAIC0x
NTgsNyArMTU4LDkgQEAgd2luZG93LmNoZWNrTGF5b3V0ID0gZnVuY3Rpb24oc2VsZWN0b3JMaQog
ICAgICAgICByZXR1cm47CiAgICAgfQogICAgIHZhciBub2RlcyA9IGRvY3VtZW50LnF1ZXJ5U2Vs
ZWN0b3JBbGwoc2VsZWN0b3JMaXN0KTsKLSAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaC5jYWxs
KG5vZGVzLCBmdW5jdGlvbihub2RlKSB7CisgICAgbm9kZXMgPSBBcnJheS5wcm90b3R5cGUuc2xp
Y2UuY2FsbChub2Rlcyk7CisgICAgbm9kZXMucmV2ZXJzZSgpOworICAgIG5vZGVzLmZvckVhY2go
bm9kZXMsIGZ1bmN0aW9uKG5vZGUpIHsKICAgICAgICAgdmFyIGZhaWx1cmVzID0gW107CiAgICAg
ICAgIGNoZWNrRXhwZWN0ZWRWYWx1ZXMobm9kZS5wYXJlbnROb2RlLCBmYWlsdXJlcyk7CiAgICAg
ICAgIGNoZWNrU3VidHJlZUV4cGVjdGVkVmFsdWVzKG5vZGUsIGZhaWx1cmVzKTsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>180392</attachid>
            <date>2012-12-20 12:56:49 -0800</date>
            <delta_ts>2013-01-29 12:55:48 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-105407-20121221022927.patch</filename>
            <type>text/plain</type>
            <size>1583</size>
            <attacher name="Pravin D">pravind.2k4</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDEzODI4NykKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDEyLTEyLTIwICBQcmF2aW4gRCAgPHByYXZp
bmQuMms0QGdtYWlsLmNvbT4KKworICAgICAgICBDdXJyZW50IGVycm9yIHJlcG9ydGluZyBtZXRo
b2QgdXNlZCBieSBjaGVjay1sYXlvdXQuanMgc2hvdWxkIG5vdCBhZmZlY3Qgc3Vic2VxdWVudCBz
dWItdGVzdHMgdXNpbmcgY2hlY2tpbmcgZGF0YS1vZmZzZXQteS4KKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwNTQwNworCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdoZW4gYSB0ZXN0Y2FzZSBpcyBwcm9jZXNz
ZWQgYnkgY2hlY2stbGF5b3V0LmpzLCB0aGUgcmVzdWx0IGlzIHdyaXR0ZW4ganVzdCBhZnRlciB0
aGUgbm9kZSBiZWluZyBwcm9jZXNzZWQuIFRoaXMgY2F1c2VzCisgICAgICAgIG9mZnNldFRvcCBv
ZiBzdWJzZXF1ZW50IHN1Yi10ZXN0Y2FzZXMgdG8gYWx0ZXJlZC4gSWYgaG93ZXZ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KSB7CiAgICAgICAgIHZhciBmYWlsdXJlcyA9IFtdOwogICAgICAgICBjaGVj
a0V4cGVjdGVkVmFsdWVzKG5vZGUucGFyZW50Tm9kZSwgZmFpbHVyZXMpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>