JSValue jsDocumentTypeInternalSubset(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSDocumentType* castedThis = static_cast<JSDocumentType*>(asObject(slot.slotBase())); UNUSED_PARAM(exec); DocumentType* imp = static_cast<DocumentType*>(castedThis->impl()); return jsStringOrNull(exec, imp->internalSubset()); }
JSValue jsDocumentTypeInternalSubset(ExecState* exec, JSValue slotBase, const Identifier&) { JSDocumentType* castedThis = static_cast<JSDocumentType*>(asObject(slotBase)); UNUSED_PARAM(exec); DocumentType* imp = static_cast<DocumentType*>(castedThis->impl()); JSValue result = jsStringOrNull(exec, imp->internalSubset()); return result; }
JSValue jsDocumentTypeNotations(ExecState* exec, JSValue slotBase, const Identifier&) { JSDocumentType* castedThis = static_cast<JSDocumentType*>(asObject(slotBase)); UNUSED_PARAM(exec); DocumentType* imp = static_cast<DocumentType*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->notations())); return result; }
JSValue jsDocumentTypeConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSDocumentType* domObject = static_cast<JSDocumentType*>(asObject(slot.slotBase())); return JSDocumentType::getConstructor(exec, domObject->globalObject()); }
JSValue jsDocumentTypeConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDocumentType* domObject = static_cast<JSDocumentType*>(asObject(slotBase)); return JSDocumentType::getConstructor(exec, domObject->globalObject()); }