Commit Graph

501884 Commits

Author SHA1 Message Date
Mark Hammond
ec4f115396 Bug 1320193 - remove trailing \n from log message. r=glasserc
MozReview-Commit-ID: LwdPOwXmS5i

--HG--
extra : rebase_source : b24ad9ec2ccb30e33e24731d0b19fdcc08348792
2016-11-25 09:01:05 +11:00
Mark Hammond
632c46235a Bug 1317216 - consistently use the Sync client GUID as the basis for the device ID in the sync ping. r=tcsc
MozReview-Commit-ID: BDTqnM7de6n

--HG--
extra : rebase_source : 169b3ad54dd19b5ef319d1e09684c0fd474e695b
2016-11-10 19:12:55 +11:00
Alastor Wu
3a6f6a036e Bug 1270738 - don't need to check the playing state for 'test_audioNotificationSilent_audioFile.html'. r=baku
The reason to check the playing state is because we want to make sure the non-audible event is not due to
media element ended. However, in bug 1240423, we introduced the different inactive state (inactive-pause and
inactive-nonaudible), so we don't need to check the playing state anymore, we can just check whether the event
is 'inactive-nonaudible', but not 'inactive-pause'.

MozReview-Commit-ID: 6slOhb68Qp5

--HG--
extra : rebase_source : 08529c37e32a7dacc6b14407d536240fcca510c4
2016-11-21 11:25:10 +08: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
Nicolas Chevobbe
95aa11f632 Bug 1320161 - Fix objectLink in Attribute Rep; r=Honza
MozReview-Commit-ID: IaHGVZbxHhR

--HG--
extra : rebase_source : 41bef0443bcb394211bf68187d4fa412a9f23e1d
2016-11-24 19:19:28 +01:00
Carsten "Tomcat" Book
b2aaf4ffac Merge mozilla-central to autoland 2016-11-25 16:30:53 +01:00
Sebastian Kaspari
e1a9c4b26c Bug 1320035 - Add gradle configuration for running findbugs. r=maliu
MozReview-Commit-ID: JATeS3zcvys

--HG--
extra : rebase_source : 6a9456d93c8a6c0786195a941772b00d89746a40
2016-11-24 11:13:54 +01:00
Jarda Snajdr
46835dd385 Bug 1304752 - Check for null channel.loadInfo in NetworkMonitor r=ochameau
MozReview-Commit-ID: 129eLxSnmi1

--HG--
extra : rebase_source : 72ad59dc7cf93be87369a3a9be113fd520ab4144
2016-11-25 11:22:57 +01:00
Johann Hofmann
a3aed9a4ba Bug 1315236 - Handle popup notifications with no actions. r=Paolo
MozReview-Commit-ID: F3rkoEovBYc

--HG--
extra : rebase_source : dd6ae446b14eb34f56beaa7f8159565b9fdc8e85
2016-11-23 12:16:50 +01: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
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
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
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
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
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
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
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
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
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
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
e6c7ae10e3 Bug 1103196 - Logically reorder variables defining session state; r=automatedtester
No functional changes in this patch.

MozReview-Commit-ID: IWaao8AuZib

--HG--
extra : rebase_source : 35d0ee07426ee411e4da3cb7e4966a8c44d015e1
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
f702780183 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 : 839405b2cf30d23c7f107801376aff8e76ef4b59
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
Ryan Kelly
090dab6438 Bug 1319904 - Ignore origin attributes in webchannel origin check. r=markh
Including the attributes in the origin check causes webchannels to fail in
e.g. private browsing windows and container tabs.  We only want to compare
against the base origin URL.

MozReview-Commit-ID: AMCjf4vJF9E

--HG--
extra : rebase_source : 0267d8693dbed2e8782ccb7f5496d55bcbb70668
2016-11-25 15:52:02 +11:00
Andreas Tolfsen
0b6595c946 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 : 3d791a6c44a23be72704f37c07cb437f309cdcef
2016-11-01 16:53:51 +00:00
Ethan Lin
8a8904b1c0 Bug 1274692 - Remove CG limitation since the backend is skia. r=mstange 2016-10-20 02:14:00 +02:00
Ethan Lin
fa1ec91634 Bug 1319362 - Use area but not just dimension to check SkiaGL minimum size. r=lsalzman 2016-11-22 19:52:00 +01:00
Ethan Lin
36865f4330 Bug 1319004 - Remove workaround for ANGLE. r=jgilbert 2016-11-23 00:01:00 +01:00
Ethan Lin
578f7d5987 Bug 1319004 - Update to ANGLE/2924. r=jgilbert 2016-11-23 02:15:00 +01:00
Andrea Marchesini
345cea7ffb Bug 1318165 - nsStringStream should report correctly the size of the internal buffer, r=njn 2016-11-25 08:24:51 +01:00
Marco Schaefer
1ff6dc2569 Bug 1241059 - Part 1: Extend the markup outline to the closing tag. r=gl 2016-11-18 15:43:37 +01:00
Morris Tseng
9c57c957d6 Bug 1319985 - Expose ChangeCallback in gfxPrefs. r=milan
MozReview-Commit-ID: GiLq4OwmzYs
2016-11-25 14:01:42 +08:00
Timothy Nikkel
3468111c94 Bug 1317559. Make image layer related functions that may be called during paint ask for async image notifications. r=aosmond 2016-11-24 23:48:04 -06:00
Franziskus Kiefer
540b0b2753 Bug 1317947 - land NSS 0x0ce009e2303a, r=me 2016-11-25 06:01:09 +01:00
Kan-Ru Chen
f58e35a5a9 Bug 1319271 - Return early in Send__delete__ method when Send fails. r=billm
MozReview-Commit-ID: GOVSpzT3JlX
2016-11-25 10:16:31 +08:00
Cameron McCormack
bc2ee20052 Bug 1319982 - Move Servo_GetStyleVariables definition to the Servo side. r=manishearth
MozReview-Commit-ID: roXO95icic
2016-11-25 09:41:41 +08:00
Tom Schuster
29104fb70c Bug 1319952 - Make the Error constructors singletons. r=jonco 2016-11-25 01:38:43 +01:00
Tom Schuster
3d1fa0d6e1 Bug 1320198 - Land additional Error prototype test. r=arai 2016-11-25 01:38:43 +01:00
Matt Woodrow
71a5f6f9cb Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
--HG--
extra : rebase_source : a8db3fa549dada3925ad3b9c7ab81f4aaa280ffa
2016-11-24 18:11:31 +13:00
Matt Woodrow
ce997d1ff2 Bug 1319626 - Part 5: Minimize visible region for border layers. r=mstange
--HG--
extra : rebase_source : 49d82764cd1d2f4ef4cf44b705889754bb081f8b
2016-11-24 18:11:30 +13:00
Matt Woodrow
45cec2ab70 Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange
--HG--
extra : rebase_source : ed44e14cf38347bf9a18e69cb981f1187775a641
2016-11-24 18:11:30 +13:00
Matt Woodrow
8203047d48 Bug 1319626 - Part 3: Refactor nsCSSRendering border painting so callers can access the border renderer. r=mstange
--HG--
extra : rebase_source : 8ce157b743e13578a6ae06fc58f40e4b58c75241
2016-11-24 18:11:30 +13:00
Matt Woodrow
1985af695f Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
--HG--
extra : rebase_source : de87afc8015649fb5f4a7c4da5f4dc49e19f3d85
2016-11-24 18:11:30 +13:00
Matt Woodrow
0b2b7a78b7 Bug 1319626 - Part 1: Add new nsTArray append method for mozilla::Array. r=froydnj
--HG--
extra : rebase_source : ceb2bfc4275c200262e23b7cef8383de21e46e68
2016-11-24 18:11:30 +13:00
Michael Layzell
af1843e1b4 Bug 1319163 - Eliminate unsafe code from rust_url_capi, r=valentin
MozReview-Commit-ID: 5KyfPQCsRNA
2016-11-24 17:08:08 -05:00