mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898125 - Add 'use strict'; and make changes accordingly [r=mbrubeck]
This commit is contained in:
parent
1c6c1be9aa
commit
82b0e0862d
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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 ";
|
||||
|
@ -1,3 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
load('Util.js');
|
||||
|
||||
function run_test() {
|
||||
|
Loading…
Reference in New Issue
Block a user