Changeset 189768 in webkit
- Timestamp:
- Sep 14, 2015, 6:21:54 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r189765 r189768 1 2015-09-14 Myles C. Maxfield <mmaxfield@apple.com> 2 3 WebKitTestRunner declarative language setting is broken for iOS 4 https://bugs.webkit.org/show_bug.cgi?id=149119 5 6 Unreviewed. 7 8 * platform/ios-simulator/TestExpectations: 9 1 10 2015-09-14 Chris Dumez <cdumez@apple.com> 2 11 -
trunk/LayoutTests/platform/ios-simulator/TestExpectations
r189742 r189768 2816 2816 # -webkit-flex off-by-one px 2817 2817 webkit.org/b/126898 css3/flexbox/image-percent-max-height.html [ ImageOnlyFailure ] 2818 2819 # WebKitTestRunner declarative language setting is broken for iOS2820 webkit.org/b/149119 fast/text/international/system-language [ Skip ] -
trunk/Tools/ChangeLog
r189767 r189768 1 2015-09-14 Myles C. Maxfield <mmaxfield@apple.com> 2 3 WebKitTestRunner declarative language setting is broken for iOS 4 https://bugs.webkit.org/show_bug.cgi?id=149119 5 6 Unreviewed. 7 8 In all of the patches on webkit.org/b/189669, my patch to get this working on iOS was 9 lost in the final version which got committed. This simply implements the existing 10 OS X behavior on iOS. 11 12 * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm: 13 (WTR::InjectedBundle::platformInitialize): 14 1 15 2015-09-14 Dewei Zhu <dewei_zhu@apple.com> 2 16 -
trunk/Tools/WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm
r181677 r189768 36 36 void InjectedBundle::platformInitialize(WKTypeRef) 37 37 { 38 NSDictionary *dict = [NSDictionary dictionary]; 38 // Language was set up earlier in main(). Don't clobber it. 39 NSArray *languages = [[[NSUserDefaults standardUserDefaults] volatileDomainForName:NSArgumentDomain] valueForKey:@"AppleLanguages"]; 39 40 40 [[NSUserDefaults standardUserDefaults] setVolatileDomain:dict forName:NSArgumentDomain]; 41 RetainPtr<NSMutableDictionary *> dict = adoptNS([[NSMutableDictionary alloc] init]); 42 if (languages) 43 [dict setObject:languages forKey:@"AppleLanguages"]; 44 45 [[NSUserDefaults standardUserDefaults] setVolatileDomain:dict.get() forName:NSArgumentDomain]; 41 46 42 47 [NSURLRequest setAllowsAnyHTTPSCertificate:YES forHost:@"localhost"];
Note:
See TracChangeset
for help on using the changeset viewer.