Handle keypad while WebPage sets the focus automatically
[framework/web/webkit-efl.git] / ManualTests / blackberry / http-auth-private-mode-changed.php
1 <?php
2     $username = $password = "aaaa";
3
4     if ($_SERVER['PHP_AUTH_USER'] == $username && $_SERVER['PHP_AUTH_PW'] == $password){
5         echo 'Test steps:<br>';
6         echo '1. Set Private Browsing off. (Settings -> Privacy & Security -> Private Browsing)<br>';
7         echo '2. Refresh the page.<br>';
8         echo '3. There should be a dialog for you to input username and password again.<br>';
9         echo 'If you can\'t see the dialog, this test fails.<br>';
10         exit;
11     } else {
12         header('WWW-Authenticate: Basic realm="My Realm"');
13         header('HTTP/1.0 401 Unauthorized');
14         echo "Authorization Required.";
15         exit;
16     }
17 ?>