2011-05-10 MORITA Hajime <morrita@google.com>
authorMORITA Hajime <morrita@google.com>
Thu, 12 May 2011 05:40:20 +0000 (05:40 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 26 May 2011 19:58:19 +0000 (16:58 -0300)
commit25483fcede212956f4692c8627a7a23828cc3c08
treeabf8eaa7144e948df9739339c6591701f97ecce5
parent3374ed3eff07ebf2da757808a51194d3af663e93
2011-05-10  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        Crashes if the document inside iframe is removed during pasting some text into it.
        https://bugs.webkit.org/show_bug.cgi?id=60534

        * editing/pasteboard/paste-removing-iframe-expected.txt: Added.
        * editing/pasteboard/paste-removing-iframe.html: Added.
        * editing/pasteboard/resources/paste-removing-iframe-child.html: Added.
2011-05-10  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        Crashes if the document inside iframe is removed during pasting some text into it.
        https://bugs.webkit.org/show_bug.cgi?id=60534

        Added missing null check.

        Test: editing/pasteboard/paste-removing-iframe.html

        * editing/Editor.cpp:
        (WebCore::Editor::shouldChangeSelection):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/paste-removing-iframe-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-removing-iframe.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/resources/paste-removing-iframe-child.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/editing/Editor.cpp