Title: [140872] trunk/Source/WebKit2
- Revision
- 140872
- Author
- a...@apple.com
- Date
- 2013-01-25 15:44:29 -0800 (Fri, 25 Jan 2013)
Log Message
<rdar://problem/13089261> Crash in WKSandboxExtensionGetSerializedFormat when opening Web Inspector
Reviewed by Brady Eidson.
* WebProcess/com.apple.WebProcess.sb.in: Should be able to issue extensions for
Inspector files.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (140871 => 140872)
--- trunk/Source/WebKit2/ChangeLog 2013-01-25 23:35:13 UTC (rev 140871)
+++ trunk/Source/WebKit2/ChangeLog 2013-01-25 23:44:29 UTC (rev 140872)
@@ -1,3 +1,12 @@
+2013-01-25 Alexey Proskuryakov <a...@apple.com>
+
+ <rdar://problem/13089261> Crash in WKSandboxExtensionGetSerializedFormat when opening Web Inspector
+
+ Reviewed by Brady Eidson.
+
+ * WebProcess/com.apple.WebProcess.sb.in: Should be able to issue extensions for
+ Inspector files.
+
2013-01-25 Sam Weinig <s...@webkit.org>
Try to fix the debug build.
Modified: trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in (140871 => 140872)
--- trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in 2013-01-25 23:35:13 UTC (rev 140871)
+++ trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in 2013-01-25 23:44:29 UTC (rev 140872)
@@ -18,6 +18,12 @@
(define (home-literal home-relative-literal)
(literal (string-append (param "HOME_DIR") home-relative-literal)))
+(define (allow-read-directory-and-issue-read-extensions path)
+ (if path
+ (begin
+ (allow file-read* (subpath path))
+ (allow file-issue-extension (require-all (extension-class "com.apple.app-sandbox.read") (subpath path))))))
+
;; Read-only preferences and data
(allow file-read*
;; Basic system paths
@@ -58,10 +64,6 @@
(home-literal "/Library/Application Support/SyncServices/Local/ClientsWithChanges/com.apple.Keychain")
(home-regex #"/Library/Preferences/com\.apple\.driver\.(AppleBluetoothMultitouch\.mouse|AppleBluetoothMultitouch\.trackpad|AppleHIDMouse)\.plist$")
- ;; On-disk WebKit2 framework location, to account for debug installations
- ;; outside of /System/Library/Frameworks
- (subpath (param "WEBKIT2_FRAMEWORK_DIR"))
-
;; FIXME: This should be removed when <rdar://problem/8957845> is fixed.
(home-subpath "/Library/Fonts")
@@ -76,6 +78,10 @@
(home-subpath "/Library/Dictionaries"))
+;; On-disk WebKit2 framework location, to account for debug installations outside of /System/Library/Frameworks,
+;; and to allow issuing extensions.
+(allow-read-directory-and-issue-read-extensions (param "WEBKIT2_FRAMEWORK_DIR"))
+
;; 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
http://lists.webkit.org/mailman/listinfo/webkit-changes