To run this test, both http-auth-challenge.html and http-auth-challenge.php must be served over http.

This test case is to test the behavior of http authentication challenge dialog. This is for https://bugs.webkit.org/show_bug.cgi?id=80135

Please follow the following test procedure:

  1. Test dialog behavior when press Cancel button
    1. Start test case, then press Cancel button when authentication dialog pops up;
  2. Test dialog behavior when press OK button
    1. Navigate back to the privious page;
    2. Start test case again, then press Ok button without input anything when authentication dialog pops up;
    3. When dialog pops up again, enter fake credential and press Ok button: username:"qqqq", password:"qqqq"
    4. When dialog pops up agian, enter real credential and press Ok button: username:"aaaa", password:"aaaa"
Start test here