| Index: chrome/test/data/extensions/uitest/plugins/test.js
|
| diff --git a/chrome/test/data/extensions/uitest/plugins/test.js b/chrome/test/data/extensions/uitest/plugins/test.js
|
| deleted file mode 100644
|
| index 10d5cd0f94024b766d5e0f2c99484850078e5875..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/extensions/uitest/plugins/test.js
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -// 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.
|
| -
|
| -function callTestInvokeDefault(plugin) {
|
| - if (plugin.testInvokeDefault) {
|
| - plugin.testInvokeDefault(function(str) {
|
| - window.domAutomationController.send(true);
|
| - });
|
| - return;
|
| - }
|
| -
|
| - // Try again in 100 ms.
|
| - window.setTimeout(callTestInvokeDefault.bind(null, plugin), 100);
|
| -}
|
| -
|
| -function testPluginWorks() {
|
| - if (!navigator.mimeTypes['application/x-extension-test']) {
|
| - window.domAutomationController.send(false);
|
| - return;
|
| - }
|
| -
|
| - var plug = document.getElementById("plugin");
|
| - if (!plug) {
|
| - window.domAutomationController.send(false);
|
| - return;
|
| - }
|
| - callTestInvokeDefault(plug);
|
| -}
|
|
|