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

Unified Diff: chrome_frame/test/data/fulltab_delete_cookie_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/fulltab_delete_cookie_test.html
diff --git a/chrome_frame/test/data/fulltab_delete_cookie_test.html b/chrome_frame/test/data/fulltab_delete_cookie_test.html
deleted file mode 100644
index c8909a5bc48303cad6c3bdbfff373361fdc9548b..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/fulltab_delete_cookie_test.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
- <head>
- <meta http-equiv="x-ua-compatible" content="chrome=1" />
- <title>FullTab mode cookie deletion test</title>
- </head>
-
- <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script>
-
- <script type="text/javascript">
- function onLoad() {
- if (!isRunningInChrome()) {
- onFailure("FullTab_DeleteCookieTest", 1, "Not running in Chrome");
- return;
- }
-
- // The path of the cookie in this test is set to "/." so it should be
- // available for all files on the domain but should be set only once.
- // First validate that the document cookie contains the substring
- // "CF_FullTabDeleteCookie=1".
- // Then erase the first cookie and validate that it no longer contains
- // this string.
- try {
- var original_cookies = document.cookie;
- var cookie_found = /CF_FullTabDeleteCookie=1/.test(document.cookie);
- if (cookie_found) {
- eraseCookie("CF_FullTabDeleteCookie");
- cookie_found = /CF_FullTabDeleteCookie=1/.test(document.cookie);
- if (!cookie_found) {
- onSuccess("FullTab_DeleteCookieTest", 1);
- } else {
- onFailure("FullTab_DeleteCookieTest", 1,
- "CF_FullTabDeleteCookie still exists: " + original_cookies);
- }
- } else {
- onFailure("FullTab_DeleteCookieTest", 1, "Expected cookies not set");
- }
- } catch (e) {
- onFailure("FullTab_DeleteCookieTest", 1, "exception: " + e.description);
- }
- }
- </script>
-
- <body onload="onLoad();">
- This tests whether cookies get deleted correctly in full tab mode
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698