Bug 482659. Give about:blank documents the base URI of the document that did
the load. r=dcamp, sr=jst, a=dveditz git-svn-id: svn://10.0.0.236/trunk@256568 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -150,7 +150,7 @@ nsFrameLoader::LoadFrame()
|
||||
// If the URI was malformed, try to recover by loading about:blank.
|
||||
if (rv == NS_ERROR_MALFORMED_URI) {
|
||||
rv = NS_NewURI(getter_AddRefs(uri), NS_LITERAL_STRING("about:blank"),
|
||||
charset);
|
||||
charset, base_uri);
|
||||
}
|
||||
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
Reference in New Issue
Block a user