Title: [128442] trunk/Source/WebCore
Revision
128442
Author
[email protected]
Date
2012-09-13 04:04:43 -0700 (Thu, 13 Sep 2012)

Log Message

Update binding test expectation for http://trac.webkit.org/changeset/128400
https://bugs.webkit.org/show_bug.cgi?id=91933

* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::JSFloat64Array::getOwnPropertySlotByIndex):
(WebCore::JSFloat64Array::putByIndex):
* bindings/scripts/test/JS/JSFloat64Array.h:
(JSFloat64Array):
* bindings/scripts/test/JS/JSTestActiveDOMObject.h:
(JSTestActiveDOMObject):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetter::getOwnPropertySlotByIndex):
(WebCore):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
(JSTestCustomNamedGetter):
* bindings/scripts/test/JS/JSTestEventConstructor.h:
(JSTestEventConstructor):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::getOwnPropertySlotByIndex):
* bindings/scripts/test/JS/JSTestEventTarget.h:
(JSTestEventTarget):
* bindings/scripts/test/JS/JSTestException.h:
(JSTestException):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterface::putByIndex):
(WebCore):
* bindings/scripts/test/JS/JSTestInterface.h:
(JSTestInterface):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
(JSTestMediaQueryListListener):
* bindings/scripts/test/JS/JSTestNamedConstructor.h:
(JSTestNamedConstructor):
* bindings/scripts/test/JS/JSTestNode.h:
(JSTestNode):
* bindings/scripts/test/JS/JSTestObj.h:
(JSTestObj):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
(JSTestSerializedScriptValueInterface):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (128441 => 128442)


--- trunk/Source/WebCore/ChangeLog	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/ChangeLog	2012-09-13 11:04:43 UTC (rev 128442)
@@ -1,3 +1,44 @@
+2012-09-13  Kent Tamura  <[email protected]>
+
+        Update binding test expectation for http://trac.webkit.org/changeset/128400
+        https://bugs.webkit.org/show_bug.cgi?id=91933
+
+        * bindings/scripts/test/JS/JSFloat64Array.cpp:
+        (WebCore::JSFloat64Array::getOwnPropertySlotByIndex):
+        (WebCore::JSFloat64Array::putByIndex):
+        * bindings/scripts/test/JS/JSFloat64Array.h:
+        (JSFloat64Array):
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+        (JSTestActiveDOMObject):
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+        (WebCore::JSTestCustomNamedGetter::getOwnPropertySlotByIndex):
+        (WebCore):
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+        (JSTestCustomNamedGetter):
+        * bindings/scripts/test/JS/JSTestEventConstructor.h:
+        (JSTestEventConstructor):
+        * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+        (WebCore::JSTestEventTarget::getOwnPropertySlotByIndex):
+        * bindings/scripts/test/JS/JSTestEventTarget.h:
+        (JSTestEventTarget):
+        * bindings/scripts/test/JS/JSTestException.h:
+        (JSTestException):
+        * bindings/scripts/test/JS/JSTestInterface.cpp:
+        (WebCore::JSTestInterface::putByIndex):
+        (WebCore):
+        * bindings/scripts/test/JS/JSTestInterface.h:
+        (JSTestInterface):
+        * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+        (JSTestMediaQueryListListener):
+        * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+        (JSTestNamedConstructor):
+        * bindings/scripts/test/JS/JSTestNode.h:
+        (JSTestNode):
+        * bindings/scripts/test/JS/JSTestObj.h:
+        (JSTestObj):
+        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+        (JSTestSerializedScriptValueInterface):
+
 2012-09-13  Mikhail Pozdnyakov  <[email protected]>
 
         [EFL] REGRESSION (r128274): fast/overflow/overflow-height-float-not-removed-crash.html

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp	2012-09-13 11:04:43 UTC (rev 128442)
@@ -190,15 +190,15 @@
     return getStaticValueDescriptor<JSFloat64Array, Base>(exec, getJSFloat64ArrayTable(exec), thisObject, propertyName, descriptor);
 }
 
-bool JSFloat64Array::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, PropertySlot& slot)
+bool JSFloat64Array::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
 {
     JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (propertyName < static_cast<Float64Array*>(thisObject->impl())->length()) {
-        slot.setValue(thisObject->getByIndex(exec, propertyName));
+    if (index < static_cast<Float64Array*>(thisObject->impl())->length()) {
+        slot.setValue(thisObject->getByIndex(exec, index));
         return true;
     }
-    return thisObject->methodTable()->getOwnPropertySlot(thisObject, exec, Identifier::from(exec, propertyName), slot);
+    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
 }
 
 JSValue jsFloat64ArrayConstructor(ExecState* exec, JSValue slotBase, PropertyName)
@@ -219,12 +219,16 @@
     Base::put(thisObject, exec, propertyName, value, slot);
 }
 
-void JSFloat64Array::putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue value, bool)
+void JSFloat64Array::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
 {
     JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    thisObject->indexSetter(exec, propertyName, value);
-    return;
+    if (index <= MAX_ARRAY_INDEX) {
+        UNUSED_PARAM(shouldThrow);
+        thisObject->indexSetter(exec, index, value);
+        return;
+    }
+    Base::putByIndex(cell, exec, index, value, shouldThrow);
 }
 
 void JSFloat64Array::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -63,7 +63,7 @@
 protected:
     JSFloat64Array(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<Float64Array>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
     JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);
     void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);
 };

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -62,7 +62,7 @@
 protected:
     JSTestActiveDOMObject(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestActiveDOMObject>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestActiveDOMObjectOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp	2012-09-13 11:04:43 UTC (rev 128442)
@@ -156,6 +156,18 @@
     return getStaticValueDescriptor<JSTestCustomNamedGetter, Base>(exec, &JSTestCustomNamedGetterTable, thisObject, propertyName, descriptor);
 }
 
+bool JSTestCustomNamedGetter::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
+{
+    JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(cell);
+    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
+    PropertyName propertyName = Identifier::from(exec, index);
+    if (canGetItemsForName(exec, static_cast<TestCustomNamedGetter*>(thisObject->impl()), propertyName)) {
+        slot.setCustom(thisObject, thisObject->nameGetter);
+        return true;
+    }
+    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
+}
+
 JSValue jsTestCustomNamedGetterConstructor(ExecState* exec, JSValue slotBase, PropertyName)
 {
     JSTestCustomNamedGetter* domObject = jsCast<JSTestCustomNamedGetter*>(asObject(slotBase));

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -42,6 +42,7 @@
     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
+    static bool getOwnPropertySlotByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestCustomNamedGetter();
     static const JSC::ClassInfo s_info;
@@ -62,7 +63,7 @@
 protected:
     JSTestCustomNamedGetter(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestCustomNamedGetter>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 private:
     static bool canGetItemsForName(JSC::ExecState*, TestCustomNamedGetter*, JSC::PropertyName);
     static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -64,7 +64,7 @@
 protected:
     JSTestEventConstructor(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestEventConstructor>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestEventConstructorOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp	2012-09-13 11:04:43 UTC (rev 128442)
@@ -189,15 +189,25 @@
     return getStaticValueDescriptor<JSTestEventTarget, Base>(exec, &JSTestEventTargetTable, thisObject, propertyName, descriptor);
 }
 
-bool JSTestEventTarget::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, PropertySlot& slot)
+bool JSTestEventTarget::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
 {
     JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (propertyName < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
-        slot.setCustomIndex(thisObject, propertyName, thisObject->indexGetter);
+    PropertyName propertyName = Identifier::from(exec, index);
+    const HashEntry* entry = JSTestEventTargetTable.entry(exec, propertyName);
+    if (entry) {
+        slot.setCustom(thisObject, entry->propertyGetter());
         return true;
     }
-    return thisObject->methodTable()->getOwnPropertySlot(thisObject, exec, Identifier::from(exec, propertyName), slot);
+    if (index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
+        slot.setCustomIndex(thisObject, index, thisObject->indexGetter);
+        return true;
+    }
+    if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
+        slot.setCustom(thisObject, thisObject->nameGetter);
+        return true;
+    }
+    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
 }
 
 JSValue jsTestEventTargetConstructor(ExecState* exec, JSValue slotBase, PropertyName)

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -67,7 +67,7 @@
 protected:
     JSTestEventTarget(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestEventTarget>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | JSC::MasqueradesAsUndefined | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | JSC::MasqueradesAsUndefined | Base::StructureFlags;
     static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);
 private:
     static bool canGetItemsForName(JSC::ExecState*, TestEventTarget*, JSC::PropertyName);

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -62,7 +62,7 @@
 protected:
     JSTestException(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestException>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestExceptionOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp	2012-09-13 11:04:43 UTC (rev 128442)
@@ -323,6 +323,17 @@
     lookupPut<JSTestInterface, Base>(exec, propertyName, value, &JSTestInterfaceTable, thisObject, slot);
 }
 
+void JSTestInterface::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
+{
+    JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
+    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
+    PropertyName propertyName = Identifier::from(exec, index);
+    PutPropertySlot slot(shouldThrow);
+    if (thisObject->putDelegate(exec, propertyName, value, slot))
+        return;
+    Base::putByIndex(cell, exec, index, value, shouldThrow);
+}
+
 #if ENABLE(Condition11) || ENABLE(Condition12)
 void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* exec, JSObject*, JSValue value)
 {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -45,6 +45,7 @@
     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
     static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
+    static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
     bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestInterface();
@@ -79,7 +80,7 @@
 protected:
     JSTestInterface(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestInterface>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestInterfaceOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -62,7 +62,7 @@
 protected:
     JSTestMediaQueryListListener(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestMediaQueryListListener>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestMediaQueryListListenerOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -62,7 +62,7 @@
 protected:
     JSTestNamedConstructor(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestNamedConstructor>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
 };
 
 class JSTestNamedConstructorOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -54,7 +54,7 @@
 protected:
     JSTestNode(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestNode>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
 };
 
 

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -76,7 +76,7 @@
 protected:
     JSTestObj(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestObj>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
 };
 
 class JSTestObjOwner : public JSC::WeakHandleOwner {

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (128441 => 128442)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h	2012-09-13 10:41:00 UTC (rev 128441)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h	2012-09-13 11:04:43 UTC (rev 128442)
@@ -69,7 +69,7 @@
 protected:
     JSTestSerializedScriptValueInterface(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestSerializedScriptValueInterface>);
     void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
+    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
 };
 
 class JSTestSerializedScriptValueInterfaceOwner : public JSC::WeakHandleOwner {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to