Reviewed by Tim H.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2006 15:25:48 +0000 (15:25 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2006 15:25:48 +0000 (15:25 +0000)
        Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
        http://bugs.webkit.org/show_bug.cgi?id=11341

        Link editing behavior became a preference. DumpRenderTree needs to specify the
        non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).

        * DumpRenderTree/DumpRenderTree.m:
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m

index 7780b9e5058566804cba9284f2b6309f29efdb3d..fa63e32d5a96d68ff173fa439b794da5b1d91582 100644 (file)
@@ -1,3 +1,16 @@
+2006-10-18  David Harrison  <harrison@apple.com>
+
+        Reviewed by Tim H.
+
+        Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
+        http://bugs.webkit.org/show_bug.cgi?id=11341
+
+        Link editing behavior became a preference. DumpRenderTree needs to specify the
+        non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
+
+        * DumpRenderTree/DumpRenderTree.m:
+        (main):
+
 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
 
         Reviewed by Anders.
index f57fa58b7bfdf8dc3e2e048f0056bd01ed2b7278..731f08516cffbb5eaf589852b092c768c5efd866 100644 (file)
@@ -38,6 +38,7 @@
 #import <WebKit/WebFrameView.h>
 #import <WebKit/WebHistory.h>
 #import <WebKit/WebPreferences.h>
+#import <WebKit/WebPreferencesPrivate.h>
 #import <WebKit/WebView.h>
 #import <WebKit/WebHTMLViewPrivate.h>
 #import <WebKit/WebDocumentPrivate.h>
@@ -261,6 +262,7 @@ int main(int argc, const char *argv[])
     [preferences setMinimumFontSize:9];
     [preferences setJavaEnabled:NO];
     [preferences setJavaScriptCanOpenWindowsAutomatically:NO];
+    [preferences setEditableLinkBehavior:WebKitEditableLinkOnlyLiveWithShiftKey];
 
     int option;
     while ((option = getopt_long(argc, (char * const *)argv, "", options, NULL)) != -1)