Bug 29390
| Summary: | [Qt] QWebView::urlChanged() is not emitted when the html loaded does not contain a <title> tag | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
| Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | tonikitoo |
| Priority: | P2 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | OS X 10.5 | ||
Tor Arne Vestbø
This bug report originated from issue QTBUG-3028
<http://bugreports.qt.nokia.com/browse/QTBUG-3028>
--- Description ---
QWebView::urlChanged() is not emitted when the html loaded does not contain a <title> tag
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antonio Gomes
tested w/ trunk and it WFM
I tested it in both QtLauncher and QGVLauncher , loading "data:text/html,<h1>test" and both emitted urlChanged twice in fact.
void FrameLoaderClientQt::dispatchDidChangeLocationWithinPage()
{
(...)
emit m_webFrame->urlChanged(m_webFrame->url());
m_webFrame->page()->d->updateNavigationActions();
}
void FrameLoaderClientQt::dispatchDidCommitLoad()
{
(..)
emit m_webFrame->urlChanged(m_webFrame->url());
m_webFrame->page()->d->updateNavigationActions();
(...)
}
Antonio Gomes
please reopen w/ a proper TC or better bug description if it is still reproducible for you.