bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com

git-svn-id: svn://10.0.0.236/trunk@100515 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
andreas.otte%primus-online.de
2001-08-07 20:42:57 +00:00
parent d04e6624b2
commit e9654a3ac3
34 changed files with 254 additions and 11 deletions

View File

@@ -73,6 +73,12 @@ nsDataHandler::GetDefaultPort(PRInt32 *result) {
return NS_OK;
}
NS_IMETHODIMP
nsDataHandler::GetURIType(PRInt16 *result) {
*result = URI_NORELATIVE | URI_NOAUTH;
return NS_OK;
}
NS_IMETHODIMP
nsDataHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
nsIURI **result) {