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

Side by Side Diff: chrome/test/data/nacl/extension_validation_cache/extension_validation_cache.js

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear tokens too Created 6 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
OLDNEW
(Empty)
1 function create(manifest_url) {
teravest 2014/05/21 16:49:42 Do you need a copyright statement for this file?
jvoung (off chromium) 2014/05/21 21:10:56 Done.
2 var embed = load_util.embed(manifest_url);
3
4 embed.addEventListener("load", function(evt) {
5 load_util.shutdown("1 test passed.", true);
6 }, true);
7
8 embed.addEventListener("error", function(evt) {
9 load_util.log("Load error: " + embed.lastError);
10 load_util.shutdown("1 test failed.", false);
11 }, true);
12
13 document.body.appendChild(embed);
14 }
15
16 function documentLoaded() {
17 create('extension_validation_cache.nmf');
18 }
19
20 document.addEventListener('DOMContentLoaded', documentLoaded);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698