* 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
This test case can be pass. Fixed in bug 1133483.
MozReview-Commit-ID: I092tEm130d
--HG--
extra : rebase_source : d541f40e723a2546d669de1a3ef1a7017264e1a8
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
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
`acceptSslCerts` has been replaced by `acceptInsecureCerts`.
MozReview-Commit-ID: 79KbRoQb1dW
--HG--
extra : rebase_source : 1c0e4fcb468d5c196351cb21715804c98b5fef02
Reads the `acceptInsecureCerts` capability and sets the session state.
MozReview-Commit-ID: KVErmdxwXQB
--HG--
extra : rebase_source : 50ce229909cfc9a407fdadc593b57a9545342723
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
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
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
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
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
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
`acceptSslCerts` has been replaced by `acceptInsecureCerts`.
MozReview-Commit-ID: 79KbRoQb1dW
--HG--
extra : rebase_source : 4ccda0241b1809e0bc11ec6be4c820007731da63
Reads the `acceptInsecureCerts` capability and sets the session state.
MozReview-Commit-ID: KVErmdxwXQB
--HG--
extra : rebase_source : fb1ee50bc2ee53343af58dcb417e5a5c0dee7fbc