Bug 811919. Include the pattern transform when painting patterns in DrawTargetCG. r=benwa

This fixes a lot of azure content bugs.

--HG--
extra : rebase_source : be84084aa7753862920ddd7b04fbfb0bd0b54ded
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
Bug 798033 - Removes 'using namespace' from js headers - r=billm
Bug 798033 - adapt dom/camera code to not relying on headers to do using namespace - r=mhabicher
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow

--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openLocationLastURL.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openLocationLastURL.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_popupblocker.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_popupblocker.js
rename : browser/components/privatebrowsing/test/browser/perwindow/popup.html => browser/components/privatebrowsing/test/browser/global/popup.html
extra : rebase_source : cddca78450149e80131208f76b4cebd96b7526a1
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow

--HG--
extra : rebase_source : 2a4f44b98000d52301053c685e50f81e251e7e8c
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
New invalidation logic takes care of this automatically.

--HG--
extra : rebase_source : f598635e58390ef868a057e8ea8ab0cf2410b8a9
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow

--HG--
extra : rebase_source : 957eb0d5f45cd756fc121135ff6d8dff483c8bf4
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow

--HG--
extra : rebase_source : 1e92e771f1da6c666eac5928a5dbe672384f3c38
Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow

--HG--
extra : rebase_source : f1253ac9aeff0384dcbcc319c88744713d3b22a3
Bug 810470. Part 7: Simplify TryOptimizeToImageLayer/IsSingleFixedPositionImage now that colors are not involved. r=mattwoodrow

--HG--
extra : rebase_source : fcad2b21f6fdc966b28ea35bff2769459c2797fd
Bug 810793 - nsXULTemplateQueryProcessorXML::GetDatasource should pass outer window to nsIXMLHttpRequest::Init, r=sicking
Bug 800947, check the existence of widget only when the event is actually nsGUIEvent, r=bz
Bug 810435 - Convert unicode to str to work around Python 2.7.2 bug; r=jhammel

DONTBUILD (NPOTB)
Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger
Bug 811931 - Bump Marionette version, a=test-only, DONTBUILD(NPOTB)
Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.

--HG--
extra : rebase_source : 314cd040d3041b050f9eb1a0c39dfce3c4d6d0e6
Bug 806700 - Port browser_privatebrowsing_urlbarfocus.js to the new per-window PB APIs; r=ehsan

--HG--
rename : browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_urlbarfocus.js => browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_urlbarfocus.js
Merge mozilla-central into mozilla-inbound
Bug 115199 - CSS2 @page rule rendering support. r=roc