From 49996c09ec1e5863016f504abc8415c92870d62a Mon Sep 17 00:00:00 2001 From: "dcamp@mozilla.com" Date: Wed, 12 Dec 2007 10:32:55 -0800 Subject: [PATCH] Bug 405741: rename fileList to files on the file input element. r/sr=sicking --- content/html/content/src/nsHTMLInputElement.cpp | 2 +- dom/public/idl/html/nsIDOMNSHTMLInputElement.idl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/html/content/src/nsHTMLInputElement.cpp b/content/html/content/src/nsHTMLInputElement.cpp index 0bb17ec58ab4..a711f5d586c4 100644 --- a/content/html/content/src/nsHTMLInputElement.cpp +++ b/content/html/content/src/nsHTMLInputElement.cpp @@ -2246,7 +2246,7 @@ nsHTMLInputElement::SetSelectionEnd(PRInt32 aSelectionEnd) } NS_IMETHODIMP -nsHTMLInputElement::GetFileList(nsIDOMFileList** aFileList) +nsHTMLInputElement::GetFiles(nsIDOMFileList** aFileList) { *aFileList = nsnull; diff --git a/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl b/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl index 865b4790dfc0..6f1266c8a31a 100644 --- a/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl +++ b/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl @@ -42,7 +42,7 @@ interface nsIControllers; interface nsIDOMFileList; -[scriptable, uuid(7564318a-8d75-4191-890d-f0150488d431)] +[scriptable, uuid(df3dc133-d77a-482f-8364-8e40df978a33)] interface nsIDOMNSHTMLInputElement : nsISupports { readonly attribute nsIControllers controllers; @@ -52,7 +52,7 @@ interface nsIDOMNSHTMLInputElement : nsISupports attribute long selectionStart; attribute long selectionEnd; - readonly attribute nsIDOMFileList fileList; + readonly attribute nsIDOMFileList files; /* convenience */ void setSelectionRange(in long selectionStart,