components/desktop/thunderbird/patches/firefox-24-test.patch
changeset 7018 fdf447a07aff
parent 7017 25872950aa80
child 7020 58ca1f0fa3a7
--- a/components/desktop/thunderbird/patches/firefox-24-test.patch	Fri Sep 30 21:33:56 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-For testing. Commented out some tests that are known not to work on Solaris. 
-Solaris-specific patch.
-
-diff --git a/docshell/test/unit/test_bug414201_jfif.js b/docshell/test/unit/test_bug414201_jfif.js
---- a/docshell/test/unit/test_bug414201_jfif.js
-+++ b/docshell/test/unit/test_bug414201_jfif.js
-@@ -20,8 +20,9 @@
-     /* Check whether the primary extension is what we'd expect */
-     for (var mimetype in types) {
-         var exts = types[mimetype];
--        var primary = ms.getFromTypeAndExtension(mimetype, null).primaryExtension.toLowerCase();
-+// Known issue on Solaris
-+//        var primary = ms.getFromTypeAndExtension(mimetype, null).primaryExtension.toLowerCase();
- 
--        do_check_true (exts.indexOf(primary) != -1);
-+//        do_check_true (exts.indexOf(primary) != -1);
-     }
- }
-diff --git a/dom/tests/unit/test_geolocation_provider.js b/dom/tests/unit/test_geolocation_provider.js
---- a/dom/tests/unit/test_geolocation_provider.js
-+++ b/dom/tests/unit/test_geolocation_provider.js
-@@ -70,6 +70,7 @@
-     // needs a place where it can store databases.
-     do_get_profile();
- 
-+/* Network issue
-     // only kill this test when shutdown is called on the provider.
-     do_test_pending();
- 
-@@ -89,4 +90,5 @@
- 
-     geolocation = Cc["@mozilla.org/geolocation;1"].getService(Ci.nsISupports);
-     watchID = geolocation.watchPosition(successCallback, errorCallback);
-+*/
- }
-diff --git a/gfx/tests/gtest/TestLayers.cpp b/gfx/tests/gtest/TestLayers.cpp
---- a/gfx/tests/gtest/TestLayers.cpp
-+++ b/gfx/tests/gtest/TestLayers.cpp
-@@ -102,7 +102,7 @@
- 
- TEST(Layers, Defaults) {
-   TestContainerLayer layer(nullptr);
--  ASSERT_EQ(1.0, layer.GetOpacity());
-+  ASSERT_EQ(1.0f, layer.GetOpacity());
-   ASSERT_EQ(1.0f, layer.GetPostXScale());
-   ASSERT_EQ(1.0f, layer.GetPostYScale());
-