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

14750 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 0745d54a39 merge mozilla-inbound to mozilla-central a=merge 2017-01-31 15:54:35 +01:00
Andrea Marchesini dd65bf8d09 Bug 1333898 - MessageChannel messaging sets .ports to null, r=qdot 2017-01-31 08:47:11 +01:00
Bob Clary afd633fd4a Bug 1334613 - [mozdevice] - use root to kill processes on Android 7+, r=gbrown. 2017-01-30 16:09:14 -08:00
Wes Kocher 584127af5f Merge inbound to central, a=merge
MozReview-Commit-ID: 4GYZ5Pzy7BY
2017-01-30 15:44:58 -08:00
Andreas Farre fff32014f6 Bug 1334904 - Add test for when rIC timeouts doesn't need timeout. r=bkelly
MozReview-Commit-ID: HVO1VckUWWH
2017-01-30 19:45:28 +01:00
Carsten "Tomcat" Book 29cd257175 merge mozilla-inbound to mozilla-central a=merge 2017-01-30 15:59:14 +01:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Andrew Sutherland 8e593b76bd Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
IndexedDB database operations are written such that they must execute
synchronously.  For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion.  However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption.  However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce.  (rr and its enforced single-threading is a
good way to reproduce, however.  Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)

Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
  only allows a single path component to be appended.  In other words,
  file creation is limited to files at the root of the profile
  directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided.  This is
  essential on windows where file deletion only occurs when all handles
  are closed.  Without this fix, "RemoveFiles" side-effect of deleting
  the created files might not take effect until garbage collection runs
  and collects the outStream.
2017-01-30 01:07:27 -05:00
Joel Maher 15ba3d260d Bug 1334529 - add BUG_COMPONENT to testing/web-platform/tests/media*/* files. r=mreavy
MozReview-Commit-ID: Jor1IPG1loQ
2017-01-29 06:51:39 -05:00
Phil Ringnalda 5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Phil Ringnalda 439b10ced6 Backed out 2 changesets (bug 1288768) for wptlint failure
Backed out changeset 3361d527f683 (bug 1288768)
Backed out changeset d8b8219c20d6 (bug 1288768)
2017-01-28 08:10:26 -08:00
Andrea Marchesini cab859bea8 Bug 1288768 - Better error reporting for network errors in workers - WPT, r=bz 2017-01-28 15:40:08 +01:00
Andrea Marchesini bc538fc7e0 Bug 1288768 - Better error reporting for network errors in workers, r=bz 2017-01-28 15:39:24 +01:00
Mark Banner 8cf0d4744c Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Wes Kocher 4cf8a40463 Merge m-c to autoland, a=merge
MozReview-Commit-ID: J5UyPvoy89k
2017-01-27 16:39:56 -08:00
Wes Kocher 7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Chris Manchester 33f09cf502 Bug 1334667 - Distinguish nightlies for all build metrics, not just build times. r=wlach
MozReview-Commit-ID: IfSgjT5oDVY

--HG--
extra : rebase_source : 618b5ac52e65be2d92a814d31cf0b38b1de124d0
2017-01-27 13:44:48 -08:00
Chris Manchester d766b8ac70 Bug 1334534 - Distinguish between nightly and opt builds in perfherder metrics. r=wlach
MozReview-Commit-ID: HkzO1kOzCkz

--HG--
extra : rebase_source : 74bd5642954100025a02e9e6a3dc410a5eb07e2c
2017-01-27 12:24:42 -08:00
Sebastian Hengst d5182586c6 Backed out changeset a9afb304dbb6 (bug 1333736) for failing TestNavigate.test_about_blank_for_new_docshell and TestNavigate.test_focus_after_navigation. r=backout on a CLOSED TREE 2017-01-27 19:13:02 +01:00
Henrik Skupin 3dda9d3f50 Bug 1333736 - Disable usage of new tab page by default. r=maja_zf
Now that Marionette can load about:blank multiple times right after each
other there is no need to prevent using it when turning of the new tab page.

test_about_blank_for_new_docshell can also be updated by using a new tab for
the test. This also gives us a new docshell and can also be run for Fennec.

MozReview-Commit-ID: GWxtsH3nQt

--HG--
extra : rebase_source : 0545382008e874cfeee90fc26ca42ed94ef05b0d
2017-01-25 14:50:24 +01:00
Andrew Halberstadt 3c4766fcab Bug 1334488 - [manifestparser] Improve error message when using an invalid comment character at the start of a manifest, r=jmaher
This refactors some of the error logic into a new IniParseError exception. In addition to checking for a 'name' property, we also
check for a 'path' property. This is because some file-like objects coming out of the build system use a 'path' attribute instead
of the standard 'name'.

MozReview-Commit-ID: EXXl9gt1MQk

--HG--
extra : rebase_source : a130824e6724fdef5cf0bd627b19db68ec5fe683
2017-01-27 10:28:58 -05:00
Carsten "Tomcat" Book a516a86a24 merge mozilla-inbound to mozilla-central a=merge 2017-01-27 10:42:54 +01:00
Nicholas Nethercote 988ca917d4 Bug 1333296 (part 8) - Remove more SPS references. r=mstange.
--HG--
extra : rebase_source : c30833d55b8e1ed0cc95192bf1aebd36b35bfef1
2017-01-25 12:55:50 +11:00
Wes Kocher 65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Wes Kocher 8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Olli Pettay c3fe34260f Bug 1333903 - ErrorEvent, CloseEvent, ProgressEvent and FileList should be exposed in workers, r=baku
--HG--
extra : rebase_source : efcc0f77c1ae9838f1c999ec53a129b6f76c4f01
2017-01-26 18:57:59 +02:00
Olli Pettay 134cf38f8e Bug 1333901 , fix unexpected passes, r=me
CLOSED TREE

--HG--
extra : source : 0fb98449c43b8145aa5ee3dbc09cd0281399ad9d
2017-01-26 13:52:50 +02:00
Olli Pettay 68d3ebc645 Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki
--HG--
extra : rebase_source : c0cb764a8d7d99fb681cafb7c99bb334627299c8
2017-01-26 12:00:16 +02:00
William Lachance c92dae7d50 Bug 1333860 - Fix setting e10s property on counter subtests r=jmaher
MozReview-Commit-ID: H7YZDn1MUYc

--HG--
extra : rebase_source : 544e5e8e2d5a2508b9aed8c5a4028f408721bf5d
2017-01-25 16:09:40 -05:00
Boris Zbarsky d07b805990 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Wes Kocher 7af284cf1a Backed out changeset cc114ed3290c (bug 1333924) for wpt failures a=backout
MozReview-Commit-ID: 9LHnrPL3Bug
2017-01-26 13:25:25 -08:00
Wes Kocher 200a7e4e9a Backed out changeset 9fae2a07dd43 (bug 1333838) for wplint failures a=backout
MozReview-Commit-ID: D6FEaIbDpMq

--HG--
extra : rebase_source : c33688ef80e6d00aed81498ff7899c578398d70b
2017-01-26 13:13:38 -08:00
Boris Zbarsky bc88abc700 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Boris Zbarsky 16c1394f92 Bug 1333924. Remove stale XMLHttpRequest/setrequestheader-bogus-value.htm.ini file. r=jgraham 2017-01-26 15:39:55 -05:00
Carsten "Tomcat" Book e7a970adad Backed out changeset 0fb98449c43b (bug 1333901) need also backed out to due to inital patch-backout 2017-01-26 14:56:49 +01:00
Carsten "Tomcat" Book 3ba519c29b Backed out changeset 3f1285bd1cbd (bug 1319531) for test failures in own test on a CLOSED TREE 2017-01-26 14:41:33 +01:00
Carsten "Tomcat" Book e8b6225b69 Backed out changeset fe6d35a774ed (bug 1333901) for causing hazard warnings after landing 2017-01-26 14:40:42 +01:00
Olli Pettay f05c49e9a5 Bug 1333901 , fix unexpected passes, r=me
--HG--
extra : rebase_source : 41d329213e906f27328dff8ea470881d09daf33b
2017-01-26 13:52:50 +02:00
Andrew Sutherland a00fb459e2 Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
IndexedDB database operations are written such that they must execute
synchronously.  For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion.  However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption.  However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce.  (rr and its enforced single-threading is a
good way to reproduce, however.  Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)

Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
  only allows a single path component to be appended.  In other words,
  file creation is limited to files at the root of the profile
  directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided.  This is
  essential on windows where file deletion only occurs when all handles
  are closed.  Without this fix, "RemoveFiles" side-effect of deleting
  the created files might not take effect until garbage collection runs
  and collects the outStream.
2017-01-26 05:46:59 -05:00
Olli Pettay c479f3ffbf Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki 2017-01-26 12:00:16 +02:00
Phil Ringnalda 7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
Wes Kocher 5144abead2 Merge inbound to m-c a=merge
MozReview-Commit-ID: A6ZgbjxAv9N
2017-01-25 16:54:02 -08:00
Justin Wood f10a8cec59 Bug 1333769 - Pass a MAR url to l10n tasks in taskcluster. r=jlund
(for "Nightly l10n repacks generate wrong complete MARs")

MozReview-Commit-ID: Brewog21QZp

--HG--
extra : rebase_source : 587613f0f5fb8a6ae133d5ceb6487dbcfc79de5c
2017-01-25 09:57:16 -05:00
Carsten "Tomcat" Book 182312677f merge mozilla-inbound to mozilla-central a=merge 2017-01-25 13:47:25 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Carsten "Tomcat" Book dca07ffc3a merge mozilla-central to mozilla-inbound 2017-01-27 11:16:17 +01:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Mark Banner 2ecc79b536 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : c4b19fe3714b19b445011ae1c413ca0e624cb46e
2017-01-17 12:25:43 +00:00
Wes Kocher 18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Boris Zbarsky 39d50c2647 Bug 1332713 part 4. Make Promise-returning getters return a rejected Promise on exception instead of throwing. r=qdot 2017-01-27 18:53:37 -05:00
Geoff Brown 94965587e9 Bug 1301807 - Guard against all exceptions mozharness query_symbols_url(); r=aki 2017-01-27 09:17:15 -07:00
Chris Manchester 37ecb18a14 Bug 1335164 - Install websocketprocessbridge with a more specific test. r=jlund
MozReview-Commit-ID: 2nzpGpiHiDW

--HG--
extra : rebase_source : 59f1d3de0c74ff32be76273bfb2908fe4fd1e44a
2017-01-30 12:47:12 -08:00
Henrik Skupin 67f7bcffac Bug 1124604 - Add `focus` parameter to switch_to_window(). r=ato
To be able to run tests for backgrounds tabs, and to stay in compatibility
with switch_to_frame(), switch_to_window() has to support the `focus` parameter.

MozReview-Commit-ID: YGPJisiI2i

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_switching.py => testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py
extra : rebase_source : 3f7ce9d926e5f862c39a20646fb7cf8575fe233a
2017-01-30 15:35:16 +01:00
Henrik Skupin c94676c778 Bug 1124604 - Move code for getting the outer window id into its own method. r=ato
There are several places which make use of DOMWindowUtils to determine the
outer window id. Lets centralize it to a single method to avoid duplication.

MozReview-Commit-ID: 1IRKMpBPFH

--HG--
extra : rebase_source : 98307ddf40a67e61910aa6391a37fca6081adaa5
2017-01-27 09:09:32 +01:00
Maja Frydrychowicz 74f50780ba Bug 1335240 - actions.InputState does not record correct type for key and pointer; r=ato
MozReview-Commit-ID: 9RW0BretWU5

--HG--
extra : rebase_source : 22a542c35f01665cb2a4157df1fd0c6b96a6d980
2017-02-01 13:30:58 -05:00
Henrik Skupin 2ae40d84a9 Bug 1323185 - Add window (tab) handling support for Fennec. r=ato
So far Marionette did support Fennec but not any of its tab handling
features. As such most of the commands fail because they do not take
BrowserApp into account.

This patch adds support for retrieving window handles, switching
between windows, and closing tabs.

Additionally to those changes a couple of unit tests are getting
updated, and added.

MozReview-Commit-ID: 7sbVIblm0Hw

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_handles.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_content.py
extra : rebase_source : 34bfcd680162d4296d524f72f7d6190ef64682b8
2017-01-26 16:42:35 +01:00
Henrik Skupin c0f4df09f0 Bug 1323185 - Skip unit tests which should not be run with Fennec. r=maja_zf
MozReview-Commit-ID: 5aiuT7vlm3f

--HG--
extra : rebase_source : 3af4465da67e0df764b9ece1fd45e20de4992f57
2017-01-17 16:35:22 +01:00
Henrik Skupin 3e0936eeb3 Bug 1323185 - Fix test_close_not_selected_tab for correctly closing a background tab. r=maja_zf
It should not be possible to close a background tab via the menu shortcut.
Instead another method should be used, best here is the close button.

MozReview-Commit-ID: 3cZmAyPsnj7

--HG--
extra : rebase_source : 83890072d5763bd562bbf69c9ac79c094ae14b84
2017-01-17 19:09:05 +01:00
Maja Frydrychowicz 9304b6483c Bug 1328726 - Disable wdspec tests on linux64 debug; r=jgraham
The wdspec tests in contexts.py already fail silently on linux64
debug. The new actions tests also fail to start a webdriver session,
although only intermittenly. When running the job on a one-click
loaner, I can't tell if it's a browser crash with no crash dump
or a run-time error in wptrunner. Perhaps there's a race wherein
it takes longer to start a Marionette session and wptrunner
starts tests before Marionette is ready, all the tests fail and the
browser gets killed.

MozReview-Commit-ID: FoRbSZOhBUA

--HG--
extra : rebase_source : ef815cce9802deeebf162253e253645b18f82d8a
2017-01-25 17:16:45 -05:00
Maja Frydrychowicz 3ce61ff4bf Bug 1328726 - Add wdspec test for emoji in key actions; r=ato,jgraham
MozReview-Commit-ID: F4xyHqjCc87

--HG--
extra : rebase_source : f2e27cb2cc5a32085b74918e0f16bdcc8e0beba5
2017-01-24 16:18:04 -05:00
Maja Frydrychowicz 3344280f10 Bug 1328726 - Add web-platform wdspec tests for key actions; r=ato,jgraham
MozReview-Commit-ID: LkfDqHujfOl

--HG--
extra : rebase_source : 65d5213b991bd13993b687d617170ca198948852
2017-01-24 16:59:04 -05:00
Phil Ringnalda 1b60bc19eb Merge m-c to autoland 2017-01-24 18:56:54 -08:00
Phil Ringnalda bf98cd4315 Merge m-i to m-c, a=merge 2017-01-24 18:53:29 -08:00
Phil Ringnalda 1f6c6d4839 Merge autoland to m-c, a=merge 2017-01-24 18:43:56 -08:00
Wes Kocher a65c1b1dfe Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Wes Kocher f4f02100c8 Backed out 3 changesets (bug 1323185) for Mn bustage a=backout CLOSED TREE
Backed out changeset 2aa7604fbaaf (bug 1323185)
Backed out changeset 5b6ffae33504 (bug 1323185)
Backed out changeset ae6657776fe0 (bug 1323185)

MozReview-Commit-ID: 44EXnjm4RPt

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_content.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_handles.py
2017-01-24 12:51:08 -08:00
Andrew Halberstadt 413aef1a2c Backed out changeset d0f48f9edd42 because manifestparser doesn't support inline comments
MozReview-Commit-ID: 9Cz5EybG7xA

--HG--
extra : rebase_source : 651b9f65cb4b556e050da2da209904a77ba65693
2017-01-24 16:30:10 -05:00
Geoff Brown 8055af8e8e Bug 1333506 - Allow trailing comment after subsuite in test manifest; r=jmaher 2017-01-24 13:32:21 -07:00
Brad Lassey bbb965d132 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-23 18:53:58 -05:00
Jordan Lund f79eab30a2 Bug 1333443 - 52.0b1 is busted due to migration bug, r=rail
this is to fix the migration configs themselves. I've left aurora_to_beta.py
without osx-universal because on our next migration, beta won't have
osx-universal anymore.

This patch is needed because it breaks the sanity checking since this line:
https://hg.mozilla.org/mozilla-central/rev/f82cd0199ab7#l10.16 is effectively
duplicating this one:
https://dxr.mozilla.org/mozilla-central/rev/8ff550409e1d1f8b54f6f7f115545dbef857be0b/testing/mozharness/configs/merge_day/aurora_to_beta.py#29

MozReview-Commit-ID: 3jNnB8yPMSJ

--HG--
extra : rebase_source : 290267b216e83b9ebbaacbbf562533a2dbfc6faa
extra : amend_source : d4140a2f5af00cff26776a19b0ad532e54e369b9
2017-01-24 16:45:07 +00:00
Wes Kocher 26b0e2ee32 Backed out 7 changesets (bug 1328726) for lint failures a=backout
Backed out changeset 93218dc2249f (bug 1328726)
Backed out changeset 0e6e8d3fccec (bug 1328726)
Backed out changeset 5606cc9b0654 (bug 1328726)
Backed out changeset 40fceb2644d7 (bug 1328726)
Backed out changeset 0c10680f0705 (bug 1328726)
Backed out changeset a2520d52c7cc (bug 1328726)
Backed out changeset ec1a2cd38ffe (bug 1328726)

MozReview-Commit-ID: KnktbcccJoR
2017-01-24 13:55:07 -08:00
Justin Wood 3f86b6412d Bug 1333554 - Taskcluster based android l10n repacks failing on aurora. r=aki a=NPOTDB for CLOSED TREE
MozReview-Commit-ID: 232CLYZ8Yu

--HG--
extra : rebase_source : 48f7caa80dfc6cafc778269b12e9e69379111c56
2017-01-24 16:00:46 -05:00
Maja Frydrychowicz 6295f4c6ae Bug 1328726 - Add wdspec test for emoji in key actions; r=ato,jgraham
MozReview-Commit-ID: F4xyHqjCc87

--HG--
extra : rebase_source : d59f55712ac8ff31a9d96a7a6eea83c151fe6344
2017-01-24 16:18:04 -05:00
Maja Frydrychowicz 7d9d3844a8 Bug 1328726 - Add web-platform wdspec tests for key actions; r=ato,jgraham
MozReview-Commit-ID: LkfDqHujfOl

--HG--
extra : rebase_source : 31fd1fd3e41a46d184cdb30cf9a2e61c42ca96cc
2017-01-24 13:54:57 -05:00
Wes Kocher 8439919627 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7eiveonzAo4
2017-01-24 16:11:28 -08:00
James Graham 59588a752f Bug 1332615 - Enable unprefixed fullscreen API for fullscreen tests. r=xidorn
MozReview-Commit-ID: 9xbHeOcVXk6

--HG--
extra : rebase_source : f4faa1e406b36e5d3dba5b6fb92dd67ba0fc7abd
2017-01-20 07:37:00 -05:00
Phil Ringnalda 9823741350 Merge m-c to m-i 2017-01-23 18:57:15 -08:00
Phil Ringnalda 02a56df647 Merge m-i to m-c, a=merge 2017-01-23 18:54:36 -08:00
Carsten "Tomcat" Book e992f5d4fe Backed out changeset 35ee729f6f1e (bug 1295699) for flake8 test failure 2017-01-23 15:09:57 +01:00
Kris Maglione a8bcea0d5d Bug 1332874: Check that extra windows and tabs are closed after each mochitest. r=aswan
MozReview-Commit-ID: GjJxHVnLJi1

--HG--
extra : rebase_source : 695612f3d73e2feb71b44d3702c583cd3be11626
2017-01-21 15:19:33 -08:00
Sebastian Hengst 051619569e Backed out changeset a82768d2e585 (bug 1331129) for unexpected access to xperf in pageloader@mozilla.org.xpi. r=backout 2017-01-23 19:13:16 +01:00
Brad Lassey 5da33996e2 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-19 11:41:23 -05:00
Gabor Krizsanits 216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Xidorn Quan 9c07cf28a2 Bug 1326189 part 4 - Support caret in test_visited_reftests. r=dholbert
MozReview-Commit-ID: I7zaJw1S4ZC

--HG--
extra : rebase_source : 1fc4b8683d9eb10b6e9d90902bf6d177b7ac50cd
2017-01-20 17:27:18 +11:00
Gregory Szorc da32e2ee18 Bug 1291926 - Vendor latest robustcheckout extension; r=me
From changeset de41dae85307ad65523a7dd2e9ae788490860bdc in the
version-control-tools repository. Added without modifications.

This adds automatic retry functionality to hopefully cut down on the
number of intermittent failures related to connectivity problems.

Self reviewing because the extension changes were already peer
reviewed.

MozReview-Commit-ID: 2vMpM2QHExL

--HG--
extra : rebase_source : 82db28bb9751785801c319a4f9c49d24d61d446b
2017-01-23 11:21:24 -08:00
Andrew Halberstadt e93314dd2a Bug 1333049 - Remove leakcheck hack from mochitest harness, r=jmaher
MozReview-Commit-ID: LIamko4HHrX

--HG--
extra : rebase_source : 655041e576ee70fe23ee80ad00a87890a1883592
2017-01-23 08:57:08 -05:00
Henrik Skupin 6f0d181399 Bug 1293855 - Skip test_should_not_scroll_elements_if_click_point_is_in_view for Fennec. r=maja_zf
MozReview-Commit-ID: 2DhiwLimdhV

--HG--
extra : rebase_source : 5d8fe8b28b6490ee173911c90ec20c7226b84c9c
2017-01-23 16:05:32 +01:00
Maja Frydrychowicz f965cd20c8 Bug 1328726 - Add server fixture to pytestrunner; r=ato,jgraham
MozReview-Commit-ID: B64A6ZR2Sz8

--HG--
extra : rebase_source : 9e4de01da5910030b61ec34669b56d9549e4f536
2017-01-09 18:34:30 -05:00
Maja Frydrychowicz 8d28c860ef Bug 1328726 - Add server fixture to pytestrunner; r=ato,jgraham
MozReview-Commit-ID: B64A6ZR2Sz8

--HG--
extra : rebase_source : 9e4de01da5910030b61ec34669b56d9549e4f536
2017-01-09 18:34:30 -05:00
Maja Frydrychowicz 515f58f441 Bug 1328726 - (wdclient) Add element property command, use value key; r=ato
MozReview-Commit-ID: FZjSxRLV829

--HG--
extra : rebase_source : a32bf6b2ba21bd1d33b630988bfa756f9ee96748
2017-01-09 16:26:19 -05:00
Maja Frydrychowicz 381461a76f Bug 1328726 - (wdclient) Add actions endpoints, key actions API; r=ato
MozReview-Commit-ID: CScEEaAgw0X

--HG--
extra : rebase_source : bfaab0bb11459930c88089bba6f1f98088456a0b
2017-01-24 16:18:24 -05:00
Maja Frydrychowicz 320a29e888 Bug 1328726 - Make performActions and releaseActions blocking; r=ato
Now the server response isn't sent until the command's Promise is
resolved.

MozReview-Commit-ID: LUdL6mZQ5jE

--HG--
extra : rebase_source : f933e75ca948140a1fd763670b9793b4ff51df67
2017-01-11 10:26:22 -05:00
Maja Frydrychowicz d14774b7fa Bug 1328726 - (wdclient) Add element property command, use value key; r=ato
MozReview-Commit-ID: FZjSxRLV829

--HG--
extra : rebase_source : a32bf6b2ba21bd1d33b630988bfa756f9ee96748
2017-01-09 16:26:19 -05:00
Maja Frydrychowicz 0cca988336 Bug 1328726 - (wdclient) Add actions endpoints, key actions API; r=ato
MozReview-Commit-ID: CScEEaAgw0X

--HG--
extra : rebase_source : bfaab0bb11459930c88089bba6f1f98088456a0b
2017-01-24 16:18:24 -05:00
Maja Frydrychowicz 9cc3470245 Bug 1328726 - Make performActions and releaseActions blocking; r=ato
Now the server response isn't sent until the command's Promise is
resolved.

MozReview-Commit-ID: LUdL6mZQ5jE

--HG--
extra : rebase_source : f933e75ca948140a1fd763670b9793b4ff51df67
2017-01-11 10:26:22 -05:00
Henrik Skupin 9720411b0a Bug 1333069 - Skip test_should_report_key_code_of_arrow_keys_up_down_events for test failures for Fennec. r=maja_zf
Lets skip this test for Fennec. And while doing it we should make use of self.assertIn()
when checking if some characters are contained in a string.

MozReview-Commit-ID: 5qXENTPFkQH

--HG--
extra : rebase_source : d8aa8511c886396ebc71a774b5cdb746ff5b640d
2017-01-23 16:18:33 +01:00
Andrew Halberstadt 3eca421290 Bug 1332573 - Always set status in mochitest even if no tests were found, r=pyang
This fixes a regression in bug 1332573 where if no tests are found by the getActiveTests
function, the status variable never gets set. This ensures that we always set status, and
that it will be set to a non-zero return code if any of the calls to runApp fail.

MozReview-Commit-ID: 20M7FcBs0DF

--HG--
extra : rebase_source : d33a1a052986df628a90146e6de29aa415d8a1ad
2017-01-20 09:37:52 -05:00
Henrik Skupin fa96c2f9f9 Bug 1323185 - Add window (tab) handling support for Fennec. r=ato
So far Marionette did support Fennec but not any of its tab handling
features. As such most of the commands fail because they do not take
BrowserApp into account.

This patch adds support for retrieving window handles, switching
between windows, and closing tabs.

Additionally to those changes a couple of unit tests are getting
updated, and added.

MozReview-Commit-ID: 7sbVIblm0Hw

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_handles.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_content.py
extra : rebase_source : 475dd6bee446f58208192202cd4c483e2fd929dc
2017-01-23 08:46:50 +01:00
Henrik Skupin e328faf19c Bug 1323185 - Skip unit tests which should not be run with Fennec. r=maja_zf
MozReview-Commit-ID: 5aiuT7vlm3f

--HG--
extra : rebase_source : a25a0b3f9935ab0e55413706ccb675c7a54aeaf8
2017-01-17 16:35:22 +01:00
Henrik Skupin 40518a3f3a Bug 1323185 - Fix test_close_not_selected_tab for correctly closing a background tab. r=maja_zf
It should not be possible to close a background tab via the menu shortcut.
Instead another method should be used, best here is the close button.

MozReview-Commit-ID: 3cZmAyPsnj7

--HG--
extra : rebase_source : 7bfcae00211b86400e39131187267866c3d4ea25
2017-01-17 19:09:05 +01:00
James Graham 73219092ce Bug 1302621 - fixup wpt manifest, a=testonly
MozReview-Commit-ID: 5MGcaXlEHt

--HG--
extra : amend_source : 979fee56b4eebf55c5f079821c2cc5ed82a1e3e0
2017-01-24 07:55:00 +01:00
James Graham 6f445607d4 Bug 1302621 - Fix buggy history traversal test, r=Ms2ger
MozReview-Commit-ID: Lc7BDuxEWgY

--HG--
extra : rebase_source : a6df9697f3f24dbc56390c1b654c9d53822ce17e
2017-01-20 12:57:49 +00:00
Henrik Skupin f5e1d18069 Bug 1333065 - Fix test_additional_capabilities to use the remote profile path for Fennec. r=maja_zf
In case of Fennec the remote profile path has to be used for comparing the moz:profile
capability of Marionette.

MozReview-Commit-ID: 1vHquI0yPmD

--HG--
extra : rebase_source : 1c3a7f3718d683fad8ffb898083ead7af09bbc12
2017-01-23 22:28:18 +01:00
Hiroyuki Ikezoe d889aef662 Bug 1333295 - Use 'left' and 'right' for 'clear' property animation. r=daisuke
'inline-start' and 'inline-end' are still behind the pref on beta channel
(bug 1253919).

MozReview-Commit-ID: ISI5QYbjf7X

--HG--
extra : rebase_source : ccaec5ff831b645fb150b7e5913c7ad3d10fc2ff
2017-01-24 12:15:42 +09:00
Henrik Skupin f9498eb779 Bug 1333803 - Revert setting of the update channel to modifying channel-prefs.js. r=maja_zf
As it has been turned out setting the desired update channel via a preference
on the default branch does not work. Instead it really has to be set in the
channel-prefs.js file.

If not done so, the updater will see the new channel as invalid and abort the
update process.

MozReview-Commit-ID: 6NqYaijAcsX

--HG--
extra : rebase_source : 31f3da79c960ca68b715df4b7cf70e4d486a2281
2017-01-30 17:05:27 +01:00
Carsten "Tomcat" Book 65f7bfd24d Merge mozilla-central to autoland 2017-01-30 16:21:32 +01:00
Wes Kocher abd222ddc9 Backed out 8 changesets (bug 1328726) for webdriver bustage a=backout CLOSED TREE
Backed out changeset 1039c2ca90ee (bug 1328726)
Backed out changeset de5830f1b8ab (bug 1328726)
Backed out changeset c039479ce446 (bug 1328726)
Backed out changeset 6d9673eedd91 (bug 1328726)
Backed out changeset be79eb6f9d64 (bug 1328726)
Backed out changeset 6be0203f1a26 (bug 1328726)
Backed out changeset 4430151d0cb4 (bug 1328726)
Backed out changeset 2143f1aa8087 (bug 1328726)

MozReview-Commit-ID: GrWBTO2rhXm
2017-01-25 10:51:08 -08:00
Henrik Skupin 0e4ac4c144 Bug 1322277 - Default socket timeout has to be larger than the default page load timeout. r=ato
To not run into socket failures and forced application shutdown scenarios, the socket timeout
should always be larger then the page load timeout.

MozReview-Commit-ID: EOBW4mozDT1

--HG--
extra : rebase_source : 36cf785311fa7689021a5296dd8aeb9ed3c58a43
2017-01-24 14:17:19 +01:00
Henrik Skupin 0daf457422 Bug 1322277 - Marionette client should be able to set default capabilities. r=ato
Some default values for capabilities as defined by the Webdriver spec do not
match the expectations for Marionette client. Therefore we should add the possibility
to override those defaults in start_session(), but also still allow consumers to
set their own values.

MozReview-Commit-ID: CTUycCRV5kg

--HG--
extra : rebase_source : b333cec564b6c03ee4eee4eb601c30b3c8b9270e
2017-01-25 16:29:40 +01:00
Henrik Skupin b384b8556d Bug 1322277 - Fix usage of capabilities in start_session r=ato
Capabilities as passed into start_session() can be desiredCapabilities
and requiredCapabilities. As such the parameter name should be clear.

MozReview-Commit-ID: GPNv4g9HMO2

--HG--
extra : rebase_source : 29ed59fac63b7fb147cd704dfa92e96563979f00
2017-01-23 20:35:15 +01:00
Jordan Lund 4e3212762f Bug 1333302 - Permafailing Windows static analysis builds on aurora 53, r=wcosta
MozReview-Commit-ID: AbLYJKGfCL4

--HG--
extra : rebase_source : 6de2e87de8b0f0ff0d9fe392ef858ac8bab26e72
2017-01-25 12:36:19 +00:00
Maja Frydrychowicz fe676c1c54 Bug 1328726 - Disable contexts.py wdspec tests on linux64 debug; r=jgraham
The wdspec tests in contexts.py already fail silently on linux64
debug. After adding the actions tests, which pass, the job turns
orange so let's disable the failing tests for now.

MozReview-Commit-ID: FoRbSZOhBUA

--HG--
extra : rebase_source : b4f4975317db868f36a5ce260cd2eb60c9154b09
2017-01-25 07:55:31 -05:00
Maja Frydrychowicz 69d105b312 Bug 1328726 - Add wdspec test for emoji in key actions; r=ato,jgraham
MozReview-Commit-ID: F4xyHqjCc87

--HG--
extra : rebase_source : f2e27cb2cc5a32085b74918e0f16bdcc8e0beba5
2017-01-24 16:18:04 -05:00
Maja Frydrychowicz 635fa00923 Bug 1328726 - Add web-platform wdspec tests for key actions; r=ato,jgraham
MozReview-Commit-ID: LkfDqHujfOl

--HG--
extra : rebase_source : 65d5213b991bd13993b687d617170ca198948852
2017-01-24 16:59:04 -05:00
Maja Frydrychowicz 39f82971a9 Bug 1328726 - Add server fixture to pytestrunner; r=ato,jgraham
MozReview-Commit-ID: B64A6ZR2Sz8

--HG--
extra : rebase_source : 9e4de01da5910030b61ec34669b56d9549e4f536
2017-01-09 18:34:30 -05:00
Maja Frydrychowicz 1c5b4db81f Bug 1328726 - (wdclient) Add element property command, use value key; r=ato
MozReview-Commit-ID: FZjSxRLV829

--HG--
extra : rebase_source : a32bf6b2ba21bd1d33b630988bfa756f9ee96748
2017-01-09 16:26:19 -05:00
Maja Frydrychowicz 1ae6a363cb Bug 1328726 - (wdclient) Add actions endpoints, key actions API; r=ato
MozReview-Commit-ID: CScEEaAgw0X

--HG--
extra : rebase_source : bfaab0bb11459930c88089bba6f1f98088456a0b
2017-01-24 16:18:24 -05:00
Maja Frydrychowicz 5147eeee67 Bug 1328726 - Make performActions and releaseActions blocking; r=ato
Now the server response isn't sent until the command's Promise is
resolved.

MozReview-Commit-ID: LUdL6mZQ5jE

--HG--
extra : rebase_source : f933e75ca948140a1fd763670b9793b4ff51df67
2017-01-11 10:26:22 -05:00
Maja Frydrychowicz 259f6b6eda Bug 1328726 - Style fix ups in Marionette key actions implementation; r=ato
These are leftover from review of Bug 1320389. I must have forgotten to
re-push to MozReview.

MozReview-Commit-ID: ENTFdmCsv6I

--HG--
extra : rebase_source : 3c6961fb1826cb7cc00d1bd6048ed2c94c9a2f1a
2017-01-04 17:48:11 -05:00
Wes Kocher 26ef67bc84 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 86aFtkvKHHj
2017-01-25 17:18:56 -08:00
Maja Frydrychowicz fea0cb5625 Bug 1328726 - Style fix ups in Marionette key actions implementation; r=ato
These are leftover from review of Bug 1320389. I must have forgotten to
re-push to MozReview.

MozReview-Commit-ID: ENTFdmCsv6I

--HG--
extra : rebase_source : 3c6961fb1826cb7cc00d1bd6048ed2c94c9a2f1a
2017-01-04 17:48:11 -05:00
Maja Frydrychowicz a09882ecfa Bug 1328726 - Style fix ups in Marionette key actions implementation; r=ato
These are leftover from review of Bug 1320389. I must have forgotten to
re-push to MozReview.

MozReview-Commit-ID: ENTFdmCsv6I

--HG--
extra : rebase_source : 3c6961fb1826cb7cc00d1bd6048ed2c94c9a2f1a
2017-01-04 17:48:11 -05:00
Carsten "Tomcat" Book aaafcb0f0a Backed out changeset f8b29e24280b (bug 1333044) for perma failures in test_load_modules.js
--HG--
extra : rebase_source : ef649da0bb1acaabcb55a42e5df4164f1cf8b6d4
2017-01-25 15:29:53 +01:00
Carsten "Tomcat" Book a6178c3af9 Backed out changeset 9c6b98edac72 (bug 1333044)
--HG--
extra : rebase_source : e81a05f7fa7ffca19ced3e0aca62ada7bde935b2
2017-01-25 15:29:33 +01:00
Carsten "Tomcat" Book ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Mark Banner eb102a103e Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 19e5895756579ecf88d5be70e8aaaf8c3166ada1
2017-01-23 15:15:05 +00:00
Mark Banner 33c00194c2 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : 9b5edc75897af35754433b6fccfcecf83293c62b
2017-01-17 12:25:43 +00:00
Phil Ringnalda 74f10163fe Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
Phil Ringnalda 63d58feb4a Backed out 2 changesets (bug 1303113) for test_ext_cookies.html failures
CLOSED TREE

Backed out changeset f6c9241b40ec (bug 1303113)
Backed out changeset f4b8933f62ea (bug 1303113)
2017-01-21 12:20:41 -08:00
Bob Clary 2d71f27173 Bug 1328301 - handle push/pull directory semantics changes in adb 1.0.36 for devicemanagerADB, r=gbrown 2017-01-21 09:49:56 -08:00
Bob Clary 88345f4996 Bug 1328301 - handle push/pull directory semantics changes in adb 1.0.36 for adb.py, r=gbrown. 2017-01-21 09:49:56 -08:00
Gabor Krizsanits 8b31ae6749 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-21 18:24:35 +01:00
Phil Ringnalda bc39cd575f Merge m-c to m-i 2017-01-24 18:57:47 -08:00
Nicholas Nethercote 4b20732978 Bug 1333296 (part 4) - Remove SPS references in testing/talos/. r=mstange.
They are all in comments.

--HG--
extra : rebase_source : e1be7d65ed9a3813763012aa8c843eb73412d5f3
2017-01-24 14:20:23 +11:00
Henrik Skupin 6a7758630c Bug 1333736 - Disable usage of new tab page by default. r=maja_zf
Now that Marionette can load about:blank multiple times right after each
other there is no need to prevent using it when turning of the new tab page.

test_about_blank_for_new_docshell can also be updated by using a new tab for
the test. This also gives us a new docshell and can also be run for Fennec.

MozReview-Commit-ID: GWxtsH3nQt

--HG--
extra : rebase_source : 83105159cb01110a3d4cb1895fc076f09187bf73
2017-01-25 14:50:24 +01:00
Ben Kelly a0b6f6769a Bug 1321878 P2 Add a wpt test to verify Performance timing API accounts for service worker time. r=asuth
MozReview-Commit-ID: JeJpUPuMMnZ
2016-12-12 12:14:00 +01:00
Wes Kocher c8f30b0f17 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2ebTz0mtSc6
2017-01-26 16:32:51 -08:00
Andrew Halberstadt 425c00ead0 Bug 1333564 - [manifestparser] Include manifest path when raising exceptions from the ini parser, r=jmaher
MozReview-Commit-ID: 3Ns9PxVnvy5

--HG--
extra : rebase_source : 24a07462052aba712e8a2b8b1fe78ade3b1f0c5e
2017-01-25 15:51:06 -05:00
Andrew Halberstadt 44a16cbe8a Bug 1333564 - [manifestparser] Add support for inline comments, r=jmaher
Previously manifestparser only supported inline comments on conditional keys, such as
skip-if, fails-if, subsuite-if, etc. But on any other key name, inline comments weren't
supported. This was a bad situation because people saw these skip-if comments, and
naturally assumed inline comments worked everywhere. Then they were surprised when things
broke in mysterious ways.

This patch removes the special-casing for skip-if and friends and allows inline comments
everywhere. A caveat to this, is that ' #' is no longer a valid substring in a value.

MozReview-Commit-ID: Hr0BIwzTgaJ

--HG--
extra : rebase_source : f9a042da2137f200434140a7e472df0799f6606d
2017-01-25 12:21:31 -05:00
Andrew Halberstadt 30e80e125a Bug 1333564 - [manifestparser] Stop supporting ';' as a valid comment character, r=jmaher
It turns out there are shockingly few cases of manifestparser manifests that actually use the ';'
character as a comment. Because we will soon allow inline comments, deprecating the use of ';' will
ensure that values are allowed to have semicolons in them.

Even without inline comments, might as well enforce consistency across manifests.

MozReview-Commit-ID: AEPPQFdNXG0

--HG--
extra : rebase_source : 3540fa385f328bffb020c0a6debc4d2b3a90ed39
2017-01-25 14:38:37 -05:00
Andrew Halberstadt 676b6a3311 Bug 1333564 - [manifestparser] Allow multi-character comment tokens, r=jmaher
MozReview-Commit-ID: 8RDgAkBVmcK

--HG--
extra : rebase_source : 1b061d9f1511c7265d1d7e2481ed1d192609d652
2017-01-25 09:41:10 -05:00
Jim Chen e6583a6227 Bug 1335127 - Fall back to stub IO counters when psutil fails; r=gps
The fallback at [1], when psutil.disk_io_counters() fails, returns a
simple list but callers to get_disk_io_counters() expect an object with
specific properties. Returning a stub object from PsutilStub fixes that.

[1] https://dxr.mozilla.org/mozilla-central/rev/1d025ac534a6333a8170a59a95a8a3673d4028ee/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py#67
2017-02-01 17:26:51 -05:00
James Graham b1a863f322 Bug 1334767 - Make wpt manifest lint only flag changes that will affect the tests, r=Ms2ger
This is needed because we changed the manifest format to store file hashes for
faster updating. But keeping that up to date requires the manifest to be regenerated
too often so we instead just check for changes to the actual tests that will run.

MozReview-Commit-ID: FYU5Vr6cXwd

--HG--
extra : rebase_source : c0dfd0c83d6a7c14622fbb0b98ad36816fa37a1e
2017-01-28 08:49:11 +00:00
Bryce Van Dyk b9d41ff5bb Bug 1334925 - Add twitch test suite support to FF mozharness script. r=maja_zf
Expand firefox_media_tests.py to include support for twitch.tv tests added to
the external media tests.

Other changes:
- Improve -h docs to mention more clearly available test suites.
- Remove duplate test suite config from platform specific configs. The different
  test suites can all be configured the same, independant of platform, so this
  has been lifted into the firefox_media_tests.py file to reduce duplication.
- Use symbolic constans for test suite names to avoid magic strings and reduce
  risk of typos.

MozReview-Commit-ID: H6Y4wgPUfSk

--HG--
extra : rebase_source : 91ac538f8c035da1a3c6c91b09ce87ecbe8e3a90
2017-01-27 08:10:35 +13:00
Bryce Van Dyk 9c1f327fc2 Bug 1334925 - Driveby update firefox_media_test scripts to use format() interpolation. r=maja_zf
Change instances of old style python string interpolation in media test files
to the newer, format() style. format() appears to be the more common style
in the harness code, and this makes the media test code more consistent in
that regard.

MozReview-Commit-ID: JX59EB2EjXH

--HG--
extra : rebase_source : e32798aa5365821b948054c7e9d8a09f8be557fa
2017-01-27 04:46:55 +13:00
Geoffrey Sneddon e0408a458a Bug 1332529 - Avoid Windows' non-case-preserving case-normalization; r=jgraham
Based on https://github.com/w3c/wpt-tools/pull/153

MozReview-Commit-ID: 7WNGKbpUcsr

--HG--
extra : rebase_source : 799eb5070a89376ac61e92b3ebe260aae94fcf87
2017-01-30 12:32:41 +11:00
Joel Maher 07253454c6 Bug 1332564 - disable webvtt/rendering/* as features are not implemented in gecko. r=gbrown
MozReview-Commit-ID: BOcSWKXJEHw
2017-02-06 14:32:49 -05:00
Andreas Tolfsen f92eb33723 Bug 1319237 - Make GeckoDriver#setWindowSize synchronous; r=automatedtester
Return from the Set Window Size command only after the window resize
DOM event has occurred.

MozReview-Commit-ID: 7ygZuNJZzq2

--HG--
extra : rebase_source : b9e2aa5720eb0527eb04bd80abc854217f30ac29
2016-11-21 23:44:22 +01:00
Andreas Tolfsen e0f2292764 Bug 1319237 - Make GeckoDriver#setWindowPosition synchronous; r=automatedtester
This change makes the Set Window Position command synchronous by waiting
for the original window position to change before returning.

MozReview-Commit-ID: 3gOv6bNPASV

--HG--
extra : rebase_source : 50b3f3aedce8ea732fd8e196c70bf86e003981d0
2016-11-21 23:43:35 +01:00
Andreas Tolfsen 8856da4c0b Bug 1319237 - Generalise wait condition utility; r=automatedtester,maja_zf
This makes the `implicitWaitFor` utility from
testing/marionette/element.js generally available in Marionette.

It improves on the design of the old wait utility by providing
promise-like resolve and reject options to the evaluated function.  These
can be used to indicate success or failure of waiting.  If resolved, the
provided value is returned immediately.  When rejected, the function is
evaluated over again until the timeout is reached or an error is thrown.

It is useful to indicate success and failure state because it saves the
calling code from guessing based on the return value.  Guessing from
the return value can be problematic since there are certain types and
values in JavaScript that are ambigeous or misleading, such as the fact
that empty arrays are evaluated as a truthy value.

MozReview-Commit-ID: G8F99tdbiNb

--HG--
extra : rebase_source : 1de77b97f0de71e0dc77fc47a6b1aab1ef88ea6f
2016-11-21 23:41:20 +01:00
Andreas Tolfsen 258e75ab6a Bug 1319237 - Make session fixture module scoped; r=jgraham
I recently changed it to function scoped, which was a mistake.
pytest complains if it is not module scoped.

MozReview-Commit-ID: GYP9Ky1avks

--HG--
extra : rebase_source : ad96a48fe19c987f3021225f11875d6e80858ccf
2016-11-21 23:39:42 +01:00
Andreas Tolfsen 1025eac334 Bug 1319237 - Allow pytests to be skipped imperatively at runtime; r=jgraham
It is required to skip certain WebDriver tests imperatively at runtime,
such as for the Get Window Size and Get Window Position commands, which
are only available at certain configurations.

MozReview-Commit-ID: 9ERYkYm34iI

--HG--
extra : rebase_source : e30e2fa1473e25511dcec0361ad4a7eecce04e67
2016-11-21 23:38:42 +01:00
Andreas Tolfsen f9138110ea Bug 1319237 - Assign GeckoDriver#getWindowSize return value in one statement; r=automatedtester
MozReview-Commit-ID: BGH1WkgH91p

--HG--
extra : rebase_source : c28ac11491968aeaba0e6b5e7f4fbb14e7c12d55
2016-11-21 23:36:29 +01:00
Andreas Tolfsen a4ab722fe8 Bug 1319237 - Calculate correct window position; r=automatedtester
The testing/marionette/browser.js window getter does not return the
same window as `GeckoDriver#getCurrentWindow`.  This is a problem,
but for now we can rely on `getCurrentWindow`.

MozReview-Commit-ID: PT9M7boPM7

--HG--
extra : rebase_source : 065b16b3801c002ac379a7beefcd66bea2c20bfb
2016-11-21 23:33:03 +01:00
Andreas Tolfsen fa17ef9fff Bug 1319237 - Correct window size- and position test; r=automatedtester,jgraham
MozReview-Commit-ID: Fajaksg2DhG

--HG--
extra : rebase_source : ab209dc1d7ee32876ec0489106cfe70edc0f6273
2016-11-21 23:30:23 +01:00
Henrik Skupin 19c8f94a8d Bug 1336445 - Don't select the first tab if switch_to_window() is called with a chrome window handle. r=ato
Using switch_to_window() with a chrome window handle should not change the selected tab within
a browser window. It means we first have to check if it is a chrome handle, and only if it's not,
we should care about content window handles.

MozReview-Commit-ID: IcmCcmVy26T

--HG--
extra : rebase_source : 8f078d40b55da5553426c7cf547dc6330fe379fe
2017-02-05 15:55:10 +01:00
Henrik Skupin 97e1ca8fbf Bug 1322277 - Default socket timeout has to be larger than the default page load timeout. r=ato
Until we can remove the socket timeout parameter it has to be set a default value which
is larger than the longest timeout as defined by the WebDriver spec. In that case it's
300s for page load. Also add another minute so that slow running builds have enough time
to send the timeout error to the client.

MozReview-Commit-ID: EOBW4mozDT1

--HG--
extra : rebase_source : 51031bad39ea0cc08a5b03024dc4362974c638ce
2017-02-06 13:11:38 +01:00
Henrik Skupin 3c90228249 Bug 1322277 - Fix usage of capabilities in start_session. r=ato
Capabilities as passed into start_session() can be desiredCapabilities
and requiredCapabilities. As such the parameter name should be clear.

MozReview-Commit-ID: GPNv4g9HMO2

--HG--
extra : rebase_source : f837873c2d663e5540cb0a4327f6bb90243b1cb5
2017-02-06 13:03:18 +01:00
Gijs Kruitbosch db01372697 Bug 1335272 - prep: factor out registering about: pages into BTU, r=jaws
MozReview-Commit-ID: 2B2j5xcbSWt

--HG--
extra : rebase_source : 0edc732e50ea3482d0cba0fd150ac4d0a07aaa82
2017-02-02 14:34:40 +00:00
Chris Manchester b3946b997e Bug 1200311 - Build the gtest libxul during the compile tier instead of package-tests. r=ted
MozReview-Commit-ID: HX2ORY8cUV9

--HG--
extra : rebase_source : a5510ea1709313206bd620815f7283832fe3efee
2017-02-06 14:34:07 -08:00
Carsten "Tomcat" Book e3d26bec48 Backed out changeset a2820983e1e6 (bug 1336922) for flake8 failure 2017-02-07 17:03:36 +01:00
Greg Mierzwinski d034427bd2 Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.

MozReview-Commit-ID: 97VFkJmlwQn

--HG--
extra : rebase_source : 26c841f5a68f927889c0903e701bfde4b7ca84ac
2016-11-08 15:57:21 -05:00
Greg Mierzwinski 4d2572b183 Bug 1317019 - Fix object iteration and check if scriptName exists. r=chmanchester,jmaher
This patch first implements an iterator so that we can properly iterate over the elements of the object returned by the _getMethodNames function. Next, the recordTestCoverage function now checks to see if the file actually has methods before recording them. And finally, some formatting was done.

MozReview-Commit-ID: EPOeYlMBc0w

--HG--
extra : rebase_source : c2145303916189804ba6ff31ede9310ab63d5104
2017-01-21 16:04:28 -07:00
Marco Bonardo 6fb7192a8a Bug 1332295 - do_register_cleanup should support generators and async functions. r=ted
MozReview-Commit-ID: BPCwPlWQ8G0

--HG--
extra : rebase_source : db1099f2f1c681e30ca35367b9098d9c28cd1ae1
2017-01-19 16:07:46 +01:00
Tooru Fujisawa 44f45bf316 Bug 1338257 - Remove remaining legacy generator from testing/marionette/. r=ato 2017-02-11 11:47:57 +09:00
Francois Marier 51d255e6af Bug 1336922 - Temporarily disable V4 updates in test_safe_browsing_initial_download.py. r=whimboo
MozReview-Commit-ID: IB2ginfKPE3

--HG--
extra : rebase_source : e8985d69ebaef06d7aed7886e3cff620976173ea
2017-02-07 16:53:32 +08:00
Mike Hommey 963cc84524 Bug 1256730 - Add Mozilla and Google API files to artifact and cross-osx builds. r=gps,mikedeboer
--HG--
extra : rebase_source : 43b6758e9d3d19a68bb1d60e1caf8927ce0f3668
2016-08-09 20:03:04 +09:00
Wes Kocher ddc572ebce Backed out changeset 529ae909938a (bug 1303113) for frequent asan failures in test_ext_cookies.html a=backout
MozReview-Commit-ID: 9hU3ePb8tpn
2017-01-20 12:22:08 -08:00
Paolo Amadini bfb4e9151f Bug 1237961 - Assert.throws raises a TypeError exception when the "expected" parameter is an arrow function. r=mikedeboer
MozReview-Commit-ID: CyhD00Uwbwj

--HG--
extra : rebase_source : 24a80ca12bfdded82f4bc3487ee491defa60da7b
2017-01-20 15:38:56 +01:00
Gabor Krizsanits 4ef662975e Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-20 15:52:07 +01:00
Valentin Gosu fd0c022031 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Carsten "Tomcat" Book d228eab012 Merge mozilla-central to mozilla-inbound 2017-02-08 11:30:50 +01:00
Andrea Marchesini 8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Joel Maher 0aae020359 Bug 1331129 - get mainthreadio working in talos again, and clean up old entries in the mtio_whitelist.json. r=rwood
MozReview-Commit-ID: DoSVRTVLmhs
2017-01-23 11:09:48 -05:00
Joel Maher d1c1a12334 Bug 1330697 - verify xperf_whitelist.json entries are still needed. r=rwood
MozReview-Commit-ID: 9lpDKZriSM7
2017-01-23 11:07:56 -05:00
Dão Gottwald 3b3f3c15b8 Bug 1332298 - Fix and re-enable test_dv_certificate.py, test_ev_certificate.py, test_toolbars.py. r=whimboo 2017-01-20 14:09:08 +01:00
Phil Ringnalda 6f55fab2bf Merge m-i to m-c, a=merge 2017-01-19 22:04:52 -08:00
Luke Wagner b46f682453 Bug 1332312 - remove JS_DISABLE_SLOW_SCRIPT_SIGNALS (r=bbouvier)
MozReview-Commit-ID: 6uyBGnbAimG

--HG--
extra : rebase_source : 5a676d3cd6584b859eced2fdcced77e08f0d0aa6
2017-01-19 14:06:24 -06:00
Wes Kocher 32faf4c617 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Gabor Krizsanits c56ff65186 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
James Graham db68e7c717 Bug 1331899 - Fixup Wr metadata missing Linux 32/Ubuntu 16.04 case on a CLOSED TREE, a=testonly
MozReview-Commit-ID: HpOIXYWOd2b
2017-01-19 15:50:25 +00:00
Carsten "Tomcat" Book 3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Carsten "Tomcat" Book 709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Wes Kocher 336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Mark Banner 9d595b6142 Bug 503613 - Remove the tail file functionality from xpcshell; r=gps
MozReview-Commit-ID: JcglhFl89DX

--HG--
extra : rebase_source : e268c51b9124cebdc7dd39999bc5ac9ad466b1d8
extra : histedit_source : ee311347d6ce83466f926662392f63b3089a103c
2017-01-17 15:27:55 +00:00
David Keeler d6f8033af2 bug 1328718 - implement system add-on to facilitate rollout of disabling SHA-1 r=Felipe,jcj data-review=bsmedberg
MozReview-Commit-ID: L5Q5VGr6UPU

--HG--
rename : browser/extensions/e10srollout/bootstrap.js => browser/extensions/disableSHA1rollout/bootstrap.js
rename : browser/extensions/e10srollout/install.rdf.in => browser/extensions/disableSHA1rollout/install.rdf.in
rename : browser/extensions/e10srollout/moz.build => browser/extensions/disableSHA1rollout/moz.build
extra : rebase_source : f24e4dd5f59c39b1b5d75784dc0954bb23af2c74
2017-01-12 11:54:22 -08:00
Wes Kocher 1e5dd1300d Bug 1332298 - Skip the permafailing tests until they can be fixed a=me
MozReview-Commit-ID: KUlElEnH0og

--HG--
extra : rebase_source : a37201df64e17931eeab06e832fc1cdc9796500a
2017-01-19 15:27:11 -08:00
Wes Kocher 95949a3432 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EMipuOLERUq
2017-01-18 15:39:49 -08:00
Wes Kocher 54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Henrik Skupin c61f1603f3 Bug 1331037 - Fix failures in test_localization.py for Fennec. r=ato
Fennec uses a different set of DTD and properties files. As such the current
entity and property names do not work. To fix the tests a DTD and properties
file gets added for the test_dialog.xul example dialog, which means that we
have identical resources for every supported application.

MozReview-Commit-ID: LXDeADHlxja

--HG--
extra : rebase_source : 47a4023af8ebaef28ca58868529df5e78ea7b309
2017-01-18 09:47:58 +01:00
Geoff Brown a1661451d6 Bug 1329034 - Increase default timeout on debug browser mochitests; r=jmaher 2017-01-18 07:56:49 -07:00
Sebastian Hengst 0269ef6d15 Backed out changeset 0b09769075af (bug 1275746) 2017-01-18 14:55:47 +01:00
Ryan VanderMeulen 187beffa39 Merge m-c to autoland. a=merge
--HG--
extra : rebase_source : 0de29cc9f544d8882d3e8c13572d3c4b98ba3c26
2017-01-18 09:59:53 -05:00
Andrew Halberstadt 0e0e97f0a7 Bug 1331482 - Upload a list of manifests as an artifact in mochitest jobs r=jgraham
MozReview-Commit-ID: C0sVKADG70C

--HG--
extra : rebase_source : 9116cf821167b2724478d7de6279021c5720159d
2017-01-12 15:29:47 -05:00
Boris Zbarsky d4e5748a84 Bug 1328761 - Tests. r=bkelly
--HG--
extra : rebase_source : b702f75156730870f411380de1f38667ff018a37
2017-01-17 15:13:39 -05:00
Justin Wood 59509b566a Bug 1330668 - Generate balrog_props.json for l10n repacks. r=aki
Needed to support beetmover and balrog.

ToDo: attribute this cset to changes on date.

MozReview-Commit-ID: 430QCIe7tM7

--HG--
extra : rebase_source : c23b9311f0b897884aac7aafa9a84463655957c5
2017-01-12 17:14:25 -05:00
Byron Campen [:bwc] 62f42d4fbf Bug 1056934 - Part 1: TLS support in the test ICE server. r=drno
MozReview-Commit-ID: 9Vz87jqHwGc

--HG--
extra : rebase_source : 23f11c1b9e46234799129cdb05ad5b978506f5be
2016-12-16 17:04:56 -06:00