Title: [218292] trunk/Source/WebKit2
Revision
218292
Author
[email protected]
Date
2017-06-14 14:06:39 -0700 (Wed, 14 Jun 2017)

Log Message

[WK2][iOS] Remove dead-code "import "removed-dev-nodes.sb” from sandboxes (173378)
https://bugs.webkit.org/show_bug.cgi?id=173378
<rdar://problem/32773230>

Reviewed by Alexey Proskuryakov.

Clean up the sandboxes to remove a couple of dead functions (and imports):
1. Remove the import "removed-dev-nodes.sb" from the sandbox, since this file is now empty.
2. Also remove the call to "instruments-support" as this is a no-op function in modern iOS.

* Resources/SandboxProfiles/ios/com.apple.WebKit.Databases.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (218291 => 218292)


--- trunk/Source/WebKit2/ChangeLog	2017-06-14 20:47:01 UTC (rev 218291)
+++ trunk/Source/WebKit2/ChangeLog	2017-06-14 21:06:39 UTC (rev 218292)
@@ -1,3 +1,19 @@
+2017-06-14  Brent Fulgham  <[email protected]>
+
+        [WK2][iOS] Remove dead-code "import "removed-dev-nodes.sb” from sandboxes (173378)
+        https://bugs.webkit.org/show_bug.cgi?id=173378
+        <rdar://problem/32773230>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Clean up the sandboxes to remove a couple of dead functions (and imports):
+        1. Remove the import "removed-dev-nodes.sb" from the sandbox, since this file is now empty.
+        2. Also remove the call to "instruments-support" as this is a no-op function in modern iOS.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Databases.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2017-06-14  Alex Christensen  <[email protected]>
 
         Add SPI for immediate injection of user scripts

Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Databases.sb (218291 => 218292)


--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Databases.sb	2017-06-14 20:47:01 UTC (rev 218291)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Databases.sb	2017-06-14 21:06:39 UTC (rev 218292)
@@ -28,7 +28,6 @@
 (deny mach-lookup (xpc-service-name-prefix ""))
 
 (import "common.sb")
-(import "removed-dev-nodes.sb")
 
 (allow file-read* file-write* (extension "com.apple.app-sandbox.read-write"))
 

Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (218291 => 218292)


--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2017-06-14 20:47:01 UTC (rev 218291)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2017-06-14 21:06:39 UTC (rev 218292)
@@ -28,7 +28,6 @@
 (deny mach-lookup (xpc-service-name-prefix ""))
 
 (import "common.sb")
-(import "removed-dev-nodes.sb")
 
 (deny sysctl*)
 (allow sysctl-read

Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (218291 => 218292)


--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2017-06-14 20:47:01 UTC (rev 218291)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2017-06-14 21:06:39 UTC (rev 218292)
@@ -28,7 +28,6 @@
 (deny mach-lookup (xpc-service-name-prefix ""))
 
 (import "UIKit-apps.sb")
-(import "removed-dev-nodes.sb")
 
 (uikit-app 'with-opengl 'with-location-services)
 
@@ -73,9 +72,6 @@
     (extension "com.apple.app-sandbox.read-write")
     (extension-class "com.apple.nsurlstorage.extension-cache")))
 
-;; Allow the OpenGL Profiler to attach.
-(instruments-support)    ; For <rdar://problem/7931952>
-
 ;; MediaAccessibility
 (mobile-preferences-read "com.apple.mediaaccessibility")
 (mobile-preferences-read-write "com.apple.mediaaccessibility.public")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to