servo/components
bors-servo b05c27cb58 Auto merge of #14445 - mrnayak:netSecurity, r=jdm
Redesign CookieStorage and Implement Leave Secure Cookie Alone

CookieStorage has been refactored to use HashMap with the base domain as the key. Values of hashmap are vector of cookies.
CookieStorage now has max_per_host which restricts maximum cookies that can be added per base domain.
Cookie eviction does not take place if max_per_host is not reached.
Cookie eviction logic implemented here does following steps
1) Evict all expired cookies
2) Remove oldest accessed non-secure cookie If any
3) When no non-secure cookie exists, remove oldest accessed secure cookie if new cookie being added is secure. Else ignore new cookie

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/14445)
<!-- Reviewable:end -->
2016-12-04 15:30:46 -08:00
..
atoms Auto merge of #14387 - szeged:event-target, r=jdm 2016-11-28 22:13:31 -08:00
bluetooth Step annotations for WebBluetooth functions 2016-11-29 18:24:28 +01:00
bluetooth_traits Fix a typo in bluetooth_traits/lib.rs 2016-11-28 15:49:42 +01:00
canvas Implement WebGLContext resize, r=emilio 2016-12-01 00:56:59 +01:00
canvas_traits Remove old shaders, updates for WR feature and API changes. 2016-11-25 06:28:21 +10:00
compositing compositing: Only make the compositor responsible for initiating reflow 2016-11-30 16:36:02 -08:00
constellation Implement synchronous about:blank loading. 2016-11-30 11:26:35 +01:00
debugger Disable the debugger on Android until mio works on Android 2016-11-17 19:11:30 -06:00
devtools Remove #![feature(custom_attribute)] 2016-11-03 11:24:13 +01:00
devtools_traits Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
gfx Remove old shaders, updates for WR feature and API changes. 2016-11-25 06:28:21 +10:00
gfx_traits Don't promote all scrollable regions to stacking contexts 2016-11-05 18:36:45 +01:00
jstraceable_derive Update to Rust 1.15.0-nightly (1c448574b 2016-11-28) 2016-11-29 21:19:25 +01:00
layout Auto merge of #14394 - jcdyer:jcdyer/either-column-width, r=Wafflespeanut 2016-12-01 23:03:37 -08:00
layout_thread Auto merge of #14418 - pcwalton:infinite-reflows, r=notriddle 2016-12-01 10:16:38 -08:00
layout_traits Make the layout content process shutdown sender optional. 2016-11-30 01:24:45 +01:00
msg Auto merge of #14286 - gterzian:update_canvas_with_offscreen_context, r=jdm 2016-11-24 12:29:52 -08:00
net Redesign CookieStorage and Implement Leave Secure Cookie Alone 2016-12-04 16:29:38 -05:00
net_traits Auto merge of #14286 - gterzian:update_canvas_with_offscreen_context, r=jdm 2016-11-24 12:29:52 -08:00
plugins Update to Rust 1.15.0-nightly (1c448574b 2016-11-28) 2016-11-29 21:19:25 +01:00
profile Update profiler logging with current ProfilerCategory enum values 2016-11-17 19:36:58 -08:00
profile_traits Allow unsafe code for energy module (build failure otherwise) 2016-11-17 19:33:32 -08:00
range Remove #![feature(rustc_attrs)] 2016-11-03 11:24:19 +01:00
script Auto merge of #14454 - frewsxcv:named-browsing-context-tracking, r=Ms2ger 2016-12-04 13:11:04 -08:00
script_layout_interface Make the layout content process shutdown sender optional. 2016-11-30 01:24:45 +01:00
script_traits Implement synchronous about:blank loading. 2016-11-30 11:26:35 +01:00
servo Remove misleading section from non-toplevel Cargo.toml. 2016-11-29 16:17:18 -05:00
style Regenerate bindings. 2016-12-03 23:21:30 -10:00
style_traits Auto merge of #14135 - frewsxcv:code-like, r=Ms2ger 2016-11-14 06:59:35 -06:00
url Auto merge of #14274 - stshine:servo-url-index, r=emilio 2016-11-20 12:35:14 -06:00
util Update to Rust 1.15.0-nightly (1c448574b 2016-11-28) 2016-11-29 21:19:25 +01:00
webdriver_server Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00