James Graham
b2d688e913
Bug 1732622 - Enable allowing given hosts and origins for geckodriver, r=webdriver-reviewers,freddyb,whimboo
...
The policy is now as follows:
* The `--host` command line flag can now be an actual hostname as well
as in IP address.
* By default only requests with a `Host` header that is an IP address,
or matching the value of the `--host` argument are accepted.
* If `--host` is a local IP address, we by default accept `localhost`
in the `Host` header.
* When `--allow-hosts` is provided, only requests with a hostname
matching the listed values, or an IP address, are accepted.
* By default any request with an `Origin` header is rejected.
* When `--allow-origins` is provided, only requests with no `Origin`
header, or an origin matching the given values, are accepted.
Differential Revision: https://phabricator.services.mozilla.com/D129012
2022-01-17 15:37:20 +00:00
Marian-Vasile Laza
3f700a2540
Backed out 3 changesets (bug 1732622) for causing build bustages on server.rs. CLOSED TREE
...
Backed out changeset ab9d1e14386a (bug 1732622)
Backed out changeset 577a5b37f781 (bug 1732622)
Backed out changeset 46f1fb7f6fc0 (bug 1732622)
2022-01-17 16:38:26 +02:00
James Graham
03a290a1a9
Bug 1732622 - Enable allowing given hosts and origins for geckodriver, r=webdriver-reviewers,freddyb,whimboo
...
The policy is now as follows:
* The `--host` command line flag can now be an actual hostname as well
as in IP address.
* By default only requests with a `Host` header that is an IP address,
or matching the value of the `--host` argument are accepted.
* If `--host` is a local IP address, we by default accept `localhost`
in the `Host` header.
* When `--allow-hosts` is provided, only requests with a hostname
matching the listed values, or an IP address, are accepted.
* By default any request with an `Origin` header is rejected.
* When `--allow-origins` is provided, only requests with no `Origin`
header, or an origin matching the given values, are accepted.
Differential Revision: https://phabricator.services.mozilla.com/D129012
2022-01-17 14:02:26 +00:00
Henrik Skupin
0ae79d5a03
Bug 1686110 - [webdriver] Release version 0.44.0. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D125262
2021-09-15 19:22:54 +00:00
James Graham
871fb42930
Bug 1652612 - Validate the Host header when starting GeckoDriver sessions, , freddy r=webdriver-reviewers,whimboo
...
Check that the Host header is set and that the host and port are local
or match the address that the WebDriver server is running on.
Differential Revision: https://phabricator.services.mozilla.com/D83499
2021-07-29 19:34:07 +00:00
Henrik Skupin
9d8a929736
Bug 1700557 - [webdriver] Release version 0.43.1. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D111158
2021-04-08 11:38:20 +00:00
Henrik Skupin
bd6a1fdab2
Bug 1668243 - [webdriver] Release version 0.43.0. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D101591
2021-01-13 16:42:09 +00:00
James Graham
b03c8f7cf5
Bug 1684226 - Make WebDriver server a feature, r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D101184
2021-01-11 17:52:07 +00:00
Henrik Skupin
9bcfe67ea4
Bug 1649094 - [webdriver] Release version 0.42.0. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D95072
2020-11-03 03:51:29 +00:00
Henrik Skupin
607ff41a86
Bug 1584911 - [webdriver] Release version 0.41.0. r=webdriver-reviewers,jgraham
...
Depends on D81905
Differential Revision: https://phabricator.services.mozilla.com/D81906
2020-07-02 08:24:30 +00:00
Bastien Orivel
8052061256
Bug 1606281 - Part 1: Update warp to 0.2. r=jgraham,webdriver-reviewers
...
Pretty straightforward update. This duplicates the tokio stack because
audioipc hasn't been updated yet. (https://github.com/djg/audioipc-2/issues/97 )
Differential Revision: https://phabricator.services.mozilla.com/D71462
2020-04-20 15:27:31 +00:00
James Graham
3943d0e86b
Bug 1613975 - Mark webdriver crate as Rust 2018, r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D62212
--HG--
extra : moz-landing-system : lando
2020-02-10 14:53:43 +00:00
Andreas Tolfsen
f3071e8691
bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham
...
webdriver depends on the regex crate for unit testing which adds
significant overhead building the crate. We could depend on
serde_json::from_value() instead, following the same pattern set
forth in the marionette crate.
Differential Revision: https://phabricator.services.mozilla.com/D48318
--HG--
extra : moz-landing-system : lando
2019-10-07 12:53:38 +00:00
Andreas Tolfsen
0579256665
bug 1520585: webdriver: release 0.40.2; r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D44656
--HG--
extra : moz-landing-system : lando
2019-09-09 10:59:27 +00:00
Bastien Orivel
a5f69db222
Bug 1576450 - Update cookie to 0.12 in webdriver. r=ato
...
Differential Revision: https://phabricator.services.mozilla.com/D43354
--HG--
extra : moz-landing-system : lando
2019-08-25 23:22:11 +00:00
Simon Sapin
c65755ac41
Bug 1568540 - Update the url crate to 2.0 r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D42364
--HG--
extra : moz-landing-system : lando
2019-08-17 16:26:27 +00:00
Andreas Tolfsen
91b38964c8
bug 1572397: webdriver: release v0.40.0; r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D41185
--HG--
extra : moz-landing-system : lando
2019-08-08 15:35:42 +00:00
Bastien Orivel
761235d949
Bug 1396824 - Part 1: Replace the webdriver router by warp. r=ato
...
This allows for easy support for HEAD requests without any code on our
side.
Differential Revision: https://phabricator.services.mozilla.com/D34631
--HG--
extra : moz-landing-system : lando
2019-06-24 09:26:59 +00:00
Henrik Skupin
a7f1d64843
Bug 1495062 - [webdriver] Release 0.39.0. r=ato
...
Depends on D17680
Differential Revision: https://phabricator.services.mozilla.com/D17681
--HG--
extra : moz-landing-system : lando
2019-01-28 15:02:51 +00:00
Bastien Orivel
a640e5b81f
Bug 1516262 - Part 1: Update base64 and bump webdriver's version; r=ato
2019-01-02 12:13:07 +00:00
Andreas Tolfsen
3439836809
bug 1491288: webdriver: release 0.38.0; r=whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D7300
--HG--
extra : moz-landing-system : lando
2018-10-03 15:00:00 +00:00
Andreas Tolfsen
521392abff
bug 1490660: webdriver: release 0.37.0; r=jgraham
2018-09-12 16:12:21 +01:00
Bastien Orivel
7ef3fa6f4a
Bug 1489792 - Part 1: Update base64 to 0.9. r=ato
2018-09-11 10:18:40 +01:00
Bastien Orivel
963e21bf7f
Bug 1484462 - Update webdriver to hyper 0.12. r=ato
2018-08-23 13:15:22 +01:00
Andreas Tolfsen
1efbde8664
Bug 1485414 - Make lazy_static a dev dependency. r=whimboo
...
This silences an unused macro_use warning at build time.
2018-08-23 11:55:12 +01:00
Henrik Skupin
121e071db6
Bug 1396821 - [geckodriver] Switch webdriver crate from rustc_serialize to serde. r=ato
...
The patch switches the serialization and deserialization of data
structures from the rustc_serialize crate to serde. By doing that
all the custom code for serialization and deserialization can be
removed in favor of serde's automatically derived serializers and
deserializers.
MozReview-Commit-ID: F25p325gbiC
--HG--
extra : rebase_source : 362300476b0ce670cc457320c76db3929d673b65
2018-08-22 10:26:19 +02:00
Andreea Pavel
0bcfe81a06
Backed out 6 changesets (bug 1396821) for linux tier2 build bustages on a CLOSED TREE
...
Backed out changeset 2fa2975f97e3 (bug 1396821)
Backed out changeset c5895db52483 (bug 1396821)
Backed out changeset 5c0ddd45f926 (bug 1396821)
Backed out changeset 7c97853a85b9 (bug 1396821)
Backed out changeset b61ce753f01e (bug 1396821)
Backed out changeset 7ef3912feb2c (bug 1396821)
--HG--
rename : third_party/rust/serde_json/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT
2018-08-21 20:20:24 +03:00
Henrik Skupin
1cf0042ddf
Bug 1396821 - [geckodriver] Switch webdriver crate from rustc_serialize to serde. r=ato
...
Instead use serde. This is the simplest possible conversion using the
serde Value type everywhere. The intent is to use the automatically
derived deserializers in the future.
MozReview-Commit-ID: F25p325gbiC
--HG--
extra : rebase_source : 661316cf0f1b1f395b3c7166890f13477036f877
2018-06-11 17:49:22 -07:00
Andreas Tolfsen
ab335461ae
Bug 1441204 - Release webdriver crate 0.36.0. r=maja_zf
...
MozReview-Commit-ID: 1C5QHSWGZZu
--HG--
extra : rebase_source : 7defa01add7516b6e71846d1f39ac0fdcf986b87
2018-06-14 13:28:33 -07:00
Andreas Tolfsen
988a7b847b
Bug 1441204 - Upgrade unicode-segmentation from 1.1.0 to 1.2.1. r=maja_zf
...
MozReview-Commit-ID: 1KUU2U7AVz4
--HG--
extra : rebase_source : fe6951e60f80fe09ea215b05213116087a3af3b9
2018-06-14 13:01:20 -07:00
Bastien Orivel
3eb765c7e3
Bug 1463251 - Part 1. Update regex in both webdriver and geckodriver. r=ato,jgraham
...
Also bump webdriver's version so it can be released and updated in servo
MozReview-Commit-ID: 7jMycZ6t3mm
--HG--
extra : rebase_source : 44d0b436e303d427a8b4c06e5b97538a76fd3f8c
2018-05-21 22:24:30 +02:00
Andreas Tolfsen
4dcf6c50b7
Bug 1401129 - Release webdriver 0.35.0. r=whimboo
...
MozReview-Commit-ID: lnoyZZbtcF
--HG--
extra : rebase_source : c43d960f793cd3d3eed922ac8ebe31d9a0564d12
2018-03-08 16:05:08 +00:00
Greg Fraley
e6f4df94b9
Bug 1396823 - Use unicode-segmentation to iterate graphemes instead of chars r=ato
...
MozReview-Commit-ID: 8QsOmtXDnGI
--HG--
extra : rebase_source : 0af1eb0af8d23346a1b20ac6a04964d974232850
2018-03-06 21:31:14 -05:00
Bastien Orivel
5473571aa5
Bug 1438195 - Update log to 0.4 in webdriver and bump version. r=ato
...
MozReview-Commit-ID: 4lkBqe4EzEI
--HG--
extra : rebase_source : 4f8319f2cad1e33cebf3596fb4bf2a2f83534dfb
2018-02-15 13:01:10 +01:00
Matt Brubeck
d9343cf41b
Bug 1422366 - Update webdriver Rust crate to cookie-0.10. r=jgraham
...
MozReview-Commit-ID: 3gJPSBSNTxF
--HG--
extra : rebase_source : faccf0c8acd73c478b5bf5578f99233445023384
2017-12-01 10:12:07 -08:00
Andreas Tolfsen
ea4dbaf7a9
Bug 1413292 - Remove backtrace crate dependency from geckodriver. r=jgraham
...
Made this a separate commit from that which actually removes the
in-tree vendored dependencies to make it easier to review.
MozReview-Commit-ID: 9xbkM0EfOOL
--HG--
extra : rebase_source : 6686dc07a25df1a820914eb715fb733778f092cb
2017-10-31 20:31:53 +00:00
Andreas Tolfsen
f056551b50
Bug 1412037 - Release webdriver crate 0.32.0. r=jgraham
...
A release of the webdriver crate is necessary for the release build
to pass on Travis, since testing/geckodriver/Cargo.toml cannot
depend on testing/webdriver as it is exported to the GitHub repository.
MozReview-Commit-ID: 1S2aAtg50t4
--HG--
extra : rebase_source : 53ef155537a44ef2bc141ea30a635e4144625118
2017-10-26 18:05:29 +01:00
Andreas Tolfsen
1c41d7c2a0
Bug 1391605 - Release webdriver 0.31.0. r=me
...
MozReview-Commit-ID: O3cTr5t58F
2017-09-16 15:13:50 +01:00
Sebastian Hengst
cf8b6a9dcf
Backed out changeset 82b8e6f1b4d9 (bug 1391605) for build bustage. r=backout
2017-09-16 14:22:54 +02:00
Andreas Tolfsen
e7a12573ad
Bug 1391605 - Release webdriver 0.31.0. r=me
...
MozReview-Commit-ID: O3cTr5t58F
2017-09-16 11:45:07 +01:00
Andreas Tolfsen
c722f88ac8
Bug 1368265 - Update geckodriver and webdriver Cargo.tomls. r=automatedtester
...
MozReview-Commit-ID: 6MsrxinrYEp
--HG--
extra : rebase_source : c0f5b076183c53c86aae0e757b6ef391f1eba8c1
2017-09-03 16:24:55 +01:00
Andreas Tolfsen
4c3170d857
webdriver: cargo: release 0.30.0
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bd7c82e977ddf0f2f90e9300fef70d0d2eb7ff33
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 6794f7ce256468a1c434134949c84222283c3d74
2017-08-18 13:27:38 +01:00
Andreas Tolfsen
806c215eb8
webdriver: cargo: release 0.29.0
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7d2bf526b6ed9c45e06b5b2abd395c996328d3ca
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 52dfc7e137ca51ba0e8d49286bbe2d09db7c2a41
2017-08-08 14:51:02 +01:00
James Graham
a84d0851ff
webdriver: Update version number for release
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2746c4f91f1c3582fe0ce5dea91f8971f8f20390
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 4029c44236409e9a4ceb4e3174aa2e7782e7168c
2017-07-18 16:42:19 +01:00
Andreas Tolfsen
685509aaee
webdriver: cargo: release 0.27.0
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1b8863b569ef6efe5f20f7a084e5910f1280285f
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 1a9db5d4470a84c94269047f68b4df5ee9284857
2017-06-19 13:14:44 +01:00
Jon Gjengset
dd5ce4bd02
webdriver: cargo: bump cookie dependency to 0.9 ( #104 )
...
Fixes : #103
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 107a60caf001239e69a14fed292f9177e3279e81
committer: Andreas Tolfsen <ato@sny.no>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 19bf1ffcae926e21f250c667a38234ed33c5f61b
2017-06-17 00:04:34 +01:00
James Graham
3dc0737cbb
webdriver: Update version number for release
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 5fdecf11323c499950c3b9778d5595c9dbe82d09
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0bc20d4f111ed42667b03dd3bebce8bfc668f04b
2017-06-07 12:58:10 +01:00
Andreas Tolfsen
4be89870e8
webdriver: cargo: release v0.25.2
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6e19650591d50b8a657bf8f0f6ac1c7ef648473e
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 2c50381ad3826331902c31b572c599cbeb64cdf2
2017-04-20 14:00:37 +01:00
Andreas Tolfsen
36a1267d07
webdriver: cargo: bump version number to 0.25.1
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 935a526e0a40f6644731f8c2de3facd12015eeab
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : a35e400dbfbf866da15c1451755db16a6cd423a8
2017-04-18 19:32:03 +01:00
Andreas Tolfsen
0a800c0b01
webdriver: cargo: release 0.25.0
...
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 8a36155ebd199bcba9cc57d1ea40ca97490d59a2
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : f29569588ee2304a0d0f199520f0aa46dac3261e
2017-04-10 13:24:27 +01:00