gecko-dev/toolkit/components/prompts
Boris Zbarsky fee88c0518 Bug 1167575. Ensure that we don't exit modal state while we're still waiting on a Gecko runnable in the event-loop-spinning code in nsPrompter.js. r=dolske
If we synchronously shut down the prompt, that will exit modal state while we're
still processing our mouse or key event, which happens _before_ Gecko runnable
processing.  Exiting modal state will generally post a runnable to run timeouts,
so we can end up processing that runnable before we return from processNextEvent
and unwind to whatever code did the alert() call on the web page.  The upshot is
that the webpage will see timeouts fire before the alert() call returns.

If we exit modal state off a Gecko runnable instead, that will ensure that we
return to the nsPrompter code immediately after exiting modal state, see that
the prompt is no longer active, and return to the calling web page code _before_
processing any more runnables.
2016-09-01 21:31:22 -04:00
..
content Bug 1167575. Ensure that we don't exit modal state while we're still waiting on a Gecko runnable in the event-loop-spinning code in nsPrompter.js. r=dolske 2016-09-01 21:31:22 -04:00
src Bug 1297707: Show icons in alert dialogs when text is null. r=felipe 2016-08-25 21:26:07 -04:00
test Bug 1298193 - Part 7: Make test_prompt_promptAuth work with channels in the parent. r=Dolske 2016-08-25 22:59:51 -07:00
jar.mn Bug 1240660 - Remove "+" prefixes in jar manifests. r=gps 2016-01-20 07:24:40 +09:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00