Import W3C test suite for performance.now()
https://bugs.webkit.org/show_bug.cgi?id=98953

Reviewed by Tony Gentilcore.

* http/tests/w3c/webperf/approved/HighResolutionTime/basic-expected.txt: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/basic.html: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock-expected.txt: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock.html: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/resources/now_frame.html: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start-expected.txt: Added.
* http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start.html: Added.
* platform/chromium/TestExpectations: Skipped everywhere until we remove the prefix.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=98984
REGRESSION: Crash happens after we add non-top-level frame to the 
ScrollingStateTree

Reviewed by Simon Fraser.

isRootLayer() can return true for layers that do not correspond to 
the main frame. But we only want the ones that DO correspond to the 
main frame!
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r130972 and r130984.
http://trac.webkit.org/changeset/130972
http://trac.webkit.org/changeset/130984
https://bugs.webkit.org/show_bug.cgi?id=98986

Huge numbers of WK2 crashes (Requested by smfr on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-10

* Platform/CoreIPC/Connection.h:
(Connection):
* Platform/CoreIPC/MessageReceiverMap.cpp:
(CoreIPC::MessageReceiverMap::addMessageReceiver):
(CoreIPC::MessageReceiverMap::clearAllMessageReceivers):
(CoreIPC::MessageReceiverMap::knowsHowToHandleMessage):
(CoreIPC::MessageReceiverMap::dispatchMessage):
(CoreIPC::MessageReceiverMap::dispatchSyncMessage):
* Platform/CoreIPC/MessageReceiverMap.h:
(MessageReceiverMap):
* UIProcess/WebConnectionToWebProcess.h:
(WebConnectionToWebProcess):
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::knowsHowToHandleMessage):
(WebKit::WebContext::didReceiveMessage):
(WebKit::WebContext::didReceiveSyncMessage):
* UIProcess/WebContext.h:
(WebContext):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
(WebKit::WebProcessProxy::didReceiveSyncMessage):
* UIProcess/WebProcessProxy.h:
(WebProcessProxy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
compositing/tiling/crash-reparent-tiled-layer.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=82546

Reviewed by Beth Dakin.

Source/WebCore:

When calling layerTreeAsText() inside the document load event,
GraphicsLayerCA may have not flushed layers yet, so layer tree
properties that are affected by flushing (tiled layer, visible
rects) appeared flakey in tests.

Fix by forcing a flush before dumping the layer tree.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::layerTreeAsText):

LayoutTests:

Unskip a previously-flakey tiled layer test that should not be flakey after this change.

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
compositing/images/truncated-direct-png-image.html has been failing on Mac since it was
added. Mark it as an expected image failure.

* platform/mac/TestExpectations:

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