Bug 918806 - Add Promise to test_interfaces.html on all builds. r=bz

--HG--
extra : rebase_source : dc56e8959919796783698b15864c88a27e49dbfc
Merge m-c to inbound.
Bug 948583 - Make __proto__ in object literals use JSObject::setProto, rather than depending on Object.prototype.__proto__.  r=jorendorff, r=bholley, r=efaust

--HG--
extra : rebase_source : acd757234ac2838b8c1c9bec971b210499361019
Bug 948227 - Make the Object.prototype.__proto__ setter strongly warn against its use, for perf reasons (and suggest Object.create instead).  r=efaust

--HG--
extra : rebase_source : ef0159fc67ddaab4c46ccfc5a918a37a26d19f87
Bug 959218 - Avoid race condition when shutting down nsDeleteDir thread. r=mnovotny
Bug 965837 - Add bool support to mozilla::Atomic. r=froydnj
Backed out changeset f434624463d9 (bug 965837) for bustage.
Bug 965986: Correct typo in exception in Marionette Wait; r=mdas
Bug 965961 - Remove unused css selectors for windows versions. r=bz
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
Bug 924839 - Update our embedded ICU to 52.1, plus a very few local patches.  r=lots of people, see subsequent lines in this commit message for the original subcomponents (merged together for landing), and the original bug for the original patch divisions

Bug 924839 - Remove a patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10283 but also note the relevant code was removed completely upstream.  r=glandium
* * *
Bug 924839 - Remove another patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10290 for that.  r=gaston
* * *
Bug 924839 - Remove another patch already in ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10045 for more.  r=Norbert
* * *
Bug 924839 - Remove another patch already applied upstream.  See http://bugs.icu-project.org/trac/changeset/32937 for more.  r=gaston
* * *
Bug 924839 - Update the ICU update script to update to 52.1, *without* applying any of our local patches.  r=glandium
* * *
Bug 924839 - Make the ICU update script only do updating within intl/icu/source and nowhere else.  r=glandium
* * *
Bug 924839 - Implement the changes that would be made by |cd intl/; ./update-icu.sh http://source.icu-project.org/repos/icu/icu/tags/release-52-1/;|, run with the prior changesets' changes made (thus not applying any of our local patches).  These changes don't actually work without subsequent adjustments, but this provides a codebase upon which those adjustments can be made, for the purpose of generating local patches to be kept in intl/icu-patches/.  rs=the-usual-suspects
* * *
Bug 924839 - Update the bug 899722 local patch to make runConfigureICU not override CC/CXX on BSD systems.  r=gaston
* * *
Bug 924839 - Update the bug 724533 patch that makes ICU builds with MozillaBuild on Windows.  r=glandium
* * *
Bug 924839 - Import an upstream patch fixing the genrb tool to properly handle the -R (--omitCollationRules) option.  See http://bugs.icu-project.org/trac/ticket/10043 for the original bug report and a link to the ultimate upstream landing.  r=Norbert
* * *
Bug 924839 - Import the upstream fix for http://bugs.icu-project.org/trac/ticket/10486 so that ICU with -DU_USING_ICU_NAMESPACE=0 will compile on Windows.  r=Norbert
* * *
Bug 924839 - Adjust the update script to update ICU, then to apply all local patches (rather than skipping the second step).  Thus if the update script is properly run, now, the final result should be no changes at all to the tree.  NOT REVIEWED YET
* * *
Bug 924839 - Update jstests that depend on CLDR locale data to match CLDR 24.  r=Norbert

--HG--
extra : rebase_source : e993b6e4a507f92d1b1a24949185d00d1f6201f2
Bug 966132 - Console is replaceable in workers, r=bz
Bug 965634 - move nsString construction out of mozilla::dom::Register for a codesize win; r=bz
Bug 965982. r=bent
Bug 966344 - Use correct JNI call to invoke SurfaceTexture::updateTexImage() r=jchen
Bug 958836 - Add robocop test for Flash on Android r=mfinkle,mcomella
Bug 959499 - Use wifimanager for on-device mochitests. r=ahal
Bug 959973 - Add tests for using variables in external style sheets. r=heycam
Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa