Closed Bug 679467 Opened 14 years ago Closed 14 years ago

scratchpad doesn't display the value false

Categories

(DevTools :: General, defect, P2)

6 Branch
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 10

People

(Reporter: allen, Assigned: harth)

References

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(1 file)

The 'display' menu item does not display the values of false, null, "", etc. It appears to skip displaying all falsey values. This is not what I would want to see, as a user of this feature. Please display the actual value. Repo: 1) open a scratchpad 2) type: false 3) select it and then select the 'display' menu item 4) no output appears
We're doing developer tool prioritization, filter on 'brontozaur' to ignore the spam.
Priority: -- → P2
Assignee: nobody → fayearthur+bugs
I imagine we'd want to do this for the 'inspect' command too?
This patch makes scratchpad inspect and display all falsy values.
Attachment #571479 - Flags: review?(rcampbell)
Comment on attachment 571479 [details] [diff] [review] display falsy values In test file: +function testFalsy(sp) +{ + gScratchpadWindow.removeEventListener("load", arguments.callee, false); should removeEventListener("load", testFalsy, false) as arguments.callee is going away.
Comment on attachment 571479 [details] [diff] [review] display falsy values looks good!
Attachment #571479 - Flags: review?(rcampbell) → review+
Status: NEW → ASSIGNED
Whiteboard: [land-in-fx-team]
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 10
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: