Граф коммитов

2415 Коммитов

Автор SHA1 Сообщение Дата
Julien Pagès 6fc512a277 Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin
--HG--
extra : commitid : 1u2hg9TLMDm
extra : rebase_source : 15c838886a8630ff54a55b6e1f9b4d680f36c72c
2015-06-29 20:09:51 +02:00
Julien Pagès c1802eb571 Bug 1177780 - remove useless stuff in automation.py. r=jgriffin
--HG--
extra : commitid : 3mgWZQdnDa4
extra : rebase_source : f8b91fff719dbeda7923a7e8c2c3e01a856d9b14
2015-06-26 22:45:18 +02:00
Myk Melez 445032c4c3 Bug 1168737 - specify runtime with command-line arg on Mac for tests; r=jmaher,marco 2015-06-26 09:22:40 -07:00
Gregory Szorc 3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Ryan VanderMeulen bbdd38fdde Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Nick Alexander 56e7e8be1b Bug 1168407 - Pre: Move roboextender under mobile/android/tests. r=gbrown
I want to include a file built during the Fennec build to the
roboextender extension; this is an easy way to arrange it.

I took the opportunity to make the extension file tree mirror the XPI
file tree, which always used base/.

--HG--
rename : testing/mochitest/roboextender/Makefile.in => mobile/android/tests/browser/robocop/roboextender/Makefile.in
rename : mobile/android/tests/browser/robocop/roboextender/SelectionUtils.js => mobile/android/tests/browser/robocop/roboextender/base/SelectionUtils.js
rename : mobile/android/tests/browser/robocop/roboextender/paymentsUI.html => mobile/android/tests/browser/robocop/roboextender/base/paymentsUI.html
rename : mobile/android/tests/browser/robocop/roboextender/robocop_home_banner.html => mobile/android/tests/browser/robocop/roboextender/base/robocop_home_banner.html
rename : mobile/android/tests/browser/robocop/roboextender/robocop_prompt_gridinput.html => mobile/android/tests/browser/robocop/roboextender/base/robocop_prompt_gridinput.html
rename : mobile/android/tests/browser/robocop/roboextender/testInputSelections.html => mobile/android/tests/browser/robocop/roboextender/base/testInputSelections.html
rename : mobile/android/tests/browser/robocop/roboextender/testSelectionHandler.html => mobile/android/tests/browser/robocop/roboextender/base/testSelectionHandler.html
rename : mobile/android/tests/browser/robocop/roboextender/testTextareaSelections.html => mobile/android/tests/browser/robocop/roboextender/base/testTextareaSelections.html
rename : testing/mochitest/roboextender/bootstrap.js => mobile/android/tests/browser/robocop/roboextender/bootstrap.js
rename : testing/mochitest/roboextender/chrome.manifest => mobile/android/tests/browser/robocop/roboextender/chrome.manifest
rename : testing/mochitest/roboextender/install.rdf => mobile/android/tests/browser/robocop/roboextender/install.rdf
rename : testing/mochitest/roboextender/moz.build => mobile/android/tests/browser/robocop/roboextender/moz.build
extra : commitid : 2BkQaW1ESSI
extra : rebase_source : cd7ca3327f77584542a77b26519c9a812f48c48e
extra : histedit_source : fe49f2ab0b6193b49a8c5c5cf4da51a5a4b993f7
2015-06-15 15:51:21 -07:00
Birunthan Mohanathas bbbd843bc9 Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Ryan VanderMeulen 74cbad03d6 Backed out changeset 4d9c70392f0e (bug 1174612) for total mochitest bustage.
CLOSED TREE
2015-06-15 16:47:11 -04:00
Andrew Comminos 860531cc0f Bug 1173971 - Force core Xlib events on GTK3. r=karlt 2015-06-12 06:55:00 -04:00
Ryan VanderMeulen e3ce9c3d4c Merge m-c to inbound. a=merge 2015-06-15 15:56:20 -04:00
Ryan VanderMeulen 98ebe786fc Merge inbound to m-c. a=merge 2015-06-15 15:55:28 -04:00
Birunthan Mohanathas e95d967ecc Bug 1174612 - Consolidate MEMORY STAT messages into a single line. r=chmanchester 2015-06-15 12:27:35 -07:00
Gijs Kruitbosch cc921d71fa Bug 1172270 - don't cause extra flushes for reader mode, r=margaret,smaug
--HG--
rename : browser/base/content/test/general/browser_readerMode.js => browser/base/content/test/general/browser_readerMode_hidden_nodes.js
rename : browser/base/content/test/general/readerModeArticle.html => browser/base/content/test/general/readerModeArticleHiddenNodes.html
extra : rebase_source : 184f260d55a83e866b20befda517ffe42a704002
extra : histedit_source : 4da59cfad20b681e6af20d53df03d4ed4b1ab2fb
2015-06-08 16:56:34 +01:00
chunminchang 630008d522 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Amod Narvekar 9301112428 Bug 1061813 - Added a check to test whether this.currentTest.scope.test is a function. r=jmaher 2015-06-11 10:15:00 +02:00
Jonathan Griffin 99bcfea2f8 Bug 1173114 - Fallback to chunk-by-dir if runtimes file not found, r=ahal 2015-06-10 10:12:31 -07:00
Gijs Kruitbosch 5b2fa1d806 Bug 1165890 - change warning for 'leaking' window properties, r=ted
--HG--
extra : rebase_source : 5b5cdcdf01c07114f16207c19ac21d5268dfb920
extra : histedit_source : 8363b2e3b03bbcf0edcadb16a529cb3766b5a860
2015-05-18 14:30:07 +01:00
Wes Kocher 41e334cea0 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Tim Taubert 545e7a83fb Bug 1167508 - Fix tests that expect a sync remoteness change after calling .loadURI() r=billm 2015-06-09 22:11:58 +02:00
Tim Taubert 7389b135f9 Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-06-09 22:11:43 +02:00
Ryan VanderMeulen b0e048f32d Backed out 7 changesets (bug 1167508) because it depends on bug 1172137, which was backed out.
Backed out changeset 5080433ff610 (bug 1167508)
Backed out changeset 97b5372b8950 (bug 1167508)
Backed out changeset 00eb943a27b2 (bug 1167508)
Backed out changeset c1a16fd640ae (bug 1167508)
Backed out changeset 092037dd209a (bug 1167508)
Backed out changeset b7ed44b4595f (bug 1167508)
Backed out changeset 3a4faf863320 (bug 1167508)
2015-06-08 14:33:53 -04:00
Tim Taubert 4deda058df Bug 1167508 - Fix tests that expect a sync remoteness change after calling .loadURI() r=billm 2015-05-23 15:47:56 +02:00
Tim Taubert e1266abc21 Bug 1167508 - Fix BrowserTestUtils.browserLoaded() and use it in sessionstore/head.js r=billm 2015-05-23 15:47:28 +02:00
Erik Vold 6018fbf936 Bug 1142734 - Using Timer.jsm and adding some logs to jetpack-addon-harness.js r=mossop 2015-06-06 19:21:15 -07:00
Geoff Brown 88ea47befb Bug 1171303 - Set pref extensions.autoupdate.enabled to false to avoid testOfflinePage failures; r=mfinkle 2015-06-05 10:10:40 -06:00
Neil Deakin 2aa057e7ff Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Kartikaya Gupta 5b6ed7c5d7 Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Nick Alexander 97786c5695 Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!

--HG--
extra : rebase_source : a5ab08222110a20291aebe70ef1fda0d340dbe7d
extra : source : e91ac9a35f86928fcd519911476ee7d68d06f921
2015-05-29 17:18:07 -07:00
Wes Kocher d80ffbf1c9 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Nick Alexander 380f58055f Bug 1170332 - Fix |mach robocop SINGLE_TEST|. r=ahal,gbrown
This patch declares robocop.ini an instrumentation manifest.  It's not
currently possible to declare tests that don't correspond to files, so
we include the .java extension.  (This could be revisited.)

In |mach robocop|, we use the generic test resolving infrastructure to
select the 'instrumentation'/'robocop' flavor/subsuite tests.  In
|runtestsremote.py|, we fall back to robocop.ini, as we always have.

--HG--
extra : rebase_source : b84246ab327c7ec576d82cc4b516e729978600c7
extra : histedit_source : 9b23a6f66e6422e5f334f31cea2a21036be45543
2015-06-01 14:45:48 -07:00
Andrew Halberstadt 66850078f4 Bug 1122590 - Make |mach mochitest| properly detect devtools tests (and other subsuites), r=chmanchester, DONTBUILD, a=NPOTB
--HG--
extra : commitid : F1JLpseHkrE
extra : rebase_source : 95a5f0516e286a1f9752c39ebc23ebb6349b33c6
extra : amend_source : 90c4fe59dc89dfce41d616326ce8e20e44c04e9a
2015-06-02 11:03:55 -04:00
Andrew Halberstadt 7aa80fb529 Bug 1164597 - Consolidate all mochitest mach commands into single |mach mochitest|, r=chmanchester
--HG--
extra : rebase_source : 0a0d8a454df10ae9df9678c98e11b5eaf8249f51
2015-05-05 16:41:59 -04:00
Ryan VanderMeulen 2e35b1209f Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Tim Taubert 4e0e50eced Bug 1109875 - Remove the empty testing/mochitest/BrowserTestUtils/BrowserTestUtil.jsm file that was accidentally committed, and DONTBUILD this on a CLOSED TREE rs=Gijs 2015-05-28 17:43:08 +02:00
Andrew McCreight 95802bd4a7 Bug 1157308 - part 2 - Reduce the content process leak limit on OS X. r=erahm
The intermittent media leak seems to have been fixed.
2015-05-27 09:33:00 +02:00
Andrew McCreight aa913043f6 Bug 1157308 - part 1 - Reduce the leak threshold for content processes more. r=erahm 2015-05-27 07:53:00 +02:00
Michael Layzell 827fee71cd Bug 1012662 - Part 3 - Tests for new Cut/Copy behaviour. r=ehsan
--HG--
extra : rebase_source : e087d44fad03beb9754fc07d9776048f8ad6b8f7
2015-05-27 06:54:00 +02:00
Geoff Brown b59cebb997 Bug 1026290 - Avoid TypeError during Android mochitest-chrome; r=chmanchester 2015-06-08 13:36:33 -06:00
Wes Kocher b6198820c5 Backed out changeset 020ac30e270a (bug 1141415) for windows mochitest bustage 2015-05-27 14:45:35 -07:00
Ben Kelly 9fa183e323 Bug 1168129 Fix ssltunnel.cpp FAIL_ON_WARNING build errors on some platforms. r=ted 2015-05-27 14:10:10 -07:00
chunminchang c53a193c42 Bug 1141415 - Add expire setting of permission to SpecialPowers. r=jmaher
--HG--
extra : rebase_source : ed0ba41f0d04e3b27ec8aa064d484f7ada6723ce
2015-05-27 10:44:52 +08:00
Botond Ballo 2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Carsten "Tomcat" Book cc2ccef480 Backed out changeset cb03cb33817c (bug 1012662) 2015-05-26 13:33:41 +02:00
Michael Layzell c1804e6fb7 Bug 1012662 - Tests for new Cut/Copy behaviour. r=ehsan
--HG--
extra : rebase_source : 3e68a32a3b4647910d7a27af2b0bf8c52661e2e8
2015-05-13 10:30:00 +02:00
Andrew Halberstadt 4cea585419 Bug 1171602 - Run mochitest using mach from a tests.zip, r=chmanchester
--HG--
extra : commitid : 7UHH28yy81E
extra : rebase_source : e6800f9d6ff6336991f1d4b8f2d975083b9f7751
2015-05-26 10:12:51 -04:00
Andrew Halberstadt 42888ae5f5 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester
--HG--
extra : commitid : KbQllMAJdfl
extra : rebase_source : 2069e41c760e4993b1d6d0ddd70799e426a19089
2015-06-05 13:28:29 -04:00
chunminchang 1e1b34f388 Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Blake Kaplan dc037f3026 Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Daniel Holbert 6a8b8e9e5a Bug 1167250: Mark testing/mochitest/ssltunnel/ as FAIL_ON_WARNINGS. r=ted 2015-05-21 09:48:04 -07:00
Daniel Holbert 5f73d74062 Bug 1167249: Use delete[] instead of delete to deallocate some arrays in mochitest ssltunnel.cpp. r=ted 2015-05-22 12:47:02 -07:00