/* THIS FILE IS AUTOGENERATED FROM CSSPositionTryDescriptors.webidl BY Codegen.py - DO NOT EDIT */

#include <type_traits>
#include "CSSPositionTryDescriptorsBinding.h"
#include "CSSStyleDeclarationBinding.h"
#include "MainThreadUtils.h"
#include "WrapperFactory.h"
#include "js/CallAndConstruct.h"
#include "js/Exception.h"
#include "js/MapAndSet.h"
#include "js/Object.h"
#include "js/PropertyAndElement.h"
#include "js/PropertyDescriptor.h"
#include "js/experimental/JitInfo.h"
#include "mozilla/Atomics.h"
#include "mozilla/BasePrincipal.h"
#include "mozilla/OwningNonNull.h"
#include "mozilla/ProfilerLabels.h"
#include "mozilla/StaticPrefs_layout.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/dom/CSSPositionTryRule.h"
#include "mozilla/dom/CustomElementRegistry.h"
#include "mozilla/dom/DOMJSClass.h"
#include "mozilla/dom/DOMJSProxyHandler.h"
#include "mozilla/dom/DocGroup.h"
#include "mozilla/dom/NonRefcountedDOMObject.h"
#include "mozilla/dom/ProxyHandlerUtils.h"
#include "mozilla/dom/WebIDLPrefs.h"
#include "mozilla/dom/XrayExpandoClass.h"
#include "nsContentUtils.h"
#include "nsJSPrincipals.h"

namespace mozilla::dom {

namespace binding_detail {}; // Just to make sure it's known as a namespace
using namespace mozilla::dom::binding_detail;


namespace CSSPositionTryDescriptors_Binding {

static_assert(IsRefcounted<NativeType>::value == IsRefcounted<CSSStyleDeclaration_Binding::NativeType>::value,
              "Can't inherit from an interface with a different ownership model.");

MOZ_CAN_RUN_SCRIPT static bool
GetPropertyValue(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args, NonCustomCSSPropertyId id)
{
  const char* attrName = nsCSSProps::PropertyIDLName(id);
  AUTO_PROFILER_LABEL_DYNAMIC_FAST(
    "CSSPositionTryDescriptors", attrName, DOM, cx,
    uint32_t(js::ProfilingStackFrame::Flags::STRING_TEMPLATE_GETTER) |
    uint32_t(js::ProfilingStackFrame::Flags::RELEVANT_FOR_JS));

  auto* self = static_cast<mozilla::dom::CSSPositionTryRuleDeclaration*>(void_self);
  nsAutoCString result;
  // NOTE: This assert does NOT call the function.
  static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->GetPropertyValue(id, result))>, "Should be returning void here");
  MOZ_KnownLive(self)->GetPropertyValue(id, result);
  MOZ_ASSERT(!JS_IsExceptionPending(cx));
  if (!NonVoidUTF8StringToJsval(cx, result, args.rval())) {
    return false;
  }
  return true;
}

MOZ_CAN_RUN_SCRIPT static bool
SetPropertyValue(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args, NonCustomCSSPropertyId id)
{
  const char* attrName = nsCSSProps::PropertyIDLName(id);
  AUTO_PROFILER_LABEL_DYNAMIC_FAST(
    "CSSPositionTryDescriptors", attrName, DOM, cx,
    uint32_t(js::ProfilingStackFrame::Flags::STRING_TEMPLATE_SETTER) |
    uint32_t(js::ProfilingStackFrame::Flags::RELEVANT_FOR_JS));

  auto* self = static_cast<mozilla::dom::CSSPositionTryRuleDeclaration*>(void_self);
  binding_detail::FakeString<char> arg0;
  if (!ConvertJSValueToString(cx, args[0], eEmpty, eStringify, arg0)) {
    return false;
  }
  Maybe<AutoCEReaction> ceReaction;
  DocGroup* docGroup = self->GetDocGroup();
  if (docGroup) {
    ceReaction.emplace(docGroup->CustomElementReactionsStack(), cx);
  }
  FastErrorResult rv;
  nsIPrincipal* subjectPrincipal;
  {
    JS::Realm* realm = js::GetContextRealm(cx);
    MOZ_ASSERT(realm);
    JSPrincipals* principals = JS::GetRealmPrincipals(realm);
    nsIPrincipal* principal = nsJSPrincipals::get(principals);
    if (principal->IsSystemPrincipal()) {
    principal = nullptr;
  }

    subjectPrincipal = principal;
  }
  // NOTE: This assert does NOT call the function.
  static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->SetPropertyValue(id, Constify(arg0), MOZ_KnownLive(subjectPrincipal), rv))>, "Should be returning void here");
  MOZ_KnownLive(self)->SetPropertyValue(id, Constify(arg0), MOZ_KnownLive(subjectPrincipal), rv);
  if (MOZ_UNLIKELY(rv.MaybeSetPendingException(cx, ErrorDescriptionFor<ErrorFor::setter>{ "CSSPositionTryDescriptors", attrName }))) {
    return false;
  }
  MOZ_ASSERT(!JS_IsExceptionPending(cx));

  return true;
}

MOZ_CAN_RUN_SCRIPT static bool
get_positionArea(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_position_area);
}

MOZ_CAN_RUN_SCRIPT static bool
set_positionArea(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_position_area);
}

static const JSJitInfo positionArea_getterinfo = {
  { get_positionArea },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo positionArea_setterinfo = {
  { (JSJitGetterOp)set_positionArea },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_alignSelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_align_self);
}

MOZ_CAN_RUN_SCRIPT static bool
set_alignSelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_align_self);
}

static const JSJitInfo alignSelf_getterinfo = {
  { get_alignSelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo alignSelf_setterinfo = {
  { (JSJitGetterOp)set_alignSelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_justifySelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_justify_self);
}

MOZ_CAN_RUN_SCRIPT static bool
set_justifySelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_justify_self);
}

static const JSJitInfo justifySelf_getterinfo = {
  { get_justifySelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo justifySelf_setterinfo = {
  { (JSJitGetterOp)set_justifySelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_positionAnchor(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_position_anchor);
}

MOZ_CAN_RUN_SCRIPT static bool
set_positionAnchor(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_position_anchor);
}

static const JSJitInfo positionAnchor_getterinfo = {
  { get_positionAnchor },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo positionAnchor_setterinfo = {
  { (JSJitGetterOp)set_positionAnchor },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_maxBlockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_block_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_maxBlockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_block_size);
}

static const JSJitInfo maxBlockSize_getterinfo = {
  { get_maxBlockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo maxBlockSize_setterinfo = {
  { (JSJitGetterOp)set_maxBlockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_maxHeight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_height);
}

MOZ_CAN_RUN_SCRIPT static bool
set_maxHeight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_height);
}

static const JSJitInfo maxHeight_getterinfo = {
  { get_maxHeight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo maxHeight_setterinfo = {
  { (JSJitGetterOp)set_maxHeight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_maxInlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_inline_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_maxInlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_inline_size);
}

static const JSJitInfo maxInlineSize_getterinfo = {
  { get_maxInlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo maxInlineSize_setterinfo = {
  { (JSJitGetterOp)set_maxInlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_maxWidth(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_width);
}

MOZ_CAN_RUN_SCRIPT static bool
set_maxWidth(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_max_width);
}

static const JSJitInfo maxWidth_getterinfo = {
  { get_maxWidth },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo maxWidth_setterinfo = {
  { (JSJitGetterOp)set_maxWidth },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_bottom(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_bottom);
}

MOZ_CAN_RUN_SCRIPT static bool
set_bottom(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_bottom);
}

static const JSJitInfo bottom_getterinfo = {
  { get_bottom },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo bottom_setterinfo = {
  { (JSJitGetterOp)set_bottom },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetBlockEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block_end);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetBlockEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block_end);
}

static const JSJitInfo insetBlockEnd_getterinfo = {
  { get_insetBlockEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetBlockEnd_setterinfo = {
  { (JSJitGetterOp)set_insetBlockEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetBlockStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block_start);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetBlockStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block_start);
}

static const JSJitInfo insetBlockStart_getterinfo = {
  { get_insetBlockStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetBlockStart_setterinfo = {
  { (JSJitGetterOp)set_insetBlockStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetInlineEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline_end);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetInlineEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline_end);
}

static const JSJitInfo insetInlineEnd_getterinfo = {
  { get_insetInlineEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetInlineEnd_setterinfo = {
  { (JSJitGetterOp)set_insetInlineEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetInlineStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline_start);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetInlineStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline_start);
}

static const JSJitInfo insetInlineStart_getterinfo = {
  { get_insetInlineStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetInlineStart_setterinfo = {
  { (JSJitGetterOp)set_insetInlineStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_left(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_left);
}

MOZ_CAN_RUN_SCRIPT static bool
set_left(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_left);
}

static const JSJitInfo left_getterinfo = {
  { get_left },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo left_setterinfo = {
  { (JSJitGetterOp)set_left },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_right(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_right);
}

MOZ_CAN_RUN_SCRIPT static bool
set_right(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_right);
}

static const JSJitInfo right_getterinfo = {
  { get_right },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo right_setterinfo = {
  { (JSJitGetterOp)set_right },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_top(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_top);
}

MOZ_CAN_RUN_SCRIPT static bool
set_top(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_top);
}

static const JSJitInfo top_getterinfo = {
  { get_top },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo top_setterinfo = {
  { (JSJitGetterOp)set_top },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginBlockEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block_end);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginBlockEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block_end);
}

static const JSJitInfo marginBlockEnd_getterinfo = {
  { get_marginBlockEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginBlockEnd_setterinfo = {
  { (JSJitGetterOp)set_marginBlockEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginBlockStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block_start);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginBlockStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block_start);
}

static const JSJitInfo marginBlockStart_getterinfo = {
  { get_marginBlockStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginBlockStart_setterinfo = {
  { (JSJitGetterOp)set_marginBlockStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginBottom(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_bottom);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginBottom(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_bottom);
}

static const JSJitInfo marginBottom_getterinfo = {
  { get_marginBottom },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginBottom_setterinfo = {
  { (JSJitGetterOp)set_marginBottom },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginInlineEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline_end);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginInlineEnd(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline_end);
}

static const JSJitInfo marginInlineEnd_getterinfo = {
  { get_marginInlineEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginInlineEnd_setterinfo = {
  { (JSJitGetterOp)set_marginInlineEnd },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginInlineStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline_start);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginInlineStart(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline_start);
}

static const JSJitInfo marginInlineStart_getterinfo = {
  { get_marginInlineStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginInlineStart_setterinfo = {
  { (JSJitGetterOp)set_marginInlineStart },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginLeft(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_left);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginLeft(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_left);
}

static const JSJitInfo marginLeft_getterinfo = {
  { get_marginLeft },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginLeft_setterinfo = {
  { (JSJitGetterOp)set_marginLeft },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginRight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_right);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginRight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_right);
}

static const JSJitInfo marginRight_getterinfo = {
  { get_marginRight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginRight_setterinfo = {
  { (JSJitGetterOp)set_marginRight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginTop(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_top);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginTop(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_top);
}

static const JSJitInfo marginTop_getterinfo = {
  { get_marginTop },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginTop_setterinfo = {
  { (JSJitGetterOp)set_marginTop },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_blockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_block_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_blockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_block_size);
}

static const JSJitInfo blockSize_getterinfo = {
  { get_blockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo blockSize_setterinfo = {
  { (JSJitGetterOp)set_blockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_height(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_height);
}

MOZ_CAN_RUN_SCRIPT static bool
set_height(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_height);
}

static const JSJitInfo height_getterinfo = {
  { get_height },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo height_setterinfo = {
  { (JSJitGetterOp)set_height },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_inlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inline_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_inlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inline_size);
}

static const JSJitInfo inlineSize_getterinfo = {
  { get_inlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo inlineSize_setterinfo = {
  { (JSJitGetterOp)set_inlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_minBlockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_block_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_minBlockSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_block_size);
}

static const JSJitInfo minBlockSize_getterinfo = {
  { get_minBlockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo minBlockSize_setterinfo = {
  { (JSJitGetterOp)set_minBlockSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_minHeight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_height);
}

MOZ_CAN_RUN_SCRIPT static bool
set_minHeight(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_height);
}

static const JSJitInfo minHeight_getterinfo = {
  { get_minHeight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo minHeight_setterinfo = {
  { (JSJitGetterOp)set_minHeight },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_minInlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_inline_size);
}

MOZ_CAN_RUN_SCRIPT static bool
set_minInlineSize(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_inline_size);
}

static const JSJitInfo minInlineSize_getterinfo = {
  { get_minInlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo minInlineSize_setterinfo = {
  { (JSJitGetterOp)set_minInlineSize },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_minWidth(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_width);
}

MOZ_CAN_RUN_SCRIPT static bool
set_minWidth(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_min_width);
}

static const JSJitInfo minWidth_getterinfo = {
  { get_minWidth },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo minWidth_setterinfo = {
  { (JSJitGetterOp)set_minWidth },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_width(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_width);
}

MOZ_CAN_RUN_SCRIPT static bool
set_width(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_width);
}

static const JSJitInfo width_getterinfo = {
  { get_width },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo width_setterinfo = {
  { (JSJitGetterOp)set_width },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_margin(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin);
}

MOZ_CAN_RUN_SCRIPT static bool
set_margin(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin);
}

static const JSJitInfo margin_getterinfo = {
  { get_margin },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo margin_setterinfo = {
  { (JSJitGetterOp)set_margin },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginBlock(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginBlock(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_block);
}

static const JSJitInfo marginBlock_getterinfo = {
  { get_marginBlock },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginBlock_setterinfo = {
  { (JSJitGetterOp)set_marginBlock },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_marginInline(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline);
}

MOZ_CAN_RUN_SCRIPT static bool
set_marginInline(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_margin_inline);
}

static const JSJitInfo marginInline_getterinfo = {
  { get_marginInline },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo marginInline_setterinfo = {
  { (JSJitGetterOp)set_marginInline },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_placeSelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_place_self);
}

MOZ_CAN_RUN_SCRIPT static bool
set_placeSelf(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_place_self);
}

static const JSJitInfo placeSelf_getterinfo = {
  { get_placeSelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo placeSelf_setterinfo = {
  { (JSJitGetterOp)set_placeSelf },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_inset(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset);
}

MOZ_CAN_RUN_SCRIPT static bool
set_inset(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset);
}

static const JSJitInfo inset_getterinfo = {
  { get_inset },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo inset_setterinfo = {
  { (JSJitGetterOp)set_inset },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetBlock(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetBlock(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_block);
}

static const JSJitInfo insetBlock_getterinfo = {
  { get_insetBlock },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetBlock_setterinfo = {
  { (JSJitGetterOp)set_insetBlock },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_CAN_RUN_SCRIPT static bool
get_insetInline(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitGetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::GetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline);
}

MOZ_CAN_RUN_SCRIPT static bool
set_insetInline(JSContext* cx, JS::Handle<JSObject*> obj, void* void_self, JSJitSetterCallArgs args)
{
  return CSSPositionTryDescriptors_Binding::SetPropertyValue(cx, obj, void_self, args, eCSSProperty_inset_inline);
}

static const JSJitInfo insetInline_getterinfo = {
  { get_insetInline },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Getter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_STRING,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};
static const JSJitInfo insetInline_setterinfo = {
  { (JSJitGetterOp)set_insetInline },
  { prototypes::id::CSSPositionTryDescriptors },
  { PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth },
  JSJitInfo::Setter,
  JSJitInfo::AliasEverything, /* aliasSet.  Not relevant for setters. */
  JSVAL_TYPE_UNDEFINED,  /* returnType.  Not relevant for setters. */
  false,  /* isInfallible. False in setters. */
  false,  /* isMovable.  Not relevant for setters. */
  false, /* isEliminatable.  Not relevant for setters. */
  false, /* isAlwaysInSlot.  Only relevant for getters. */
  false, /* isLazilyCachedInSlot.  Only relevant for getters. */
  false,  /* isTypedMethod.  Only relevant for methods. */
  0   /* Reserved slot index, if we're stored in a slot, else 0. */
};

MOZ_GLOBINIT static const JSFunctionSpec sMethods_specs[] = {
  JS_SYM_FNSPEC(iterator, nullptr, nullptr, 0, 0, "$ArrayValues"),
  JS_FS_END
};


static const Prefable<const JSFunctionSpec> sMethods[] = {
  { nullptr, &sMethods_specs[0] },
  { nullptr, nullptr }
};

static_assert(1 <= 1ull << NUM_BITS_PROPERTY_INFO_PREF_INDEX,
    "We have a prefable index that is >= (1 << NUM_BITS_PROPERTY_INFO_PREF_INDEX)");
static_assert(1 <= 1ull << NUM_BITS_PROPERTY_INFO_SPEC_INDEX,
    "We have a spec index that is >= (1 << NUM_BITS_PROPERTY_INFO_SPEC_INDEX)");

MOZ_GLOBINIT static const JSPropertySpec sAttributes_specs[] = {
  JSPropertySpec::nativeAccessors("positionArea", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &positionArea_getterinfo, GenericSetter<NormalThisPolicy>, &positionArea_setterinfo),
  JSPropertySpec::nativeAccessors("position-area", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &positionArea_getterinfo, GenericSetter<NormalThisPolicy>, &positionArea_setterinfo),
  JS_PS_END,
  JSPropertySpec::nativeAccessors("alignSelf", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &alignSelf_getterinfo, GenericSetter<NormalThisPolicy>, &alignSelf_setterinfo),
  JSPropertySpec::nativeAccessors("align-self", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &alignSelf_getterinfo, GenericSetter<NormalThisPolicy>, &alignSelf_setterinfo),
  JSPropertySpec::nativeAccessors("WebkitAlignSelf", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &alignSelf_getterinfo, GenericSetter<NormalThisPolicy>, &alignSelf_setterinfo),
  JSPropertySpec::nativeAccessors("-webkit-align-self", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &alignSelf_getterinfo, GenericSetter<NormalThisPolicy>, &alignSelf_setterinfo),
  JSPropertySpec::nativeAccessors("webkitAlignSelf", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &alignSelf_getterinfo, GenericSetter<NormalThisPolicy>, &alignSelf_setterinfo),
  JSPropertySpec::nativeAccessors("justifySelf", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &justifySelf_getterinfo, GenericSetter<NormalThisPolicy>, &justifySelf_setterinfo),
  JSPropertySpec::nativeAccessors("justify-self", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &justifySelf_getterinfo, GenericSetter<NormalThisPolicy>, &justifySelf_setterinfo),
  JS_PS_END,
  JSPropertySpec::nativeAccessors("positionAnchor", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &positionAnchor_getterinfo, GenericSetter<NormalThisPolicy>, &positionAnchor_setterinfo),
  JSPropertySpec::nativeAccessors("position-anchor", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &positionAnchor_getterinfo, GenericSetter<NormalThisPolicy>, &positionAnchor_setterinfo),
  JS_PS_END,
  JSPropertySpec::nativeAccessors("maxBlockSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxBlockSize_getterinfo, GenericSetter<NormalThisPolicy>, &maxBlockSize_setterinfo),
  JSPropertySpec::nativeAccessors("max-block-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxBlockSize_getterinfo, GenericSetter<NormalThisPolicy>, &maxBlockSize_setterinfo),
  JSPropertySpec::nativeAccessors("maxHeight", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxHeight_getterinfo, GenericSetter<NormalThisPolicy>, &maxHeight_setterinfo),
  JSPropertySpec::nativeAccessors("max-height", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxHeight_getterinfo, GenericSetter<NormalThisPolicy>, &maxHeight_setterinfo),
  JSPropertySpec::nativeAccessors("maxInlineSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxInlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &maxInlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("max-inline-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxInlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &maxInlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("maxWidth", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxWidth_getterinfo, GenericSetter<NormalThisPolicy>, &maxWidth_setterinfo),
  JSPropertySpec::nativeAccessors("max-width", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &maxWidth_getterinfo, GenericSetter<NormalThisPolicy>, &maxWidth_setterinfo),
  JSPropertySpec::nativeAccessors("bottom", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &bottom_getterinfo, GenericSetter<NormalThisPolicy>, &bottom_setterinfo),
  JSPropertySpec::nativeAccessors("insetBlockEnd", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlockEnd_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlockEnd_setterinfo),
  JSPropertySpec::nativeAccessors("inset-block-end", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlockEnd_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlockEnd_setterinfo),
  JSPropertySpec::nativeAccessors("insetBlockStart", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlockStart_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlockStart_setterinfo),
  JSPropertySpec::nativeAccessors("inset-block-start", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlockStart_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlockStart_setterinfo),
  JSPropertySpec::nativeAccessors("insetInlineEnd", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &insetInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("inset-inline-end", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &insetInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("insetInlineStart", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &insetInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("inset-inline-start", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &insetInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("left", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &left_getterinfo, GenericSetter<NormalThisPolicy>, &left_setterinfo),
  JSPropertySpec::nativeAccessors("right", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &right_getterinfo, GenericSetter<NormalThisPolicy>, &right_setterinfo),
  JSPropertySpec::nativeAccessors("top", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &top_getterinfo, GenericSetter<NormalThisPolicy>, &top_setterinfo),
  JSPropertySpec::nativeAccessors("marginBlockEnd", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlockEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlockEnd_setterinfo),
  JSPropertySpec::nativeAccessors("margin-block-end", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlockEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlockEnd_setterinfo),
  JSPropertySpec::nativeAccessors("marginBlockStart", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlockStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlockStart_setterinfo),
  JSPropertySpec::nativeAccessors("margin-block-start", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlockStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlockStart_setterinfo),
  JSPropertySpec::nativeAccessors("marginBottom", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBottom_getterinfo, GenericSetter<NormalThisPolicy>, &marginBottom_setterinfo),
  JSPropertySpec::nativeAccessors("margin-bottom", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBottom_getterinfo, GenericSetter<NormalThisPolicy>, &marginBottom_setterinfo),
  JSPropertySpec::nativeAccessors("marginInlineEnd", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("margin-inline-end", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("-moz-margin-end", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("MozMarginEnd", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineEnd_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineEnd_setterinfo),
  JSPropertySpec::nativeAccessors("marginInlineStart", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("margin-inline-start", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("-moz-margin-start", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("MozMarginStart", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInlineStart_getterinfo, GenericSetter<NormalThisPolicy>, &marginInlineStart_setterinfo),
  JSPropertySpec::nativeAccessors("marginLeft", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginLeft_getterinfo, GenericSetter<NormalThisPolicy>, &marginLeft_setterinfo),
  JSPropertySpec::nativeAccessors("margin-left", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginLeft_getterinfo, GenericSetter<NormalThisPolicy>, &marginLeft_setterinfo),
  JSPropertySpec::nativeAccessors("marginRight", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginRight_getterinfo, GenericSetter<NormalThisPolicy>, &marginRight_setterinfo),
  JSPropertySpec::nativeAccessors("margin-right", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginRight_getterinfo, GenericSetter<NormalThisPolicy>, &marginRight_setterinfo),
  JSPropertySpec::nativeAccessors("marginTop", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginTop_getterinfo, GenericSetter<NormalThisPolicy>, &marginTop_setterinfo),
  JSPropertySpec::nativeAccessors("margin-top", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginTop_getterinfo, GenericSetter<NormalThisPolicy>, &marginTop_setterinfo),
  JSPropertySpec::nativeAccessors("blockSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &blockSize_getterinfo, GenericSetter<NormalThisPolicy>, &blockSize_setterinfo),
  JSPropertySpec::nativeAccessors("block-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &blockSize_getterinfo, GenericSetter<NormalThisPolicy>, &blockSize_setterinfo),
  JSPropertySpec::nativeAccessors("height", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &height_getterinfo, GenericSetter<NormalThisPolicy>, &height_setterinfo),
  JSPropertySpec::nativeAccessors("inlineSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &inlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &inlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("inline-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &inlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &inlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("minBlockSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minBlockSize_getterinfo, GenericSetter<NormalThisPolicy>, &minBlockSize_setterinfo),
  JSPropertySpec::nativeAccessors("min-block-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minBlockSize_getterinfo, GenericSetter<NormalThisPolicy>, &minBlockSize_setterinfo),
  JSPropertySpec::nativeAccessors("minHeight", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minHeight_getterinfo, GenericSetter<NormalThisPolicy>, &minHeight_setterinfo),
  JSPropertySpec::nativeAccessors("min-height", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minHeight_getterinfo, GenericSetter<NormalThisPolicy>, &minHeight_setterinfo),
  JSPropertySpec::nativeAccessors("minInlineSize", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minInlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &minInlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("min-inline-size", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minInlineSize_getterinfo, GenericSetter<NormalThisPolicy>, &minInlineSize_setterinfo),
  JSPropertySpec::nativeAccessors("minWidth", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minWidth_getterinfo, GenericSetter<NormalThisPolicy>, &minWidth_setterinfo),
  JSPropertySpec::nativeAccessors("min-width", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &minWidth_getterinfo, GenericSetter<NormalThisPolicy>, &minWidth_setterinfo),
  JSPropertySpec::nativeAccessors("width", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &width_getterinfo, GenericSetter<NormalThisPolicy>, &width_setterinfo),
  JSPropertySpec::nativeAccessors("margin", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &margin_getterinfo, GenericSetter<NormalThisPolicy>, &margin_setterinfo),
  JSPropertySpec::nativeAccessors("marginBlock", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlock_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlock_setterinfo),
  JSPropertySpec::nativeAccessors("margin-block", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginBlock_getterinfo, GenericSetter<NormalThisPolicy>, &marginBlock_setterinfo),
  JSPropertySpec::nativeAccessors("marginInline", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInline_getterinfo, GenericSetter<NormalThisPolicy>, &marginInline_setterinfo),
  JSPropertySpec::nativeAccessors("margin-inline", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &marginInline_getterinfo, GenericSetter<NormalThisPolicy>, &marginInline_setterinfo),
  JSPropertySpec::nativeAccessors("placeSelf", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &placeSelf_getterinfo, GenericSetter<NormalThisPolicy>, &placeSelf_setterinfo),
  JSPropertySpec::nativeAccessors("place-self", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &placeSelf_getterinfo, GenericSetter<NormalThisPolicy>, &placeSelf_setterinfo),
  JSPropertySpec::nativeAccessors("inset", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &inset_getterinfo, GenericSetter<NormalThisPolicy>, &inset_setterinfo),
  JSPropertySpec::nativeAccessors("insetBlock", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlock_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlock_setterinfo),
  JSPropertySpec::nativeAccessors("inset-block", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetBlock_getterinfo, GenericSetter<NormalThisPolicy>, &insetBlock_setterinfo),
  JSPropertySpec::nativeAccessors("insetInline", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInline_getterinfo, GenericSetter<NormalThisPolicy>, &insetInline_setterinfo),
  JSPropertySpec::nativeAccessors("inset-inline", JSPROP_ENUMERATE, GenericGetter<NormalThisPolicy, ThrowExceptions>, &insetInline_getterinfo, GenericSetter<NormalThisPolicy>, &insetInline_setterinfo),
  JS_PS_END
};

static const PrefableDisablers sAttributes_disablers0 = {
  WebIDLPrefIndex::layout_css_anchor_positioning_enabled, 0, false, OriginTrial(0), nullptr
};

static const PrefableDisablers sAttributes_disablers11 = {
  WebIDLPrefIndex::layout_css_anchor_positioning_enabled, 0, false, OriginTrial(0), nullptr
};

static const Prefable<const JSPropertySpec> sAttributes[] = {
  { &sAttributes_disablers0, &sAttributes_specs[0] },
  { nullptr, &sAttributes_specs[3] },
  { &sAttributes_disablers11, &sAttributes_specs[11] },
  { nullptr, &sAttributes_specs[14] },
  { nullptr, nullptr }
};

static_assert(4 <= 1ull << NUM_BITS_PROPERTY_INFO_PREF_INDEX,
    "We have a prefable index that is >= (1 << NUM_BITS_PROPERTY_INFO_PREF_INDEX)");
static_assert(66 <= 1ull << NUM_BITS_PROPERTY_INFO_SPEC_INDEX,
    "We have a spec index that is >= (1 << NUM_BITS_PROPERTY_INFO_SPEC_INDEX)");


static uint16_t sNativeProperties_sortedPropertyIndices[78];
static PropertyInfo sNativeProperties_propertyInfos[78];

static const NativePropertiesN<2> sNativeProperties = {
  false, 0,
  false, 0,
  true,  0 /* sMethods */,
  true,  1 /* sAttributes */,
  false, 0,
  false, 0,
  false, 0,
  -1,
  78,
  sNativeProperties_sortedPropertyIndices,
  {
    { sMethods, &sNativeProperties_propertyInfos[0] },
    { sAttributes, &sNativeProperties_propertyInfos[1] }
  }
};
static_assert(78 < 1ull << (CHAR_BIT * sizeof(sNativeProperties.propertyInfoCount)),
    "We have a property info count that is oversized");

static_assert(std::is_base_of_v<nsISupports, mozilla::dom::CSSPositionTryRuleDeclaration>,
              "We don't support non-nsISupports native classes for "
              "proxy-based bindings yet");


class DOMProxyHandler : public mozilla::dom::DOMProxyHandler
{
public:
  using Base = mozilla::dom::DOMProxyHandler;

  explicit constexpr DOMProxyHandler()
  {
  }

  bool
  getOwnPropDescriptor(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, bool ignoreNamedProps, JS::MutableHandle<Maybe<JS::PropertyDescriptor>> desc) const override;

  bool
  defineProperty(JSContext* cx_, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, JS::Handle<JS::PropertyDescriptor> desc, JS::ObjectOpResult& opresult, bool* done) const override;

  using mozilla::dom::DOMProxyHandler::defineProperty;

  bool
  ownPropNames(JSContext* cx, JS::Handle<JSObject*> proxy, unsigned flags, JS::MutableHandleVector<jsid> props) const override;

  bool
  hasOwn(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, bool* bp) const override;

  bool
  get(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<JS::Value> receiver, JS::Handle<jsid> id, JS::MutableHandle<JS::Value> vp) const override;

  const char*
  className(JSContext* cx, JS::Handle<JSObject*> proxy) const override;

  bool
  finalizeInBackground(const JS::Value& priv) const override;

  void
  finalize(JS::GCContext* gcx, JSObject* proxy) const override;

  static const DOMProxyHandler*
  getInstance();

  bool
  delete_(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, JS::ObjectOpResult& opresult) const override;

  bool
  getElements(JSContext* cx, JS::Handle<JSObject*> proxy, uint32_t begin, uint32_t end, js::ElementAdder* adder) const override;

  bool
  canNurseryAllocate() const override;

  size_t
  objectMoved(JSObject* obj, JSObject* old) const override;
};

MOZ_ALWAYS_INLINE bool
IsProxy(JSObject* obj)
{
  return js::IsProxy(obj) && js::GetProxyHandler(obj) == DOMProxyHandler::getInstance();
}

MOZ_ALWAYS_INLINE mozilla::dom::CSSPositionTryRuleDeclaration*
UnwrapProxy(JSObject* obj)
{
  MOZ_ASSERT(js::IsProxy(obj));
  if (js::GetProxyHandler(obj) != DOMProxyHandler::getInstance()) {
    MOZ_ASSERT(xpc::WrapperFactory::IsXrayWrapper(obj));
    obj = js::UncheckedUnwrap(obj);
  }
  MOZ_ASSERT(IsProxy(obj));
  return static_cast<mozilla::dom::CSSPositionTryRuleDeclaration*>(js::GetProxyReservedSlot(obj, DOM_OBJECT_SLOT).toPrivate());
}

const NativeNamedOrIndexedPropertyHooks sNativeNamedOrIndexedPropertyHooks = {
  binding_detail::ResolveOwnProperty,
  binding_detail::EnumerateOwnProperties,
  nullptr
};
bool sNativePropertiesInited = false;
const NativePropertyHooks sNativePropertyHooks = {
  &sNativeNamedOrIndexedPropertyHooks,
  { sNativeProperties.Upcast(), nullptr, &sNativePropertiesInited },
  prototypes::id::CSSPositionTryDescriptors,
  constructors::id::CSSPositionTryDescriptors,
  &DefaultXrayExpandoObjectClass
};

static const DOMInterfaceInfo sInterfaceObjectInfo = {
  { ThrowingConstructor, &sNativePropertyHooks },
  CSSStyleDeclaration_Binding::GetConstructorObjectHandle,
  PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth,
  prototypes::id::CSSPositionTryDescriptors,
  true,
  0,
  "CSSPositionTryDescriptors",
};

static const DOMIfaceAndProtoJSClass sPrototypeClass = {
  {
    "CSSPositionTryDescriptorsPrototype",
    JSCLASS_IS_DOMIFACEANDPROTOJSCLASS | JSCLASS_HAS_RESERVED_SLOTS(DOM_INTERFACE_PROTO_SLOTS_BASE),
    JS_NULL_CLASS_OPS,
    JS_NULL_CLASS_SPEC,
    JS_NULL_CLASS_EXT,
    JS_NULL_OBJECT_OPS
  },
  eInterfacePrototype,
  prototypes::id::CSSPositionTryDescriptors,
  PrototypeTraits<prototypes::id::CSSPositionTryDescriptors>::Depth,
  &sNativePropertyHooks,
  CSSStyleDeclaration_Binding::GetProtoObject
};

bool
ConstructorEnabled(JSContext* aCx, JS::Handle<JSObject*> aObj)
{
  return StaticPrefs::layout_css_anchor_positioning_enabled();
}

static JS::Handle<JSObject*>
GetProtoObjectHandle(JSContext* aCx);

bool
DOMProxyHandler::getOwnPropDescriptor(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, bool ignoreNamedProps, JS::MutableHandle<Maybe<JS::PropertyDescriptor>> desc) const
{
  bool isXray = xpc::WrapperFactory::IsXrayWrapper(proxy);
  uint32_t index = GetArrayIndexFromId(id);
  if (IsArrayIndex(index)) {
    JS::Rooted<JS::Value> value(cx);
    mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapProxy(proxy);
    bool found = false;
    nsAutoCString result;
    // NOTE: This assert does NOT call the function.
    static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->IndexedGetter(index, found, result))>, "Should be returning void here");
    MOZ_KnownLive(self)->IndexedGetter(index, found, result);
    MOZ_ASSERT(!JS_IsExceptionPending(cx));

    if (found) {
      if (!NonVoidUTF8StringToJsval(cx, result, &value)) {
        return false;
      }
      desc.set(mozilla::Some(JS::PropertyDescriptor::Data(value, { JS::PropertyAttribute::Configurable, JS::PropertyAttribute::Enumerable })));
      return true;
    }
  }

  JS::Rooted<JSObject*> expando(cx);
  if (!isXray &&(expando = GetExpandoObject(proxy))) {
    if (!JS_GetOwnPropertyDescriptorById(cx, expando, id, desc)) {
      return false;
    }
    if (desc.isSome()) {
      return true;
    }
  }

  desc.reset();
  return true;
}

bool
DOMProxyHandler::defineProperty(JSContext* cx_, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, JS::Handle<JS::PropertyDescriptor> desc, JS::ObjectOpResult& opresult, bool* done) const
{
  if (IsArrayIndex(GetArrayIndexFromId(id))) {
    *done = true;
    return opresult.failNoIndexedSetter();
  }
  return mozilla::dom::DOMProxyHandler::defineProperty(cx_, proxy, id, desc, opresult, done);
}


bool
DOMProxyHandler::ownPropNames(JSContext* cx, JS::Handle<JSObject*> proxy, unsigned flags, JS::MutableHandleVector<jsid> props) const
{
  bool isXray = xpc::WrapperFactory::IsXrayWrapper(proxy);

  uint32_t length = UnwrapProxy(proxy)->Length();
  MOZ_ASSERT(int32_t(length) >= 0);
  for (int32_t i = 0; i < int32_t(length); ++i) {
    if (!props.append(JS::PropertyKey::Int(i))) {
      return false;
    }
  }

  JS::Rooted<JSObject*> expando(cx);
  if (!isXray &&(expando = DOMProxyHandler::GetExpandoObject(proxy)) &&
      !js::GetPropertyKeys(cx, expando, flags, props)) {
    return false;
  }

  return true;
}

bool
DOMProxyHandler::hasOwn(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, bool* bp) const
{
  MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy),
            "Should not have a XrayWrapper here");
  uint32_t index = GetArrayIndexFromId(id);
  if (IsArrayIndex(index)) {
    bool found = false;
    mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapProxy(proxy);
    nsAutoCString result;
    // NOTE: This assert does NOT call the function.
    static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->IndexedGetter(index, found, result))>, "Should be returning void here");
    MOZ_KnownLive(self)->IndexedGetter(index, found, result);
    MOZ_ASSERT(!JS_IsExceptionPending(cx));
    (void)result;

    *bp = found;
    return true;
  }


  JS::Rooted<JSObject*> expando(cx, GetExpandoObject(proxy));
  if (expando) {
    bool b = true;
    bool ok = JS_HasPropertyById(cx, expando, id, &b);
    *bp = !!b;
    if (!ok || *bp) {
      return ok;
    }
  }

  *bp = false;
  return true;
}

bool
DOMProxyHandler::get(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<JS::Value> receiver, JS::Handle<jsid> id, JS::MutableHandle<JS::Value> vp) const
{
  MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy),
              "Should not have a XrayWrapper here");

  uint32_t index = GetArrayIndexFromId(id);
  if (IsArrayIndex(index)) {
    mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapProxy(proxy);
    bool found = false;
    nsAutoCString result;
    // NOTE: This assert does NOT call the function.
    static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->IndexedGetter(index, found, result))>, "Should be returning void here");
    MOZ_KnownLive(self)->IndexedGetter(index, found, result);
    MOZ_ASSERT(!JS_IsExceptionPending(cx));

    if (found) {
      if (!NonVoidUTF8StringToJsval(cx, result, vp)) {
        return false;
      }
      return true;
    }
    // Even if we don't have this index, we don't forward the
    // get on to our expando object.
  } else {
    bool expandoHasProp = false;
    { // Scope for expando
      JS::Rooted<JSObject*> expando(cx, DOMProxyHandler::GetExpandoObject(proxy));
      if (expando) {
        if (!JS_HasPropertyById(cx, expando, id, &expandoHasProp)) {
          return false;
        }

        if (expandoHasProp) {
          // Forward the get to the expando object, but our receiver is whatever our
          // receiver is.
          if (!JS_ForwardGetPropertyTo(cx, expando, id, receiver, vp)) {
            return false;
          }
        }
      }
    }

    if (expandoHasProp) {
      return true;
    }
  }

  bool foundOnPrototype;
  if (!GetPropertyOnPrototype(cx, proxy, receiver, id, &foundOnPrototype, vp)) {
    return false;
  }

  if (foundOnPrototype) {
    return true;
  }

  MOZ_ASSERT(vp.isUndefined());
  return true;
}

const char*
DOMProxyHandler::className(JSContext* cx, JS::Handle<JSObject*> proxy) const
{
  return "CSSPositionTryDescriptors";
}

bool
DOMProxyHandler::finalizeInBackground(const JS::Value& priv) const
{
  return false;
}

void
DOMProxyHandler::finalize(JS::GCContext* gcx, JSObject* proxy) const
{
  mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapPossiblyNotInitializedDOMObject<mozilla::dom::CSSPositionTryRuleDeclaration>(proxy);
  if (self) {
    JS::SetReservedSlot(proxy, DOM_OBJECT_SLOT, JS::UndefinedValue());
    ClearWrapper(self, self, proxy);
    if (size_t mallocBytes = BindingJSObjectMallocBytes(self)) {
      JS::RemoveAssociatedMemory(proxy, mallocBytes,
                                 JS::MemoryUse::DOMBinding);
    }
    AddForDeferredFinalization<mozilla::dom::CSSPositionTryRuleDeclaration>(self);
  }
}

const DOMProxyHandler*
DOMProxyHandler::getInstance()
{
  static const DOMProxyHandler instance;
  return &instance;
}

bool
DOMProxyHandler::delete_(JSContext* cx, JS::Handle<JSObject*> proxy, JS::Handle<jsid> id, JS::ObjectOpResult& opresult) const
{
  MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy),
            "Should not have a XrayWrapper here");

  uint32_t index = GetArrayIndexFromId(id);
  if (IsArrayIndex(index)) {
    bool deleteSucceeded;
    bool found = false;
    mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapProxy(proxy);
    nsAutoCString result;
    // NOTE: This assert does NOT call the function.
    static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->IndexedGetter(index, found, result))>, "Should be returning void here");
    MOZ_KnownLive(self)->IndexedGetter(index, found, result);
    MOZ_ASSERT(!JS_IsExceptionPending(cx));
    (void)result;
    deleteSucceeded = !found;
    return deleteSucceeded ? opresult.succeed() : opresult.failCantDelete();
  }

  return dom::DOMProxyHandler::delete_(cx, proxy, id, opresult);
}

bool
DOMProxyHandler::getElements(JSContext* cx, JS::Handle<JSObject*> proxy, uint32_t begin, uint32_t end, js::ElementAdder* adder) const
{
  JS::Rooted<JS::Value> temp(cx);
  MOZ_ASSERT(!xpc::WrapperFactory::IsXrayWrapper(proxy),
             "Should not have a XrayWrapper here");

  mozilla::dom::CSSPositionTryRuleDeclaration* self = UnwrapProxy(proxy);
  uint32_t length = self->Length();
  // Compute the end of the indices we'll get ourselves
  uint32_t ourEnd = std::clamp(length, begin, end);

  for (uint32_t index = begin; index < ourEnd; ++index) {
    bool found = false;
    nsAutoCString result;
    // NOTE: This assert does NOT call the function.
    static_assert(std::is_void_v<decltype(MOZ_KnownLive(self)->IndexedGetter(index, found, result))>, "Should be returning void here");
    MOZ_KnownLive(self)->IndexedGetter(index, found, result);
    MOZ_ASSERT(!JS_IsExceptionPending(cx));

    MOZ_ASSERT(found);
    if (!NonVoidUTF8StringToJsval(cx, result, &temp)) {
      return false;
    }
    if (!adder->append(cx, temp)) return false;
    continue;
  }

  if (end > ourEnd) {
    JS::Rooted<JSObject*> proto(cx);
    if (!js::GetObjectProto(cx, proxy, &proto)) {
      return false;
    }
    return js::GetElementsWithAdder(cx, proto, proxy, ourEnd, end, adder);
  }

  return true;
}

bool
DOMProxyHandler::canNurseryAllocate() const
{
  return true;
}

size_t
DOMProxyHandler::objectMoved(JSObject* obj, JSObject* old) const
{
  return NativeTypeHelpers<mozilla::dom::CSSPositionTryRuleDeclaration>::ObjectMoved(obj, old);
}

static const DOMJSClass sClass = {
  PROXY_CLASS_DEF("CSSPositionTryDescriptors",
                  JSCLASS_IS_DOMJSCLASS | JSCLASS_HAS_RESERVED_SLOTS(1)),
  { prototypes::id::CSSStyleDeclaration, prototypes::id::CSSPositionTryDescriptors, prototypes::id::_ID_Count, prototypes::id::_ID_Count, prototypes::id::_ID_Count, prototypes::id::_ID_Count, prototypes::id::_ID_Count, prototypes::id::_ID_Count },
  std::is_base_of_v<nsISupports, mozilla::dom::CSSPositionTryRuleDeclaration>,
  &sNativePropertyHooks,
  FindAssociatedGlobalForNative<mozilla::dom::CSSPositionTryRuleDeclaration>::Get,
  GetProtoObjectHandle,
  GetCCParticipant<mozilla::dom::CSSPositionTryRuleDeclaration>::Get(),
  nullptr,
  nullptr
};

bool
Wrap(JSContext* aCx, mozilla::dom::CSSPositionTryRuleDeclaration* aObject, nsWrapperCache* aCache, JS::Handle<JSObject*> aGivenProto, JS::MutableHandle<JSObject*> aReflector)
{
  static_assert(!std::is_base_of_v<NonRefcountedDOMObject, mozilla::dom::CSSPositionTryRuleDeclaration>,
                "Shouldn't have wrappercached things that are not refcounted.");
  static_assert(std::is_same_v<decltype(aObject), mozilla::dom::CSSPositionTryRuleDeclaration*>);
  MOZ_ASSERT(static_cast<nsICSSDeclaration*>(aObject) ==
             reinterpret_cast<nsICSSDeclaration*>(aObject),
             "Multiple inheritance for nsICSSDeclaration is broken.");
  MOZ_ASSERT(ToSupportsIsCorrect(aObject));
  MOZ_ASSERT_IF(aGivenProto, js::IsObjectInContextCompartment(aGivenProto, aCx));
  MOZ_ASSERT(!aCache->GetWrapper(),
             "You should probably not be using Wrap() directly; use "
             "GetOrCreateDOMReflector instead");

  MOZ_ASSERT(ToSupportsIsOnPrimaryInheritanceChain(aObject, aCache),
             "nsISupports must be on our primary inheritance chain");

  // If the wrapper cache contains a dead reflector then finalize that
  // now, ensuring that the finalizer for the old reflector always
  // runs before the new reflector is created and attached. This
  // avoids the awkward situation where there are multiple reflector
  // objects that contain pointers to the same native.

  if (JSObject* oldReflector = aCache->GetWrapperMaybeDead()) {
    DOMProxyHandler::getInstance()->finalize(nullptr /* unused */, oldReflector);
    MOZ_ASSERT(!aCache->GetWrapperMaybeDead());
  }

  JS::Rooted<JSObject*> global(aCx, FindAssociatedGlobal(aCx, aObject->GetParentObject()));
  if (!global) {
    return false;
  }
  MOZ_ASSERT(JS_IsGlobalObject(global));
  JS::AssertObjectIsNotGray(global);

  // That might have ended up wrapping us already, due to the wonders
  // of XBL.  Check for that, and bail out as needed.
  aReflector.set(aCache->GetWrapper());
  if (aReflector) {
#ifdef DEBUG
    AssertReflectorHasGivenProto(aCx, aReflector, aGivenProto);
#endif // DEBUG
    return true;
  }

  JSAutoRealm ar(aCx, global);
  JS::Handle<JSObject*> canonicalProto = GetProtoObjectHandle(aCx);
  if (!canonicalProto) {
    return false;
  }
  JS::Rooted<JSObject*> proto(aCx);
  if (aGivenProto) {
    proto = aGivenProto;
    // Unfortunately, while aGivenProto was in the compartment of aCx
    // coming in, we changed compartments to that of "parent" so may need
    // to wrap the proto here.
    if (js::GetContextCompartment(aCx) != JS::GetCompartment(proto)) {
      if (!JS_WrapObject(aCx, &proto)) {
        return false;
      }
    }
  } else {
    proto = canonicalProto;
  }

  BindingJSObjectCreator<mozilla::dom::CSSPositionTryRuleDeclaration> creator(aCx);
  creator.CreateProxyObject(aCx, &sClass.mBase, DOMProxyHandler::getInstance(),
                            proto, /* aLazyProto = */ false,
                            aObject, JS::UndefinedHandleValue, aReflector);
  if (!aReflector) {
    return false;
  }

  aCache->SetWrapper(aReflector);
  creator.InitializationSucceeded();

  MOZ_ASSERT(aCache->GetWrapperPreserveColor() &&
             aCache->GetWrapperPreserveColor() == aReflector);
  // If proto != canonicalProto, we have to preserve our wrapper;
  // otherwise we won't be able to properly recreate it later, since
  // we won't know what proto to use.  Note that we don't check
  // aGivenProto here, since it's entirely possible (and even
  // somewhat common) to have a non-null aGivenProto which is the
  // same as canonicalProto.
  if (proto != canonicalProto) {
    PreserveWrapper(aObject);
  }

  return true;
}

void
CreateInterfaceObjects(JSContext* aCx, JS::Handle<JSObject*> aGlobal, ProtoAndIfaceCache& aProtoAndIfaceCache, DefineInterfaceProperty aDefineOnGlobal)
{
  JS::Heap<JSObject*>* protoCache = &aProtoAndIfaceCache.EntrySlotOrCreate(prototypes::id::CSSPositionTryDescriptors);
  JS::Heap<JSObject*>* interfaceCache = &aProtoAndIfaceCache.EntrySlotOrCreate(constructors::id::CSSPositionTryDescriptors);

  JS::Handle<JSObject*> parentProto(CSSStyleDeclaration_Binding::GetProtoObjectHandle(aCx));
  if (!parentProto) {
    return;
  }

  JS::Handle<JSObject*> constructorProto(CSSStyleDeclaration_Binding::GetConstructorObjectHandle(aCx));
  if (!constructorProto) {
    return;
  }

  dom::CreateInterfaceObjects(aCx, aGlobal, parentProto,
                              &sPrototypeClass, protoCache,
                              constructorProto, &sInterfaceObjectInfo, 0, false, Span<const LegacyFactoryFunction, 0>{},
                              interfaceCache,
                              sNativeProperties.Upcast(),
                              nullptr,
                              "CSSPositionTryDescriptors",
                              ShouldExpose<CSSPositionTryDescriptors_Binding::ConstructorEnabled>(aCx, aGlobal, aDefineOnGlobal),
                              nullptr,
                              false,
                              nullptr);
}

static JS::Handle<JSObject*>
GetProtoObjectHandle(JSContext* aCx)
{
  /* Get the interface prototype object for this class.  This will create the
     object as needed. */
  return GetPerInterfaceObjectHandle(aCx, prototypes::id::CSSPositionTryDescriptors,
                                     &CreateInterfaceObjects,
                                     DefineInterfaceProperty::CheckExposure);

}

JS::Handle<JSObject*>
GetConstructorObjectHandle(JSContext* aCx)
{
  /* Get the interface object for this class.  This will create the object as
     needed. */

  return GetPerInterfaceObjectHandle(aCx, constructors::id::CSSPositionTryDescriptors,
                                     &CreateInterfaceObjects,
                                     DefineInterfaceProperty::CheckExposure);
}

} // namespace CSSPositionTryDescriptors_Binding



} // namespace mozilla::dom
