Граф коммитов

86 Коммитов

Автор SHA1 Сообщение Дата
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
Nathan Froyd d346543b1b Bug 988169 - display the list of mochitests again; r=jmaher 2014-05-22 10:32:32 -04:00
Tim Taubert a8ae9cf917 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02:00
Shu-yu Guo 7a9dd72104 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Joel Maher 57e18cad43 Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp 30fa51a97b Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher
--HG--
extra : transplant_source : %0A%C3%7F%B7%CFL%AD%2C%A2Y%5D51%AF%19%C1%C8%C5%5B%07
2013-06-16 11:19:47 -04:00
Felipe Gomes 740cd9ba32 Bug 875463 - Part 0. Remove plain-loop.html and fix --repeat for single tests. r=jmaher 2013-05-24 16:03:49 -03:00
Tim Taubert 2728bcfbc9 Backed out changeset 4d74fe8e6560 (bug 842511) 2013-02-22 22:23:28 +01:00
Tim Taubert c29a26701d Bug 842511 - Specify a character set for directory listings; r=Waldo 2013-02-22 19:56:14 +01:00
Christian Holler 9c12900be3 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Matt Brubeck 2c28708624 Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler 548a9d9654 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
Drew Willcoxon 9858334554 Bug 733631 - Create a unit test infrastructure for the webapp runtime. r=myk,felipc,ctalbert 2012-06-29 15:52:43 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ralph Giles b6f1345f82 Bug 674225 - Add basic mochitests for Opus. r=cpearce
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.

Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.

Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Artur Adib 5618106733 Bug 714712 - Part 2: pdf.js test. r=gavin 2012-03-21 22:25:06 -04:00
Joel Maher a6c0cdaff1 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Malini Das 60cd440a07 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Cameron McCormack 3eafd18eb4 Bug 479352 - Hide mochitest results table if MOZ_HIDE_RESULTS_TABLE=1 is set. (v4) r=jmaher, a=testonly 2011-07-26 16:13:20 -07:00
Joel Maher d4e409c106 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only
--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaFileLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
2011-07-18 22:10:29 -04:00
Malini Das 26d36b64b7 Bug 603517 - Enable mochitest to optionally run in loops without restarting the browser r=ctalbert 2011-07-14 14:39:17 -07:00
Benjamin Stover eccd65ea37 Bug 658065 Fix some warnings in mochitest harness r=ctalbert 2011-06-08 09:04:14 -07:00
Benoit Jacob e6a6f31e00 Bug 658359 - Register .frag and .vert extensions as text/plain to prevent crashing due to buggy plugins in WebGL mochitest - r=ehsan
These file types were unknown, leading to querying plugins to check if any would recognize these types, leading to xpcshell crashes due to bad plugins on linux, leading to mochitest failure on my machine.
2011-05-20 17:50:53 -04:00
Joel Maher 873b50ec0b Bug 636154 - server.js limits custom ports to 31999, we should make this 64K. r=ted, a=test-only 2011-02-23 14:39:01 -05:00
Gavin Sharp 062626b53e Bug 606251: fix bug in test file enumeration that broke running tests more than once (depending on JS version changes), r=dtownsend, a=tests
--HG--
extra : rebase_source : 4c0ad52132f4674e415bae9f6e0b955fb813cd60
2010-12-05 08:38:29 -05:00
Henri Sivonen 97a0b2593f Bug 559023 part 1 - Move html5lib tree builder tests to a directory of their own. r=jgriffin, a=test-only.
--HG--
rename : parser/htmlparser/tests/mochitest/html5lib_license.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/html5lib_license.txt
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat1.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests1.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat2.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests2.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat3.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests3.dat
2010-09-01 14:41:12 +03:00
Mounir Lamouri 0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Joel Maher b6fdcf4a52 Bug 512319 Add options for mochitest to use an external server r=ted 2010-03-13 09:56:24 -08:00
Joel Maher 6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey 96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher b52e3c4dfb Bug 512319 Add options for mochitest to use an external server p=jmaher r=ted 2010-03-09 11:54:39 -08:00
Joel Maher 1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher 694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert 5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher 3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Jonas Sicking 8b7855784a Bug 548171: Make getFile function on SERVER_ROOT platform independent. r=waldo 2010-02-23 18:04:35 -08:00
Zack Weinberg 6f802fa89d Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden 2010-02-09 14:07:33 -08:00
Jeff Walden d87403b28b Bug 511317 - Add a SERVER_ROOT object-state mapping to the Mochitest harness. r=sicking 2010-02-02 17:28:46 -08:00
Zack Weinberg b7cf0bd89e Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg f2ada08b52 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Henri Sivonen 792db5f19e Bug 499907 - Make the mochitest server have the right MIME types for Ogg. r=jwalden+bmo 2009-06-26 10:45:08 +03:00
Olli Pettay b38d604941 Bug 454781 - Mochitest doesn't align the names of the testfiles and test results, r=sayrer 2009-04-21 14:25:22 +03:00
Jeff Walden 74b32c3636 Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
Ted Mielczarek 18e9d5edc3 bug 460515 - Remove assumption that xpcshell etc in same directory as app executable. r=jwalden 2009-02-09 13:57:27 -05:00
Jonas Sicking 2c8b4e0b19 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken 0b7ffe2664 Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Jonas Sicking 77010e3913 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking 46b09b8476 Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking 8c5f8ef332 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00