<html><head><title>
<body>
<script type="text/javascript">
function deletePlugin() {
document.getElementById('foo').removeChild(document.getElementById('plugin'));
var foo = document.getElementById('foo').offsetWidth;
document.cookie = "COMPLETION_COOKIE=PASS; path=/";
}
</script>
This test tests deleting a the <object> synchronously from within a
script call. Neither the proxy nor the PPAPI implementation should crash in
this case.
<div id="foo">
<object id="plugin" type="application/x-ppapi-tests" width="400" height="400" style="border:5px solid blue;">
<param name="customtest" value="delete_plugin">
</object>
</div>
</body>