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

Unified Diff: chrome/test/data/translate/update_location.html

Issue 14769004: Translate: infobars should not appear when a page has a refresh meta tag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more tests to update location Created 7 years, 7 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/test/data/translate/update_location.html
diff --git a/chrome/test/data/translate/fr_test.html b/chrome/test/data/translate/update_location.html
similarity index 59%
copy from chrome/test/data/translate/fr_test.html
copy to chrome/test/data/translate/update_location.html
index c405e6d71903571ce1235222b753d52e3e5e5ac3..59144d2ff45e3f0ad84eb2ed3cf5f45f6e7ed0a2 100644
--- a/chrome/test/data/translate/fr_test.html
+++ b/chrome/test/data/translate/update_location.html
@@ -5,11 +5,15 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
- <title>fr_test.html: check if Chrome Translate works</title>
+ <title>update_location.html</title>
<meta http-equiv="content-language" content="fr">
+ <script>
+ var path = location.pathname.split("/");
+ path[path.length - 1] = "update_location_next.html";
+ location.pathname = path.join("/");
+ </script>
</head>
<body>
<div>bonjour Chrome Translate.</div>
- <div id="log"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698