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

Unified Diff: chrome_frame/test/data/xmlhttprequest_authorization_header_test.html

Issue 604014: First batch of context menu tests... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months 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
Index: chrome_frame/test/data/xmlhttprequest_authorization_header_test.html
===================================================================
--- chrome_frame/test/data/xmlhttprequest_authorization_header_test.html (revision 38776)
+++ chrome_frame/test/data/xmlhttprequest_authorization_header_test.html (working copy)
@@ -16,10 +16,10 @@
}
function SendXHRRequest() {
+ var test_name = "FullTabModeIE_XHRAuthHeaderTest";
var xhr = getXHRObject();
if (!xhr) {
- onFailure("FullTab_XMLHttpRequestAuthorizationHeaderTest", 1,
- "Failed to get XHR object");
+ onFailure(test_name, 1, "Failed to get XHR object");
}
xhr.open("GET", "http://localhost:1337/echoheader?Authorization", false);
@@ -30,15 +30,13 @@
var pos = xhr.responseText.indexOf("Basic");
if (pos >= 0) {
appendStatus("Received authorization header: " + xhr.responseText);
- onSuccess("FullTab_XMLHttpRequestAuthorizationHeaderTest", 1);
+ onSuccess(test_name, 1);
} else {
- onFailure("FullTab_XMLHttpRequestAuthorizationHeaderTest", 1,
- "Failed to find authorization header in response.");
+ onFailure(test_name, 1, "Failed to find auth header in response.");
}
} catch (e) {
appendStatus("XHR send failed. Error: " + e.description);
- onFailure("FullTab_XMLHttpRequestAuthorizationHeaderTest", 1,
- "Failed to send XHR request");
+ onFailure(test_name, 1, "Failed to send XHR request");
}
}
</script>

Powered by Google App Engine
This is Rietveld 408576698