summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 02:53:26 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 02:53:26 +0000
commit3709717d02a71e2b9e8c1cd3d624765671dd9626 (patch)
tree979f2a23da1cde2195d25fcf75a04abb2ae2a552 /chrome/test
parent864e492b67e1c34d86419f4e0701ce9ace5cc885 (diff)
downloadchromium_src-3709717d02a71e2b9e8c1cd3d624765671dd9626.zip
chromium_src-3709717d02a71e2b9e8c1cd3d624765671dd9626.tar.gz
chromium_src-3709717d02a71e2b9e8c1cd3d624765671dd9626.tar.bz2
Check in missing html.
Review URL: http://codereview.chromium.org/115339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/npapi/alert_in_window_message.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/chrome/test/data/npapi/alert_in_window_message.html b/chrome/test/data/npapi/alert_in_window_message.html
new file mode 100644
index 0000000..5e343859
--- /dev/null
+++ b/chrome/test/data/npapi/alert_in_window_message.html
@@ -0,0 +1,37 @@
+<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>