Closed Bug 1065495 Opened 11 years ago Closed 8 years ago

Add telemetry probe for __proto__ usage

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1409187

People

(Reporter: till, Unassigned)

Details

We warn about absolutely every usage of __proto__. I'm not convinced that that is a good idea, given that it's probably used pretty much everywhere, so there's no chance of it ever being removed. Plus, no other browser warns about it, and I think that there's a danger of people concluding that this is just an issue in Firefox. To at least turn the first paragraph's "probably" into a "definitely" or "not really", we should add a telemetry probe. Since bug 1054630, doing so would be straight-forward. We could even just extend the existing probe from that bug, I guess.
What would we want to measure? Number of hits? Would a huge number of hits suggest that we should remove this warning because it is a losing battle? "Use of getPreventDefault() is deprecated. Use defaultPrevented instead." is another warning that appears everywhere because jquery uses getPreventDefault(). Maybe we should just upstream a fix to jquery.
We had a __proto__ telemetry probe for some years, but we removed it quite recently (bug 1409187).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.