as per http://www.mozilla.org/access/toolkit-checklist, we need to be able to dismiss message, alert and help popups with the ESC key.
Created attachment 202705 [details]
Created attachment 203035 [details] [diff] [review]
Adds a keypress listener to the generated XUL document.
Should we switch the code to use a real .xul file that sets itself up based on the passed in data?
(In reply to comment #2)
> Should we switch the code to use a real .xul file that sets itself up based on
> the passed in data?
Yes we should, but we must be careful to not to allow messages to have chrome privileges.
Comment on attachment 203035 [details] [diff] [review]
Until we have the XUL file, this patch will get us past the problem.
Checked into trunk
checked into MOZILLA_1_8_BRANCH via bug 323691. Leaving open for now until it gets into 1.8.0
verfied fixed on MOZILLA_1_8_BRANCH