Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / test / data / npapi / alert_in_window_message.html
blob5e3438593ab02bd0a88acc664b5ef2204f589a29
1 <html>
3 <head>
4 <script src="npapi.js"></script>
5 </head>
7 <body>
8 <div id="statusPanel" style="border: 1px solid red; width: 100%">
9 Test running....
10 </div>
13 Alert in Window message<p>
15 Tests that there's no deadlock when a plugin creates an alert in response to a synchronous Windows message from the browser process.
17 <DIV ID="PluginDiv">
18 <embed type="application/vnd.npapi-test"
19 src="foo"
20 name="alert_in_window_message"
21 id="1"
22 mode="np_embed"
24 </DIV>
26 <DIV id="PluginDiv2"></DIV>
28 <script>
30 function CallAlert() {
31 alert('testalert');
32 return;
34 </script>
36 </body>
37 </html>