2011-05-03 Andrey Kosyakov <caseq@chromium.org>
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 May 2011 16:18:29 +0000 (16:18 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 May 2011 16:18:29 +0000 (16:18 +0000)
commit95018fcbcb16532c8e69aa8eb0c5033c190b8cc3
tree379de8af7dea01098bb05e6368f8bd5f4c013fc5
parent6a88e563f6596c90fc496435c87bd9d2a914ad90
2011-05-03  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] toV8(Node*) will enter infinite recursion when called with a node of type SHADOW_ROOT_NODE
        https://bugs.webkit.org/show_bug.cgi?id=60026

        Return a wrapper for Node in toV8(Node*) when called with a node of type
        SHADOW_ROOT_NODE instead of entering infinite recursion.

        * bindings/v8/custom/V8NodeCustom.cpp:
        (WebCore::toV8Slow):

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