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.mm32
1 files changed, 32 insertions, 0 deletions
diff --git a/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm b/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
index 6788075..ac04235 100644
--- a/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
+++ b/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
@@ -35,6 +35,7 @@
#import "DOMEventInternal.h"
#import "DOMIDBKeyInternal.h"
#import "DOMNodeInternal.h"
+#import "DOMOptionsObjectInternal.h"
#import "DOMStyleSheetInternal.h"
#import "DOMTestObjInternal.h"
#import "DOMlogInternal.h"
@@ -45,6 +46,7 @@
#import "JSMainThreadExecState.h"
#import "KURL.h"
#import "ObjCEventListener.h"
+#import "OptionsObject.h"
#import "SerializedScriptValue.h"
#import "TestObj.h"
#import "ThreadCheck.h"
@@ -92,6 +94,30 @@
return kit(WTF::getPtr(IMPL->readOnlyTestObjAttr()));
}
+- (short)shortAttr
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->shortAttr();
+}
+
+- (void)setShortAttr:(short)newShortAttr
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setShortAttr(newShortAttr);
+}
+
+- (unsigned short)unsignedShortAttr
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->unsignedShortAttr();
+}
+
+- (void)setUnsignedShortAttr:(unsigned short)newUnsignedShortAttr
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setUnsignedShortAttr(newUnsignedShortAttr);
+}
+
- (int)intAttr
{
WebCore::JSMainThreadNullState state;
@@ -509,6 +535,12 @@
IMPL->idbKey(core(key));
}
+- (void)optionsObject:(DOMOptionsObject *)oo ooo:(DOMOptionsObject *)ooo
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->optionsObject(core(oo), core(ooo));
+}
+
- (void)methodWithException
{
WebCore::JSMainThreadNullState state;