Title: [152188] trunk/Tools
Revision
152188
Author
[email protected]
Date
2013-06-28 14:45:26 -0700 (Fri, 28 Jun 2013)

Log Message

WebKitTestRunner should disable automatic quote and dash substitution like DumpRenderTree does
https://bugs.webkit.org/show_bug.cgi?id=118201

Reviewed by Dean Jackson.

* WebKitTestRunner/mac/main.mm:
(main):
Modify NSUserDefaults directly since setAutomaticQuoteSubstitutionEnabled and
setAutomaticDashSubstitutionEnabled are not exposed on WKView.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (152187 => 152188)


--- trunk/Tools/ChangeLog	2013-06-28 20:40:43 UTC (rev 152187)
+++ trunk/Tools/ChangeLog	2013-06-28 21:45:26 UTC (rev 152188)
@@ -1,3 +1,15 @@
+2013-06-28  Jessie Berlin  <[email protected]>
+
+        WebKitTestRunner should disable automatic quote and dash substitution like DumpRenderTree does
+        https://bugs.webkit.org/show_bug.cgi?id=118201
+
+        Reviewed by Dean Jackson.
+
+        * WebKitTestRunner/mac/main.mm:
+        (main):
+        Modify NSUserDefaults directly since setAutomaticQuoteSubstitutionEnabled and
+        setAutomaticDashSubstitutionEnabled are not exposed on WKView.
+
 2013-06-28  David Farler  <[email protected]>
 
         Upstream WebKit Nightly’s WebKitLauncher

Modified: trunk/Tools/WebKitTestRunner/mac/main.mm (152187 => 152188)


--- trunk/Tools/WebKitTestRunner/mac/main.mm	2013-06-28 20:40:43 UTC (rev 152187)
+++ trunk/Tools/WebKitTestRunner/mac/main.mm	2013-06-28 21:45:26 UTC (rev 152188)
@@ -32,6 +32,10 @@
     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     [NSApplication sharedApplication];
     [[NSUserDefaults standardUserDefaults] setVolatileDomain:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:NO] forKey:@"WebKitKerningAndLigaturesEnabledByDefault"] forName:NSArgumentDomain];
+
+    [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"WebAutomaticQuoteSubstitutionEnabled"];
+    [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"WebAutomaticDashSubstitutionEnabled"];
+
     {
         WTR::TestController controller(argc, argv);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to