Bug 915439 - Use longer timeouts for test_value_computation.html and test_value_storage.html. r=bzbarsky, a=test-only
authorCameron McCormack <cam@mcc.id.au>
Thu, 19 Sep 2013 11:35:19 +1000
changeset 148575 de6c23dc748531896db2f731dda452687eec8ee0
parent 148574 978eb0975051aaa2a508dcf7ab0fdc758d88dd90
child 148576 fe3604b05f971bfe00274226cc841d2b507fe7bc
push id12
push userryanvm@gmail.com
push dateThu, 19 Sep 2013 16:42:10 +0000
reviewersbzbarsky, test-only
bugs915439
milestone24.0
Bug 915439 - Use longer timeouts for test_value_computation.html and test_value_storage.html. r=bzbarsky, a=test-only
layout/style/test/test_value_computation.html
layout/style/test/test_value_storage.html
--- a/layout/style/test/test_value_computation.html
+++ b/layout/style/test/test_value_computation.html
@@ -10,16 +10,17 @@
   <style type="text/css">
   /* For 'width', 'height', etc., need a constant size container. */
   #display { width: 500px; height: 200px }
   </style>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
   <script type="text/javascript">
   SimpleTest.expectAssertions(7);
   SimpleTest.waitForExplicitFinish();
+  SimpleTest.requestLongerTimeout(2);
 
   var load_count = 0;
   function load_done() {
     if (++load_count == 3)
       run_tests();
   }
   </script>
 </head>
--- a/layout/style/test/test_value_storage.html
+++ b/layout/style/test/test_value_storage.html
@@ -260,16 +260,17 @@ function test_property(property)
     }
   }
 
 }
 
 // To avoid triggering the slow script dialog, we have to test one
 // property at a time.
 SimpleTest.waitForExplicitFinish();
+SimpleTest.requestLongerTimeout(2);
 var props = [];
 for (var prop in gCSSProperties)
   props.push(prop);
 props = props.reverse();
 function do_one() {
   if (props.length == 0) {
     SimpleTest.finish();
     return;