Welcome Guest Search | Active Topics | Sign In | Register

Add page title in Debug UI Options
PS
Posted: Thursday, May 16, 2019 9:21:57 AM
Rank: Advanced Member
Groups: Member

Joined: 10/24/2018
Posts: 97
Would it be possible to add the page title to the Debug UI website overview (of a specific engine), possibly only if the URL is "about:blank"?
The reason for this is that in our application we have a number of WebViews that only load HTML and thus all of them have "about:blank" as identification in Debug UI > Default Engine > WebViews.
eo_support
Posted: Friday, May 17, 2019 10:27:39 AM
Rank: Administration
Groups: Administration

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

We will change WebView.Title from readonly to read/write so that you will be able to set an overriding title value that will be displayed in the Debug UI list. Also WebView.Url will no longer holds "about:blank" value, it will hold an empty string value instead.

Note that this does not change the remote debugging list page. On that page you may still see "about:blank". Changing that requires much more changes inside the browser engine and risks breaking other things so we have decided against it.

Thanks!
PS
Posted: Friday, May 24, 2019 10:24:37 AM
Rank: Advanced Member
Groups: Member

Joined: 10/24/2018
Posts: 97
Okay, we believe that that would definitely be helpful!
Is it possible to fallback to the HTML title attribute in case no Title property is set on the WebView?
eo_support
Posted: Friday, May 24, 2019 6:12:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Yes. It will fallback. By default Title property is automatically updated to reflect the HTML's title attribute --- This is the "normal" purpose of this property and it was readonly.

Now the property is changed to read/write, so you will have the ability to overwrite this property. However the value you set only takes effect when the HTML's title is empty (or in your LoadHtml case). If the page itself already has a value, that value takes priority.


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.