Changeset 111773 in webkit


Ignore:
Timestamp:
Mar 22, 2012 3:30:52 PM (12 years ago)
Author:
mitz@apple.com
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r111771 r111773  
     12012-03-22  Dan Bernstein  <mitz@apple.com>
     2
     3        Font fallback in WebKitTestRunner depends on user settings
     4        https://bugs.webkit.org/show_bug.cgi?id=81978
     5
     6        Reviewed by Jessie Berlin.
     7
     8        * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
     9        (WTR::InjectedBundle::platformInitialize): Added an AppleLanguages key
     10        with a value consisting of the array ("en") to the override defaults
     11        dictionary. This is the same value used in DumpRenderTree, and it
     12        ensures that font fallback follows a consistent path that is not
     13        affected by the language preferences of the user running the test.
     14
    1152012-03-22  Andy Estes  <aestes@apple.com>
    216
  • trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm

    r96623 r111773  
    3838        [NSNumber numberWithBool:NO],     @"NSOverlayScrollersEnabled",
    3939        @"Always",                        @"AppleShowScrollBars",
     40        [NSArray arrayWithObject:@"en"],  @"AppleLanguages",
    4041        nil];
    4142
Note: See TracChangeset for help on using the changeset viewer.