diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-25 00:48:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-25 00:48:09 -0800 |
commit | fcc3447dfc63571a51abe94ad27a21961d8ede4b (patch) | |
tree | cf4aaab380056d9b683e2ce670c9a637ab7f5c54 /components/script/mem.rs | |
parent | b5909f26cf4ca255d13bf31b3261e6c9df11a4a1 (diff) | |
parent | 3fce260f6e060468fce1b6e8e439c35ab714ec29 (diff) | |
download | servo-fcc3447dfc63571a51abe94ad27a21961d8ede4b.tar.gz servo-fcc3447dfc63571a51abe94ad27a21961d8ede4b.zip |
Auto merge of #14722 - iamrohit7:check-secure-schemes, r=jdm
Check for wss schemes in Cookie::appropriate_for_url
* Also adds a new helper, `ServoUrl::is_secure_scheme`.
* Refactored `CookieStorage::push` and `CookieStorage::remove` to use the new helper.
<!-- 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 #14702
<!-- Either: -->
- [X] These changes do not require tests because we can't test the changes yet.
<!-- 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/14722)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/mem.rs')
0 files changed, 0 insertions, 0 deletions