mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Auto merge of #21187 - tigercosmos:fetch, r=jdm
Make fetch() API use same-origin credentials by default <!-- Please describe your changes on the following line: --> --- <!-- 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 #21146 (github issue number if applicable). <!-- Either: --> - [ ] 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. --> <!-- 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/21187) <!-- Reviewable:end -->
This commit is contained in:
commit
a69c117da2
3 changed files with 1 additions and 8 deletions
|
@ -106,7 +106,7 @@ impl Request {
|
|||
// Step 5.5
|
||||
fallback_mode = Some(NetTraitsRequestMode::CorsMode);
|
||||
// Step 5.6
|
||||
fallback_credentials = Some(NetTraitsRequestCredentials::Omit);
|
||||
fallback_credentials = Some(NetTraitsRequestCredentials::CredentialsSameOrigin);
|
||||
}
|
||||
// Step 6
|
||||
RequestInfo::Request(ref input_request) => {
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[request-init-003.sub.html]
|
||||
[Check request values when initialized from url string]
|
||||
expected: FAIL
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
[request-structure.html]
|
||||
[Check credentials attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Check isReloadNavigation attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue