On 10/27/16 10:57 AM, Benjamin Smedberg wrote:
And also it's very unlikely that a modal prompt is a good UI solution from
within the network stack.

Oh, that's a good point. NSS code has a tendency to run on random threads from the socket threadpool, and the "@mozilla.org/embedcomp/prompt-service;1" component is very much mainthread-only, since it's implemented in JS. So unless you've tested this in a debug build and it's assertion-free there, I would be _very_ worried about code that uses that component from inside NSS.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to