|
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.
|
|
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!
|
|
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?
|
|
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.
|
|