gecko/parser/htmlparser/tests/mochitest
Jim Blandy 4d6a633bba 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
..
dir_bug534293 Bug 939271 - Part h: move mochitests to manifests in parser/htmlparser; r=hsivonen 2013-11-28 15:03:18 +01:00
html5lib_tree_construction Bug 664104 - Part 4: Downstream ruby tests in html5lib-tests. r=wchen 2014-06-20 17:08:32 -07:00
bug_502091_iframe.html
file_bug102699.sjs
file_bug534293-slow.sjs
file_bug534293.sjs
file_bug543062.sjs
file_bug568470-script.sjs
file_bug568470.sjs
file_bug594730-1.html
file_bug594730-2.html
file_bug594730-3.html
file_bug594730-4.html
file_bug594730-5.html
file_bug594730-6.html
file_bug594730-7.html
file_bug594730-8.html
file_bug594730-9.html
file_bug642908.sjs
file_bug655682.sjs
file_bug672453_bomless_utf16.html
file_bug672453_http_unsupported.html
file_bug672453_http_unsupported.html^headers^
file_bug672453_late_meta.html
file_bug672453_meta_non_superset.html
file_bug672453_meta_restart.html
file_bug672453_meta_unsupported.html
file_bug672453_meta_userdefined.html Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu. 2014-01-02 09:18:19 +02:00
file_bug672453_meta_utf16.html
file_bug672453_not_declared.html
file_bug688580.js Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
file_bug716579-8.html
file_bug716579-8.html^headers^
file_bug716579-8.xhtml
file_bug716579-8.xhtml^headers^
file_bug716579-16.html
file_bug716579-16.html^headers^
file_bug716579-16.xhtml
file_bug716579-16.xhtml^headers^
file_bug717180.html
html5_tree_construction_exceptions.js Bug 937259 - Remove <command> element from the parser. r=hsivonen 2013-11-13 15:17:13 -08:00
iframe_bug599584.html
invalidchar.xml
mochitest.ini Bug 664104 - Part 4: Downstream ruby tests in html5lib-tests. r=wchen 2014-06-20 17:08:32 -07:00
parser_datreader.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
parser_web_testrunner.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_bug102699.html
test_bug174351.html
test_bug213517.html Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu. 2014-01-02 09:18:19 +02:00
test_bug339350.xhtml
test_bug358797.html
test_bug396568.html
test_bug418464.html Bug 547963 - Uncomment assertion in test_bug418464.html. r=hsivonen 2013-08-23 11:07:10 -04:00
test_bug460437.xhtml Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
test_bug502091.html
test_bug534293.html
test_bug543062.html
test_bug552938-2.html
test_bug552938.html
test_bug563322.xhtml
test_bug566879.html
test_bug568470.html
test_bug594730.html
test_bug599584.html
test_bug613662.html
test_bug613662.xhtml Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
test_bug639362.html
test_bug642908.html
test_bug645115.html
test_bug655682.html
test_bug667533.html
test_bug672453.html Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu. 2014-01-02 09:18:19 +02:00
test_bug688580.html Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
test_bug688580.xhtml Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
test_bug709083.html
test_bug715112.html
test_bug715739.html
test_bug716579.html
test_bug717180.html
test_compatmode.html
test_html5_tree_construction_part2.html Bug 664104 - Part 4: Downstream ruby tests in html5lib-tests. r=wchen 2014-06-20 17:08:32 -07:00
test_html5_tree_construction.html Bug 884795 - HTML parser AAA algorithm should only pop when the current node is not in the list of active formatting elements. r=hsivonen 2014-03-07 15:48:19 -08:00
test_viewsource.html Bug 624883 - Tests for ensuring that view-source is forbidden in iframes. r=bz 2014-01-23 16:02:10 +00:00
test_xml_mislabeled.html Bug 860180 - Regression tests. r=hsivonen 2013-04-16 21:19:30 +09:00