What is these two digits?


alfred

Network Guru
Member
Real-Time charts, click the right bottom refreshing spin, you will get two digits, anyone can tell us what is that?
 

Attachments

  • snap565.gif
    snap565.gif
    5.4 KB · Views: 66
Agreed -- it does look like a bug, but it could also be some very strange browser incompatibility. Do you see this with all the browser you use (please try more than one)?

There could be some HTML text which is "rolling over" into the section near the spinner. The HTML I get for the Real-time Bandwidth page that's around the area of the spinner is:

HTML:
<br>
<br>
</td></tr>
<tr><td id='footer' colspan=2>
<span id='warnwd' style='display:none'>Warning: 10 second session timeout, restarting...&nbsp;</span>
<span id='dtime'></span>
<img src='spin.gif' id='refresh-spinner' onclick='javascript:debugTime=1'>
</td></tr>

I would like to think the numbers you see are what correlate with CSS's id selector called "dtime". Hard to say; I would really need to see the full HTML output when the problem happens to try and figure out what may be printing it. Remember: given how HTML works (especially with multiple divs), sometimes text in one area or an unexpected area can "overflow" into another (re: what I said about "rolling over"). Firefox addons like Firebug make tracking this sort of stuff down a lot easier.
 
Chrome "view page source" shows this :

n = (new Date()).getTime();
if (this.timeExpect) {
if (debugTime) E('dtime').innerHTML = (this.timeExpect - n) + ' ' + ((this.timeExpect + 2000) - n);
this.timeExpect += 2000;
this.refreshTime = MAX(this.timeExpect - n, 500);
}
else {
this.timeExpect = n + 2000;


Coincidentally (or not?) the 2 numbers displayed always add up to 2000. Wonder if this is a residual debugging aid that the developer left in - of course I've never done anything like that :)
 

Back
Top