Changeset 179811 in webkit


Ignore:
Timestamp:
Feb 8, 2015 5:25:17 PM (9 years ago)
Author:
ap@apple.com
Message:

fullscreen/full-screen-plugin.html is very flaky on Yosemite WK2
https://bugs.webkit.org/show_bug.cgi?id=141364

Reviewed by Sam Weinig.

Make the test wait for the plug-in to become available.

  • fullscreen/full-screen-plugin.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r179810 r179811  
     12015-02-08  Alexey Proskuryakov  <ap@apple.com>
     2
     3        fullscreen/full-screen-plugin.html is very flaky on Yosemite WK2
     4        https://bugs.webkit.org/show_bug.cgi?id=141364
     5
     6        Reviewed by Sam Weinig.
     7
     8        Make the test wait for the plug-in to become available.
     9
     10        * fullscreen/full-screen-plugin.html:
     11
    1122015-02-08  Darin Adler  <darin@apple.com>
    213
  • trunk/LayoutTests/fullscreen/full-screen-plugin.html

    r179794 r179811  
    1212
    1313<script>
    14 onload = function() {
     14function test()
     15{
    1516    var callback;
    1617    var fullscreenChanged = function(event)
     
    5455        eventSender.keyDown('a');
    5556}
     57
     58function checkForPlugin()
     59{
     60    var plugin = document.getElementById('plugin');
     61    if (plugin.testObject)
     62        test();
     63    else
     64        setTimeout(checkForPlugin, 100);
     65}
     66
     67window.onload = checkForPlugin;
     68
    5669</script>
Note: See TracChangeset for help on using the changeset viewer.