How to reproduce:
- Download latest version of cefclient or build cefclient using master branch (3113)
- Invoke cefclient with the command: <path to cefclient> --no-sandbox --renderer-startup-dialog
cefclient should start browser process and on the renderer process start, it should wait for the debugger.
Renderer process does not wait for debugger. If you examine renderer's command line, you can observe that browser process does not pass it's command line arguments to renderer process. This happens for all switches defined at https://cs.chromium.org/chromium/src/content/public/common/content_switches.cc. This issue is not producible in Windows.
Version: Tested with 3071 and master branch as of 18-July-2017. This issue is not reproducible in 2987 branch.
OS: Mac OS 10.12.1
Reason for this failure:
command line arguments in
service_manager::MainInitialize after creating
sm_main_params_ but CEF sets only the delegate at https://bitbucket.org/chromiumembedded/cef/src/700123d3eb6dc93a38660c9e3480a163d487bdf7/libcef/browser/context.cc?at=master&fileviewer=file-view-default#context.cc-379.
I am creating the PR to fix this issue.