mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision b'3b791e5b10812a4ca4473d93679fc70d1a7f5f88'
This commit is contained in:
parent
61fe4cf606
commit
17f4d58879
157 changed files with 1609 additions and 430 deletions
|
@ -16,7 +16,10 @@ promise_test(async test => {
|
|||
}, "getAuthorizationHeaderValue - no redirection");
|
||||
|
||||
promise_test(async test => {
|
||||
const result = await getAuthorizationHeaderValue("/fetch/api/resources/redirect.py?location=" + encodeURIComponent("/fetch/api/resources/dump-authorization-header.py"));
|
||||
result = await getAuthorizationHeaderValue("/fetch/api/resources/redirect.py?location=" + encodeURIComponent("/fetch/api/resources/dump-authorization-header.py"));
|
||||
assert_equals(result, authorizationValue);
|
||||
|
||||
result = await getAuthorizationHeaderValue(get_host_info().HTTPS_REMOTE_ORIGIN + "/fetch/api/resources/redirect.py?allow_headers=Authorization&location=" + encodeURIComponent(get_host_info().HTTPS_REMOTE_ORIGIN + "/fetch/api/resources/dump-authorization-header.py"));
|
||||
assert_equals(result, authorizationValue);
|
||||
}, "getAuthorizationHeaderValue - same origin redirection");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue