blob: 6ffc1751a5448213dbb21390bbe5c7be75719948 [file] [log] [blame]
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function runTest()
{
var plugin = document.getElementById("plugin");
// Both QuickTime and TestNetscapePlugIn register for image/png.
if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion))
logSuccess();
if (window.layoutTestController)
layoutTestController.notifyDone();
}
function logSuccess()
{
document.getElementById("console").innerHTML = "PASS";
}
</script>
<body onload="runTest()">
<p>Test that WebKit will load a plug-in to render an image before rendering it natively.</p>
<div id="console">FAIL</div>
<embed id="plugin" src="image.png">