diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-10 03:11:22 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-10 03:11:22 +0530 |
commit | f1018b84a838ec8505f6a0bcb6e13286ce80a95c (patch) | |
tree | 1d899be179ddceffa4f56dfeabaaea1a4128de94 /components/script/dom/htmliframeelement.rs | |
parent | cb8be1434f61e6bfe4639d42b1422329b0451a47 (diff) | |
parent | e8665d47ea5381bc6f07d7ff7d7b94bca23be767 (diff) | |
download | servo-f1018b84a838ec8505f6a0bcb6e13286ce80a95c.tar.gz servo-f1018b84a838ec8505f6a0bcb6e13286ce80a95c.zip |
Auto merge of #9525 - nikkisquared:test_filtered_responses, r=asajeffrey
Test filtered responses and implement Cors Check Fetch step
I've been writing tests for creating filtered responses. So far I have three of the four types being made (namely, Basic, CORS, and Opaque), and just need to figure out how to make an OpaqueRedirect filtered response, since it's handled separately from the others. I will also add more tests to ensure the content of the filtered responses matches the limitations placed by the specification.
Along the way I implemented Cors Check, since it's required for the CORS filtered response. @jdm suggested I handle it in here, since it's such a small step, compared to other parts of Fetch.
Since all the tests currently pass, and I've spent a while adding the Cors Check and other pieces, I figured now would be a good time to start having it reviewed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9525)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
0 files changed, 0 insertions, 0 deletions