mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Make fetch() API use same-origin credentials by default
This commit is contained in:
parent
7f745139a7
commit
af3741ab26
3 changed files with 1 additions and 8 deletions
|
@ -106,7 +106,7 @@ impl Request {
|
||||||
// Step 5.5
|
// Step 5.5
|
||||||
fallback_mode = Some(NetTraitsRequestMode::CorsMode);
|
fallback_mode = Some(NetTraitsRequestMode::CorsMode);
|
||||||
// Step 5.6
|
// Step 5.6
|
||||||
fallback_credentials = Some(NetTraitsRequestCredentials::Omit);
|
fallback_credentials = Some(NetTraitsRequestCredentials::CredentialsSameOrigin);
|
||||||
}
|
}
|
||||||
// Step 6
|
// Step 6
|
||||||
RequestInfo::Request(ref input_request) => {
|
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]
|
[request-structure.html]
|
||||||
[Check credentials attribute]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Check isReloadNavigation attribute]
|
[Check isReloadNavigation attribute]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue