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

Unified Diff: chrome/test/data/nacl/nacl_load_test.html

Issue 10827356: Revert 151716 - Add NaCl smoke test to browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/test/data/nacl/OWNERS ('k') | chrome/test/data/nacl/nacl_test_data.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/nacl_load_test.html
===================================================================
--- chrome/test/data/nacl/nacl_load_test.html (revision 151723)
+++ chrome/test/data/nacl/nacl_load_test.html (working copy)
@@ -1,41 +0,0 @@
-<html>
-<!--
-Copyright (c) 2012 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-<head>
-<title>NaCl Load Test</title>
-</head>
-<body>
-<h2>NaCl Load Test</h2>
-</body>
-<script>
-
-function report(msg) {
- domAutomationController.setAutomationId(0);
- // The automation controller seems to choke on Objects, so turn them into
- // strings.
- domAutomationController.send(JSON.stringify(msg));
-}
-
-function create(manifest_url) {
- var embed = document.createElement("embed");
- embed.src = manifest_url;
- embed.type = "application/x-nacl";
-
- embed.addEventListener("load", function(evt) {
- report({type: "Shutdown", message: "1 test passed.", passed: true});
- }, true);
-
- embed.addEventListener("error", function(evt) {
- report({type: "Log", message: "Load error: " + embed.lastError});
- report({type: "Shutdown", message: "1 test failed.", passed: false});
- }, true);
-
- document.body.appendChild(embed);
-}
-
-create("simple.nmf");
-</script>
-</html>
« no previous file with comments | « chrome/test/data/nacl/OWNERS ('k') | chrome/test/data/nacl/nacl_test_data.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698