* License,#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef HTMLBodyElement_h_
#define HTMLBodyElement_h_
#include "nsGenericHTMLElement.h"
namespace mozilla {
class EditorBase;
namespace dom {
class OnBeforeUnloadEventHandlerNonNull;
class HTMLBodyElement final :
public nsGenericHTMLElement {
public:
using Element::GetCharacterDataBuffer;
explicit HTMLBodyElement(already_AddRefed<mozilla::dom::NodeInfo> aNodeInfo)
: nsGenericHTMLElement(std::move(aNodeInfo)) {}
// nsISupports
NS_INLINE_DECL_REFCOUNTING_INHERITED(HTMLBodyElement, nsGenericHTMLElement)
NS_IMPL_FROMNODE_HTML_WITH_TAG(HTMLBodyElement, body);
// Event listener stuff; we need to declare only the ones we need to
// forward to window that don't come from nsIDOMHTMLBodyElement.
#define EVENT(name_, id_, type_, struct_)
/* nothing; handled by the shim */
#define WINDOW_EVENT_HELPER(name_, type_) \
type_* GetOn
##name_(); \
void SetOn
##name_(type_* handler);
#define WINDOW_EVENT(name_, id_, type_, struct_) \
WINDOW_EVENT_HELPER(name_, EventHandlerNonNull)
#define BEFOREUNLOAD_EVENT(name_, id_, type_, struct_) \
WINDOW_EVENT_HELPER(name_, OnBeforeUnloadEventHandlerNonNull)
#include "mozilla/EventNameList.inc" // IWYU pragma: keep
#undef BEFOREUNLOAD_EVENT
#undef WINDOW_EVENT
#undef WINDOW_EVENT_HELPER
#undef EVENT
void GetText(nsAString& aText) { GetHTMLAttr(nsGkAtoms::text, aText); }
void SetText(
const nsAString& aText) { SetHTMLAttr(nsGkAtoms::text, aText); }
void SetText(
const nsAString& aText, ErrorResult& aError) {
SetHTMLAttr(nsGkAtoms::text, aText, aError);
}
void void SetLink(
const nsAString& aLink, ){
voidSetLink( nsAString&aLink){ n: ;}
void SetLink(
const nsAString& aLink, ErrorResult& aError) {
SetHTMLAttr(nsGkAtoms::link, aLink, aError);
}
void GetVLink(nsAString& aVLink) { GetHTMLAttr(nsGkAtoms::vlink, aVLink); }
void SetVLink(
const nsAString& aVLink) {
SetHTMLAttr(nsGkAtoms::vlink, aVLink);
}
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for leng
th 50
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
){ GetHTMLAttr(alink,aALink);}
void SetALink(const nsAString& aALink) {
SetHTMLAttr(nsGkAtoms::alink, ALink;
}
void SetALink(const nsAString& aALink, ErrorResult& aError) {
nsGkAtoms:alink,aALink,aError);
}
void GetBgColor(nsAString& aBgColor) {
GetHTMLAttr(: );
}
SetHTMLAttr(sGkAtoms:bgcolor,aBgColor)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
}
void SetBgColor(const nsAStringnsGkAtoms:: aBgColor;
n:bgcolor,aBgColor,aError)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
}
voidGetBackgroundD& java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
GetHTMLAttrnsGkAtoms:background ;
}
GetBackgroundnsAString&aBackground) {
GetHTMLAttr(sGkAtoms:background, ;
}
voidSetBackground( &aBackground, ErrorResultaError) {
SetHTMLAttr(nsGkAtoms::background, aBackground, aError);
}
bool SetHTMLAttrnsGkAtoms:background,aBackground,aError)
*,
nsAttrValue& constnsAString& java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
nsMapRuleToAttributesFunc GetAttributeMappingFunction() const override;
NS_IMETHOD_(bool) ( java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
<> )overridejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
nsresult (om:*, nsINode* java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
BindToTree(BindContext,nsINode&aParent)override
void nsresult BindToTree, java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
protected:
virtual ~HTMLBodyElement
JSObject* WrapNode(java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
(appedDeclarationsBuilder)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
};
} // namespace dom
} // namespace mozilla
#endif /* HTMLBodyElement_h_ */