summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/uitest/plugins/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/uitest/plugins/test.html')
-rw-r--r--chrome/test/data/extensions/uitest/plugins/test.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/uitest/plugins/test.html b/chrome/test/data/extensions/uitest/plugins/test.html
new file mode 100644
index 0000000..6226916
--- /dev/null
+++ b/chrome/test/data/extensions/uitest/plugins/test.html
@@ -0,0 +1,16 @@
+<embed id="plugin"
+ type="application/x-extension-test"
+ style="width:100; height:100">
+</embed>
+<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>