Commit daa671fb authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

[Qt][DRT] Add support for overriding the "WebKitDisplayImagesKey" preference.

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

Patch by Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> on 2012-10-03
Reviewed by Csaba Osztrogonác.

Tools:

* DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunner::overridePreference):

LayoutTests:

* platform/qt/TestExpectations: Unskip a few tests that depended
on this feature.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 46689138
2012-10-03 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
[Qt][DRT] Add support for overriding the "WebKitDisplayImagesKey" preference.
https://bugs.webkit.org/show_bug.cgi?id=98200
Reviewed by Csaba Osztrogonác.
* platform/qt/TestExpectations: Unskip a few tests that depended
on this feature.
2012-10-03 Jochen Eisinger <jochen@chromium.org> 2012-10-03 Jochen Eisinger <jochen@chromium.org>
Make sure that user gestures can't be consumed twice Make sure that user gestures can't be consumed twice
......
...@@ -1327,13 +1327,6 @@ css3/filters/custom/filter-repaint-custom-clipped.html ...@@ -1327,13 +1327,6 @@ css3/filters/custom/filter-repaint-custom-clipped.html
css3/filters/custom/filter-repaint-custom-rotated.html css3/filters/custom/filter-repaint-custom-rotated.html
css3/filters/custom/filter-repaint-custom.html css3/filters/custom/filter-repaint-custom.html
# ERROR: TestRunner::overridePreference() does not support the 'WebKitDisplayImagesKey' preference
# http://trac.webkit.org/changeset/129462
fast/loader/display-image-unset-allows-cached-image-load.html
fast/loader/display-image-unset-can-block-image-and-can-reload-in-place.html
fast/loader/images-enabled-unset-can-block-image-and-can-reload-in-place.html
http/tests/misc/favicon-loads-with-images-disabled.html
# ReferenceError: Can't find variable: MediaKeyError # ReferenceError: Can't find variable: MediaKeyError
# http://trac.webkit.org/changeset/114067 # http://trac.webkit.org/changeset/114067
fast/events/constructors/media-key-event-constructor.html fast/events/constructors/media-key-event-constructor.html
......
2012-10-03 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
[Qt][DRT] Add support for overriding the "WebKitDisplayImagesKey" preference.
https://bugs.webkit.org/show_bug.cgi?id=98200
Reviewed by Csaba Osztrogonác.
* DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunner::overridePreference):
2012-10-03 Zoltan Arvai <zarvai@inf.u-szeged.hu> 2012-10-03 Zoltan Arvai <zarvai@inf.u-szeged.hu>
[Qt][WRT] Fix build error with MSVC on Windows. [Qt][WRT] Fix build error with MSVC on Windows.
......
...@@ -677,6 +677,8 @@ void TestRunner::overridePreference(const QString& name, const QVariant& value) ...@@ -677,6 +677,8 @@ void TestRunner::overridePreference(const QString& name, const QVariant& value)
settings->setAttribute(QWebSettings::HyperlinkAuditingEnabled, value.toBool()); settings->setAttribute(QWebSettings::HyperlinkAuditingEnabled, value.toBool());
else if (name == "WebKitAcceleratedCompositingEnabled") else if (name == "WebKitAcceleratedCompositingEnabled")
settings->setAttribute(QWebSettings::AcceleratedCompositingEnabled, value.toBool()); settings->setAttribute(QWebSettings::AcceleratedCompositingEnabled, value.toBool());
else if (name == "WebKitDisplayImagesKey")
settings->setAttribute(QWebSettings::AutoLoadImages, value.toBool());
else else
printf("ERROR: TestRunner::overridePreference() does not support the '%s' preference\n", printf("ERROR: TestRunner::overridePreference() does not support the '%s' preference\n",
name.toLatin1().data()); name.toLatin1().data());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment