Revert "macOS V2 Sandbox: Allow cfprefs and gamecontrollerd for perf experiment."
This reverts commit 49c0741868c54e93d54faa1d2163a32824c77428, to see how
the performance histograms respond without cfprefs access.
Tbr: [email protected]
Bug: 689306
Change-Id: I195a729e611c964b6221ec0e98ccde04444dc78f
Reviewed-on: https://chromium-review.googlesource.com/792092
Commit-Queue: Greg Kerr <[email protected]>
Reviewed-by: Nasko Oskov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#519440}
diff --git a/content/renderer/sandbox_mac_v2_unittest.mm b/content/renderer/sandbox_mac_v2_unittest.mm
index cc63730..2d025d5 100644
--- a/content/renderer/sandbox_mac_v2_unittest.mm
+++ b/content/renderer/sandbox_mac_v2_unittest.mm
@@ -134,11 +134,10 @@
bootstrap_port, "com.apple.system.logger", &service_port);
CHECK_EQ(status, BOOTSTRAP_SUCCESS) << bootstrap_strerror(status);
- // This test case temporarily disabled for performance experiments.
- // mach_port_t forbidden_mach;
- // status = bootstrap_look_up(bootstrap_port, "com.apple.cfprefsd.daemon",
- // &forbidden_mach);
- // CHECK_NE(BOOTSTRAP_SUCCESS, status);
+ mach_port_t forbidden_mach;
+ status = bootstrap_look_up(bootstrap_port, "com.apple.cfprefsd.daemon",
+ &forbidden_mach);
+ CHECK_NE(BOOTSTRAP_SUCCESS, status);
// Read bundle contents.
base::FilePath bundle_path = base::mac::MainBundlePath();