WebKitTools:
2008-10-15 Glenn Wilson <gwilson@google.com>
Added new method to allow tests to disable smart editing in the course of a test.
This is a possible solution to bug .20655
Reviewed by Tim Hatcher.
* DumpRenderTree/LayoutTestController.cpp:
(setSmartInsertDeleteEnabledCallback): new method
(LayoutTestController::staticFunctions): added new method to static list of callbacks
* DumpRenderTree/LayoutTestController.h: added signature of new method
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting): added state resetting
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setSmartInsertDeleteEnabled): added new method
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): added state resetting
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setSmartInsertDeleteEnabled): added new method
LayoutTests:
2008-10-15 Glenn Wilson <gwilson@google.com>
Added tests to verify that smart editing can be disabled for some tests.
Reviewed by Tim Hatcher.
* editing/deleting/smart-editing-disabled-expected.txt: Added.
* editing/deleting/smart-editing-disabled.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37633
268f45cc-cd09-0410-ab3c-
d52691b4dbfc