SelfHost BrowserSubProcess support #5202
zangetsudo
started this conversation in
General
Replies: 1 comment
-
|
WPF project settings : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
does CefSharp-81.3.100 support https://github.com/cefsharp/CefSharp/wiki/SelfHost-BrowserSubProcess how do i make it run with SelfHost BrowserSubProcess ?
what i have done:
wpf:
InitWebBrowser:
App.manifest:
true PerMonitorV2,PerMonitorproject settings : both of cefsharp.core cefsharp.browsersubprocess.core:
Project->Setting -> Link-> "Category" -> “Output” -> "Stack allocations" -> "Reserve:" : 8388608
WPF project settings :
1701;1702;1591
false
8388608
console log:
[1211/204053.665:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 00000276985EEEA0: set chrome proxy config service to 00000276985EF300
[1211/204053.687:VERBOSE1:webrtc_internals.cc(119)] Could not get the download directory.
[1211/204056.745:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 000002769F120630: set chrome proxy config service to 000002769F121AA0
[1211/204103.415:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 000002769F21E5A0: set chrome proxy config service to 000002769861A7E0
[1211/204103.428:VERBOSE1:video_capture_oracle.cc(92)] Auto-throttling is enabled.
[1211/204103.428:VERBOSE1:capture_resolution_chooser.cc(204)] Recomputed snapped frame sizes: 1366x768
[1211/204103.428:VERBOSE1:capture_resolution_chooser.cc(156)] Recomputed capture size from 640x360 to 1366x768 (100% of ideal size)
[1211/204103.441:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204103.617:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204103.630:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.540:INFO:cpu_info.cc(53)] Available number of cores: 12
[1211/204105.556:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204105.559:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world
[1211/204105.560:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: 000005189D4A2338
URL:
context_type: WEB_PAGE
effective extension id: (none)
effective context type: WEB_PAGE
[1211/204105.560:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: 0000000000000000
URL:
context_type: UNSPECIFIED
effective extension id: (none)
effective context type: UNSPECIFIED
[1211/204105.561:VERBOSE1:dispatcher.cc(368)] Num tracked contexts: 1
[1211/204105.566:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.567:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.568:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.568:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.570:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.570:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.605:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.605:INFO:CONSOLE(1)] "[ww-open-data] Missing referer for jwxwork.js. See: https://xxx
[1211/204105.614:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204105.615:VERBOSE1:capture_resolution_chooser.cc(204)] Recomputed snapped frame sizes: 1366x768
[1211/204105.616:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.998:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204105.998:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.003:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.031:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.032:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.032:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.033:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.033:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.033:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.130:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204106.430:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204106.430:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204106.431:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204106.431:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204106.431:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204106.431:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.445:INFO:cpu_info.cc(53)] Available number of cores: 12
[1211/204108.458:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.461:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world
[1211/204108.461:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: 000000AC08A22338
URL:
context_type: WEB_PAGE
effective extension id: (none)
effective context type: WEB_PAGE
[1211/204108.462:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: 0000000000000000
URL:
context_type: UNSPECIFIED
effective extension id: (none)
effective context type: UNSPECIFIED
[1211/204108.462:VERBOSE1:dispatcher.cc(368)] Num tracked contexts: 1
[1211/204108.476:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.759:VERBOSE1:CONSOLE(5)] "Main._createAppUI: 14.599853515625ms", source: devtools://devtools/main/MainImpl.js (5)
[1211/204108.764:VERBOSE1:CONSOLE(5)] "Main._showAppUI: 4.577880859375ms", source: devtools://devtools/main/MainImpl.js (5)
[1211/204108.791:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.799:VERBOSE1:CONSOLE(5)] "Main._initializeTarget: 6.998046875ms", source: devtools://devtools/main/MainImpl.js (5)
[1211/204108.830:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.830:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.831:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.832:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204108.834:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204108.835:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204108.835:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://xxx
[1211/204108.900:VERBOSE1:CONSOLE(5)] "Main._lateInitialization: 0.60595703125ms", source: devtools://devtools/main/MainImpl.js (5)
[1211/204108.956:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.957:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.957:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.957:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.997:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204108.997:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.000:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.000:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.001:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.011:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.011:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.316:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.316:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.317:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.317:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.317:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.317:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.317:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.318:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.318:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.320:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.320:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.320:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.320:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.321:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.321:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.321:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.336:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.336:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.337:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.337:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.337:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.338:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204109.338:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.511:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.511:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.514:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.524:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.524:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204111.525:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204112.272:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
[1211/204122.896:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world
[1211/204122.899:ERROR:paint_controller.cc(561)] PaintController::FinishCycle() completed
the WebBrowser is running ok, but EvaluateScriptAsync hangs forever.
if i run the script from the devtools(by add the code of : browser.ShowDevTools(); ), the result is ok btw.
i'v seen #4728 but did't give me anther thought.
any help without upgrade to hight version of cefsharp will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions