Closed Bug 1217891 Opened 9 years ago Closed 9 years ago

Unimplemented methods should log a message instead of silently doing nothing.

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1223585
Iteration:
45.1 - Nov 16

People

(Reporter: bwinton, Unassigned)

Details

In particular, there was nothing to indicate why my attempted port of the Chrome extension "Earth View from Google Earth" failed, because it was calling chrome.runtime.onInstalled which is defined to be `ignoreEvent()`
(at https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/ext-runtime.js#40) and ignoreEvent doesn't say what happened (at https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/ExtensionUtils.jsm#233).  ignoreEvent shouldn't throw an error, I don't think, but it would be nice if it told us what it was ignoring, so that we could get a list of things we needed to add/fix.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Iteration: --- → 45.1 - Nov 16
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.