Bug 1241562 - replacing logger error with debug when logging accessibility issues. r=ato
authorYura Zenevich <yzenevich@mozilla.com>
Thu, 21 Jan 2016 13:34:33 -0500
changeset 281104 485b9de85b9d11c8db952e5ca4926efef1d38b04
parent 281103 9eee2ef7aad100c2eb9ffe7e45b065c669ee190f
child 281105 c345486a8f5149db8ab622926c93dbc23f89e1b3
push id29930
push usercbook@mozilla.com
push dateFri, 22 Jan 2016 11:05:50 +0000
treeherdermozilla-central@7104d650a97d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1241562
milestone46.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 1241562 - replacing logger error with debug when logging accessibility issues. r=ato --- testing/marionette/accessibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testing/marionette/accessibility.js
--- a/testing/marionette/accessibility.js
+++ b/testing/marionette/accessibility.js
@@ -223,17 +223,17 @@ Accessibility.prototype = {
     }
     if (element) {
       let {id, tagName, className} = element;
       message += `: id: ${id}, tagName: ${tagName}, className: ${className}`;
     }
     if (this.strict) {
       throw new ElementNotAccessibleError(message);
     }
-    logger.error(message);
+    logger.debug(message);
   },
 
   /**
    * Check if the element's visible state corresponds to its accessibility API
    * visibility
    * @param nsIAccessible object
    * @param WebElement corresponding to nsIAccessible object
    * @param Boolean visible element's visibility state