<?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>30913</bug_id>
          
          <creation_ts>2009-10-29 09:57:02 -0700</creation_ts>
          <short_desc>Web Inspector: hover over JS &quot;things&quot; in source and see their values</short_desc>
          <delta_ts>2009-11-03 11:38:13 -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>Web Inspector (Deprecated)</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Patrick Mueller">pmuellr</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          <cc>aroben</cc>
    
    <cc>bweinstein</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>siracusa</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158934</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Mueller">pmuellr</who>
    <bug_when>2009-10-29 09:57:02 -0700</bug_when>
    <thetext>Spawned from: https://twitter.com/siracusa/status/5259300238

   The WebKit Inspector is getting a lot better, 
   but I still really miss the ability to mouse-over 
   JavaScript variables and see their values.

Some discussion on IRC re: what the &quot;things&quot; are.  Expressions?  Or just variables?  Expressions which are property accesses of the form &quot;x.y.z&quot;?  Do we need to worry about getters?

From IRC, xenon says: &quot;we woud likely need to limit it to properties, no functions and not getters&quot;, which I think means things that match &quot;x.y.z&quot;, but am unsure how we detect getters.  Am thinking supporting getters, by not doing anything special with them, is probably ok - most getters are likely side-effect free, or relatively so.

Also mentioned on IRC was that the new API caretRangeFromPoint() will make this easier to implement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158940</commentid>
    <comment_count>1</comment_count>
    <who name="John Siracusa">siracusa</who>
    <bug_when>2009-10-29 10:25:24 -0700</bug_when>
    <thetext>I&apos;d start with &quot;do what FireBug does,&quot; which seems to be variables and simple properties (e.g., x and x.y.z, where you can mouse-over x, y, or z).

The main reason I want this feature is that I find it difficult to see the values of variables when they don&apos;t fit within the &quot;Scope Variables&quot; sidebar area.  The FireBug-style mouse-over tooltips have plenty of room to show even very long values.  Also, even for short values, mousing over a variable is direct and doesn&apos;t require scanning a list of variables in the sidebar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159048</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-10-29 13:38:22 -0700</bug_when>
    <thetext>Xcode has a quite reasonable UI for doing this, including an affordance for evaluating expressions that can potentially run application code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160049</commentid>
    <comment_count>3</comment_count>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2009-11-03 06:42:53 -0800</bug_when>
    <thetext>*** Bug 17239 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160053</commentid>
    <comment_count>4</comment_count>
      <attachid>42377</attachid>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2009-11-03 06:50:55 -0800</bug_when>
    <thetext>Created attachment 42377
demo

I don&apos;t think we need to use caretRangeFromPoint.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160075</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-11-03 08:57:55 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Created an attachment (id=42377) [details]
&gt; demo
&gt; 
&gt; I don&apos;t think we need to use caretRangeFromPoint.

Awesome! You are right. Now that our syntax highlighter is better, this is good!

We should figure out when to clear the title attribute. Maybe right in mouseover, so you don&apos;t see stale data?

Also this should be while paused only i think.

Later we might want to add UI like Xcode to let you dig in and expand objects, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160091</commentid>
    <comment_count>6</comment_count>
      <attachid>42390</attachid>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2009-11-03 09:42:22 -0800</bug_when>
    <thetext>Created attachment 42390
Initial implementation

&gt; We should figure out when to clear the title attribute. Maybe right in
&gt; mouseover, so you don&apos;t see stale data?
&gt; 
&gt; Also this should be while paused only i think.
Fixed.

&gt; Later we might want to add UI like Xcode to let you dig in and expand objects,
&gt; etc.
I think the red dotted line around the evaluated expression in Xcode is also a nice touch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160099</commentid>
    <comment_count>7</comment_count>
      <attachid>42390</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-11-03 09:55:01 -0800</bug_when>
    <thetext>Comment on attachment 42390
Initial implementation

&gt; +            identElement.addEventListener(&quot;mouseover&quot;, function(event) {

Can you split out the inline functions and give them named and put them somewhere and reference them by name? They are too long to be good inline.


&gt; +                }
&gt; +                var expression = parts.join(&quot;.&quot;);

Put a new line between these lines.


&gt; +                WebInspector.panels.scripts.evaluateInSelectedCallFrame(expression, false, &quot;console&quot;, function(result, exception) {

Again break out the inline function.


&gt; +                    function onmouseout(event) {

Brace on the next line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160109</commentid>
    <comment_count>8</comment_count>
      <attachid>42393</attachid>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2009-11-03 10:08:03 -0800</bug_when>
    <thetext>Created attachment 42393
Initial implementation 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160112</commentid>
    <comment_count>9</comment_count>
      <attachid>42393</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-11-03 10:11:06 -0800</bug_when>
    <thetext>Comment on attachment 42393
Initial implementation 2

It seems a little unfortunate to reevaluate the expression each time the mouse moves over it if no code has executed since last time. We could cache the result of the evaluation somewhere and then invalidate the cache the next time JS is allowed to execute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160140</commentid>
    <comment_count>10</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-11-03 11:18:36 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 42393 [details])
&gt; It seems a little unfortunate to reevaluate the expression each time the mouse
&gt; moves over it if no code has executed since last time. We could cache the
&gt; result of the evaluation somewhere and then invalidate the cache the next time
&gt; JS is allowed to execute.

Good point. We should do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160147</commentid>
    <comment_count>11</comment_count>
      <attachid>42393</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-03 11:38:08 -0800</bug_when>
    <thetext>Comment on attachment 42393
Initial implementation 2

Clearing flags on attachment: 42393

Committed r50472: &lt;http://trac.webkit.org/changeset/50472&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160148</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-03 11:38:13 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42377</attachid>
            <date>2009-11-03 06:50:55 -0800</date>
            <delta_ts>2009-11-03 09:42:22 -0800</delta_ts>
            <desc>demo</desc>
            <filename>demo.diff</filename>
            <type>text/plain</type>
            <size>1789</size>
            <attacher name="Keishi Hattori">keishi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9Tb3VyY2VGcmFtZS5qcwo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09Ci0tLSBXZWJDb3JlL2luc3BlY3Rvci9mcm9udC1lbmQvU291cmNlRnJhbWUuanMJKHJldmlz
aW9uIDUwNDM4KQorKysgV2ViQ29yZS9pbnNwZWN0b3IvZnJvbnQtZW5kL1NvdXJjZUZyYW1lLmpz
CSh3b3JraW5nIGNvcHkpCkBAIC0yMDUzLDcgKzIwNTMsMjcgQEAgV2ViSW5zcGVjdG9yLkphdmFT
Y3JpcHRTb3VyY2VTeW50YXhIaWdobAogICAgICAgICB0aGlzLmN1cnNvciArPSB0b2tlbi5sZW5n
dGg7CiAgICAgICAgIGlmIChrZXl3b3Jkcy5pbmRleE9mKHRva2VuKSA9PT0gLTEpIHsKICAgICAg
ICAgICAgIHRoaXMuYXBwZW5kTm9uVG9rZW4oKTsKLSAgICAgICAgICAgIHRoaXMubGluZUZyYWdt
ZW50LmFwcGVuZENoaWxkKHRoaXMuY3JlYXRlU3Bhbih0b2tlbiwgIndlYmtpdC1qYXZhc2NyaXB0
LWlkZW50IikpOworICAgICAgICAgICAgdmFyIGlkZW50RWxlbWVudCA9IHRoaXMuY3JlYXRlU3Bh
bih0b2tlbiwgIndlYmtpdC1qYXZhc2NyaXB0LWlkZW50Iik7CisgICAgICAgICAgICBpZGVudEVs
ZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigibW91c2VvdmVyIiwgZnVuY3Rpb24oZXZlbnQpIHsKKyAg
ICAgICAgICAgICAgICAvL2lmICghV2ViSW5zcGVjdG9yLnBhbmVscy5zY3JpcHRzIHx8ICFXZWJJ
bnNwZWN0b3IucGFuZWxzLnNjcmlwdHMucGF1c2VkKQorICAgICAgICAgICAgICAgIC8vICAgIHJl
dHVybjsKKworICAgICAgICAgICAgICAgIHZhciBub2RlID0gZXZlbnQudGFyZ2V0OworICAgICAg
ICAgICAgICAgIHZhciBwYXJ0cyA9IFtub2RlLnRleHRDb250ZW50XTsKKyAgICAgICAgICAgICAg
ICB3aGlsZSAobm9kZS5wcmV2aW91c1NpYmxpbmcgJiYgbm9kZS5wcmV2aW91c1NpYmxpbmcudGV4
dENvbnRlbnQgPT09ICIuIikgeworICAgICAgICAgICAgICAgICAgICBub2RlID0gbm9kZS5wcmV2
aW91c1NpYmxpbmcucHJldmlvdXNTaWJsaW5nOworICAgICAgICAgICAgICAgICAgICBpZiAoIW5v
ZGUgfHwgIW5vZGUuaGFzU3R5bGVDbGFzcygid2Via2l0LWphdmFzY3JpcHQtaWRlbnQiKSkKKyAg
ICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOworICAgICAgICAgICAgICAgICAgICBwYXJ0cy51
bnNoaWZ0KG5vZGUudGV4dENvbnRlbnQpOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAg
ICAgICB2YXIgZXhwcmVzc2lvbiA9IHBhcnRzLmpvaW4oIi4iKTsKKyAgICAgICAgICAgICAgICBX
ZWJJbnNwZWN0b3IucGFuZWxzLnNjcmlwdHMuZXZhbHVhdGVJblNlbGVjdGVkQ2FsbEZyYW1lKGV4
cHJlc3Npb24sIGZhbHNlLCAiY29uc29sZSIsIGZ1bmN0aW9uKHJlc3VsdCwgZXhjZXB0aW9uKSB7
CisgICAgICAgICAgICAgICAgICAgIGlmIChleGNlcHRpb24pCisgICAgICAgICAgICAgICAgICAg
ICAgICByZXR1cm47CisgICAgICAgICAgICAgICAgICAgIGV2ZW50LnRhcmdldC5zZXRBdHRyaWJ1
dGUoInRpdGxlIiwgcmVzdWx0LmRlc2NyaXB0aW9uKTsKKyAgICAgICAgICAgICAgICB9KTsKKyAg
ICAgICAgICAgIH0sIGZhbHNlKTsKKyAgICAgICAgICAgIHRoaXMubGluZUZyYWdtZW50LmFwcGVu
ZENoaWxkKGlkZW50RWxlbWVudCk7CiAgICAgICAgICAgICB0aGlzLmxleFN0YXRlID0gdGhpcy5M
ZXhTdGF0ZS5EaXZpc2lvbkFsbG93ZWQ7CiAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICB0
aGlzLmFwcGVuZE5vblRva2VuKCk7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42390</attachid>
            <date>2009-11-03 09:42:22 -0800</date>
            <delta_ts>2009-11-03 10:08:03 -0800</delta_ts>
            <desc>Initial implementation</desc>
            <filename>hover.diff</filename>
            <type>text/plain</type>
            <size>2685</size>
            <attacher name="Keishi Hattori">keishi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MDQ1OSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTIgQEAKKzIwMDktMTEtMDMgIEtlaXNoaSBIYXR0b3JpICA8Y2FzZXkuaGF0dG9y
aUBnbWFpbC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAg
ICAgICAgV2ViIEluc3BlY3RvcjogaG92ZXIgb3ZlciBKUyAidGhpbmdzIiBpbiBzb3VyY2UgYW5k
IHNlZSB0aGVpciB2YWx1ZXMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2lkPTMwOTEzCisKKyAgICAgICAgKiBpbnNwZWN0b3IvZnJvbnQtZW5kL1NvdXJjZUZy
YW1lLmpzOgorCiAyMDA5LTExLTAzICBEYW4gS2VnZWwgIDxkYW5rQGNocm9taXVtLm9yZz4KIAog
ICAgICAgICBSZ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HVybjsKKworICAgICAgICAgICAgICAg
IHZhciBub2RlID0gZXZlbnQudGFyZ2V0OworICAgICAgICAgICAgICAgIHZhciBwYXJ0cyA9IFtu
b2RlLnRleHRDb250ZW50XTsKKyAgICAgICAgICAgICAgICB3aGlsZSAobm9kZS5wcmV2aW91c1Np
YmxpbmcgJiYgbm9kZS5wcmV2aW91c1NpYmxpbmcudGV4dENvbnRlbnQgPT09ICIuIikgeworICAg
ICAgICAgICAgICAgICAgICBub2RlID0gbm9kZS5wcmV2aW91c1NpYmxpbmcucHJldmlvdXNTaWJs
aW5nOworICAgICAgICAgICAgICAgICAgICBpZiAoIW5vZGUgfHwgIW5vZGUuaGFzU3R5bGVDbGFz
cygid2Via2l0LWphdmFzY3JpcHQtaWRlbnQiKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIGJy
ZWFrOworICAgICAgICAgICAgICAgICAgICBwYXJ0cy51bnNoaWZ0KG5vZGUudGV4dENvbnRlbnQp
OworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB2YXIgZXhwcmVzc2lvbiA9IHBh
cnRzLmpvaW4oIi4iKTsKKyAgICAgICAgICAgICAgICAKKyAgICAgICAgICAgICAgICBXZWJJbnNw
ZWN0b3IucGFuZWxzLnNjcmlwdHMuZXZhbHVhdGVJblNlbGVjdGVkQ2FsbEZyYW1lKGV4cHJlc3Np
b24sIGZhbHNlLCAiY29uc29sZSIsIGZ1bmN0aW9uKHJlc3VsdCwgZXhjZXB0aW9uKSB7CisgICAg
ICAgICAgICAgICAgICAgIGlmIChleGNlcHRpb24pCisgICAgICAgICAgICAgICAgICAgICAgICBy
ZXR1cm47CisgICAgICAgICAgICAgICAgICAgIGV2ZW50LnRhcmdldC5zZXRBdHRyaWJ1dGUoInRp
dGxlIiwgcmVzdWx0LmRlc2NyaXB0aW9uKTsKKyAgICAgICAgICAgICAgICAgICAgZXZlbnQudGFy
Z2V0LmFkZEV2ZW50TGlzdGVuZXIoIm1vdXNlb3V0Iiwgb25tb3VzZW91dCwgZmFsc2UpOworICAg
ICAgICAgICAgICAgICAgICAKKyAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24gb25tb3VzZW91
dChldmVudCkgeworICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnJlbW92ZUF0
dHJpYnV0ZSgidGl0bGUiKTsKKyAgICAgICAgICAgICAgICAgICAgICAgIGV2ZW50LnRhcmdldC5y
ZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW91dCIsIG9ubW91c2VvdXQsIGZhbHNlKTsKKyAgICAg
ICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIH0pOworICAgICAgICAgICAgfSwgZmFs
c2UpOworICAgICAgICAgICAgdGhpcy5saW5lRnJhZ21lbnQuYXBwZW5kQ2hpbGQoaWRlbnRFbGVt
ZW50KTsKICAgICAgICAgICAgIHRoaXMubGV4U3RhdGUgPSB0aGlzLkxleFN0YXRlLkRpdmlzaW9u
QWxsb3dlZDsKICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgIHRoaXMuYXBwZW5kTm9uVG9r
ZW4oKTsK
</data>
<flag name="review"
          id="23912"
          type_id="1"
          status="-"
          setter="timothy"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42393</attachid>
            <date>2009-11-03 10:08:03 -0800</date>
            <delta_ts>2009-11-03 11:38:08 -0800</delta_ts>
            <desc>Initial implementation 2</desc>
            <filename>hover.diff</filename>
            <type>text/plain</type>
            <size>2744</size>
            <attacher name="Keishi Hattori">keishi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MDQ1OSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3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ICBub2RlID0gbm9kZS5wcmV2aW91
c1NpYmxpbmcucHJldmlvdXNTaWJsaW5nOworICAgICAgICAgICAgaWYgKCFub2RlIHx8ICFub2Rl
Lmhhc1N0eWxlQ2xhc3MoIndlYmtpdC1qYXZhc2NyaXB0LWlkZW50IikpCisgICAgICAgICAgICAg
ICAgYnJlYWs7CisgICAgICAgICAgICBwYXJ0cy51bnNoaWZ0KG5vZGUudGV4dENvbnRlbnQpOwor
ICAgICAgICB9CisKKyAgICAgICAgdmFyIGV4cHJlc3Npb24gPSBwYXJ0cy5qb2luKCIuIik7CisK
KyAgICAgICAgV2ViSW5zcGVjdG9yLnBhbmVscy5zY3JpcHRzLmV2YWx1YXRlSW5TZWxlY3RlZENh
bGxGcmFtZShleHByZXNzaW9uLCBmYWxzZSwgImNvbnNvbGUiLCBjYWxsYmFjayk7CisgICAgICAg
IGZ1bmN0aW9uIGNhbGxiYWNrKHJlc3VsdCwgZXhjZXB0aW9uKQorICAgICAgICB7CisgICAgICAg
ICAgICBpZiAoZXhjZXB0aW9uKQorICAgICAgICAgICAgICAgIHJldHVybjsKKyAgICAgICAgICAg
IGV2ZW50LnRhcmdldC5zZXRBdHRyaWJ1dGUoInRpdGxlIiwgcmVzdWx0LmRlc2NyaXB0aW9uKTsK
KyAgICAgICAgICAgIGV2ZW50LnRhcmdldC5hZGRFdmVudExpc3RlbmVyKCJtb3VzZW91dCIsIG9u
bW91c2VvdXQsIGZhbHNlKTsKKyAgICAgICAgICAgIAorICAgICAgICAgICAgZnVuY3Rpb24gb25t
b3VzZW91dChldmVudCkKKyAgICAgICAgICAgIHsKKyAgICAgICAgICAgICAgICBldmVudC50YXJn
ZXQucmVtb3ZlQXR0cmlidXRlKCJ0aXRsZSIpOworICAgICAgICAgICAgICAgIGV2ZW50LnRhcmdl
dC5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW91dCIsIG9ubW91c2VvdXQsIGZhbHNlKTsKKyAg
ICAgICAgICAgIH0KKyAgICAgICAgfQorICAgIH0KKyAgICAKICAgICBmdW5jdGlvbiBkaXZQdW5j
dHVhdG9yQWN0aW9uKHRva2VuKQogICAgIHsKICAgICAgICAgdGhpcy5jdXJzb3IgKz0gdG9rZW4u
bGVuZ3RoOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>