Closed Bug 130317 Opened 24 years ago Closed 24 years ago

freeze nsIPassword.idl

Categories

(SeaMonkey :: Passwords & Permissions, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 130306

People

(Reporter: morse, Assigned: morse)

Details

Attachments

(1 file, 3 obsolete files)

nsIPassword is the enumeration type for nsIPaswordManager. Because nsIPasswordManager is freezing, nsIPassword needs freezing as well.
Attached patch freeze for nsIPassword.idl (obsolete) — Splinter Review
is "host" in UTF8? This is the one thing we probably want to clarify.. if so we'll probably need to change it to UTF8String adding darin, master of all hosts utf8.
morse: host should probably be UTF-8 in this interface. even if you are currently always passing ASCII via this interface, it is probably best moving forward to allow UTF-8 hostnames. that way we don't lock ourselves into an interface that restricts i18n URL support. how about changing to AString as well in place of wstring. AString allows for sharing of string buffers... and is generally much much better. interface nsIPassword : nsISupports { readonly attribute AUTF8String host; readonly attribute AString user; readonly attribute AString password; };
Attachment #73700 - Attachment is obsolete: true
Attachment #73928 - Attachment is obsolete: true
Comment on attachment 73940 [details] [diff] [review] remove CONTRACT_ID per bug 130304 comment 21 sr=alecf
Attachment #73940 - Flags: superreview+
not that anyone cares, but the copyright block @ http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/extensions/wallet/public/ns IPassword.idl&rev=&root=/cvsroot&mark=#1 looks rather wrong... Mozilla is a project, not an entity, it doesn't hold copyrights. Also shouldn't there be *'s on the blank lines too ;-?
Does "host" in this case mean "host" or "host:port" ?
It means whatever the caller of this interface cares to pass in.
boris has a valid question though, and thus we need more comments - we should document that it could mean either one, but that it is used to uniquely identify hosts.. so that "newsserver:119" is not the same as just "newsserver"
Attachment #73940 - Attachment is obsolete: true
Thank you, Stephen.
i'll repeat my other complaint here. you're marking a new file as (c) 1998, and you're describing these api's as for embedding. do seamonkey and mozilla navigator not use them?
Combining this bug with 130306 because the patches for the two will have many files in common. *** This bug has been marked as a duplicate of 130306 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: