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

13938 Коммитов

Автор SHA1 Сообщение Дата
Rob Thijssen 9dc03a9ffc Bug 1314679 - Remove inherited mh config to support tc win artifact builds. r=chmanchester
MozReview-Commit-ID: u5zCj9Sg4r

--HG--
extra : rebase_source : 4800cee36404a6f637bcc74dbb77849e920a911a
2016-11-25 12:30:09 +00:00
Maja Frydrychowicz 7a5adb270b Bug 1314679 - Rename mh configs to support platform recognition for artifact builds. r=grenade
MozReview-Commit-ID: 1XUvNyHCowX

--HG--
rename : testing/mozharness/configs/builds/taskcluster_firefox_win32_debug.py => testing/mozharness/configs/builds/taskcluster_firefox_windows_32_debug.py
rename : testing/mozharness/configs/builds/taskcluster_firefox_win32_opt.py => testing/mozharness/configs/builds/taskcluster_firefox_windows_32_opt.py
rename : testing/mozharness/configs/builds/taskcluster_firefox_win64_debug.py => testing/mozharness/configs/builds/taskcluster_firefox_windows_64_debug.py
rename : testing/mozharness/configs/builds/taskcluster_firefox_win64_opt.py => testing/mozharness/configs/builds/taskcluster_firefox_windows_64_opt.py
extra : rebase_source : a561e32f12e92afc16de810cc48478d4b9ed25ac
2016-11-25 12:19:19 +00:00
Benjamin Smedberg d5e468da6c Bug 1313752 - Port binary tests in netwerk/test to gtest, or remove the ones that we currently aren't running. r=michal.novotny. Includes the following followups:
* TestUDPSocket wasn't initializing it's members properly, fixup by mcmanus
* Scope the netwerk TestCommon waiting to be non-global, and add assertions so that waiting is deterministic. r=mcmanus

MozReview-Commit-ID: 7jLgNIujrbu

--HG--
extra : rebase_source : fabee29260f06686e874d0130cb00067c769ad6f
2016-11-29 13:53:48 -05:00
Tom Puttemans 6ddea38ea7 Bug 1052045 - Fix <select> validity status for listboxes and for non-placeholder empty valued options. r=bzbarsky
--HG--
rename : layout/reftests/css-invalid/select/select-required-multiple-invalid.html => layout/reftests/css-invalid/select/select-required-multiple-still-valid.html
rename : layout/reftests/css-valid/select/select-required-multiple-invalid.html => layout/reftests/css-valid/select/select-required-multiple-still-valid.html
2016-11-24 22:15:33 +01:00
Boris Zbarsky c2aae6a433 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Wes Kocher f0071bb179 Backed out 2 changesets (bug 504622) for android reftest failures a=backout
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Boris Zbarsky 6f55f6fce6 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
ctai 1a59a0d08b Bug 1196560 - Enable resource-selection-invoke-set-src.html. r=jwwang
This test case can be pass. Fixed in bug 1133483.

MozReview-Commit-ID: I092tEm130d

--HG--
extra : rebase_source : d541f40e723a2546d669de1a3ef1a7017264e1a8
2016-11-28 10:45:15 +08:00
ctai eb04b26dee Bug 1318556 - Enable resource-selection-invoke-set-src-not-in-document.html. r=jwwang
Fixed in bug 1133483.

MozReview-Commit-ID: d9dSYfDXC3

--HG--
extra : rebase_source : 6c345d2f2a377e7c6a7c398efe8f674ba513649b
2016-11-18 11:14:15 +08:00
Carsten "Tomcat" Book 9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Ben Kelly 8eea6736f4 Bug 1319846 P3 Add a wpt test verifying Cache API can store and reproduce Response.redirect(). r=asuth 2016-11-28 14:18:27 -08:00
Mats Palmgren bc3832a204 Bug 1217086 - Enable CSS Grid by default. r=dholbert 2016-11-28 23:00:20 +01:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Boris Zbarsky afbfd32d9b Bug 781782 part 2. Lowercase the content type in the Blob and File constructors and Blob.slice. r=baku 2016-11-28 15:58:15 -05:00
Boris Zbarsky 36041fae42 Bug 781782 part 1. Fix fetch code to not set a Content-Type header when it shouldn't. r=bkelly 2016-11-28 15:58:02 -05:00
Carsten "Tomcat" Book 4703a9d09f Merge mozilla-central to mozilla-inbound 2016-11-28 16:47:40 +01:00
Carsten "Tomcat" Book d98418da69 merge mozilla-inbound to mozilla-central a=merge 2016-11-28 16:37:22 +01:00
Julian Seward 9c349f1195 Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote.
--HG--
extra : rebase_source : d1c3a1fb594e73cb5978e81636a9b3ed3dd341aa
2016-11-28 15:46:43 +01:00
Thomas Wisniewski fe33117844 Bug 1309219 - Only allow valid base64-values for CSP nonce and hash sources, per spec. r=francois 2016-11-24 21:46:09 -05:00
Andreas Tolfsen da6234665e 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

--HG--
extra : rebase_source : 023f18b07ffbb53c7dbc588a823c62830f032e3d
2016-11-06 18:03:31 +00:00
Andreas Tolfsen 5c6b5dd771 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

--HG--
extra : rebase_source : 5e2dffe8e5d16ae3fe407ed42c43d52b49e3741d
2016-11-06 18:01:23 +00:00
Andreas Tolfsen 9ac8f3690e Bug 1103196 - Add insecure certificate error; r=automatedtester
MozReview-Commit-ID: 26wwOuqWhog

--HG--
extra : rebase_source : ad5cd93e9360545932e9cd05f4efdbc9aa8f2712
2016-11-06 18:00:18 +00:00
Andreas Tolfsen 6482c0f79b Bug 1103196 - Remove non-conformant acceptSslCerts capability; r=automatedtester
`acceptSslCerts` has been replaced by `acceptInsecureCerts`.

MozReview-Commit-ID: 79KbRoQb1dW

--HG--
extra : rebase_source : 1c0e4fcb468d5c196351cb21715804c98b5fef02
2016-11-06 17:59:42 +00:00
ctai 8cabdea1b5 Bug 1133483 - Enable resource-selection-invoke-audio-constructor.html. r=jwwang.
MozReview-Commit-ID: GAodZDbyOv

--HG--
extra : rebase_source : dd2607807c06888c49b761f53e54eef279bc4cb1
2016-11-18 11:05:46 +08:00
Sebastian Kaspari 444ac305c8 Bug 1320079 - Add configuration for running findbugs in automation. r=dustin,maliu
MozReview-Commit-ID: FINUdlHCntT

--HG--
extra : rebase_source : 47cce9b4423f77d6eabf8f8ad1b445693248a0c7
2016-11-24 14:38:11 +01:00
Andreas Tolfsen 121372c21a Bug 1103196 - Add acceptInsecureCerts capability; r=automatedtester
Reads the `acceptInsecureCerts` capability and sets the session state.

MozReview-Commit-ID: KVErmdxwXQB

--HG--
extra : rebase_source : 50ce229909cfc9a407fdadc593b57a9545342723
2016-11-01 18:07:24 +00:00
Andreas Tolfsen 2bb7eb3b88 Bug 1103196 - Logically reorder variables defining session state; r=automatedtester
No functional changes in this patch.

MozReview-Commit-ID: IWaao8AuZib

--HG--
extra : rebase_source : b8bce562f7563e6557fc2f6bdefdc4fe8c341452
2016-11-01 18:00:25 +00:00
Andreas Tolfsen 98ad139fd3 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

--HG--
extra : rebase_source : 1a56d7f64309f388695956b67c027090e4f0c132
2016-11-01 17:59:51 +00:00
Andreas Tolfsen cba312f33b 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

--HG--
extra : rebase_source : 5ae8b0f100a28b8d34f87b0868cde6d74c150602
2016-11-01 16:53:51 +00:00
Andreas Tolfsen 4ca4faa8a6 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

--HG--
extra : rebase_source : 414581472dfa99379aecdfea5c5a29c2ce808890
2016-11-25 17:01:16 +00:00
Henrik Skupin 9ff0290252 Bug 1319024 - Sync default testing preferences for Marionette. r=automatedtester
MozReview-Commit-ID: 7fkpqCVYXIX

--HG--
extra : rebase_source : eab5a3156c2167a3ed3649fb75a7573bba147904
2016-11-21 16:18:58 +01:00
Henrik Skupin fac1203baa Bug 1319024 - Remove usage of browser.newtab.url from Firefox Puppeteer. r=maja_zf
MozReview-Commit-ID: LwMJgQMgJoP

--HG--
extra : rebase_source : 81e0883a19df46c710c6546cde0fb469464e664e
2016-11-21 22:27:45 +01:00
Henrik Skupin a01b3376e3 Bug 1320099 - Move marionette_driver docs to testing/marionette/client. r=ato
MozReview-Commit-ID: 7Bshw4H5yRT

--HG--
rename : testing/marionette/harness/docs/Makefile => testing/marionette/client/docs/Makefile
rename : testing/marionette/harness/docs/advanced/actions.rst => testing/marionette/client/docs/advanced/actions.rst
rename : testing/marionette/harness/docs/advanced/debug.rst => testing/marionette/client/docs/advanced/debug.rst
rename : testing/marionette/harness/docs/advanced/findelement.rst => testing/marionette/client/docs/advanced/findelement.rst
rename : testing/marionette/harness/docs/advanced/landing.rst => testing/marionette/client/docs/advanced/landing.rst
rename : testing/marionette/harness/docs/advanced/stale.rst => testing/marionette/client/docs/advanced/stale.rst
rename : testing/marionette/harness/docs/basics.rst => testing/marionette/client/docs/basics.rst
rename : testing/marionette/harness/docs/conf.py => testing/marionette/client/docs/conf.py
rename : testing/marionette/harness/docs/index.rst => testing/marionette/client/docs/index.rst
rename : testing/marionette/harness/docs/interactive.rst => testing/marionette/client/docs/interactive.rst
rename : testing/marionette/harness/docs/make.bat => testing/marionette/client/docs/make.bat
rename : testing/marionette/harness/docs/reference.rst => testing/marionette/client/docs/reference.rst
extra : rebase_source : b3683507bc48fe151daaef37edd759c58f0e1631
2016-11-25 13:16:00 +01:00
Henrik Skupin 68d78f440e Bug 1319692 - Fix test_page_info_window.py to use lowercase platform name. r=ato
MozReview-Commit-ID: BwYUT88Pz4q

--HG--
extra : rebase_source : f53dbce3aa69e3f6160900521416d32be5a2abc7
2016-11-25 12:46:33 +01:00
Alastor Wu 0d25dffb13 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

--HG--
extra : rebase_source : 6ba7b3cc90b9ebdc3989a6740a20975dce03b70f
2016-11-25 16:59:57 +08:00
Carsten "Tomcat" Book a666835bf5 merge mozilla-inbound to mozilla-central a=merge
--HG--
extra : rebase_source : 7f6b0f633da54f747b30496110e5260a226fe249
2016-11-25 15:36:56 +01:00
Henrik Skupin 034e961210 Bug 1318644 - Auto-detect application type if binary has been specified. r=automatedtester
MozReview-Commit-ID: 15etyogBI54

--HG--
extra : rebase_source : a359b2a3dd4411be89e0de42ddd6e86be8e9b26e
2016-11-25 10:41:17 +01:00
Sebastian Hengst 4a04f654e3 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 1c19830a85 Backed out changeset baa46ca196fa (bug 1103196) 2016-11-25 00:18:44 +01:00
Sebastian Hengst a907d2b98b Backed out changeset b63c853a1b56 (bug 1103196) 2016-11-25 00:18:40 +01:00
Sebastian Hengst c46fde4a80 Backed out changeset 3d2b43bd09e6 (bug 1103196) 2016-11-25 00:18:36 +01:00
Sebastian Hengst f57f50c634 Backed out changeset b2910c43905c (bug 1103196) 2016-11-25 00:18:31 +01:00
Sebastian Hengst 42f8e73f86 Backed out changeset 0c28b77a3279 (bug 1103196) 2016-11-25 00:18:27 +01:00
Sebastian Hengst 96d5b195ad Backed out changeset f27d827ba404 (bug 1103196) 2016-11-25 00:18:23 +01:00
Sebastian Hengst 5fe8073117 Backed out changeset 9fae5015803b (bug 1103196) 2016-11-25 00:18:19 +01:00
Andreas Tolfsen f4441f7f70 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

--HG--
extra : rebase_source : 722b7bde2b6e76a4cf0565b0504a6ce8ec53f04a
2016-11-06 18:03:31 +00:00
Andreas Tolfsen a8326f61b5 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

--HG--
extra : rebase_source : 9ed8aa636192f45b30399af6bed9858bed3bad46
2016-11-06 18:01:23 +00:00
Andreas Tolfsen e19e26382e Bug 1103196 - Add insecure certificate error; r=automatedtester
MozReview-Commit-ID: 26wwOuqWhog

--HG--
extra : rebase_source : 2a071ca7800f27026c8c53efb1b247067c37a90e
2016-11-06 18:00:18 +00:00
Andreas Tolfsen 0d1b8f66e9 Bug 1103196 - Remove non-conformant acceptSslCerts capability; r=automatedtester
`acceptSslCerts` has been replaced by `acceptInsecureCerts`.

MozReview-Commit-ID: 79KbRoQb1dW

--HG--
extra : rebase_source : 4ccda0241b1809e0bc11ec6be4c820007731da63
2016-11-06 17:59:42 +00:00
Andreas Tolfsen 84c0637c2f Bug 1103196 - Add acceptInsecureCerts capability; r=automatedtester
Reads the `acceptInsecureCerts` capability and sets the session state.

MozReview-Commit-ID: KVErmdxwXQB

--HG--
extra : rebase_source : fb1ee50bc2ee53343af58dcb417e5a5c0dee7fbc
2016-11-01 18:07:24 +00:00