Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
MozReview-Commit-ID: 2UcUy4MkVsM
This commit is contained in:
@@ -44,6 +44,8 @@ class HTMLFormElement final : public nsGenericHTMLElement,
|
||||
friend class HTMLFormControlsCollection;
|
||||
|
||||
public:
|
||||
NS_IMPL_FROMCONTENT_HTML_WITH_TAG(HTMLFormElement, form)
|
||||
|
||||
explicit HTMLFormElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
|
||||
|
||||
enum {
|
||||
@@ -325,31 +327,33 @@ public:
|
||||
}
|
||||
|
||||
void GetAction(nsString& aValue);
|
||||
|
||||
void SetAction(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
SetHTMLAttr(nsGkAtoms::action, aValue, aRv);
|
||||
}
|
||||
|
||||
// XPCOM GetAutocomplete() is OK
|
||||
void GetAutocomplete(nsAString& aValue);
|
||||
void SetAutocomplete(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
SetHTMLAttr(nsGkAtoms::autocomplete, aValue, aRv);
|
||||
}
|
||||
|
||||
// XPCOM GetEnctype() is OK
|
||||
void GetEnctype(nsAString& aValue);
|
||||
void SetEnctype(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
SetHTMLAttr(nsGkAtoms::enctype, aValue, aRv);
|
||||
}
|
||||
|
||||
// XPCOM GetEncoding() is OK
|
||||
void GetEncoding(nsAString& aValue)
|
||||
{
|
||||
GetEnctype(aValue);
|
||||
}
|
||||
void SetEncoding(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
SetEnctype(aValue, aRv);
|
||||
}
|
||||
|
||||
// XPCOM GetMethod() is OK
|
||||
void GetMethod(nsAString& aValue);
|
||||
void SetMethod(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
SetHTMLAttr(nsGkAtoms::method, aValue, aRv);
|
||||
@@ -392,8 +396,7 @@ public:
|
||||
int32_t Length();
|
||||
|
||||
void Submit(ErrorResult& aRv);
|
||||
|
||||
// XPCOM Reset() is OK
|
||||
void Reset();
|
||||
|
||||
bool CheckValidity()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user