Commit 24d04a14 authored by abarth@chromium.org's avatar abarth@chromium.org

Move plugins_private to manifest_version 2.

TBR=aa
BUG=62897
Review URL: http://codereview.chromium.org/8862004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113521 0039d316-1c4b-4281-b951-d872f2087c98
parent 6928d8a7
{ {
"version": "1.0.0.0", "version": "1.0.0.0",
"manifest_version": 2,
"name": "NPAPI plugin test", "name": "NPAPI plugin test",
"description": "An extension for an extension UITest.", "description": "An extension for an extension UITest.",
"plugins": [ "plugins": [
......
<!--
* Copyright (c) 2011 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.
-->
<embed id="plugin" <embed id="plugin"
type="application/x-extension-test" type="application/x-extension-test"
style="width:100; height:100"> style="width:100; height:100">
</embed> </embed>
<script> <script src="test.js"></script>
function testPluginWorks() {
var plug = document.getElementById("plugin");
var success = false;
if (plug && plug.testInvokeDefault) {
plug.testInvokeDefault(function(str) {
success = true;
});
}
window.domAutomationController.send(success);
}
</script>
// Copyright (c) 2011 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 testPluginWorks() {
var plug = document.getElementById("plugin");
var success = false;
if (plug && plug.testInvokeDefault) {
plug.testInvokeDefault(function(str) {
success = true;
});
}
window.domAutomationController.send(success);
}
{ {
"version": "1.0.0.0", "version": "1.0.0.0",
"manifest_version": 2,
"name": "NPAPI plugin test", "name": "NPAPI plugin test",
"description": "Tests that private publics are only visible to the extension", "description": "Tests that private publics are only visible to the extension",
"plugins": [ "plugins": [
......
<!--
* Copyright (c) 2011 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.
-->
<embed id="plugin" <embed id="plugin"
type="application/x-extension-test" type="application/x-extension-test"
style="width:100; height:100"> style="width:100; height:100">
</embed> </embed>
<script> <script src="test.js"></script>
function testPluginWorks() {
var plug = document.getElementById("plugin");
var success = false;
if (plug && plug.testInvokeDefault) {
plug.testInvokeDefault(function(str) {
success = true;
});
}
window.domAutomationController.send(success);
}
</script>
// Copyright (c) 2011 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 testPluginWorks() {
var plug = document.getElementById("plugin");
var success = false;
if (plug && plug.testInvokeDefault) {
plug.testInvokeDefault(function(str) {
success = true;
});
}
window.domAutomationController.send(success);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment