Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for wss schemes in Cookie::appropriate_for_url #14722

Merged
merged 3 commits into from Dec 25, 2016

Conversation

@ghost
Copy link

ghost commented Dec 25, 2016

  • Also adds a new helper, ServoUrl::is_secure_scheme.
  • Refactored CookieStorage::push and CookieStorage::remove to use the new helper.
  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #14702
  • These changes do not require tests because we can't test the changes yet.

This change is Reviewable

@highfive
Copy link

highfive commented Dec 25, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/net/cookie_storage.rs, components/net/cookie.rs
@highfive
Copy link

highfive commented Dec 25, 2016

warning Warning warning

  • These commits modify net code, but no tests are modified. Please consider adding a test!
@jdm
Copy link
Member

jdm commented Dec 25, 2016

@bors-servo: r+
Looks great!

@bors-servo
Copy link
Contributor

bors-servo commented Dec 25, 2016

📌 Commit 3fce260 has been approved by jdm

@highfive highfive assigned jdm and unassigned metajack Dec 25, 2016
@bors-servo
Copy link
Contributor

bors-servo commented Dec 25, 2016

Testing commit 3fce260 with merge 1a47eba...

bors-servo added a commit that referenced this pull request Dec 25, 2016
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 25, 2016

💔 Test failed - windows-msvc-dev

@jdm
Copy link
Member

jdm commented Dec 25, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Dec 25, 2016

Testing commit 3fce260 with merge fcc3447...

bors-servo added a commit that referenced this pull request Dec 25, 2016
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 -->
@bors-servo bors-servo merged commit 3fce260 into servo:master Dec 25, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@ghost ghost deleted the check-secure-schemes branch Dec 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.