From ed9894d75011667dfaeba18fceb11411f21fe60b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 3 May 2019 14:26:12 +0100 Subject: Add auto-generated getters/setters on body element Signed-off-by: Daniel Silverstone --- .../javascript/duktape/HTMLBodyElement.bnd | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'content/handlers') diff --git a/content/handlers/javascript/duktape/HTMLBodyElement.bnd b/content/handlers/javascript/duktape/HTMLBodyElement.bnd index a283f897c..478739651 100644 --- a/content/handlers/javascript/duktape/HTMLBodyElement.bnd +++ b/content/handlers/javascript/duktape/HTMLBodyElement.bnd @@ -8,6 +8,13 @@ * http://www.opensource.org/licenses/mit-license */ +prologue HTMLBodyElement() +%{ +#include "utils/corestrings.h" + +#define HANDLER_MAGIC MAGIC(HANDLER_MAP) +%} + init HTMLBodyElement(struct dom_html_element *html_body_element::html_element); getter HTMLBodyElement::aLink(); @@ -22,3 +29,29 @@ getter HTMLBodyElement::text(); setter HTMLBodyElement::text(); getter HTMLBodyElement::vLink(); setter HTMLBodyElement::vLink(); +getter HTMLBodyElement::onafterprint(); +setter HTMLBodyElement::onafterprint(); +getter HTMLBodyElement::onbeforeprint(); +setter HTMLBodyElement::onbeforeprint(); +getter HTMLBodyElement::onbeforeunload(); +setter HTMLBodyElement::onbeforeunload(); +getter HTMLBodyElement::onhashchange(); +setter HTMLBodyElement::onhashchange(); +getter HTMLBodyElement::onlanguagechange(); +setter HTMLBodyElement::onlanguagechange(); +getter HTMLBodyElement::onmessage(); +setter HTMLBodyElement::onmessage(); +getter HTMLBodyElement::onoffline(); +setter HTMLBodyElement::onoffline(); +getter HTMLBodyElement::ononline(); +setter HTMLBodyElement::ononline(); +getter HTMLBodyElement::onpagehide(); +setter HTMLBodyElement::onpagehide(); +getter HTMLBodyElement::onpageshow(); +setter HTMLBodyElement::onpageshow(); +getter HTMLBodyElement::onpopstate(); +setter HTMLBodyElement::onpopstate(); +getter HTMLBodyElement::onstorage(); +setter HTMLBodyElement::onstorage(); +getter HTMLBodyElement::onunload(); +setter HTMLBodyElement::onunload(); -- cgit v1.2.3