Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: ManualTests/blackberry/http-auth-challenge.php

Issue 780003004: Cleanup: Remove notification test from blackberry. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: g rm -rf ManualTests/blackberry Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ManualTests/blackberry/http-auth-challenge.html ('k') | ManualTests/blackberry/http-auth-on-200.php » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ManualTests/blackberry/http-auth-challenge.php
diff --git a/ManualTests/blackberry/http-auth-challenge.php b/ManualTests/blackberry/http-auth-challenge.php
deleted file mode 100644
index 776396c0467d72b4e969053bca80a4dd89eae68e..0000000000000000000000000000000000000000
--- a/ManualTests/blackberry/http-auth-challenge.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
- session_start();
- if (isset($_SESSION['triedTimes']))
- $_SESSION['triedTimes'] = $_SESSION['triedTimes'] + 1;
- else
- $_SESSION['triedTimes'] = 1;
-
- $username = $password = "aaaa";
-
- if ($_SERVER['PHP_AUTH_USER'] == $username && $_SERVER['PHP_AUTH_PW'] == $password){
- echo "Auth dialog behavior when press OK button: ";
- if ($_SESSION['triedTimes'] == 5)
- echo "<span style='color:green'>PASS</span>";
- else
- echo "<span style='color:red'>FAIL</span>";
- exit;
- } else {
- header('WWW-Authenticate: Basic realm="My Realm"');
- header('HTTP/1.0 401 Unauthorized');
- echo "Auth dialog behavior when press Cancel button: ";
- if ($_SESSION['triedTimes'] == 1)
- echo "<span style='color:green'>PASS</span>";
- else
- echo "<span style='color:red'>FAIL</span>";
- exit;
- }
-?>
« no previous file with comments | « ManualTests/blackberry/http-auth-challenge.html ('k') | ManualTests/blackberry/http-auth-on-200.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698