[OOR-CORS] Fix xmlhttprequest-no-file-access-real.html
The test has used synchronous XHR, but blink::ThreadableLoader ignores a network error for the synchronous case. Currently CORS is implemented in ThreadableLoader and thus the error is notified, but that will not be true with out-of-blink CORS. This CL fixes the test so that it uses asynchronous XHR to make it pass even with out-of-blink CORS. Bug: 870173 Change-Id: I1c315ddf7f2a25d54f6de7f297d16677da8ba862 Reviewed-on: https://chromium-review.googlesource.com/c/1245057Reviewed-by:Takashi Toyoshima <toyoshim@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#596124}
Showing
Please register or sign in to comment