problems with tooltips in script debugger

30 views
Skip to first unread message

alfonsoml

unread,
May 28, 2014, 5:01:11 PM5/28/14
to fir...@googlegroups.com
This is a simple demo available at
http://jsbin.com/xeminufa/1

<input type="button" onclick="test()" value="Open Firebug and click me">
<script>
function test()
{
var obj = {}

obj
.name = "this is a test";

 
debugger;
// Now mouse over obj.name and it will show an empty string as the tooltip.

  obj
.otherValue="this doesn't show at all"
 
debugger;
 
// this one doesn't even show a tooltip
}
</script>


Putting the cursor over obj.name shows an empty tooltip giving the false impression that the value is an empty string. obj.otherValue on the other side doesn't show anything at all.

I thing that this kinds of things used to work previously.

Tested with Aurora 31.0a2 (2014-05-27) on Windows 7 and Firebug 2.07b

Am I wrong or is this a bug?

Sebastian Zartner

unread,
May 28, 2014, 5:55:13 PM5/28/14
to fir...@googlegroups.com
That's a bug, which is already reported as issue 2852. Your test case and the test case attached there work fine for me using FF 29.0.1 + FB 1.12.8 on Win8.1, though fail on FF 32.0a1 + FB 2.0b7.

Sebastian

Sebastian Zartner

unread,
May 28, 2014, 7:20:13 PM5/28/14
to fir...@googlegroups.com
Actually issue 2852 describes some advanced parsing of the values, which need to be addressed differently.
Therefore I created issue 7484, which covers restoring the functionality of Firebug 1.12.

Sebastian

alfonsoml

unread,
May 29, 2014, 11:17:56 AM5/29/14
to fir...@googlegroups.com
Thank you.
Yesterday it was already late and I was tired, so it seems that I didn't search correctly.

Regards
Reply all
Reply to author
Forward
0 new messages