Commit Graph

17 Commits

Author SHA1 Message Date
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
ziyunfei
b34ca240df Bug 1076588 - Object.freeze() should return its argument with no conversion when the argument is a primitive value. r=till, r=Yoric 2014-10-03 02:42:00 -04:00
Nathan Froyd
d6ed55758e Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
David Rajchenbach-Teller
24fcd57abd Bug 1008944 - Expose AsyncShutdown barriers for OS.File. r=froydnj 2014-06-17 15:11:00 -04:00
Marina Samuel
5752de7744 Bug 995310 - Only create metro folder in metro environment. r=Yoric 2014-05-30 09:45:41 -04:00
Marco Castelluccio
c8bfdc8364 Bug 987101 - Switch the CrashMonitor to native OS.File.read(). r=Yoric 2014-03-25 13:58:00 +01:00
Marina Samuel
620163aee8 Bug 872206 - Part 1 - Create a separate CrashMonitor file for Metro. r=dteller. 2014-02-12 12:59:11 -05:00
Emerson Veenstra
035509b726 Bug 967086 - Move toolkit/components/crashmonitor/nsCrashMonitor.js from EXTRA_PP_COMPONENTS to EXTRA_COMPONENTS. r=ttaubert 2014-02-08 20:56:38 -05:00
Steven MacLeod
29c4fc85fd Bug 959130 - Stop using OS.File for startup read in CrashMonitor.jsm. r=ttaubert 2014-02-03 15:14:16 +01:00
Michael Brennan
821f4e8b7f Bug 888373: Simple API for detecting startup/shutdown crashes - tests;r=yoric,gps 2013-08-20 22:46:38 +02:00
Michael Brennan
14cf08d9e0 Bug 888373: Simple API for detecting startup/shutdown crashes;r=yoric,gps 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen
6c92e4685d Backed out changesets 4117364f58fb and cb99aff2574e (bug 888373) for xpcshell failures. 2013-12-02 13:11:44 -05:00
Michael Brennan
7206a7caa7 Bug 888373 - Tests for startup/shutdown crash detection API. r=yoric, r=gps 2013-08-20 22:46:38 +02:00
Michael Brennan
f65bd5e29e Bug 888373 - Simple API for detecting startup/shutdown crashes. r=yoric 2013-11-15 16:46:44 +01:00