Name Description Size
components.conf 559
Console.cpp Console API in workers uses the Structured Clone Algorithm to move any value from the worker thread to the main-thread. Some object cannot be moved and, in these cases, we convert them to strings. It's not the best, but at least we are able to show something. 87597
Console.h 16932
ConsoleAPIStorage.sys.mjs The ConsoleAPIStorage is meant to cache window.console API calls for later reuse by other components when needed. For example, the Web Console code can display the cached messages when it opens for the active tab. ConsoleAPI messages are stored as they come from the ConsoleAPI code, with all their properties. They are kept around until the inner window object that created the messages is destroyed. Messages are indexed by the inner window ID. Usage: let ConsoleAPIStorage = Cc[";1"] .getService(Ci.nsIConsoleAPIStorage); // Get the cached events array for the window you want (use the inner // window ID). let events = ConsoleAPIStorage.getEvents(innerWindowID); events.forEach(function(event) { ... }); // Clear the events for the given inner window ID. ConsoleAPIStorage.clearEvents(innerWindowID); 6360
ConsoleCommon.h mozilla_dom_ConsoleCommon_h 827
ConsoleInstance.cpp from chrome context 9429
ConsoleInstance.h aPrefName 3706
ConsoleReportCollector.cpp 6247
ConsoleReportCollector.h 3046
ConsoleUtils.cpp static 4605
ConsoleUtils.h mozilla_dom_ConsoleUtils_h 1717 1187
nsIConsoleAPIStorage.idl Get the events array by inner window ID or all events from all windows. @param string [aId] Optional, the inner window ID for which you want to get the array of cached events. @returns array The array of cached events for the given window. If no |aId| is given this function returns all of the cached events, from any window. 2295
nsIConsoleReportCollector.h 6263