worker.js (578B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ 4 5 "use strict"; 6 7 /* import-globals-from search.js */ 8 /* import-globals-from ../../../../shared/worker-utils.js */ 9 importScripts( 10 "resource://devtools/client/netmonitor/src/workers/search/search.js", 11 "resource://devtools/client/shared/worker-utils.js" 12 ); 13 14 // Implementation of search worker (runs in worker scope). 15 self.onmessage = workerHandler({ searchInResource });