summaryrefslogtreecommitdiffstats
path: root/toolkit/components/ml/tests/browser/head.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/ml/tests/browser/head.js')
-rw-r--r--toolkit/components/ml/tests/browser/head.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/components/ml/tests/browser/head.js b/toolkit/components/ml/tests/browser/head.js
index 99d27ce18a..9fc20c0e84 100644
--- a/toolkit/components/ml/tests/browser/head.js
+++ b/toolkit/components/ml/tests/browser/head.js
@@ -19,6 +19,10 @@ const { MLEngineParent } = ChromeUtils.importESModule(
"resource://gre/actors/MLEngineParent.sys.mjs"
);
+const { ModelHub, IndexedDBCache } = ChromeUtils.importESModule(
+ "chrome://global/content/ml/ModelHub.sys.mjs"
+);
+
// This test suite shares some utility functions with translations as they work in a very
// similar fashion. Eventually, the plan is to unify these two components.
Services.scriptloader.loadSubScript(