From c29a462c0b2ee02c5e3905c7065721b50e6ae854 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 17 Jul 2018 15:27:46 -0700 Subject: [PATCH] Bug 1474139: Follow-up: Fix test that relied on Timer.jsm being implicitly imported. r=bustage,test-only CLOSED TREE --- devtools/client/sourceeditor/test/helper_codemirror_runner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/devtools/client/sourceeditor/test/helper_codemirror_runner.js b/devtools/client/sourceeditor/test/helper_codemirror_runner.js index e55040c25e3c..45479e8ceb3d 100644 --- a/devtools/client/sourceeditor/test/helper_codemirror_runner.js +++ b/devtools/client/sourceeditor/test/helper_codemirror_runner.js @@ -28,6 +28,7 @@ function runCodeMirrorTest(browser) { // setting a timeout to check again if not. /* eslint-disable max-len */ mm.loadFrameScript("data:," + + "ChromeUtils.import('resource://gre/modules/Timer.jsm');" + "content.wrappedJSObject.mozilla_setStatus = function(statusMsg, type, customMsg) {" + " sendSyncMessage('setStatus', {statusMsg: statusMsg, type: type, customMsg: customMsg});" + "};" +