| Index: content/test/data/npapi/create_instance_in_paint.html
|
| diff --git a/content/test/data/npapi/create_instance_in_paint.html b/content/test/data/npapi/create_instance_in_paint.html
|
| deleted file mode 100644
|
| index 80e8935038ccd51781004da3f2f8dba8f2484048..0000000000000000000000000000000000000000
|
| --- a/content/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>
|
|
|