summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/workers/search/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/src/workers/search/worker.js')
-rw-r--r--devtools/client/debugger/src/workers/search/worker.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/devtools/client/debugger/src/workers/search/worker.js b/devtools/client/debugger/src/workers/search/worker.js
new file mode 100644
index 0000000000..b452697516
--- /dev/null
+++ b/devtools/client/debugger/src/workers/search/worker.js
@@ -0,0 +1,9 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
+
+import getMatches from "./get-matches";
+import { findSourceMatches } from "./project-search";
+import { workerHandler } from "../../../../shared/worker-utils";
+
+self.onmessage = workerHandler({ getMatches, findSourceMatches });