Commit Graph
13905 Commits
Author SHA1 Message Date
Andreas Tolfsen 0d4f70f3b7 Bug 1297551 - Avoid cancelling content timeout callback; r=automatedtester
We need to avoid passing the timeout ID returned from `setTimeout` in the
content frame script that we use to register the script timeout handler
to the sandbox's `clearTimeout` function as this might interfere with any
`window.setTimeout` calls being made in the injected script.

MozReview-Commit-ID: 26PY8JDkf9A
2016-11-25 17:01:16 +00:00
Henrik Skupin 2d06b82295 Bug 1319024 - Sync default testing preferences for Marionette. r=automatedtester
MozReview-Commit-ID: 7fkpqCVYXIX
2016-11-21 16:18:58 +01:00
Henrik Skupin d29325f5c6 Bug 1319024 - Remove usage of browser.newtab.url from Firefox Puppeteer. r=maja_zf
MozReview-Commit-ID: LwMJgQMgJoP
2016-11-21 22:27:45 +01:00
Henrik Skupin c113b65cfe Bug 1320099 - Move marionette_driver docs to testing/marionette/client. r=ato
MozReview-Commit-ID: 7Bshw4H5yRT
2016-11-25 13:16:00 +01:00
Henrik Skupin cc299215f0 Bug 1319692 - Fix test_page_info_window.py to use lowercase platform name. r=ato
MozReview-Commit-ID: BwYUT88Pz4q
2016-11-25 12:46:33 +01:00
Alastor Wu d3f009d0bb Bug 1320276 - Fix web-platform-tests/webvtt/webvtt-api-for-browsers/vttcue-interface/line.html. r=rillian
Modify the test "web-platform-tests/webvtt/webvtt-api-for-browsers/vttcue-interface/line.html" in order to follow the spec.

(1) The default value of line should be "auto" [1]
- change all "-1" into "auto"

(2) The cue.line should return the line's value, instead of computedLine's [2]
- change "-2" into "auto" (-2 is the value of the computedLine)

[1] https://w3c.github.io/webvtt/#webvtt-cue-line
[2] https://w3c.github.io/webvtt/#dom-vttcue-line


MozReview-Commit-ID: BbClRlWwQ40
2016-11-25 16:59:57 +08:00
Carsten "Tomcat" Book fd3bf4211d merge mozilla-inbound to mozilla-central a=merge 2016-11-25 15:36:56 +01:00
Henrik Skupin 396d2190dc Bug 1318644 - Auto-detect application type if binary has been specified. r=automatedtester
MozReview-Commit-ID: 15etyogBI54
2016-11-25 10:41:17 +01:00
Sebastian Hengst bd6b48401d Backed out changeset 4c42ee29c468 (bug 1103196) for broken Marionette tests on Windows (error loading pages). r=backout 2016-11-25 00:20:30 +01:00
Sebastian Hengst cafde7b5d9 Backed out changeset baa46ca196fa (bug 1103196) 2016-11-25 00:18:44 +01:00
Sebastian Hengst 63fe6ebb22 Backed out changeset b63c853a1b56 (bug 1103196) 2016-11-25 00:18:40 +01:00
Sebastian Hengst a6dc1a98d8 Backed out changeset 3d2b43bd09e6 (bug 1103196) 2016-11-25 00:18:36 +01:00
Sebastian Hengst 19255700d8 Backed out changeset b2910c43905c (bug 1103196) 2016-11-25 00:18:31 +01:00
Sebastian Hengst 3ec61558dd Backed out changeset 0c28b77a3279 (bug 1103196) 2016-11-25 00:18:27 +01:00
Sebastian Hengst a81322f13e Backed out changeset f27d827ba404 (bug 1103196) 2016-11-25 00:18:23 +01:00
Sebastian Hengst 749aad48d4 Backed out changeset 9fae5015803b (bug 1103196) 2016-11-25 00:18:19 +01:00
Andreas Tolfsen 0027b86183 Bug 1103196 - Add ability to ignore invalid TLS certificates; r=automatedtester,keeler,mossop
When the `acceptInsecureCerts` capability is set to true on creating
a new Marionette session, a `nsICertOverrideService` override service
is installed that causes all invalid TLS certificates to be ignored.
This is in line with the expectations of the WebDriver specification.

It is worth noting that this is a potential security risk and that this
feature is only available in Gecko when the Marionette server is enabled.

MozReview-Commit-ID: BXrQw17TgDy
2016-11-06 18:03:31 +00:00
Andreas Tolfsen a37255786d Bug 1103196 - Error on encountering invalid certificate; r=automatedtester
When arriving at a document which baseURI starts with `about:certerror`
will cause Marionette to now return `error.InsecureCertificateError`.
This is mandated by the WebDriver specification.

This does, however, mark a non-backwards compatible change in Marionette.
It is assumed we will be able to mitigate this change in error type as
few consumers, if any, rely on the more generic type considering we did
not support invalid TLS certificates prior to this push.

MozReview-Commit-ID: JcIMvCXimB
2016-11-06 18:01:23 +00:00
Andreas Tolfsen 28d42816b7 Bug 1103196 - Add insecure certificate error; r=automatedtester
MozReview-Commit-ID: 26wwOuqWhog
2016-11-06 18:00:18 +00:00
Andreas Tolfsen d321238396 Bug 1103196 - Remove non-conformant acceptSslCerts capability; r=automatedtester
`acceptSslCerts` has been replaced by `acceptInsecureCerts`.

MozReview-Commit-ID: 79KbRoQb1dW
2016-11-06 17:59:42 +00:00
Andreas Tolfsen 4d289552df Bug 1103196 - Add acceptInsecureCerts capability; r=automatedtester
Reads the `acceptInsecureCerts` capability and sets the session state.

MozReview-Commit-ID: KVErmdxwXQB
2016-11-01 18:07:24 +00:00
Andreas Tolfsen f89772385d Bug 1103196 - Logically reorder variables defining session state; r=automatedtester
No functional changes in this patch.

MozReview-Commit-ID: IWaao8AuZib
2016-11-01 18:00:25 +00:00
Andreas Tolfsen 1750a3a73b Bug 1103196 - Mark specificationLevel capability as proprietary; r=automatedtester
The `specificationLevel` capability has been removed from the WebDriver
specification, and will be removed in a future change to Marionette.
This change makes this clear by moving it down to the list of proprietary
Marionette capabilities.

MozReview-Commit-ID: BMTuXBDZ8WV
2016-11-01 17:59:51 +00:00
Andreas Tolfsen 73266c1bce Bug 1103196 - Add HTTPS fixture server for Marionette; r=automatedtester,maja_zf,whimboo
This patch makes testing/marionette/harness/marionette/runner/httpd.py
capable of spinning up an HTTPS server with self-signed certificate.
It also introduces testing/marionette/harness/marionette/runner/serve.py
that is capable of managing the HTTP- and HTTPS fixture servers as
subprocesses, allowing them to operate independently.

serve.py uses inter-process communication based on channels (from
`multiprocessing.Pipe`) to query methods on the httpd served in each
process, which is used to get absolute URLs from the main process.
This is useful as servers can delegate port allocation to the system
socket service by atomically binding to port 0, guaranteeing that the
chosen port is uncontested.  It is also used to perform synchronous and
graceful shutdown of the httpd.

MozReview-Commit-ID: 9OlW6F1w0AN
2016-11-01 16:53:51 +00:00
Geoff Brown 952f60280a Bug 1319583 - Trigger job retry on Android infra error; r=kmoir 2016-11-24 13:35:06 -07:00
Carsten "Tomcat" Book 1cfbe9e7ac Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Carsten "Tomcat" Book 2ee161bf4e merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Bob Owen 81ad0fedc8 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-24 15:08:30 +00:00
Boris Zbarsky 3289a5e86e 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 43c9517dc3 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Alastor Wu d9b15acaaa Bug 1301055 - part3 : modify test prefs. r=jwwang
On fennec we have the special workaround that is doesn't dispatch the "error" event when the error is
"MEDIA_ERR_SRC_NOT_SUPPORTED" because we will use an external app to open it.

But we don't want this behavior affect the tests we already have, so close the pref.

MozReview-Commit-ID: 9aoy1vnekvY
2016-11-24 10:24:06 +08:00
Jonas Finnemann Jensen df53e8142c Bug 1319449 - Set -o pipefail and other robustness improvements for image_builder. r=dustin
MozReview-Commit-ID: 5oIdvcrScRt
2016-11-22 14:13:15 -08:00
Sebastian Hengst 8832b7319c Backed out changeset b6beaa787043 (bug 1319705) for marionette mass bustage. r=backout on a CLOSED TREE 2016-11-23 21:17:49 +01:00
Ralph Giles cc3559af93 Bug 1318531 - Fix whitespace in tooltool manifests. r=mshal
Run the tooltool manifests through a python script to read the
json as an OrderedDict and when write it back out with normal
tooltool formatting options. This regularizes the whitespace,
fixing trailing spaces written by older versions of the python
json serializer, dos-vs-unix line endings, and regularizing
opening '[{' and closing '}]' to be on separate lines.

The android manifests have a 'versions' key which has indenting,
unlike the rest of the files. I've left that as-is.

MozReview-Commit-ID: EVW1YlgRJJL
2016-11-22 16:15:27 -08:00
Henrik Skupin 32d6e96e5d Bug 1142805 - Remove unnecessary restart for update tests r=maja_zf,rail
MozReview-Commit-ID: 6tTPJeLvntf
2016-11-22 14:52:08 +01:00
Henrik Skupin ca8f82c38b Bug 1142805 - Use ConfigParser to modify update-settings.ini r=maja_zf,rail
MozReview-Commit-ID: KbJofXTDa9p
2016-11-22 14:49:46 +01:00
Henrik Skupin 29f9ccca23 Bug 1142805 - Fix remaining traces for app.update.url.override. r=maja_zf,rail
MozReview-Commit-ID: BJvSjqippar
2016-11-22 13:29:22 +01:00
Henrik Skupin 88b2f70782 Bug 1142805 - Set update channel via default branch. r=maja_zf,rail
MozReview-Commit-ID: 5iHnNhLRCK4
2016-11-22 13:15:33 +01:00
Henrik Skupin a60892a60a Bug 1319028 - Enable tracing output for Firefox-UI jobs. r=maja_zf
MozReview-Commit-ID: 3KsBKH9WVfR
2016-11-22 18:08:25 +01:00
Henrik Skupin 300665ba2c Bug 1319705 - Add firefox_puppeteer as dependency for Marionette in test archive. r=maja_zf
MozReview-Commit-ID: 9MQubKpOPl6
2016-11-23 14:11:25 +01:00
Sebastian Hengst efe6834fd4 Backed out changeset ec84ee6acb88 (bug 1147911) 2016-11-23 18:33:06 +01:00
Ryan VanderMeulen 879c977f6a 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 464667d323 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 9994803f5a 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).
2016-11-11 09:59:23 +11:00
Daniel Holbert 2b5e37ba68 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 e8fb762094 Bug 1315749 - Run mochitest-chrome on Android x86; r=jmaher 2016-11-22 13:49:46 -07:00
elluls f621158b4f Bug 1302774: rename cross-opt to cross-opt-st-an; r=dustin
MozReview-Commit-ID: 4U6kJiaZCGa
2016-11-22 15:45:33 +00:00
Carsten "Tomcat" Book 98e701bcdb merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Nils Ohlmeier [:drno] 5bd79063ac Bug 1193731: onicegatheringstatechange web-platformtests should pass r=jib
MozReview-Commit-ID: AEAAS4dyPvy
2016-11-19 23:13:03 -08:00
Ehsan Akhgari 9916b175a4 Bug 1318879 - Remove the app related code from mozprofile; r=ahal 2016-11-21 18:56:08 -05:00