Bug 1273654 - Remove redundant function wrapper. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 25 May 2016 15:31:52 -0400
changeset 338016 40bfcafa28c2007ba666ac77d6f63d0cd8ab8eee
parent 338015 5c11ccdcbb7bde52567ad74f617da75292744d5d
child 338017 f40e481b93488d8868ae01ae4c5f35a832d2b414
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1273654
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1273654 - Remove redundant function wrapper. r=botond MozReview-Commit-ID: BTC8oT5p4Uy
gfx/layers/apz/test/mochitest/test_group_mouseevents.html
gfx/layers/apz/test/mochitest/test_group_touchevents.html
gfx/layers/apz/test/mochitest/test_group_wheelevents.html
--- a/gfx/layers/apz/test/mochitest/test_group_mouseevents.html
+++ b/gfx/layers/apz/test/mochitest/test_group_mouseevents.html
@@ -18,16 +18,16 @@ var subtests = [
 SimpleTest.waitForExplicitFinish();
 window.onload = function() {
   if (!SpecialPowers.getDOMWindowUtils(window).asyncPanZoomEnabled) {
     ok(true, "APZ is not enabled, this test is not relevant, sorry!\n");
     SimpleTest.finish();
     return;
   }
   runSubtestsSeriallyInFreshWindows(subtests)
-    .then(function() { SimpleTest.finish() });
+    .then(SimpleTest.finish);
 };
 
   </script>
 </head>
 <body>
 </body>
 </html>
--- a/gfx/layers/apz/test/mochitest/test_group_touchevents.html
+++ b/gfx/layers/apz/test/mochitest/test_group_touchevents.html
@@ -60,16 +60,16 @@ var subtests = [
 SimpleTest.waitForExplicitFinish();
 window.onload = function() {
   if (!SpecialPowers.getDOMWindowUtils(window).asyncPanZoomEnabled) {
     ok(true, "APZ is not enabled, this test is not relevant, sorry!\n");
     SimpleTest.finish();
     return;
   }
   runSubtestsSeriallyInFreshWindows(subtests)
-    .then(function() { SimpleTest.finish() });
+    .then(SimpleTest.finish);
 };
 
   </script>
 </head>
 <body>
 </body>
 </html>
--- a/gfx/layers/apz/test/mochitest/test_group_wheelevents.html
+++ b/gfx/layers/apz/test/mochitest/test_group_wheelevents.html
@@ -28,16 +28,16 @@ var subtests = [
 SimpleTest.waitForExplicitFinish();
 window.onload = function() {
   if (!SpecialPowers.getDOMWindowUtils(window).asyncPanZoomEnabled) {
     ok(true, "APZ is not enabled, this test is not relevant, sorry!\n");
     SimpleTest.finish();
     return;
   }
   runSubtestsSeriallyInFreshWindows(subtests)
-    .then(function() { SimpleTest.finish() });
+    .then(SimpleTest.finish);
 };
 
   </script>
 </head>
 <body>
 </body>
 </html>