Brad, Alternatively, we could just fix the proxy bug.
Doug Turner [EMAIL PROTECTED]
Brad Fish wrote:
Well, I've just found a bug in Bugzilla that says all proxied objects need to have the thread-safe implementation of nsISupports. It looks like the nsWebBrowser class doesn't have the thread-safe implementation.
So, I'm thinking that in order to fix this problem, I could create a new XPCOM interface that does have the thread-safe nsISupports implementation, and which effectively wraps an nsWebBrowser. Then I could proxy my wrapper onto the main thread...are there any gotchas I should be aware of, or is there a reason why this wouldn't work that I haven't thought of?
