[Webkit-unassigned] [Bug 10129] REGRESSION: webViewDidChange: posted even when should* delegates reply NO

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Aug 10 15:40:35 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10129





------- Comment #2 from duncan at mclink.it  2006-08-10 15:40 PDT -------
Created an attachment (id=9971)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9971&action=view)
DumpRenderTree patch

Submitting this for feedback. This patch adds support for having the
DumpRenderTree editing delegate respond NO to should* requests, for example
with something like this:

Index: LayoutTests/editing/deleting/delete-by-word-001.html
===================================================================
--- LayoutTests/editing/deleting/delete-by-word-001.html        (revision
15828)
+++ LayoutTests/editing/deleting/delete-by-word-001.html        (working copy)
@@ -62,6 +62,8 @@
 </div>

 <script>
+if(window.layoutTestController)
+    window.layoutTestController.setAcceptsEditing(false);
 runEditingTest();
 </script>

This should perhaps initially only be enabled only on layout tests using the
eventSender mechanism, as that path is more conformant to delegate requests (as
opposed to the JS one).

I have a regression similar to the one in this bug where scrolling through text
with arrow keys happens even if the delegate responds NO, should be relatively
easy to build a test case.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list