WebKitTestRunner: Add watchOS entitlements
https://bugs.webkit.org/show_bug.cgi?id=188758
Reviewed by Tim Horton.
watchOS needs an additional entitlement to open up a socket for on-device testing.
* WebKitTestRunner/Configurations/WebKitTestRunnerApp-watchOS.entitlements: Added.
* WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@235099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index bd20638..16a144f 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,16 @@
+2018-08-20 Jonathan Bedard <jbedard@apple.com>
+
+ WebKitTestRunner: Add watchOS entitlements
+ https://bugs.webkit.org/show_bug.cgi?id=188758
+
+ Reviewed by Tim Horton.
+
+ watchOS needs an additional entitlement to open up a socket for on-device testing.
+
+ * WebKitTestRunner/Configurations/WebKitTestRunnerApp-watchOS.entitlements: Added.
+ * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
+ * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
+
2018-08-20 Thomas Denney <tdenney@apple.com>
[WHLSL] Remove generics from the interpreter
diff --git a/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp-watchOS.entitlements b/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp-watchOS.entitlements
new file mode 100644
index 0000000..6a9ce64
--- /dev/null
+++ b/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp-watchOS.entitlements
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.network.client</key>
+ <true/>
+ <key>com.apple.developer.WebKit.ServiceWorkers</key>
+ <true/>
+</dict>
+</plist>
diff --git a/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig b/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig
index 986074e..cba936d 100644
--- a/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig
+++ b/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig
@@ -41,3 +41,4 @@
TARGETED_DEVICE_FAMILY = 1,2,4;
CODE_SIGN_ENTITLEMENTS[sdk=iphone*] = Configurations/WebKitTestRunnerApp-iOS.entitlements;
+CODE_SIGN_ENTITLEMENTS[sdk=watch*] = Configurations/WebKitTestRunnerApp-watchOS.entitlements;
diff --git a/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj b/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
index 1c6c474..4c15558 100644
--- a/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
+++ b/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
@@ -275,6 +275,7 @@
2EE52D141890A9FB0010ED21 /* TestControllerIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = TestControllerIOS.mm; sourceTree = "<group>"; };
2EE52D161890A9FB0010ED21 /* mainIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = mainIOS.mm; path = ../ios/mainIOS.mm; sourceTree = "<group>"; };
3110BE0F15BA011400D216AC /* WebNotificationProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebNotificationProvider.h; sourceTree = "<group>"; };
+ 311183AA212B1AC70077BCE0 /* WebKitTestRunnerApp-watchOS.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "WebKitTestRunnerApp-watchOS.entitlements"; sourceTree = "<group>"; };
31268EB91EF06A3B001963E2 /* UIKitTestSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UIKitTestSPI.h; path = ../TestRunnerShared/spi/UIKitTestSPI.h; sourceTree = "<group>"; };
3148A0531E6F85B600D3B316 /* IOSLayoutTestCommunication.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IOSLayoutTestCommunication.cpp; path = ../TestRunnerShared/IOSLayoutTestCommunication.cpp; sourceTree = "<group>"; };
3148A0541E6F85B600D3B316 /* IOSLayoutTestCommunication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IOSLayoutTestCommunication.h; path = ../TestRunnerShared/IOSLayoutTestCommunication.h; sourceTree = "<group>"; };
@@ -767,6 +768,7 @@
BC25197111D15E61002EBC01 /* InjectedBundle.xcconfig */,
A18510381B9ADF2200744AEB /* WebKitTestRunner.xcconfig */,
9B0D132E2036D346008FC8FB /* WebKitTestRunnerApp-iOS.entitlements */,
+ 311183AA212B1AC70077BCE0 /* WebKitTestRunnerApp-watchOS.entitlements */,
A18510391B9ADFF800744AEB /* WebKitTestRunnerApp.xcconfig */,
BC251A1811D16795002EBC01 /* WebKitTestRunnerLibrary.xcconfig */,
);