Bug 1082540 - LoadGroups of imports should be contained by the LoadGroup of the master. r=bz

This commit is contained in:
Gabor Krizsanits 2014-10-15 12:02:30 +02:00
Родитель 701f1dd745
Коммит b2c98e2471
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -484,7 +484,7 @@ ImportLoader::Open()
nsIScriptSecurityManager::STANDARD);
NS_ENSURE_SUCCESS_VOID(rv);
nsCOMPtr<nsILoadGroup> loadGroup = mImportParent->GetDocumentLoadGroup();
nsCOMPtr<nsILoadGroup> loadGroup = master->GetDocumentLoadGroup();
nsCOMPtr<nsIChannelPolicy> channelPolicy;
nsCOMPtr<nsIContentSecurityPolicy> csp;
rv = principal->GetCsp(getter_AddRefs(csp));