Welcome Guest Search | Active Topics | Sign In | Register

Browser hang when calling window.external. Options
DylanT
Posted: Thursday, June 7, 2018 2:43:57 AM
Rank: Member
Groups: Member

Joined: 6/5/2018
Posts: 14
We are using EO.Browser.wpf version 18.1.75.0

I have a very simple BrowserListener that has been functioning fine.

I have a very simple method defined for test purposes:
Code: C#
public class BrowserListener
    {       public bool DoSomething(string thing)
        {
            var t = thing + " added";
            return t == "jdjd";
        }
    }


And I have a very simple piece of code in a file called pre.js. Nothing else here, just this one line.

Code: JavaScript
DoSomething("thing");


Then, I am preloading pre.js into my browser instance via:
Code: C#
var v = new WebView {JSInitCode = GetJavascriptToPreload()};

where GetJavascriptToPreload() returns the contents of pre.js.

Now, when my browser navigates to a page, the "DoSomething()" method is called, but the browser never loads.

What mistake are we making with this?
eo_support
Posted: Monday, June 11, 2018 2:30:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

This is just to let you know that we are still investigating this issue. We can reproduce the problem here but we have not been able to find out the root cause yet. We will reply again when we have an update.

Thanks!
eo_support
Posted: Tuesday, June 12, 2018 10:16:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

We have found the root of the problem. This will be fixed in our next build. We will reply again as soon as the new build is posted.

Thanks!
DylanT
Posted: Wednesday, June 13, 2018 5:54:04 AM
Rank: Member
Groups: Member

Joined: 6/5/2018
Posts: 14
OK thanks, glad to help find bugs!
eo_support
Posted: Friday, July 6, 2018 2:12:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

This is just to let you know that we have posted a new build that should resolve this issue. Please download it from our download page and see how it goes.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.