Closed
Bug 44608
Opened 25 years ago
Closed 25 years ago
Need to add nsIWebBrowserChrome::ExitModalEventLoop()
Categories
(Core Graveyard :: Embedding: APIs, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: vidur, Assigned: vidur)
Details
(Keywords: arch, embed, Whiteboard: [nsbeta2+])
Currently, we bring up modal windows by calling
nsIDocShellTreeOwner::ShowModal()/nsIWebBrowserChrome::ShowAsModal(). The
expectation is that the implementation of these methods will spin a nested event
loop while the modal window is up. We only break out of the event loop when the
window itself is destroyed. Based on discussions in the API review meeting, we
decided to add nsIDocShellTreeOwner::ExitModalLoop() and
nsIWebBrowserChrome::ExitModalEventLoop() methods to allow the browser component
to programmatically exit the event loop, providing a status code to be passed
back to the caller of ShowModal() in the case of an error.
| Assignee | ||
Comment 1•25 years ago
|
||
I have a fix that's been reviewed by rpotts. It's safe since it
doesn't change existing codepaths. Nominating for nsbeta2 since it's a safe fix
and helps us drive to API completion.
| Assignee | ||
Comment 3•25 years ago
|
||
Fix checked in on 7/12/2000.
Vidur stated a fix was checked in. Marking this fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•