Commit Graph

2697 Commits

Author SHA1 Message Date
Dan Minor
2bfe3e1901 Bug 1262532 - Add WebRTC autophone manifest r=bc
MozReview-Commit-ID: 48hYjjKo7Ft

--HG--
extra : rebase_source : b2f14569ae638663fb82c8d8bbf331579a728204
2016-03-30 12:07:34 -04:00
Timothy Nikkel
39de1dcd99 Backed out changeset d7d0413af62b (bug 1199023) for test failures. 2016-04-10 17:54:11 -05:00
Timothy Nikkel
b10f463dc4 Bug 1199023. Remove 'scrolling="no"' from iframe in which mochitest-chrome tests are run. r=ted
This makes the iframe more like the iframe that houses the root content document, and more like almost every other iframe.

This does cause real differences in practice when testing, eg https://bugzilla.mozilla.org/show_bug.cgi?id=1177018#c3
2015-09-23 01:29:37 -05:00
Mike Conley
78f39fef6f Bug 1262946 - Add focus tests for newly opened windows. r=Gijs
MozReview-Commit-ID: 2353D0oA0yO

--HG--
extra : rebase_source : 62ccd25884848fd79a29daae8f3127fddd7487fc
2016-04-07 17:05:54 -04:00
Francois Marier
13fc6775d0 Bug 663581 - remove unused test_bug362788.xhtml. r=jmaher
MozReview-Commit-ID: ketJSTBbQ7

--HG--
extra : rebase_source : 6c92beb5634c730686d432af937f20e17762e048
2016-04-04 15:57:57 -07:00
Andrew Halberstadt
1092076e36 Bug 1243083 - Enable e10s by default when running mochitests, r=jmaher
MozReview-Commit-ID: NlTGwdQ2nw

--HG--
extra : rebase_source : 65ec39f39b1e231fe8b9e3228f4f604736b2cb84
2016-04-01 10:59:12 -04:00
Chris Manchester
a7138cfc10 Bug 1242051 - Install test files to the objdir lazily rather than with each invocation of mach. r=gps
This moves test installation for test files out of the monolithic install
manifest for $objdir/_tests, and determines the test and support files
to install based on the object derived from all-tests.json. Additionally,
the files resulting from TEST_HARNESS_FILES are installed, as some tests
will depend on them.

As a result, the time to install tests when invoking the test runner will
scale with the number of tests requested to run rather than the entire set
of tests in the tree, resulting in significantly less overhead.

MozReview-Commit-ID: LeIrUVh1yD4
2016-04-04 14:56:52 -07:00
Kartikaya Gupta
2f1e35dda6 Bug 1261816 - Guard against the mochitest harness finish()ing a test that already finished. r=jmaher
MozReview-Commit-ID: 3w5xfSgJteG
2016-04-04 13:46:12 -04:00
Ryan VanderMeulen
1144ba9c95 Merge m-c to inbound. a=merge 2016-04-02 13:55:51 -04:00
Andrew McCreight
7d94b64012 Bug 1260148 - Make sendWheelAndPaint wait for the system wheel event. r=masayuki
This ensures that all of the legacy events have been fired.
2016-04-02 10:30:30 -07:00
Jared Wein
8092fe6da1 Bug 1259531 - [e10s] Fix test_bug451286.xul to run in e10s by converting to a mochitest-browser test. r=mikedeboer
MozReview-Commit-ID: 6Rt0dM6md06
2016-03-31 20:41:00 -04:00
JW Wang
3191a9a1a8 Bug 1259651 - Add the ability to register callback functions to be notified when a mochitest times out to SimpleTest. r=ted.
MozReview-Commit-ID: 2p7qqFMxHpW
2016-04-01 07:42:43 +08:00
Ryan VanderMeulen
5044fd9c12 Merge m-c to inbound. a=merge
--HG--
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem.certspec
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : 8ba87bb4e8b334a68152458bda8da15398c78ddc
2016-03-25 11:42:42 -04:00
Nihanth Subramanya
b45807e877 Bug 1255066 - Wrap condition fn for BrowserTestUtils.waitForCondition in Task.spawn. r=mak
MozReview-Commit-ID: 8YoDfF6d15G
2016-03-21 01:41:54 -07:00
Matthew Noorenberghe
85256f4a5d Bug 1258607 - Output task names when entering and leaving in SimpleTest. r=jmaher
This uses the same text as the equivalent code in browser-test.js.

MozReview-Commit-ID: 2CzZEjf8ojn

--HG--
extra : rebase_source : f64d52b1d5289db410de9d6237d35cebf6adfb32
2016-03-22 16:48:59 -04:00
Mike de Boer
dbed6c745f Bug 1253233 - Make preparations to allow testing of remote browser elements in mochitest-chrome tests. r=felipe 2016-03-11 19:27:17 +01:00
Ehsan Akhgari
77e528556e Bug 1258532 - Port test_bug574596.html to mochitest-plain in order to enable it on e10s; r=mrbkap 2016-03-22 09:57:58 -04:00
Ryan VanderMeulen
dd9dced81d Merge inbound to m-c. a=merge 2016-03-19 11:22:28 -04:00
Ryan VanderMeulen
d37d8fbb9a Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite. 2016-03-19 11:02:04 -04:00
Honza Bambas
3d5960cd1f Bug 1248565 - Make test infra use MOZ_LOG_FILE and MOZ_LOG_MODULES. r=jmaher 2016-03-11 08:27:00 -05:00
Ehsan Akhgari
8590248100 Bug 1256984 - Indicate whether tests ran in e10s mode in the mochitest-* summary; r=mconley 2016-03-18 16:09:12 -04:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Carsten "Tomcat" Book
038b38598a Merge mozilla-central to m-i 2016-03-17 11:14:21 +01:00
Bob Clary
c5a7e2811c Bug 1256343 - Autophone - add subsuite=media to testing/mochitest/manifests/autophone-media.ini, r=jmaher. 2016-03-16 23:17:01 -07:00
Dave Townsend
20eb15d792 Bug 1255520: BrowserTestUtils.withNewTab should just accept a url argument. r=Gijs
Most of the time the test just wants to open a page in the current window. In
that case there is no need to pass an object with the gBrowser, we can just find
it directly. This makes using this function less verbose in most cases.

MozReview-Commit-ID: eUyyOi5HgC

--HG--
extra : rebase_source : 887c552a324a95bcf93f33c199d9bdaff4965b50
extra : amend_source : b1a9dcd751f58a29df03dfbbbf59c1936e46e60f
2016-03-10 10:17:54 -08:00
Paolo Amadini
2bb7d8e7ba Bug 1256297 - Exceptions and rejections with add_task in SpawnTask.js should fail tests. r=jmaher
MozReview-Commit-ID: LEZaU9tYOAX

--HG--
extra : rebase_source : 9f2982979de5dc58ffc035f68509eed2987e5539
2016-03-14 13:46:42 +00:00
Mike de Boer
ef1625aff4 Bug 1093153: introduce 'BrowserTestUtils#synthesizeKey', 'BrowserTestUtils#synthesizeComposition' and 'BrowserTestUtils#synthesizeCompositionChange' to allow mochitests to remotely invoke EventUtils' text composition utilities. Changes to EventUtils include 1) removed dependency on the 'navigator' object when 'nsIXULRuntime' is available and 2) make '_getKeyboardEvent' more robust when used in frame scripts. r=Enn 2016-03-15 11:09:31 +01:00
Boris Zbarsky
95bb8802ec Bug 1256364. If we have an exception stack in the onerror handler in SimpleTest, include it in the error message. r=jmaher 2016-03-14 20:48:21 -04:00
Marco Castelluccio
2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Jared Wein
530aa3f068 Bug 1254296 - [e10s] Fix browser_CTP_plugins.js to run in e10s. r=gfritzsche
MozReview-Commit-ID: JsOQz7r14Ms

--HG--
extra : rebase_source : 13afe974a943b9a4d2a52b2f4407f2dfe682e39b
2016-03-22 17:40:02 -04:00
Neil Deakin
895e698fb9 Bug 1254988, remove correct listener in waitForFocus, r=jmaher 2016-03-11 08:50:22 -05:00
Carsten "Tomcat" Book
25fbf67b66 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00
Marco Castelluccio
1902f1c620 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Carsten "Tomcat" Book
1c95c143d4 merge mozilla-inbound to mozilla-central a=merge 2016-03-10 11:51:35 +01:00
Matthew Noorenberghe
70da2ea8f6 Bug 1251139 - Follow-up to properly rebase over bug 1153128. r=me
on a CLOSED TREE

MozReview-Commit-ID: 35xb0uBoOrf
2016-03-09 14:53:52 -08:00
Matthew Noorenberghe
b539cc9f1b Bug 1251139 - Support running a function in the parent with loadChromeScript. r=jmaher
MozReview-Commit-ID: 3t7g2bjaFmA

--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript_function.html
2016-03-09 12:11:44 -08:00
Andrew Halberstadt
ca7c71bcd9 Bug 1250616 - Update extension names in runrobocop.py, r=gbrown
MozReview-Commit-ID: 5QAJiIL3pph

--HG--
extra : rebase_source : 07612c51848cb2aa08fc301f2614ede0d2d2e1ee
extra : amend_source : 6be821ac5bfcba416ace71cf888516710756a6f0
extra : source : 2f25d03334b252b0abc2124d065c4b33d7b8214f
2016-03-08 10:35:38 -05:00
Sebastian Hengst
263fc3de3c Backed out changeset 912825aa7ee1 (bug 1254145) for failing bc7 tests. r=backout 2016-03-08 10:48:15 +01:00
Jared Wein
96d1f59f9c Bug 1254145 - Use BrowserTestUtils.removeTab instead of gBrowser.removeTab in BrowserTestUtils.withNewTab since BrowserTestUtils.removeTab is more deterministic since it waits for SessionStore to update. r=gijs
MozReview-Commit-ID: 8DoAiwCuGKl
2016-03-07 07:31:00 +01:00
Honza Bambas
a827d3166e Bug 1254059 - init MochitestBase.nsprLogs, r=jmaher 2016-03-07 04:14:00 +01:00
Myk Melez
db9a40ca42 Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Hiroyuki Ikezoe
199a3521ec Bug 1153128 - Add sendSyncMessage to SpecialPowers.loadChromeScript. r=jmaher
MozReview-Commit-ID: AsbBiOkhhLo

--HG--
extra : rebase_source : 435440d581de51ff986fde9cd5b0d6e0cc3e5388
2016-02-24 21:43:23 -08:00
Mike de Boer
03bd1469f2 Bug 1241930: Part 1 - make all Assert.jsm assert methods available for use in ContentTasks. r=mconley 2016-03-04 14:32:22 +01:00
Neil Deakin
88f01808f9 Bug 1246669 - Enable browser_sanityException2.js for e10s. r=jmaher 2016-03-04 08:49:48 +01:00
Kris Maglione
fbcae3eafe Bug 1253148: [webext] Cleanup running extensions on test failure. r=billm
MozReview-Commit-ID: HTFZk6y6ZEp

--HG--
extra : rebase_source : 476d51fba97989b8bcbcdb6720d53f1820db8fc9
2016-03-02 20:58:28 -08:00
Mike Shal
aeffe80634 Bug 1242632 - Remove TESTING_FILES from moz.build; r=glandium
MozReview-Commit-ID: ALy4s6Xpg7f
2016-01-25 13:41:22 -05:00
Dão Gottwald
a6771d2da3 Bug 1159268 - Make browser_bug1015721.js work with e10s. r=billm
--HG--
extra : rebase_source : 8cde4030435a82b7bc3bbfcb1af3c67d9f30f41c
2016-03-03 23:32:54 +01:00
Carsten "Tomcat" Book
82cf3c3383 merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
Stanley Mwangi
ecaaff970b Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
MozReview-Commit-ID: I3UIS8eEZ8D

--HG--
extra : rebase_source : cad52821f891915b2d174f60c250fb80ec307525
extra : amend_source : fe1a47030662a58c409e3cf2b42dc0ace452178d
2016-03-02 16:33:13 -05:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00