Closed Bug 72509 Opened 20 years ago Closed 20 years ago

links with target="_content" do not bring up "leaving secure site" dialog till way too late

Categories

(Core :: DOM: Navigation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.2

People

(Reporter: bzbarsky, Assigned: rpotts)

Details

BUILD: linux 2001-03-14-08, and been going on for quite some time.

STEPS TO REPRODUCE:

1)  Make sure you have the warning for leaving secure sites on.
2)  Install the Bugzilla sidebar panel from
    http://people.netscape.com/granrose/panels/bugzilla/
3)  Go to a secure site in the browser window
4)  Click the "Query Page" link in the sidebar (any link will do, actually)

EXPECTED RESULTS: an alert telling you that you are leaving a secure site (there
is a separate bug on this alert needing a cancel button that will cancel
loading) and then, after OK is clicked the query page is loaded.

ACTUAL RESULTS:
One of two possibilities:
A)  The query page is loaded and _then_ the alert is popped up.
B)  The query page is loaded, there is no alert at all, and the lock icon is
    shown red and broken

I have not yet figured out what determines whether A or B occurs.

OTHER INFORMATION:
The sidebar panel has links like the following:
<a href="http://bugzilla.mozilla.org/query.cgi" target="_content">Query Page</a>

This is a problem with PSM 1.x and PSM 2.0 both.
Keywords: correctness
PSMS 2.0
Component: Security: Crypto → Client Library
Product: Browser → PSM
Target Milestone: --- → 2.0
Version: other → 2.0
nsSecureBrowserUI never gets a STATE_TRANSFERRING | STATE_IS_DOCUMENT 
notification from the docloader.  This is a docloader bug.  Changing component.
Assignee: ddrinan → adamlock
Component: Client Library → Embedding: Docshell
Product: PSM → Browser
QA Contact: junruh → adamlock
Target Milestone: 2.0 → M1
Version: 2.0 → other
-> rpotts
Assignee: adamlock → rpotts
Target Milestone: M1 → mozilla0.9.2
Tested with the latest bits and seems to be working fine.

The security alert comes up first, i choose OK and only then does the bugzilla 
query page is loaded.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Worksforme as well, 2001-06-10-21 Linux build.  Verifying.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.