Simplify CORS e2e test logic
Simplify CORS e2e test logic

Bug: chromium:1141824
Change-Id: I68a1720874cf660adfad11683248486a4b7b3932
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2897281
Reviewed-by: Jack Franklin <993fcadce4d04090da2fefd557a0995e7966c8d5@chromium.org>
Commit-Queue: Sigurd Schneider <f04d242e109628a27a0f75fd49a87722bcf291fd@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend