summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/npapi
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 23:14:59 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 23:14:59 +0000
commit95b2791c43c87191139175592c5e43ad17972d2a (patch)
tree717e46b1e28abbef00243c2d3dc6a39a910f0805 /chrome/test/data/npapi
parent70e7aeaa9fadc8709a3265fc6b0c035405af591d (diff)
downloadchromium_src-95b2791c43c87191139175592c5e43ad17972d2a.zip
chromium_src-95b2791c43c87191139175592c5e43ad17972d2a.tar.gz
chromium_src-95b2791c43c87191139175592c5e43ad17972d2a.tar.bz2
Move plugin_browsertests.cc from browser_tests to content_browsertests.
BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10806056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/npapi')
-rw-r--r--chrome/test/data/npapi/alert_in_window_message.html37
-rw-r--r--chrome/test/data/npapi/arguments.html40
-rw-r--r--chrome/test/data/npapi/convert_point.html27
-rw-r--r--chrome/test/data/npapi/create_instance_in_paint.html44
-rw-r--r--chrome/test/data/npapi/ensure_scripting_works_in_destroy.html21
-rw-r--r--chrome/test/data/npapi/ensure_scripting_works_in_destroy_iframe.html33
-rw-r--r--chrome/test/data/npapi/execute_script_delete_in_mouse_up.html41
-rw-r--r--chrome/test/data/npapi/execute_script_delete_in_npn_evaluate.html39
-rw-r--r--chrome/test/data/npapi/execute_script_delete_in_paint.html39
-rw-r--r--chrome/test/data/npapi/get_javascript_open_popup_with_plugin.html27
-rw-r--r--chrome/test/data/npapi/get_javascript_url.html26
-rw-r--r--chrome/test/data/npapi/get_javascript_url2.html5
-rw-r--r--chrome/test/data/npapi/get_javascript_url2_frame.html26
-rw-r--r--chrome/test/data/npapi/geturl.html26
-rw-r--r--chrome/test/data/npapi/geturl_redirect_notify.html26
-rw-r--r--chrome/test/data/npapi/layout_test_plugin.html17
-rw-r--r--chrome/test/data/npapi/many_plugins.html101
-rw-r--r--chrome/test/data/npapi/multiple_instances_sync_calls.html38
-rw-r--r--chrome/test/data/npapi/new_fails.html30
-rw-r--r--chrome/test/data/npapi/no_hang_if_init_crashes.html28
-rw-r--r--chrome/test/data/npapi/npapi.js30
-rw-r--r--chrome/test/data/npapi/npn_plugin_delete_create_in_evaluate.html40
-rw-r--r--chrome/test/data/npapi/npobject_identity.html31
-rw-r--r--chrome/test/data/npapi/npobject_lifetime_test.html58
-rw-r--r--chrome/test/data/npapi/npobject_lifetime_test_second_instance.html20
-rw-r--r--chrome/test/data/npapi/npobject_proxy.html28
-rw-r--r--chrome/test/data/npapi/npobject_released_on_destruction.html49
-rw-r--r--chrome/test/data/npapi/npobject_set_exception.html24
-rw-r--r--chrome/test/data/npapi/plugin_delete_in_deallocate.html55
-rw-r--r--chrome/test/data/npapi/plugin_read_page.html4
-rw-r--r--chrome/test/data/npapi/plugin_read_page.html.mock-http-headers2
-rw-r--r--chrome/test/data/npapi/plugin_read_page_redirect_src.html4
-rw-r--r--chrome/test/data/npapi/plugin_read_page_redirect_src.html.mock-http-headers3
-rw-r--r--chrome/test/data/npapi/plugin_ref_target_page.html19
-rw-r--r--chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers2
-rw-r--r--chrome/test/data/npapi/plugin_thread_async_call.html42
-rw-r--r--chrome/test/data/npapi/plugin_url_request_404.html26
-rw-r--r--chrome/test/data/npapi/plugin_url_request_fail_write.html26
-rw-r--r--chrome/test/data/npapi/plugin_url_request_referrer_test.html26
-rw-r--r--chrome/test/data/npapi/popup_window_with_target_plugin.html31
-rw-r--r--chrome/test/data/npapi/private.html25
-rw-r--r--chrome/test/data/npapi/schedule_timer.html25
-rw-r--r--chrome/test/data/npapi/self_delete_plugin_geturl.html37
-rw-r--r--chrome/test/data/npapi/self_delete_plugin_invoke.html33
-rw-r--r--chrome/test/data/npapi/self_delete_plugin_invoke_alert.html43
-rw-r--r--chrome/test/data/npapi/self_delete_plugin_stream.html34
-rw-r--r--chrome/test/data/npapi/verify_plugin_window_rect.html30
47 files changed, 0 insertions, 1418 deletions
diff --git a/chrome/test/data/npapi/alert_in_window_message.html b/chrome/test/data/npapi/alert_in_window_message.html
deleted file mode 100644
index 5e343859..0000000
--- a/chrome/test/data/npapi/alert_in_window_message.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-Alert in Window message<p>
-
-Tests that there's no deadlock when a plugin creates an alert in response to a synchronous Windows message from the browser process.
-
-<DIV ID="PluginDiv">
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="alert_in_window_message"
- id="1"
- mode="np_embed"
->
-</DIV>
-
-<DIV id="PluginDiv2"></DIV>
-
-<script>
-
-function CallAlert() {
- alert('testalert');
- return;
-}
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/arguments.html b/chrome/test/data/npapi/arguments.html
deleted file mode 100644
index 835473c..0000000
--- a/chrome/test/data/npapi/arguments.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPAPI Loading and Argument Tests<p>
-Tests our ability to pass arguments to the plugin via the embed
-tag.<P>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="arguments"
- id="1"
- mode="np_embed"
- count="12"
- size="10"
- val1="0123456789"
- val2="01234567890123456789"
- val3="012345678901234567890123456789"
- val4="0123456789012345678901234567890123456789"
- val5="01234567890123456789012345678901234567890123456789"
- val6="012345678901234567890123456789012345678901234567890123456789"
- val7="0123456789012345678901234567890123456789012345678901234567890123456789"
- val8="01234567890123456789012345678901234567890123456789012345678901234567890123456789"
- val9="012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
- val10="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
- val11="01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
- val12="012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/convert_point.html b/chrome/test/data/npapi/convert_point.html
deleted file mode 100644
index aee07c5..0000000
--- a/chrome/test/data/npapi/convert_point.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPAPI ConvertPoint test<p>
-Tests that NPN_ConvertPoint works.<P>
-
-<div style="position:absolute; left: 50px; top: 50px">
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="convert_point"
- id="1"
- mode="np_embed"
->
-</div>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/create_instance_in_paint.html b/chrome/test/data/npapi/create_instance_in_paint.html
deleted file mode 100644
index 80e8935..0000000
--- a/chrome/test/data/npapi/create_instance_in_paint.html
+++ /dev/null
@@ -1,44 +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 Instance In Paint Test<p>
-
-Tests that there's no deadlock when a plugin instance is created while handling a paint message.
-
-<DIV ID="PluginDiv">
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="create_instance_in_paint"
- id="1"
- mode="np_embed"
->
-</DIV>
-
-<DIV id="PluginDiv2"></DIV>
-
-<script>
-var height = document.body.offsetHeight;
-
-
-function CreateNewInstance() {
- var obj = document.createElement('embed');
- obj.setAttribute('type', 'application/vnd.npapi-test');
- obj.setAttribute('src', 'bar');
- obj.setAttribute('name', 'create_instance_in_paint');
- obj.setAttribute('id', '2');
- obj.setAttribute('mode', 'np_embed');
- document.getElementById("PluginDiv2").appendChild(obj);
-}
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/ensure_scripting_works_in_destroy.html b/chrome/test/data/npapi/ensure_scripting_works_in_destroy.html
deleted file mode 100644
index 80b9f65..0000000
--- a/chrome/test/data/npapi/ensure_scripting_works_in_destroy.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<head>
-<script src="npapi.js"></script>
-<script>
-function onloadfunction() {
- document.getElementById("theiframe").src = "about:blank";
-}
-</script>
-</head>
-
-<body onload="setTimeout(onloadfunction(), 0)">
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-Tests that scripting works during NPP_Destroy.
-
-<iframe src="ensure_scripting_works_in_destroy_iframe.html" id="theiframe">
-</iframe>
-</body>
-</html>
diff --git a/chrome/test/data/npapi/ensure_scripting_works_in_destroy_iframe.html b/chrome/test/data/npapi/ensure_scripting_works_in_destroy_iframe.html
deleted file mode 100644
index 0bb491d..0000000
--- a/chrome/test/data/npapi/ensure_scripting_works_in_destroy_iframe.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<script src="npapi.js"></script>
-<script>
-function GetMagicNumber() {
- return 42;
-}
-
-function onSuccess(name, id) {
- parent.onSuccess(name, id);
-}
-
-function onFailure(name, id, status) {
- parent.onFailure(name, id, status);
-}
-</script>
-</head>
-
-<body>
-<div id=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="ensure_scripting_works_in_destroy"
- id="1"
- mode="np_embed"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/execute_script_delete_in_mouse_up.html b/chrome/test/data/npapi/execute_script_delete_in_mouse_up.html
deleted file mode 100644
index f23c088..0000000
--- a/chrome/test/data/npapi/execute_script_delete_in_mouse_up.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- onSuccess("execute_script_delete_in_mouse_up", 1);
-}
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Proxy Test<p>
-
-Tests the case where a plugin instance is deleted in the context
-of a synchronous mouse event.
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="execute_script_delete_in_mouse_up"
- id="1"
- mode="np_embed"
- width="100%"
- height="100%"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/execute_script_delete_in_npn_evaluate.html b/chrome/test/data/npapi/execute_script_delete_in_npn_evaluate.html
deleted file mode 100644
index f2e2bbe..0000000
--- a/chrome/test/data/npapi/execute_script_delete_in_npn_evaluate.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- onSuccess("npobject_delete_plugin_in_evaluate", 1);
-}
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Proxy Test<p>
-
-Tests the case where a plugin instance is deleted in the context
-of NPN_Evaluate
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_delete_plugin_in_evaluate"
- id="1"
- mode="np_embed"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/execute_script_delete_in_paint.html b/chrome/test/data/npapi/execute_script_delete_in_paint.html
deleted file mode 100644
index fa9ff21..0000000
--- a/chrome/test/data/npapi/execute_script_delete_in_paint.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- onSuccess("execute_script_delete_in_paint", 1);
-}
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Proxy Test<p>
-
-Tests the case where a plugin instance is deleted in the context
-of a synchronous paint.
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="execute_script_delete_in_paint"
- id="1"
- mode="np_embed"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/get_javascript_open_popup_with_plugin.html b/chrome/test/data/npapi/get_javascript_open_popup_with_plugin.html
deleted file mode 100644
index 8f2f01a..0000000
--- a/chrome/test/data/npapi/get_javascript_open_popup_with_plugin.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-Open Popup window with plugin Test<p>
-This test instantiates a plugin which executes the window.open call to open a popup <br />
-window with a windowed plugin instance. The test verifies that the plugin instance in <br />
-the popup window always has a valid parent window. <br />
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="plugin_javascript_open_popup_with_plugin"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/get_javascript_url.html b/chrome/test/data/npapi/get_javascript_url.html
deleted file mode 100644
index 404613b..0000000
--- a/chrome/test/data/npapi/get_javascript_url.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-GetJavscriptURL Test<p>
-This test fetches a javascript URL via the plugin with _top as the
-target frame, and verifies that the call succeeds.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="getjavascripturl"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/get_javascript_url2.html b/chrome/test/data/npapi/get_javascript_url2.html
deleted file mode 100644
index 0fd4470f..0000000
--- a/chrome/test/data/npapi/get_javascript_url2.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>
-<body>
-<iframe style="width: 80%; height: 40%" src="get_javascript_url2_frame.html"></iframe>
-</body>
-</html>
diff --git a/chrome/test/data/npapi/get_javascript_url2_frame.html b/chrome/test/data/npapi/get_javascript_url2_frame.html
deleted file mode 100644
index dacf9c3..0000000
--- a/chrome/test/data/npapi/get_javascript_url2_frame.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-<head>
-<script>
-function onSuccess(name, id) {
- parent.document.title = "OK";
-}
-</script>
-</head>
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-GetJavscriptURL2 Test<p>
-This test fetches a javascript URL via the plugin with _self as the
-target frame, and verifies that the call succeeds. The plugin runs
-within a subframe.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="getjavascripturl2"
- id="1"
- mode="np_embed"
->
-</body>
-</html>
diff --git a/chrome/test/data/npapi/geturl.html b/chrome/test/data/npapi/geturl.html
deleted file mode 100644
index 002b63b..0000000
--- a/chrome/test/data/npapi/geturl.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-GetURL Test<p>
-This test fetches an URL via the plugin, and verifies that the
-callbacks are expected and that the retrieved content is correct.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="geturl"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/geturl_redirect_notify.html b/chrome/test/data/npapi/geturl_redirect_notify.html
deleted file mode 100644
index 568834d..0000000
--- a/chrome/test/data/npapi/geturl_redirect_notify.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-GetURL Test<p>
-This test fetches a URL via the plugin and validates that the plugin does
-receive notification about the redirect which is then denied.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="geturlredirectnotify"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/layout_test_plugin.html b/chrome/test/data/npapi/layout_test_plugin.html
deleted file mode 100644
index 7ee5492de..0000000
--- a/chrome/test/data/npapi/layout_test_plugin.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
-<head>
-<title>OK</title>
-</head>
-<body>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-<script>
-// Test for bug 711411: http://b/issue?id=711411
-// There was a crash because of the plugin dll being unloaded before the JS
-// interpreter got a chance to drop references.
-window.plg.eventLoggingEnabled = true;
-</script>
-
-<!-- Make sure unknown plugin types don't crash either -->
-<embed name="no-plg" type="application/not-installed"></embed>
-</body>
-</html>
diff --git a/chrome/test/data/npapi/many_plugins.html b/chrome/test/data/npapi/many_plugins.html
deleted file mode 100644
index 4a3b74a..0000000
--- a/chrome/test/data/npapi/many_plugins.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<html>
-
-<head>
-<script>
-count = 0;
-function onSuccess(name, id) {
- count++;
- if (count == 15)
- document.title = "OK";
-}
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-Loading many plugins<p>
-Tests our ability to load multiple plugins in a single page.<P>
-
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="1"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="2"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="3"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="4"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="5"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="6"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="7"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="8"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="9"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="10"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="11"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="12"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="13"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="14"
->
-<embed type="application/vnd.npapi-test"
- name="arguments"
- mode="np_embed"
- id="15"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/multiple_instances_sync_calls.html b/chrome/test/data/npapi/multiple_instances_sync_calls.html
deleted file mode 100644
index 5658a12..0000000
--- a/chrome/test/data/npapi/multiple_instances_sync_calls.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
- <head>
- <script src="npapi.js"></script>
- <script>
- function TestCallback() {
- onSuccess("multiple_instances_sync_calls", 1);
- }
- </script>
- </head>
- <body>
- <div id="statusPanel" style="border: 1px solid red; width: 100%">
- Test running....
- </div>
-
- NPObject Proxy Test<p>
-
- Tests the case that involves two plugin instances with second
- instance making sync calls to the renderer while the first one
- is still servicing an incoming sync request
-
- <DIV ID="plugin">
- <embed type="application/vnd.npapi-test"
- src="foo"
- name="multiple_instances_sync_calls"
- id="1"
- width="100"
- height="100"
- mode="np_embed"></embed>
- <embed type="application/vnd.npapi-test"
- src="foo"
- name="multiple_instances_sync_calls"
- id="2"
- width="100"
- height="100"
- mode="np_embed"></embed>
- </DIV>
- </body>
-</html>
diff --git a/chrome/test/data/npapi/new_fails.html b/chrome/test/data/npapi/new_fails.html
deleted file mode 100644
index a4b7de9..0000000
--- a/chrome/test/data/npapi/new_fails.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>
-
-
-NPP_NEW test<p>
-This test ensures we don't crash or assert if NPP_New fails.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="new_fails"
- id="1"
- mode="np_embed"
->
-
-<script>
- var height = document.body.offsetHeight;
- onSuccess("new_fails", 1);
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/no_hang_if_init_crashes.html b/chrome/test/data/npapi/no_hang_if_init_crashes.html
deleted file mode 100644
index 00e76a9..0000000
--- a/chrome/test/data/npapi/no_hang_if_init_crashes.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-No Hang If Init Crashes<p>
-
-Tests that if a plugin crashes during NP_Initialize the renderer doesn't hang.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="no_hang_if_init_crashes"
- id="1"
- mode="np_embed"
->
-<script>
-setTimeout('onSuccess("no_hang_if_init_crashes", 1);', 0);
-</script>
-</body>
-</html>
diff --git a/chrome/test/data/npapi/npapi.js b/chrome/test/data/npapi/npapi.js
deleted file mode 100644
index 6c3ef8d..0000000
--- a/chrome/test/data/npapi/npapi.js
+++ /dev/null
@@ -1,30 +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;
- }
-
- if (result == "OK")
- document.title = "OK";
- else
- document.title = "FAIL";
-}
diff --git a/chrome/test/data/npapi/npn_plugin_delete_create_in_evaluate.html b/chrome/test/data/npapi/npn_plugin_delete_create_in_evaluate.html
deleted file mode 100644
index 12f0e4d..0000000
--- a/chrome/test/data/npapi/npn_plugin_delete_create_in_evaluate.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script src="npapi.js"></script>
-<script>
-
- function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- var html = plugin_div.innerHTML;
- html = html.replace("npobject_delete_create_plugin_in_evaluate",
- "invoke_js_function_on_create");
- plugin_div.innerHTML = "Object Deleted";
- plugin_div.innerHTML = html;
- }
-
- function PluginCreated() {
- onSuccess("npobject_delete_create_plugin_in_evaluate", 1);
- }
-
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-Tests the case where a plugin instance is deleted and created in the context
-of the NPN_Evaluate call.
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_delete_create_plugin_in_evaluate"
- id="1"
- mode="np_embed"
->
-</DIV>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/npobject_identity.html b/chrome/test/data/npapi/npobject_identity.html
deleted file mode 100644
index ac5e43d..0000000
--- a/chrome/test/data/npapi/npobject_identity.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-<script>
- function areTheseTheSame(a, b) {
- return a === b;
- }
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Identity Test<p>
-
-Tests that identity is preserved for NPObjects passed from a plugin into JavaScript.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_identity"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/npobject_lifetime_test.html b/chrome/test/data/npapi/npobject_lifetime_test.html
deleted file mode 100644
index 634fad8..0000000
--- a/chrome/test/data/npapi/npobject_lifetime_test.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Lifetime test<p>
-
-Tests the case where a plugin holds on to an NPObject reference
-to another plugin in a different frame in the page and whether
-the npobject is callable when the frame is destroyed.
-
-<div ID=npobject_lifetime_test_instance2>
-<iframe src="npobject_lifetime_test_second_instance.html" name="plugin_frame">
-</iframe>
-</div>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_lifetime_test"
- id="1"
- mode="np_embed">
-
-<script>
-
-function GetSecondPluginInstance() {
- var plugin_frame = window.frames["plugin_frame"];
- if (!plugin_frame) {
- alert("failed to find frame in frames list");
- return;
- }
-
- var plugin = plugin_frame.document.getElementById(2);
- if (!plugin) {
- alert("Failed to locate second plugin");
- return;
- }
- return plugin;
-}
-
-function DeleteSecondPluginInstance() {
- var frame_div = document.getElementById("npobject_lifetime_test_instance2");
- if (frame_div.parentNode && frame_div.parentNode.removeChild) {
- frame_div.parentNode.removeChild(frame_div);
- }
-}
-</script>
-
-</body>
-</html>
-
diff --git a/chrome/test/data/npapi/npobject_lifetime_test_second_instance.html b/chrome/test/data/npapi/npobject_lifetime_test_second_instance.html
deleted file mode 100644
index 5876f8e..0000000
--- a/chrome/test/data/npapi/npobject_lifetime_test_second_instance.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Second instance.
-</div>
-
-NPObject Lifetime test second plugin instance<p>
-
-Tests the case where a plugin holds on to an NPObject reference
-to another plugin in a different frame in the page and whether
-the npobject is callable when the frame is destroyed.
-
-<embed type="application/vnd.npapi-test"
- name="npobject_lifetime_test_second_instance"
- id="2"
- mode="np_embed"> </embed>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/npobject_proxy.html b/chrome/test/data/npapi/npobject_proxy.html
deleted file mode 100644
index ef85ee7..0000000
--- a/chrome/test/data/npapi/npobject_proxy.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Proxy Test<p>
-
-Tests that if an NPObject is proxies back to its original process, the
-original pointer is returned and not a proxy. If this fails the plugin
-will crash.
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_proxy"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/npobject_released_on_destruction.html b/chrome/test/data/npapi/npobject_released_on_destruction.html
deleted file mode 100644
index b98779f..0000000
--- a/chrome/test/data/npapi/npobject_released_on_destruction.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-<script>
-
-function returnedMethod() {
-}
-
-function dummyMethod() {
- return returnedMethod;
-}
-
-var test_object;
-function Init() {
- var plg = window.document["plg"];
- // Create the NPObjectStub in the plugin process first. This object's
- // deallocate function will release the NPObject below.
-
- // Then create an NPObjectProxy in the plugin process that holds on to the
- // dummyMethod function above.
- plg.remember(dummyMethod);
-}
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject released on destruction<p>
-
-Tests that if a plugin creates an NPObject and releases it on destruction,
-there's no crash when the plugin goes away.
-
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<script>
- Init();
-</script>
-
-</body>
-</html>
-
diff --git a/chrome/test/data/npapi/npobject_set_exception.html b/chrome/test/data/npapi/npobject_set_exception.html
deleted file mode 100644
index 1eeacbf..0000000
--- a/chrome/test/data/npapi/npobject_set_exception.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>
-<head>
-<title>Set Exception Test</title>
-<script src="npapi.js"></script>
-</head>
-
-<body>
-
-<h2>Test that if NPN_SetException is called by an out of process plugin, the
- exception is sent to the proper renderer.</h2>
-
-<div id="PluginDiv">
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</div>
-<script>
- var plg = window.document["plg"];
- try {
- plg.testThrowException();
- } catch (e) {
- onSuccess("npobject_set_exception", 1);
- }
-</script>
-</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_delete_in_deallocate.html b/chrome/test/data/npapi/plugin_delete_in_deallocate.html
deleted file mode 100644
index 4904469..0000000
--- a/chrome/test/data/npapi/plugin_delete_in_deallocate.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>
-<head>
-<script src="npapi.js"></script>
-<script>
-function setTestObject(object) {
- window.testObject = object;
- setTimeout("deleteTestObject()", 0);
- var statusPanel = document.getElementById("statusPanel");
- statusPanel.innerText = "Received test object...";
-}
-
-function deleteTestObject() {
- window.testObject = null;
- var statusPanel = document.getElementById("statusPanel");
- statusPanel.innerText = "Deleted test object...";
- gc();
-}
-
-function deletePlugin() {
- var statusPanel = document.getElementById("statusPanel");
- statusPanel.innerText = "Deleting plugin...";
- var plugin = document.getElementById("delete_plugin_in_deallocate_test");
- if (plugin.parentNode && plugin.parentNode.removeChild) {
- plugin.parentNode.removeChild(plugin);
- }
-}
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-NPObject Delete in Deallocate<p>
-
-Tests the case where deallocation of an NPObject belonging to the plugin
-triggers scripting which causes the whole plugin to be torn down, and verifies
-that the object being deallocated is not deallocated a second time.
-
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="delete_plugin_in_deallocate_test"
- id="signaller"
- mode="np_embed">
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="delete_plugin_in_deallocate_test"
- id="delete_plugin_in_deallocate_test"
- mode="np_embed">
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_read_page.html b/chrome/test/data/npapi/plugin_read_page.html
deleted file mode 100644
index 17bcef8..0000000
--- a/chrome/test/data/npapi/plugin_read_page.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<html>
-<head><title>Test page read by plugin</title></head>
-<body>This page has a title.</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_read_page.html.mock-http-headers b/chrome/test/data/npapi/plugin_read_page.html.mock-http-headers
deleted file mode 100644
index 57fae25..0000000
--- a/chrome/test/data/npapi/plugin_read_page.html.mock-http-headers
+++ /dev/null
@@ -1,2 +0,0 @@
-HTTP/1.0 200 OK
-Content-type: text/html
diff --git a/chrome/test/data/npapi/plugin_read_page_redirect_src.html b/chrome/test/data/npapi/plugin_read_page_redirect_src.html
deleted file mode 100644
index d359a54..0000000
--- a/chrome/test/data/npapi/plugin_read_page_redirect_src.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<html>
-<head><title>Test redirect page</title></head>
-<body>Redirect page. This page redirects to another page.</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_read_page_redirect_src.html.mock-http-headers b/chrome/test/data/npapi/plugin_read_page_redirect_src.html.mock-http-headers
deleted file mode 100644
index 0818be1..0000000
--- a/chrome/test/data/npapi/plugin_read_page_redirect_src.html.mock-http-headers
+++ /dev/null
@@ -1,3 +0,0 @@
-HTTP/1.1 301 Moved Permanently
-Location: http://mock.http/npapi/plugin_read_page.html
-Content-type: text/html
diff --git a/chrome/test/data/npapi/plugin_ref_target_page.html b/chrome/test/data/npapi/plugin_ref_target_page.html
deleted file mode 100644
index b4a6e9f..0000000
--- a/chrome/test/data/npapi/plugin_ref_target_page.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-<head><title>Target page for validating referrers in URL requests issued by <br />
-plugins
-</title>
-
-<script>
-function onLoad() {
- if (document.referrer == "http://mock.http/dummy_plugin_referrer") {
- window.opener.document.title = "OK";
- } else {
- onFailure("plugin_referrer_test", 1, "Unexpected referrer value");
- window.opener.document.title = "FAIL";
- }
-}
-</script>
-</head>
-
-<body onload="onLoad()">Plugin referrer test page.</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers b/chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers
deleted file mode 100644
index 57fae25..0000000
--- a/chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers
+++ /dev/null
@@ -1,2 +0,0 @@
-HTTP/1.0 200 OK
-Content-type: text/html
diff --git a/chrome/test/data/npapi/plugin_thread_async_call.html b/chrome/test/data/npapi/plugin_thread_async_call.html
deleted file mode 100644
index 156c844..0000000
--- a/chrome/test/data/npapi/plugin_thread_async_call.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-<script>
- function deleteShortLivedInstance() {
- var shortLivedDiv = document.getElementById("short_lived_div");
- shortLivedDiv.innerHTML = "Instance deleted";
- }
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPAPI NPN_PluginThreadAsyncCall test<p>
-Tests that a plugin can schedule async callbacks.<P>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="plugin_thread_async_call"
- id="1"
- short_lived="false"
- mode="np_embed"
->
-
-<div id="short_lived_div">
- <embed type="application/vnd.npapi-test"
- src="foo"
- name="plugin_thread_async_call"
- id="2"
- short_lived="true"
- mode="np_embed"
- >
-</div>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_url_request_404.html b/chrome/test/data/npapi/plugin_url_request_404.html
deleted file mode 100644
index deb200e..0000000
--- a/chrome/test/data/npapi/plugin_url_request_404.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-GetURL 404 Response Test<p>
-This test fetches a URL which results in the server sending back a 404
-response in the header. The plugin should expect a valid response followed
-by a failure.
-
-<embed type="application/vnd.npapi-test"
- page_not_found_url="http://mock.http/page404.html"
- name="geturl_404_response"
- id="1"
- mode="np_embed"
->
-</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_url_request_fail_write.html b/chrome/test/data/npapi/plugin_url_request_fail_write.html
deleted file mode 100644
index ee55af6..0000000
--- a/chrome/test/data/npapi/plugin_url_request_fail_write.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-GetURL Plugin Fails NPP_Write Test<p>
-This test fetches a URL and passes data off to the plugin. The plugin returns
-an error from the NPP_Write call. This test verifies that we do not crash
-as a result.
-
-<embed type="application/vnd.npapi-test"
- fail_write_url="http://mock.http/npapi/plugin_read_page.html"
- name="geturl_fail_write"
- id="1"
- mode="np_embed"
->
-</body>
-</html>
diff --git a/chrome/test/data/npapi/plugin_url_request_referrer_test.html b/chrome/test/data/npapi/plugin_url_request_referrer_test.html
deleted file mode 100644
index e5589e6..0000000
--- a/chrome/test/data/npapi/plugin_url_request_referrer_test.html
+++ /dev/null
@@ -1,26 +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 URL request referrer test<p>
-This test verifies that the HTTP referrer value is set correctly in HTTP<br>
-requests issued by plugins.
-
-<embed type="application/vnd.npapi-test"
- ref_target="http://mock.http/npapi/plugin_ref_target_page.html"
- name="plugin_referrer_test"
- id="1"
- mode="np_embed"
- src="http://mock.http/dummy_plugin_referrer"
->
-</body>
-</html>
diff --git a/chrome/test/data/npapi/popup_window_with_target_plugin.html b/chrome/test/data/npapi/popup_window_with_target_plugin.html
deleted file mode 100644
index a7942a8..0000000
--- a/chrome/test/data/npapi/popup_window_with_target_plugin.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-
-<head>
-<script>
-function onSuccess(name, id) {
- window.opener.document.title = "OK";
-}
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-Open Popup window with plugin Test<p>
-This test instantiates a plugin which executes the window.open call to open a popup <br />
-window with a windowed plugin instance. The test verifies that the plugin instance in <br />
-the popup window always has a valid parent window.<br />
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="plugin_popup_with_plugin_target"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/private.html b/chrome/test/data/npapi/private.html
deleted file mode 100644
index 46cacde..0000000
--- a/chrome/test/data/npapi/private.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPAPI Private Mode test<p>
-Tests that a plugin can query the private browsing mode.<P>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="private"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/schedule_timer.html b/chrome/test/data/npapi/schedule_timer.html
deleted file mode 100644
index 2546bb9..0000000
--- a/chrome/test/data/npapi/schedule_timer.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPAPI NPN_ScheduleTimer test<p>
-Tests that a plugin can schedule and unschedule timers.<P>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="schedule_timer"
- id="1"
- mode="np_embed"
->
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/self_delete_plugin_geturl.html b/chrome/test/data/npapi/self_delete_plugin_geturl.html
deleted file mode 100644
index 2d14340..0000000
--- a/chrome/test/data/npapi/self_delete_plugin_geturl.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<head>
-<title>Self Deleting Plugin Test - GetURL</title>
-<script src="npapi.js"></script>
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
-}
-
-function CallGetUrl() {
- var plg = window.document["plg"];
- plg.getURL("javascript:DeletePluginWithinScript()");
-}
-</script>
-</head>
-
-<body>
-
-<h2>Test to delete a plugin during script execution</h2>
-
-<p>
-This test is for a corner case when a plugin executes a script
-that deletes the invoking plugin itself.
-</p>
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<script>
- CallGetUrl();
- onSuccess("self_delete_plugin_geturl", 1);
-</script>
-
-</body>
-</html>
-
diff --git a/chrome/test/data/npapi/self_delete_plugin_invoke.html b/chrome/test/data/npapi/self_delete_plugin_invoke.html
deleted file mode 100644
index 73b940f..0000000
--- a/chrome/test/data/npapi/self_delete_plugin_invoke.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<title>Self Deleting Plugin Test - Invoke</title>
-<script src="npapi.js"></script>
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
-}
-</script>
-</head>
-
-<body>
-
-<h2>Test to delete a plugin during script execution</h2>
-
-<p>
-This test is for a corner case when a plugin executes a script
-that deletes the invoking plugin itself.
-</p>
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<script>
- var plg = window.document["plg"];
- plg.testCallback("DeletePluginWithinScript");
- onSuccess("self_delete_plugin_invoke", 1);
-</script>
-
-</body>
-</html>
-
diff --git a/chrome/test/data/npapi/self_delete_plugin_invoke_alert.html b/chrome/test/data/npapi/self_delete_plugin_invoke_alert.html
deleted file mode 100644
index 4176d2c..0000000
--- a/chrome/test/data/npapi/self_delete_plugin_invoke_alert.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
-<title>Self Deleting Plugin Test - Invoke</title>
-<script src="npapi.js"></script>
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- alert('plugin deleted');
-}
-function SuccessCallback() {
- onSuccess("self_delete_plugin_invoke_alert", 1);
-}
-function TimeoutCallback() {
- var plg = window.document["plg"];
- var plg2 = window.document["plg2"];
- plg.testCallback("DeletePluginWithinScript");
- plg2.testCallback("SuccessCallback"); // will fail if the plugin crashed
-}
-</script>
-</head>
-
-<body>
-
-<h2>Test to delete a plugin during script execution</h2>
-
-<p>
-This test is for a corner case when a plugin executes a script
-that deletes the invoking plugin itself then shows a modal dialog.
-See http://code.google.com/p/chromium/issues/detail?id=4270.
-</p>
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<embed name="plg2" type="application/x-webkit-test-netscape"></embed>
-<script>
- setTimeout('TimeoutCallback()', 0);
-</script>
-
-</body>
-</html>
-
diff --git a/chrome/test/data/npapi/self_delete_plugin_stream.html b/chrome/test/data/npapi/self_delete_plugin_stream.html
deleted file mode 100644
index a43c38a..0000000
--- a/chrome/test/data/npapi/self_delete_plugin_stream.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- onSuccess("self_delete_plugin_stream", 1);
-}
-</script>
-</head>
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-<DIV ID=PluginDiv>
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="self_delete_plugin_stream"
- id="1"
- mode="np_embed"
->
-</DIV>
-<script>
- var height = document.body.offsetHeight;
-</script>
-
-</body>
-</html>
diff --git a/chrome/test/data/npapi/verify_plugin_window_rect.html b/chrome/test/data/npapi/verify_plugin_window_rect.html
deleted file mode 100644
index 7dca47a..0000000
--- a/chrome/test/data/npapi/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>