On 4/14/10 5:17 PM, hap497 wrote:
1. I have 2 Windows in Firefox, there should be 1 Main/UI Thread, right?
Yes.
2. In 1 window, I load a page which has a JavaScript confirm dialog, this should block the Main/UI Thread.
It doesn't. It blocks the code that called it, but spins the main UI thread event loop while the dialog is up. Yes, this means that if you set things just up right the code that posed the modal dialog can be reentered, breaking run-to-completion semantics. You have to try pretty hard, though.
-Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
