Closed Bug 70481 Opened 24 years ago Closed 23 years ago

need to get rid of isModal, isWindowModal redundancy

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.8.1

People

(Reporter: jud, Assigned: danm.moz)

References

()

Details

(Keywords: embed)

Attachments

(1 file)

We still have this dual world we need to reconcile. Dan points out this ugly
redundancy:

nsIDocShellTreeOwner  nsIWebBrowserChrome
isModal               isWindowModal
showModal             showAsModal
exitModalLoop         exitModalEventLoop
Blocks: 70229
->moz0.9
Target Milestone: --- → mozilla0.9
Status: NEW → ASSIGNED
Keywords: patch
Target Milestone: mozilla0.9 → mozilla0.8.1
The patch makes it a lot cleaner.
r=ccarlen 
.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: patchembed
OS: Linux → All
Resolution: --- → FIXED
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
* isModal(), showModal() and exitModalLoop() removed from nsIDocShellTreeOwner
* showAsModal(), isWindowModal() and exitModalEventLoop() are found in 
nsIWebBrowserChrome.
* per contents of the patch: 
- the 3 nsIDocShellTreeOwner modals are not implemented in any of these: 
nsIDocShellTreeOwner.cpp, nsWindowWatcher.cpp, nsSyncLoader.cpp, 
nsXMLHttpRequest.cpp, nsPrefMigration.cpp, nsChromeTreeOwner.cpp, and 
WebBrowserChrome.cpp (couldn't find GtkMozEmbedChrome.cpp. is this obsolete?)
- nsContentTreeOwner.cpp uses ShowModal() (line 392) and exitModalLoop (line 
403), but these are returned from a XUL Window within implementations of 
showAsModal() and exitModalEventLoop() respectively.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: