Remove unused classes WebRender{Node, Layer}
https://bugs.webkit.org/show_bug.cgi?id=137628

Reviewed by Simon Fraser.

We no longer make use of the WebKit1-specific classes WebRenderNode and WebRenderLayer.
For completeness, there is a WebKit2 analogue of WebRenderLayer by the same name.

Source/WebKit:

* WebKit.xcodeproj/project.pbxproj:

Source/WebKit/mac:

* Configurations/WebKitLegacy.xcconfig: Remove file WebRenderNode.mm from the list
of excluded source files when building for iOS.
* WebKit.exp: Remove symbol for WebRenderLayer.
* WebKit.mac.exp: Remove symbol for WebRenderNode.
* WebView/WebRenderLayer.h: Removed.
* WebView/WebRenderLayer.mm: Removed.
* WebView/WebRenderNode.h: Removed.
* WebView/WebRenderNode.mm: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Dashboard metrics page should have EWS statistics
https://bugs.webkit.org/show_bug.cgi?id=137626

Reviewed by Ryosuke Niwa.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueue.js:
(BubbleQueue): Put shortName in the object, so that it's actually useful.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
(BubbleQueueServer): Re-ordered queues to match bubble order.
(BubbleQueueServer.prototype.jsonProcessingTimesURL): Added URL for the new handler.
(BubbleQueueServer.prototype.loadProcessingTimes): Load the data from webkit-queues.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
Added analysis for bubble queues.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsBubbleView.js: Added.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
(buildBubbleQueuesTable): Build the UI.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/metrics.html:
Added JS sources to load.

* QueueStatusServer/app.yaml: To update app version.

* QueueStatusServer/handlers/processingtimesjson.py: Added.

* QueueStatusServer/main.py: Added a handler for processing-times-json.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use is<>() / downcast<>() for Image subclasses
https://bugs.webkit.org/show_bug.cgi?id=137625

Reviewed by Andreas Kling.

Use is<>() / downcast<>() for Image subclasses.

Source/WebCore:

No new tests, no behavior change.

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::remoteSVGRootElement):
* loader/cache/CachedImage.cpp:
(WebCore::CachedImage::imageSizeForRenderer):
(WebCore::CachedImage::createImage):
* platform/graphics/BitmapImage.h:
* platform/graphics/Image.h:
* platform/mac/DragImageMac.mm:
(WebCore::createDragImageFromImage):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::embeddedContentBox):
* svg/graphics/SVGImage.h:

Source/WebKit2:

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::pluginSnapshotTimerFired):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
A small wording change for clarity.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsBubbleView.js:
(MetricsBubbleView.prototype._update):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Crash on facebook.com
https://bugs.webkit.org/show_bug.cgi?id=137562

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2014-10-10
Reviewed by Chris Dumez.

Crash occurs on the facebook.com when the webview is resized
after the <select> item is clicked but no item is chosen.
This crash is just caused by the reference of invalidated variable.
From the EwkView::closePopupMenu(), ewk_menu is just invalidated.
Therefore ewk_menu variable is not available anymore when on_popup_menu_hide()
on MiniBrowser is called.
As a result, just set ewk_menu to NULL in order to prevent crash condition.

* MiniBrowser/efl/main.c:
(on_popup_menu_hide):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] LayoutTestRelay should detect EOF and properly signal underlying DRT/WKTR
https://bugs.webkit.org/show_bug.cgi?id=137527

Reviewed by Simon Fraser.

NSFileHandle doesn't notify of EOF in its readability handler.
Use a dispatch_source_t and an event handler that is called when reading is possible.
In the handler block, do a run-of-the-mill read(2) from standard input and
detect EOF in the usual way by checking that zero bytes were read.

Once an EOF is received, the FIFOs are disconnected, the simulator app
is killed, and the relay exits with status 0.

* LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
(-[LTRelayController initWithDevice:productDir:appPath:identifierSuffix:dumpToolArguments:]):
(-[LTRelayController didDisconnect]):
(-[LTRelayController didConnect]):
(-[LTRelayController launchApp]):
Rename "dispatchSource" to "simulatorAppExitDispatchSource" to prevent any
confusion with this new dispatch source, called "standardInputDispatchSource".
(-[LTRelayController finish]): Added.
(-[LTRelayController readFileHandle:]): Deleted.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make these animation tests not timeout if hit testing fails.

* animations/animation-hit-test-transform.html:
* animations/animation-hit-test.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] LayoutTestRelay should ensure its DRT/WKTR dies when receiving kill/term signals
https://bugs.webkit.org/show_bug.cgi?id=137528

Reviewed by Simon Fraser.

Catch SIGINT and SIGTERM signals in the LayoutTestRelay
and SIGKILL the paired simulator app before exiting cleanly.

webkitpy only uses SIGKILL to kill processes which you cannot
catch. Send SIGTERM to the process and give it chance to do
its thing before sending SIGKILL. Sending a SIGKILL to an already
dead PID is safe.

* LayoutTestRelay/LayoutTestRelay/LTRelayController.h:
* LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
(-[LTRelayController finish]):
* LayoutTestRelay/LayoutTestRelay/main.m:
(receivedSignal):
(main):

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