summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/favicon2.html
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2014-03-25 10:24:46 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-01 18:13:12 +0200
commitd13d953feceb2e72959f7b9aaf45720dcae49e8a (patch)
tree930acfb8d0e744e5b1f7a648bcd0ef3cb93da6b2 /tests/auto/quick/qmltests/data/favicon2.html
parentdb46baffab77cd546f16b4b4ccf09bc86d9ef208 (diff)
Fix iconChanged signal and add favIconLoad QML test
If WebContentsDelegateQt::DidUpdateFaviconURL was not called after a page load, we need to reset the favicon URL. We can use the navigation entries to store favicon related information. Change-Id: I7bcfbd46c176fabce319eba32c379a293f8ebba6 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'tests/auto/quick/qmltests/data/favicon2.html')
-rw-r--r--tests/auto/quick/qmltests/data/favicon2.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/quick/qmltests/data/favicon2.html b/tests/auto/quick/qmltests/data/favicon2.html
new file mode 100644
index 000000000..5548b867f
--- /dev/null
+++ b/tests/auto/quick/qmltests/data/favicon2.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+</head>
+<link type="image/png" href="small-favicon.png" sizes="16x16" rel="icon" />
+<body>
+<p>It's expected that you see a favicon displayed for this page when you open it as a local file.</p>
+<p>The favicon looks like this:</p>
+<img src="small-favicon.png"/>
+</body>
+</html>