CreateBrowserSync without Request Context

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CreateBrowserSync without Request Context

Postby Florian » Thu May 20, 2021 1:07 pm

Since this change, CreateBrowserSync no longer accepts an empty value (i.e. nullptr) for the request context.

As code called later still checks for an empty value to use the global request context and the docs still states that it is possible to pass an empty request context, there is a conflict between the code and the docs.

What is the intended behaviour? Passing CefRequestContext::GetGlobalContext() is a workaround.
Florian
Newbie
 
Posts: 2
Joined: Thu May 20, 2021 12:37 pm

Re: CreateBrowserSync without Request Context

Postby magreenblatt » Thu May 20, 2021 2:05 pm

Thanks for posting. This was not an intentional change (you should still be able to pass NULL). I'll fix it shortly.
magreenblatt
Site Admin
 
Posts: 10919
Joined: Fri May 29, 2009 6:57 pm

Re: CreateBrowserSync without Request Context

Postby magreenblatt » Thu May 20, 2021 2:20 pm

Now fixed. Automated builds with the fix should be available tomorrow.
magreenblatt
Site Admin
 
Posts: 10919
Joined: Fri May 29, 2009 6:57 pm

Re: CreateBrowserSync without Request Context

Postby Florian » Thu May 20, 2021 7:52 pm

Thanks a lot.
Florian
Newbie
 
Posts: 2
Joined: Thu May 20, 2021 12:37 pm


Return to Support Forum

Who is online

Users browsing this forum: bahas and 16 guests