Commit c369811f authored by aestes@apple.com's avatar aestes@apple.com

Make embed-prefers-plugins-for-images.html pass on all Apple platforms.

https://bugs.webkit.org/show_bug.cgi?id=57137

* platform/mac-leopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/mac-snowleopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/mac-wk2/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/win/Skipped:
* plugins/embed-prefers-plugins-for-images-expected.txt:
* plugins/embed-prefers-plugins-for-images.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b85967f9
2011-03-28 Andy Estes <aestes@apple.com>
Make embed-prefers-plugins-for-images.html pass on all Apple platforms.
https://bugs.webkit.org/show_bug.cgi?id=57137
* platform/mac-leopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/mac-snowleopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/mac-wk2/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
* platform/win/Skipped:
* plugins/embed-prefers-plugins-for-images-expected.txt:
* plugins/embed-prefers-plugins-for-images.html:
2011-03-28 Ojan Vafai <ojan@chromium.org>
Reviewed by Antti Koivisto.
......
......@@ -1203,6 +1203,3 @@ plugins/refcount-leaks.html
# https://bugs.webkit.org/show_bug.cgi?id=56496
fast/js/array-sort-modifying-tostring.html
# https://bugs.webkit.org/show_bug.cgi?id=57132
plugins/embed-prefers-plugins-for-images.html
FAIL
Test that WebKit will load a plug-in to render an image before rendering it natively.
PASS
......@@ -7,22 +7,22 @@
function runTest()
{
var plugin = document.getElementById("plugin");
if (plugin && plugin.testCallback) {
plugin.testCallback("finishTest");
return;
}
// Both QuickTime and TestNetscapePlugIn register for image/png.
if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion))
logSuccess();
layoutTestController.notifyDone();
if (window.layoutTestController)
layoutTestController.notifyDone();
}
function finishTest()
function logSuccess()
{
document.getElementById("console").innerHTML = "PASS";
if (window.layoutTestController)
layoutTestController.notifyDone();
}
</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" logSrc="1">
<embed id="plugin" src="image.png">
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment