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

3001 Коммитов

Автор SHA1 Сообщение Дата
Stone Shih 4c774b11b2 Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
--HG--
extra : rebase_source : c676026e30c857b2a19854285f8bb40c47c58267
extra : histedit_source : c1ee981e9ab821a51d3abb96b1d2d334ffe8e0d2
2016-08-18 11:58:48 +08:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Rob Wood 969dc17e41 Bug 1281351 - Disable intermittent failure on win 7 e10s debug, r=enndeakin+6102
MozReview-Commit-ID: 10qFWKQFaYv

--HG--
extra : rebase_source : 1b4268ce47524992cb53c511d58b7b9def823548
2016-08-10 14:31:34 -04:00
Andrew Halberstadt e0d54aa2ed Bug 1294099 - Fix 'Namespace object has no attribute 'flavor'' error when running |mach mochitest|, r=jgriffin
MozReview-Commit-ID: Du2fvVCNeHU

--HG--
extra : rebase_source : 75b16326d4529a0ad34cf4a382303c7e9c06611f
2016-08-10 11:50:29 -04:00
Andrew Swan b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8

--HG--
extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7
extra : source : e8818ef3c28489e196d1db92cabf224861b693c9
2016-08-02 16:04:37 -07:00
Andrew Halberstadt 795728d89d Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher
This accomplishes three things:

1) Easier to use CLI when running without the benefit of testing/mochitest/mach_commands.py
2) Guarantees these arguments are mutually exclusive
3) Simplifies a bunch of logic in the test harness

The primary motivation for this change is to slightly improve the UX when running mochitest
from a taskcluster interactive loaner. However, this is more of a bandaid solution that was
easy to implement before the proper fix in bug 1293259 can be landed.

MozReview-Commit-ID: IeHBGrJ0Sji

--HG--
extra : rebase_source : ba1b7e437881e363fe0051dccd3d732221311c59
2016-08-08 11:48:49 -04:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
Mike Conley cb599d4f08 Bug 1292239 - Add utility to BrowserTestUtils to wait for load of selected browser in a brand new window. r=Felipe
MozReview-Commit-ID: IOChbNs8b3y

--HG--
extra : rebase_source : a778efe8b38aded85a6856a4c37c3b01ebd19894
2016-08-04 15:48:31 -04:00
Neil Deakin 50df5bfcae Bug 1291188, remove unneeded cpow part of test as it was causing failures on some machines, r=felipe 2016-08-03 13:04:39 -04:00
Thomas Wisniewski 30e540bdd6 Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-08-02 12:50:10 -04:00
Stone Shih f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Carsten "Tomcat" Book fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Andrew McCreight bbdc92f231 Bug 1195777 - When LSan detects leaks, tell the user about the report_objects option. r=chmanchester
MozReview-Commit-ID: KWNye8GdEKv
2016-07-29 16:08:06 -07:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Michael Comella 39ed656f3a Bug 1261494 - Reduce telemetry init delay to 1 second for integration testing. r=gbrown
My one concern is that this change could increase the amount of processing
time spent on telemetry initialization, causing the runtime of the robocop
test suite to increase. Checking my try push [1] against other try pushes,
it doesn't seem to have made a significant difference, but the change
in runtime between pushes can be large (e.g. > 5min) so it's hard to
tell.

[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2017843315fe&selectedJob=24641374

MozReview-Commit-ID: LeeGgNEp74h

--HG--
extra : rebase_source : 21b01fa8a5357de19046fc946b4098cfd0f7b823
extra : amend_source : 457f229e6b92b8834ddd6dfef5837753f47d570b
2016-07-27 08:05:12 -07:00
Dan Minor 439f1b4394 Bug 1289123: Remove test_zmedia_cleanup.html from Autophone WebRTC job manifest; r=drno
MozReview-Commit-ID: CwC1Kr3mU9Q

--HG--
extra : rebase_source : 895780ea63df7e89a2ad16ea736a73e84d2ae936
2016-07-25 09:49:05 -04:00
Andrew McCreight 916e425911 Bug 1287877 - Fail when LeakSanitizer encounters a fatal error. r=jgriffin 2016-07-27 10:11:40 -07:00
Fabrice Desré 7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Fabrice Desré f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
David Keeler 56d2f86c86 bug 1284946 - remove usages-related APIs from nsIX509Cert r=Cykesiopka,Felipe,jcj
nsIX509Cert provided the APIs getUsagesArray, requestUsagesArrayAsync, and
getUsagesString. These APIs were problematic in that the synchronous ones would
cause certificate verification to block the main thread and the asynchronous one
was needlessly indirect in its definition (it made use of two additional
special-case xpidl types) and needlessly complex in its implementation (it
required nsNSSComponent to manually manage a background thread without the aid
of recent improvements in that area (e.g. CryptoTask)). Furthermore, these APIs
would return string descriptions of the usages the certificate in question had
been verified for rather than using more concrete identifiers or values. This
paradigm is usable but imprecise. The new nsIX509CertDB API
asyncVerifyCertAtTime is much more expressive, enforces off-main-thread
computation, and makes use of CryptoTask for a simple implementation. Using this
API, previous uses of the old nsIX509Cert APIs can be replaced. As an additional
benefit, this removes a ton of obsolete C++ code.

MozReview-Commit-ID: KXVTcjAKehu

--HG--
extra : rebase_source : 50c51f73b2b61ed0ad4dc9702cc5df470ce998bc
2016-07-06 14:45:36 -07:00
J. Ryan Stinnett fb7f435c7f Bug 1285936 - Make import-*-globals rules into errors for automation. r=me
MozReview-Commit-ID: IrjMIH3fl5K
2016-07-19 12:51:47 -05:00
Andrew Halberstadt e920337e70 Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg
Because it is now possible for options.app to get set after 'parse_args' time, we need to make sure
the argument validation happens later. To accomplish this we pass in the parser instance to
'run_test_harness' and do parser.validate there. This unfortunately requires some minor uses of
global to accomplish easily due to how mach handles parsers.

MozReview-Commit-ID: s3Js1aZlSE

--HG--
extra : rebase_source : 3a94debda3dbed839074094707cadf32e7f7337c
2016-07-20 11:13:30 -04:00
Geoff Brown 058d5be563 Bug 1285663 - Optimize profile pushes and do not chmod files on /sdcard; r=bc 2016-07-14 10:36:31 -06:00
Geoff Brown ec5683cac0 Bug 1286697 - Initialize mochitest urlOpts to avoid duplicate options on subsequent runs; r=jmaher 2016-07-14 10:36:30 -06:00
Thomas Zimmermann a610242b37 Bug 1280600: Merge Android and b2g branches in build scripts where possible, r=glandium
B2g now has 'OS_TARGET' set to 'Android'. This patch merges Android
and Gonk branches in the build scripts where possible.

MozReview-Commit-ID: 9hKA0Gc62Xc
2016-07-11 15:16:56 +02:00
Masatoshi Kimura e4ae8f8bff Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
MozReview-Commit-ID: I8y0gMA5BxE

--HG--
rename : dom/base/test/test_youtube_flash_embed.html => dom/base/test/file_youtube_flash_embed.html
2016-06-24 19:12:53 +09:00
Bob Clary d111f0ca3f Bug 1281511 - Add getAndroidSdk() to Mochitest SimpleTest.js, r=gbrown, snorp. 2016-06-28 11:14:45 -07:00
Masayuki Nakano 60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent.  Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition.

This patch implements it simply and only in non-e10s mode.

Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect).

MozReview-Commit-ID: 34I7vyTUAgO

--HG--
extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe
2016-06-16 14:10:49 +09:00
Blake Kaplan 5688cefb7f Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe 2016-06-21 13:46:02 -07:00
Masayuki Nakano d5bf222ecd Bug 1275914 part.7 Add automated tests to query IME selections r=smaug
MozReview-Commit-ID: GwBU6Evcpfa

--HG--
extra : rebase_source : d6a54b3ab227fbae75e723b277f0ff1e95d44044
2016-06-20 16:31:29 +09:00
Andrew Swan cde8becf24 Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag
MozReview-Commit-ID: 6TsspFtPiuZ

--HG--
extra : rebase_source : 620297cd519fc394ac2877f2c5e5b2018791aa56
2016-05-31 16:16:37 -07:00
Phil Ringnalda 8d1174f9a3 Back out 3 changesets (bug 1270357) for test_chrome_ext_native_messaging.html timeouts
CLOSED TREE

Backed out changeset 2e602689376d (bug 1270357)
Backed out changeset e1979d928c7c (bug 1270357)
Backed out changeset e0f9b54febc8 (bug 1270357)
2016-06-08 20:35:32 -07:00
Andrew Swan 4009dee8b9 Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag
MozReview-Commit-ID: 6TsspFtPiuZ

--HG--
extra : rebase_source : c9953a28c999c9e6836f1fcb15c881743ae8a9a5
2016-05-31 16:16:37 -07:00
Mike Conley fbafdc88c5 Bug 1277318 - Make openNewBrowserWindow wait for the initial browser load before resolving. r=Gijs
MozReview-Commit-ID: 7veM7df2npk

--HG--
extra : rebase_source : 4edfb46ff10b8ac0e4baf4ff492dc682e4f67eb7
2016-05-31 18:29:02 -04:00
Carsten "Tomcat" Book 06a7fd0491 Merge mozilla-central to mozilla-inbound
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 12:02:34 +02:00
Dan Minor e1c3cebb1e Bug 1275863 - Remove test_peerConnection_addTrack.html from autophone webrtc manifest; r=bc
This test was removed as part of commit 2a7dbc0411d1, but we still try to run
it.

MozReview-Commit-ID: HfFkugGz2vI

--HG--
extra : rebase_source : 6073292e18b39cd54c976322c89e2371a27d3d24
extra : amend_source : 3b918c333ef0e07a07aa0bc3d957ea3ac65d79ad
2016-06-03 15:53:06 -04:00
Carsten "Tomcat" Book 2a6cd87e82 Merge mozilla-central to fx-team 2016-06-03 12:40:11 +02:00
Kris Maglione d727c780b8 Bug 1266510: Add better logging to browser_ext_windows_events test. r=me
MozReview-Commit-ID: 6aKeZvH7jwk

--HG--
extra : rebase_source : 6459e210c64fb83cc134699433d0126b3ec22bb5
2016-06-02 13:36:57 -07:00
Dan Minor 05af85488c Bug 1263621 - Disable test_peerConnection_addTrack.html on autophone; r=bc
MozReview-Commit-ID: 7v94ZB6DyV0

--HG--
extra : rebase_source : 4a35a9a112cdc5c30d224c02a7cb56d339bb301a
2016-05-26 08:25:48 -04:00
Mike Conley cb9696f49a Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 0ba3de736ba4fd80a7444c9246a8c2bf77308570
extra : source : ea2da46bde0a4a3039d69e198ad40afefc92a5ec
2016-05-02 17:36:12 -04:00
Carsten "Tomcat" Book d8b4ef6666 Backed out changeset ea2da46bde0a (bug 1276738)
--HG--
extra : rebase_source : 70d3c54736de976bacd7a87f22544f85afb41a42
2016-06-02 08:12:34 +02:00
Mike Conley 19f105324d Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 908314589379b93b91b2d2a93a25b33f2e6ddb03
extra : histedit_source : 0af5d232e5dea98218ab838641e8d8a2acbd3c8e
2016-05-02 17:36:12 -04:00
Tooru Fujisawa b7cc988f18 Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button. r=enndeakin 2015-08-15 07:30:03 +09:00
Ralph Giles c8210f43ce Bug 1275439 - Switch debugging to MOZ_LOG. r=erahm
This is shorter than MOZ_LOG_MODULES and equally clear.

Add a deprecation warning to encourge folks to migrate,
and update references in the test runner.

MozReview-Commit-ID: HYY3Q9tSu13

--HG--
extra : rebase_source : 83dfe510a34fa82681d6bf7b628bcca075122544
2016-05-16 15:49:20 -07:00
Geoff Brown dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Joel Maher 3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Gijs Kruitbosch a41e908395 Bug 1270144 - use error() rather than warning() in order to ensure this shows up on the treeherder summary, rs=emorley-over-irc
MozReview-Commit-ID: COtfpoU14vg

--HG--
extra : rebase_source : 0bfd093b6dc762498a5a737cab3b6c85fe186ec0
2016-05-25 15:14:56 +01:00
Carsten "Tomcat" Book c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Xidorn Quan 67c37d08a3 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : 92b3d49fd9af8bc88b37d7ee0278899548870bc9
2016-05-25 09:39:38 +10:00
Wes Kocher f6aab6a144 Backed out 4 changesets (bug 1274104) because test_videocontrols.html started failing when it merged to m-c a=backout
Backed out changeset 4326af8f70cd (bug 1274104)
Backed out changeset 834445b4a5f1 (bug 1274104)
Backed out changeset 9bec2581c224 (bug 1274104)
Backed out changeset ae650554f519 (bug 1274104)
2016-05-24 11:31:44 -07:00
Xidorn Quan e8257db902 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : fa300a4470f3622023132bcfbe81463249175df7
2016-05-24 13:21:22 +10:00
Wes Kocher d44c985d66 Merge m-c to inbound, a=merge 2016-05-24 11:36:47 -07:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Phil Ringnalda db3e2c7d7f Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
CLOSED TREE

Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Xidorn Quan 35dd574052 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : fa300a4470f3622023132bcfbe81463249175df7
2016-05-23 09:03:32 +10:00
Andrew Halberstadt 0c9c35e1fc Bug 1274002 - Disable e10s when running mochitest-chrome locally with mach, r=jmaher
MozReview-Commit-ID: 1r2aZtnB3lo

--HG--
extra : rebase_source : 7cc01168a37b2c79d1de1250932c63033c744a3b
2016-05-18 15:17:13 -04:00
Wes Kocher 4a048a0f4b Merge m-c to fx-team, a=merge 2016-05-17 14:18:01 -07:00
Matthew Noorenberghe 98916e4224 Bug 1197310 - Return a promise from pushPrefEnv/popPrefEnv/flushPrefEnv. r=jmaher
MozReview-Commit-ID: HQxXeo37XS5
2016-05-17 14:14:53 -07:00
Andrew McCreight 9f333887e3 Bug 1273246 - Fix use of bindir in mochitest mach --dmd code. r=ahal 2016-05-17 07:55:49 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Gijs Kruitbosch 40ea68f72f Bug 1270144 - fix message from timed out tests to indicate the following crash is caused by us terminating the browser process, r=ahal,RyanVM
MozReview-Commit-ID: Hyr7xkZdbqc

--HG--
extra : rebase_source : 013339bec54f1ecb0123fa1388dbb350258790df
extra : amend_source : 26e6c904d7031e700560ca32057edba65ad1632d
2016-05-10 22:53:17 +01:00
Jonathan Kingston 11a106fd9b Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
MozReview-Commit-ID: BJQ0cYlrS6O

--HG--
extra : transplant_source : %C7%FA%195%1C%87%1BDp%04%1CZI%A3N%94%F5%1Ch%3B
2016-05-04 17:10:45 +01:00
Neil Deakin a4ee9d8df2 Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-11 10:04:19 -04:00
Xidorn Quan 54b9c867d3 Bug 1270301 - Add test for SimpleTest.waitForCondition. r=jmaher
MozReview-Commit-ID: KNLvWJ7VQID

--HG--
extra : transplant_source : t%F9d%E2ih%F3%BF%B3%29%DA%87s%84%B8%28I%11%E2%AB
2016-05-09 15:23:55 +10:00
Andreas Tolfsen 90edca9757 Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments.

MozReview-Commit-ID: 9t1skl5MESf
2016-05-09 16:08:27 +01:00
Nathan Froyd bb3fb2eca6 Bug 1269349 - make robocop honor --timeout; r=gbrown
Our testsuites normally disable timeouts when --debugger or similar
options are specified.  Robocop doesn't do this, because apparently the
best way to debug Robocop tests is to |mach robocop [TEST-NAMES...]|,
wait for the browser window to show, and then connect a debugger.  This
setup seems suboptimal.

The setup being what it is, though, implies that runrobocop.py has no
knowledge of a debugger being connected, and therefore no idea that the
test really shouldn't time out.  Which then leads to the test going away
at that crucial moment when you are this > < close to figuring out the
bug.  Let's make runrobocop.py understand that --timeout means something
useful for such a context.
2016-05-05 11:25:54 -04:00
Xidorn Quan ebe6f7b562 Bug 1205938 part 1 - Add waitForCondition() function to SimpleTest. r=jmaher
This function is roughly copied from browser/base/content/test/general/head.js.
It has been widely used in browser chrome mochitests, and should be fine to
have it available to all mochitests via SimpleTest.

MozReview-Commit-ID: DhIfgJiUhXK

--HG--
extra : rebase_source : 95ab1cd6c1ab5f6c0d8f0171865722ca76b41c6e
2015-09-18 11:06:47 +08:00
Wes Kocher e570132b9f Backed out changeset 751ca24ae2c2 (bug 1249522) for android m(16) bustage 2016-05-04 10:51:21 -07:00
Neil Deakin 10d25a9f48 Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-04 10:07:10 -04:00
Byron Campen [:bwc] ba155973d6 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 7f1d48ce6b6d042c01efa68cf84a3afd4f43384c
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 73c29a05f5 Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 5409a43830 Bug 1231981 - Part 2.1: Only run the websocket/process bridge for media tests. r=ahal
MozReview-Commit-ID: 3GBAGTSR08c

--HG--
extra : rebase_source : 3564d1c1de1438ab9d979f8da16f9d5b65b9d8a0
2016-04-27 13:13:40 -05:00
Byron Campen [:bwc] e1f116b2c7 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 340531e580f5035be044807def4927fbd138d0ed
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Andrea Marchesini 1c0c183890 Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08:00
Wes Kocher 922724920a Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 6anAKItZV1O
2016-04-27 14:30:20 -07:00
Wes Kocher 20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Gijs Kruitbosch 1d863b1c09 Bug 1267289 - add more URL bar tests and fix issue with error pages, r=mikedeboer,mconley
This adds tests for issues brought up in bug 231393, bug 264610, bug 302575 and bug 1129564,
all of which fed into the current implementation of userTypedClear/userTypedValue. I intend
to move us away from userTypedClear, but I'm keen not to regress any of these issues, so
I'm adding automated tests to ensure that doesn't happen.

MozReview-Commit-ID: 1up2MIXzkzG

--HG--
extra : rebase_source : 4d37f13895b8c7e7aba5331664718582c6b2136c
2016-04-25 17:27:35 +01:00
Byron Campen [:bwc] a4e2b3e713 Bug 1231981 - Part 5: Install python packages we need in the virtualenv if not present. r=gps
MozReview-Commit-ID: 9PUHLMxHhQP

--HG--
extra : rebase_source : 5e863a5cf5d60c698d97c0f65070b89b2d8295bd
extra : source : 6848d362c947bf306b650cac7bb6a89981af474b
2016-03-16 15:40:17 -05:00
Byron Campen [:bwc] d7586bf7c1 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 52c5cf00cca6acab4bfa1a7de927c322f9539ace
extra : source : 9060aea1dd3a91974484ef00fe3d2831ea22a985
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 91dc57493a Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 38fe539b1f2ec1e6dc15e9630c37a6dec590f6c2
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Carsten "Tomcat" Book 1fe3914869 Backed out changeset de3f062c9a99 (bug 1231981) 2016-04-25 16:28:55 +02:00
Carsten "Tomcat" Book 94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book a41ff18ffd Backed out changeset 507145be7f82 (bug 1231981) 2016-04-25 16:28:52 +02:00
Carsten "Tomcat" Book e9599aa66e Backed out changeset 5a0d061f7548 (bug 1231981) 2016-04-25 16:28:50 +02:00
Byron Campen [:bwc] c87769deb2 Bug 1231981 - Part 5: Install python packages we need in the virtualenv if not present. r=gps
MozReview-Commit-ID: 9PUHLMxHhQP

--HG--
extra : rebase_source : f7a4bcff98f436242167dac03cf58973be0e26e6
2016-03-16 15:40:17 -05:00
Byron Campen [:bwc] c51311eeca Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : f028c9f67f6e3ed9ef9aff7d5deffbb2f44d1331
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 008efedd31 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : f1404f32ab81d378b695a66bbdc6c184af20f9b0
2016-03-15 17:02:00 -05:00
Wes Kocher e80ed17c41 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5AQXGbI0ke2
2016-04-21 15:02:19 -07:00
Junior Hsu 6d15e2b50b Bug 1260076 - [Mochitest] implement SpecialPowers.loadPrivilegedScript, r=bholley 2016-04-20 19:47:00 +02:00
Dan Minor c09452f2f6 Bug 1263621 - Update autophone-webrtc.ini manifest r=bc
This adds bug numbers for skipped tests in the manifests and the tests
under the identity subdirectory which are also all skipped.

MozReview-Commit-ID: 7SRAgyrKfTb

--HG--
extra : rebase_source : 934d8f8c6f720bc81dbfab007585fbf8d8875f95
extra : amend_source : 3fc07c882688379b689511fe479be3167bffe827
2016-04-13 12:38:24 -04:00
Nathan Froyd 8ac1e51406 Bug 1266198 - support --setenv options for robocop tests; r=gbrown 2016-04-21 11:13:14 -04:00
Dan Minor 04368e5dbc Bug 1264772 - Use subsuite name for chunk-by-runtime; r=ahal
We currently hard code the runtime name to be mochitest-plain. This
changes things to use the subsuite name if available.

MozReview-Commit-ID: JZKewOD81M8

--HG--
extra : rebase_source : 0cd4d5694f9a0448f33cc620e2c0b520e4fe4be8
2016-04-14 13:57:05 -04:00
Gijs Kruitbosch b3cfc1eada Bug 1236991 - part 3: allow use of todo() from ContentTask, r=mconley
MozReview-Commit-ID: EfucLgxcf8Y

--HG--
extra : rebase_source : 28908b2bd9160da75c76fb57441901e734f920e5
extra : histedit_source : 94415281799070b577f6c204ad6255b034871688
2016-04-11 17:11:35 +01:00
Jared Wein a24156ff6c 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
MozReview-Commit-ID: 5quEUBvfSOR
2016-03-07 07:31:00 +01:00
Timothy Nikkel 04885cc7cd 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
Joel Maher 585b69b5f8 Bug 1262954 - Explicitly set the 'layers.acceleration.disabled' pref to true on Windows XP e10s test runs. r=ahal
MozReview-Commit-ID: 2KsBZDNvsdU

--HG--
extra : rebase_source : 0869acfae1af0ab92ae142797b9e4b1a4e452781
2016-04-08 14:46:25 -04:00
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
Geoff Brown 2fc80985f9 Bug 1252868 - Do not install superfluous addons for Android tests; r=jmaher 2016-03-02 09:23:42 -07:00
Ehsan Akhgari 8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Carsten "Tomcat" Book 7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Gijs Kruitbosch 3b845c302c Bug 1088710 - part 3: wait for STATE_STOP as well as load, r=mconley
MozReview-Commit-ID: 3ztx6kPOdON

--HG--
extra : rebase_source : 4ddfbdf9c641e020dba66e5c642513f8dd0fb061
2016-02-26 21:26:43 +00:00
Chris Manchester 8b7ef38ae6 Bug 1250961 - Move testing/mochitest/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: LwQH49FLfY2

--HG--
extra : rebase_source : c8c1007e05bfd9ff18d6199018c121473b576220
2016-02-26 13:20:31 -08:00
Andrew Swan 96c88d557a Bug 1251412 - use installTemporaryAddon for jetpack-addons tests r=mossop
MozReview-Commit-ID: Bd10uC4pEfP

--HG--
extra : rebase_source : 2f261194ff07a25c13aaad91255147e98e7c5127
2016-02-25 15:45:31 -08:00
Andreas Tolfsen ce37a987c9 Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej

--HG--
extra : rebase_source : b7b226c441f7a59a0325f70995ec05a652ab20ed
extra : source : 98b6d0c053c03b848d2b6f5d1a9a97dbb74d9ed1
extra : histedit_source : 4f4761ebd4158cc86a60c28c820ff2c128603352
2016-02-08 13:59:40 +00:00
Dão Gottwald 594c008fcb Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Carsten "Tomcat" Book cab348d1b5 Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Carsten "Tomcat" Book fd2c2d9b1a merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
Dão Gottwald 4c8a1f54f5 Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-19 00:50:17 +01:00
Andrew Halberstadt c500b48ceb Bug 1248916 - Ignore mozdebug.requiresEscapedArgs in mochitest, r=ted.mielczarek
Mochitest no longer passes in debug_args in via the commandline. Instead, it passes
them in via a marionette chrome script, meaning they no longer need to be escaped.
Since web-platform-tests still passes debug_args on the commandline, we can't simply
remove the feature entirely. Instead, just make mochitest ignore requiresEscapedArgs.

MozReview-Commit-ID: KBVviGpkvQS

--HG--
extra : rebase_source : 8b3e63b64e608a50e6849affe5ba7c2be323c76c
2016-02-17 14:33:33 -05:00
Andrew Halberstadt a9e74f4c7e Bug 1248056 - Increase marionette connection timeouts in mochitest when running with valgrind, r=chmanchester
MozReview-Commit-ID: 71d5XIgqcCJ

--HG--
extra : rebase_source : 79cfc293e2a1306d56f8633b7d3b1c5bafcb059a
2016-02-16 10:04:52 -05:00
Dave Townsend 0a913f73ee Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : a88116d149af76aa35ee0757b3b51b6f97646ebe
extra : source : 04c1740aa49904a56bd662ee0c8aed69e6f99f8b
2016-02-05 12:12:30 -08:00
Andrew McCreight 4a6ef9bb88 Bug 1248097, part 3 - Add file creation support for options. r=jmaher 2016-02-18 09:09:28 -08:00
Andrew McCreight 0d35a4fff9 Bug 1248097, part 2 - If no name is specified for createFiles, use createUnique to create one. r=jmaher 2016-02-18 09:09:28 -08:00
Honza Bambas 6867ecf8e7 Bug 1248711 - Make Mochitest NSPR upload work with --run-by-dir, r=jmaher 2016-02-17 10:30:00 +01:00
Gijs Kruitbosch 58583cf2ea Bug 1094510 - make browser_canonizeURL.js not hit the network in e10s mode, r=mconley
MozReview-Commit-ID: JlEYeir749V

--HG--
extra : rebase_source : 0b56c6af9e9ecd1b4de10744de82c066e1ff2bee
extra : amend_source : 060b3cb21ddd9f0f413395acf098ce130672ccee
2016-02-29 14:11:04 +00:00
Phil Ringnalda 9dc941a05d Backed out 5 changesets (bug 1245916) for browser-chrome and devtools bustages
CLOSED TREE

Backed out changeset 70eca07367f4 (bug 1245916)
Backed out changeset 04c1740aa499 (bug 1245916)
Backed out changeset b554c7ce41c4 (bug 1245916)
Backed out changeset 01675e4828b5 (bug 1245916)
Backed out changeset 878db4caf845 (bug 1245916)
2016-02-15 13:58:27 -08:00
Dave Townsend 6b99474c7c Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : 13f7319be94e251df7f574f7d239cc31b383fcf8
2016-02-05 12:12:30 -08:00
Phil Ringnalda a6d7a8a0ce Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Nick Alexander bc112329f3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : 8e8c6156e1d06813c250662e104fd14c621d91ab
extra : source : 306cf0271d3e3a344fcbfd2baf75e0450c288cf1
extra : histedit_source : d17446714236c408699a0953882e84ac3a192380%2Cc21b166af79ef1e00215748820bc2670405ac1dc
2016-02-12 10:06:40 -08:00
Carsten "Tomcat" Book 33e27d2555 Backed out 18 changesets (bug 1245153) for multiple test failures
Backed out changeset 18d54b8d4ae8 (bug 1245153)
Backed out changeset 98b6d0c053c0 (bug 1245153)
Backed out changeset c29a348930a4 (bug 1245153)
Backed out changeset f79252e92acc (bug 1245153)
Backed out changeset 9f3f1c358e47 (bug 1245153)
Backed out changeset 3b9e9a027fa7 (bug 1245153)
Backed out changeset 6da8099573f3 (bug 1245153)
Backed out changeset 63a56310a1b5 (bug 1245153)
Backed out changeset 5fe42d498a2a (bug 1245153)
Backed out changeset b3be2d2f3ac1 (bug 1245153)
Backed out changeset ad5bf32d8fef (bug 1245153)
Backed out changeset 68a6dda373d2 (bug 1245153)
Backed out changeset 6ebd9fde50c0 (bug 1245153)
Backed out changeset e41a5b41859a (bug 1245153)
Backed out changeset 048d70070751 (bug 1245153)
Backed out changeset eff85dc0eaa9 (bug 1245153)
Backed out changeset dc6460e0f336 (bug 1245153)
Backed out changeset 36526a2e8b00 (bug 1245153)

--HG--
rename : testing/marionette/event.js => testing/marionette/EventUtils.js
rename : testing/marionette/action.js => testing/marionette/actions.js
rename : testing/marionette/atom.js => testing/marionette/atoms/atoms.js
rename : testing/marionette/element.js => testing/marionette/elements.js
rename : testing/marionette/frame.js => testing/marionette/frame-manager.js
rename : testing/marionette/interaction.js => testing/marionette/interactions.js
2016-02-11 17:05:41 +01:00
Andrew Halberstadt 009050594f Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
MozReview-Commit-ID: GdkkHzxrjAh

--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : d493a3a9a811f0feb2f778c594cf49a6c8b2b48e
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
extra : source : 0aac20bc3619019bc7c19a929154c9b3fbc0df46
2016-01-27 11:36:16 -05:00
Andrew Halberstadt dee8b08ce5 Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7

--HG--
rename : testing/mochitest/b2g_start_script.js => testing/mochitest/start_b2g.js
extra : commitid : CrUflHO8tRa
extra : rebase_source : c50792dfe82e688b52aa07150ddab03e5d0d3f36
extra : amend_source : 1dcd8ae7d74b3397e965672b6dc05d431ab4a916
extra : source : edcbd7c0aa36be0846f2e8e989fb57c9e4449cc4
2016-01-25 09:55:57 -05:00
Andreas Tolfsen b40fe42a1e Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej

--HG--
extra : rebase_source : f18f8352a2556efd741986485d3a0fb84fec836c
extra : histedit_source : cb02f0cab1943b85a9ff5a6325591c3ab2044990
2016-02-08 13:59:40 +00:00
Andrew McCreight 042eee4a3e Bug 1091917 - Stop ignoring failures to leak log on Windows. r=chmanchester 2016-02-10 10:29:20 -08:00
Carsten "Tomcat" Book b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Ehsan Akhgari e20566c8ee Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari eb7b8fe7cf Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Dave Townsend 5bf4a800b2 Bug 1142734: Stop using Timer.jsm to avoid replacing the browser window setTimout and clearTimeout functions. r=jsantell
jetpack-addon-harness.js runs in a browser window scope so it already has the
setTimeout functions available to it. Loading Timer.jsm overrides the DOM
timer functions with those from Timer.jsm. Any other code that used setTimeout
previously will have timer IDs from the DOM functions which don't match those
in Timer.jsm. If this other code attempts to clear a timer it can then end up
clearing an unrelated timer. In the intermittent failure here the
browser-thumbnails code manages to clear the timer that is waiting to resolve
the promise that makes tests continue.

I've also added an additional timer that throws an exception and so ends tests
if the add-on uninstall doesn't actually complete in a reasonable time as well
as removing the add-on listener.

--HG--
extra : commitid : 663HV2HWrjK
extra : rebase_source : 35fae1264532555c4b51ef964eae27a5ff3230e1
2016-02-08 10:11:14 -08:00
Carsten "Tomcat" Book e42fff0533 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Myk Melez a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Mike Conley 21d76321bc Bug 1055464 - Regression tests. r=Mossop
--HG--
extra : commitid : 6YWqpvZGbVl
extra : rebase_source : fb721ee9bfa74689a7f37b298b5efbc57533abbc
extra : amend_source : c2d5750a92c5249b3636d7d6896895ea94711a05
2016-02-05 16:28:53 -05:00
Ted Mielczarek ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Blake Kaplan 3849059fca Bug 1245723 - Make browser_bug680727 e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Julian Seward b2b2af9d30 Bug 1246719 - mach mochitest --valgrind: use comma as separator for --valgrind-args. r=james@hoppipolla.co.uk.
--HG--
extra : rebase_source : 05d9cc3c3eda46f602ac6c46f0b0895d31101be1
2016-02-09 14:38:55 +01:00
Wes Kocher aaf89c475e Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)

--HG--
rename : testing/mochitest/start_b2g.js => testing/mochitest/b2g_start_script.js
extra : commitid : DLurSs6PJ1G
2016-02-03 17:38:12 -08:00
Andrew Halberstadt 5fc06a300b Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : a2a10ff821cd60f6a430820b028535e4312c1e12
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
2016-01-27 11:36:16 -05:00
Andrew Halberstadt ae410fb5a9 Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
--HG--
rename : testing/mochitest/b2g_start_script.js => testing/mochitest/start_b2g.js
extra : commitid : CrUflHO8tRa
extra : rebase_source : 0a041c36b59c79c1bea755b22fe07017cb3d0aa5
extra : amend_source : 1dcd8ae7d74b3397e965672b6dc05d431ab4a916
2016-01-25 09:55:57 -05:00
Julian Seward 25a02db5ac Bug 1229348 - Add a "valgrind-plain" suite to all_mochitest_suites. r=cmanchester. 2016-02-03 18:43:05 +01:00
Blake Kaplan 31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
Geoff Brown 6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Andrew Halberstadt 5d58b96304 Bug 1247639 - Fix uncaught exception when running |mach mochitest| on Android, r=gbrown
MozReview-Commit-ID: 1s8x4zIhZSS

--HG--
extra : rebase_source : 825af84cba25068adf6f04dc55030659da7e174d
extra : amend_source : 3876dcf3749a7bc6d6bc5275954de6fc84d26d6a
2016-02-11 16:09:45 -05:00
Phil Ringnalda 4b0cdb5de3 Back out 3 changesets (bug 1250616, bug 1251372) for failing browser_checkAddonCompatibility.js after the version bump
CLOSED TREE

Backed out changeset 4fa5b5a25f04 (bug 1251372)
Backed out changeset 502cf531ec26 (bug 1250616)
Backed out changeset 2f25d03334b2 (bug 1250616)
2016-03-08 19:04:46 -08:00
Andrew Halberstadt 5e012c112b Bug 1250616 - Update extension names in runrobocop.py, r=gbrown
MozReview-Commit-ID: 5QAJiIL3pph

--HG--
extra : rebase_source : c66543a990c85371e038f0f2cf286b15d0412903
extra : amend_source : 36c54b272a243eb71d9f77ddacadc5c64144182a
2016-03-08 10:35:38 -05:00
Chris Manchester 4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Chris Manchester 02e869c79a Bug 1143547 - Get a stack out of child processes before killing the parent from the mochitest harness in response to the global output timeout. r=ted
--HG--
extra : commitid : 1e1gnyBhQlE
2015-08-12 00:00:35 -07:00
Tom Tromey 2c8e61ac71 Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
Jerry Shih f50db30160 Bug 1238464 - turn on the display during testing. r=ahalberstadt 2016-01-27 18:58:00 +01:00
Chris Manchester d6f59759cd Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Xidorn Quan ed367ac169 Bug 1064843 part 11 - Move checkWindowPureColor helper function from top-layer test to WindowSnapshot.js. r=roc
--HG--
extra : source : 988aceae601f612ec078e2015f50ad7a5ec2ee80
2016-01-28 10:11:00 +11:00
Mike Conley 4b0fba91ba Bug 1233497 - Swap a busted CPOW with a working one in browser_waitForFocus. r=billm
--HG--
extra : commitid : Hx4GCM6BWN6
extra : rebase_source : ad038617954dde4efe181b260305d7f6549106f4
2016-01-04 17:56:14 -05:00
Mike Conley 3ced9d3679 Bug 1233497 - SimpleTest.promiseFocus should not resolve to a window, as it might be a CPOW. r=Enn
--HG--
extra : commitid : KO6LOuvnRpF
extra : rebase_source : e4d249fd4ba7e6d84baa2b875ac93bc17cf154d7
2016-01-04 17:52:08 -05:00
Mike Conley b272bb2f02 Bug 1233497 - Allow CPOW usage in BrowserTestUtils testing module. r=felipe
--HG--
extra : commitid : 1ZHA1ctGqGs
extra : rebase_source : ff3dc92b8342624b59d759917612088f2e9fabe0
2016-01-04 17:21:23 -05:00
Mike Shal 1354934a0d Bug 1241974 - remove testing/mochitest/manifests/Makefile.in; r=gps 2016-01-19 17:20:32 -05:00
Hiroyuki Ikezoe bd6f084951 Bug 1241672 - Add synthesizeWheelAtPoint to avoid styling flush. r=smaug
--HG--
extra : transplant_source : %81j%90%00%DB%AB%1F%8B6%15%FB%893%22%24L%F4%ED%80%A9
2016-01-22 08:43:50 +09:00
Geoff Brown aa39bdf6ec Bug 1240767 - Handle incorrect test paths in 'mach robocop'; r=jmaher 2016-01-21 16:59:44 -07:00
Luis Miguel [:quicksaver] dd3a7632f4 Bug 1218351 - (e10s) Don't lose initial typed characters when opening the findbar. r=mikedeboer
--HG--
extra : transplant_source : u%A5%05_%0D%0CR%2B%1A%D8s%B228%CEn%3EH%F6-
2015-11-04 15:26:40 +00:00
Xidorn Quan 632243831d Bug 1174323 part 1 - Add nsDOMWindowUtils::SendNativeMouseMove and EventUtils.sendNativeMouseMove. r=smaug
--HG--
extra : rebase_source : e5fcc1be763d47dfed778edd840461bba48280b4
extra : source : b194e86b4b29edef1186c529c53e8c6270dd60e2
2016-01-13 10:29:09 +11:00
Phil Ringnalda e3c6e3b2d4 Merge f-t to m-c, a=merge 2016-01-10 15:39:55 -08:00
Bob Clary 5a470be233 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Tim Nguyen 6fd5733c1f Bug 1235953 - Refactor responsive mode tests to use add_task to not use CPOWs and make sure they all wait for the off event. r=ochameau
--HG--
extra : transplant_source : %E2%A7%C4%C5Z%1B%9B%ED%F6%AC%A7%AD%22%BE%60/%84%2C%1B%96
2016-01-07 23:18:56 +01:00
Chris Peterson 3fee84300a Bug 1235238 - Remove unnecessary switch fallthrough to fix -Wimplicit-fallthrough warning in ssltunnel. r=mayhemer
testing/mochitest/ssltunnel/ssltunnel.cpp:1387:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:17:50 -08:00
Dave Townsend 99e46fd0e0 Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe
--HG--
extra : rebase_source : 3e1098fe6d387bed1edcad365e318c484e8989ea
2016-01-06 10:10:35 -08:00
Carsten "Tomcat" Book 2262c1271c merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Dave Townsend ca9efe5553 Bug 1229142: Add shared eslintrc files for the different test suites. r=Standard8
--HG--
extra : commitid : AhpmLFDapbw
extra : rebase_source : 2f78e3b01a56c9fb969370967ee20acaf53bd570
extra : histedit_source : 3c8e2b70317bc799d25ff5c6012aa878feecc668
2015-12-17 15:28:06 -08:00
Gijs Kruitbosch 7bef04ab3c Bug 1233537 - remove support for generatorTest, r=jmaher
--HG--
extra : commitid : B0qXqlqAJrY
extra : rebase_source : 3fbd6db9eb37d6982ca5784b4a11139633ae9f86
2015-12-30 13:51:18 +00:00
Gijs Kruitbosch 697557fdec Bug 1182072 - deal with the graphics window that shows up on startup, r=jmaher
--HG--
extra : commitid : BS3zo1kWTiR
extra : rebase_source : 9e7804988405043ec569cb13f806443af77fc917
2015-12-30 13:50:51 +00:00
Chris Manchester 58d5a05e65 Bug 1216681 - Add a fileid utility to extract the breakpad GUID from object files for identification in fix_stack_using_bpsyms. r=ted
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path,
which causes a failure if a duplicate leaf file name is introduced. This patch introduces a
small utility program on mac and linux to extract a breakpad guid from a shared library or
executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit
implements this for windows.

--HG--
extra : commitid : 2O7REfHuDus
2015-10-21 16:37:42 -07:00
Simon Gareste 72c7524d17 Bug 1231806 - Remove useless semi-colon in statement. r=ted 2015-12-28 05:39:00 +01:00
Simon Gareste f2c7f460ab Bug 1231806 - Fix abnormal blank lines quantity. r=ted 2015-12-28 03:23:37 -05:00
Simon Gareste 7acbc6fe89 Bug 1231806 - Fix trailing space in function description. r=ted 2015-12-28 03:22:43 -05:00
Simon Gareste c648b1b357 Bug 1231806 - Fix continuation line under-indented for visual indent. r=ted 2015-12-21 14:22:06 -05:00
Simon Gareste 60fb6a6b49 Bug 1231806 - Useless import. r=ted 2015-12-21 14:21:51 -05:00
Simon Gareste 106139e8af Bug 1231806 - imported patch syntax.patch. r=ted 2015-12-21 13:18:51 -05:00
Gijs Kruitbosch 51083cba24 Bug 1182072 - Add more diagnostic output to test failures caused by extra windows, r=jmaher,RyanVM
--HG--
extra : commitid : BIOvrwz8iiS
extra : transplant_source : %3F%ED%06%3EB%AF%EE%16W%C4qC.G%F2%E9%40%5E%A51
2015-12-29 15:24:26 +00:00
Chris Manchester 45068b730c Bug 1229598 - Add a mode to browser-chrome tests to summarize per-test code coverage. r=ahal
--HG--
extra : commitid : 25ib6OSlxuz
2015-12-23 14:04:49 -08:00
Bill McCloskey a4a149fd8d Bug 1211401 - Use global message manager as parent of <iframe mozbrowser> MM (r=smaug,ahal) 2015-12-23 12:29:39 -08:00
Nigel Babu 7ea33b2999 Bug 1208725 - Increase the timeout for b2g tests, r=ahal
--HG--
extra : rebase_source : f84ae6531a723c1cb33386f20129b4d4748ece35
2015-12-22 20:02:11 +05:30
Markus Stange 8d6e827631 Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.

Patch by Markus Stange, test fixes by Kartikaya Gupta

--HG--
extra : commitid : 7nnkRC8afAJ
2015-12-17 17:19:30 -05:00
Carsten "Tomcat" Book d1e027ccae Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Gijs Kruitbosch 7df117fdb9 Bug 1222490 - part 3: update all the tests for tabview's removal, r=ttaubert
--HG--
extra : commitid : LsM4DGXki7Q
extra : rebase_source : 37969b5cbad6f656485554f336bccffc5a6e4994
2015-12-01 10:48:11 +00:00
Mike Hommey 3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Carsten "Tomcat" Book 5a9f09086a merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Kris Maglione e5cf10f6e9 Bug 1212890: [webext] Implement browser.tabs.getCurrent. r=gabor
--HG--
extra : commitid : 1s2jDVvyZVV
extra : rebase_source : b014b7fb47a3a8e42c27bba5cbfcfaa568d4f08f
2015-11-24 19:04:00 -08:00
Andrew McCreight 04d7c6f325 Bug 1226291 - disable test on Android in the proper way. r=bustage
CLOSED TREE
2015-11-25 14:37:35 -08:00
Andrew McCreight 4898740306 Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-25 12:34:08 -08:00
Geoff Brown 1798b0ab45 Bug 1228060 - Allow resource://testing-common references in Android mochitests; r=jmaher 2015-11-27 11:57:15 -07:00
Kyle Machulis 78d7eefaea Bug 1225293 - Mochitests for Win64 Silverlight Whitelisting; r=bsmedberg 2015-11-24 12:10:27 -08:00
Wes Kocher 3236d241db Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 3hKx4ECzupv
2015-11-20 14:45:33 -08:00
Andrew Halberstadt 629335ccca Bug 1225903 - Drop support for b2g desktop in mochitest, r=jgriffin
Mochitests on b2g desktop are no longer being run on any trunk branches, including
b2g-inbound. Dropping support for it significantly reduces complexity
in the mochitest harness.

--HG--
extra : commitid : jAe5IJxAQp
extra : rebase_source : 5f163aea70fb99a95667fdafeb7b3361bed1f82d
2015-11-18 13:35:38 -05:00
Mike Conley 8f691672c9 Bug 1171708 - Add windowClosed and domWindowClosed helpers to BrowserTestUtils. r=billm
--HG--
extra : commitid : JCFpD6uastb
extra : rebase_source : f707eaca1a5b1eabc67989057d90b46ab9a6738b
extra : source : e1fcd236bdd367332fd0ef0ebb3815ea5a48cf37
2015-11-12 17:42:42 -05:00
Mike Conley 8cdd233ac6 Bug 1171708 - Fix SessionStore tests to account for async window flushing. r=billm
--HG--
extra : commitid : GukwXUsbANw
extra : rebase_source : 7fd34f268859887633c39db31504b9237126a55b
extra : source : 32196b22b4544981f5658ce028e7566bff3fbca4
2015-11-16 16:17:29 -05:00
Mike Conley cfb24b9ef3 Bug 1220929 - Refactor aboutTabCrashed to use RemotePageManager. r=felipe
--HG--
extra : commitid : JgkEySyHPUj
extra : rebase_source : ad75e0732a125a6c883173839dd236e5fdfa3e5c
2015-11-02 16:03:33 -05:00
Tooru Fujisawa 6350ec15bd Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
--HG--
extra : rebase_source : e7f6009ecadf0347f916b95c51e7223855cc6294
2015-11-18 20:12:26 +09:00