2009-12-07 Victor Wang <victorw@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 04:33:34 +0000 (04:33 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 04:33:34 +0000 (04:33 +0000)
commit8fc5e0218455428a359314949fb5a9a4bf89f4ad
tree764ee5cee1e60f2a117889ec661663505085f19d
parentbbbb3abc42af266852d6dfff635ab2597552ab72
2009-12-07  Victor Wang  <victorw@chromium.org>

        Reviewed by Dimitri Glazkov.

        Implement NamedPropertyEnumerator and IndexedPropertyEnumerator for
        V8 NPObject. This should make the object enumerable and fix the
        enumeration issue in layout test plugins/netscape-enumerate.html.

        Also fix some existing style issues per webkit style guidelines.

        https://bugs.webkit.org/show_bug.cgi?id=32254

        Test: plugins/netscape-enumerate.html

        * bindings/v8/V8NPObject.cpp:
        (npObjectInvokeImpl):
        (npObjectInvokeDefaultHandler):
        (npObjectGetProperty):
        (npObjectPropertyEnumerator):
        (npObjectNamedPropertyEnumerator):
        (npObjectIndexedPropertyEnumerator):
        (createV8ObjectForNPObject):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/v8/V8NPObject.cpp