chromium/third_party/blink/web_tests/ppapi/plugins/plugin-remove-subframe.html

<!DOCTYPE html>
<head><meta charset="utf-8"/>
<script>
function test() {
  try {

    var plugin = window.frames["subframe"].document.plugins[0];
    plugin.testExecuteScript('parent.document.getElementById("d").innerHTML = "";');

  } catch (ex) {
    alert(ex);
  }

  setTimeout(done, 10);
}

function done() {
  testRunner.dumpAsText();
  testRunner.notifyDone();
}
</script>
</head>
<body onload="testRunner.waitUntilDone(); setTimeout(test, 10)">
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=14437">bug 14437</a>:
RTÉ video crashes Safari.</p>
<p>Only works with DumpRenderTree.</p>

<div id='d'>
  <iframe name='subframe' src='resources/plugin-remove-subframe-iframe.html'></iframe>
</div>
</body>