[Qt] Unskip and rebase now passing tests.

* platform/qt/TestExpectations:
* platform/qt/compositing/overflow/clip-descendents-expected.txt: Added.
* platform/qt/css1/formatting_model/floating_elements-expected.png:
* platform/qt/css1/formatting_model/floating_elements-expected.txt:
* platform/qt/editing/selection/caret-ltr-2-expected.png:
* platform/qt/editing/selection/caret-ltr-2-expected.txt:
* platform/qt/editing/selection/caret-ltr-2-left-expected.png:
* platform/qt/editing/selection/caret-ltr-2-left-expected.txt:
* platform/qt/editing/selection/caret-ltr-expected.png:
* platform/qt/editing/selection/caret-ltr-expected.txt:
* platform/qt/editing/selection/caret-ltr-right-expected.png:
* platform/qt/editing/selection/caret-ltr-right-expected.txt:
* platform/qt/editing/selection/caret-rtl-2-left-expected.png:
* platform/qt/editing/selection/caret-rtl-2-left-expected.txt:
* platform/qt/editing/selection/caret-rtl-right-expected.png:
* platform/qt/editing/selection/caret-rtl-right-expected.txt:
* platform/qt/fast/backgrounds/size/zero-expected.png: Added.
* platform/qt/fast/backgrounds/size/zero-expected.txt:
* platform/qt/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/qt/fast/block/basic/fieldset-stretch-to-legend-expected.txt:
* platform/qt/fast/forms/basic-buttons-expected.png:
* platform/qt/fast/forms/basic-buttons-expected.txt:
* platform/qt/fast/multicol/overflow-across-columns-expected.png: Added.
* platform/qt/fast/multicol/overflow-across-columns-expected.txt: Added.
* platform/qt/fast/multicol/overflow-unsplittable-expected.png: Added.
* platform/qt/fast/multicol/overflow-unsplittable-expected.txt: Added.
* platform/qt/fast/multicol/positive-leading-expected.png: Added.
* platform/qt/fast/multicol/positive-leading-expected.txt: Added.
* platform/qt/fast/multicol/shadow-breaking-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
* platform/qt/fast/overflow/003-expected.png:
* platform/qt/fast/overflow/003-expected.txt:
* platform/qt/fast/regions/overflow-size-change-with-stacking-context-expected.txt: Added.
* platform/qt/fast/replaced/table-percent-height-expected.txt:
* platform/qt/fast/text/line-initial-and-final-swashes-expected.txt: Added.
* platform/qt/fonts/cursive-expected.png: Added.
* platform/qt/fonts/cursive-expected.txt: Added.
* platform/qt/fonts/default-expected.png: Added.
* platform/qt/fonts/default-expected.txt: Added.
* platform/qt/fonts/fantasy-expected.png: Added.
* platform/qt/fonts/fantasy-expected.txt: Added.
* platform/qt/fonts/monospace-expected.png: Added.
* platform/qt/fonts/monospace-expected.txt: Added.
* platform/qt/fonts/sans-serif-expected.png: Added.
* platform/qt/fonts/sans-serif-expected.txt: Added.
* platform/qt/fonts/serif-expected.png: Added.
* platform/qt/fonts/serif-expected.txt: Added.
* platform/qt/printing/page-count-relayout-shrink-expected.txt: Added.
* platform/qt/printing/return-from-printing-mode-expected.png: Added.
* platform/qt/printing/return-from-printing-mode-expected.txt: Added.
* platform/qt/printing/setPrinting-expected.png: Added.
* platform/qt/printing/setPrinting-expected.txt: Added.
* platform/qt/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
* platform/qt/svg/custom/clip-mask-negative-scale-expected.png: Added.
* platform/qt/tables/mozilla/bugs/bug10296-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug10296-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12384-expected.png: Added.
* platform/qt/tables/mozilla/bugs/bug12384-expected.txt:
* platform/qt/tables/mozilla/bugs/bug99948-expected.png: Added.
* platform/qt/tables/mozilla/bugs/bug99948-expected.txt:
* platform/qt/tables/mozilla/marvin/colgroup_width_pct-expected.png: Added.
* platform/qt/tables/mozilla/marvin/colgroup_width_pct-expected.txt:
* platform/qt/tables/mozilla/marvin/table_overflow_hidden_td-expected.png: Added.
* platform/qt/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt:
* platform/qt/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
* platform/qt/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.png: Added.
* platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Uploading images to Google+ using QtWebKit does not work.
https://bugs.webkit.org/show_bug.cgi?id=72329

Reviewed by Jocelyn Turcotte.

Source/WebCore:

Implement handling of Blob FormData, including its extensions to the File FormData.

* platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::FormDataIODevice::FormDataIODevice):
(WebCore::appendBlobResolved):
(WebCore::FormDataIODevice::prepareFormElements):
(WebCore::FormDataIODevice::computeSize):
(WebCore::FormDataIODevice::moveToNextElement):
(WebCore::FormDataIODevice::prepareCurrentElement):
(WebCore::FormDataIODevice::openFileForCurrentElement):
(WebCore::FormDataIODevice::readData):
(WebCore::QNetworkReplyHandler::sendNetworkRequest):
* platform/network/qt/QNetworkReplyHandler.h:
(FormDataIODevice):

LayoutTests:

Unskip the two BLOB tests that now passes. The rest of the BLOB tests unfortunately depend
on features we do not have.

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline some svg/text tests.

Some pixel tests now have the red rectangle drawn around some
areas like other ports.

While here, also add an expectation for selection-tripleclick.svg,
which seems to be passing now.

* platform/efl/TestExpectations:
* platform/efl/svg/text/foreignObject-text-clipping-bug-expected.png:
* platform/efl/svg/text/selection-tripleclick-expected.png: Added.
* platform/efl/svg/text/selection-tripleclick-expected.txt: Added.
* platform/efl/svg/text/text-align-01-b-expected.png:
* platform/efl/svg/text/text-align-02-b-expected.png:
* platform/efl/svg/text/text-align-03-b-expected.png:
* platform/efl/svg/text/text-align-04-b-expected.png:
* platform/efl/svg/text/text-align-05-b-expected.png:
* platform/efl/svg/text/text-align-06-b-expected.png:
* platform/efl/svg/text/text-altglyph-01-b-expected.png:
* platform/efl/svg/text/text-deco-01-b-expected.png:
* platform/efl/svg/text/text-fonts-01-t-expected.png:
* platform/efl/svg/text/text-fonts-02-t-expected.png:
* platform/efl/svg/text/text-intro-05-t-expected.png:
* platform/efl/svg/text/text-path-01-b-expected.png:
* platform/efl/svg/text/text-spacing-01-b-expected.png:
* platform/efl/svg/text/text-text-01-b-expected.png:
* platform/efl/svg/text/text-text-03-b-expected.png:
* platform/efl/svg/text/text-text-04-t-expected.png:
* platform/efl/svg/text/text-text-05-t-expected.png:
* platform/efl/svg/text/text-text-06-t-expected.png:
* platform/efl/svg/text/text-text-07-t-expected.png:
* platform/efl/svg/text/text-text-08-b-expected.png:
* platform/efl/svg/text/text-tref-01-b-expected.png:
* platform/efl/svg/text/text-tselect-01-b-expected.png:
* platform/efl/svg/text/text-tselect-02-f-expected.png:
* platform/efl/svg/text/text-tspan-01-b-expected.png:
* platform/efl/svg/text/text-ws-01-t-expected.png:
* platform/efl/svg/text/text-ws-02-t-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Add support for running JavaScript from GResources
https://bugs.webkit.org/show_bug.cgi?id=98488

Patch by Simon Pena <spena@igalia.com> on 2012-10-09
Reviewed by Carlos Garcia Campos.

GResources allow embedding certain resources, frequently used, in a "bundle"
which can be kept separated or stored in the binary. This patch adds
support for running JavaScript from GResources.

.:

* configure.ac: Add support for compiling GResources

Source/WebKit2:

For this, methods run_javascript_from_gresource and
run_javascript_from_gresource_finish are added, which load the resource
asynchronously and, when it is ready, run the JavaScript.

* UIProcess/API/gtk/WebKitWebView.cpp: Include the new methods.
(resourcesStreamReadCallback):
(webkit_web_view_run_javascript_from_gresource):
(webkit_web_view_run_javascript_from_gresource_finish):
* UIProcess/API/gtk/WebKitWebView.h:
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Include the new
methods in the documentation.
* UIProcess/API/gtk/tests/GNUmakefile.am: Add the test resources to the
build infrastructure.
* UIProcess/API/gtk/tests/TestMain.cpp: Register the resources in the tests,
so that they can be accessed in all of them.
(register_gresource):
(main):
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp: Test the
run_javascript_from_gresource method.
(testWebViewRunJavaScript):
* UIProcess/API/gtk/tests/WebViewTest.cpp: Add a method for testing the
new run_javascript_from_gresource method.
(runJavaScriptFromGResourceReadyCallback):
(WebViewTest::runJavaScriptFromGResourceAndWaitUntilFinished):
* UIProcess/API/gtk/tests/WebViewTest.h:
* UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml: Added.
Resource bundle containing the resources.
* UIProcess/API/gtk/tests/resources/webkit2gtk-tests.test.js: Added.
Example JavaScript file to test the GResources support.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130755 268f45cc-cd09-0410-ab3c-d52691b4dbfc