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

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

Issue 14180010: Translate: browser test for Chrome Translate in an isolated world (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix two memory bugs Created 7 years, 4 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
« no previous file with comments | « chrome/renderer/translate/translate_helper.cc ('k') | chrome/test/data/translate/fr_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/translate/fr_test.html
diff --git a/chrome/test/data/translate/fr_test.html b/chrome/test/data/translate/fr_test.html
index c405e6d71903571ce1235222b753d52e3e5e5ac3..ef7006c118c99f33c1ba85680cd9a613acdda9fa 100644
--- a/chrome/test/data/translate/fr_test.html
+++ b/chrome/test/data/translate/fr_test.html
@@ -7,6 +7,9 @@ found in the LICENSE file.
<head>
<title>fr_test.html: check if Chrome Translate works</title>
<meta http-equiv="content-language" content="fr">
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'">
+ <script>world='ng';</script> <!-- This line doesn't run because of CSP. -->
+ <script src="fr_test.js"></script>
</head>
<body>
<div>bonjour Chrome Translate.</div>
« no previous file with comments | « chrome/renderer/translate/translate_helper.cc ('k') | chrome/test/data/translate/fr_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698