Commit Graph

956 Commits

Author SHA1 Message Date
Bobby Holley
d131b3449c Bug 553102 - Make the SpecialPowers wrapping API a bit nicer. r=ted 2012-05-24 13:04:57 +02:00
Gregory Szorc
25e74247ed Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Ed Morley
f25474a7ad Backout cfac7b6a1f9c (bug 728893) for mochitest-1 orange 2012-05-23 11:56:03 +01:00
Diogo Golovanevsky Monteiro
9101bed744 Bug 728893 - Allow mochitest iframe to go fullscreen r=ctalbert 2012-05-23 10:36:26 +01:00
Chris Pearce
6577ec1962 Bug 753546 Part 1 - Make nsDocument listen for 'fullscreen-approved' notification rather than 'perm-changed' to signal fullscreen approved. r=smaug 2012-05-22 08:43:36 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dão Gottwald
4f33eb9842 Bug 734172 followup - add gBrowser check for sanity 2012-05-17 16:45:40 +02:00
Dão Gottwald
7a72c93bb4 Bug 734172 - Stop blaming tests that replace the first tab for leaking. r=ttaubert 2012-05-17 16:41:08 +02:00
Jason Duell
c2c75f6fb3 bug 752776. Mozilla tweaks to pywebsocket v631. r=mcmanus 2012-05-16 17:04:46 -07:00
Jason Duell
faabb68615 Bug 752776 - Upgrade pywebsocket to v631. r=mcmanus 2012-05-16 17:04:15 -07:00
Ed Morley
281a3eff05 Backout 85eb1308f976 & 09da30d622c0 (bug 728893) until the test is ready to land 2012-05-15 17:44:18 +01:00
Ryan VanderMeulen
0cd84daf15 Disable test for bug 728893 2012-05-15 09:44:59 -04:00
Diogo Golovanevsky Monteiro
448591a311 Bug 728893 - Allow mochitest iframe to go fullscreen. r=ctalbert 2012-05-15 09:00:54 -04:00
Matt Brubeck
60b5d7f292 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
5397f4846a Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Neil Rashbrook
b29321080b Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Chris Pearce
32dd55e67c Bug 746885 part 3 - Change pointer lock tests to always run on a domain with fullscreen-approved permissions. r=smaug 2012-05-09 09:48:27 +12:00
Justin Lebar
b54abd8d84 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Joey Armstrong
6bf8cf559d Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2. r=ted 2012-05-03 06:22:33 -04: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
Masayuki Nakano
41de116362 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Ted Mielczarek
bc1fb7a14e bug 740242 - add some diagnostics to get more info about Python exceptions during Mochitest. r=jmaher, a=test-only 2012-05-02 07:15:07 -04:00
Jonathan Griffin
86a2c2032d Bug 749011 - Add support for running mochitest-plain on B2G, r=jmaher
--HG--
extra : rebase_source : 4c260e11c51c5015d2ded66f4b8cfc94a9969298
2012-04-27 11:44:59 -07:00
Masayuki Nakano
111aa93c0c Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers r=smaug 2012-04-25 12:00:02 +09:00
Dão Gottwald
0dbfd85588 Bug 723953 - Fennec chrome scripts and tests leak global variables. r=mbrubeck 2012-04-06 22:02:15 +02:00
Serge Gautherie
184c3bd70a Bug 637101. (Bv1) Add a 1 second delay before calling killTest(), Fix bug 647323 regression, Remove extra ';' and spaces. r=ted.mielczarek. 2012-04-05 21:00:02 +02:00
Kyle Huey
7a529aca86 Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Ed Morley
35e8da33e1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-30 16:13:46 +01:00
Marco Bonardo
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Serge Gautherie
7d2610abd0 Bug 733269. (Av1) redirect.html: Let its load complete before redirecting. rs=jwalden. 2012-03-30 12:27:50 +02:00
Ms2ger
956f92aedd Bug 647323 - Part b: Implement test harness reporting code and import testharness code from the upstream repository; r=jhammel+ted 2012-03-29 23:08:43 +02:00
Peter Van der Beken
0c7d3df11e Fix for bug 740397 (Make tests that try to get XHR.channel use SpecialPowers). r=bholley.
--HG--
extra : rebase_source : 0bd78094debfea9d179f17396626c3802a6b5a21
2012-03-29 11:15:09 -07:00
Peter Van der Beken
680de8d850 Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Peter Van der Beken
21f90c4a0a Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Masayuki Nakano
0582e6722b Bug 722961 Add tests for autocomplete with composition r=m_kato 2012-03-27 23:22:56 +09:00
Aryeh Gregor
93bfe8f6cd Bug 735805 part 5 - Mochitests that run no tests should fail; r=jmaher 2012-03-16 16:07:16 -04:00
Aryeh Gregor
5bdbd66803 Bug 736529 - Calling waitForFocus() and then finishing before you get focus should cause the test to fail; r=jmaher 2012-03-19 13:09:48 -04:00
Joel Maher
2d6ecaf98d Bug 736920 - mochitest-robocop log parser shouldn't repeat the whole test log, particularly not with spurious blank lines. r=gbrown 2012-03-22 10:45:20 -04:00
Artur Adib
5618106733 Bug 714712 - Part 2: pdf.js test. r=gavin 2012-03-21 22:25:06 -04:00
William Lachance
b875233d85 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Gavin Sharp
80710b8eea Bug 589668: take screenshots on test failures on Windows, screenshot utility written by Ted Mielczarek <ted.mielczarek@gmail.com>, build goop by me and jhford, r=khuey
--HG--
extra : transplant_source : %2A%07%B3w%DEg%DB%99%7EQR8Wq/%96J%E8%8D%D8
2012-02-08 12:30:07 -08:00
Bobby Holley
eddc1f4a42 Bug 731442 - Back out f9145dab4be9 (bug 718543) due to test failures. r=backout 2012-03-06 11:05:29 -08:00
Tim Taubert
242b4e116d Bug 683953 - Part 1 - Parse log output and collect statistics about leaked DOMWindows and DocShells; r=ted 2012-02-25 12:48:05 +01:00
Jonas Sicking
79eaf25209 Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Gavin Sharp
75a66c60be Bug 728627: simplify SpecialPowers pref observing, r=jmaher
--HG--
extra : rebase_source : 1c411dc0e8679cea3cc1f68ec792c36d19fbacfc
2012-02-18 17:33:18 -08:00
Joel Maher
9ef0e746bd Bug 725112 - Add an easy make command to rerun tests that failed the last time. r=ted 2012-02-20 09:59:04 -05:00
Bobby Holley
80cafe8e18 Bug 718543 - Preserve SpecialPowers wrapper identity with a WeakMap cache. r=mrbkap 2012-02-19 15:47:12 -08:00
Serge Gautherie
5ae3e8c94c Bug 725942. (Av1) browser-test.js: Ignore empty console messages. r=dtownsend. 2012-02-14 21:37:45 +01:00
Geoff Lankow
38a6e24cbf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part F, remove uses of nsIPrefBranch2 in testing/ and layout/tools/reftest/ ; r=bsmedberg 2012-01-17 15:01:25 +13:00
Joel Maher
2a64ef934f Bug 717018 - merge robotium logs into a single logfile. r=gbrown,jhammel 2012-02-09 08:49:00 -05:00
Serge Gautherie
e616109281 Bug 725045. (Av1) pushPrefEnv() param is "clear" not "remove". r=jmaher.
DONTBUILD (comment-only).
2012-02-07 22:05:18 +01:00
Dão Gottwald
fd612d89f0 Bug 724286 - Fix TelemetryTimestamps, AddonManagerPrivate global scope pollution and whitelist __SSi. r=dietrich 2012-02-05 21:22:57 +01:00
Gavin Sharp
43cb6910c2 Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher
--HG--
extra : transplant_source : %02%AC%FC%98%E8%23%FE%9A%3D%BC%DEck%16%9FP%CE%95%B3%AF
2012-02-01 10:11:53 -08:00
Gavin Sharp
c2834860a5 Bug 718203: don't allow drops of javascript: URIs on the home button, r=enndeakin, sr=bz
--HG--
extra : transplant_source : %ADP%C0%F8%8D%C4%A2v%BC%E5ZM%FC%D6BB%B7A%1E%07
2012-01-30 17:58:30 -08:00
Ed Morley
e302449899 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-03 16:45:09 +00:00
Matt Brubeck
99cb8f789b Bug 720985 - Temporarily whitelist properties leaked by Fennec tests [r=dao] 2012-02-03 08:20:08 -08:00
Dão Gottwald
c8a073a2a2 Bug 720985 - Report a failure when a test leaks a global variable. r=gavin 2012-02-03 10:10:52 +01:00
Kartikaya Gupta
d295229424 Bug 722367 - Update path to robocop.apk and fennec_ids.txt in mochitest-robotium target. r=jmaher 2012-01-30 13:14:47 -05:00
Daniel Holbert
f50cf0013f Bug 722075: Fix $(NULL)-after-commented-out-lines in a mochitest Makefile. r=gavin 2012-01-30 12:11:41 -08:00
Reuben Morais
fff986379b Bug 722144 - Allow dblclick on EventUtils.sendMouseEvent. r=smaug 2012-01-29 05:01:00 -08:00
Jonathan Watt
6f83ff5139 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Joel Maher
6966b1650a Bug 717057 - allow robotium testPan to run in talos. r=kats,gbrown 2012-02-02 10:09:26 -05:00
Ms2ger
97967af56e Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
3b6294d172 Bug 718271 - Use TEST-UNEXPECTED-FAIL instead of TEST-UNEXPECTED-ERROR; r=jmaher 2012-01-25 08:50:04 +01:00
Dão Gottwald
09e6731932 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Serge Gautherie
5d9f44a50a Bug 720095. (Av1a-mochitest) Fix some strict warnings and nits. r=ted.mielczarek. 2012-01-24 17:38:46 +01:00
Dao Gottwald
706992fd3b Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell 2012-01-23 11:50:11 -04:00
Dão Gottwald
fcb73495b2 No bug - fix some browser chrome tests that pollute the global scope 2012-01-20 16:21:46 +01:00
Bobby Holley
9082784986 Bug 702353 - Implement Proxy-Based XPCOM Wrappers in SpecialPowers. r=mrbkap,ted 2012-01-18 19:10:04 -08:00
Ms2ger
ad88effbfe Merge m-c to m-i. 2012-01-24 20:11:54 +01:00
Geoff Brown
37c895f598 Bug 717684 - Robocop: better diagnostics when TEST_PATH incorrect; r=jmaher 2012-01-24 09:46:34 -05:00
Joel Maher
3c5c587127 Bug 716732 - Robocop: fennec_ids.txt not always generated. r=kats 2012-01-11 08:50:10 -05:00
Ehsan Akhgari
abd7a3db55 Bug 668728 - Teach the mochitest harness to verify that the test calling finish is the same one that we expect it to be, to avoid drastic failures such as test_reftests_with_caret.html inadvertently navigating back, and skipping half of its tests; r=ted 2011-08-19 02:03:25 -04:00
Boris Zbarsky
a539a4b217 Bug 716549. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Joel Maher
d7033b7077 Bug 710445 - Add support for packaging tests in a specific directory. r=gbrown 2012-01-07 18:41:08 -05:00
Joel Maher
fb177d4678 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
bc6bc81bd0 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Joel Maher
c6292f1fc8 Bug 710445 - Add support for packaging tests in a specific directory. r=gbrown 2012-01-07 08:25:05 -05:00
Joel Maher
c220fd6332 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Geoff Brown
7d79b1d10e Bug 715408 - Delete any existing remote profile before running mochitest-remote; r=jmaher 2012-01-06 08:37:54 -05:00
Vivien Nicolas
7fbe6702dc Bug 715205 - b2g application can't run Gaia's browser-chrome tests r=cjones 2012-01-06 12:35:53 +01:00
Joel Maher
e74485eb5e Bug 701076 - [hoooking up make] Robotium integration into birch tree. r=blassey,bear 2011-12-31 10:03:36 -05:00
Masayuki Nakano
e4aa735c69 Bug 711903 part.1 EventUtils.synthesizeKey() shouldn't dispatch keypress event for modifier keys if the event type isn't specified r=smaug 2011-12-31 23:04:37 +09:00
Phil Ringnalda
ab5b6ce43d Back out 04ef7f564450 (bug 701076) and 632f07583bd8 (bug 711591) for mochitest-oth bustage 2011-12-30 14:19:30 -08:00
Joel Maher
d555d02e96 Bug 701076 - [hookup to make] Robotium integration into birch tree. r=blassey,bear 2011-12-30 15:57:34 -05:00
Bobby Holley
d1c1a83512 Bug 713747 - Fix funky tests. r=bz
The conversion of checks for UniversalBrowserWrite to UniversalXPConnect caused these test fail, because they acquire UniversalXPConnect and actually doesn't want the results. In particular, they pass the security check in nsWindowWatcher::CalculateChromeFlags, which causes them to fail.

The first test doesn't actually need UniversalXPConnect, so we can remove it for free. The second one needs it, so we add some SpecialPowers goop to make it possible. It's not ideal, but it can go away when the wrapper in bug 702353 lands.
2011-12-30 09:35:39 -08:00
Cameron McCormack
7e764a2b55 Bug 710863 - Finish mochitests when they are run in single test mode. r=jmaher 2011-12-30 11:09:03 +11:00
Geoff Lankow
7e20167c5b Bug 712518 - Improve MockFilePicker.jsm; r=jmaher 2011-12-23 11:10:52 +13:00
Phil Ringnalda
2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Boris Zbarsky
6ebaa68f5c Bug 598482 part 24. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Jason Duell
a4f1a82aaf Bug 710345: Mozilla-specific changes to pywebsocket v606. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
2a58edc446 Bug 710345: Upgrade pywebsocket to v606 (RFC 6455). r=mcmanus 2011-12-20 00:20:00 -08:00
Masayuki Nakano
efe739e3f9 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Ed Morley
58f24579d9 Merge mozilla-central and mozilla-inbound 2011-12-16 10:19:52 +00:00
Jan Varga
78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Henri Sivonen
3dba0e2474 Bug 711011 - Declare a character encoding in the Mochitest HTML template. r=ted. 2011-12-15 16:14:32 +02:00
Patrick McManus
ea03e8ad77 bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
6d7a2597ed Bug 689006: Upgrade pywebsocket to binary API (version 553, also supports Python > 2.5) r=mcmanus 2011-12-15 15:21:55 -08:00
Masayuki Nakano
5ff35fa5ae backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00