[Webkit-unassigned] [Bug 29595] [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 21:47:26 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=29595





--- Comment #4 from Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org>  2011-03-22 21:47:26 PST ---
I agreed with the previous comment conclusion, but after further discussion on IRC, it was verified that Qt Designer relies on setting QUrl() to reset. So this is a real use case that we might want to keep.

So the proposal here is to change the semantics of QUrl() to be equivalent to QUrl("about:blank"). This fixes Qt Designer behavior and define a semantic for what we expect when setting / loading QUrl() -- which was unclear and untested before. I think this solution is better than doing nothing when we setting / loading QUrl().

This will affect for instance, the value of url() property for a newly created QWebPage. I argue the clarification of the API worth the change.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list