2011-06-10 Abhishek Arya <inferno@chromium.org>
authorAbhishek Arya <inferno@chromium.org>
Fri, 10 Jun 2011 17:31:29 +0000 (17:31 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 10 Jun 2011 17:48:41 +0000 (14:48 -0300)
commitad3c470c52d5c7153507e5d81979a3dac563c785
tree98bd49732fa302da878537df140cdb748944782a
parent352e253389962f7d875b0ca6b1d7da8cea1640f7
2011-06-10  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Tony Gentilcore.

        Tests that trying to remove all document children while building a svg <use>
        element shadow and instance tree does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=62225

        * svg/dom/use-style-recalc-script-execute-crash-expected.txt: Added.
        * svg/dom/use-style-recalc-script-execute-crash.html: Added.
2011-06-10  James Simonsen  <simonjam@chromium.org>

        Reviewed by Tony Gentilcore.

        Don't execute scripts in shadow SVG.
        https://bugs.webkit.org/show_bug.cgi?id=62225

        Test: svg/dom/use-style-recalc-script-execute-crash.html

        * dom/ScriptElement.cpp:
        (WebCore::ScriptElement::prepareScript):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/dom/use-style-recalc-script-execute-crash-expected.txt [new file with mode: 0644]
LayoutTests/svg/dom/use-style-recalc-script-execute-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/dom/ScriptElement.cpp