Re-enabling the fix for bug 69070 and optimizing some string code in caps that was for sure part of the reason for the Tp regression, and use CheckLoadURIWithPrincipal() to be more correct. r+sr=bzbarsky@mit.edu

git-svn-id: svn://10.0.0.236/trunk@163827 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com 2004-10-15 16:53:35 +00:00
parent f7be13f55b
commit c45391a630

View File

@ -346,8 +346,8 @@ private:
static nsresult
doGetObjectPrincipal(JSContext *cx, JSObject *obj, nsIPrincipal **result);
nsresult
GetBaseURIScheme(nsIURI* aURI, char** aScheme);
static nsresult
GetBaseURIScheme(nsIURI* aURI, nsCString& aScheme);
static nsresult
ReportError(JSContext* cx, const nsAString& messageTag,