I just wanted to give the workers in JS shell a try (mozilla-central revision 5ebeef1eabcb) but I only get this:
js> new Worker()
Assertion failure: rt->onOwnerThread(), at mozilla-central/js/src/jsapi.cpp:6326
I've built this shell with --enable-threadsafe and system NSPR.
The first bad revision is:
user: Luke Wagner
date: Fri Jul 01 14:11:31 2011 -0700
summary: Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
Created attachment 576167 [details] [diff] [review]
Oops, I added a new JS_AbortIfWrongThread (under JS_SetContextThread) and forgot to run shell workers.
*** Bug 704592 has been marked as a duplicate of this bug. ***