[Qt][WK1] New test css3/filters/null-effect-check.html added in r126927 fails
https://bugs.webkit.org/show_bug.cgi?id=95308

Reviewed by Simon Hausmann.

* css3/filters/null-effect-check.html: Modify this reftest not to be dumpAsText() test.
* platform/qt-5.0-wk1/Skipped: Unskip the now passing test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Use ASCIILiteral hotness for DEFINE_STATIC_LOCAL string
https://bugs.webkit.org/show_bug.cgi?id=95318

Reviewed by Benjamin Poulain.

As recommended by http://trac.webkit.org/wiki/EfficientStrings,
WebKit2 needs to use ASCIILiteral for the string of DEFINE_STATIC_LOCAL.

* Shared/WebError.cpp:
(WebKit::WebError::webKitErrorDomain):
* Shared/WebPreferencesStore.cpp:
(WebPreferencesKey):
* UIProcess/InspectorServer/WebInspectorServer.cpp:
(WebKit::WebInspectorServer::didReceiveWebSocketUpgradeHTTPRequest):
* UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
(WebKit::remoteInspectorPagePath):
* UIProcess/WebDatabaseManagerProxy.cpp:
(WebKit::WebDatabaseManagerProxy::originKey):
(WebKit::WebDatabaseManagerProxy::originQuotaKey):
(WebKit::WebDatabaseManagerProxy::originUsageKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsNameKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsDisplayNameKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::executeEditCommand):
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::didBeginEditing):
(WebKit::WebEditorClient::respondToChangedContents):
(WebKit::WebEditorClient::respondToChangedSelection):
(WebKit::WebEditorClient::didEndEditing):
* WebProcess/WebProcess.cpp:
(WebKit::getWebCoreMemoryCacheStatistics):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] setNeedsAnimate should not cause commitRequested to become true
https://bugs.webkit.org/show_bug.cgi?id=95393

Reviewed by James Robinson.

Source/WebCore:

We use the commitRequested state to determine if the page has been damaged, which
then is used by the input flow control logic to coalesce input events. However, we
actually have two notions of commitRequested. At the CCLayerTreeHost level, commit
being requested means "we've changed the tree in some way." At the proxy level, it
means "we've sent a commit request to the impl thread." Without this patch,
we use the latter state to answer ::commitRequested. That causes setNeedsAnimate
to incorrectly cause the commitRequested bit to be set.

This change separates the setNeedsCommit state from commitRequestSentToImplThread.
This allows us to correctly answer commitRequested in face of mixed animation and
invalidation requests.

* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::setNeedsAnimate):
(WebCore::CCThreadProxy::setNeedsCommit):
(WebCore::CCThreadProxy::beginFrame):
* platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested):
(CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested::CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
security/crypto-random-values-limits.html test the exact value that causes us to throw
https://bugs.webkit.org/show_bug.cgi?id=95403

Reviewed by Eric Seidel.

As requested by Darin Adler, this patch makes us test the exact length
threshold at which we start throwing an exception. This value is
defined in the spec, and we want to make sure we hit it exactly.

* security/crypto-random-values-limits-expected.txt:
* security/crypto-random-values-limits.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebPImageDecoder progressive decodes fail to decode valid images
https://bugs.webkit.org/show_bug.cgi?id=74062

Reviewed by Adam Barth.

Add test for a partial image load, and a test for a complete image load with a
pause to cause a progressive/incremental webp image decode.

* fast/images/resources/large.webp: Added.
* http/tests/images/webp-partial-load-expected.txt: Added.
* http/tests/images/webp-partial-load.html: Added.
* http/tests/images/webp-progressive-load-expected.txt: Added.
* http/tests/images/webp-progressive-load.html: Added.
* platform/chromium-linux/http/tests/images/webp-partial-load-expected.png: Added.
Result differs because the linux DRT network layers returns partial encoded image
data from the cache layer in multiples of 2048 bytes until all data is received.
* platform/chromium/http/tests/images/webp-partial-load-expected.png: Added.
* platform/chromium/http/tests/images/webp-progressive-load-expected.png: Added.
* platform/efl/TestExpectations: This port does not support webp images.
* platform/gtk/TestExpectations: ditto.
* platform/mac/Skipped: ditto.
* platform/qt/Skipped: ditto.
* platform/win/Skipped: ditto.
* platform/wincairo/Skipped: ditto.


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