Name Description Size
components.conf 550
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. 86834
Console.h 18950
ConsoleAPIStorage.jsm 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); 4652
ConsoleCommon.h mozilla_dom_ConsoleCommon_h 860
ConsoleInstance.cpp from chrome context 8173
ConsoleInstance.h 3442
ConsoleReportCollector.cpp 5552
ConsoleReportCollector.h 2866
ConsoleUtils.cpp static 4322
ConsoleUtils.h mozilla_dom_ConsoleUtils_h 1743
moz.build 1184
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. 1740
nsIConsoleReportCollector.h 5994
tests 18