Closed
Bug 199985
Opened 22 years ago
Closed 22 years ago
parent window is always null in nsICookiePromptDialog::CookieDialog
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 173844
People
(Reporter: mikepinkerton, Assigned: adamlock)
Details
(Keywords: regression, topembed)
when implementing nsICookiePromptDialog::CookieDialog() in camino (and for
cocoaEmbed), I noticed that the parent window param is always null. This means
we can't know what window the cookie was destined for so the dialog cannot be a
sheet.
It appears to be hardcoded to nsnull at:
http://lxr.mozilla.org/seamonkey/source/extensions/cookie/nsCookies.cpp#1776
This is a pretty major regression in functionality from the branch and needs to
be addressed before this interface is frozen. we need this not only for camino,
but for any other mac embed clients. Application modal dialogs are bad.
Comment 1•22 years ago
|
||
Related to bug 173844.
Comment 2•22 years ago
|
||
Yes, I think so. Here,
http://lxr.mozilla.org/seamonkey/source/extensions/cookie/nsCookiePermission.cpp#75,
the method calling CookieDialog is being passed a parent window. Why isn't it
being used?
Reporter | ||
Comment 3•22 years ago
|
||
argh, dupe.
*** This bug has been marked as a duplicate of 173844 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
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
•