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)

1.0 Branch

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 92922
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.
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?
*** Bug 92831 has been marked as a duplicate of this bug. ***
P1 t->2.1 nsenterprise ->javi
Assignee: ssaux → javi
Keywords: nsenterprise
Priority: -- → P1
Target Milestone: --- → 2.1
*** Bug 92922 has been marked as a duplicate of this bug. ***
Bringing forward the Status whiteboard from dup'ed bug.
Whiteboard: critical for 0.9.3
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.
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.
*** Bug 92828 has been marked as a duplicate of this bug. ***
*** Bug 92917 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 92922 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Version: psm2.1 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.