[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

steveblock at google.com steveblock at google.com
Wed Dec 22 16:28:22 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 7e0193abf08fa118750cbc04cbd4b1afb1292d1b
Author: steveblock at google.com <steveblock at google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 24 11:42:20 2010 +0000

    2010-11-24  Steve block  <steveblock at 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:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72658 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 1a3ecae..30f6e6b 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,19 @@
+2010-11-24  Steve block  <steveblock at 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:
+
 2010-11-23  Pavel Feldman  <pfeldman at chromium.org>
 
         Reviewed by Yury Semikhatsky.
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js
index 2756e55..77e4ec7 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js
+++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js
@@ -5,8 +5,10 @@ if (window.layoutTestController)
 else
     debug('This test can not be run without the LayoutTestController');
 
-window.addEventListener('deviceorientation', function() { } );
-window.location = "resources/event-after-navigation-new.html";
+document.body.onload = function() {
+    window.addEventListener('deviceorientation', function() { } );
+    window.location = "resources/event-after-navigation-new.html";
+}
 
 window.jsTestIsAsync = true;
 window.successfullyParsed = true;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list