Name Description Size Coverage
components.conf 470 -
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. 95864 87 %
Console.h 17610 100 %
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 97 %
ConsoleCommon.h mozilla_dom_ConsoleCommon_h 706 100 %
ConsoleInstance.cpp from chrome context 9540 80 %
ConsoleInstance.h aPrefName 3586 100 %
ConsoleReportCollector.cpp 6132 79 %
ConsoleReportCollector.h 2877 100 %
ConsoleUtils.cpp static 4486 85 %
ConsoleUtils.h mozilla_dom_ConsoleUtils_h 1598 100 %
moz.build 1149 -
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. 2215 -
nsIConsoleReportCollector.h 5933 -
tests -