Changeset 51157 in webkit


Ignore:
Timestamp:
Nov 18, 2009 5:00:36 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-18 Girish Ramakrishnan <Girish Ramakrishnan>

Reviewed by Eric Seidel.

Add plugin visibility manual test

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

  • manual-tests/plugins/windowed.html:
  • manual-tests/plugins/windowless.html:
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r51156 r51157  
     12009-11-18  Girish Ramakrishnan  <girish@forwardbias.in>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Add plugin visibility manual test
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=31542
     8
     9        * manual-tests/plugins/windowed.html:
     10        * manual-tests/plugins/windowless.html:
     11
    1122009-11-18  Patrick Mueller  <Patrick_Mueller@us.ibm.com>
    213
  • trunk/WebCore/manual-tests/plugins/windowed.html

    r49973 r51157  
    2323</style>
    2424<script>
     25    function testVisibility() {
     26        var flashPlugin = document.getElementById('flashPlugin');
     27        if (flashPlugin.style.display == 'none') {
     28            flashPlugin.style.display = 'block';
     29        } else {
     30            flashPlugin.style.display = 'none';
     31        }
     32    }
     33
    2534    function testResize() {
    2635        var flashPlugin = document.getElementById('flashPlugin');
     
    6776    <div style="clear:both"/>
    6877
     78    <input type="checkbox" name="visibilityCheckBox"> Verify if the flash toggles visibility
     79            <input type="button" id="visibilityButton" value="Test Visibility" onClick="testVisibility()"/><br/>
     80
    6981    <input type="checkbox" name="resizeCheckBox"> Verify if the flash resizes when element is resized
    7082            <input type="button" id="resizeButton" value="Test Resize" onClick="testResize()"/><br/>
  • trunk/WebCore/manual-tests/plugins/windowless.html

    r49973 r51157  
    2323</style>
    2424<script>
     25    function testVisibility() {
     26        var flashPlugin = document.getElementById('flashPlugin');
     27        if (flashPlugin.style.display == 'none') {
     28            flashPlugin.style.display = 'block';
     29        } else {
     30            flashPlugin.style.display = 'none';
     31        }
     32    }
     33
    2534    function testResize() {
    2635        var flashPlugin = document.getElementById('flashPlugin');
     
    6877    <div style="clear:both"/>
    6978
     79    <input type="checkbox" name="visibilityCheckBox"> Verify if the flash toggles visibility
     80            <input type="button" id="visibilityButton" value="Test Visibility" onClick="testVisibility()"/><br/>
     81
    7082    <input type="checkbox" name="resizeCheckBox"> Verify if the flash resizes when element is resized
    7183            <input type="button" id="resizeButton" value="Test Resize" onClick="testResize()"/><br/>
Note: See TracChangeset for help on using the changeset viewer.