gecko-dev/dom/console
Jan de Mooij 1deb4708b9 Bug 1713083 part 2 - Remove JSPROP_GETTER and JSPROP_SETTER. r=evilpie
We now set the descriptor's getter or setter when the corresponding argument
to DefineAccessorProperty is non-nullptr.

Usually the flag was passed only if the corresponding object argument was non-nullptr,
so there's no change in behavior for those.

The exception is `Console::PopulateConsoleNotificationInTheTargetScope` where we passed
JSPROP_SETTER with a nullptr setter. Changing this is likely okay; it shouldn't make a
difference for new properties anyway.

Note that code can still use the richer PropertyDescriptor API to set nullptr
getters/setters explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D116091
2021-05-27 15:03:38 +00:00
..
tests Bug 1683228 - Check maxLogLevelPref value each time and use it when available. r=smaug 2021-01-06 01:11:24 +00:00
Console.cpp Bug 1713083 part 2 - Remove JSPROP_GETTER and JSPROP_SETTER. r=evilpie 2021-05-27 15:03:38 +00:00
Console.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
ConsoleAPIStorage.jsm Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
ConsoleCommon.h Bug 1671641 - Make `dom/console` buildable outside of `unified-build` environment. r=sg 2020-10-21 08:00:16 +00:00
ConsoleInstance.cpp Bug 1683228 - Check maxLogLevelPref value each time and use it when available. r=smaug 2021-01-06 01:11:24 +00:00
ConsoleInstance.h
ConsoleReportCollector.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ConsoleReportCollector.h
ConsoleUtils.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ConsoleUtils.h
components.conf
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIConsoleAPIStorage.idl
nsIConsoleReportCollector.h