Open Bug 1229223 Opened 9 years ago Updated 2 years ago

Add option to filter out prototype objects with count ~1

Categories

(DevTools :: Memory, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

Requested on twitter here: https://twitter.com/zackster/status/671476332413386752

> @zackster:
> 
> @FirefoxDevTools why are default prototype objects with a count of one
> visible? it's kinda redundant noise for web developers

----------

We could optionally filter out anything with a "Prototype" suffix and count of 1, but if there are iframes you get counts of 2 or 3 or more generally numberOfIframes + 1.

I guess we could have an option to just filter out all object prototypes.

We also have vague plans about enriching the filter language, so we could make a filter string of "-(Prototype AND count < 1)" do the Right Thing(tm) but I think that is a little too much manual work than this request wants and is a bit more niche.

----------------------

Aside: I would definitely want to keep this as an *option* not the default and unchangeable behavior because if these prototypes weren't there then I personally would be confused like "where are all these things that I can verify exist in the console???"
Has STR: --- → irrelevant
that's exactly what I meant, a few more examples

HTMLLinkElementPrototype
TextEncoderPrototype
HistoryPrototype
HTMLDivElementPrototype
DOMImplementationPrototype
DOMSettableTokenListPrototype
HTMLUListElementPrototype
CSSStyleDeclarationPrototype
HTMLFormElementPrototype
Uint16ArrayPrototype

being able to sort the columns would also help
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.