Enable some MathML reftests on Windows and EFL ports.
https://bugs.webkit.org/show_bug.cgi?id=118916

Patch by Frédéric Wang <fred.wang@free.fr> on 2013-07-23
Reviewed by Chris Fleizach.

* platform/efl/TestExpectations: do not skip over.html
* platform/win/TestExpectations: enable most of the non-pixel tests

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Mock GDK_IS_X11_DISPLAY macro can be redefined unnecessarily
https://bugs.webkit.org/show_bug.cgi?id=118980

Reviewed by Martin Robinson.

* platform/gtk/GtkVersioning.h: Only define the GDK_IS_X11_DISPLAY macro when using the GTK+ 2 API version
as that's the only supported configuration where the macro is not defined. Definining it only if it's not
yet defined at the time of inclusion of this header can cause redefinitions in GTK+ headers that are normally
included later.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Unreviewed gardening. Added needed baselines for GTK+.

* platform/gtk/fast/block/lineboxcontain/block-with-ideographs-expected.txt: Added.
* platform/gtk/fast/css-generated-content/details-summary-before-after-expected.txt: Added.
* platform/gtk/fast/css3-text/css3-text-decoration/text-decoration-line-scaled-expected.txt: Added.
* platform/gtk/fast/regions/region-dynamic-after-before-expected.txt: Added.
* platform/gtk/fast/regions/region-generated-content-before-after-expected.txt: Added.
* platform/gtk/fast/text/text-combine-different-fonts-expected.txt: Added.
* platform/gtk/svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Unreviewed gardening. Skip failing test.
https://bugs.webkit.org/show_bug.cgi?id=119006

Unreviewed GTK gardening.

Patch by Simon Pena <simon.pena@samsung.com> on 2013-07-23

* platform/gtk/TestExpectations: mathml/presentation/fenced-mi.html fails
after being converted to ref test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Unreviewed gardening. New baselines after r152941.
https://bugs.webkit.org/show_bug.cgi?id=119005

Unreviewed GTK gardening.

GTK's DumpRenderTree prints CONFIRM instead of CONFIRM NAVIGATION, so we need
platform-specific expectations.

Patch by Simon Pena <simon.pena@samsung.com> on 2013-07-23

* platform/gtk/fast/loader/show-only-one-beforeunload-dialog-expected.txt: Added.
* platform/gtk/http/tests/misc/iframe-beforeunload-dialog-matching-ancestor-securityorigin-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the style of the ContentDispositionType enum definition
https://bugs.webkit.org/show_bug.cgi?id=118990

Reviewed by Darin Adler.

* platform/network/HTTPParsers.h: Align the style of the ContentDispositionType enumeration
definition with the other enumeration definitions in the HTTPParsers header, using the
'enum Name { ... }' style instead of a typedef.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary includes in FormDataBuilder.cpp
https://bugs.webkit.org/show_bug.cgi?id=118991

Reviewed by Darin Adler.

* platform/network/FormDataBuilder.cpp: Remove the Frame and FrameLoader header inclusions,
nothing these two headers provide is used in this source file.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused DrawingBuffer::paintRenderingResultsToImageData
https://bugs.webkit.org/show_bug.cgi?id=118986

Reviewed by Darin Adler.

Remove the paintRenderingResultsToImageData method of the DrawingBuffer class. It is not used anywhere
and also introduces a nasty layering violation by including and operating with the ImageData class.

* platform/graphics/gpu/DrawingBuffer.cpp:
* platform/graphics/gpu/DrawingBuffer.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the topDocumentURL member of the GraphicsContext3D::Attributes struct
https://bugs.webkit.org/show_bug.cgi?id=118987

Reviewed by Darin Adler.

Remove the topDocumentURL member that currently resides in the GraphicsContext3D::Attributes struct.
It's not used anywhere and only has one place where it is set, in WebGLRenderingContext::create.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::create):
* platform/graphics/GraphicsContext3D.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary header inclusions in GraphicsContext3D.cpp, GraphicsContext3DOpenGLCommon.cpp
https://bugs.webkit.org/show_bug.cgi?id=118989

Reviewed by Darin Adler.

* platform/graphics/GraphicsContext3D.cpp: Remove the unnecessary DrawingBuffer header inclusion.
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: Remove the unnecessary
CanvasRenderingContext and WebGLObject header inclusions.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebSocket initialization to use remote inspector
https://bugs.webkit.org/show_bug.cgi?id=118678

Patch by Roland Takacs <rtakacs@inf.u-szeged.hu> on 2013-07-23
Reviewed by Timothy Hatcher.

Add WebSocket initialization and define a 'connect-src' directive in the
Content-Security-Policy HTTP header to enable the connection.

* UserInterface/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend):
* UserInterface/Main.html:
* UserInterface/Main.js:
(WebInspector.loaded):
(WebInspector._initializeWebSocketIfNeeded.createSocket.WebInspector):
(WebInspector._initializeWebSocketIfNeeded.createSocket):
(WebInspector._initializeWebSocketIfNeeded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Soup] Remove unnecessary header inclusions in ResourceHandleSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=118983

Reviewed by Martin Robinson.

Remove inclusions of the CachedResourceLoader, ChromeClient, Frame and Page headers. These are not
necessary (anymore) and only prevent the source file to be built independently of WebCore, as it should be.

* platform/network/soup/ResourceHandleSoup.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Soup] Clean up header inclusions in ResourceRequest(Soup), SocketStreamHandle
https://bugs.webkit.org/show_bug.cgi?id=118984

Reviewed by Darin Adler.

Execute a minor cleanup of the header inclusions in Soup-specific ResourceRequestSoup.cpp, ResourceRequest.h
and SocketStreamHandle.h source files. The inclusions are sorted into proper order, with blank lines and unnecessary
reinclusions removed.

* platform/network/soup/ResourceRequest.h:
* platform/network/soup/ResourceRequestSoup.cpp:
* platform/network/soup/SocketStreamHandle.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Unreviewed gardening. Added needed baselines after r104133.

* platform/gtk/perf/nested-combined-selectors-expected.txt: Added.

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