Auto merge of #25768 - pshaughn:corsstar, r=jdm

Handle access-control header wildcards

<!-- Please describe your changes on the following line: -->
We were checking Access-Control-Expose-Headers for wildcards inconsistently and then discarding the result; this fixes the check and its use, passing the WPT test for having a wildcard there.

---
<!-- 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 #24913

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
bors-servo 2020-02-14 23:16:37 -05:00 committed by GitHub
commit 795dab71ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 29 deletions

View file

@ -1,15 +0,0 @@
[cors-expose-star.sub.any.html]
[Basic Access-Control-Expose-Headers: * support]
expected: FAIL
[* can be one of several values]
expected: FAIL
[cors-expose-star.sub.any.worker.html]
[Basic Access-Control-Expose-Headers: * support]
expected: FAIL
[* can be one of several values]
expected: FAIL