Bug 903418 - Remove unhelpful GCLI 'media reset' manual text; r=mratcliffe
authorJoe Walker <jwalker@mozilla.com>
Sun, 08 Jun 2014 22:34:02 +0100
changeset 207722 7f8297600c9a52a0c5a6e2dc793a9f32d148be30
parent 207721 f2f51353b58ff935c46eba07e7921730ab1da9c7
child 207723 ee73aa7a855cabe32ed8dcba734330062001b4ce
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmratcliffe
bugs903418
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 903418 - Remove unhelpful GCLI 'media reset' manual text; r=mratcliffe
browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
toolkit/devtools/gcli/commands/media.js
--- a/browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
@@ -1383,9 +1383,8 @@ listenNoInitOutput=DebuggerServer not in
 # LOCALIZATION NOTE (mediaDesc, mediaEmulateDesc, mediaEmulateManual,
 # mediaEmulateType, mediaResetDesc, mediaResetManual) These strings describe
 # the 'media' commands and all available parameters.
 mediaDesc=CSS media type emulation
 mediaEmulateDesc=Emulate a specified CSS media type
 mediaEmulateManual=View the document as if rendered on a device supporting the given media type, with the relevant CSS rules applied.
 mediaEmulateType=The media type to emulate
 mediaResetDesc=Stop emulating a CSS media type
-mediaResetManual=Stop emulating a CSS media type
--- a/toolkit/devtools/gcli/commands/media.js
+++ b/toolkit/devtools/gcli/commands/media.js
@@ -32,16 +32,15 @@ exports.items = [
       let markupDocumentViewer = context.environment.chromeWindow
                                         .gBrowser.markupDocumentViewer;
       markupDocumentViewer.emulateMedium(args.type);
     }
   },
   {
     name: "media reset",
     description: gcli.lookup("mediaResetDesc"),
-    manual: gcli.lookup("mediaEmulateManual"),
     exec: function(args, context) {
       let markupDocumentViewer = context.environment.chromeWindow
                                         .gBrowser.markupDocumentViewer;
       markupDocumentViewer.stopEmulatingMedium();
     }
   }
 ];