Changeset 72658 in webkit


Ignore:
Timestamp:
Nov 24, 2010 3:42:20 AM (13 years ago)
Author:
steveblock@google.com
Message:

2010-11-24 Steve block <steveblock@google.com>

Reviewed by Jeremy Orlow.

LayoutTest fast/dom/DeviceOrientation/event-after-navigation.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=49384

This is an asynchronous script test which navigates the main page but
relies on js-test-post.js calling LayoutTestController.waitUntilDone().
It's possible for the main page to be navigated and hence the load of
js-test-post.js to be cancelled before
LayoutTestController.waitUntilDone() is called, which causes the test to
fail.

  • fast/dom/DeviceOrientation/script-tests/event-after-navigation.js:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r72652 r72658  
     12010-11-24  Steve block  <steveblock@google.com>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        LayoutTest fast/dom/DeviceOrientation/event-after-navigation.html is flaky
     6        https://bugs.webkit.org/show_bug.cgi?id=49384
     7
     8        This is an asynchronous script test which navigates the main page but
     9        relies on js-test-post.js calling LayoutTestController.waitUntilDone().
     10        It's possible for the main page to be navigated and hence the load of
     11        js-test-post.js to be cancelled before
     12        LayoutTestController.waitUntilDone() is called, which causes the test to
     13        fail.
     14
     15        * fast/dom/DeviceOrientation/script-tests/event-after-navigation.js:
     16
    1172010-11-23  Pavel Feldman  <pfeldman@chromium.org>
    218
  • trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js

    r69764 r72658  
    66    debug('This test can not be run without the LayoutTestController');
    77
    8 window.addEventListener('deviceorientation', function() { } );
    9 window.location = "resources/event-after-navigation-new.html";
     8document.body.onload = function() {
     9    window.addEventListener('deviceorientation', function() { } );
     10    window.location = "resources/event-after-navigation-new.html";
     11}
    1012
    1113window.jsTestIsAsync = true;
Note: See TracChangeset for help on using the changeset viewer.