Changeset 82187 in webkit


Ignore:
Timestamp:
Mar 28, 2011 8:47:53 PM (13 years ago)
Author:
aestes@apple.com
Message:

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:
Location:
trunk/LayoutTests
Files:
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r82184 r82187  
     12011-03-28  Andy Estes  <aestes@apple.com>
     2
     3        Make embed-prefers-plugins-for-images.html pass on all Apple platforms.
     4        https://bugs.webkit.org/show_bug.cgi?id=57137
     5
     6        * platform/mac-leopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
     7        * platform/mac-snowleopard/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
     8        * platform/mac-wk2/plugins/embed-prefers-plugins-for-images-expected.txt: Removed.
     9        * platform/win/Skipped:
     10        * plugins/embed-prefers-plugins-for-images-expected.txt:
     11        * plugins/embed-prefers-plugins-for-images.html:
     12
    1132011-03-28  Ojan Vafai  <ojan@chromium.org>
    214
  • trunk/LayoutTests/platform/win/Skipped

    r82159 r82187  
    12041204# https://bugs.webkit.org/show_bug.cgi?id=56496
    12051205fast/js/array-sort-modifying-tostring.html
    1206 
    1207 # https://bugs.webkit.org/show_bug.cgi?id=57132
    1208 plugins/embed-prefers-plugins-for-images.html
  • trunk/LayoutTests/plugins/embed-prefers-plugins-for-images-expected.txt

    r82020 r82187  
    1 FAIL
     1Test that WebKit will load a plug-in to render an image before rendering it natively.
    22
     3PASS
     4
  • trunk/LayoutTests/plugins/embed-prefers-plugins-for-images.html

    r82015 r82187  
    88    {
    99        var plugin = document.getElementById("plugin");
    10         if (plugin && plugin.testCallback) {
    11             plugin.testCallback("finishTest");
    12             return;
    13         }
     10       
     11        // Both QuickTime and TestNetscapePlugIn register for image/png.
     12        if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion))
     13            logSuccess();
    1414
    15         layoutTestController.notifyDone();
    16     }
    17    
    18     function finishTest()
    19     {
    20         document.getElementById("console").innerHTML = "PASS";
    2115        if (window.layoutTestController)
    2216            layoutTestController.notifyDone();
    2317    }
     18   
     19    function logSuccess()
     20    {
     21        document.getElementById("console").innerHTML = "PASS";
     22    }
    2423</script>
    2524<body onload="runTest()">
     25<p>Test that WebKit will load a plug-in to render an image before rendering it natively.</p>
    2626<div id="console">FAIL</div>
    27 <embed id="plugin" src="image.png" logSrc="1">
     27<embed id="plugin" src="image.png">
    2828   
Note: See TracChangeset for help on using the changeset viewer.