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. 90802
Console.h 17243
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["@mozilla.org/consoleAPI-storage;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 9407
ConsoleInstance.h aPrefName 3707
ConsoleReportCollector.cpp 6264
ConsoleReportCollector.h 3046
ConsoleUtils.cpp static 4607
ConsoleUtils.h mozilla_dom_ConsoleUtils_h 1719
moz.build 1238
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
tests