Title: [172539] trunk/Source/WebKit2
Revision
172539
Author
commit-qu...@webkit.org
Date
2014-08-13 15:30:47 -0700 (Wed, 13 Aug 2014)

Log Message

Opening Web Inspector causes a large amount of sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=135908

Patch by Joseph Pecoraro <pecor...@apple.com> on 2014-08-13
Reviewed by Timothy Hatcher.

* WebProcess/com.apple.WebProcess.sb.in:
Permit the WebContent process to create file read extensions for the
system WebInspectorUI.framework which the Network process can already
read anyways.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (172538 => 172539)


--- trunk/Source/WebKit2/ChangeLog	2014-08-13 22:15:30 UTC (rev 172538)
+++ trunk/Source/WebKit2/ChangeLog	2014-08-13 22:30:47 UTC (rev 172539)
@@ -1,3 +1,15 @@
+2014-08-13  Joseph Pecoraro  <pecor...@apple.com>
+
+        Opening Web Inspector causes a large amount of sandbox violations
+        https://bugs.webkit.org/show_bug.cgi?id=135908
+
+        Reviewed by Timothy Hatcher.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+        Permit the WebContent process to create file read extensions for the
+        system WebInspectorUI.framework which the Network process can already
+        read anyways.
+
 2014-08-13  Tim Horton  <timothy_hor...@apple.com>
 
         Avoid making new active service overlay highlights while the mouse is down

Modified: trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in (172538 => 172539)


--- trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2014-08-13 22:15:30 UTC (rev 172538)
+++ trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2014-08-13 22:30:47 UTC (rev 172539)
@@ -92,6 +92,10 @@
 ;; and to allow issuing extensions.
 (allow-read-directory-and-issue-read-extensions (param "WEBKIT2_FRAMEWORK_DIR"))
 
+;; Allow issuing extensions to system libraries that the Network process can already read.
+;; This is to avoid warnings attempting to create extensions for these resources.
+(allow-read-directory-and-issue-read-extensions "/System/Library/PrivateFrameworks/WebInspectorUI.framework")
+
 ;; Sandbox extensions
 (define (apply-read-and-issue-extension op path-filter)
     (op file-read* path-filter)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to