|
Rank: Member Groups: Member
Joined: 12/2/2015 Posts: 25
|
Hello, since Version 23.0.83 (Chromium Upgrade) we cannot use RegisterJSExtensionFunction within an IFRAME anymore
what we do: -we register some methods with RegisterJSExtensionFunction -the page uses an iframe to display another page -the iframe page calls one of the RegisterJSExtensionFunction methods -we handle this call in C# --> but now it does not work
One thing I noticed, the remote debugging page shows the iframe page as second inspectable WebContent (since 23.0.83), before that the iframe page was not visible on the remote debugging page
Is this a known bug (or feature) or is there a workaround, maybe something like registering the JSExtensionFunction a second time for the iframe
thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, We are not aware of RegisterJSExtensionFunction not working inside iframe. It is designed to work inside all frames. If you continue to have problems, please send a small test project to us and we will be investigate further. See here for more details: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 12/2/2015 Posts: 25
|
Thanks a lot! while creating the test project I found some more details If both pages are on the same domain (or file:// protocol) everything works as expected If the domain or protocol (for the tests I used http and https) of the IFrame is different from the main page, the RegisterJSExtensionFunction does not work (since v23.0.83) I also send you the test project thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Thank you very much for the test project. We are able to find out the root cause. The issue will be resolved in our next build. We will reply here again when the new build is available.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 12/2/2015 Posts: 25
|
Hello, thank you for the new version The problem seems to be fixed with this version. One point I noticed, the remote debugger throws an error (Debugging connection was closed. Reason: WebSocket disconnected) when I click on a link from the overview page, (with the previous EO-version in my test program that I sent you, it works as expected) thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Thanks for letting us know. We are looking into this and will reply again once we have an update.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have posted a new build (23.2.34) that should resolve the remote debugging issue. You can download it from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 12/2/2015 Posts: 25
|
Hello, thank you, the latest version looks as expected
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great. Thanks for confirming the fix!
|
|