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

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: concat filepath literal 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 // Copyright 2014 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 function create(manifest_url) {
6 var embed = load_util.embed(manifest_url);
7
8 embed.addEventListener("load", function(evt) {
9 load_util.shutdown("1 test passed.", true);
10 }, true);
11
12 embed.addEventListener("error", function(evt) {
13 load_util.log("Load error: " + embed.lastError);
14 load_util.shutdown("1 test failed.", false);
15 }, true);
16
17 document.body.appendChild(embed);
18 }
19
20 function documentLoaded() {
21 create('extension_validation_cache.nmf');
22 }
23
24 document.addEventListener('DOMContentLoaded', documentLoaded);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698