Title: [131260] trunk/Source/WebCore
Revision
131260
Author
[email protected]
Date
2012-10-13 10:04:00 -0700 (Sat, 13 Oct 2012)

Log Message

Not reviewed.

Updated bindings test results.

* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::getOwnPropertySlotByIndex):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (131259 => 131260)


--- trunk/Source/WebCore/ChangeLog	2012-10-13 16:57:15 UTC (rev 131259)
+++ trunk/Source/WebCore/ChangeLog	2012-10-13 17:04:00 UTC (rev 131260)
@@ -1,3 +1,12 @@
+2012-10-13  Geoffrey Garen  <[email protected]>
+
+        Not reviewed.
+
+        Updated bindings test results.
+
+        * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+        (WebCore::JSTestEventTarget::getOwnPropertySlotByIndex):
+
 2012-10-12  Geoffrey Garen  <[email protected]>
 
         I pity da foo' who's converting numbers to strings

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


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp	2012-10-13 16:57:15 UTC (rev 131259)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp	2012-10-13 17:04:00 UTC (rev 131260)
@@ -192,16 +192,11 @@
 {
     JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
     ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    PropertyName propertyName = Identifier::from(exec, index);
-    const HashEntry* entry = JSTestEventTargetTable.entry(exec, propertyName);
-    if (entry) {
-        slot.setCustom(thisObject, entry->propertyGetter());
-        return true;
-    }
     if (index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
         slot.setCustomIndex(thisObject, index, thisObject->indexGetter);
         return true;
     }
+    PropertyName propertyName = Identifier::from(exec, index);
     if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
         slot.setCustom(thisObject, thisObject->nameGetter);
         return true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to