gecko-dev/services
Shane Tomlinson f3248efb0d Fix the private browsing mode check in FxAccountsWebChannel.jsm (bug 1378766) r=eoger,markh
The private browsing mode check reached into the sendingContext's browser's docShell
for it's check, the Law of Demeter was shattered.

PrivateBrowsingUtils.jsm provides all the functionality needed for the check,
just call PrivateBrowsingUtils.isBrowserPrivate with the sendingContext's browser.

MozReview-Commit-ID: DRIU1fy94ml
***
Bug 1378766 - Remove the `sendingContext.browser` defined check

MozReview-Commit-ID: GWFFggOoItP

--HG--
extra : rebase_source : 1c99ee2ea2cceee185ba20ff54e6e67f86f10766
2017-07-20 10:35:47 +01:00
..
blocklists Bug 1345556 - adjust BUG_COMPONENT for services/blocklist/* files. r=leplatrem 2017-03-10 12:26:58 -05:00
common Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop 2017-07-11 22:49:55 +01:00
crypto Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
fxaccounts Fix the private browsing mode check in FxAccountsWebChannel.jsm (bug 1378766) r=eoger,markh 2017-07-20 10:35:47 +01:00
sync Bug 1382044 - Disable addon validation during some phases of TPS's test_addon_nonrestartless_xpi.js. r=markh 2017-07-18 19:56:50 -04:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
moz.build Bug 1361171 - Remove CloudSync. r=markh 2017-05-01 14:43:00 -07:00