Bug 898125 - Add 'use strict'; and make changes accordingly [r=mbrubeck]

This commit is contained in:
nootanghimire 2013-08-09 16:45:58 -07:00
parent 1c6c1be9aa
commit 82b0e0862d
5 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,8 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
function test() {
let testDir = gTestPath.substr(0, gTestPath.lastIndexOf("/"));
Services.scriptloader.loadSubScript(testDir + "/perfhelpers.js", this);

View File

@ -1,6 +1,8 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
function test() {
let testDir = gTestPath.substr(0, gTestPath.lastIndexOf("/"));
Services.scriptloader.loadSubScript(testDir + "/perfhelpers.js", this);

View File

@ -6,6 +6,8 @@
* TestEchoReceiver - receives json data, reserializes it and send it back.
*/
"use strict";
var TestEchoReceiver = {
init: function init() {
addMessageListener("Test:EchoRequest", this);

View File

@ -1,6 +1,8 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// Misc. constants
const kInfoHeader = "PERF-TEST | ";
const kDeclareId = "DECLARE ";

View File

@ -1,3 +1,5 @@
"use strict";
load('Util.js');
function run_test() {