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

Side by Side Diff: chrome/test/data/translate/refresh_meta_tag_at_onload.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: rebase fix 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <!--
3 Copyright 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <head>
8 <title>refresh_meta_tag_at_onload.html</title>
9 <meta http-equiv="content-language" content="fr">
10 <script>
11 function injectRefreshMetaTag() {
12 var element = document.createElement("meta");
13 element.setAttribute("http-equiv", "refresh");
14 element.setAttribute("content", "1;refresh_meta_tag_next.html");
15 document.getElementsByTagName("head")[0].appendChild(element);
16 }
17 </script>
18 </head>
19 <body onload="injectRefreshMetaTag();">
20 <div>bonjour Chrome Translate.</div>
21 <div id="log"></div>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/translate/refresh_meta_tag.html ('k') | chrome/test/data/translate/refresh_meta_tag_next.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698