Closed
Bug 92833
Opened 25 years ago
Closed 25 years ago
New web site dialog leaves blank page.
Categories
(Core Graveyard :: Security: UI, defect, P1)
Tracking
(Not tracked)
psm2.1
People
(Reporter: junruh, Assigned: javi)
References
()
Details
(Whiteboard: critical for 0.9.3)
7/30 Trunk build.
1.) Visit the above in-house URL.
2.) Click Continue OR Cancel on the New Web Site cert dialog box.
What happens: I get a blank page, thus cannot apply for a new cert.
| Assignee | ||
Comment 1•25 years ago
|
||
This is caused because our calls to the proxied implementations are no longer
blocking. Here is the code we use to bring up the dialog (this used to block in
the 0.9.2 time fram):
nsresult rv;
nsCOMPtr<nsIWindowWatcher> windowWatcher =
do_GetService("@mozilla.org/embedcomp/window-watcher;1", &rv);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIDOMWindow> newWindow;
rv = windowWatcher->OpenWindow(window,
url,
"_blank",
nsNSSDialogHelper::kDefaultOpenWindowParam,
params,
getter_AddRefs(newWindow));
return rv;
danm: Is there anything we need to change to make this call block?
Comment 3•25 years ago
|
||
P1
t->2.1 nsenterprise
->javi
| Assignee | ||
Comment 5•25 years ago
|
||
Bringing forward the Status whiteboard from dup'ed bug.
Whiteboard: critical for 0.9.3
| Assignee | ||
Comment 6•25 years ago
|
||
This is caused by a regression in the window watcher implementation. Who is the
best engineer to look at this? This is outside the expertise of the PSM team.
We're talking about the dialog that reads "There is a problem with the
certificate that identifies...," right? I put a breakpoint after the call to
WindowWatcher::OpenWindow that opens that dialog and it is blocking; the
breakpoint isn't hit until the dialog is cancelled. Or OKed, one presumes.
I'm having trouble tracking down the source of the proxied dialog, so I'm not
sure where it comes from (the code samples above are in nsProfile.cpp, and aren't
hit in this case). But I can tell that it's requested to be modal and is, and
it's running on the UI thread and looks all OK from that perspective.
| Assignee | ||
Comment 8•25 years ago
|
||
The function that tries to put up the proxied dialog is at :
http://lxr.mozilla.org/mozilla/source/security/manager/ssl/src/nsNSSIOLayer.cpp#887
We actually get the proxied object to the dialogs here:
http://lxr.mozilla.org/mozilla/source/security/manager/ssl/src/nsNSSComponent.cpp#823
These implementations haven't changed in a long time. Judging from danm's
comments, it seems that proxied object is the one failing to block, and not the
call to the window watcher.
| Reporter | ||
Comment 10•25 years ago
|
||
*** Bug 92917 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 11•25 years ago
|
||
*** This bug has been marked as a duplicate of 92922 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•