JSValue jsMutationEventRelatedNode(ExecState* exec, JSValue slotBase, const Identifier&) { JSMutationEvent* castedThis = static_cast<JSMutationEvent*>(asObject(slotBase)); UNUSED_PARAM(exec); MutationEvent* imp = static_cast<MutationEvent*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->relatedNode())); return result; }
JSValue jsMutationEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSMutationEvent* domObject = static_cast<JSMutationEvent*>(asObject(slotBase)); return JSMutationEvent::getConstructor(exec, domObject->globalObject()); }