Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Johann Hofmann de6eaee5b4 Bug 1554167 - Remove pending shutdown sanitization immediately after shutdown sanitization finishes. r=mak,baku
In https://hg.mozilla.org/mozilla-central/rev/25397a6f8c4f#l1.35 we added an early return to
the SanitizeOnShutdown function to avoid cleaning principals by permission if the user had
set their preferences to clear all storage on shutdown anyway. This unfortunately ended
the function execution before it would call `removePendingSanitization("shutdown");` later on
and thus remove the pending shutdown sanitization (which, in fact, had completed successfully earlier).

The result is that the shutdown sanitization would be left dangling and run again on next startup,
where, for reasons I don't fully understand, it would race and conflict with loading the home page,
if that home page was from web content.

The solution is to remove the pending shutdown sanitization immediately after the sanitization is done.

As far as I can see there was never really a point in having it happen after session principal
cleanup finished, since in case of a crash it would not run the principal cleanup again next startup,
just the shutdown cleanup.

For good measure I also moved the new tab container sanitization to happen earlier in this function,
to prevent it from dangling as well.

Differential Revision: https://phabricator.services.mozilla.com/D33087

--HG--
extra : moz-landing-system : lando
2019-05-30 15:39:39 +00:00
.cargo Bug 1547682: Bump Cranelift to cc216b46b35a797d03c0f3e8b16a2096f1c6db61; r=lth 2019-04-30 14:22:41 +02:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1543307: For out-of-process iframes on Windows, return the embedded document as a child of the OuterDocAccessible. r=eeejay 2019-05-23 19:54:37 +00:00
browser Bug 1554167 - Remove pending shutdown sanitization immediately after shutdown sanitization finishes. r=mak,baku 2019-05-30 15:39:39 +00:00
build Bug 1554928 - Remove configure options that have been deprecated for a while. r=nalexander 2019-05-29 02:01:02 +00:00
caps Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
chrome Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
config Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
devtools Bug 1042642 - Do not pass the threadClient to EnvironmentClient during instantiation in tests; r=jdescottes 2019-05-30 09:02:03 +00:00
docshell Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod 2019-05-29 11:31:31 +00:00
dom Bug 1555564 - Part 3: Make sure local storage manager caches the partitioned origins separately from each other; r=baku 2019-05-30 12:09:42 +00:00
editor Bug 1555640 - Check if aPointAfterInsertedString is nullptr when WSRunObject::InsertText() sets its value r=m_kato 2019-05-30 10:32:44 +00:00
extensions Backed out 2 changesets (bug 1554527, bug 1553867) as requested by Sylvestre for causing huge perf regressions. a=backout 2019-05-29 09:57:29 +03:00
gfx Bug 1554193 - Move support for the AAT 'trak' table from platform-specific MacFontEntry/gfxMacFont into the generic gfxFontEntry/gfxFont classes. r=jrmuizel 2019-05-30 10:28:44 +00:00
gradle/wrapper
hal Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
image Merge inbound to mozilla-central. a=merge 2019-05-29 00:48:04 +03:00
intl Bug 1554998 - Fix the handling of numeric characters by word-break:break-all. r=masayuki 2019-05-29 12:05:20 +00:00
ipc Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-30 06:50:22 +03:00
js Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-30 06:50:22 +03:00
layout Bug 1554755 - Don't set nsIFrame::mMayHaveRoundedCorners to false when there are non-zero percent borders, as we don't track all sizes that are passed to this function. r=mattwoodrow 2019-05-30 00:10:55 +00:00
media Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-30 06:50:22 +03:00
memory Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj 2019-05-29 22:49:42 +00:00
mfbt Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
mobile Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan 2019-05-29 15:55:03 +00:00
modules Backed out 5 changesets (bug 1551798) for failures on test_rawSameSite.js. CLOSED TREE 2019-05-30 10:17:01 +03:00
mozglue Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
netwerk No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-05-30 13:07:37 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell 2019-04-30 15:25:48 +00:00
parser Bug 1549560 - Move HTMLDocument.open/close/write/writeln to Document; r=farre 2019-05-27 23:03:03 +00:00
python Bug 1549561 - Migrate strings from pipnss.properties to aboutCertError.ftl. r=flod CLOSED TREE 2019-05-30 09:43:23 +03:00
remote bug 1554638: remote: fix link to Slack instance; r=me a=doc 2019-05-27 12:23:26 +01:00
security No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-05-30 13:07:37 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-05-30 13:07:37 +00:00
servo Bug 1493420 - followup: Bump max allowed stack size of RuleNode. irc-r=heycam 2019-05-30 02:27:59 +02:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00
taskcluster Bug 1549889: Add support for displaying WNP conditionally on build-id; r=nthomas 2019-05-29 23:47:07 +00:00
testing Bug 1554681 Re-record youtube.com to reflect Polymer update Desktop r=perftest-reviewers,Bebe 2019-05-30 13:06:00 +00:00
third_party Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00
toolkit Backed out changeset 46cfc6e018ba (bug 1553855) for assertion failures on LazyIdleThread.cpp. 2019-05-30 09:30:43 +03:00
tools Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
uriloader Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
view Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
widget Bug 1555653 Fix asserts in WindowBackBufferShm; r=stransky 2019-05-30 11:33:29 +00:00
xpcom Bug 1554380 - Fix some issues in mozilla::ReadAhead. r=aklotz 2019-05-29 10:13:28 +00:00
xpfe/appshell Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1538560 - disable cron job to run mochitest valgrind tasks because they permafail r=gbrown 2019-04-01 15:08:44 +00:00
.eslintignore Bug 1554224 - Enable some ESLint rules for more of layout/. r=dholbert 2019-05-29 10:50:49 +00:00
.eslintrc.js Bug 1554224 - Enable some ESLint rules for more of layout/. r=dholbert 2019-05-29 10:50:49 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1552011 - Ignore newtab component build artifacts r=Mardak,Standard8 2019-05-17 16:45:30 +00:00
.hg-annotate-ignore-revs Bug 1554625 - Add more commits to the hg ignore list r=marco 2019-05-28 15:32:37 +00:00
.hg-format-source
.hgignore Bug 1552011 - Ignore newtab component build artifacts r=Mardak,Standard8 2019-05-17 16:45:30 +00:00
.hgtags No bug - Tagging mozilla-central 97dae745c1b3ef2292127ba1c4e90b1345c8f576 with FIREFOX_NIGHTLY_68_END a=release DONTBUILD CLOSED TREE 2019-05-20 13:18:38 +00:00
.lldbinit
.mailmap
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1547724 - send cron failure notifications to sheriffs / ciduty r=aryx 2019-05-16 15:37:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4
AUTHORS
build.gradle Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler 2019-05-10 16:40:17 +00:00
Cargo.lock Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js 2019-05-27 12:00:21 +03:00
Cargo.toml Bug 1547682: Bump Cranelift to cc216b46b35a797d03c0f3e8b16a2096f1c6db61; r=lth 2019-04-30 14:22:41 +02:00
client.mk
client.py
CLOBBER Bug 1551084 - Part 2. Make QCMS transform files use C++. r=miko 2019-05-27 15:43:59 -04:00
configure.in
configure.py Bug 1547730 - Add six to path when running configure. r=glandium 2019-05-28 14:23:35 +00:00
GNUmakefile
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
LEGAL
LICENSE
mach
Makefile.in Bug 1542746 - use a static MOZ_PROFILE_ORDER_FILE; r=nalexander,chmanchester 2019-05-24 01:54:59 +00:00
moz.build Backed out changeset 8d14aa373383 (bug 1522113) for Bugzilla lint failures CLOSED TREE 2019-05-18 01:23:13 +03:00
moz.configure Bug 1543323 - On Android, only build gtest tests archive on x86_64 builds; r=glandium 2019-04-12 00:17:45 +00:00
mozilla-config.h.in
old-configure.in bug 1555110 - Backed out changeset a187487af38a to disable cert_storage on non-nightly builds r=jcj,froydnj 2019-05-29 00:11:53 +00:00
package-lock.json Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast 2019-05-17 15:50:29 +00:00
package.json Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast 2019-05-17 15:50:29 +00:00
README.txt
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.