Closed
Bug 224195
Opened 21 years ago
Closed 20 years ago
ClearAuthenticationCache not working?
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mvf, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
<SCRIPT>document.execCommand("ClearAuthenticationCache");</SCRIPT> is not
working (not implemented?)
Reproducible: Always
Steps to Reproduce:
1. Create page with HTTP login ("HTTP/1.0 401 Unauthorized") with realm, and
create link "Logout" with JS code like this
document.execCommand("ClearAuthenticationCache");
2. In the Mozilla browser login to this page, now you can leave this page and
return back and it will not ask for retyping password even if you will "Logout".
3. To see how it should be look it in MS IE
Actual Results:
Mozilla continues to sent login/password in header to any page
Expected Results:
after executing "ClearAuthenticationCache" in should stop sending login/password
in header
Comment 1•21 years ago
|
||
Not sure this is part of ECMA-262.
IE6SP1 or above required:
http://msdn.microsoft.com/workshop/author/dhtml/reference/constants/clearauthenticationcache.asp
Comment 2•21 years ago
|
||
Not a JS Engine issue. JS Engine deals with the abstract JavaScript
language, and does not include DOM objects or methods.
Reassigning to DOM Level 0 -
Assignee: general → general
Component: JavaScript Engine → DOM Level 0
QA Contact: PhilSchwartau → ian
Comment 3•20 years ago
|
||
Could someone please at least confirm this one? As a web developer I can say it
would be really nice to see this implemented, even if it's not part of the spec.
Comment 4•20 years ago
|
||
its shouldnøt work
however you can use an extension:
http://extensionroom.mozdev.org/more-info/clearhttpauth
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•