Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: webkit/data/plugin_tests/npapi.js

Issue 42687: Add a test to test_shell_tests to verify that navigator.plugins.refresh() wor... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/data/plugin_tests/verify_plugin_window_rect.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/plugin_tests/npapi.js
===================================================================
--- webkit/data/plugin_tests/npapi.js (revision 12587)
+++ webkit/data/plugin_tests/npapi.js (working copy)
@@ -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;
-}
« no previous file with comments | « no previous file | webkit/data/plugin_tests/verify_plugin_window_rect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698