Devtools location change

Today I received an email from nobody@mozilla.org telling me that four of my extensions failed validation for Fx 44. Apparently, the path to devtools had changed from resource://gre/modules/devtools/* to resource://devtools/*.

But when I made the change from:

Cu.import("resource://gre/modules/devtools/Loader.jsm");

to

Cu.import("resource://devtools/Loader.jsm");

I get an error when trying to run the extension:

Tue Jan 19 2016 17:20:32
Error: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
Source file: chrome://febe/content/febe.js
Line: 25

The four extensions mentioned in the email already run on Fx 45.0a2 (Developer Edition) without any changes, so I’m not sure what it is that I have to modify.

Was this email sent in error?

It is Cu.import("resource://devtools/shared/Loader.jsm");

Then where is Console.jsm located? I read on SO that it was moved from

resource://gre/modules/devtools/Console.jsm

to

resource://devtools/Console.jsm

but that url throws an exception. If I use

resource://gre/modules/Console.jsm

it works.

You can use http://mxr.mozilla.org/mozilla-central to look for it.

OK … according to mxr, the correct url is resource://gre/modules/Console.jsm. So that’s what I’m going with.

Thanks!