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

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

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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_test.html
diff --git a/chrome_frame/test/data/xmlhttprequest_test.html b/chrome_frame/test/data/xmlhttprequest_test.html
deleted file mode 100644
index f5894c29fe95a37b64f6cbb0adbba8aa2990c89b..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/xmlhttprequest_test.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <meta http-equiv="x-ua-compatible" content="chrome=1" />
- <title>ChromeFrame keyevent test</title>
- <script type="text/javascript"
- src="chrome_frame_tester_helpers.js"></script>
-
- <script type="text/javascript">
- function ValidateUserAgent() {
- if (isRunningInMSIE()) {
- onFailure("FullTab_XMLHttpRequestTest", 1, "Failed");
- }
-
- SendXHRRequest();
- }
-
- function SendXHRRequest() {
- var xhr = getXHRObject();
- if (!xhr) {
- onFailure("FullTab_XMLHttpRequestTest", 1,
- "Failed to get XHR object");
- }
-
- var url = GetBaseUrlPath() + "echoheader?User-Agent";
- xhr.open("GET", url, false);
- try {
- xhr.send(null);
- var pos = xhr.responseText.indexOf("chromeframe");
- if (pos >= 0) {
- appendStatus("Received user agent: " + xhr.responseText);
- onSuccess("FullTab_XMLHttpRequestTest", 1);
- } else {
- onFailure("FullTab_XMLHttpRequestTest", 1,
- "Failed to find chromeframe in user agent.");
- }
- } catch (e) {
- appendStatus("XHR send failed. Error: " + e.description);
- onFailure("FullTab_XMLHttpRequestTest", 1,
- "Failed to send XHR request");
- }
- }
- </script>
- </head>
-
- <body onLoad="setTimeout(ValidateUserAgent, 100);">
- ChromeFrame full tab mode XMLHttpRequest test. Verifies that
- XMLHttpRequests use the host network stack.
- </body>
-</html>
« no previous file with comments | « chrome_frame/test/data/xmlhttprequest_header_test.html ('k') | chrome_frame/test/delete_chrome_history_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698