LayoutTests:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Jul 2006 13:14:17 +0000 (13:14 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Jul 2006 13:14:17 +0000 (13:14 +0000)
commit9960352ca89893f778abcb7c04c4cf145cdff401
treee41304ccee1eb70a519427819d91b8b7fce8cde7
parent238984e439c6f8cea61eb0ca66f4820d3c263631
LayoutTests:

        Reviewed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9905
          REGRESSION (r15404-r15415): Repro crash when pressing delete in an empty editable div

        * editing/deleting/delete-at-start-or-end-expected.checksum: Added.
        * editing/deleting/delete-at-start-or-end-expected.png: Added.
        * editing/deleting/delete-at-start-or-end-expected.txt: Added.
        * editing/deleting/delete-at-start-or-end.html: Added.

WebCore:

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9905
          REGRESSION (r15404-r15415): Repro crash when pressing delete in an empty editable div

        Test: editing/deleting/delete-at-start-or-end.html

        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::deleteKeyPressed): Added null check.
        (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/deleting/delete-at-start-or-end-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/delete-at-start-or-end-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/delete-at-start-or-end-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-at-start-or-end.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/TypingCommand.cpp