[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 15:19:38 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 08db0ea595b6698a531da3dab679bb7b3f205ccb
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Nov 1 02:54:23 2010 +0000

    2010-10-31  Kenichi Ishibashi  <bashi at google.com>
    
            Reviewed by Adam Barth.
    
            V8 binding for DOMSettableTokenList
            https://bugs.webkit.org/show_bug.cgi?id=47812
    
            Tests for this change will be included in the change for supporting
            the <output> element.
            See https://bugs.webkit.org/show_bug.cgi?id=29363.
    
            * bindings/v8/custom/V8DOMSettableTokenListCustom.cpp: Implemented.
            (WebCore::V8DOMSettableTokenList::indexedPropertyGetter): Just calls DOMSettableTokenList::item(index).
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71007 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 5883a89..6d9f7ba 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-10-31  Kenichi Ishibashi  <bashi at google.com>
+
+        Reviewed by Adam Barth.
+
+        V8 binding for DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=47812
+
+        Tests for this change will be included in the change for supporting
+        the <output> element.
+        See https://bugs.webkit.org/show_bug.cgi?id=29363.
+
+        * bindings/v8/custom/V8DOMSettableTokenListCustom.cpp: Implemented.
+        (WebCore::V8DOMSettableTokenList::indexedPropertyGetter): Just calls DOMSettableTokenList::item(index).
+
 2010-10-31  Robert Hogan  <robert at webkit.org>
 
         Reviewed by Antonio Gomes.
diff --git a/WebCore/bindings/v8/custom/V8DOMSettableTokenListCustom.cpp b/WebCore/bindings/v8/custom/V8DOMSettableTokenListCustom.cpp
index 4eeb1e0..3bcf0fc 100644
--- a/WebCore/bindings/v8/custom/V8DOMSettableTokenListCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8DOMSettableTokenListCustom.cpp
@@ -34,8 +34,9 @@ namespace WebCore {
 
 v8::Handle<v8::Value> V8DOMSettableTokenList::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info)
 {
-    // FIXME: Implement this function.
-    return v8String("");
+    INC_STATS("DOM.DOMSettableTokenList.IndexedPropertyGetter");
+    DOMSettableTokenList* list = V8DOMSettableTokenList::toNative(info.Holder());
+    return v8String(list->item(index));
 }
 
 } // namespace WebCore

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list