cef 2704,twitter issue

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.

cef 2704,twitter issue

Postby tenkavideoitalia » Sat Jul 16, 2016 9:49 am

hello to everybody
hops somebody can help me to figure out this issue with twitter
steps
open an twitter' owner page witouth login, like Obama
now u can browsing and opnen any photos and video
now ogin with your account on the same page,now u cannot open any photos or video
test with cef 49 and 51 2704 with cefclient sample
pls help
tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Sun Jul 17, 2016 9:24 pm

tries with allow-running-insecure-content with no success
spoked with cefsharp developer and they had same issue
nobody?
tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Mon Jul 18, 2016 11:36 am

tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby magreenblatt » Mon Jul 18, 2016 11:43 am

Thanks for sharing the video.

It looks like it does work at one point in cefclient (around 2:15 in the video). How is that different from the times that it doesn't work? What does the DevTools console show when it's not working?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Mon Jul 18, 2016 11:48 am

at 2.15 i go to another twitter page ,different from one i m logged in
now i make u another video with console
tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Mon Jul 18, 2016 12:02 pm

tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby magreenblatt » Mon Jul 18, 2016 12:08 pm

In your example the Twitter website is failing to load with the following error:

Uncaught ReferenceError: Notification is undefined.

CEF does not implement the Notification API. This is a bug in Twitter -- they should be checking for its existence before trying to use it.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Mon Jul 18, 2016 12:12 pm

and why work in chromium ?
this another error on first page witouth login:
Refused to load the image 'https://www.google.it/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-30775-6&cid=1338104929.1468861817&jid=907248013&_v=j44&z=2133516010&ipr=y' because it violates the following Content Security Policy directive: "img-src https://graph.facebook.com https://*.giphy.com https://twitter.com https://*.twimg.com data: https://fbcdn-profile-a.akamaihd.net https://www.facebook.com https://ton.twitter.com https://*.fbcdn.net https://syndication.twitter.com https://media.riffsy.com https://www.google.com https://stats.g.doubleclick.net https://*.tiles.mapbox.com https://www.google-analytics.com blob: 'self'".
tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby tenkavideoitalia » Mon Jul 18, 2016 12:14 pm

i think chromium implement it,but in the future can be implement in cef? or there are a workaround?
thx for support me
tenkavideoitalia
Newbie
 
Posts: 9
Joined: Sat Jul 16, 2016 8:37 am

Re: cef 2704,twitter issue

Postby Czarek » Mon Jul 18, 2016 12:50 pm

You could mock the Notification API by injecting javascript in CefLoadHandler::OnLoadingStateChange.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Next

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 80 guests