Commit Graph
20 Commits
Author SHA1 Message Date
Henri Sivonen 7e43b8015a Bug 886390 part 3 - Import html5lib tests for fragment parsing with a foreign context node. r=jgraham. 2014-10-27 11:48:11 +02:00
Jim Blandy 39dc0c6097 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
William Chen 884e71b64e Bug 936994 - Update html5lib-tests to latest version as of Oct 8, 2013. r=hsivonen 2013-11-10 22:02:21 -08:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Malini Das ebc2d6c40a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Henri Sivonen 332008ec71 Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Henri Sivonen 9293a7b6fd Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Henri Sivonen b55e809266 Bug 559023 part 2 - Import all the current tree builder tests from html5lib and adjust the test harness to support the new test features. r=jgriffin, a=test-only. 2010-09-08 11:36:01 +03:00
Henri Sivonen c9848a5307 Bug 559023 part 1 - Move html5lib tree builder tests to a directory of their own. r=jgriffin, a=test-only. 2010-09-01 14:41:12 +03:00
Jonathan Griffin 3b8701ab72 Bug 546635. Update html5 parser tests from html5lib sources. r=hsivonen 2010-03-08 14:40:53 -08:00
Dão Gottwald d6fa5e5002 Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin 36b367d9c7 Add html5 parser tests: tree construction, tokenizer, and comparison beteween Gecko and JS parsers. bug 373864; r=sayrer 2009-08-14 15:02:39 -07:00
Henri Sivonen 2e546e9f6f Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen 533e0248aa Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:45:24 +03:00
df515a41ed Don't ship link to the head from <body>. <link> and <style> will still prefer the head in the absense of an explicit body, but will stay still if there is one. bug 387691, r=sicking/sayrer sr=jst 2007-07-20 17:40:59 -07:00
[email protected] e358299a6d fix wrong log message. 2007-03-20 22:05:46 +00:00
[email protected] 4ab0c86a79 Add times to parser test logging to examine linux test harness timeouts. 2007-03-20 21:15:24 +00:00
[email protected] c62c2c8c43 Renabling, after local check for bustage. 2007-03-16 23:01:42 +00:00
[email protected] 93a29e7f03 Bug 366936. disable tests to see if mac bustage is affected by that. 2007-03-11 01:05:06 +00:00
[email protected] 03610b860b Bug 366936. Run WHATWG/html5lib tests on HTML parser. r=mrbkap 2007-03-10 23:41:00 +00:00