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

Side by Side Diff: chrome/test/data/translate/pseudo_main.js

Issue 13825006: Translate: browser test to verify whole translate process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win build fix 2 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
« no previous file with comments | « chrome/test/data/translate/pseudo_element_main.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 div_log = function (message) {
6 var div = document.getElementById('log');
7 var element = document.createElement('pre');
8 element.innerText = message;
9 div.appendChild(element);
10 }
11 if (typeof world != 'undefined') {
12 div_log('v8 isolation doesn\'t work');
13 document.title = 'FAIL';
14 return;
15 }
16 div_log('The first script pseudo_main.js is loaded');
17 div_log('Loading the second script pseudo_element_main.js ...');
18 var head = document.getElementsByTagName('head')[0];
19 var script = document.createElement('script');
20 script.src = element_main_script_url;
21 head.appendChild(script);
OLDNEW
« no previous file with comments | « chrome/test/data/translate/pseudo_element_main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698