Commit Graph

2434 Commits

Author SHA1 Message Date
Joel Maher
975fa8f860 Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2ac065a653 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
aff5207df8 Merge inbound to m-c. 2012-10-13 04:36:33 -04:00
Jeff Hammel
d765443550 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Jonathan Griffin
44e11e74c9 Bug 800641 - Add mozfile to mozbase packages in test.zip, r=jhammel 2012-10-11 16:44:11 -07:00
Al Tsai
0a5276ac37 Bug 777983 - Add marionette test for b2g gps provider. r=dougt 2012-10-11 21:31:39 -04:00
Jonathan Griffin
32595346ae Bug 800102 - Make installing gecko on B2G emulator more reliable, r=ahal, DONTBUILD(NPOTB) 2012-10-11 12:07:34 -07:00
Ehsan Akhgari
4e49b86a4a Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Gregory Szorc
03f6510b34 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
3dd8150678 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
d8ec8fd542 Merge the last PGO-green inbound changeset to m-c. 2012-10-09 21:10:12 -04:00
Ehsan Akhgari
b9a98507da 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
047c93e64f Bug 797513 - Add geolocation class to Marionette emulator, r=jgriffin, DONTBUILD(NPOTB) 2012-10-09 15:50:09 -07:00
Ted Mielczarek
d53b2c12ef 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
a42ab51c5b 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
5c3d6544e2 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
f48983b4ed 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
8353502053 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
af1ccf9fc9 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
20085560d9 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Wes Kocher
cfeee1215e 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
9b1cdd0fbe Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Albert Crespell
c450877df2 Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Simon Montagu
4bef6a2052 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
William Lachance
c5f092dab4 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
edb0abd581 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
3c0d348b0c 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
97e964573e Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
bac3799c10 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
c8cb8dc8b8 Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
e537e59ad4 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Marshall Culpepper
55b9441df8 Bug 797154: A new virtualenv frontend for B2G mochitests. r=jgriffin 2012-10-03 12:50:07 -05:00
Jeff Hammel
8debe5cabb Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Patrick Wang
d4e9c05829 Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
23f83e405b 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
a31808914d 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
a1db0ce78f 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
e6a8c6b79b Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Ryan VanderMeulen
9a8375e98e Merge m-c to inbound. 2012-10-02 16:38:45 -04:00
Justin Lebar
91b51e08b1 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Jonathan Griffin
0dd643fca4 Bug 796019 - Make Marionette smarter about registering frame scripts, r=mdas, DONTBUILD(NPOTB) 2012-10-02 10:37:47 -07:00
Gervase Markham
ba3ce6f467 Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
Vladimir Vukicevic
022565fe50 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Jeff Hammel
1a43e8a377 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
82e6843b16 Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD 2012-10-02 12:04:24 -04:00
Andrea Marchesini
1827b6489f Bug 793310 - Support sms:, tel: and mailto: URI schemes, r=philipp 2012-10-01 11:28:01 -07:00
Andrew Halberstadt
8a624c2363 Bug 685903 - Remove firebug automation from testing/firebug. r=jhammel 2012-09-26 11:07:07 -04:00
Phil Ringnalda
3b62c5485a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
4ea382dcba 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
bb23dbc168 Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00