gecko/content/canvas
L. David Baron fcf06897d6 Bug 995661 patch 3 - Add mochitest for canvas drawWindow. r=mattwoodrow
This test covers some basic cases, such as drawing the complete window
to a canvas of the same size, drawing a part of the window to a
different offset within the canvas, drawing parts of the window against
different backgrounds and against a transparent background, and doing
multiple such drawWindow calls on the same canvas.

It runs its tests both with an iframe (whose background is transparent)
and content in a new window (which has a white backdrop).

Bug 995721 will add further tests (in mochitest-chrome) that exercise
drawWindow from a toplevel chrome window, which exercises the
DRAWWINDOW_USE_WIDGET_LAYERS codepath, which these tests do not.

The final 4 tests in each set of 7 fail without patch 2 in this bug.
2014-04-14 11:12:00 -07:00
..
compiledtest Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
crashtests Bug 934939: Add crash test. r=roc 2013-11-20 23:27:38 -05:00
public Backout e401dfeab8b7 (bug 991572) for crashtest assertion. r=orange 2014-04-04 10:03:41 +01:00
src Bug 995661 patch 2 - Use OP_OVER rather than OP_SOURCE to handle canvas drawWindow calls that don't cover the canvas or (I believe) that contain transparency. r=mattwoodrow 2014-04-14 11:12:00 -07:00
test Bug 995661 patch 3 - Add mochitest for canvas drawWindow. r=mattwoodrow 2014-04-14 11:12:00 -07:00
moz.build