diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2016-05-18 14:55:13 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-05-19 18:47:23 +0000 |
commit | f4b806ffbc2f11a5a64fab2856dfe68ae7d603c8 (patch) | |
tree | e0549b086cdb024b5c360c1a949b5a9988873049 /tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc | |
parent | f2370c0d09998f382364a9a58932cf717c28a764 (diff) |
Fix pasting images to web pages
WebKit expects pasted images to have the MIME type image/png (see code
and comment in DataObjectItem::getAsFile()).
Task-number: QTBUG-53409
Change-Id: I2b0c1244d309687ad190db26c5b00718ed0c4258
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc')
-rw-r--r-- | tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc index c7bffd5bb..91adeb694 100644 --- a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc +++ b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.qrc @@ -12,6 +12,7 @@ <file>resources/script.html</file> <file>resources/user.css</file> <file>resources/image.png</file> + <file>resources/pasteimage.html</file> <file>resources/style.css</file> <file>resources/test1.html</file> <file>resources/test2.html</file> |