Bug 991111 - Middle clicks on tiles are not counted [r=adw]
Move the click listener to the xul window to correctly get the click event to filter for site-related clicks.

--HG--
extra : rebase_source : 3fd8b2c658a695fbc9aa79d09f461acaeef2078f
Bug 991210 - [new tab page] Tiles are sometimes arranged all in a single line (wrapping as appropriate, e.g. to two lines with 5 items and then 4 items), instead of 3x3 grid [r=adw]
Always Grid_init before "load", defer size calculation to "load", and only wait for links cache for site rendering. Clean up timers triggered from previous tests to avoid unexpected updates.

--HG--
extra : rebase_source : aba79dc12fd3660c50d8004197a6b2f5a23419cb
Bug 982215 - bookmarks toolbar shrinks when removing the bookmarks toolbar items, r=mikedeboer

--HG--
extra : rebase_source : 12b99d5e02b76f6fbe08c0efe7ec470b54aef1e9
Bug 971900 - onLocaleReady incorrectly elides onConfigurationChange call if urlBar doesn't exist. r=nalexander
Bug 996960 - Add new RTL languages to locales.nsi - Uyghur ug and Urdu ur. r=ehsan
Merge m-c to fx-team.
Bug 980742 - Update Shumway to version 0.8.271. r=till
Bug 993162 - Make default indent size 2 spaces. r=jwalker
Bug 901360 - Part1 Use Downloads.jsm for download notifications. r=wesj
Bug 901360 - Part2 Use Downloads.jsm for about:downloads. r=wesj
Bug 994024 - Add assertions in ShadowLayers.cpp. r=bjacob
Bug 994024 - Add assertions in ImageBridgeChild. r=bjacob
Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob
Bug 995143 - Add missing CanExposeDrawTarget in CairoTextureClientD3D9. r=mattwoodrow
Bug 990336 - Deduplicate the slots edge buffer normally; r=jonco
Bug 995661 patch 1 - Remove dead code resulting from removal of gfxPlatform::SupportsAzureContent().  r=mattwoodrow

This should have been removed in bug 985049.

The changes here can be understood as a simplification based on drawSurf
always being null.
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

This is needed to allow us to return to using partial-canvas invalidates
in the reftest harness, though only for the platforms that go through
this codepath.
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.
Bug 995721 patch 1 - Honor the translation on mShadowTarget in ClientLayerManager::MakeSnapshotIfRequired.  r=mattwoodrow

This switches from DrawTarget::CopySurface (which ignores the transform)
to DrawSurface (which honors the transform).
Bug 995721 patch 2 - Run drawWindow mochitests on a toplevel window.  r=mattwoodrow

Without patch 1, the final 4 of the set of 7 tests fail on Linux with
accelerated layers (whereas all the ones they were copied from, added in
bug 995661, pass, given the patches in that bug but not this one).  (I
don't need to enable skia-canvas to see the failures without patch 1.  I
thought that didn't match my earlier testing, but I probably just never
tested that combination.  This means the failures happen even without
CanvasRenderingContext2D::DrawWindow going through the codepath where it
creates a DrawTarget.)

--HG--
rename : content/canvas/test/test_drawWindow.html => content/canvas/test/chrome/test_drawWindow_widget_layers.html