Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst
This commit is contained in:
@@ -159,7 +159,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