Bug 506187; fix intermittent orange.
authorJonathan Griffin <jgriffin@mozilla.com>
Wed, 19 Aug 2009 10:25:01 -0700
changeset 31670 ed13a1ebb1d0f8d1eba610e69aaa86406f65878a
parent 31669 b76047c1956f6d9fd9a8a494bb48a903b8e9ad1c
child 31671 2f923de567bb84852d6163d59f857d10d76c2a70
push id8657
push userjgriffin@mozilla.com
push dateWed, 19 Aug 2009 17:25:30 +0000
treeherdermozilla-central@ed13a1ebb1d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs506187
milestone1.9.3a1pre
Bug 506187; fix intermittent orange.
widget/tests/window_wheeltransaction.xul
--- a/widget/tests/window_wheeltransaction.xul
+++ b/widget/tests/window_wheeltransaction.xul
@@ -693,16 +693,17 @@ function initTestList()
         // milliseconds since last wheel event, then, current transaction should
         // be reset.
         { func: sendMouseMoveEvent, delay: gEnoughForIgnoreMoveDelay,
           offset: kPtInSubView1ForV,
           description: "sendMouseMoveEvent" },
         { func: testOneTimeScroll, delay: gEnoughForIgnoreMoveDelay,
           offset: kPtInSubView1ForV,
           isForward: true, isVertical: true, expectedView: gSubView1,
+          canFailRandomly: { possibleView: gRootView },
           description: "Reset transaction by a mouse move event (v-9)" }
       ]
     },
 
 
     { retryWhenTransactionTimeout: 5,
       steps: [
         // Horizontal case
@@ -767,16 +768,17 @@ function initTestList()
         // milliseconds since last wheel event, then, current transaction should
         // be reset.
         { func: sendMouseMoveEvent, delay: gEnoughForIgnoreMoveDelay,
           offset: kPtInSubView1ForH,
           description: "sendMouseMoveEvent" },
         { func: testOneTimeScroll, delay: gEnoughForIgnoreMoveDelay,
           offset: kPtInSubView1ForH,
           isForward: true, isVertical: false, expectedView: gSubView1,
+          canFailRandomly: { possibleView: gRootView },
           description: "Reset transaction by a mouse move event (h-9)" }
       ]
     },
 
 
     /**************************************************************************
      * Reset transaction by a mouse move event on outside of view
      *   When mouse cursor is moved to outside of the current target view, the