|
Rank: Member Groups: Member
Joined: 1/6/2016 Posts: 19
|
We recently upgraded from EO version 17.1.14.0 to 18.0.65 and now see compilation errors due to missing IsDialog, IsFullScreen, IsResizable, ShowAddressBar properties in EO.WebBrowser.NewWindowEventArgs class. Have these been removed in the recent version of the library? Please confirm.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
Yes. They have been removed because they were either not implemented in the older version at all or the new engine does not support it. Some of these properties might be supported by older version of the browser engine but is no longer supported due to security concerns. For example, while you can specify "fullscreen" when you call window.open, the engine will ignore it because doing so have the potential of deceiving user into thinking that the new window is a part of another traditional desktop application rather than the web page they are currently on. Such unsupported properties are all removed from the 2018 version.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/6/2016 Posts: 19
|
Thank you for the quick response. Is it possible for you to let us know which among these were not implemented even in the older version (17.1.14.0) & which retired with the recent versions specifically. This will help us focus on those which were retired recently & test/validate the behavior so it does not break anything.
the properties in question are the following: IsDialog, IsFullScreen, IsResizable, ShowAddressBar. which existed in version 17.1.14.0 but not in 18.0.65.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, My understanding is in fact none were supported. However you may want to search online to confirm that. Version 17.1.14.0 was based on Chromium V54. So when you search online, you would search whether Google Chrome V54 supports the following window.open arguments:
Code:
dialog -> IsDialog fullscreen -> IsFullScreen resizable -> IsResizable location -> ShowAddressBar
For example, if you call
Code: JavaScript
window.open(url, title, "location=no")
In the old version it will translate into ShowAddressBar = false. However this does not work because modern browsers do not allow you to hide the page's address bar any more. Due to the enormous size of the Chromium project, we are not in a position to confirm/investigate all the implementation details on every possible browser engine feature. So we would usually just point you to the link point to the browser engine which you would then investigate further yourself. I hope you understand. Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/6/2016 Posts: 19
|
Yes, that is helpful. I can research this further. Thanks for the response.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
You are very welcome. Please feel free to let us know if there is anything else.
|
|