Commit Graph

52 Commits

Author SHA1 Message Date
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrew Halberstadt
3f9cbf87a1 Bug 1333564 - [manifestparser] Stop supporting ';' as a valid comment character, r=jmaher
It turns out there are shockingly few cases of manifestparser manifests that actually use the ';'
character as a comment. Because we will soon allow inline comments, deprecating the use of ';' will
ensure that values are allowed to have semicolons in them.

Even without inline comments, might as well enforce consistency across manifests.

MozReview-Commit-ID: AEPPQFdNXG0
2017-01-25 14:38:37 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Georg Fritzsche
fbfffbfda7 Bug 885389 - Add test coverage for do_get_profile() observer notifications. r=ted 2015-04-21 16:30:37 +02:00
Andrew Halberstadt
11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04: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
Birunthan Mohanathas
254f890e2e Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike de Boer
355ce664f5 Bug 1014482: update XPCShell self-tests to be compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:44 +02:00
Jeremy Morton
cabb2da590 Bug 998291 - Allow for relatively-loaded modules to be loaded into a given scope. r=bsmedberg 2014-04-22 23:37:26 +01:00
Mike Hommey
7f7e4faac1 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Gregory Szorc
189afd1a65 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -07:00
Jim Blandy
58cf18a230 Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Mihnea Dobrescu-Balaur
dbc39b7ead Bug 892021 - Add a do_get_tempdir function to head.js. r=ted, r=gbrown 2013-07-16 09:38:35 -07:00
Gregory Szorc
94638f8bda Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
6af3f1ee26 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
6a224ff449 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Kyle Machulis
331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
ec9b53db93 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Mike Shal
24be52d653 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
580050cb3f Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
Jim Blandy
7211407b9b Bug 808791: Add some xpcshell testing functions handy for matching JSON packets. r=jmaher 2013-01-14 16:15:58 -08:00
Mark Capella
a4f2f7bbee Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Final, r=ted
Remove last three references, final cleanup
2012-08-23 08:16:44 -04:00
Mike Hommey
0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gregory Szorc
f2c0bc7eeb Bug 760576 - Define do_check_null test helper for xpcshell tests; r=ted 2012-06-01 19:23:31 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ted Mielczarek
5ae59a8111 bug 664197 - integrate mozinfo + ManifestDestiny update into xpcshell harness. r=jmaher 2011-06-21 08:12:40 -04:00
Joel Maher
39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Jonathan Protzenko
28fb9d1722 Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Marco Bonardo
f920734ad6 Bug 602871 - XPCShell test harness should ignore system idle time while running tests, r=ted a=tests-only 2010-10-19 11:18:40 +02:00
Joel Maher
66966b3623 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
50d7d4c696 Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout 2010-08-25 14:03:44 -07:00
Joel Maher
653ecb9166 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
3a09698a51 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
3bc5eca86a Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Dave Townsend
3ff971529b Bug 550481: Exceptions from the do_execute_soon callback should be logged and fail the test. r=ted 2010-03-08 10:26:54 -08:00
Marco Bonardo
d96b854d39 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00
John Daniels
b11db71e70 Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
Ted Mielczarek
886f30a24c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh 2009-05-14 07:37:40 -04:00
Ted Mielczarek
114d157d21 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
d1eb2fade9 bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh 2009-05-14 07:37:40 -04:00
Serge Gautherie
36e00ed259 Bug 488091 - Review |make check| usages; (Av2a) Remove empty targets; r=ted.mielczarek 2009-04-29 00:57:50 +02:00
Ted Mielczarek
3b71e84498 bug 439110 - xpcshell's load() just silently fails for non-existent files - add automated test 2009-04-20 06:56:23 -04:00
Ted Mielczarek
31c7dc8591 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00