Closed
Bug 610384
Opened 14 years ago
Closed 14 years ago
nsIThread#dispatch fails silently from JS
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 610381
People
(Reporter: kmag, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre Dispatching a runnable to a nsIThread seems to fail silently no matter how it's invoked. No exception is thrown, and nothing appears in the error console, but execution continues as if the function had succeeded. let t = Services.tm.newThread(0); let a = {}; t.dispatch({ run: function () { a.b = 12; } }, t.DISPATCH_SYNC); dump("a: " + Object.keys(a) + "\n"); // Prints: a: Reproducible: Always
Reporter | ||
Comment 1•14 years ago
|
||
Sorry, I had a browser freeze and I didn't realize that the first submission went through.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•