JavaScript/HandlingThreads: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
In Firefox 4, JS extensions using nsIThread.dispatch won't work the same way they have in the past. The purpose of this page is to document the design choices we have, so we can get to a decision, late though it may be.
In Firefox 4, JS extensions using nsIThread.dispatch won't work the same way they have in the past. The purpose of this page is to document the design choices we have, so we can get to a decision, late though it may be.
One thing to do no matter what: enforce nsIClassInfo::MAIN_THREAD_ONLY flag in XPConnect, throwing a new error if any main-thread object is accessed by another thread. This would have saved us McAfee Site Advisor, BitDefender, and other add-on topcrashes.


Here are the choices we have. We can pick more than one.
Here are the choices we have. We can pick more than one.
Confirmed users, Bureaucrats and Sysops emeriti
419

edits