Files
react-native-devtools-frontend/htaccess
T
Yutaka Hirano b7cf3cf39c Layout tests should not rely on file URL's universal access on CORS
Layout tests run with "AllowUniversalAccessFromFileURLs" which grants
universal access to file: origins. This CL modifies layout tests
relying on the settings *for CORS* as out-of-blink CORS doesn't support
the settings.

This is basically done by adding "access-control-allow-access: *" to
a lot of resources.

Bug: 870173
Change-Id: Ie38eba9674419786e1acd2a0e12e172bea6ebb1e
Reviewed-on: https://chromium-review.googlesource.com/1224151
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#592326}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1415b5f0a7e468d91bdc8ce518a4df04f05b2e75
2018-09-19 05:45:57 +00:00

4 lines
145 B
Plaintext

# devtools tests request http[s] resources from file:// origin. Let
# the tests access the resources.
Header set Access-Control-Allow-Origin "*"