Commit Graph

276 Commits

Author SHA1 Message Date
Mounir Lamouri
58aa0a96d8 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
David Chan
8edcfe987a Bug 808734 - Fix permissions expansion and add unit test. r=ddahl, r=gwagner 2012-11-06 15:52:13 -08:00
Ehsan Akhgari
51201d2f10 Merge mozilla-central into mozilla-inbound 2012-11-06 20:16:41 -05:00
Gregory Szorc
cb927ab20b Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
David Rajchenbach-Teller
dca36f6ddf Bug 808428 - Testing that OS.File can be called from xpcshell. r=nfroyd
--HG--
extra : rebase_source : 6dfc9107c4ff2453b47a3df528ca8d0037b91cf8
2012-11-05 07:59:00 -08:00
Geoff Brown
c2f67ca68f Bug 808725 - Pass -m and -n to xpcshell when running xpcshell-tests-remote; r=jmaher 2012-11-06 04:44:02 -07:00
Geoff Brown
3988d0453c Bug 808728 - Log remote environment vars correctly; r=jmaher 2012-11-06 04:43:58 -07:00
Ed Morley
67dc3d5d56 Bug 808545 - Tweak the exception message for runxpcshelltests.py profile cleanup failures; r=gps 2012-11-05 18:29:20 +00:00
Ed Morley
157e0ef0a7 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Gregory Szorc
eb2701ecef Bug 807861 - Ensure state directory is present before running tests; r=rnewman
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : fd66449c11968269d33eff3f686f22a8767b6898
2012-11-02 10:32:40 -07:00
Jonathan Griffin
4aa3749ab1 Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Gregory Szorc
b50521c910 Bug 795772 - More mach options to control xpcshell test execution; r=ted
DONTBUILD (NPOTB)
2012-10-31 10:29:26 -07:00
Geoff Brown
03a8e4e488 Bug 799863 (3/3) - use dm.pushFile(file, dir/file) instead of dm.pushFile(file, dir); r=wlach 2012-10-30 15:21:43 -06:00
William Lachance
6ba779efaa Bug 799863 (2/3) - Guard against an exception occurring before process is defined in xpcshell tests;r=gbrown
---
 testing/xpcshell/runxpcshelltests.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2012-10-16 16:32:33 -04:00
Jonathan Griffin
fc5ef27ae1 Bug 790677 - Fix xpcshell test packaging for B2G, r=ted 2012-10-17 15:12:41 -07:00
Gregory Szorc
b8bea338d3 Bug 799532 - Print directory listings when profile directory could not be deleted; r=ted
This patch is intended to be temporary and should be removed once the
underlying problem is resolved.
2012-10-17 11:17:49 -07:00
Ehsan Akhgari
5a7253fa1e Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Gregory Szorc
97cce3a53e Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Ehsan Akhgari
5150b5b605 Bug 799229 - Move the ForgetAboutSite modules to toolkit; r=Mossop
--HG--
rename : browser/components/privatebrowsing/src/ForgetAboutSite.jsm => toolkit/forgetaboutsite/ForgetAboutSite.jsm
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.html => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.js => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js
rename : browser/components/privatebrowsing/test/unit/downloads.empty.sqlite => toolkit/forgetaboutsite/test/unit/downloads.empty.sqlite
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain_activeDownloads.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain_activeDownloads.js
2012-10-08 16:48:11 -04:00
Ed Morley
9c6425342d Bug 793855 - runxpcshelltests.py should catch shutil.rmtree(dirname) exceptions and output a TBPL-compatible error; r=gps 2012-10-07 21:21:52 +01:00
Ed Morley
cd0df9b353 Bug 793855 - runxpcshelltests.py should check the test process has exited and if not, output a TBPL-compatible error; r=gps,jmaher 2012-10-07 21:21:30 +01:00
Albert Crespell
6278d6dd5a Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Masatoshi Kimura
adbc1a4a51 Bug 795544 - Test updates. r=bz
--HG--
rename : dom/encoding/test/test-big5.js => dom/encoding/test/unit/test_big5.js
rename : dom/encoding/test/test-euc-jp.js => dom/encoding/test/unit/test_euc-jp.js
rename : dom/encoding/test/test-euc-kr.js => dom/encoding/test/unit/test_euc-kr.js
rename : dom/encoding/test/test-gbk.js => dom/encoding/test/unit/test_gbk.js
rename : dom/encoding/test/test-hz-gb-2312.js => dom/encoding/test/unit/test_hz-gb-2312.js
rename : dom/encoding/test/test-iso-2022-jp.js => dom/encoding/test/unit/test_iso-2022-jp.js
rename : dom/encoding/test/test-iso-2022-kr.js => dom/encoding/test/unit/test_iso-2022-kr.js
rename : dom/encoding/test/test-shift_jis.js => dom/encoding/test/unit/test_shift_jis.js
rename : dom/encoding/test/tests.js => dom/encoding/test/unit/test_singlebytes.js
2012-10-01 21:49:12 +09:00
David Rajchenbach-Teller
5eca5b886d Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Andrea Marchesini
418f096481 Bug 793310 - Support sms:, tel: and mailto: URI schemes, r=philipp 2012-10-01 11:28:01 -07:00
Josh Matthews
1ce2adcc13 Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Ted Mielczarek
66f76ddadc bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher 2012-09-13 15:43:28 -04:00
Ryan VanderMeulen
ea8418a01e Merge the last PGO-green inbound changeset to m-c. 2012-09-14 21:09:07 -04:00
Mihnea Dobrescu-Balaur
12a5ed177b Bug 791025 - Add flag to re-use xpcshell files on a device from a previous run, r=jgriffin, DONTBUILD because NPOTB 2012-09-14 16:44:29 -07:00
Paul Adenot
2c52721064 Bug 790132 - Add a test to make sure media sniffing occurs only when we want. r=bz 2012-09-12 13:04:01 -07:00
Mihnea Dobrescu-Balaur
ebd0a44513 Bug 786848 - Add ability to post xpcshell test results to autolog, r=jgriffin 2012-09-10 11:15:00 -07:00
Geoff Brown
9e85ee7f38 Bug 783011 - Change order of command line args for android xpcshell tests; r=jmaher 2012-09-05 07:42:02 -06:00
Josh Matthews
828b242677 Bug 773956 - Fix up invalid syntax and configurations in xpcshell.ini. r=jmaher 2012-07-14 10:48:45 -04:00
Mihnea Dobrescu-Balaur
ac81cadf82 Bug 786866 - export LD_PRELOAD for xpcshell tests on B2G, r=jgriffin, DONTBUILD because NPOTB 2012-08-29 17:16:07 -07:00
Dave Camp
b5e1dafad4 Bug 785635 - Markup panel undo is broken. r=jwalker 2012-08-25 11:04:47 -07:00
Mark Capella
c33263eef6 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
Donovan Preston
bc56dc9adb Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Ed Morley
3073a11a52 Backout 3c39fdebf386 (bug 733573) for native Android m3 failures in test_tcpsocket_enabled_no_perm.html on a CLOSED TREE 2012-08-21 23:01:09 +01:00
Donovan Preston
ff04ad6299 Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Paul Dagnelie
0f68c9079b Bug 779006 - Display pid in xpchsell's check-interactive mode. r=ctalbert 2012-08-13 13:19:11 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mihnea Dobrescu-Balaur
3e82eecf0d Bug 775281 - Add files necessary to run B2G xpcshell tests from test.sh, r=jgriffin, DONTBUILD because NPOTB 2012-07-30 12:04:45 -07:00
Nick Fitzgerald
2b86de406a Bug 669999 - Add a library for parsing and consuming source map files to Firefox; r=joe_walker,rcampbell 2012-07-18 17:17:00 -04:00
Mihnea Balaur
84b6a83c7f Bug 773031 - Get xpcshell tests working on B2G emulators, r=jmaher 2012-07-17 09:56:26 -07:00
Ben Turner
a88f4eb357 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. Disable xpcshell tests entirely until I can figure out how to enable them selectively. 2012-07-14 09:13:40 -04:00
Ben Turner
ffa4f808f2 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
ee938e4233 Backout changeset 592bfc94e628 for X orange. 2012-07-14 11:23:52 +02:00
Ben Turner
e738469ac9 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Gregory Szorc
f0647bbe94 Merge mozilla-central into services-central 2012-07-08 20:48:04 -07:00
Gregory Szorc
8e71f71a3c Bug 762837 - Try to find modules directory if not defined; r=ted
This is a workaround to enable modules to be found on the buildbot test
runners.
2012-06-29 13:27:11 -07:00