Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt

From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall

From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
 sdcard and lock sdcard while in use
---
 b2g/components/DirectoryProvider.js       |  154 ++++++++++++++++++++++++++---
 b2g/components/UpdatePrompt.js            |   16 ++-
 toolkit/mozapps/update/nsUpdateService.js |  124 ++++++++++++++++++++++-
 3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong

From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
 file. Prefer sdcard for download
---
 toolkit/mozapps/update/updater/updater.cpp |   53 +++++++++++++++++++++++++---
 toolkit/xre/nsUpdateDriver.cpp             |   13 +++++--
 2 files changed, 60 insertions(+), 6 deletions(-)
Bug 785124 - Pt 4 - Whitespace only change. Change "type &var" to "type& var" and ptrs. r=dougt
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
Bug 826023 - Only send the permission-prompt mozChromeEvent if the requesting frame is visible r=vingtetun a=bb+
Bug 826023 - Expose a getVisible method on mozbrowser iframes r=jlebar a=bb+
Bug 826948 - preloaded external packaged app requires hard-to-determine package_path property [r=myk]
Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir

--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
Merge mozilla-central to mozilla-inbound
Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
Bug 825499: Add caretPositionFromPoint to Document.webidl. [r=Ms2ger]

--HG--
rename : content/base/test/test_bug654352.html => content/base/test/test_caretPositionFromPoint.html
Bug 806736 - Port test_privbrowsing.html to the new per-tab PB APIs. r=ehsan

--HG--
rename : toolkit/components/passwordmgr/test/test_privbrowsing.html => toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html
Bug 823884: Make call uninlineable when aborting during inlining, r=nbp
Bug 797493 - Fix assertion involving throwing from a Debugger onPop handler when a generator frame yields. r=jimb.
Bug 820180 - Isolate JS pseudorandom number generator state per compartment. r=luke.
bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3
Merge mozilla-central to mozilla-inbound
Backout 33b1a42588c2 (bug 827268) for xpcshell failures on a CLOSED TREE
Bug 827356 - make DOMWINDOW debugging messages use consistent addresses; r=bz