Commit Graph

2340 Commits

Author SHA1 Message Date
Wes Kocher
d071f9ccf7 Bug 787346 - Update revision of Jetpack code used in Firefox tests to pick up the new SDK layout. 2012-10-15 14:31:35 -07:00
Joel Maher
c4cee4ab7a Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
d925c6eb2a 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
Joel Maher
66804796f2 Bug 801633 - upload a new talos.zip to capture latest talos changes. r=armenzg 2012-10-15 11:13:43 -04:00
William Lachance
64e676bbc5 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
0d6866c6ab Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
b39722815e 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
Ryan VanderMeulen
3075806156 Merge inbound to m-c. 2012-10-13 04:36:33 -04:00
Jeff Hammel
358ea0a98e Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Jonathan Griffin
dfafcd24d5 Bug 800641 - Add mozfile to mozbase packages in test.zip, r=jhammel 2012-10-11 16:44:11 -07:00
Al Tsai
fc802c6844 Bug 777983 - Add marionette test for b2g gps provider. r=dougt 2012-10-11 21:31:39 -04:00
Jonathan Griffin
9c158ff420 Bug 800102 - Make installing gecko on B2G emulator more reliable, r=ahal, DONTBUILD(NPOTB) 2012-10-11 12:07:34 -07:00
Ehsan Akhgari
60c0879cc1 Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Gregory Szorc
2c1dced77a 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
28c7dd206c 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
Ryan VanderMeulen
5b05916649 Merge the last PGO-green inbound changeset to m-c. 2012-10-09 21:10:12 -04:00
Ehsan Akhgari
10e6a59d5f 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
David Clarke
ec3ebe520f Bug 797513 - Add geolocation class to Marionette emulator, r=jgriffin, DONTBUILD(NPOTB) 2012-10-09 15:50:09 -07:00
Ted Mielczarek
48379d1462 bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Jeff Hammel
00695ab541 Bug 799605 - Mirror mozbase -> m-c for bug 799288 and bug 799507 @ https://github.com/mozilla/mozbase/commit/ 36a2f63be33af799a54d7f1511dc922730b10b22 ; r=wlach 2012-10-10 09:27:06 -07:00
Ehsan Akhgari
b156d1d1a0 Bug 798508 - Part 1: Implement the "private" window.open feature; r=bzbarsky
This patch adds support for a "private" window flag which can be used to
open new chrome windows in private browsing mode.  It also tests to make
sure that the flag is not accessible from content.  A test in the next
part makes sure that the flag is accessible from chrome.
2012-10-07 15:04:39 -04:00
Bobby Holley
425d3f6e6e Bug 794420 - Remove hard edge from SpecialPowers to window.Components. r=khuey
This causes us to leak every window ever, a la bug 722428.
2012-10-10 10:57:38 +02:00
Ed Morley
c7463ff738 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
fc148f0065 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
Ms2ger
860a3dc1e2 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Wes Kocher
4c52d031e2 No bug - Update Jetpack tests on mozilla-central to get current code before the Aurora merge. 2012-10-05 23:48:39 -07:00
Brian Nicholson
0fc2b4a24b Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Albert Crespell
8c29e01d00 Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Simon Montagu
21fb9bae35 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
William Lachance
382c927895 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
4da0d7ca67 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
bf74ef16e1 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
d309e30f04 Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
18c694618d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
ab95313c1f Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
4c08ecc761 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Marshall Culpepper
e57aecb68c Bug 797154: A new virtualenv frontend for B2G mochitests. r=jgriffin 2012-10-03 12:50:07 -05:00
Jeff Hammel
626816e3a2 Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Patrick Wang
2cfef0b277 Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
e2dde9e46d 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
Masatoshi Kimura
6aa99b0162 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
Justin Lebar
aa5d8bf209 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
David Rajchenbach-Teller
12763a4b64 Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Ryan VanderMeulen
6a03f9154d Merge m-c to inbound. 2012-10-02 16:38:45 -04:00
Justin Lebar
d332c4aac6 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Jonathan Griffin
021b4a797e Bug 796019 - Make Marionette smarter about registering frame scripts, r=mdas, DONTBUILD(NPOTB) 2012-10-02 10:37:47 -07:00
Gervase Markham
ee372dcfcd Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
Vladimir Vukicevic
f01fc07d9d b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Jeff Hammel
9f39e486d8 Bug 795943 - Mirror mozbase -> m-c for week of Oct 1 @ 22aa0aee78;r=wlach
--HG--
extra : rebase_source : 389b6c3a2923c40167698b477e4d57b230b1a063
2012-10-01 14:00:55 -07:00
Justin Lebar
283e4325e8 Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD 2012-10-02 12:04:24 -04:00
Andrea Marchesini
d0d72db6af Bug 793310 - Support sms:, tel: and mailto: URI schemes, r=philipp 2012-10-01 11:28:01 -07:00
Andrew Halberstadt
337c6cc0d9 Bug 685903 - Remove firebug automation from testing/firebug. r=jhammel 2012-09-26 11:07:07 -04:00
Phil Ringnalda
72a97ced78 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
20dd46d389 Bug 775116 - Fix frame switching to work with id, name, and remote frames, r=mdas, DONTBUILD(NPOTB) 2012-09-28 16:16:22 -07:00
Jonathan Griffin
305591d389 Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00
Bob Clary
f04fd819f8 Bug 789086 - use unique temporary filename for robotium.config file in mochitest/runtestsremote.py, r=jmaher. 2012-09-28 12:25:46 -07:00
Ryan VanderMeulen
1d063da395 Merge m-c to inbound. 2012-09-27 23:05:53 -04:00
Jonathan Griffin
c03452e30e Bug 789976 - Add --gecko-path argument to Marionette, r=ahal, DONTBUILD (NPOTB) 2012-09-27 13:47:17 -07:00
Jonathan Griffin
7b8f2267f6 Bug 794692 - Change Marionette's package name to marionette_client, r=mdas, DONTBUILD (NPOTB) 2012-09-27 10:42:37 -07:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Josh Matthews
a0b3faca52 Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Malini Das
8b1b4bdbd7 Bug 792084 - add shellCheckOutput command to devicemanager, r=wlach 2012-09-26 12:32:02 -04:00
Mounir Lamouri
fcf8b24597 Bug 773373 part 6 - Disable tests on Android. r=sicking 2012-09-25 23:33:02 +01:00
Ed Morley
635b92ba9f Bug 793739 - mirror mozbase to m-c for week of Sept 24, 2012 @ b12b008846;r=jhammel 2012-09-25 09:35:14 -07:00
Jeff Hammel
9f5abf8621 Bug 793746 - point to new talos.zip for dzclient;r=jmaher 2012-09-25 09:10:16 -07:00
Andrea Marchesini
f90a417ca8 Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Ted Mielczarek
93a2b380cb bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher 2012-09-13 15:43:28 -04:00
Wes Kocher
1ac836e335 Update Jetpack tests used in Firefox to pick up the fix for bug 793052. 2012-09-24 09:57:34 -07:00
Bobby Holley
c64d31c5e0 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
243891d310 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
Wes Kocher
6665affb52 Update Jetpack tests in Firefox to pick up bug 793035. 2012-09-21 13:44:04 -07:00
Ryan VanderMeulen
c68f4714e3 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Jonathan Griffin
ecc5e730cb Bug 792173 - Add TEST-UNEXPECTED-FAIL output to Marionette, r=mdas, DONTBUILD because NPOTB 2012-09-20 15:09:57 -07:00
Jonathan Griffin
7203885d2b Bug 792945 - Remove datazilla from Marionette deps, r=mdas 2012-09-20 15:03:50 -07:00
Phil Ringnalda
6d50fa80a7 Back out 1e7050c52cb9 (bug 792850), 776f7325952b (bug 705047), 2e1be0680e70 (bug 733501), 6adef296963c (bug 791775), b8397781f862 (bug 792391) for WinXP hangs and suspicion of breaking Android stacks 2012-09-20 14:38:14 -07:00
Jonathan Griffin
f10c4d9a5b Bug 791346 - Fix Marionette shutdown problems on Windows, r=dburns, DONTBUILD because NPOTB 2012-09-20 11:13:42 -07:00
Wes Kocher
7c31f28a5d Update Jetpack tests used in Firefox to fix bug 792269. 2012-09-19 16:41:49 -07:00
Ted Mielczarek
b35d21be17 bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher
--HG--
extra : rebase_source : fbda47ca470ea6325aca5f99ab1a59fe911aafdd
2012-09-13 15:43:28 -04:00
Joel Maher
70ddebfc21 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
Hubert Figuière
b754fd1bb0 Bug 777145 - Part 2: Make sure we are online when runing marionette. r=jgriffin
--HG--
extra : rebase_source : ffadd060d43d3c0839573988afd35c2be67ebf8f
2012-09-19 13:31:03 -07:00
Gregor Wagner
8cbd354d16 Bug 792536 - Enable contacts and settings tests on mobile. r=fabrice 2012-09-19 21:37:05 -07:00
Gregor Wagner
2f5d2e9f4a Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Graeme McCutcheon
13c767cf84 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-09-19 15:15:34 +01:00
Ehsan Akhgari
c54e9a3bb2 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
ef29a0fbe3 Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
Jonathan Griffin
10172d4028 Bug 791033 - Allow tests to provide custom pass/fail strings for is/isnot/ok assertions, r=mdas 2012-09-14 14:34:38 -07:00
Jeff Hammel
32c2c1da47 Bug 791716 - mirror mozbase -> m-c for week of Sept 17, 2012;r=wlach 2012-09-17 15:13:45 -07:00
Christian Holler
f103881675 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Gregor Wagner
45182816a6 Backout bug 770731 2012-09-18 16:19:56 -07:00
Wes Kocher
3fad62a222 Update Jetpack code used in Firefox to fix bug 790395 2012-09-18 16:15:15 -07:00
Jonathan Griffin
7980e436fe Bug 792228 - Let marionette recognize NodeList during findelements, r=mdas 2012-09-18 14:20:20 -07:00
Gregor Wagner
25f4b524a1 Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-18 14:52:39 -07:00
Jonathan Griffin
dc62382d18 Bug 790827 - Don't package android apk's for B2G, r=ted 2012-09-13 13:46:02 -07:00
David Burns
ed514e3c98 Bug 787545: Allow Marionette on fennec to return a session; r=jgriffin 2012-09-18 01:08:55 -07:00
Jonathan Griffin
3089007218 Bug 790465 - Refactor Marionette testrunner to make it easier to write Gaia tests, r=mdas 2012-09-14 15:04:34 -07:00
Tanvi Vyas
595ac1b255 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
Ryan VanderMeulen
b1b683efed Merge m-c to inbound. 2012-09-14 21:16:25 -04:00
Ryan VanderMeulen
8c911106aa Merge the last PGO-green inbound changeset to m-c. 2012-09-14 21:09:07 -04:00
Mihnea Dobrescu-Balaur
f7eac309e7 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
Jeff Hammel
255161f9e1 bug 702832 follow up: add license header;r=wlach DONTBUILD because NPOTB
--HG--
extra : rebase_source : 054283ae7cd75772a8303358e553f5d8b78ec680
2012-09-14 14:17:32 -07:00
Jeff Hammel
8187290f06 Bug 702832 - solidify strategy to sync mozbase packages to m-c;r=wlach DONTBUILD because NPOTB 2012-09-14 14:12:35 -07:00
Adam Dane [:hobophobe]
b6842875b3 Bug 787624 - Test for bug 787624. r=roc 2012-09-14 15:00:21 -05:00
Paul Adenot
d1b985c6a9 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
Ed Morley
2e19324705 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-12 21:50:56 +01:00
Joel Maher
93ad1b2545 Bug 790271 - upload new talos.zip to capture fix for fennec robocop and xperf reporting. r=armenzg 2012-09-12 07:56:46 -04:00
Kartikaya Gupta
556edf6838 Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher 2012-09-12 07:56:31 -04:00
Ted Mielczarek
1de87e5975 Bug 789623 - Skip packaging pyc tests in test package, r=glandium, CLOSED TREE 2012-09-03 20:23:40 -04:00
Jeff Hammel
23bc3306f4 Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -07:00
Georg Fritzsche
40a04e4be6 Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Mihnea Dobrescu-Balaur
af019b9a83 Bug 786848 - Add ability to post xpcshell test results to autolog, r=jgriffin 2012-09-10 11:15:00 -07:00
Mark Cote
8ae3041609 Bug 789496 - DeviceManagerSUT: always consume prompt after receiving agent warning. r=wlach 2012-09-10 11:33:11 -04:00
Mihnea Dobrescu-Balaur
5744df9068 Bug 785797 - adapt test_info to the current implemented functionality 2012-09-10 11:23:45 -04:00
Jeff Hammel
0e05e91e98 Bug 789328 - bump mozprocess and mozrunner (again) and release to pypi 2012-09-10 11:13:04 -04:00
Jonathan Griffin
f360150288 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin
f391e7b944 backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin
d433b7553c Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00
Ryan VanderMeulen
a65ee05be3 Merge m-c to inbound. 2012-09-07 16:22:55 -04:00
Hao Gao
bf75381039 Bug 787116 - Use self.stream to write Marionette log lines, r=jgriffin, DONTBUILD because NPOTB 2012-09-07 10:04:44 -07:00
Boris Zbarsky
a562efcb37 Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
William Lachance
980573bf62 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
Masayuki Nakano
f4a88425eb Bug 788401 Avoid JS warnings in EventUtils.synthesizeWheel() r=smaug 2012-09-07 09:53:27 +09:00
Ryan VanderMeulen
cefb04b0b0 Merge m-c to inbound. 2012-09-06 17:58:41 -04:00
Jonathan Griffin
d97c35f5fc Bug 788854 - Escape backslash in filenames, r=mdas, DONTBUILD because NPOTB 2012-09-05 17:19:15 -07:00
Mike Hommey
728a1bee73 Bug 788463 - Import log4moz.js from resource:/// instead of resource://gre/. r=mdas 2012-09-06 08:13:13 +02:00
Wes Kocher
3f53268ef5 Update Jetpack tests in Firefox to pick up bug 774709's tentative fix. 2012-09-06 10:33:59 -07:00
Ryan VanderMeulen
559bc624f6 Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Scott Johnson
32391cde9d Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Myk Melez
9ab726eee5 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Geoff Brown
7c9a912940 Bug 783011 - Change order of command line args for android xpcshell tests; r=jmaher 2012-09-05 07:42:02 -06:00
Jonathan Griffin
d31ab32b8a Bug 756577 - Return an error if unable to load a page during navigate(); r=mdas, DONTBUILD because NPOTB 2012-08-21 14:00:44 -07:00
Ryan VanderMeulen
9dbc069e42 Merge the last PGO-green inbound changeset to m-c. 2012-09-04 21:45:09 -04:00
Joel Maher
7773dee6d7 Bug 788235 - update a new talos.zip to capture xperf io tracking and correct product info for datazilla. r=armenzg 2012-09-04 15:43:40 -04:00
Wes Kocher
c3aef702be Update Jetpack code tested in Firefox to pick up the additional logging from bug 774709. 2012-09-03 17:49:05 -07:00
Ryan VanderMeulen
58238d867a Merge the last PGO-green inbound changeset to m-c. 2012-08-31 21:36:07 -04:00
Jonathan Griffin
a03150a2a5 Bug 779011 - Clean up properly after JS exceptions during async_execute calls, a=test-only, DONTBUILD because NPOTB 2012-08-31 13:59:48 -07:00
Jonathan Griffin
47277d3abf Bug 787520 - Fix test_log.py, a=test-only, DONTBUILD because NPOTB 2012-08-31 11:58:18 -07:00
Mihnea Dobrescu-Balaur
c9cea99dbd Bug 786866 - export LD_PRELOAD for xpcshell tests on B2G, r=jgriffin, DONTBUILD because NPOTB 2012-08-29 17:16:07 -07:00
Brian R. Bondy
e5dea77d70 Bug 785744 - Async file picker cleanup. r=neil 2012-08-29 14:37:43 -04:00
Ryan VanderMeulen
3bc2958a71 Merge m-c to inbound. 2012-09-04 21:01:50 -04:00
Jonathan Griffin
c4772eb65f Bug 786463 - Add TEST-START and TEST-END to output, r=mdas, DONTBUILD because NPOTB 2012-08-29 10:39:11 -07:00
Josh Matthews
0dccabc0a0 Bug 773956 - Fix up invalid syntax and configurations in xpcshell.ini. r=jmaher 2012-07-14 10:48:45 -04:00
Wes Kocher
ab90b5686f Bug 786399 - Update Jetpack tests used in Firefox tests. r=mossop 2012-08-29 07:49:26 -05:00
Jonathan Griffin
16bdd1ac98 Bug 786094 - Track the current chrome window during a session, r=mdas, DONTBUILD because NPOTB 2012-08-28 11:14:30 -07:00
Jonathan Griffin
81585f8e62 Bug 786032 - Make search timeouts fail successfully, r=mdas, DONTBUILD because NPOTB 2012-08-27 13:50:34 -07:00
Mounir Lamouri
ff8261b707 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Ryan VanderMeulen
ffecb2031f Merge m-c to inbound. 2012-08-27 12:51:10 -04:00
Jonathan Griffin
39378ceee0 Bug 785273 - Fix MarionetteJS case breakage, a=test-only, DONTBUILD because NPOTB 2012-08-27 09:34:23 -07:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Mounir Lamouri
6e11fd8228 Bug 619236 - Set user_version in generated permissions.sqlite for tests. r=sicking 2012-08-23 11:39:41 -07:00
Mounir Lamouri
f2974f3cbd Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking 2012-08-23 11:38:26 -07:00
Dave Camp
16ef756e44 Merge fx-team to m-c 2012-08-25 16:56:09 -07:00
Dave Camp
260d8fc329 Bug 785635 - Markup panel undo is broken. r=jwalker 2012-08-25 11:04:47 -07:00
Ryan VanderMeulen
f88b773991 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Joel Maher
9513d34851 Bug 785249 - deploy new talos.zip to capture recent changes. r=coop 2012-08-24 11:22:43 -04:00
Chris Jones
bf0b224214 No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
124a2df024 Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
e880c79745 Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Johannes Vogel
4771d15435 Bug 755856 - make marionette client look for adb in path first, r=mdas 2012-08-23 15:46:48 -04:00
Mounir Lamouri
b8cd71234c Bug 619236 - Set user_version in generated permissions.sqlite for tests. r=sicking 2012-08-23 11:39:41 -07:00
Mounir Lamouri
c99ed99904 Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking 2012-08-23 11:38:26 -07:00
Mounir Lamouri
e2963d6494 Bug 775815 - Use new Permission Manager API in SpecialPowers. r=sicking 2012-08-23 11:23:48 -07:00
Kyle Machulis
255406cbe7 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Bobby Holley
e58c6342c9 Bug 785162 - Disable test_bug760802.html on android. r=smaug,dougt 2012-08-23 11:45:28 -07:00
Kyle Machulis
1485cd59c9 Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis
7eb2fcd355 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
b836bcf93f Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
b29f5f6001 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
428ec0171b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Mark Capella
a2d27e5a14 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
Jonathan Griffin
d005df685b Bug 785273 - Prevent circular references to Marionette instances, r=mdas 2012-08-23 17:31:42 -07:00
Ryan VanderMeulen
6a130b0407 Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Vicamo Yang
26ae05bb6d Bug 707659 - Part 2: fix test scripts, r=philikon 2012-08-23 01:30:40 +08:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
jmaher@mozilla.com
28f7095817 Bug 781580 - deploy a new talos.zip to capture bug 781507;r=Callek 2012-08-21 20:57:11 -07:00
Donovan Preston
59c3f2f38b Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Ed Morley
f67e6384d0 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
4e92071ac7 Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Wes Kocher
55f11925ad Bug 784113 - Update Jetpack code being tested against mozilla-central.
--HG--
extra : rebase_source : 157a1246653d6a58eddeaca0defc97a3a58d6e92
2012-08-20 16:13:46 -05:00
Ian Melven
0accdcb109 Bug 341604 - tests for iframe sandbox - plugins r=jst 2012-08-20 11:34:33 -07:00
Wes Kocher
a2f7cf0719 Bug 783728 - Update revision of Jetpack code tested on m-c. r=philor 2012-08-17 21:29:52 -05:00
Bobby Holley
e80993f0d4 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Brian R. Bondy
641186f842 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Ed Morley
e8a1951fde Bug 783515 - Re-enable falsely blamed native Android M3 tests now dom/indexedDB/ipc/test_ipc.html is disabled; r=gbrown,jmaher 2012-08-17 14:42:26 +01:00
Ed Morley
37d5a229ad Bug 783509 - Disable the newly created test_browserElement_inproc_AppWindowNamespace.html on Android for permaorange timeouts; r=jmaher 2012-08-17 14:42:26 +01:00
Ed Morley
acba0c1f75 Bug 783513 - Disable dom/indexedDB/ipc/test_ipc.html on Android for mochitest-3 permaorange due to OOMs; r=jmaher 2012-08-17 14:42:26 +01:00
Phil Ringnalda
d8f4aa9d3c Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Bobby Holley
5a6f34eba3 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-16 18:33:27 -07:00
Myk Melez
9922c76c72 bug 783391 - NS_ERROR_FILE_IS_DIRECTORY on mochitest-chrome runs; r=adw 2012-08-16 15:20:29 -07:00
Bob Silverberg
a45f7b3609 Bug 781920 - Remove getElementValue from HTMLElement in Marionette. r=dburns 2012-08-16 17:35:20 -04:00
Jonathan Griffin
e0b4eafdf0 Bug 783132 - bump mozprocess dep and add call to processOutput, r=ahal, DONTBUILD because NPOTB 2012-08-16 10:59:47 -07:00
Jonathan Griffin
c62a48cb54 Bug 783120 - Make datazilla import conditional on options.pref, r=mdas 2012-08-16 10:55:25 -07:00
Ekanan Ketunuti
6b8bb27da3 Bug 781932 - Update enabled() to be is_enabled to make Selenium API. r=jgriffin 2012-08-15 08:21:41 +07:00
Myk Melez
37ce4e65cd bug 770770: refactor webapp runtime test harness to reduce complexity/special-casing; r=adw
--HG--
extra : rebase_source : 183331b565d8c0577c9ba60a89f3c1ea6b11af9a
2012-08-14 15:27:26 -07:00
Bobby Holley
fd354b6384 Bug 781521 - Fix test_SpecialPowersExtension. r=Ms2ger
The constructor function lives in content, but it's being invoked from chrome, so the |this| object is actually privileged.
2012-08-14 20:54:33 -07:00
Sanchit Gangwar
14cfcf8448 Bug 781935 - Change the function names in /testing/marionette/client/marionette/tests/unit/test_selected.py. r=jgriffin 2012-08-13 00:24:42 +05:30
David Keeler
c9b632ded8 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Ed Morley
f8d0a70603 Bug 782431 - Disable dom/imptests/editing/selecttest/* on Android for being permaorange 2012-08-13 23:09:29 +01:00
Ed Morley
36f267d3fe Bug 782328 - Disable dom/imptests/webapps/DOMCore/tests/approved/* on Android for being permaorange; r=Ms2ger 2012-08-13 18:44:25 +01:00
Ed Morley
9c9c80e6c9 Bug 782275 - Disable devicestorage tests on Android; r=dougt 2012-08-13 18:44:25 +01:00
Jonathan Griffin
4ddae57e84 Bug 777842 - make Marionette Python2.6 compatible, r=dburns 2012-08-10 17:04:28 -07:00