Commit graph

10 commits

Author SHA1 Message Date
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Dave Townsend
265caf229e Bug 1229519: Fix crash manager to pass eslint checks. r=mak
--HG--
extra : commitid : 2Lm9e2zVu5g
extra : rebase_source : 3e1e564bfed49a13548af0f3bd0aa2cb72be64ed
extra : amend_source : dc45a48fe9f498f3c5476f45071eb6494018016e
2015-12-03 10:01:18 -08:00
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
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
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
Marco Castelluccio
c8bfdc8364 Bug 987101 - Switch the CrashMonitor to native OS.File.read(). r=Yoric 2014-03-25 13:58:00 +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
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