WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135908
Opening Web Inspector causes a large amount of sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=135908
Summary
Opening Web Inspector causes a large amount of sandbox violations
Joseph Pecoraro
Reported
2014-08-13 15:09:34 PDT
* SUMMARY Opening Web Inspector causes a large amount of "deny file-issue-extension" sandbox violations:
> com.apple.WebKit(93849) deny file-issue-extension /System/Library/PrivateFrameworks/WebInspectorUI.framework/Versions/A/Resources/Main.html > com.apple.WebKit(93849) deny file-issue-extension /System/Library/PrivateFrameworks/WebInspectorUI.framework/Versions/A/Resources/CodeMirror.css > com.apple.WebKit(93849) deny file-issue-extension /System/Library/PrivateFrameworks/WebInspectorUI.framework/Versions/A/Resources/Main.css > ...
* NOTES This doesn't happen with local builds which does not use /S/L/PF/WebInspectorUI.framework but instead your own built WebInspectorUI.framework. <
rdar://problem/17998706
>
Attachments
[PATCH] Proposed Fix
(1.53 KB, patch)
2014-08-13 15:13 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2014-08-13 15:13:05 PDT
Created
attachment 236555
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 2
2014-08-13 15:17:03 PDT
Comment on
attachment 236555
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=236555&action=review
> Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in:97 > +(allow-read-directory-and-issue-read-extensions "/System/Library/PrivateFrameworks/WebInspectorUI.framework")
Do we also need to add /System/Library/StagedFrameworks/Safari/WebInspectorUI.framework?
Alexey Proskuryakov
Comment 3
2014-08-13 15:20:41 PDT
r=me as well. We shouldn't need StagedFrameworks, because WebInspectorUI.framework ends up being in the same directory as WebKit.framework, and thus the existing rule does the trick: (allow-read-directory-and-issue-read-extensions (param "WEBKIT2_FRAMEWORK_DIR"))
WebKit Commit Bot
Comment 4
2014-08-13 15:31:03 PDT
Comment on
attachment 236555
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 236555 Committed
r172539
: <
http://trac.webkit.org/changeset/172539
>
WebKit Commit Bot
Comment 5
2014-08-13 15:31:06 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug