servo/components/script/dom/bindings
bors-servo 34900814fc Auto merge of #10696 - rebstar6:referrerPolicy, r=jdm
Referer header

PR1 for https://github.com/servo/servo/issues/10311

This puts the code and data structures in place to set the Referer header based on the Referrer Policy for a given document. Note that document:: get_referrer_policy() always returns the 'No Referrer' option, so for now, this should have no impact on production code, and that policy requires that the Referer header is not added.

Later PRs will determine the policy and edit that get_referrer_policy() accordingly.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10696)
<!-- Reviewable:end -->
2016-04-25 13:52:01 -07:00
..
codegen Refactor the call hook on non-callback interface objects (fixes #10744) 2016-04-25 11:44:59 +02:00
callback.rs Remove #[allow(raw_pointer_derive)] attributes 2015-11-27 14:32:57 -05:00
cell.rs task -> thread 2016-01-10 17:58:13 +09:00
conversions.rs Use num-traits in script. 2016-04-20 15:23:43 +02:00
error.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
global.rs Add API base url method to global objects 2016-04-11 07:49:31 -04:00
inheritance.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
interface.rs Refactor the call hook on non-callback interface objects (fixes #10744) 2016-04-25 11:44:59 +02:00
js.rs Auto merge of #10546 - stjepang:fix-typo-in-jsrs, r=Ms2ger 2016-04-13 06:30:59 +05:30
mod.rs Lazily define interface objects on globals (fixes #6419) 2016-02-25 15:56:47 +01:00
num.rs Use num-traits in script. 2016-04-20 15:23:43 +02:00
proxyhandler.rs Update to Rust 2016-03-18. 2016-03-20 10:05:45 +01:00
refcounted.rs refactors entities from script_thread into script_runtime 2016-04-06 12:46:49 +05:30
reflector.rs Add global default method for Reflectable trait 2016-01-11 20:23:47 -05:00
str.rs use self.0 instead of destructing single item tuple structs 2016-03-27 11:50:08 +01:00
structuredclone.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
trace.rs Add referrer policy pass-through and referrer header logic 2016-04-25 16:41:06 -04:00
utils.rs Refactor the call hook on non-callback interface objects (fixes #10744) 2016-04-25 11:44:59 +02:00
weakref.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
xmlname.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00