|
|
Line 30: |
Line 30: |
| 1397078501152 Browser.Experiments.Experiments TRACE Experiments #0::updateManifest() <br> | | 1397078501152 Browser.Experiments.Experiments TRACE Experiments #0::updateManifest() <br> |
| 1397078501152 Browser.Experiments.Experiments TRACE Experiments #0::_run <br> | | 1397078501152 Browser.Experiments.Experiments TRACE Experiments #0::_run <br> |
| </blockquote>
| |
|
| |
| = Using Commands inside Browser Console =
| |
|
| |
| You can also retrieve some logging information by inserting the following commands into the Browser Console:
| |
|
| |
| Import '''TelemetryLog.jsm''' in the Browser Console using the following command:
| |
| * '''Cu.import("resource://gre/modules/TelemetryLog.jsm");'''
| |
|
| |
| You should see something similar to the following inside the Browser Console:
| |
|
| |
| <blockquote>
| |
| BackstagePass { Cc: nsXPCComponents_Classes, Ci: nsXPCComponents_Interfaces, Telemetry: XPCWrappedNative_NoHelper, gLogEntries: Array[0], EXPORTED_SYMBOLS: Array[1], TelemetryLog: Object, 26 more… }
| |
| </blockquote>
| |
|
| |
| One you've imported '''TelemetryLog.jsm''', you can retrieve the logs using the following command:
| |
| * '''TelemetryLog.entries().toSource();'''
| |
|
| |
| You should see something similar to the following inside the Browser Console:
| |
|
| |
| <blockquote>
| |
| ["EXPERIMENT_ACTIVATION", 52487, "ACTIVATED", "tile-switcher@experiments.mozilla.org"]
| |
| ["EXPERIMENT_TERMINATION", 389463, "ADDON_UNINSTALLED", "tile-switcher@experiments.mozilla.org"]
| |
| ["EXPERIMENT_ACTIVATION", 400009, "ACTIVATED", "tile-switcher@experiments.mozilla.org #2"]
| |
| ["EXPERIMENT_TERMINATION", 692040, "ADDON_UNINSTALLED", "tile-switcher@experiments.mozilla.org #2"]
| |
| ["EXPERIMENT_ACTIVATION", 731416, "ACTIVATED", "tile-switcher@experiments.mozilla.org #3"]
| |
| </blockquote> | | </blockquote> |