Commit 9ca607f9 authored by Yutaka Hirano's avatar Yutaka Hirano Committed by Commit Bot

[XHR] Replace whitelist with cors-safelisted

This is aligned with the spec.

Bug: 1097231
Change-Id: Id93081fa764431917e4f6d3c3313df17535186a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309612Reviewed-by: default avatarYoichi Osato <yoichio@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790315}
parent 6b1e649d
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
const xhr = new XMLHttpRequest; const xhr = new XMLHttpRequest;
xhr.open("GET", get_host_info().HTTP_REMOTE_ORIGIN + xhr.open("GET", get_host_info().HTTP_REMOTE_ORIGIN +
"/xhr/resources/access-control-basic-whitelist-response-headers.py", false); "/xhr/resources/access-control-basic-cors-safelisted-response-headers.py", false);
xhr.send(); xhr.send();
assert_not_equals(xhr.getResponseHeader("cache-control"), null); assert_not_equals(xhr.getResponseHeader("cache-control"), null);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment