Bug 1273967 - Include DevTools command line handler via category entry. r=ochameau

MozReview-Commit-ID: PeO83Q6GLV
This commit is contained in:
J. Ryan Stinnett 2016-05-17 18:39:06 -05:00
parent de96ed94a7
commit 866de622fc
2 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,8 @@
component {9e9a9283-0ce9-4e4a-8f1c-ba129a032c32} devtools-startup.js
contract @mozilla.org/toolkit/console-clh;1 {9e9a9283-0ce9-4e4a-8f1c-ba129a032c32}
contract @mozilla.org/devtools/startup-clh;1 {9e9a9283-0ce9-4e4a-8f1c-ba129a032c32}
# We want this to override toolkit's --jsconsole handling, so it must have a
# a higher priority than the entry in jsconsole-clhandler.manifest. Higher
# priority means the "m-devtools" value below needs to be something that sorts
# before the one in jsconsole-clhandler.manifest. See details in
# nsICommandLineHandler.idl.
category command-line-handler m-devtools @mozilla.org/devtools/startup-clh;1

View File

@ -1,3 +1,3 @@
component {2cd0c310-e127-44d0-88fc-4435c9ab4d4b} jsconsole-clhandler.js
contract @mozilla.org/toolkit/console-clh;1 {2cd0c310-e127-44d0-88fc-4435c9ab4d4b}
category command-line-handler b-jsconsole @mozilla.org/toolkit/console-clh;1
category command-line-handler t-jsconsole @mozilla.org/toolkit/console-clh;1