I am helping resolve some bugs in the ember-inspector add-on as a contributor and there have been some recent issues running the add-on in Firefox Nightly (62.0a1) and Developer Edition (61.0b13) versions. The add-on currently functions correctly in the standard version of Firefox (60.0.2).
When clicking on the add-on in the dev-tools panel the error that appears in the browser console is as follows:
Error: Unknown event: ["devtools.main", "enter", "webext-devtools-panel-ember-inspector_emberjs_com-357-0"] telemetry.js:627:5
This error seems to point to the Services.telemetry.recordEvent()
function call in the below:
recordEvent(category, method, object, value, extra) {
// Only string values are allowed so cast all values to strings.
for (let [name, val] of Object.entries(extra)) {
val = val + "";
extra[name] = val;
if (val.length > 80) {
const sig = `${category},${method},${object},${value}`;
throw new Error(`The property "${name}" was added to a telemetry ` +
`event with the signature ${sig} but it's value ` +
`"${val}" is longer than the maximum allowed length ` +
`of 80 characters\n` +
`CALLER: ${this.getCaller()}`);
}
}
Services.telemetry.recordEvent(category, method, object, value, extra);
}
I am looking for some assistance in determining the root cause, as I have been unable to find a stack trace for this error when debugging or observing the browser console.
Thank you very much for the assistance.