Diff
Modified: trunk/Source/WebCore/ChangeLog (153679 => 153680)
--- trunk/Source/WebCore/ChangeLog 2013-08-03 00:04:41 UTC (rev 153679)
+++ trunk/Source/WebCore/ChangeLog 2013-08-03 00:05:05 UTC (rev 153680)
@@ -1,3 +1,15 @@
+2013-08-02 Oliver Hunt <[email protected]>
+
+ Update binding test results
+
+ * bindings/scripts/test/JS/JSFloat64Array.cpp:
+ (WebCore::JSFloat64Array::getOwnPropertySlot):
+ (WebCore::JSFloat64Array::getOwnPropertySlotByIndex):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::JSTestCustomNamedGetter::getOwnPropertyDescriptor):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::JSTestEventTarget::getOwnPropertyDescriptor):
+
2013-08-02 Gavin Barraclough <[email protected]>
Remove no-arguments constructor to PropertySlot
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp (153679 => 153680)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp 2013-08-03 00:04:41 UTC (rev 153679)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp 2013-08-03 00:05:05 UTC (rev 153680)
@@ -176,7 +176,7 @@
ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
unsigned index = propertyName.asIndex();
if (index != PropertyName::NotAnIndex && index < static_cast<Float64Array*>(thisObject->impl())->length()) {
- slot.setValue(thisObject->getByIndex(exec, index));
+ slot.setValue(thisObject, thisObject->getByIndex(exec, index));
return true;
}
return getStaticValueSlot<JSFloat64Array, Base>(exec, getJSFloat64ArrayTable(exec), thisObject, propertyName, slot);
@@ -199,7 +199,7 @@
JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(object);
ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
if (index < static_cast<Float64Array*>(thisObject->impl())->length()) {
- slot.setValue(thisObject->getByIndex(exec, index));
+ slot.setValue(thisObject, thisObject->getByIndex(exec, index));
return true;
}
return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (153679 => 153680)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2013-08-03 00:04:41 UTC (rev 153679)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2013-08-03 00:05:05 UTC (rev 153680)
@@ -148,7 +148,7 @@
JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
if (canGetItemsForName(exec, static_cast<TestCustomNamedGetter*>(thisObject->impl()), propertyName)) {
- PropertySlot slot;
+ PropertySlot slot(thisObject);
slot.setCustom(thisObject, nameGetter);
descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);
return true;
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (153679 => 153680)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2013-08-03 00:04:41 UTC (rev 153679)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2013-08-03 00:05:05 UTC (rev 153680)
@@ -168,20 +168,20 @@
ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
const HashEntry* entry = JSTestEventTargetTable.entry(exec, propertyName);
if (entry) {
- PropertySlot slot;
+ PropertySlot slot(thisObject);
slot.setCustom(thisObject, entry->propertyGetter());
descriptor.setDescriptor(slot.getValue(exec, propertyName), entry->attributes());
return true;
}
unsigned index = propertyName.asIndex();
if (index != PropertyName::NotAnIndex && index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
- PropertySlot slot;
+ PropertySlot slot(thisObject);
slot.setCustomIndex(thisObject, index, indexGetter);
descriptor.setDescriptor(slot.getValue(exec, propertyName), DontDelete | ReadOnly);
return true;
}
if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
- PropertySlot slot;
+ PropertySlot slot(thisObject);
slot.setCustom(thisObject, nameGetter);
descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);
return true;