From 17ed0da2773e902bf4992483e9e15ceae9481c39 Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Mon, 3 Apr 2017 12:37:48 +0900 Subject: [PATCH] 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. Previous fix has typo of chrome vs resource. It should be chrome://. MozReview-Commit-ID: KeyDLjc9AUI --HG-- extra : rebase_source : 5bf2e6f4105f3437fb3c88410a246e1b85b1bf1d --- layout/tools/reftest/jar.mn | 1 + layout/tools/reftest/reftest-content.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/tools/reftest/jar.mn b/layout/tools/reftest/jar.mn index 888e57cf1987..6ffa8c32a3a1 100644 --- a/layout/tools/reftest/jar.mn +++ b/layout/tools/reftest/jar.mn @@ -1,6 +1,7 @@ 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) diff --git a/layout/tools/reftest/reftest-content.js b/layout/tools/reftest/reftest-content.js index 12fd747e7e40..29b174771798 100644 --- a/layout/tools/reftest/reftest-content.js +++ b/layout/tools/reftest/reftest-content.js @@ -21,7 +21,7 @@ const NS_GFXINFO_CONTRACTID = "@mozilla.org/gfx/info;1"; 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("chrome://reftest/content/AsyncSpellCheckTestHelper.jsm"); var gBrowserIsRemote; var gIsWebRenderEnabled;