Title: [111773] trunk/Tools
- Revision
- 111773
- Author
- m...@apple.com
- Date
- 2012-03-22 15:30:52 -0700 (Thu, 22 Mar 2012)
Log Message
Font fallback in WebKitTestRunner depends on user settings
https://bugs.webkit.org/show_bug.cgi?id=81978
Reviewed by Jessie Berlin.
* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize): Added an AppleLanguages key
with a value consisting of the array ("en") to the override defaults
dictionary. This is the same value used in DumpRenderTree, and it
ensures that font fallback follows a consistent path that is not
affected by the language preferences of the user running the test.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (111772 => 111773)
--- trunk/Tools/ChangeLog 2012-03-22 22:12:23 UTC (rev 111772)
+++ trunk/Tools/ChangeLog 2012-03-22 22:30:52 UTC (rev 111773)
@@ -1,3 +1,17 @@
+2012-03-22 Dan Bernstein <m...@apple.com>
+
+ Font fallback in WebKitTestRunner depends on user settings
+ https://bugs.webkit.org/show_bug.cgi?id=81978
+
+ Reviewed by Jessie Berlin.
+
+ * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
+ (WTR::InjectedBundle::platformInitialize): Added an AppleLanguages key
+ with a value consisting of the array ("en") to the override defaults
+ dictionary. This is the same value used in DumpRenderTree, and it
+ ensures that font fallback follows a consistent path that is not
+ affected by the language preferences of the user running the test.
+
2012-03-22 Andy Estes <aes...@apple.com>
check-for-inappropriate-objc-class-names should ignore the class defined by libarclite.
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm (111772 => 111773)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm 2012-03-22 22:12:23 UTC (rev 111772)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm 2012-03-22 22:30:52 UTC (rev 111773)
@@ -37,6 +37,7 @@
[NSNumber numberWithBool:NO], @"AppleScrollAnimationEnabled",
[NSNumber numberWithBool:NO], @"NSOverlayScrollersEnabled",
@"Always", @"AppleShowScrollBars",
+ [NSArray arrayWithObject:@"en"], @"AppleLanguages",
nil];
[[NSUserDefaults standardUserDefaults] setVolatileDomain:dict forName:NSArgumentDomain];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes