Bug 1163257 - Only fail test_bug1160724.xul if we get a console warning about parsing 'transform'. r=dbaron
authorCameron McCormack <cam@mcc.id.au>
Wed, 08 Jul 2015 16:53:45 +1000
changeset 251898 f610067bc74180e9ecc3ada4bd5a72e8bdd7e937
parent 251897 da921ebcc14fbc7b8da061cab460a4e3e66c7031
child 251899 11ac079454e55171d2b3284f138bacb1c84a492f
push id29017
push userryanvm@gmail.com
push dateWed, 08 Jul 2015 18:33:30 +0000
treeherdermozilla-central@803a6e097827 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1163257, 1160724
milestone42.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 1163257 - Only fail test_bug1160724.xul if we get a console warning about parsing 'transform'. r=dbaron
layout/style/test/chrome/test_bug1160724.xul
--- a/layout/style/test/chrome/test_bug1160724.xul
+++ b/layout/style/test/chrome/test_bug1160724.xul
@@ -28,17 +28,19 @@ https://bugzilla.mozilla.org/show_bug.cg
       if (!iid.equals(Components.interfaces.nsISupports) &&
           !iid.equals(Components.interfaces.nsIConsoleListener)) {
         throw Components.results.NS_NOINTERFACE;
       }
       return this;
     },
 
     observe(msg) {
-      errorLogged = true;
+      if (msg.toString().indexOf("transform") != -1) {
+        errorLogged = true;
+      }
     }
   };
   serv.registerListener(listener);
   ]]>
   </script>
 
   <vbox id="w" style="-moz-binding: url(#binding)">
     <vbox id="v" style="display: none; transform: translateY(var(--test));" />