Commit Graph

1468 Commits

Author SHA1 Message Date
David Keeler
bd2a95a26c bug 700693 - OCSP stapling testing r=bsmith 2013-06-20 11:41:41 -07:00
Bob Owen
2884ae407d Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven) 2013-04-29 19:26:43 +01:00
Martijn Wargers
285bd5f42f Bug 880310 - Add some pushPrefEnv tests. r=jmaher 2013-06-15 01:21:57 +02:00
Gavin Sharp
18684641d4 Bug 883634: merge harness-overlay.xul into overlay.xul, r=jmaher
--HG--
extra : transplant_source : SO%03%F2n%FD%91%1C%1E%05%0C%BE%284%EE%1E%93%91%E5%7B
2013-06-17 14:00:10 -04:00
Gavin Sharp
00c5027e7e Bug 883314 part 4: use the chunking code for mochitest-browser-chrome, r=jmaher
--HG--
extra : transplant_source : E%26%86p%E0%14%99Jb%19%A8%A8%D9%23%7E%9EiH%DBf
2013-06-16 11:26:31 -04:00
Gavin Sharp
cc07d281a4 Bug 883314 part 3: adjust refactored chunking code to deal with mochitest-browser-chrome and mochitest-chrome file paths, r=jmaher
--HG--
extra : transplant_source : %ED%E7%ED%EEs%C5.%A0%FE%3ECEI60%A4h%C2%11Y
2013-06-16 11:22:48 -04:00
Gavin Sharp
03583a2fa5 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
Gavin Sharp
ec13bb0752 Bug 883314 part 1: simplify code, r=jmaher
--HG--
extra : transplant_source : J%AA%8D%F0%3B%AFi%00%18i%ABY%A0%24E%C6Ok%E4T
2013-06-16 11:15:17 -04:00
Felipe Gomes
00ec2e6c28 Bug 880555 - Fix --test-manifest option for non mochitest-plain. r=jmaher 2013-06-17 19:04:04 +02:00
Martijn Wargers
6a0cb9a8a4 Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin 2013-06-15 00:33:47 +02:00
Jeff Hammel
4f15a54af6 Bug 707976 - Remove manifestdestiny from its old location in m-c and use that in testing/mozbase;r=ahal
--HG--
extra : rebase_source : 78e596979ddfb001475270580afeab992694ed45
2013-06-07 12:30:11 -07:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Gijs Kruitbosch
397e911113 Bug 877178 - Add an exception checking method to SimpleTest, r=robcee 2013-06-01 15:33:03 +02:00
Paul Adenot
d9378584d2 Bug 876732 - Add a way to pass debugger args when using mach mochitest. r=ted 2013-05-30 17:00:46 +02:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Dan Minor (dminor@mozilla.com)
49b3b7b062 Bug 875737 - Add androidx86.json to mochitests. r=jmaher DONTBUILD 2013-05-24 10:39:24 -04:00
Felipe Gomes
4476cb86f7 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00
Felipe Gomes
b342190fb5 Bug 875463 - Part 0. Remove plain-loop.html and fix --repeat for single tests. r=jmaher 2013-05-24 16:03:49 -03:00
Gregory Szorc
0e006a17f5 Bug 875382 - mach mochitest-* now emits proper exit code on test failure; r=Ms2ger 2013-05-23 10:13:54 -07:00
Adrian Tamas
3d2d301d51 Bug 833832 - Robocop: Add test for Import from Android feature. r=jmaher 2013-03-18 11:15:17 +02:00
Nick Alexander
cd7f2a1a11 Bug 863445 - Part 2: Specify Robocop APK on runtestsremote.py command line. r=jmaher
This deprecates --robocop in favour of --robocop-ini, and
--robocopPath in favour of --robocop-apk.
2013-05-20 11:39:50 -07:00
Ryan VanderMeulen
c76b6f7cd8 Bug 855762 - Disable another test on Android due to high failure rate. 2013-05-20 14:10:23 -04:00
Ryan VanderMeulen
e4678593d4 Bug 855762 - Disable test on Android due to high failure rate. 2013-05-20 09:17:17 -04:00
Martijn Wargers
ddac9471c0 Bug 859401 - pushPermissions missing PROMPT_ACTION case. r=jmaher 2013-05-17 10:46:36 +02:00
Ian Melven
48879dbfb8 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Geoff Brown
6c5741a764 Bug 872244 - Dump ANR stack traces after Android tests; r=jmaher 2013-05-16 14:32:52 -06:00
Gregor Wagner
a9a19a363a Bug 872852 - Turn on contacts mochitests on b2g. r=reuben 2013-05-15 18:43:04 -07:00
Ryan VanderMeulen
cdeb399ef6 Merge m-c to inbound. 2013-05-13 12:02:04 -04:00
Fernando Jiménez
5a8ee7892b Bug 861894 - Avoid apps to schedule new offline cache downloads while device free space is low. Tests. r=honzab 2013-05-10 16:16:56 +02:00
Boris Zbarsky
cd93a3cc3f Disable probably-broken test to reopen a CLOSED TREE. No bug, except the one filed to reenable, which is not the bug this changeset is fixing, so there. 2013-05-10 17:22:51 -04:00
Brian O'Keefe
2186ab5dce Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Ed Morley
b1b15e2dc5 Merge mozilla-central and inbound 2013-05-13 12:55:17 +01:00
Ed Morley
6dcc2dc064 Backed out changeset 611c81436abe (bug 863445) 2013-05-13 12:31:13 +01:00
Ed Morley
71ef132ed6 Merge mozilla-central and inbound 2013-05-13 10:22:42 +01:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Nick Alexander
ea8d26066b Merge mozilla-central into services-central. 2013-05-12 16:19:27 -07:00
Nick Alexander
4636418f89 Bug 863445 - Part 2: Specify Robocop APK on runtestsremote.py command line. r=jmaher
This deprecates --robocop in favour of --robocop-ini, and
--robocopPath in favour of --robocop-apk.
2013-05-11 16:53:48 -07:00
Nick Alexander
403b679bb3 Backed out e7739a472f09, 3fd142236a0f, and 382ec69cdfb1 (Bug 863445) for Android rc1 and rc2 failures on a CLOSED TREE. r=me
--HG--
rename : mobile/android/base/fennec-ids-generator.py => build/mobile/robocop/parse_ids.py
2013-05-10 21:38:52 -07:00
Nick Alexander
575b7d8846 Bug 863445 - Part 2: Specify Robocop APK on runtestsremote.py command line. r=jmaher
This deprecates --robocop in favour of --robocop-ini, and
--robocopPath in favour of --robocop-apk.
2013-05-10 18:39:00 -07:00
Ben Turner
10da9011a4 Bug 861903 - Enable test. 2013-05-12 21:10:58 -07:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Gregory Szorc
408aacec08 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Joel Maher
d4ed7431f7 Bug 868329 - Switch legacy cases of test disabling on Android/B2G using makefile ifdefs over to android.json & b2g.json. r=edmorley 2013-05-07 12:46:45 -04:00
Andrew Halberstadt
b46d09ae89 Bug 830430 - automation.py should read profile data from a file, r=jhammel
* * *
Copy prefs general
2013-05-07 11:19:46 -04:00
Ehsan Akhgari
925b5ff876 Bug 865642 - Re-enable the Web Audio tests on Android; r=philor 2013-05-06 15:08:37 -04:00
Ryan VanderMeulen
a0c34ccab0 Merge m-c to inbound. 2013-05-06 11:20:45 -04:00
Martijn Wargers
a9769a6dcf Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ms2ger
5126e21631 Bug 866686 - Enable some tests on Android; r=mounir 2013-05-05 09:03:17 +02:00
Joel Maher
20d659aa85 Bug 865443 - [android.json fix] create webgl mochitest run for android. r=kmoir DONTBUILD 2013-05-03 16:35:09 -04:00
Geoff Brown
dfa723b35a Bug 865944 - Use top activity instead of process to check launch success; r=jmaher 2013-05-03 11:37:59 -06:00
Geoff Brown
248999e5b1 Bug 865944 - Add droid.py to list of files used by remote reftests and mochitests; r=jmaher 2013-05-03 11:37:51 -06:00
Jason Smith
25ae945858 bug 862883 - Enable webrtc mochitests on FxAndroid. r=gcp 2013-05-02 10:33:15 -07:00
Phil Ringnalda
706892f4be Bug 862196 - Stop pretending we can run test_Range-compareBoundaryPoints.html on a b2g emulator 2013-05-05 15:21:58 -07:00
Ed Morley
ee77fa80a5 Bug 865642 - Disable test_delayNode.html, test_delayNodeWithGain.html, test_gainNode.html, test_scriptProcessorNode.html and test_scriptProcessorNodeChannelCount.html on Android for too many intermittent timeouts
CLOSED TREE
2013-05-03 10:21:17 +01:00
Ed Morley
8d77cc854b Bug 868116 - Disable test_currentTime.html on Android for too many intermittent failures 2013-05-03 10:20:06 +01:00
Geoff Brown
7f18c03f82 Bug 917543 - Consolidate robocop.ini and robocop_x86.ini; r=jmaher 2013-10-23 20:36:23 -06:00
Ted Mielczarek
baae199a7a bug 866641 - add registerCleanupFunction method to mochitest-plain. r=jmaher 2013-04-29 14:35:14 -04:00
Ryan VanderMeulen
9e80ef1555 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
6cb4a9b9be Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
ec038bd16e Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Ryan VanderMeulen
d1a59f8eab Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
43eddbd12b Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Martijn Wargers
927d1111f4 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Camilo Viecco
abaa3fbfde Bug 864633 - broken site identity info bar part2 (tests from 813418). r=bsmith
--HG--
extra : rebase_source : b9acce3f6db1b1560b5e9928e8b3794ead151bc1
2013-04-25 13:40:26 -07:00
Guilherme Gonçalves
55eb035071 Bug 863852 - Part 2 - Handle reentrance in the state machine. r=smaug 2013-04-24 11:09:31 -07:00
Marco Bonardo
419e8a8a49 Bug 863447 - Give mochitest-browser some time to complete off main thread work when nsGlobalWindows appear leaked
r=ttaubert
2013-04-24 20:05:17 +02:00
Ben Kelly
3997d14f51 Bug 847279 - Update the android.json test exclusions to make new relativesrcdir paths. r=mbrubeck 2013-04-18 10:32:25 -04:00
Alexandre Poirot
adf4c58232 Bug 857073 - Simplify ChromeUtils usages. r=jmaher 2013-04-16 16:46:47 -04:00
Joel Maher
1a86ca2b35 Bug 857252 - testing-modules-dir is not defined. r=gps 2013-04-16 08:33:30 -04:00
Camilo Viecco
d3e8ac68dc Bug 813418 - Backout 95add3006aaf due to bustage CLOSED TREE 2013-04-15 16:45:38 -07:00
Camilo Viecco
e5eccb6270 Bug 813418 - Centralize certificate validation (Part 1, tests). r=bsmith
--HG--
extra : rebase_source : a9d66d37da35b315097af6e20177188a3ef52ce0
2013-02-27 10:30:19 -08:00
Ryan VanderMeulen
f36156f2ae Merge m-c to inbound. 2013-04-15 16:21:51 -04:00
Martijn Wargers
689da66347 Bug 860748 - Cleanup exclude list for b2g mochitests on the emulator. r=jgriffin 2013-04-15 20:00:16 +02:00
Guilherme Gonçalves
2f794443db Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Honza Bambas
bf6ac747cf Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Boris Zbarsky
3364b3d155 Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Jonathan Griffin
6e813d9855 Bug 860108 - Clone starting repo for b2g desktop mochitests, r=ahal 2013-04-09 17:13:32 -07:00
Martijn Wargers
11a9a700bf Bug 850302 - B2G mochitests time out on tests using window.open. r=jlebar 2013-03-22 08:41:07 -07:00
Ryan VanderMeulen
b880048f4e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Honza Bambas
e09acd80df Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Jonathan Griffin
a5a6fec8ff Bug 860104 - Cast prefs after interpolation, r=ahal 2013-04-09 17:31:42 -07:00
Gregory Szorc
0cbb99ce0a Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Geoff Brown
def2932c46 Bug 833765 - Increase default sut timeout to 320 s during rc tests; r=jmaher DONTBUILD 2013-04-08 12:34:45 -06:00
Aryeh Gregor
a1a4b430b4 Bug 851916 part 1 - Update dom/imptests/webapps/ and harness; r=Ms2ger
--HG--
rename : dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_ChildNode-remove.js => dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/ChildNode-remove.js
2013-03-21 14:54:43 +02:00
Ms2ger
439fc61f53 Backout changeset e1bddda508fe for double logging when running mochitests through mach. 2013-04-07 10:11:11 +02:00
Martijn Wargers
09bd3ac8a6 Bug 788866 - [B2G] mochitests fail to focus test window. r=smaug, f=ahal 2013-04-05 08:50:49 -04:00
Dale Harvey
7a815d332e Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Gregory Szorc
91afcc54b5 Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger
--HG--
extra : rebase_source : 97900c2bf0aaa83a3a9fa5e4dc88901140f66e60
2013-04-04 15:17:23 -07:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
847971275e Bug 838088 - Followup: Remove obsoleted entries from android.json. 2013-04-04 09:05:32 +02:00
Ms2ger
a769ca88de Bug 854329 - Part a: Import more tests; rs=mounir 2013-04-04 09:04:00 +02:00
Eitan Isaacson
0c7e131d55 Bug 857673 - Exclude webspeech synth ipc test on Android. r=jmaher 2013-04-03 15:13:17 -07:00
Matt Brubeck
a4f3fa155f Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps] 2013-04-03 10:15:12 -07:00
Geoff Brown
cda57e13d7 Bug 855146 - Enable SpecialPowers in robocop tests; r=jmaher 2013-04-03 21:11:26 -06:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Chan
c317a3c617 Bug 855192 - Fix MockPermissionPrompt scope. r=jgriffin 2013-03-27 13:16:39 -07:00
Joel Maher
88f3456d4d Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Matt Brubeck
185029ee5f Bug 855709 - Fix error in mach mochitest commands when objdir is a relative path [r=gps] 2013-03-28 15:47:21 -07:00
Bobby Holley
d8a04fedd9 Bug 790732 - Fix automation detection to handle Components shim. rs=mccr8 2013-03-28 14:26:02 -07:00
Andrew Halberstadt
9ecd208e40 Bug 835930 - move b2g unittest profile handling on top of mozbase instead of automation.py, r=jgriffin 2013-03-28 16:42:49 -04:00
Matt Brubeck
14223aebc4 Bug 855562 - Fix error in "mach mochitest-metro" [r=Ms2ger] 2013-03-28 09:23:03 -07:00
Matt Brubeck
d699331eb7 Bug 855563 - Improve mach mochitest file checking and error reporting [r=gps] 2013-03-28 09:23:03 -07:00
Tanvi Vyas
d6f9bba4b9 Bug 840388 - Mochitests that navigate https frames to http frames, both when a secure parent exists and when no secure parents exist. Tested with the mixed active content pref enabled and disabled. r=smaug 2013-03-27 22:11:59 -07:00
Ryan VanderMeulen
d86ac55e7c Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
79f15d62bf Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Reuben Morais
d6e62a528b Bug 854514 - Don't import SettingsChangeNotifier.jsm if the mozSettings pref is enabled. r=gwagner 2013-03-26 16:49:12 -07:00
Jim Mathies
1257d16906 Bug 854921 - Pass firefox path to metrotestharness so tests.ini can be written to a location that works with test zips / test slaves. Also add metro tests to mochitest tests.jar. r=mbrubeck, bbondy 2013-03-26 17:01:15 -05:00
Gregory Szorc
e351d6e9d7 Bug 818819 - Revamp mach's interaction with mochitests; r=Ms2ger
mach now invokes mochitests using the native Python API (as opposed to
make targets). mach now supports --shuffle, --rerun-failures,
--keep-open, --no-autorun, --repeat, and --slow.
2013-03-26 15:00:43 -07:00
Geoff Brown
a95712a6e7 Bug 854549 - Dump robocop screenshot to logs and cleanup; r=jmaher 2013-03-26 11:31:23 -06:00
Andrew Halberstadt
f7f283237c Bug 843296 - check for crashes in b2g emulator unittests during failures in marionette start up, r=jgriffin 2013-03-26 09:50:00 -04:00
David Clarke
bad3d37ea3 Bug 843893 - Fix alarm and power mochitests, r=gene.lian 2013-03-25 16:50:06 -07:00
Jim Mathies
df73889ad2 Bug 854584 - Add metrotestharness to TEST_HARNESS_BINS. r=mbrubeck 2013-03-25 18:04:16 -05:00
Mounir Lamouri
bd70d54caf Bug 854117 - Re-enable test_resize_move_windows.html on Linux. rs=Ms2ger 2013-03-25 18:52:17 +00:00
Benjamin Peterson
e96eef845c Backout Bug 854117 because philor said so 2013-03-23 16:38:41 -05:00
Mounir Lamouri
bbdf3b4f20 Bug 854117 - Re-enable test_resize_move_windows.html and test_resize_move_windows.xul on Linux. rs=Ms2ger 2013-03-23 18:02:21 +00:00
Mounir Lamouri
bdd72ba9e1 Bug 849438 - Searches in ListControlFrames should ignore  . r=bz 2013-03-22 17:52:52 +00:00
Andrew Halberstadt
f17e6f7de8 Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
Gavin Sharp
cd411899ff Bug 851516: browser-chrome should wait for delayedStartup. r=joe
--HG--
extra : rebase_source : 242defb996e64271c100b7de1140dde76d3e3c39
2013-03-19 09:50:31 +01:00
William Chen
41b43f3963 Bug 838216 - Follow up to correct path to a test. r=jgriffin 2013-03-19 15:17:00 -07:00
Martijn Wargers
e85156d007 Bug 838216 - Add caps and docshell tests to b2g, r=jgriffin 2013-03-18 11:06:01 -07:00
Steve Fink
0a5bc1249b Bug 850903 - runtests.py --debugger should suppress the timeout. r=ted
--HG--
extra : rebase_source : dc1ecc3deacbc1a0aa3e6b1f2ea87a66c54a82a2
2013-03-13 13:12:07 -07:00
Jonathan Griffin
e3e22f7630 Bug 845785 - re-exclude test_Range-mutations.html for frequent crashes, a=test-only 2013-03-18 11:02:08 -07:00
William Chen
6e9706f49f Bug 782211 - Part 5: Implement Notification API. r=smaug
--HG--
rename : docshell/test/test_bug344861.html => docshell/test/navigation/test_bug344861.html
2013-03-18 06:24:54 -07:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
L. David Baron
ced4573e23 Bug 850559: Make mochitests check that the test didn't leave the refresh driver under test control. r=ted 2013-03-15 14:40:37 -07:00
Martijn Wargers
c93fd0d24b Bug 817638 - Add content mochitests to B2G, r=jgriffin 2013-03-15 10:45:21 -07:00
Matt Brubeck
ee2c0bedfd Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Chris Lord
b44f857469 Bug 846772 - Disable dynamic toolbar on robocop tests. r=kats,jmaher
Pretty much all of the robocop tests that involve input assumed a static UI.
Making them compatible with the dynamic toolbar would require a considerable
rethink, so turn it off by default. We can introduce robocop tests specifically
for the dynamic toolbar later.
2013-03-12 18:32:26 +00:00
Ryan VanderMeulen
40b591683c Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Chris Lord
e4e8a01757 Bug 846772 - Disable dynamic toolbar on robocop tests. r=kats,jmaher
Pretty much all of the robocop tests that involve input assumed a static UI.
Making them compatible with the dynamic toolbar would require a considerable
rethink, so turn it off by default. We can introduce robocop tests specifically
for the dynamic toolbar later.
2013-03-12 18:32:26 +00:00
John Schoenick
d26e788877 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-11 11:47:36 -07:00
Martijn Wargers
2dbd1faece Bug 839519 - Add systemXHR permission. r=dclarke 2013-03-09 21:00:14 -05:00
Mats Palmgren
3113ab0c9a Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Geoff Brown
f048b04d97 Bug 784242 - set browser.viewport.scaleRatio during robocop tests; r=kats 2013-03-07 14:05:24 -07:00
Gene Lian
1ab6d02033 Bug 844429 - B2G SMS & MMS: move SMS codes into dom/mobilemessage to make it generic for MMS. r=vicamo
--HG--
rename : dom/sms/interfaces/nsIDOMMozSmsEvent.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMMozSmsMessage.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.idl
rename : dom/sms/interfaces/nsIDOMNavigatorSms.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl
rename : dom/sms/interfaces/nsIDOMSmsCursor.idl => dom/mobilemessage/interfaces/nsIDOMSmsCursor.idl
rename : dom/sms/interfaces/nsIDOMSmsFilter.idl => dom/mobilemessage/interfaces/nsIDOMSmsFilter.idl
rename : dom/sms/interfaces/nsIDOMSmsManager.idl => dom/mobilemessage/interfaces/nsIDOMSmsManager.idl
rename : dom/sms/interfaces/nsIDOMSmsRequest.idl => dom/mobilemessage/interfaces/nsIDOMSmsRequest.idl
rename : dom/sms/interfaces/nsIDOMSmsSegmentInfo.idl => dom/mobilemessage/interfaces/nsIDOMSmsSegmentInfo.idl
rename : dom/sms/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsISmsRequest.idl
rename : dom/sms/interfaces/nsISmsService.idl => dom/mobilemessage/interfaces/nsISmsService.idl
rename : dom/sms/src/Constants.cpp => dom/mobilemessage/src/Constants.cpp
rename : dom/sms/src/Constants.h => dom/mobilemessage/src/Constants.h
rename : dom/sms/src/SmsCursor.cpp => dom/mobilemessage/src/SmsCursor.cpp
rename : dom/sms/src/SmsCursor.h => dom/mobilemessage/src/SmsCursor.h
rename : dom/sms/src/SmsFilter.cpp => dom/mobilemessage/src/SmsFilter.cpp
rename : dom/sms/src/SmsFilter.h => dom/mobilemessage/src/SmsFilter.h
rename : dom/sms/src/SmsManager.cpp => dom/mobilemessage/src/SmsManager.cpp
rename : dom/sms/src/SmsManager.h => dom/mobilemessage/src/SmsManager.h
rename : dom/sms/src/SmsMessage.cpp => dom/mobilemessage/src/SmsMessage.cpp
rename : dom/sms/src/SmsMessage.h => dom/mobilemessage/src/SmsMessage.h
rename : dom/sms/src/SmsRequest.cpp => dom/mobilemessage/src/SmsRequest.cpp
rename : dom/sms/src/SmsRequest.h => dom/mobilemessage/src/SmsRequest.h
rename : dom/sms/src/SmsSegmentInfo.cpp => dom/mobilemessage/src/SmsSegmentInfo.cpp
rename : dom/sms/src/SmsSegmentInfo.h => dom/mobilemessage/src/SmsSegmentInfo.h
rename : dom/sms/src/SmsServicesFactory.cpp => dom/mobilemessage/src/SmsServicesFactory.cpp
rename : dom/sms/src/SmsServicesFactory.h => dom/mobilemessage/src/SmsServicesFactory.h
rename : dom/sms/src/Types.h => dom/mobilemessage/src/Types.h
rename : dom/sms/src/android/SmsService.cpp => dom/mobilemessage/src/android/SmsService.cpp
rename : dom/sms/src/android/SmsService.h => dom/mobilemessage/src/android/SmsService.h
rename : dom/sms/src/fallback/SmsService.cpp => dom/mobilemessage/src/fallback/SmsService.cpp
rename : dom/sms/src/fallback/SmsService.h => dom/mobilemessage/src/fallback/SmsService.h
rename : dom/sms/src/ipc/PSms.ipdl => dom/mobilemessage/src/ipc/PSms.ipdl
rename : dom/sms/src/ipc/PSmsRequest.ipdl => dom/mobilemessage/src/ipc/PSmsRequest.ipdl
rename : dom/sms/src/ipc/SmsChild.cpp => dom/mobilemessage/src/ipc/SmsChild.cpp
rename : dom/sms/src/ipc/SmsChild.h => dom/mobilemessage/src/ipc/SmsChild.h
rename : dom/sms/src/ipc/SmsIPCService.cpp => dom/mobilemessage/src/ipc/SmsIPCService.cpp
rename : dom/sms/src/ipc/SmsIPCService.h => dom/mobilemessage/src/ipc/SmsIPCService.h
rename : dom/sms/src/ipc/SmsParent.cpp => dom/mobilemessage/src/ipc/SmsParent.cpp
rename : dom/sms/src/ipc/SmsParent.h => dom/mobilemessage/src/ipc/SmsParent.h
rename : dom/sms/src/ipc/SmsTypes.ipdlh => dom/mobilemessage/src/ipc/SmsTypes.ipdlh
rename : dom/sms/src/ipc/ipdl.mk => dom/mobilemessage/src/ipc/ipdl.mk
rename : dom/sms/src/ril/SmsService.cpp => dom/mobilemessage/src/ril/SmsService.cpp
rename : dom/sms/src/ril/SmsService.h => dom/mobilemessage/src/ril/SmsService.h
rename : dom/sms/tests/Makefile.in => dom/mobilemessage/tests/Makefile.in
rename : dom/sms/tests/marionette/manifest.ini => dom/mobilemessage/tests/marionette/manifest.ini
rename : dom/sms/tests/marionette/test_between_emulators.py => dom/mobilemessage/tests/marionette/test_between_emulators.py
rename : dom/sms/tests/marionette/test_bug814761.js => dom/mobilemessage/tests/marionette/test_bug814761.js
rename : dom/sms/tests/marionette/test_emulator_loopback.js => dom/mobilemessage/tests/marionette/test_emulator_loopback.js
rename : dom/sms/tests/marionette/test_filter_date.js => dom/mobilemessage/tests/marionette/test_filter_date.js
rename : dom/sms/tests/marionette/test_filter_date_notfound.js => dom/mobilemessage/tests/marionette/test_filter_date_notfound.js
rename : dom/sms/tests/marionette/test_filter_mixed.js => dom/mobilemessage/tests/marionette/test_filter_mixed.js
rename : dom/sms/tests/marionette/test_filter_number_multiple.js => dom/mobilemessage/tests/marionette/test_filter_number_multiple.js
rename : dom/sms/tests/marionette/test_filter_number_single.js => dom/mobilemessage/tests/marionette/test_filter_number_single.js
rename : dom/sms/tests/marionette/test_filter_read.js => dom/mobilemessage/tests/marionette/test_filter_read.js
rename : dom/sms/tests/marionette/test_filter_received.js => dom/mobilemessage/tests/marionette/test_filter_received.js
rename : dom/sms/tests/marionette/test_filter_sent.js => dom/mobilemessage/tests/marionette/test_filter_sent.js
rename : dom/sms/tests/marionette/test_filter_unread.js => dom/mobilemessage/tests/marionette/test_filter_unread.js
rename : dom/sms/tests/marionette/test_getmessage.js => dom/mobilemessage/tests/marionette/test_getmessage.js
rename : dom/sms/tests/marionette/test_getmessage_notfound.js => dom/mobilemessage/tests/marionette/test_getmessage_notfound.js
rename : dom/sms/tests/marionette/test_getmessages.js => dom/mobilemessage/tests/marionette/test_getmessages.js
rename : dom/sms/tests/marionette/test_incoming.js => dom/mobilemessage/tests/marionette/test_incoming.js
rename : dom/sms/tests/marionette/test_incoming_delete.js => dom/mobilemessage/tests/marionette/test_incoming_delete.js
rename : dom/sms/tests/marionette/test_incoming_max_segments.js => dom/mobilemessage/tests/marionette/test_incoming_max_segments.js
rename : dom/sms/tests/marionette/test_incoming_multipart.js => dom/mobilemessage/tests/marionette/test_incoming_multipart.js
rename : dom/sms/tests/marionette/test_mark_msg_read.js => dom/mobilemessage/tests/marionette/test_mark_msg_read.js
rename : dom/sms/tests/marionette/test_mark_msg_read_error.js => dom/mobilemessage/tests/marionette/test_mark_msg_read_error.js
rename : dom/sms/tests/marionette/test_message_classes.js => dom/mobilemessage/tests/marionette/test_message_classes.js
rename : dom/sms/tests/marionette/test_outgoing.js => dom/mobilemessage/tests/marionette/test_outgoing.js
rename : dom/sms/tests/marionette/test_outgoing_delete.js => dom/mobilemessage/tests/marionette/test_outgoing_delete.js
rename : dom/sms/tests/marionette/test_outgoing_max_segments.js => dom/mobilemessage/tests/marionette/test_outgoing_max_segments.js
rename : dom/sms/tests/marionette/test_segment_info.js => dom/mobilemessage/tests/marionette/test_segment_info.js
rename : dom/sms/tests/marionette/test_strict_7bit_encoding.js => dom/mobilemessage/tests/marionette/test_strict_7bit_encoding.js
rename : dom/sms/tests/moz.build => dom/mobilemessage/tests/moz.build
rename : dom/sms/tests/test_sms_basics.html => dom/mobilemessage/tests/test_sms_basics.html
rename : dom/sms/tests/test_smsdatabaseservice.xul => dom/mobilemessage/tests/test_smsdatabaseservice.xul
rename : dom/sms/tests/test_smsfilter.html => dom/mobilemessage/tests/test_smsfilter.html
rename : dom/sms/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/test_smsservice_createsmsmessage.js
rename : dom/sms/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell.ini
2013-03-01 16:38:47 +08:00
Bob Clary
9a3a9bf6e5 Bug 846273 - robocop_autophone.ini is not included in the test package, r=ted. 2013-03-01 00:32:03 -08:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
0d9d430864 Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
L. David Baron
77f8f568f9 Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted
This adds support for assertion checking in all mochitest suites except
for mochitest-browser-chrome.  The checking works much like it does in
reftest, except for the mechanism for annotating expected assertions,
SimpleTest.expectAssertions() (see its in-code documentation).

The support is initially disabled in that:
 (1) It doesn't cause the tests to report failure (and thus turn the
     tree orange).
 (2) It prints TEST-DETCEPXENU-FAIL/PASS instead of
     TEST-UNEXPECTED-FAIL/PASS (so that it doesn't show up in log
     highlighting).

The assertion checking only works within the test runner (which runs
multiple tests); it does not function when running only a single test.
2013-02-24 23:42:38 -08:00
David Dahl
8f6bdde3f6 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Andrew Halberstadt
358b6b4cb6 Bug 845785 - Disable dom/imptests/webapps/DOMCore/tests/approved/test_Range-mutations.html for intermittent crash on b2g, r=jgriffin, DONTBUILD a=NPOTB 2013-02-27 13:31:13 -05:00
Andrew Halberstadt
ca72525bef Bug 843747 - Disable handful of b2g emulator mochitests that fail with an ubuntu vm as host, r=jgriffin
* * *
Bug 843747 - Disable dom/encoding/test/test_stringencoding.html for timeout on Ubuntu VM
* * *
Bug 843747 - disable mochitests that fail on Ubuntu 64 vm
2013-02-25 14:34:55 -05:00
Jonathan Griffin
aeda90cf83 Backup 71b3c9434182 for B2G mochitest bustage, bug 817638, on a CLOSED TREE 2013-02-27 18:44:12 -08:00
Martijn Wargers
e77384614a Bug 817638 - Add content mochitests to B2G, r=jgriffin 2013-02-27 15:38:42 -08:00
L. David Baron
189f32e914 Bug 404077: Enable checking of assertions in mochitests. 2013-02-27 13:20:28 -08:00
William Lachance
bbc8839eb5 Bug 842668 - Should always use dd instead of cp in b2g reftest/mochitest;r=ahal 2013-02-21 15:44:24 -05:00
Jonathan Griffin
ef6ca58b75 Bug 797628 - Use a 320x480 emulator by default, r=ahal 2013-02-11 12:41:32 -08:00
Joel Maher
f75f2eac35 Bug 843105 - allow robocop tests to be run in chunks. r=ted 2013-02-21 09:03:02 -05:00
Nathan Froyd
264ce0c65a Bug 832491 - enable --timeout support in browser-chrome mochitests; r=jmaher 2013-02-19 13:27:28 -05:00
David Dahl
391fb6f819 Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith 2013-02-15 15:38:15 -08:00
Ryan VanderMeulen
3f36df865f Backed out changeset b069f50c139e (bug 817638) for unexpected failures on a CLOSED TREE. 2013-02-15 15:44:56 -05:00
Martijn Wargers
e533122eb7 Bug 817638 - Enable content mochitests for B2G, r=jgriffin 2013-02-15 10:08:42 -08:00
Matt Brubeck
09455b61ce Bug 839340 - mach mochitest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:44 -08:00
Matt Brubeck
32382bf86c Bug 828691 - Add a mach command to run mochitest Metro chrome tests [r=gps] 2013-02-12 14:51:24 -06:00
Jim Mathies
602df0a30e Bug 771271 - Get mochitest-metro-chrome tests running in immersive mode. r=jmaher 2013-02-12 14:51:24 -06:00
David Clarke
c0557e94bd Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Martijn Wargers
e1f50ca84c Bug 830523 - Add larger set of DOM tests to B2G runs, r=jgriffin 2013-02-06 09:43:32 -08:00
Ed Morley
6a220466c3 Bug 823022 - Disable docshell/test/test_bug590573.html on Android for too many intermittent failures 2013-02-06 12:02:43 +00:00
Josh Aas
895a771a33 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-05 15:40:34 -06:00
Brian Nicholson
84b08b7baf Bug 837848 - Remove gecko property from handleGeckoMessage calls. r=mfinkle 2013-02-04 13:22:30 -08:00
Josh Aas
3482bb8b78 Back out fix for bug 647216 due to test failures. CLOSED TREE 2013-02-04 10:05:06 -06:00
Josh Aas
5d6290a834 Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-04 09:00:42 -06:00
Jonathan Griffin
5953760fa3 Bug 826135 - Fix --utility-path error on Fennec, r=gbrown 2013-01-25 11:35:15 -08:00
Matt Brubeck
2d1e41ef33 Bug 832101 - Allow EventUtils.sendMouseEvent to set pressure and inputSource [r=smaug] 2013-01-24 06:52:57 -08:00
Jonathan Griffin
583aa2da18 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Christian Holler
7c11cb5941 Bug 833018 - Enable special ASan options for tests when running with low memory. r=jmaher,a=nonlibxul 2013-01-22 16:48:02 +01:00
Jonathan Griffin
00bdbc4e74 Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Boris Zbarsky
958259eb05 Bug 823228 part 1. Make browser-test.js ignore indexed properties on the window when determining whether a test leaked properties onto the global. r=dao 2013-01-17 12:30:36 -05:00
Jonathan Griffin
8818cbdf98 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley
62c60a922b Backout a5b75feea6dd (bug 826111) on suspicion of breaking marionette on linux on a CLOSED TREE 2013-01-15 11:04:25 +00:00
Jonathan Griffin
49f9c17185 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Matt Brubeck
6091551f89 Bug 773598 - Add MIME types to script tags in mochitest/browser-harness.xul [r=jmaher]
This fixes an error in Metro debug builds that prevented scripts from using
JavaScript 1.7 features.
2013-01-11 16:40:28 -08:00
Geoff Brown
434d3a9919 Bug 822823 - Dump logcat on any robocop failure; r=jmaher 2013-01-10 02:24:58 -07:00
Ed Morley
f456edc31b Bug 811644 - Disable test_bug199692.html on Android for too many intermittent failures 2013-01-10 14:59:28 +00:00
Raymond Lee
8a98581fb1 Bug 806736 - Port test_privbrowsing.html to the new per-tab PB APIs. r=ehsan
--HG--
rename : toolkit/components/passwordmgr/test/test_privbrowsing.html => toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html
2013-01-09 12:21:29 +08:00
Ed Morley
d5e962c8ad Backout b51c3d819364 (bug 806736) for frequent intermittent failures in test_privbrowsing_perwindowpb.html 2013-01-07 21:17:54 +00:00
Raymond Lee
11e3d52e1e Bug 806736 - Port test_privbrowsing.html to the new per-tab PB APIs. r=ehsan
--HG--
rename : toolkit/components/passwordmgr/test/test_privbrowsing.html => toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html
2013-01-07 15:51:36 +08:00
Andrew Halberstadt
0c1d44517f Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only 2013-01-07 10:29:43 -05:00
Joel Maher
ba821b29a2 Bug 826769 - make mochitest-robotium may fail with: OSError: [Errno 2] No such file or directory: '/tmp/xxx/tests.jar'. r=gbrown 2013-01-04 13:42:32 -05:00
Joel Maher
80517d8d67 Bug 826308 - Robocop tests log output should contain begin/end block markers for the full test run. r=bc 2013-01-04 13:42:22 -05:00
Phil Ringnalda
a8d4016164 Bug 810705 - Reenable test_MochiKit-DOM-Safari.html on Linux now that bug 799295 should have fixed the crashes 2012-12-30 09:34:38 -08:00
Joel Maher
044f2bca27 Bug 736105 - robocop does a lot of redundant copying of profile and sleeps, we can cut runtime almost in half. r=gbrown 2012-12-28 07:18:22 -05:00
Jeff Walden
e5142499c5 Make SimpleTest.js runnable in non-Gecko browsers again. No bug, r=jmaher over IRC
--HG--
rename : browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css => browser/themes/gnomestripe/downloads/downloads.css
rename : browser/themes/winstripe/downloads/allDownloadsViewOverlay.css => browser/themes/winstripe/downloads/downloads.css
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/mochitest/test_bug_461710.html
extra : rebase_source : a0c2241ee37c74d1df60cccc02b3b08fb7c68f58
2012-12-20 17:57:29 -05:00
Geoff Brown
a881cc33fe Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
Bobby Holley
a14c09aa90 Bug 823120 - Fix templates. r=jmaher
Having <script> tags after the content, rather than before, encourages people to
do <iframe onload="go()"> before go is guaranteed to be defined.
2012-12-19 15:27:49 -08:00
Martijn Wargers
62fa0eed9f Bug 815416 - Enable layout mochitests for b2g, r=jgriffin, a=test-only 2012-12-14 15:49:11 -08:00
Jim Mathies
10c1c2ce73 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
David Chan
7c7a078529 Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
Georg Fritzsche
5beaeb5928 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
David Clarke
5491e62b96 Bug 814140 - Run b2g mochitests from an app hosted on the mochitest server, r=ahal 2012-12-05 14:28:00 -05:00
Geoff Brown
fae430bbe9 Bug 819093 - Use strings for env values in remote mochitest; r=jmaher DONTBUILD 2012-12-07 09:04:01 -07:00
Ehsan Akhgari
c4e74b26fa Bug 816406 - Disallow dragging a private tab into a non-private window and vice versa; r=dao 2012-12-02 15:57:06 -05:00
Ed Morley
fd8816e572 Merge mozilla-central to mozilla-inbound DONTBUILD since all NPOTB 2012-12-05 23:43:42 +00:00
Gregory Szorc
28b3111621 Bug 797101 - Support running mochitests under debugger with mach; r=Ms2ger 2012-12-05 14:27:54 -08:00
Ed Morley
8fa554149c Bug 784321 - Disable test_framedhistoryframes.html on Android for too many intermittent failures 2012-12-05 15:14:10 +00:00
Ed Morley
f5d0542c98 Bug 783589 - Disable test_popup-navigates-children.html on Android for too many intermittent failures 2012-12-05 15:14:10 +00:00
Brian Smith
8b107fc7c0 Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted
--HG--
extra : rebase_source : d3d9c1e474bee2c0952d5d71cb3e7460d661a5aa
2012-11-12 09:42:33 -08:00
Ed Morley
f0f49ff1ad Bug 765200 - Shorten errors of type: "an unexpected uncaught JS exception reported through window.onerror - ..."; r=jmaher 2012-12-04 17:45:32 +00:00
Ed Morley
c1020239e9 Bug 816532 - Print logcat for failed robocop tests; r=gbrown 2012-12-04 15:54:37 +00:00
Jonathan Griffin
8a78ad1330 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Ms2ger
7482762720 Bug 809097 - Add a testharness.js case to gen_template.pl; r=jhammel 2012-12-02 09:59:36 +01:00
Brian Smith
62fead1afa Backed out changeset 329da1081148
--HG--
extra : rebase_source : 9efe319bbff8d9a3f55208686d238626bf6d0dc0
2012-11-30 19:36:08 -08:00
Brian Smith
d5e492d0d1 Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted 2012-11-12 09:42:33 -08:00
Jonathan Griffin
88f130fcb5 Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
fa9a57fe33 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Joel Maher
7931aa2846 Bug 811444 - panda boards magically reboot in the middle of the test. r=ted 2012-11-28 10:23:11 -05:00
Ehsan Akhgari
4705d26487 Bug 814519 - Fix a typo in SimpleTest/setup.js; r=ted 2012-11-27 14:02:08 -05:00
Peter Van der Beken
243151f563 Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz. 2012-11-19 11:59:13 +01:00
Ed Morley
bf7072426a Bug 814011 - Robocop should output the runTests() return code for that batch of tests, if non-zero; r=gbrown 2012-11-21 18:57:11 +00:00
Ed Morley
dc8a9941a8 Bug 814013 - Always print the final robocop pass/fail summary, even if we received a non-zero return value; r=gbrown 2012-11-21 18:53:48 +00:00
Ed Morley
4a75cec196 Bug 808410 - Ensure retVal is set even when mochitest.cleanup did not generate an exception; r=ahal 2012-11-20 15:24:28 +00:00
Ed Morley
f925758d29 Bug 808410 - Ensure non-zero return values for robocop tests aren't overwritten by later success; r=gbrown 2012-11-20 15:24:28 +00:00
Mounir Lamouri
1acad9fc93 Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz 2012-11-19 23:18:21 +00:00
Andrew Halberstadt
443a146159 Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Phil Ringnalda
a14e25163d Bug 810705 - Disable test_MochiKit-DOM-Safari.html on Linux because of PGO non-profiling crashes; r=ehsan
--HG--
extra : rebase_source : b2145a00d88acd9d17092b9398d2b97468cdeeb8
2012-11-19 14:12:38 -05:00
Jonathan Griffin
4e468d9be2 Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
Zack Weinberg
b90cc17174 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
401bd9646a Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Tanvi Vyas
3b2cc6d2b5 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp (r=bz) 2012-11-16 12:40:07 -08:00
Zack Weinberg
c1f34c416f Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Ryan VanderMeulen
d3f7598cf3 Backed out changesets 5bdf8bbcd02f and df27137cb7d1 (bug 803225) for mochitest orange. 2012-11-15 22:16:03 -05:00
Tanvi Vyas
7d447711f2 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp. r=bz, r=smaug 2012-11-15 20:34:56 -05:00
Ryan VanderMeulen
8187210f11 Merge the last PGO-green inbound changeset to m-c. 2012-11-14 21:43:07 -05:00
Gregory Szorc
2c33633e4d Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger 2012-11-14 12:56:02 -08:00
William Lachance
f81e82b933 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Ed Morley
e01730fa5e Bug 798220 - Disable test_xhr_timeout.html on Android for intermittent failures 2012-11-12 14:44:10 +00:00
William Lachance
5a3130a3ae Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Brian Smith
20fdba1c78 Bug 804441: Put our NSPR and NSS header wrappers before OS_INCLUDES, r=ted
This allows inline functions in headers to call NSPR/NSS functions without
causing linking errors.

--HG--
extra : rebase_source : f89df8a53d6e8f624c84fc3b84982c4dd92d5f38
2012-10-24 14:31:54 -07:00
Justin Lebar
114ec5cd8d Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-10 10:32:38 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
8c926613e7 Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Andrew Halberstadt
336d764b8c Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -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
Andrew Halberstadt
638ef460b8 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
33e0ad4927 Bug 536603 - Disable test_css_cross_domain.html on Android for too many intermittent failures 2012-11-06 22:26:56 +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
Jonathan Griffin
f59e1aeec2 Bug 808441 - Enable dom/base mochitests for B2G, a=test-only 2012-11-04 15:24:53 -08:00
Ryan VanderMeulen
d716366c32 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Dão Gottwald
5b3ee5260f Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-02 03:46:56 +01:00
Josh Aas
4c7422ffc4 Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Jonathan Griffin
916b4da168 Bug 807137 - Exclude test_innerWidthHeight from B2G testruns, since it times out, a=test-only, DONTBUILD(NPOTB) 2012-10-30 15:55:11 -07: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
Ryan VanderMeulen
043db7616b Backout e35f252ca573 for mochitest-other orange.
CLOSED TREE

--HG--
extra : rebase_source : 62e15f7306c4443d91daf6af66be9b7012ada9cc
2012-11-01 19:31:02 -04:00
Ryan VanderMeulen
0aa6d668d3 Merge m-c to inbound. 2012-11-01 19:23:07 -04:00
Dão Gottwald
6d4b82ba46 Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-01 22:00:35 +01:00
Jonathan Griffin
c9a2af4575 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
Markus Stange
9e63676c33 Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin 2012-10-26 15:40:11 -04:00
William Lachance
e5adaff9ff Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Jonathan Griffin
72eff332fd Bug 803745 - Package b2g.json in tests.zip, r=jmaher 2012-10-19 17:19:22 -07:00
Ryan VanderMeulen
a1972707e0 Merge the last PGO-green inbound changeset to m-c. 2012-10-17 22:10:08 -04:00
Jonathan Griffin
f1b8efd548 Bug 793045 - B2G mochitest manifest for harness stabilization, r=jmaher, DONTBUILD(NPOTB) 2012-10-17 15:32:46 -07:00
Joel Maher
7217f498ae Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Masayuki Nakano
8217ef94b6 Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Joel Maher
55205d9eef Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
c321e288af Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
William Lachance
3d699579d7 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
Joel Maher
b8e9d0187b Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2229b63364 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Jeff Hammel
884b0385b0 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Gregory Szorc
2bb5606ff3 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07: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
Ms2ger
3ed6579510 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Brian Nicholson
ea3698b8de Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Simon Montagu
25e8f55bc0 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
William Lachance
54d781abf7 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
c704d186dc Disable test_notifications_popup.html from bug 784028 on android since it's lacking PopupNotifications 2012-10-03 20:54:37 -07:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
325089208a Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
d37007e0cd Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach 2012-10-03 11:07:31 -04:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Vladimir Vukicevic
2864c47b46 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Phil Ringnalda
8aa24b1c1a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
5cad8381bb Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00
Isaac Aggrey
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Bob Clary
9f3fa1ad30 Bug 789086 - use unique temporary filename for robotium.config file in mochitest/runtestsremote.py, r=jmaher. 2012-09-28 12:25:46 -07:00
Mounir Lamouri
45c2bff831 Bug 773373 part 6 - Disable tests on Android. r=sicking 2012-09-25 23:33:02 +01:00
Andrea Marchesini
b13172b91d Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
515994bfb3 Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Joel Maher
c3c481579d Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Gregor Wagner
f7fc6f1852 Bug 792536 - Enable contacts and settings tests on mobile. r=fabrice 2012-09-19 21:37:05 -07:00
Gregor Wagner
a3f5338aff Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Graeme McCutcheon
5855c286f2 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-09-19 15:15:34 +01:00
Ehsan Akhgari
6b89c15794 Improve the failure message when a mochitest ends without a call to SimpleTest.finish, no bug, irc-r=vlad
DONTBUILD
2012-09-18 21:54:53 -04:00
David Clarke
ac0fc975da Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
Christian Holler
49974c5e53 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Gregor Wagner
da64ed1681 Backout bug 770731 2012-09-18 16:19:56 -07:00
Gregor Wagner
6ff65c4c09 Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-18 14:52:39 -07:00
Tanvi Vyas
29c1c82c22 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr (Disabled on android until ssl is supported), r=smaug 2012-09-16 20:53:01 -07:00