<div id='result'>
FAILED
</div>
<script>
var f = parent.frames[1];
var d = f.document;
f.location = 'data:text/html,%3Cbody onload=%22if (window.testRunner) testRunner.notifyDone();%22%3Efoo%3C/body%3E';
var test = d.location;
document.getElementById('result').innerHTML = 'PASSED';
</script>