blob: b61fa95e665391ca0221be7ad1fdd097b2fb6f00 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner) {
internals.settings.setPlugInSnapshottingEnabled(true);
internals.settings.setMaximumPlugInSnapshotAttempts(0);
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
</script>
This test checks that printing a snapshotted plugin with text children
does not crash or cause assertion failures.
<object id="foo" type="application/x-shockwave-flash" data="../resources/lines.swf">
</object>
<script>
function boom()
{
if (window.testRunner) {
testRunner.setPrinting();
testRunner.notifyDone();
} else {
window.print();
}
}
setTimeout(boom, 3000);
</script>