Bug 1303638 - file.webkitRelativePath must contain the leafName of the parent directory, r=smaug

This commit is contained in:
Andrea Marchesini
2016-09-22 13:48:46 +02:00
parent 4ab6c15455
commit eb959259c8
5 changed files with 20 additions and 9 deletions

View File

@@ -5635,7 +5635,7 @@ HTMLInputElement::GetFiles(bool aRecursiveFlag, ErrorResult& aRv)
GetFilesHelper* helper = GetOrCreateGetFilesHelper(aRecursiveFlag, aRv);
if (NS_WARN_IF(aRv.Failed())) {
return nullptr;
}
}
MOZ_ASSERT(helper);
nsCOMPtr<nsIGlobalObject> global = OwnerDoc()->GetScopeObject();