diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-05 05:13:01 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-05 05:13:01 +0530 |
commit | 217a55a7854ec3a843bb94f50a8952c61d5fcc2a (patch) | |
tree | 9b6138eec275424fef574ccb781418b6ea2bb1fc /components/script/script_task.rs | |
parent | 368dd1dc53cd595bbbcf6f9fb139e9ac573a351b (diff) | |
parent | ce3c9ff57cfdb2e989fbcded5c039508c1236a13 (diff) | |
download | servo-217a55a7854ec3a843bb94f50a8952c61d5fcc2a.tar.gz servo-217a55a7854ec3a843bb94f50a8952c61d5fcc2a.zip |
Auto merge of #8812 - jitendra29:support-withCredentials, r=jdm
M1504: Implement basic support for withCredentials API
The pull request includes the following task:
* Implemented basic network-level support by adding a member to LoadData that is used by http_loader.rs to conditionally exclude cookies from the HTTP request if the flag is false (default true)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8812)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 5563a0a2ca9..eb90805daac 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -2013,6 +2013,7 @@ impl ScriptTask { data: load_data.data, cors: None, pipeline_id: Some(id), + credentials_flag: true, }, LoadConsumer::Listener(response_target), None)).unwrap(); self.incomplete_loads.borrow_mut().push(incomplete); |