Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop

MozReview-Commit-ID: 8svkCKZHxsq
This commit is contained in:
Mark Banner
2016-11-08 12:49:32 +00:00
parent c4aff06732
commit 8ddd9bb511
60 changed files with 49 additions and 127 deletions

View File

@@ -180,7 +180,6 @@ var listener = {
},
receiveMessage(message) {
let data = message.data;
switch (message.name) {
case "gfxSanity:ContentLoaded":
this.runSanityTest();
@@ -244,7 +243,6 @@ SanityTest.prototype = {
shouldRunTest: function() {
// Only test gfx features if firefox has updated, or if the user has a new
// gpu or drivers.
var appInfo = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo);
var buildId = Services.appinfo.platformBuildID;
var gfxinfo = Cc["@mozilla.org/gfx/info;1"].getService(Ci.nsIGfxInfo);