Closed
Bug 1284684
Opened 8 years ago
Closed 8 years ago
js == doesn't always compare correctly in debugger or in browser
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jmichae3, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160623154057 Steps to reproduce: break at time-diff.html line 246 break at DTime.js line 2841 http://Jesusnjim.com/calculators/time-diff.html#dtadtime Actual results: if (arr[0]==0) evaluated true with arr[0] having the value 4 in that element of the Array. Expected results: should not have been allowed to enter any of the if statements
Reporter | ||
Comment 1•8 years ago
|
||
I am trying to fix the bugs. just debug in-place.
OS: Unspecified → Windows Vista
Hardware: Unspecified → x86
Reporter | ||
Comment 2•8 years ago
|
||
apparently not my choice to change hardware or OS in bugzilla form
OS: Windows Vista → Unspecified
Hardware: x86 → Unspecified
Comment 3•8 years ago
|
||
How to hit those breakpoints? Which button to click? What value should I enter to which textboxes?
Flags: needinfo?(jmichae3)
Reporter | ||
Comment 4•8 years ago
|
||
it's live. just hit F5 and the debugger will start.
Comment 5•8 years ago
|
||
Setting those breakpoints and reloading the page doesn't hit them. are those line numbers correct? DTime.js:2841 > if (""===reststr) { time-diff.html:246 > <input type="button" value="Set for 1 yr - 2 wks interval" onclick="setidval('is1','0 millennia 0 centuries 1 yr 0 months -2 wks 0 ww 0 days 00:00:00.000');calc1();">
Updated•8 years ago
|
Component: Untriaged → Developer Tools: Debugger
Updated•8 years ago
|
Priority: -- → P3
Comment 6•8 years ago
|
||
Closing this as incomplete due to lack of information from the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jmichae3)
Resolution: --- → INCOMPLETE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•