RESOLVED FIXED Bug 95161
WebProcess XPC services need have their environment set without disrupting all other XPC services
https://bugs.webkit.org/show_bug.cgi?id=95161
Summary WebProcess XPC services need have their environment set without disrupting al...
Sam Weinig
Reported 2012-08-27 18:39:09 PDT
Replace one horrible hack to make XPC services work, with a slightly less, slightly more, horrible hack
Attachments
Patch (20.88 KB, patch)
2012-08-27 19:17 PDT, Sam Weinig
no flags
Patch (90.71 KB, patch)
2012-09-21 13:57 PDT, Sam Weinig
andersca: review+
Sam Weinig
Comment 1 2012-08-27 19:17:50 PDT
Sam Weinig
Comment 2 2012-08-27 20:04:12 PDT
Comment on attachment 160883 [details] Patch This hack is too horrible for me. Removing from review.
Build Bot
Comment 3 2012-08-28 15:09:19 PDT
Sam Weinig
Comment 4 2012-09-21 13:57:59 PDT
WebKit Review Bot
Comment 5 2012-09-21 14:02:09 PDT
Attachment 165186 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/WebProcess/mac/WebProcessServiceEntryPoints.h:44: The parameter name "connection" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 6 2012-09-21 14:23:16 PDT
Comment on attachment 165186 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165186&action=review > Source/WebKit2/ChangeLog:14 > + the AppSandbox. App Sandbox, unless you're talking about the MacOSX feature. > Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm:127 > + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { }); Please add a comment indicating why the block is empty here. > Source/WebKit2/WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm:54 > + NSLog(@"re-exec"); :|
Sam Weinig
Comment 7 2012-09-21 19:21:59 PDT
Note You need to log in before you can comment on or make changes to this bug.