Changeset 204378 in webkit
- Timestamp:
- Aug 11, 2016 11:14:05 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r204376 r204378 1 2016-08-10 Simon Fraser <simon.fraser@apple.com> 2 3 [iOS DRT] Allow DRT to be iPad-sized in the iPad simulator 4 https://bugs.webkit.org/show_bug.cgi?id=160761 5 6 Reviewed by Tim Horton. 7 8 Give iOS DRT a Launch storyboard. 9 10 Have it use a UIViewController so future forms testing works correctly. 11 12 Add TARGETED_DEVICE_FAMILY = "1,2" to the build settings for the .app, so that it 13 can run in iPad mode. 14 15 Remove empty InfoPlist.strings files. 16 17 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 18 * DumpRenderTree/ios/Info.plist: 19 * DumpRenderTree/ios/Launch.storyboard: Added. 20 * DumpRenderTree/mac/DumpRenderTree.mm: 21 (createWebViewAndOffscreenWindow): 22 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: 23 * WebKitTestRunner/WebKitTestRunnerApp/en.lproj/InfoPlist.strings: Removed. 24 * WebKitTestRunner/ios/PlatformWebViewIOS.mm: 25 (WTR::PlatformWebView::PlatformWebView): Drive-by leak fix. 26 1 27 2016-08-11 Per Arne Vollan <pvollan@apple.com> 2 28 -
trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
r195405 r204378 29 29 0F37A4A711E6628700275F54 /* PluginObjectMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0F37A4A611E6628700275F54 /* PluginObjectMac.mm */; }; 30 30 0F37A4AA11E6629100275F54 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B5A752A108AF5D1F00138E45 /* QuartzCore.framework */; }; 31 0F4E43E31D5C2BAF008EBA5C /* Launch.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0F4E43E11D5C037A008EBA5C /* Launch.storyboard */; }; 31 32 141BF435096A455900E0753C /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9335435F03D75502008635CE /* WebKit.framework */; }; 32 33 141BF436096A455900E0753C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A84F608908B136DA00E9745F /* Cocoa.framework */; }; … … 215 216 00F048531A0C3C9A000244DB /* URLRedirect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = URLRedirect.cpp; sourceTree = "<group>"; }; 216 217 0F37A4A611E6628700275F54 /* PluginObjectMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PluginObjectMac.mm; sourceTree = "<group>"; }; 218 0F4E43E11D5C037A008EBA5C /* Launch.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Launch.storyboard; path = ios/Launch.storyboard; sourceTree = "<group>"; }; 217 219 141BF233096A44CF00E0753C /* TestNetscapePlugIn.plugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestNetscapePlugIn.plugin; sourceTree = BUILT_PRODUCTS_DIR; }; 218 220 141BF447096A45C800E0753C /* PluginObject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PluginObject.h; sourceTree = "<group>"; }; … … 646 648 isa = PBXGroup; 647 649 children = ( 650 0F4E43E11D5C037A008EBA5C /* Launch.storyboard */, 648 651 4464CABD1C20A07000E5BB55 /* DumpRenderTreeAppMain.mm */, 649 652 A1158D55189273EB0088C17B /* DumpRenderTreeBrowserView.h */, … … 903 906 buildActionMask = 2147483647; 904 907 files = ( 908 0F4E43E31D5C2BAF008EBA5C /* Launch.storyboard in Resources */, 905 909 ); 906 910 runOnlyForDeploymentPostprocessing = 0; … … 1199 1203 buildSettings = { 1200 1204 INFOPLIST_FILE = "$(SRCROOT)/ios/Info.plist"; 1205 TARGETED_DEVICE_FAMILY = "1,2"; 1201 1206 }; 1202 1207 name = Debug; … … 1207 1212 buildSettings = { 1208 1213 INFOPLIST_FILE = "$(SRCROOT)/ios/Info.plist"; 1214 TARGETED_DEVICE_FAMILY = "1,2"; 1209 1215 }; 1210 1216 name = Release; … … 1215 1221 buildSettings = { 1216 1222 INFOPLIST_FILE = "$(SRCROOT)/ios/Info.plist"; 1223 TARGETED_DEVICE_FAMILY = "1,2"; 1217 1224 }; 1218 1225 name = Production; -
trunk/Tools/DumpRenderTree/ios/Info.plist
r185330 r204378 28 28 <true/> 29 29 </dict> 30 <key>UILaunchStoryboardName</key> 31 <string>Launch</string> 32 <key>UIRequiredDeviceCapabilities</key> 33 <array> 34 <string>armv7</string> 35 </array> 36 <key>UISupportedInterfaceOrientations</key> 37 <array> 38 <string>UIInterfaceOrientationPortrait</string> 39 <string>UIInterfaceOrientationLandscapeLeft</string> 40 <string>UIInterfaceOrientationLandscapeRight</string> 41 </array> 42 <key>UISupportedInterfaceOrientations~ipad</key> 43 <array> 44 <string>UIInterfaceOrientationPortrait</string> 45 <string>UIInterfaceOrientationPortraitUpsideDown</string> 46 <string>UIInterfaceOrientationLandscapeLeft</string> 47 <string>UIInterfaceOrientationLandscapeRight</string> 48 </array> 30 49 </dict> 31 50 </plist> -
trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig
r194115 r204378 31 31 PLATFORM_OTHER_LDFLAGS[sdk=iphone*] = -l$(WEBKIT_SYSTEM_INTERFACE_LIBRARY) -lWebCoreTestSupport -force_load $(BUILT_PRODUCTS_DIR)/libDumpRenderTree.a -framework QuartzCore -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework Foundation -framework GraphicsServices -framework ImageIO -framework MobileCoreServices -framework UIKit -framework WebCore -framework JavaScriptCore -framework WebKit $(OTHER_LDFLAGS_FONTS); 32 32 PLATFORM_OTHER_LDFLAGS[sdk=macosx*] = -framework JavaScriptCore; 33 33 34 LD_RUNPATH_SEARCH_PATHS = "@loader_path/."; 35 36 EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] = ios/*; 37 34 38 PRODUCT_NAME = DumpRenderTree; 39 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r203855 r204378 821 821 UIWindow *uiWindow = [[[UIWindow alloc] initWithFrame:uiWindowRect] autorelease]; 822 822 823 UIViewController *viewController = [[UIViewController alloc] init]; 824 [uiWindow setRootViewController:viewController]; 825 [viewController release]; 826 823 827 // The UIWindow and UIWebBrowserView are released when the DumpRenderTreeWindow is closed. 824 828 drtWindow.uiWindow = uiWindow; … … 828 832 [scrollView addSubview:webBrowserView]; 829 833 830 [ uiWindow addSubview:scrollView];834 [viewController.view addSubview:scrollView]; 831 835 [scrollView release]; 832 836 -
trunk/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
r204364 r204378 75 75 2E63EDA61891BDC0002A7AFC /* TestRunner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCC9981711D3F51E0017BCA2 /* TestRunner.cpp */; }; 76 76 2E749BF21891EBFA007FC175 /* EventSenderProxyIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2E63ED7A1891ACE9002A7AFC /* EventSenderProxyIOS.mm */; }; 77 2EE52CED1890A9A80010ED21 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2EE52CEB1890A9A80010ED21 /* InfoPlist.strings */; };78 77 5641E2D014335E95008307E5 /* JSTextInputController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5641E2CE14335E95008307E5 /* JSTextInputController.cpp */; }; 79 78 5664A49A14326384008881BE /* TextInputController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5664A49814326384008881BE /* TextInputController.cpp */; }; … … 248 247 2EE52CE41890A9A80010ED21 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 249 248 2EE52CEA1890A9A80010ED21 /* WebKitTestRunnerApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "WebKitTestRunnerApp-Info.plist"; path = "WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist"; sourceTree = "<group>"; }; 250 2EE52CEC1890A9A80010ED21 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };251 249 2EE52CF11890A9A80010ED21 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; 252 250 2EE52CF21890A9A80010ED21 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; … … 563 561 2EE52CF11890A9A80010ED21 /* AppDelegate.h */, 564 562 2EE52CF21890A9A80010ED21 /* AppDelegate.m */, 565 2EE52CEB1890A9A80010ED21 /* InfoPlist.strings */,566 563 0F4B08721D5BE88D00EC1B78 /* Launch.storyboard */, 567 564 2EE52D161890A9FB0010ED21 /* mainIOS.mm */, … … 890 887 buildActionMask = 2147483647; 891 888 files = ( 892 2EE52CED1890A9A80010ED21 /* InfoPlist.strings in Resources */,893 889 0F4B08731D5BE88D00EC1B78 /* Launch.storyboard in Resources */, 894 890 ); … … 1069 1065 /* End PBXTargetDependency section */ 1070 1066 1071 /* Begin PBXVariantGroup section */1072 2EE52CEB1890A9A80010ED21 /* InfoPlist.strings */ = {1073 isa = PBXVariantGroup;1074 children = (1075 2EE52CEC1890A9A80010ED21 /* en */,1076 );1077 name = InfoPlist.strings;1078 sourceTree = "<group>";1079 };1080 /* End PBXVariantGroup section */1081 1082 1067 /* Begin XCBuildConfiguration section */ 1083 1068 1DEB927508733DD40010E9CD /* Debug */ = { -
trunk/Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm
r204364 r204378 117 117 UIViewController *viewController = [[UIViewController alloc] init]; 118 118 [m_window setRootViewController:viewController]; 119 [viewController release]; 119 120 120 121 m_view = [[TestRunnerWKWebView alloc] initWithFrame:viewRectForWindowRect(rect) configuration:configuration];
Note: See TracChangeset
for help on using the changeset viewer.