gecko-dev/chrome/test/unit
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
..
data bug 848297, allow overrides of locales for packages, r=bsmedberg 2013-04-26 17:11:47 +02:00
head_crtestutils.js Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
test_abi.js Bug 568691 - Add an ABI chrome registration modifier so that platform-specific directories can be implemented directly in chrome.manifest. 2010-06-27 15:13:04 -04:00
test_bug292789.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug380398.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug397073.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug399707.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug401153.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug415367.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug519468.js Bug 557024: Mock out the locale service to make test reliable on non en-US systems. r=bsmedberg 2012-02-14 21:33:43 -05:00
test_bug564667.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug848297.js bug 848297, allow overrides of locales for packages, r=bsmedberg 2013-04-26 17:11:47 +02:00
test_crlf.js Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
test_data_protocol_registration.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
test_no_remote_registration.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
test_resolve_uris.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
xpcshell.ini Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -07:00