cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

Titles from iframes are shown as the window title when they should not #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
see http://www.news.com for an example.

You will see the title start with the correct one for the root document but 
then change to the titles in the contained iframes as they load.

In my example I ended up with "XD Proxy" as the final title for the page.

Also, clicking on one of the article links reproduces the same bug.

Original issue reported on code.google.com by gusver...@gmail.com on 10 Jan 2011 at 9:33

GoogleCodeExporter commented 9 years ago
This is a oversight in cefclient's usage of HandleLoadStart/HandleLoadEnd. See 
http://magpcss.org/ceforum/viewtopic.php?f=6&t=184 for some related discussion.

Original comment by magreenb...@gmail.com on 11 Jan 2011 at 12:35

GoogleCodeExporter commented 9 years ago
I'm adding a new |isMainContent| boolean argument to HandleLoadStart and 
HandleLoadEnd that will be true only when loading the main content area. 
HandleAddressChange and HandleTitleChange will also only be called for the main 
content area.

Original comment by magreenb...@gmail.com on 11 Jan 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Fixed in revision 162.

Original comment by magreenb...@gmail.com on 11 Jan 2011 at 11:47