Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
mozilla.dev.extensions
Conversations
About
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
How to "unhide" popup window after calling window.alert()?
20 views
Skip to first unread message
dte...@gmail.com
unread,
Jul 28, 2016, 1:18:40 AM
7/28/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
Using Firefox 47 and 48.
I’ve got a WebExtenstion that calls window.alert().
The problem is when window.alert() is called, the Extension’s window, which is a popup, is hidden and is not “unhidden” when the alert window is closed.
I know the window is being hidden, because if I "Disable autohide" in the debugging settings (
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Debugging#Disable_autohide
) the popup window remains visible.
I’ve tried to use the nsIPromptService, like the example in
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIPromptService
But the Components object does not have a classes member.
Can anyone tell me how to either restore my main window, or how to use the nsIPromptService?
Thanks,
0 new messages