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

13866 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 166a16639f Bug 1315135 followup. Fix web platform tests that either depended on the old spec's behavior or were asserting that we fail the new one. 2016-11-24 00:24:45 -05:00
Wes Kocher b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Sebastian Hengst 0333e0a2b0 Backed out changeset ec84ee6acb88 (bug 1147911) 2016-11-23 18:33:06 +01:00
Ryan VanderMeulen ed80eb81d1 Backed out changeset 93e4c5f0dc7b (bug 1318644) because it made changes to geckodriver that should have been left out. 2016-11-23 09:04:05 -05:00
Bob Owen c547888b81 Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
Also change talos pageloader.js to force type to match test URLs.
2016-11-23 13:36:57 +00:00
Nicholas Nethercote 7e1a8cf56c Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm.
This change is mostly straightforward, except for the following.

- It removes all the printing from the do_check_* macros because gtest macros
  do appropriate printing.

- test_StatementCache.cpp needs some special gtest magic for the type
  parameterization.

- It merges the four tests in test_unlock_notify.cpp because they rely on being
  executed in order, and so aren't independent.

- storage_test_harness_tail.h is no longer necessary because gtest provides the
  test looping functionality.

- It uses #include and the preprocessor to remove the duplication between
  test_deadlock_detector.cpp and xpcom/tests/DeadlockDetector.cpp.

- It makes the test in test_service_init_background_thread.cpp a death test to
  force it to be the first storage gtest, because it fails otherwise.

- It adds code to undo the SQLite mutex hooking as necessary, so that tests
  don't interfere with each other.

- It de-virtualizes Spinner's destructor (as identified in bug 1318282).

--HG--
rename : storage/test/storage_test_harness.h => storage/test/gtest/storage_test_harness.h
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_StatementCache.cpp => storage/test/gtest/test_StatementCache.cpp
rename : storage/test/test_asyncStatementExecution_transaction.cpp => storage/test/gtest/test_asyncStatementExecution_transaction.cpp
rename : storage/test/test_async_callbacks_with_spun_event_loops.cpp => storage/test/gtest/test_async_callbacks_with_spun_event_loops.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_deadlock_detector.cpp => storage/test/gtest/test_deadlock_detector.cpp
rename : storage/test/test_file_perms.cpp => storage/test/gtest/test_file_perms.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
rename : storage/test/test_service_init_background_thread.cpp => storage/test/gtest/test_service_init_background_thread.cpp
rename : storage/test/test_statement_scoper.cpp => storage/test/gtest/test_statement_scoper.cpp
rename : storage/test/test_transaction_helper.cpp => storage/test/gtest/test_transaction_helper.cpp
rename : storage/test/test_true_async.cpp => storage/test/gtest/test_true_async.cpp
rename : storage/test/test_unlock_notify.cpp => storage/test/gtest/test_unlock_notify.cpp
extra : rebase_source : dbb695c112564efa1945116be1a8435988982e74
2016-11-11 09:59:23 +11:00
Daniel Holbert a4b633bdc7 Bug 1319458: Mark <body> as display:none during pageload of talos glterrain test. r=jmaher
MozReview-Commit-ID: LdUVInFYrDn
2016-11-22 13:13:45 -08:00
Geoff Brown b752d59e3d Bug 1315749 - Run mochitest-chrome on Android x86; r=jmaher 2016-11-22 13:49:46 -07:00
elluls 393845e931 Bug 1302774: rename cross-opt to cross-opt-st-an; r=dustin
MozReview-Commit-ID: 4U6kJiaZCGa

--HG--
rename : testing/mozharness/configs/builds/releng_sub_mac_configs/64_cross_opt.py => testing/mozharness/configs/builds/releng_sub_mac_configs/64_cross_opt_st_an.py
extra : rebase_source : 2d68f8762a5ae62b6178f764603fa470aa3b89a7
2016-11-22 15:45:33 +00:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Nils Ohlmeier [:drno] 02f44dd0a3 Bug 1193731: onicegatheringstatechange web-platformtests should pass r=jib
MozReview-Commit-ID: AEAAS4dyPvy

--HG--
extra : rebase_source : e5be2c6cce10e9c8d0f507c71b7f267e0288b6e0
2016-11-19 23:13:03 -08:00
Ehsan Akhgari 6b394f0382 Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 18:56:08 -05:00
Wes Kocher efeab1563a Backed out changeset 0cafbf944d89 (bug 1318879) for robocop failures a=backout 2016-11-21 13:01:21 -08:00
Thomas Wisniewski d1cae84099 Bug 1311798 - Align XMLHttpRequest.abort() with the spec. r=baku
--HG--
extra : rebase_source : 29002a6d139a08b706e54dfa4c32163632455e67
2016-11-21 01:30:00 -05:00
Ryan VanderMeulen 5f81c84a69 Bug 1317758 - Remove in-tree references to the linux64-cc and linux64-tsan jobs. r=Callek
--HG--
extra : rebase_source : 43446764b782c775f0bea942634c20c85d567aaf
2016-11-21 12:29:23 -05:00
Ehsan Akhgari 012349bc0f Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 14:59:05 -05:00
Xidorn Quan 8f0f7a04c9 Bug 1315403 followup - Fix mochitest failure and lint error.
MozReview-Commit-ID: KKKCybofksU

CLOSED TREE
2016-11-22 13:59:47 +11:00
JW Wang a8b746d049 Bug 1318982 - Enable dormant for most media mochitests. r=jya
MozReview-Commit-ID: 7AXEhCmFUeR

--HG--
extra : rebase_source : fa42b09dda75c3385edc6f7decc240816195722b
extra : intermediate-source : 3376be75b913bbc3bd0920828f9e756982e9cac3
extra : source : ffee549ec036bc3ec1b9b1bccb26314c5adb5096
2016-11-02 16:56:38 +08:00
Conache Cristian 5d2a9d651a Bug 1315403-no whitespace between "!" and "important" in Declaration::AppendPropertyAndValueToString and Declaration::AppendVariableAndValueToStr, r=xidorn
MozReview-Commit-ID: BKGqEpn0utp

--HG--
extra : rebase_source : dab61f244d5ca7ec13603d55cbf091b9dd6400d7
2016-11-20 14:42:11 +02:00
Andrew Halberstadt 6adcf5b456 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D

--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -05:00
Andrew Halberstadt 2d76b4f70d Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
extra : rebase_source : 10f65e612f5b3cebb921c47699f5a8be7cd2ba5a
2016-11-17 16:36:18 -05:00
Andrew Halberstadt f395e4d6dd Bug 1317970 - Move mozsystemmonitor tests to a consistent directory structure, r=chmanchester
The mozsystemmonitor test is under mozsystemmonitor/mozsystemmonitor/test instead of
mozsystemmonitor/tests like all the other mozbase modules.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
rename : testing/mozbase/mozsystemmonitor/mozsystemmonitor/test/test_resource_monitor.py => testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py
extra : rebase_source : dde714fb9212f19d1f8ba566f574bd7e9d7c4030
2016-11-17 16:36:13 -05:00
Hiroyuki Ikezoe d9cefd6f9e Bug 1316050 - Wait for a single finish event itself instead of waiting two requestAnimationFrame and checking the event. r=birtles
Also we don't need to check the event time, it's out of scope of this test case.

MozReview-Commit-ID: JkbiiVPunGH

--HG--
extra : rebase_source : 4438091abfd7e55908ab15f543c6a4590acf45a6
2016-11-21 13:33:43 +09:00
Andreas Tolfsen dbe6213d3f Bug 1317344 - Remove unused Marionette configs from mozharness; r=whimboo
This removes gaia_desktop, gaia_emulator, marionette_emulator,
webapi_desktop, and webapi_emulator test suite definitions.

MozReview-Commit-ID: Lf8slbzKNLz

--HG--
extra : rebase_source : 4a60c0cd0d05cabd0af74c15a85929d943c867f6
2016-11-14 16:16:44 +00:00
Wander Lairson Costa b3d0305df8 Bug 1316077 part 3: Add in-tree config support to taskcluster_helper. r=jlund
If there is a property called 'installer_path', the job is from in-tree
config.

MozReview-Commit-ID: E5SIHyxp0dM

--HG--
extra : rebase_source : e0251636e8e55613d58e743d70469e6b1a2175a5
2016-11-18 16:52:16 -02:00
Wander Lairson Costa f53e07fcc5 Bug 1316077 part 2: remove taskcluster scheduler from mozharness. r=jlund
taskcluster-scheduler is deprecated. mozharness uses it to get the task
graph in order to discover the parent of a task.

We now use queue to get the task definition, which contains the
'requires' field.

MozReview-Commit-ID: 8IivfxLvxVA

--HG--
extra : rebase_source : 76ad3993d50cb3dccca6b56652eec9568f5e5abb
2016-11-18 16:52:16 -02:00
Henrik Skupin fdc0be20ab Bug 1318644 - Auto-detect application type if binary has been specified. r=automatedtester
MozReview-Commit-ID: 3ZLN4EyIujM

--HG--
extra : rebase_source : 5271e0b26b87c1dd4c0a0953412aa6aa06a1b52f
2016-11-21 16:28:46 +01:00
Andreas Tolfsen 45e80b0600 Bug 1317386 - Swap expectation of which button causes scroll; r=automatedtester
When we scroll the element into the bottom of the viewport, it is the
first button that does not cause a scroll.

MozReview-Commit-ID: 1zv3uyUcnRn

--HG--
extra : rebase_source : 1cc3835c5bbcba941bceb3be98fdaa9b6f91d6b9
2016-11-15 11:41:23 +00:00
Andreas Tolfsen 3c262bd4f4 Bug 1317386 - Test pointer interactability of first element in paint order; r=automatedtester
When returning the tree of interactable elemenets under the cursor, we
want to test the first one against the passed element, not that there
are _any_ interactable elements under the cursor.

MozReview-Commit-ID: AUvKAWKHgZk

--HG--
extra : rebase_source : 69563be46dbb18c4c814d6615b1bd2f97179b816
2016-11-15 11:21:32 +00:00
Andreas Tolfsen 5be6b803bf Bug 1317386 - Add test for overlay element after scroll; r=automatedtester
Add a test that checks that `scrollIntoView({block: "end", inline:
"nearest"})` works by placing the element at the bottom of the viewport,
where the overlay does not cover it.

MozReview-Commit-ID: Gzv9n17240G

--HG--
extra : rebase_source : 373c0da6c74bbf3953dc8b08e8b65929003b7d12
2016-11-14 21:12:00 +00:00
Andreas Tolfsen 3678abebb6 Bug 1317386 - Rewrite in-view centre point calcaulation; r=automatedtester
The old calcaulation to determine an element's in-view centre point was
wrong as pointed out in https://github.com/w3c/webdriver/issues/425,
and this is an implementation of the proposed algorithm which passes
real-world tests.

This also addresses https://github.com/w3c/webdriver/pull/441 which
checks if the `DOMRect` sequence returned from `getClientRects` is empty,
as it may be if the element's `display` style property is `none`.

MozReview-Commit-ID: 4uitUrviW2a

--HG--
extra : rebase_source : d9a3eefc9496500dffe74a28a117e29067a646f1
2016-11-14 21:10:08 +00:00
Andreas Tolfsen be2dd10746 Bug 1317386 - Check pointer interactability upon interaction; r=automatedtester
Checking for general interactability will also consider keyboard
interactability, which has not yet been implemented.  On interacting with
an element by clicking, we should only test for pointer interactability.

MozReview-Commit-ID: BUCs7zHppRm

--HG--
extra : rebase_source : 2053a49ee4bcb291299568902e9ac25cc747bc5e
2016-11-14 21:07:42 +00:00
Andreas Tolfsen cbe8e9b6dc Bug 1317386 - Scroll element into view at the bottom; r=automatedtester
When scrolling an element into view using `Element.scrollIntoView`,
use the `{block: "end", inline: "nearest"}` scroll position arguments,
which are equivalent to `Element.scrollIntoView(false)`.  This is what
other WebDriver implementations have used for a while, and we meant to
change to this sooner.

This ensures that the element appears at the bottom of the viewport
rather than the top, where overlaying menus with fixed style position
may more frequently appear.

In the future we might consider replacing this with `{block: "center"}`
which is specified in the CSSOM specification, but not yet implemented
in any browsers.

This implements https://github.com/w3c/webdriver/pull/440, which should
fix https://github.com/mozilla/geckodriver/issues/327.

MozReview-Commit-ID: BRMupP4fM89

--HG--
extra : rebase_source : 952edd6932b0f7e8b7d2694d428435508a4ffc8c
2016-11-14 21:06:50 +00:00
Carsten "Tomcat" Book a75ebc8c52 Merge mozilla-central to autoland 2016-11-21 15:47:42 +01:00
Carsten "Tomcat" Book 59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Boris Chiou 367d3ab4dd Bug 1286151 - Part 6: Move tests of spacing on transform into wpt. r=hiro
Only replace addDiv with createDiv in spacing-keyframes-transform.html.
Others are the same.

MozReview-Commit-ID: JNSpyc6WNtP

--HG--
extra : rebase_source : 05af4176e85234e1d89023f1e74012d0e1481230
2016-11-15 16:50:47 +08:00
Boris Chiou eecc8c9ff7 Bug 1286151 - Part 5: Test. r=hiro
MozReview-Commit-ID: wORyuqtfj

--HG--
extra : rebase_source : d0e002c44ca54215f51129fdaf1ec93fa129ecab
2016-11-14 11:42:15 +08:00
Nicholas Hurley ad0fdc81aa Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy

--HG--
extra : rebase_source : 70ffa6b9e38e357d797ef34a547d921e7a609410
2016-10-18 10:54:33 -07:00
Andreas Tolfsen ebbefec1e2 Bug 1316622 - Add timeout reset API to Marionette Python client; r=automatedtester,whimboo
This removes the `default_timeouts` internal state associated
with the Marionette client connection and introduces a new
API to reset all timeouts to their documented defaults in
`marionette_driver.timeouts.Timeout`.

MozReview-Commit-ID: 3xFWsYLngMp

--HG--
extra : rebase_source : a712985559c0c1d9cab3d08197a3351610fcb996
2016-11-17 13:28:20 +00:00
Andreas Tolfsen 49ca3755bc Bug 1316622 - Remove wait utility dependency on Marionette default timeout; r=whimboo
This was an ugly hack in the first place, and this seems like a good
opportunity to rectify it.

MozReview-Commit-ID: IB6Y8SlOfRn

--HG--
extra : rebase_source : b9968f01fa5da7319871ecaa145134479e595ab0
2016-11-16 15:21:08 +00:00
Andreas Tolfsen b980bd27cc Bug 1316622 - Correct Marionette timeouts tests; r=automatedtester,whimboo
MozReview-Commit-ID: 48JLDwc2sw4

--HG--
extra : rebase_source : 21f689abe584f3c9de98dafde07d85a8d0dc67fc
2016-11-10 21:06:00 +00:00
Andreas Tolfsen 0e34276dbf Bug 1316622 - Move wptrunner to new Marionette timeouts API; r=jgraham
MozReview-Commit-ID: 2ZnodSJ8L4S

--HG--
extra : rebase_source : 3238346e6dac3879303927514dde90a9f7c99ba5
2016-11-10 21:05:28 +00:00
Andreas Tolfsen 7fcd7083ec Bug 1316622 - Move Marionette harness tests to new timeouts API; r=whimboo
MozReview-Commit-ID: LXjifQ11xI4

--HG--
extra : rebase_source : 4ca118785b8c672f828e1df8684851eec76cca60
2016-11-10 21:04:20 +00:00
Andreas Tolfsen 827c3d80b6 Bug 1316622 - Move Marionette unit tests to new timeouts API; r=automatedtester,whimboo
MozReview-Commit-ID: D6AmUsqMHQv

--HG--
extra : rebase_source : edf1454648c5a27b17e8e35343a5f0d05c91db12
2016-11-10 21:03:21 +00:00
Andreas Tolfsen 0a92d2db52 Bug 1316622 - Deprecate old Marionette timeouts API; r=automatedtester,whimboo
This ensure backwards compatible for consumers.

MozReview-Commit-ID: J2VOiB08xxV

--HG--
extra : rebase_source : 672b17642aa1463a9f65612c6494885a05d354fa
2016-11-10 21:01:41 +00:00
Andreas Tolfsen 57db3d8819 Bug 1316622 - New timeouts inteface in Marionette Python client; r=automatedtester
Introduce a new interface for managing timeouts in the Marionette
Python client.

MozReview-Commit-ID: JHojs7rWBz5

--HG--
extra : rebase_source : 388b8b3f30f07b95bf40edc57d13ffe5a7d5c502
2016-11-10 21:00:23 +00:00
Andreas Tolfsen 0db3d11874 Bug 1316622 - Move internal interface construction last; r=automatedtester
No functional changes.

MozReview-Commit-ID: 2reL23EOCVq

--HG--
extra : rebase_source : 962009138daceffe0e9132738872ec2830499ff9
2016-11-10 20:57:10 +00:00
Andreas Tolfsen 2a41f328ab Bug 1316622 - Make implicit wait timeout default to 0; r=automatedtester
The WebDriver specification mandates that the implicit wait timeout should
default to 0 (off), which in Marionette has the same effect as null.

MozReview-Commit-ID: Ca3RxO7gHv8

--HG--
extra : rebase_source : 5a804614b0bdf99c7d1241bbc06f3566f127b32f
2016-11-10 20:56:26 +00:00
Andreas Tolfsen 57445ac21f Bug 1316622 - Rename Marionette command timeouts to setTimeouts; r=automatedtester,whimboo
This renames the `Marionette:timeouts` command
to `Marionette:setTimeouts`.  It should be fine to make this
backwards incompatible change as the `Marionette.set_script_timeout`,
`Marionette.set_search_timeout`, and `Marionette.set_page_load_timeout`
commands all have existing try...except behaviour for another backwards
incompatible change in Firefox 52.

MozReview-Commit-ID: 58RrXhE2tN3

--HG--
extra : rebase_source : 67a52d6c48d5c94fdd4eb4e1120223778a83e0c2
2016-11-10 18:29:55 +00:00
Phil Ringnalda 89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00