summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp b/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
index c3cc68a7b..a8dc93c98 100644
--- a/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
+++ b/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
@@ -2185,6 +2185,10 @@ void QQuickWebView::handleFlickableMouseRelease(const QPointF& position, qint64
and that was the base url, then an image referenced with the relative url \c diagram.png
would be looked for at \c{http://www.example.com/documents/diagram.png}.
+ It is important to keep in mind that the \a html string will be converted to UTF-16
+ internally. Textual resources, such as scripts or style sheets, will be treated as
+ UTF-16 as well, unless they have an explicit charset property in their referencing tag.
+
If an \a unreachableUrl is passed it is used as the url for the loaded
content. This is typically used to display error pages for a failed
load.