In Web developer tool booleans which are "false" appear as (unavailable)
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: acb764se, Unassigned)
Details
Attachments
(1 file)
|
739 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
Please open the attached file (it will run a small javascript) then open up the debugger clicking "Tools-->Browser Tools-->Web developer tools" and add variables varE and varF to the "Watch expressions" view.
Next reload the file and watch where the debugger stops and what it says.
Actual results:
varE, which is false, will show up as (unavailable). But actually not in 'varF' which contains it.
Hovering with the mouse in the "debugger" view will show correct values for everything, including varE.
Expected results:
varE should have been shown simply as 'false', or so I guess.
But I admit that my knowledge lacks a lot, and there could be a reason for it.
Thank you for looking into this!
Your user agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
| Reporter | ||
Comment 1•8 months ago
|
||
The machine on which I found the (small) bug I reported is Windows 11 desktop, at the bottom of the page with my report.
I just reported it on my old Mac laptop, and its "user agent", auto-inserted, appears at the top.
But the problems appear also on the old Mac, exactly as on the desktop
Comment 2•8 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•8 months ago
|
||
Thanks for the bug report!
This is a duplicate of Bug 1952622 which has already been fixed in Nightly.
Description
•