Summary: | WebKit2: allow debug opt-out from sandbox via default | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ivan Krstić <ike> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Enhancement | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.6 | ||||||
Attachments: |
|
Comment on attachment 68933 [details] Allow disabling WebKit2 sandbox on Mac View in context: https://bugs.webkit.org/attachment.cgi?id=68933&action=review > WebProcess/mac/WebProcessMainMac.mm:75 > + } else { > + fprintf(stderr, "WebProcess: bypassing sandbox due to com.apple.WebProcess.DisableSandbox default; behavior will differ from production builds\n"); > } The braces around this “else” are unnecessary and should be removed. I think it would be preferable to use NSLog here rather than printf. I will make those changes when landing this patch. |
Created attachment 68933 [details] Allow disabling WebKit2 sandbox on Mac The attached patch introduces a new debugging default, com.apple.WebProcess.DisableSandbox, which can be used to disable the WebKit2 sandbox on the Mac.