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); |