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
Перейти к файлу
Jan Henning d739025ac9 Bug 1190627 - Part 3 - If an error occurs parsing the regular session store data file on startup, attempt to read the tabs from the backup copy instead. r=sebastian
Since a SessionRestoreException also happens if we deliberately skipped all tabs (because they didn't contain anything interesting apart from about:home) or the session file was valid but didn't contain any tabs (because the user cleared history), we need to ensure that we don't switch to the backup copy in that case.

To that extent, we extend the SessionParser's parse function to return whether any JSON exceptions occured while parsing the session file, which would signify a corrupt session file.

MozReview-Commit-ID: Kdh5d69irqF

--HG--
extra : rebase_source : 1eac3223c9c285fa327e084aa5e0ada566c539c9
2016-05-29 15:46:20 +02:00
accessible Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
addon-sdk Bug 1288440 P4 Test that sdk/window/events does not leak existing windows. r=gabor 2016-07-22 06:26:49 -07:00
b2g Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
browser Bug 1294649 - Ensure 'Play DRM Content' is unchecked by default on Linux. r=gerald 2016-08-16 16:12:55 +12:00
build Bug 1291944 - Verify makensis binary is 32-bits; r=glandium 2016-08-15 18:11:48 -07:00
caps Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
chrome Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
config merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
db/sqlite3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
devtools Bug 1269102 - Part 6: Remove the Services import from HAR: Remove Services redeclaration. r=clipbboard-test-fix 2016-08-16 17:39:39 +02:00
docshell Back out 26a015091dbc (bug 1293212) for OS X failures in /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.html 2016-08-15 19:42:54 -07:00
dom Bug 1295415 - Fix two uninitialized members in MediaEngineWebRTC. r=jesup 2016-08-15 23:06:50 -04:00
editor Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
embedding Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz 2016-07-28 09:20:41 +02:00
extensions Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
gfx Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
gradle/wrapper Bug 1263390 - Use Gradle 2.10 and Android Gradle plugin 2.0. r=mcomella 2016-04-19 20:01:38 +02:00
hal Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00
image Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
intl Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
ipc Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
js Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
layout Bug 1295258 - Updating the existing reftests from CSSWG r=dbaron 2016-08-15 15:09:39 -07:00
media Bug 1295666 - Build byteorder as a separate crate. r=kinetik 2016-08-16 11:06:46 -07:00
memory Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
mfbt Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
mobile Bug 1190627 - Part 3 - If an error occurs parsing the regular session store data file on startup, attempt to read the tabs from the backup copy instead. r=sebastian 2016-05-29 15:46:20 +02:00
modules Remove fallback to WARP, but keep the force pref for testing. (bug 1294343, r=jrmuizel) 2016-08-13 12:18:50 -07:00
mozglue Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r=aklotz 2016-08-12 10:45:37 +02:00
netwerk Bug 1292450 - Check mPrivateBrowsingId is correct in LoadInfo and LoadContext. r=smaug, ehsan 2016-08-15 19:03:24 +08:00
nsprpub Bug 1257250 - pr_getnameforidentity bounds check and locking r=ted.mielczarek 2016-03-15 17:44:17 -04:00
other-licenses Bug 1288199: Add building of typelib to be embedded in ia2marshal.dll; r=mshal 2016-08-04 15:17:51 -06:00
parser Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
probes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
python Bug 1294475 - Remove disabling of 8dot3 filenames; r=glandium 2016-08-16 10:04:20 -07:00
rdf Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
release/docker Bug 1294040 - Funsize should accept downloads from https://archive.mozilla.org r=philor a=automation DONTBUILD 2016-08-10 09:44:36 -04:00
security Bug 1115718 - Check for empty issuer name in mozilla::pkix; r=keeler 2016-07-28 20:36:18 -05:00
services Bug 1295410 - ensure we don't pass string objects for GUIDs to PlacesSyncUtils. r=kitcambridge 2016-08-16 13:05:50 +10:00
startupcache Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
storage Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
taskcluster Bug 1048650 - TaskCluster task for Sphinx documentation generation; r=dustin 2016-08-15 22:33:34 -07:00
testing Bug 1295492 - Add support for --binary argument to Marionette mach command. r=maja_zf 2016-08-16 09:30:15 +02:00
toolkit Bug 1294649 - Don't show EME plugins in the plugin list that are disabled. r=spohl 2016-08-16 16:15:45 +12:00
tools NO BUG - Reconcile eslint Sphinx docs index with reality 2016-08-16 16:37:51 -07:00
uriloader Back out 26a015091dbc (bug 1293212) for OS X failures in /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.html 2016-08-15 19:42:54 -07:00
view Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
widget Bug 1293957 part.3 TSFTextStore::GetTextExt() shouldn't query text rect with 0 length r=m_kato 2016-08-11 11:31:16 +09:00
xpcom Bug 1287626 - Add globally unique nsIXULAppinfo.uniqueProcessID r=billm 2016-08-10 16:07:40 -07:00
xpfe Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs 2016-08-13 21:58:42 -04:00
.eslintrc Bug 1245916: Unify eslint global discovery rules. r=pbrosset 2016-02-05 11:37:50 -08:00
.flake8 Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf 2016-06-29 10:37:27 -04:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgtags No bug - Tagging mozilla-central 465d150bc8be5bbf9f02a8607d4552b6a5e1697c with FIREFOX_AURORA_50_BASE a=release DONTBUILD CLOSED TREE 2016-08-01 07:05:25 -07:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml Bug 1293733: accept pushdate from command line; r=garndt 2016-07-13 18:50:50 +00:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS
Android.mk
CLOBBER Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen 2016-08-05 13:23:44 -04:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1275111 - Move artifact download/install into its own tier; r=glandium 2016-06-01 13:48:53 -04:00
README.txt
aclocal.m4 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
build.gradle Bug 1268453 - Use Android Gradle plugin 2.1. r=mcomella 2016-04-29 14:48:43 +02:00
client.mk Bug 1292069 - Remove the cleansrcdir target. r=gps 2016-08-04 17:34:05 +09:00
client.py
configure.in Bug 1250294 - Make configure a Python script that invokes the old configure.sh. r=ted 2016-02-25 07:22:33 +09:00
configure.py Bug 1293234 - Use octal notation for permission modes in the build system; r=gps 2016-08-08 13:45:17 +02:00
gradle.properties
gradlew
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Bug 1291944 - Verify makensis binary is 32-bits; r=glandium 2016-08-15 18:11:48 -07:00
mozilla-config.h.in
old-configure.in Bug 1292463 - Move MOZ_C{,XX}_SUPPORTS_WARNING to python configure. r=chmanchester 2016-08-10 10:50:01 +09:00
settings.gradle Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella 2016-02-17 19:25:54 -08:00
test.mozbuild

README.txt

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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/