Home | History | Annotate | Download | only in tests

Lines Matching defs:redirect

443 // Test a same-origin URL redirect and load.
447 char redirect[] = "http://www.test.com/RedirectSuccess2.html"; // Same-origin
448 KURL redirectURL = toKURL(redirect);
458 m_expectedRedirectResponse.setHTTPHeaderField("Location", redirect);
481 // Test that a cross origin redirect response without CORS headers fails.
486 char redirect[] = "http://www.other.com/RedirectCrossOriginWithAccessControlFailure.html"; // Cross-origin
487 KURL redirectURL = toKURL(redirect);
493 // Create a redirect response without CORS headers.
498 m_expectedRedirectResponse.setHTTPHeaderField("Location", redirect);
507 // We should not receive a notification for the redirect or any response.
514 // Test that a cross origin redirect response with CORS headers that allow the requesting origin succeeds.
518 char redirect[] = "http://www.other.com/RedirectCrossOriginWithAccessControlSuccess.html"; // Cross-origin
519 KURL redirectURL = toKURL(redirect);
527 // Create a redirect response that allows the redirect to pass the access control checks.
532 m_expectedRedirectResponse.setHTTPHeaderField("Location", redirect);
554 // We should not receive a notification for the redirect.