[EFL] fast/loader/stateobjects/replacestate-in-iframe.html can be unskipped
https://bugs.webkit.org/show_bug.cgi?id=86586

Unreviewed EFL gardening. Unskip
fast/loader/stateobjects/replacestate-in-iframe.html since the
infinite loop bug has been fixed in r81232.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, unskip a fixed test
https://bugs.webkit.org/show_bug.cgi?id=84434

* platform/qt-5.0-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] xhr request to non existent file response is 0 and not 404.
https://bugs.webkit.org/show_bug.cgi?id=86344

Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-05-16
Reviewed by George Staikos.

Source/WebCore:

NetworkJob receives 404 for a XMLHttpRequest which calls open("HEAD", "notExist.html", true).
There are no data received because its method is HEAD.
This case should not be treated as a failure.

Add shouldNotifyClientFailed() to treat XMLHttpRequest as a special case.
XMLHttpRequest will fail when status code is smaller than zero.

If we use "GET" and receive 404 without body, NetworkJob won't go through failing code path, too.
So add http/tests/xmlhttprequest/xmlhttprequest-check-get-readystate-for-404-without-body.html
to check this case.

Test: http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html
      http/tests/xmlhttprequest/xmlhttprequest-check-get-readystate-for-404-without-body.html
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::sendResponseIfNeeded):

LayoutTests:

* http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed test expectations update

Adding further suppressions for flaky tests on cr-linux ews.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WTR] Visited link tracking is not disabled properly
https://bugs.webkit.org/show_bug.cgi?id=76699

Reviewed by Jocelyn Turcotte.

Source/WebKit2:

If PLATFORM_STRATEGIES is enabled visited link tracking is done through
VisitedLinkProvider and not through PageGroup.
InjectedBundle sets the shouldTrackVisitedLinks flag on the PageGroup,
thus the shared VisitedLinkTable does get populated with visited links
regardless of the flag.

The WebProcess should only track visited links if tracking is specifically
enabled for a test through WTR's LayoutTestController.

This patch fixes several flacky and failing layout tests on Qt-WK2.

* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setShouldTrackVisitedLinks): Let the WebProcess
know about visited link tracking.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::setShouldTrackVisitedLinks):
(WebKit::WebProcess::addVisitedLink):
* WebProcess/WebProcess.h:
(WebProcess):

LayoutTests:

* platform/qt-5.0-wk2/Skipped: Unskip passing tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ShadowRoot.selection should return the seleciton whose range is in a shadow tree.
https://bugs.webkit.org/show_bug.cgi?id=82698

Reviewed by Ryosuke Niwa.

Source/WebCore:

The selection object returned from shadowRoot.selection should be able to see
the inner object of the shadowRoot.

In the previous code, the node out of the shadow subtree was returned for
anchorNode, focusNode, baseNode, and extentNode. This patch enables us to get
the corresponding shadow ancestor in the specified TreeScope (m_treeScope).

Tests: editing/shadow/selection-of-orphan-shadowroot.html
       editing/shadow/selection-of-shadowroot.html

* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::selection):
* dom/ShadowRoot.h:
(ShadowRoot):
* dom/TreeScope.cpp:
(WebCore::TreeScope::getSelection): When shadow DOM feature is not enabled, we want to use the same
instance of DOMSelection among Document and ShadowRoot.
* dom/TreeScopeAdjuster.cpp:
(WebCore::TreeScopeAdjuster::TreeScopeAdjuster):
(WebCore::TreeScopeAdjuster::ancestorInThisScope): Since node could be null, I've added a node check code.
* dom/TreeScopeAdjuster.h:
(TreeScopeAdjuster):
(WebCore::TreeScopeAdjuster::treeScope):
* page/DOMSelection.cpp:
(WebCore::DOMSelection::anchorNode):
(WebCore::DOMSelection::anchorOffset):
(WebCore::DOMSelection::focusNode):
(WebCore::DOMSelection::focusOffset):
(WebCore::DOMSelection::baseNode):
(WebCore::DOMSelection::baseOffset):
(WebCore::DOMSelection::extentNode):
(WebCore::DOMSelection::extentOffset):
(WebCore::DOMSelection::shadowAdjustedNode): Gets the corresponding node in the m_treeScope from the Position.
(WebCore):
(WebCore::DOMSelection::shadowAdjustedOffset): Gets the corresponding node offset in the m_treeScope from the Position.
* page/DOMSelection.h:
(WebCore):
(DOMSelection):

LayoutTests:

This patch contains 2 tests:
- Generates a complex HTML tree having a ShadowRoot, an older ShadowRoot, a nested ShadowRoot,
nested ShadowRoot in an older ShadowRoot, etc., and try to drag from a nested shadow root of
older shadow root to a nested shadow root of younger shadow root. Then checks nodes of Shadowroot.selection
are in the same tree scope or null.
- Generates a ShadowDOM which is not inserted into a document, and confirms nodes taken from
the selection are all null.

Also, this patch deprecates old shadowRoot.selection tests, because they test to check
window.getSelection() and shadowRoot.selection is the same. This behavior is changed by this patch.

* editing/shadow/selection-of-orphan-shadowroot-expected.txt: Added.
* editing/shadow/selection-of-orphan-shadowroot.html: Added.
* editing/shadow/selection-of-shadowroot-expected.txt: Added.
* editing/shadow/selection-of-shadowroot.html: Added.
* fast/dom/resources/event-sender-util.js:
(mouseMoveToElem):
(dragFromTo):
* fast/dom/shadow/resources/shadow-dom-util.js: Added.
(getElementByIdConsideringShadowDOM.iter):
(getElementByIdConsideringShadowDOM):
* fast/dom/shadow/selection-in-shadow.html: Removed.
* platform/chromium-mac-snowleopard/fast/dom/shadow/selection-in-shadow-expected.txt: Removed.
* platform/chromium/fast/dom/shadow/selection-in-shadow-expected.txt: Removed.
* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening after r117123 and r117225.

* platform/gtk/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Speech JavaScript API: pass WebSecurityOrigin to embedder
https://bugs.webkit.org/show_bug.cgi?id=86348

Reviewed by Adam Barth.

Pass the WebSecurityOrigin of the SpeecReco object to the embedder when calling
start(). The origin will be used to determine whether speech recognition is
allowed or not.

* public/WebSpeechRecognitionParams.h:
(WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
(WebKit::WebSpeechRecognitionParams::origin):
(WebSpeechRecognitionParams):
* src/SpeechRecognitionClientProxy.cpp:
(WebKit::SpeechRecognitionClientProxy::start):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Add myself as a committer.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] http/tests/misc/iframe-reparenting-id-collision.html can be unskipped
https://bugs.webkit.org/show_bug.cgi?id=86588

Unreviewed EFL gardening. Unskip
http/tests/misc/iframe-reparenting-id-collision.html which is passing
now that Bug 64085 is closed.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Move WebFrameNetworkingContext to WebKit namespace.
https://bugs.webkit.org/show_bug.cgi?id=86590

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-05-16
Reviewed by Simon Hausmann.

* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp:
(WebKit::WebFrameNetworkingContext::WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::create):
* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h:
(WebKit):
(WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::originatingObject):
(WebKit::WebFrameNetworkingContext::~WebFrameNetworkingContext):
(WebKit::WebFrameNetworkingContext::networkAccessManager):
(WebKit::WebFrameNetworkingContext::mimeSniffingEnabled):
(WebKit::WebFrameNetworkingContext::thirdPartyCookiePolicyPermission):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] EFL's LayoutTestController  evaluateScriptInIsolatedWorld implementation
https://bugs.webkit.org/show_bug.cgi?id=83776

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-16
Reviewed by Tor Arne Vestbø.

Source/WebKit/efl:

Added helper new function implementing JS script evaluation in an isolated world.
Worlds are cached by their id.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

Added missing implementation of LayoutTestController::evaluateScriptInIsolatedWorld().

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::evaluateScriptInIsolatedWorld):

LayoutTests:

Unskipped corresponding testcases.

* platform/efl/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] A few tests need expected result or rebaselining
https://bugs.webkit.org/show_bug.cgi?id=86595

Unreviewed EFL gardening. Add expected results for a few tests and
unskip them.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16

* platform/efl/Skipped:
* platform/efl/fast/forms/input-text-double-click-expected.png: Added.
* platform/efl/fast/forms/input-text-double-click-expected.txt:
* platform/efl/http/tests/misc/slow-loading-mask-expected.png: Added.
* platform/efl/http/tests/misc/slow-loading-mask-expected.txt: Added.
* platform/efl/media/video-frame-accurate-seek-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] WebTransformationMatrixTest.verifyDefaultConstructorCreatesIdentityMatrix is failing
https://bugs.webkit.org/show_bug.cgi?id=86589

Reviewed by Kent Tamura.

Source/Platform:

* chromium/public/WebTransformationMatrix.h: Added destructor.
(WebTransformationMatrix):

Source/WebCore:

Need to call m_private.reset(0) before destructing WebTransformationMatrix objects.

No new tests. WebTransformationMatrixTest should pass on debug build.

* platform/chromium/support/WebTransformationMatrix.cpp:
(WebKit::WebTransformationMatrix::~WebTransformationMatrix):
(WebKit):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] EFL's LayoutTestController does not implement setApplicationCacheOriginQuota
https://bugs.webkit.org/show_bug.cgi?id=85585

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16
Reviewed by Gustavo Noronha Silva.

Source/WebKit/efl:

Add new function to Ewk_Security_Origin to set the application cache
quota. Implement reachedApplicationCacheOriginQuota in
ChromeClientEfl. Add function to the Ewk_View to report that the
application cache quota was reached.

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
* ewk/ewk_security_origin.cpp:
(ewk_security_origin_application_cache_quota_set):
* ewk/ewk_security_origin.h:
* ewk/ewk_view.cpp:
(_Ewk_View_Private_Data):
(ewk_view_exceeded_application_cache_quota):
* ewk/ewk_view.h:
* ewk/ewk_view_private.h:

Tools:

Implement setApplicationCacheOriginQuota in EFL's
LayoutTestController.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onExceededApplicationCacheQuota):
(drtViewAdd):
* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setApplicationCacheOriginQuota):

LayoutTests:

Unskip the test cases that require implementation of
setApplicationCacheOriginQuota in EFL's LayoutTestController.

* platform/efl/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Enable SVG Fonts by default
https://bugs.webkit.org/show_bug.cgi?id=86463

Reviewed by Nikolas Zimmermann.

Source/WebCore:

Another feature we can get for free after switching to using
the font fast path with QRawFont.
It will get disabled in features.prf if either SVG support is
disabled or if we are not using QRawFont (e.g. for Qt 4).

Covered by a series of tests that were skipped for the
Qt port up until now.

* platform/graphics/qt/FontPlatformData.h:
(WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate):
Initialize the platform data used as fallback in conjunction with SVG
fonts so it will honor size, weight and oblique-ness.
* rendering/svg/SVGTextMetricsBuilder.cpp: Avoid forcing the complex path.
(WebCore::SVGTextMetricsBuilder::advance):
(WebCore::SVGTextMetricsBuilder::advanceSimpleText):
(WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer):
* svg/SVGFontElement.cpp:
(WebCore::SVGFontElement::ensureGlyphCache): avoid ambiguity with String(const QString&)

Tools:

* qmake/mkspecs/features/features.pri:

LayoutTests:

* platform/qt-4.8/Skipped: Skipped the relevant tests...
* platform/qt/Skipped: ... and unskipped them here.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening: updating expectations after r117259
https://bugs.webkit.org/show_bug.cgi?id=86463

* platform/qt/http/tests/misc/SVGFont-delayed-load-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/struct-image-02-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/struct-image-02-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-align-08-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-align-08-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-fonts-03-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-fonts-03-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-intro-01-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-intro-02-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-intro-03-b-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-intro-04-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-text-04-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-text-05-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-text-05-t-expected.txt:
* platform/qt/svg/W3C-SVG-1.1/text-text-06-t-expected.png:
* platform/qt/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
* platform/qt/svg/custom/acid3-test-77-expected.txt: Added.
* platform/qt/svg/custom/altglyph-expected.png:
* platform/qt/svg/custom/altglyph-expected.txt:
* platform/qt/svg/custom/font-face-simple-expected.png:
* platform/qt/svg/custom/font-face-simple-expected.txt:
* platform/qt/svg/custom/global-constructors-expected.txt: Added.
* platform/qt/svg/custom/glyph-selection-lang-attribute-expected.png:
* platform/qt/svg/custom/glyph-selection-lang-attribute-expected.txt:
* platform/qt/svg/custom/glyph-setting-d-attribute-expected.png:
* platform/qt/svg/custom/glyph-setting-d-attribute-expected.txt: Added.
* platform/qt/svg/custom/insertItemBefore-from-non-list-origin-expected.txt: Added.
* platform/qt/svg/custom/missing-xlink-expected.png: Added.
* platform/qt/svg/custom/missing-xlink-expected.txt: Added.
* platform/qt/svg/custom/path-bad-data-expected.png: Added.
* platform/qt/svg/custom/path-bad-data-expected.txt: Added.
* platform/qt/svg/custom/stroke-width-click-expected.txt: Added.
* platform/qt/svg/custom/svg-fonts-with-no-element-reference-expected.png:
* platform/qt/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
* platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.png:
* platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
* platform/qt/svg/custom/svg-fonts-word-spacing-expected.png: Added.
* platform/qt/svg/custom/svg-fonts-word-spacing-expected.txt: Added.
* platform/qt/svg/custom/visibility-override-filter-expected.png: Copied from LayoutTests/platform/qt/svg/custom/glyph-setting-d-attribute-expected.png.
* platform/qt/svg/custom/visibility-override-filter-expected.txt: Added.
* platform/qt/svg/dom/altGlyph-dom-expected.txt:
* platform/qt/svg/dom/baseVal-animVal-crash-expected.txt: Added.
* platform/qt/svg/dom/font-face-elements-expected.txt: Added.
* platform/qt/svg/text/kerning-expected.png:
* platform/qt/svg/text/kerning-expected.txt:
* platform/qt/svg/text/multichar-glyph-expected.png:
* platform/qt/svg/text/multichar-glyph-expected.txt:
* platform/qt/svg/text/text-altglyph-01-b-expected.png:
* platform/qt/svg/text/text-altglyph-01-b-expected.txt:
* platform/qt/svg/text/text-fonts-01-t-expected.png: Added.
* platform/qt/svg/text/text-fonts-01-t-expected.txt: Added.
* platform/qt/svg/text/text-hkern-expected.png:
* platform/qt/svg/text/text-hkern-expected.txt:
* platform/qt/svg/text/text-hkern-on-vertical-text-expected.png:
* platform/qt/svg/text/text-intro-05-t-expected.png: Added.
* platform/qt/svg/text/text-intro-05-t-expected.txt: Added.
* platform/qt/svg/text/text-text-04-t-expected.png:
* platform/qt/svg/text/text-text-04-t-expected.txt:
* platform/qt/svg/text/text-text-05-t-expected.png:
* platform/qt/svg/text/text-text-05-t-expected.txt:
* platform/qt/svg/text/text-text-06-t-expected.png:
* platform/qt/svg/text/text-text-06-t-expected.txt:
* platform/qt/svg/text/text-tselect-02-f-expected.png: Added.
* platform/qt/svg/text/text-tselect-02-f-expected.txt: Added.
* platform/qt/svg/text/text-vkern-expected.png:
* platform/qt/svg/text/text-vkern-expected.txt:
* platform/qt/svg/text/text-vkern-on-horizontal-text-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Cookies should be checked during parsing to improve performance.
https://bugs.webkit.org/show_bug.cgi?id=85028

Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-05-16
Reviewed by George Staikos.

We shouldn't waste time and memery on invalid cookies. It is better to drop them during parsing.
We shouldn't check the default domain since it is set with host. So we only check domains which are parsed
from response headers.

No new tests. No functionality change.

* platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::setCookies):
* platform/blackberry/CookieManager.h:
* platform/blackberry/CookieParser.cpp:
(WebCore::CookieParser::parseOneCookie):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Gardening. Skip failing test after 117246.
https://bugs.webkit.org/show_bug.cgi?id=86606

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-16
Reviewed by Csaba Osztrongonác.

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add WebKit API to access inner text value of input element
https://bugs.webkit.org/show_bug.cgi?id=85353

Reviewed by Kent Tamura.

.:

* Source/autotools/symbols.filter: Added HTMLInputElement::setEditingValue

Source/WebCore:

Test: fast/forms/editing-value.html

We need this to implement the datalist UI for  <input type=email multiple>.
HTMLInputElement.value gives you the sanitized value so the whitespace between values are trimmed.
We need to append the selected suggestion to the end without modifying the rest of the text.

* WebCore.exp.in: Added HTMLInputElement::setEditingValue
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setEditingValue):
(WebCore):
* html/HTMLInputElement.h:
(HTMLInputElement):
* testing/Internals.cpp:
(WebCore::Internals::setEditingValue):
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

Source/WebKit/chromium:

* public/WebInputElement.h:
(WebInputElement):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::editingValue):
(WebKit):
(WebKit::WebInputElement::setEditingValue):

Source/WebKit2:

* win/WebKit2.def: Added HTMLInputElement::setEditingValue
* win/WebKit2CFLite.def: Added HTMLInputElement::setEditingValue

LayoutTests:

* fast/forms/editing-value-expected.txt: Added.
* fast/forms/editing-value.html: Added. Tests that setting the editing value takes care of the style and placeholder, and that it fires an input event.


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