Module `devtools/styleinspector/css-logic` is not found

Our extension contains the following code,

var scope = {}
Components.utils.import("resource://gre/modules/devtools/Loader.jsm", scope);
var {CssLogic} = scope.devtools.require("devtools/styleinspector/css-logic");
var cssLogic = new CssLogic();

It gives the following error in the Console,

Error: Moduledevtools/styleinspector/css-logicis not found at resource://devtools/styleinspector/css-logic.js

The extension works well with Firefox 43.0. The above problem occurs with Developer Edition 44.0a2 (2015-12-17), and Nightly 46.0a1 too. Multi-process is disabled in the 44.0a2. The problem occurs regardless it is disabled or not though.

Thanks in advance.
Kenny D.

Maybe the path to that file changed recently?

Thanks for replying. Is there a way to find out the changes?

https://developer.mozilla.org/en-US/Firefox/Releases/44 might help. Maybe it’s related to https://blog.mozilla.org/addons/2015/10/14/breaking-changes-let-const-firefox-nightly-44/ ?

The path has changed, try require("devtools/shared/styleinspector/css-logic");

Thanks a lot! That fixed the problem.