Bug 1035570 (part 1) - DMD: Rename TraceRecord as Record. r=erahm.

DMD used to have "stack trace records" and "stack frame records". Bug 1013011
removed the latter, and now "stack trace record" and |TraceRecord| are a bit
unwieldy. This patch changes them to "heap block record" and |Record|.

--HG--
extra : rebase_source : 1d674db9866221f6a170d0eb05aa77fc9f4a1924
Bug 1035570 (part 2) - DMD: make output easier for machines to parse. r=erahm.

There are likely to be post-processing scripts for DMD added in the future. In
anticipation, this patch tweaks DMD's output to be a little more conducive to
machine parsing.

The basic idea is this:

- Lines beginning with '#' are comments and can be ignored, as can blank lines.

- All top level blocks consist of a string ending with '{', and then one or
  more indented lines, and then a closing '}' on its own line. Any multi-line
  things within a block are themselves enclosed in braces.

The diff for memory/replace/dmd/test-expected.dmd shows what this looks like in
practice.

It's a long way from a formal grammar or anything like that, but that would be
overkill. In this form it's quite easy to parse with simple scripts that just
do line-based regexp matching, rather than proper parsing. And it's still very
readable to humans, so I think it's a reasonable balance overall.

--HG--
extra : rebase_source : 64085babd79de3cce13295aa5f16a34dc3ad7697
Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.

The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.

--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
Bug 1037936 - Part 1: Replace nsCxPusher in nsXBLBinding::ChangeDocument. r=bholley
Bug 1037936 - Part 2: Replace second nsCxPusher in nsWindowWatcher::OpenWindowInternal. r=bholley
Bug 1037936 - Part 3: Replace nsCxPusher in nsWindowWatcher::OpenWindowInternal. r=bholley
Test for bug 1044198
Bug 1044198: convert margins from the frame's writing mode to the line's writing mode in nsBidiPresUtils::RepositionInlineFrames, r=jfkthame.
Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup
Bug 1015932 - Add systemservices subdir to content/media. r=jesup

--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence
Backed out changeset 6289b18d2127 (bug 1015932)
Backed out changeset 10f8441b42a1 (bug 1015932)
Backed out changeset e9b23c66ef10 (bug 1015932)

--HG--
rename : content/media/systemservices/LoadManager.cpp => content/media/webrtc/LoadManager.cpp
rename : content/media/systemservices/LoadManager.h => content/media/webrtc/LoadManager.h
rename : content/media/systemservices/LoadManagerFactory.cpp => content/media/webrtc/LoadManagerFactory.cpp
rename : content/media/systemservices/LoadManagerFactory.h => content/media/webrtc/LoadManagerFactory.h
rename : content/media/systemservices/LoadMonitor.cpp => content/media/webrtc/LoadMonitor.cpp
rename : content/media/systemservices/LoadMonitor.h => content/media/webrtc/LoadMonitor.h
Backed out changeset 4058c55db564 (bug 1015932) for bustage on a CLOSED TREE
Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury

We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.

In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.

By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
Bug 1043898: Remove MNot's operand() and use input() instead; r=nbp
Bug 1043898: Remove num() methods and use input() instead, remove MComputeThis' overriding input(); r=nbp