servo/components
bors-servo b382cc2103 Auto merge of #12441 - aravind-pg:referrer-pol-header, r=jdm
Implement referrer policy delivery by header

Adds a new `Option<ReferrerPolicy>` field to Document and sets it appropriately in `ScriptThread::load` if a Referrer-Policy header is present.

r? @jdm

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11860
- [X] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12441)
<!-- Reviewable:end -->
2016-07-15 11:25:43 -07:00
..
canvas All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
canvas_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
compositing Replace any errors caused by content-provided URLs by warnings. 2016-07-15 09:50:40 -05:00
constellation All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
devtools All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
devtools_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
gfx All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
gfx_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
layout All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
layout_thread All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
layout_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
msg msg: Rename ReferrerPolicy::NoRefWhenDowngrade NoReferrerWhenDowngrade 2016-07-15 08:13:57 -07:00
net msg: Rename ReferrerPolicy::NoRefWhenDowngrade NoReferrerWhenDowngrade 2016-07-15 08:13:57 -07:00
net_traits Put Blob URL online 2016-07-15 20:33:51 +08:00
plugins All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
profile All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
profile_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
range All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
script Auto merge of #12441 - aravind-pg:referrer-pol-header, r=jdm 2016-07-15 11:25:43 -07:00
script_layout_interface All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
script_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
servo Bump hyper to 0.9.10 2016-07-15 08:09:51 -07:00
style All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
style_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
util Auto merge of #12137 - ConnorGBrewster:resources_case_sensitive, r=aneeshusa 2016-07-15 10:29:55 -07:00
webdriver_server All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00