зеркало из https://github.com/mozilla/gecko-dev.git
Added call to nsJAR::ParseManifest, needed for signed scripts. bug=7270 r=norris.
This commit is contained in:
Родитель
fb0ec52f63
Коммит
9f00c29250
|
@ -650,6 +650,9 @@ nsJARChannel::Open(char* *contentType, PRInt32 *contentLength)
|
|||
rv = mJAR->Open();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// If this fails, GetOwner will fail, but otherwise we can continue.
|
||||
rv = mJAR->ParseManifest();
|
||||
|
||||
nsCOMPtr<nsIZipEntry> entry;
|
||||
rv = mJAR->GetEntry(mJAREntry, getter_AddRefs(entry));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
|
|
@ -650,6 +650,9 @@ nsJARChannel::Open(char* *contentType, PRInt32 *contentLength)
|
|||
rv = mJAR->Open();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// If this fails, GetOwner will fail, but otherwise we can continue.
|
||||
rv = mJAR->ParseManifest();
|
||||
|
||||
nsCOMPtr<nsIZipEntry> entry;
|
||||
rv = mJAR->GetEntry(mJAREntry, getter_AddRefs(entry));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче