Bug 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki
☠☠ backed out by 902c52628071 ☠ ☠
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 31 Mar 2017 14:20:55 +0900
changeset 350882 941e0f9ff9a789bf98ff910bc24b48ea90ce5c75
parent 350881 4fdf3b87a70b1ca492fce77713766fbd0fbbfc72
child 350883 56c056de6bb3a04f12bb0bd1d1ff7a402fa00946
push id39968
push userm_kato@ga2.so-net.ne.jp
push dateMon, 03 Apr 2017 01:29:48 +0000
treeherderautoland@941e0f9ff9a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1351074
milestone55.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 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki reftest cannot use testing-common, so we should include AsyncSpellCheckTestHelper.jsm in reftest.jar. MozReview-Commit-ID: KeyDLjc9AUI
layout/tools/reftest/jar.mn
layout/tools/reftest/reftest-content.js
--- a/layout/tools/reftest/jar.mn
+++ b/layout/tools/reftest/jar.mn
@@ -1,7 +1,8 @@
 reftest.jar:
 % content reftest %content/
   content/reftest-content.js (reftest-content.js)
+  content/AsyncSpellCheckTestHelper.jsm (../../../editor/AsyncSpellCheckTestHelper.jsm)
   content/httpd.jsm (../../../netwerk/test/httpserver/httpd.js)
   content/StructuredLog.jsm (../../../testing/modules/StructuredLog.jsm)
 *  content/reftest.jsm (reftest.jsm)
   content/reftest.xul (reftest.xul)
--- a/layout/tools/reftest/reftest-content.js
+++ b/layout/tools/reftest/reftest-content.js
@@ -16,17 +16,17 @@ const PRINTSETTINGS_CONTRACTID = "@mozil
 const ENVIRONMENT_CONTRACTID = "@mozilla.org/process/environment;1";
 const NS_OBSERVER_SERVICE_CONTRACTID = "@mozilla.org/observer-service;1";
 const NS_GFXINFO_CONTRACTID = "@mozilla.org/gfx/info;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("resource://gre/modules/AsyncSpellCheckTestHelper.jsm");
+CU.import("resource://reftest/content/AsyncSpellCheckTestHelper.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