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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111773
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-22 Dan Bernstein <mitz@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 <aestes@apple.com>
check-for-inappropriate-objc-class-names should ignore the class defined by libarclite.
[NSNumber numberWithBool:NO], @"AppleScrollAnimationEnabled",
[NSNumber numberWithBool:NO], @"NSOverlayScrollersEnabled",
@"Always", @"AppleShowScrollBars",
+ [NSArray arrayWithObject:@"en"], @"AppleLanguages",
nil];
[[NSUserDefaults standardUserDefaults] setVolatileDomain:dict forName:NSArgumentDomain];