summaryrefslogtreecommitdiffstats
path: root/webkit/data
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:26:18 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:26:18 +0000
commitb5f4e2c82f8443d62eaa21714822634de5cfbc46 (patch)
tree6f7f1ddf7c42f6b95ea804b1fe9c2095bbc0a725 /webkit/data
parentbb063b71478fe0dad927d7bd1f2496b8e4f1713d (diff)
downloadchromium_src-b5f4e2c82f8443d62eaa21714822634de5cfbc46.zip
chromium_src-b5f4e2c82f8443d62eaa21714822634de5cfbc46.tar.gz
chromium_src-b5f4e2c82f8443d62eaa21714822634de5cfbc46.tar.bz2
Add a test to test_shell_tests to verify that navigator.plugins.refresh() works.
Also get rid of the duplicate disabled verify_plugin_window_rect test. Review URL: http://codereview.chromium.org/42687 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r--webkit/data/plugin_tests/npapi.js28
-rw-r--r--webkit/data/plugin_tests/verify_plugin_window_rect.html30
2 files changed, 0 insertions, 58 deletions
diff --git a/webkit/data/plugin_tests/npapi.js b/webkit/data/plugin_tests/npapi.js
deleted file mode 100644
index 207d188..0000000
--- a/webkit/data/plugin_tests/npapi.js
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// This script provides some mechanics for testing NPAPI
-//
-
-/* public */ function onSuccess(name, id)
-{
- setTimeout(onFinished, 0, name, id, "OK");
-}
-
-/* public */ function onFailure(name, id, status)
-{
- setTimeout(onFinished, 0, name, id, status);
-}
-
-
-
-// Finish running a test by setting the status
-// and the cookie.
-/* private */ function onFinished(name, id, result)
-{
- var statusPanel = document.getElementById("statusPanel");
- if (statusPanel) {
- statusPanel.innerHTML = result;
- }
-
- var cookie = name + "." + id + ".status=" + result + "; path=/";
- document.cookie = cookie;
-}
diff --git a/webkit/data/plugin_tests/verify_plugin_window_rect.html b/webkit/data/plugin_tests/verify_plugin_window_rect.html
deleted file mode 100644
index 7dca47a..0000000
--- a/webkit/data/plugin_tests/verify_plugin_window_rect.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-Plugin Window Rect Test<p>
-
-Tests whether the plugin window has a non zero client rect.
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="checkwindowrect"
- id="1"
- mode="np_embed"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>