Index: content/test/data/browser_plugin_embedder.html |
diff --git a/content/test/data/browser_plugin_embedder.html b/content/test/data/browser_plugin_embedder.html |
index 31a78467a65d57d70e50da1e131de0351542d808..fb70190a767173c43b5f411923db241b084328da 100644 |
--- a/content/test/data/browser_plugin_embedder.html |
+++ b/content/test/data/browser_plugin_embedder.html |
@@ -1,13 +1,25 @@ |
<script type="text/javascript"> |
function SetSrc(src) { |
- plugin = document.getElementById('plugin'); |
+ var plugin = document.getElementById('plugin'); |
plugin.src = src; |
} |
function SetSize(w, h) { |
- plugin = document.getElementById('plugin'); |
+ var plugin = document.getElementById('plugin'); |
plugin.width = w; |
plugin.height = h; |
} |
+function Back() { |
+ var plugin = document.getElementById('plugin'); |
+ plugin.back(); |
+} |
+function Forward() { |
+ var plugin = document.getElementById('plugin'); |
+ plugin.forward(); |
+} |
+function Go(relativeIndex) { |
+ var plugin = document.getElementById('plugin'); |
+ plugin.go(relativeIndex); |
+} |
</script> |
<object id="plugin" |