WebFrameTest.DisambiguationPopup is failing
https://bugs.webkit.org/show_bug.cgi?id=108160

Patch by Dan Alcantara <dfalcantara@chromium.org> on 2013-01-31
Reviewed by Adam Barth.

Fix the unit test so that it is using the right HTML file.

* tests/WebFrameTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix: Remove Web Intents files from
the Qt build system.

* Target.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[canvas] Implement currentPath to get and set the current path of the context
https://bugs.webkit.org/show_bug.cgi?id=108246

Patch by Dirk Schulze <krit@webkit.org> on 2013-01-31
Reviewed by Dean Jackson.

Source/WebCore:

Add currentPath attribute to CanvasRenderingContext2d interface. This allows
setting the current context path by an existing Path object as well as getting
the current context path as new Path object. The returned and the set Paths
are not live.

This feature is behind the CANVAS_PATH compiler flag which is disabled by
default for now.

Test: fast/canvas/canvas-currentPath.html

* html/canvas/CanvasPathMethods.cpp: Rename transformIsInvertible to
    isTransformInvertible for harmonizing naming schema.
(WebCore::CanvasPathMethods::moveTo): Ditto.
(WebCore::CanvasPathMethods::lineTo): Ditto.
(WebCore::CanvasPathMethods::quadraticCurveTo): Ditto.
(WebCore::CanvasPathMethods::bezierCurveTo): Ditto.
(WebCore::CanvasPathMethods::arcTo): Ditto.
(WebCore::CanvasPathMethods::arc): Ditto.
(WebCore::CanvasPathMethods::rect): Ditto.
* html/canvas/CanvasPathMethods.h: Ditto.
(CanvasPathMethods):
(WebCore::CanvasPathMethods::isTransformInvertible):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore):
(WebCore::CanvasRenderingContext2D::currentPath): Getter for currentPath.
(WebCore::CanvasRenderingContext2D::setCurrentPath): Setter for currentPath.
* html/canvas/CanvasRenderingContext2D.h:
(WebCore):
(CanvasRenderingContext2D):
(WebCore::CanvasRenderingContext2D::isTransformInvertible):
* html/canvas/CanvasRenderingContext2D.idl: Add currentPath attribute.
* html/canvas/DOMPath.h: Add new constructor and getter for Path object.
(WebCore::DOMPath::create): New static function for new ctor.
(DOMPath):
(WebCore::DOMPath::path): Getter for Path object.
(WebCore::DOMPath::DOMPath):

LayoutTests:

Added tests for canvas.currentPath in various combinations of the context state.

* fast/canvas/canvas-currentPath-expected.txt: Added.
* fast/canvas/canvas-currentPath.html: Added.
* fast/canvas/script-tests/canvas-currentPath.js: Added.
(testPointCollection):
* platform/chromium/TestExpectations: Skip test until enabling CANVAS_PATH.
* platform/efl/TestExpectations: Ditto.
* platform/gtk/TestExpectations: Ditto.
* platform/mac/TestExpectations: Ditto.
* platform/qt/TestExpectations: Ditto.

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