popupFeatures.additionalFeatures returning NULL

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.

popupFeatures.additionalFeatures returning NULL

Postby dverma05 » Wed Jan 20, 2016 9:43 am

Hi All,

I am always getting popupFeatures.additionalFeatures as NULL. It was working with version "cef_binary_3.2454.1328" but failing in version "CEF 3.2526.1359.gced449a".
I am using Windows7 machine.

I saw some old post regarding the same as below (It was fixed later):
viewtopic.php?f=6&t=10943

If anybody facing the same problem.

Regards,
Dileep
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: popupFeatures.additionalFeatures returning NULL

Postby magreenblatt » Wed Jan 20, 2016 11:20 am

How were you creating the window via JavaScript?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: popupFeatures.additionalFeatures returning NULL

Postby dverma05 » Wed Jan 20, 2016 11:32 am

How were you creating the window via JavaScript?


Yes, I am creating the window usnig javascript as below:
window.open("http://www.w3schools.com", "_blank", "toolbar=no, scrollbars=yes, resizable=no, top=500, left=500, width=400, height=400, Additional_Field");

I have passed "Additional_Field" in 3rd arguments and it was working in "cef_binary_3.2454.1328" but failing in version "CEF 3.2526.1359.gced449a".
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: popupFeatures.additionalFeatures returning NULL

Postby magreenblatt » Wed Jan 20, 2016 11:47 am

What additionalFeatures value did you get in 3.2454.1328?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: popupFeatures.additionalFeatures returning NULL

Postby dverma05 » Thu Jan 21, 2016 1:58 am

What additionalFeatures value did you get in 3.2454.1328?

I have passed "Additional_Field" so in 'popupFeatures.additionalFeatures' I am getting "Additional_Field" itself.
int size = cef_string_list_size(popupFeatures.additionalFeatures); => Gives size 1
value => Additional_Field
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: popupFeatures.additionalFeatures returning NULL

Postby magreenblatt » Thu Jan 21, 2016 11:08 am

dverma05 wrote:
What additionalFeatures value did you get in 3.2454.1328?

I have passed "Additional_Field" so in 'popupFeatures.additionalFeatures' I am getting "Additional_Field" itself.
int size = cef_string_list_size(popupFeatures.additionalFeatures); => Gives size 1
value => Additional_Field

OK, please file a bug. WebKit used to not pass additionalFeatures to Chromium, so I'm somewhat surprised that it ever worked for you.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: popupFeatures.additionalFeatures returning NULL

Postby dverma05 » Fri Jan 22, 2016 1:42 am

This issue was fixed and committed by you only a long back. I feel like this got broken in later releases after "cef_binary_3.2454.1328"
Below is the issue reported and fixed a long back.

https://code.google.com/p/chromiumembedded/issues/detail?id=520

Where can I log a defect? I am not sure that this time its CEF3 issue or chromimum itself.


Regards,
Dileep
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: popupFeatures.additionalFeatures returning NULL

Postby magreenblatt » Fri Jan 22, 2016 10:45 am

magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 64 guests