summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm')
-rw-r--r--WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm30
1 files changed, 27 insertions, 3 deletions
diff --git a/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm b/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
index d71cb05..99c3cc6 100644
--- a/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
+++ b/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
@@ -202,6 +202,18 @@
IMPL->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, newReflectedURLAttr);
}
+- (NSString *)reflectedNonEmptyURLAttr
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getNonEmptyURLAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr);
+}
+
+- (void)setReflectedNonEmptyURLAttr:(NSString *)newReflectedNonEmptyURLAttr
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr, newReflectedNonEmptyURLAttr);
+}
+
- (NSString *)reflectedStringAttr
{
WebCore::JSMainThreadNullState state;
@@ -238,16 +250,28 @@
IMPL->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, newReflectedCustomBooleanAttr);
}
-- (NSString *)reflectedURLAttr
+- (NSString *)reflectedCustomURLAttr
{
WebCore::JSMainThreadNullState state;
return IMPL->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr);
}
-- (void)setReflectedURLAttr:(NSString *)newReflectedURLAttr
+- (void)setReflectedCustomURLAttr:(NSString *)newReflectedCustomURLAttr
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, newReflectedCustomURLAttr);
+}
+
+- (NSString *)reflectedCustomNonEmptyURLAttr
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getNonEmptyURLAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr);
+}
+
+- (void)setReflectedCustomNonEmptyURLAttr:(NSString *)newReflectedCustomNonEmptyURLAttr
{
WebCore::JSMainThreadNullState state;
- IMPL->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, newReflectedURLAttr);
+ IMPL->setAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr, newReflectedCustomNonEmptyURLAttr);
}
- (int)attrWithGetterException