Bug 1414644 - Stop importing XPCOMUtils.jsm into reftest-content.js. r=dholbert
authorJonathan Watt <jwatt@jwatt.org>
Fri, 20 Oct 2017 12:46:19 +0100
changeset 390792 2f3606eba4bc442780ea32f4227b4633b74280ae
parent 390791 27a656fe5be8be38ffe629e088a9496c7b1c1501
child 390793 b8d6110960ac12692c5dddf46063425459790e8c
push id32845
push userarchaeopteryx@coole-files.de
push dateWed, 08 Nov 2017 22:08:47 +0000
treeherdermozilla-central@c10cf7082a9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1414644
milestone58.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 1414644 - Stop importing XPCOMUtils.jsm into reftest-content.js. r=dholbert MozReview-Commit-ID: FSLy3R8ZVf2
layout/tools/reftest/reftest-content.js
--- a/layout/tools/reftest/reftest-content.js
+++ b/layout/tools/reftest/reftest-content.js
@@ -19,17 +19,16 @@ const NS_GFXINFO_CONTRACTID = "@mozilla.
 const IO_SERVICE_CONTRACTID = "@mozilla.org/network/io-service;1"
 
 // "<!--CLEAR-->"
 const BLANK_URL_FOR_CLEARING = "data:text/html;charset=UTF-8,%3C%21%2D%2DCLEAR%2D%2D%3E";
 
 CU.import("resource://gre/modules/Timer.jsm");
 CU.import("chrome://reftest/content/AsyncSpellCheckTestHelper.jsm");
 CU.import("resource://gre/modules/Services.jsm");
-CU.import('resource://gre/modules/XPCOMUtils.jsm');
 
 var gBrowserIsRemote;
 var gIsWebRenderEnabled;
 var gHaveCanvasSnapshot = false;
 // Plugin layers can be updated asynchronously, so to make sure that all
 // layer surfaces have the right content, we need to listen for explicit
 // "MozPaintWait" and "MozPaintWaitFinished" events that signal when it's OK
 // to take snapshots. We cannot take a snapshot while the number of