зеркало из https://github.com/mozilla/gecko-dev.git
backout a268f8037bb0
This commit is contained in:
Родитель
b388de11de
Коммит
20e7546d76
|
@ -618,10 +618,6 @@ HTMLInputElement::nsFilePickerShownCallback::Done(int16_t aResult)
|
|||
|
||||
mInput->CancelDirectoryPickerScanIfRunning();
|
||||
|
||||
// Clear HTMLInputElement.files early to avoid authors thinking the old list
|
||||
// is the result of the directory picker operation before its completed.
|
||||
mInput->ClearFiles();
|
||||
|
||||
int16_t mode;
|
||||
mFilePicker->GetMode(&mode);
|
||||
|
||||
|
@ -2458,12 +2454,6 @@ HTMLInputElement::SetFiles(nsIDOMFileList* aFiles,
|
|||
AfterSetFiles(aSetValueChanged);
|
||||
}
|
||||
|
||||
void
|
||||
HTMLInputElement::ClearFiles()
|
||||
{
|
||||
mFiles.Clear();
|
||||
}
|
||||
|
||||
void
|
||||
HTMLInputElement::AfterSetFiles(bool aSetValueChanged)
|
||||
{
|
||||
|
|
|
@ -201,7 +201,6 @@ public:
|
|||
|
||||
void SetFiles(const nsTArray<nsCOMPtr<nsIDOMFile> >& aFiles, bool aSetValueChanged);
|
||||
void SetFiles(nsIDOMFileList* aFiles, bool aSetValueChanged);
|
||||
void ClearFiles();
|
||||
|
||||
void SetCheckedChangedInternal(bool aCheckedChanged);
|
||||
bool GetCheckedChanged() const {
|
||||
|
|
Загрузка…
Ссылка в новой задаче