Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi

git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jonas%sicking.cc
2007-07-27 02:49:19 +00:00
parent 7509b39f4e
commit 857bbdaa67
18 changed files with 1435 additions and 1010 deletions

View File

@@ -847,6 +847,11 @@ nsObjectLoadingContent::LoadObject(nsIURI* aURI,
}
// Security checks
if (doc->IsLoadedAsData()) {
Fallback(PR_FALSE);
return NS_OK;
}
// Can't do security checks without a URI - hopefully the plugin will take
// care of that
// Null URIs happen when the URL to load is specified via other means than the