Commit Graph

94 Commits

Author SHA1 Message Date
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Chris Peterson
121893ddb6 Bug 1083499 - Replace JS1.7's nonstandard destructuring for…in loops in mochitest/server.js. r=jmaher 2015-03-23 20:37:47 -07:00
Kershaw Chang
2d0229cdd6 Bug 1038620 - Add --nested_oop option to mach test commands, r=ted.mielczarek 2015-01-13 02:07:00 +01:00
Chris Peterson
2719abc14e Bug 1105393 - Remove deprecated for-each-in loops in mochitest/server.js. r=jmaher 2014-12-20 09:53:12 -08:00
Nathan Froyd
879a281704 Bug 1113819 - fix deprecated let block construct in server.js; r=jmaher 2014-12-19 14:51:47 -05:00
Joel Maher
5741b0639b Bug 987849 - Add fail-if support to Mochitest manifests. r=ahal. 2014-10-17 10:01:15 -04:00
Jason Orendorff
84690d6645 Bug 1080003 - Fix some random JS warnings in the Mochitest server. r=ted. 2014-09-05 09:30:33 -05:00
Gijs Kruitbosch
0b35426fc5 Bug 1014062 - expose harness parameters via SimpleTest, always use the harness, pass keep-open for single test runs with mach, r=ted,f=bz 2014-05-22 20:09:21 +01: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
Nathan Froyd
f7100b168a Bug 988169 - display the list of mochitests again; r=jmaher 2014-05-22 10:32:32 -04:00
Tim Taubert
64f585c197 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02:00
Shu-yu Guo
e17ab37f21 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Joel Maher
bfed61aa0a Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp
e630091075 Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher 2013-06-16 11:19:47 -04:00
Felipe Gomes
07e1f83925 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
e232c56ece Backed out changeset 4d74fe8e6560 (bug 842511) 2013-02-22 22:23:28 +01:00
Tim Taubert
18e6dac9c1 Bug 842511 - Specify a character set for directory listings; r=Waldo 2013-02-22 19:56:14 +01:00
Christian Holler
c26ee697e2 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Matt Brubeck
8caabeedf7 Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler
6de14d03e9 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
Drew Willcoxon
ad26288697 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
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ralph Giles
2a7d15690a 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
c37d5f79a1 Bug 714712 - Part 2: pdf.js test. r=gavin 2012-03-21 22:25:06 -04:00
Joel Maher
ea7770f404 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Malini Das
e7324f33e1 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
4c6f5c729c 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
efeea55065 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only 2011-07-18 22:10:29 -04:00
Malini Das
748d369135 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
9bd3ca61aa Bug 658065 Fix some warnings in mochitest harness r=ctalbert 2011-06-08 09:04:14 -07:00
Benoit Jacob
25790f6a81 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
73faad925b 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
fa2548b0b2 Bug 606251: fix bug in test file enumeration that broke running tests more than once (depending on JS version changes), r=dtownsend, a=tests 2010-12-05 08:38:29 -05: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
Mounir Lamouri
f46b7f730e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Joel Maher
929396cf7e Bug 512319 Add options for mochitest to use an external server r=ted 2010-03-13 09:56:24 -08:00
Joel Maher
c0ce59f423 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
cf8558308e backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
2f099f8718 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
fc440b802d 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
74827fb435 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
3ff94711b5 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
a7c210544a 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
b51e4506cb 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
203d592153 Bug 548171: Make getFile function on SERVER_ROOT platform independent. r=waldo 2010-02-23 18:04:35 -08:00
Zack Weinberg
2ac8e0d36b 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
b6504bd1b8 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
efa952a7f4 Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg
7aa13b8a12 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Henri Sivonen
0c6035bb11 Bug 499907 - Make the mochitest server have the right MIME types for Ogg. r=jwalden+bmo 2009-06-26 10:45:08 +03:00