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

Unified Diff: trunk/src/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js

Issue 15709012: Revert 205329 "Split pnacl and nacl mime types" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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
Index: trunk/src/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js
===================================================================
--- trunk/src/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js (revision 205338)
+++ trunk/src/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js (working copy)
@@ -1,18 +1,13 @@
-// Copyright (c) 2013 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.
-
// Helper routines for generating bad load tests.
// Webpage must have an 'embeds' div for injecting NaCl modules.
// Depends on nacltest.js.
-function createModule(id, src, type) {
+function createModule(id, src) {
return createNaClEmbed({
id: id,
src: src,
width: 100,
- height: 20,
- type: type
+ height: 20
});
}
@@ -27,9 +22,9 @@
}
-function badLoadTest(tester, id, src, type, error_string) {
+function badLoadTest(tester, id, src, error_string) {
tester.addAsyncTest(id, function(test){
- var module = createModule(id, src, type);
+ var module = createModule(id, src);
test.expectEvent(module, 'load', function(e) {
removeModule(module);

Powered by Google App Engine
This is Rietveld 408576698