Nicolas Chevobbe 3fbff23a4b Bug 860312 - [devtools] Check deprecated list before calling a getter. r=devtools-reviewers,ochameau.
As the drawback of not having the safeGetter evaluated is quite minimal, we taking
a very simple route and only check the getter name against the list of deprecated
getter names.
We didn't have test for deprecated warnings, so one is added where we check such
messages are not emitted when expanding an object inspector.

Differential Revision: https://phabricator.services.mozilla.com/D174057
2023-04-11 06:25:57 +00:00
..