Closed Bug 170439 Opened 22 years ago Closed 20 years ago

Document the string type for nsIWebNav->LoadURI()

Categories

(Core Graveyard :: Embedding: APIs, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: depman1, Assigned: darin.moz)

References

()

Details

Since we use NS_ConvertASCIItoUCS2() in LoadURI, should document the string uri
input as UCS2.
QA Contact: depstein → dsirnapalli
nsIWebNav does not seem to have a LoadURI function on it.  Could you be more
specific about which function you think needs documentation?

This is a bug in the embedding test harness, right?  Not in nsIWebNavigation or
nsDocShell per se?
No I was referring to nsIWebNavigation->LoadURI(), not in any test driver. See
the above url for nsIWebNavigation.idl. The uri string input, first parameter,
needs to be documented. I suggested UCS2 since NS_ConvertASCIItoUCS2() is used
in embedding apps.
It's a "wstring".  That's UCS2 (UTF-16, actually, but that's a superset of UCS2)
by definition.
mass reassign of various rpotts bugs to me
Assignee: rpotts → darin
wstring is always UTF-16 in mozilla. this needs not be documented for each
interface separately.
Status: NEW → RESOLVED
Closed: 20 years ago
OS: Windows NT → All
Hardware: PC → All
Resolution: --- → WONTFIX
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.