Bug 660325 - Don't ship test jsms, r=bent

This commit is contained in:
Michael Wu 2011-05-27 13:13:29 -07:00
parent ab1fd50db9
commit d235aa2b60
2 changed files with 4 additions and 7 deletions

View File

@ -45,12 +45,6 @@ relativesrcdir = dom/src/threads/test
include $(DEPTH)/config/autoconf.mk
EXTRA_JS_MODULES = \
WorkerTest.jsm \
WorkerTest_worker.js \
WorkerTest_subworker.js \
$(NULL)
include $(topsrcdir)/config/rules.mk
_TEST_FILES = \
@ -132,6 +126,9 @@ _CHROME_TEST_FILES = \
test_chromeWorker.xul \
test_chromeWorkerComponent.xul \
test_chromeWorkerJSM.xul \
WorkerTest.jsm \
WorkerTest_worker.js \
WorkerTest_subworker.js \
chromeWorker_worker.js \
chromeWorker_subworker.js \
$(NULL)

View File

@ -72,7 +72,7 @@
done();
}
Components.utils.import("resource://gre/modules/WorkerTest.jsm");
Components.utils.import("chrome://mochitests/content/chrome/dom/src/threads/test/WorkerTest.jsm");
worker = WorkerTest.go(window.location.href, messageCallback,
errorCallback);