aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlimageelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-01-08 13:20:09 -0500
committerGitHub <noreply@github.com>2020-01-08 13:20:09 -0500
commite201b1688ba6350a4f5c1df73893e9032dcb6f08 (patch)
tree1bd1960b6685d6d77c493cae4d59d217a017d643 /components/script/dom/htmlimageelement.rs
parent9f971f794e39ccb1bad70f23f1449c57e89a3037 (diff)
parent68ebecb7754467a3d4341c4a724ea2d45fc16959 (diff)
downloadservo-e201b1688ba6350a4f5c1df73893e9032dcb6f08.tar.gz
servo-e201b1688ba6350a4f5c1df73893e9032dcb6f08.zip
Auto merge of #25404 - Darkspirit:hsts, r=asajeffrey
Fix HSTS The headers crate does not [expose](https://github.com/hyperium/headers/blob/0c42ad8cf56f9af28973c3da71616fa478781fdf/src/common/strict_transport_security.rs#L42) HSTS struct fields. At the moment, it's only usable for HSTS header encoding. An update of the headers crate would require a huge update of http, hyper, hyper_serde, net::decoder as well. Therefore I've copied the `typed_get::<StrictTransportSecurity>` decoding feature for now, but with exposed struct fields. Let's remove this custom struct with the next hyper upgrade. I tried to prevent needless HSTS database lookups when network.enforce_tls.enabled is set. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #14363, fix #20120. - [x] There are tests for these changes
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
0 files changed, 0 insertions, 0 deletions